doas(1) and $PATH inheritance...

2015-08-31 Thread Adam Jeanguenat
I'm not sure where I'm going wrong here, but I've been giving doas(1) a whirl and ran into something that's left be a bit puzzled. I have some scripts in ~/bin, and my user account has PATH set as desired. I can run things out of that dir as expected without invoking doas, but attempting to prefix

[DIFF] user & group delete named in upgrade57.html

2015-08-31 Thread Craig Skinner
Hi there, BIND is binned. --- upgrade57.html Mon Aug 31 10:44:41 2015 +++ upgrade57-del-named.htmlMon Aug 31 10:46:46 2015 @@ -495,6 +495,8 @@ rm -r /var/tmp ln -s /tmp /var/tmp groupdel _lkm +userdel named +groupdel named userdel smmsp groupdel smmsp

Re: Show us your /etc/profile

2015-08-31 Thread sven falempin
PS1='[\[`if test $? -eq 0; then echo "\e[1;32m"; else echo "\e[1;31m"; fi`\]$?\[\e[0m\]]-[\[\e[0;34m\]\h\[\e[0m\]]-[\[\e[0;34m\]\w\[\e[0m\]]\[\n\]\$ ' Where is that awesome post about the CRC24 to get a nice color for each hostname ? There: https://www.mail-archive.com/misc@openbsd.org/msg136871.

Re: doas(1) and $PATH inheritance...

2015-08-31 Thread Ted Unangst
Adam Jeanguenat wrote: > I'm not sure where I'm going wrong here, but I've been giving doas(1) > a whirl and ran into something that's left be a bit puzzled. > > I have some scripts in ~/bin, and my user account has PATH set > as desired. I can run things out of that dir as expected without > invo

ddb.html typo

2015-08-31 Thread Atanas Vladimirov
Index: ddb.html === RCS file: /home/vlado/cvsync/cvsroot/www/ddb.html,v retrieving revision 1.3 diff -u -p -r1.3 ddb.html --- ddb.html30 Aug 2015 17:32:13 - 1.3 +++ ddb.html31 Aug 2015 07:50:13 - @@ -16,7 +16,7 @@

Dmesg

2015-08-31 Thread sven falempin
"eeprom" at iic0 addr 0x50 not configured : huh ? "Intel Bay Trail TXE" rev 0x0e at pci0 dev 26 function 0 not configured : what ? OpenBSD 5.8 (GENERIC) #254: Fri Aug 14 04:59:16 EDT 2015 real mem = 415232 (3959MB) avail mem = 4022620160 (3836MB) mpath0 at root scsibus0 at mpath0: 256 target

Re: Thinkpad spyware

2015-08-31 Thread Chris Cappuccio
?? ?? [art.is...@yandex.ru] wrote: > On Thu, Aug 27, 2015 at 06:20:10AM +0300, li...@wrant.com wrote: > > > This is happening for a while now in industry, > > > > If you want to react to this, do something about it at the right place > > to complain, where your voice counts. >

Re: doas(1) and $PATH inheritance...

2015-08-31 Thread Adam Jeanguenat
tedu wrote: > doas allows PATH to be inherited, but resets it for itself to a > limited set. this was so that e.g., "permit :wheel cmd ls" can't > be tricked by creating a symlink ls -> /bin/sh. however, if there > are no restrictions on the command, then the restriction probably > doesn't need to

Re: lidsuspend does not work anymore on 5.8 snapshot, garbles screen, zzz suspend works fine (longer)

2015-08-31 Thread Michael McConville
Michael McConville wrote: > I'm having a similar issue on today's AMD64 snapshot on a ThinkPad > X210. > > When I opened it the screen stayed black and there were no signs of > life other than the battery indicator. Pressing keys did nothing. I > had to power cycle. > > The only relevant syslog e

Multiple Instances of NSD

2015-08-31 Thread Gabriel Kuri
In migrating from bind to nsd, I currently have split views in bind and need to run multiple instances of nsd to accomplish the same thing. What's the best way to start multiple instances of nsd? I tried copying /etc/rc.d/nsd to /etc/rc.d/nsd-internal and in the rc script I changed daemon_flags to

Re: Multiple Instances of NSD

2015-08-31 Thread Edgar Pettijohn
Might need to add the -P flag to specify a different pid. What happens if you start the second instance with the -d flag? On 08/31/15 19:04, Gabriel Kuri wrote: In migrating from bind to nsd, I currently have split views in bind and need to run multiple instances of nsd to accomplish the same

pf vs mp

2015-08-31 Thread Quartz
Quick question: I need to make a decision between a faster single core and a slower multicore. The faq currently states that pf gets no improvement from mp. Is this still correct/current information? Presumably it would see no benefit from hyperthreading either, right? For an OpenBSD machine a

Re: pf vs mp

2015-08-31 Thread Giancarlo Razzolini
Em 31-08-2015 23:38, Quartz escreveu: > Quick question: I need to make a decision between a faster single core > and a slower multicore. The faq currently states that pf gets no > improvement from mp. Is this still correct/current information? Not anymore. There has been some work on mp support, a

Re: pf vs mp

2015-08-31 Thread fwsoucy
On 2015.08.31, Quartz wrote: > For an OpenBSD machine acting as a gateway/firewall/router with a handful of > related tasks (pf, dhcp server, etc) would mp yield anything? are we talking home router here or something more specialized? there is not really any *negative* to mp besides maybe cost/p

Re: Multiple Instances of NSD

2015-08-31 Thread Antoine Jacoutot
On Mon, Aug 31, 2015 at 05:04:09PM -0700, Gabriel Kuri wrote: > In migrating from bind to nsd, I currently have split views in bind and > need to run multiple instances of nsd to accomplish the same thing. What's > the best way to start multiple instances of nsd? I tried copying > /etc/rc.d/nsd to