Re: Pledge shutdown halt

2015-11-17 Thread Andreas Kusalananda Kähäri
On Tue, Nov 17, 2015 at 11:31:57PM -0700, Theo de Raadt wrote: > What ttys are you guys rebooting from. Is it seen on console? Or... is it > only seen from xterm...? > I just now rebuilt my amd64 machine with a fresh checkout from "anon...@anoncvs.eu.openbsd.org:/cvs". The message displays in

Re: Pledge shutdown halt

2015-11-17 Thread Raf Czlonka
On Wed, Nov 18, 2015 at 06:31:57AM GMT, Theo de Raadt wrote: > What ttys are you guys rebooting from. Is it seen on console? Or... is it > only seen from xterm...? Both local console and over SSH. Raf

Re: Pledge shutdown halt

2015-11-17 Thread Raf Czlonka
On Wed, Nov 18, 2015 at 05:43:15AM GMT, Theo de Raadt wrote: > > > > Anybody see this on shutdown?=C2=A0 > > > > shutdown -hp now > > > > *** FINAL System shutdown message from i...@ianm-openbsd.xxx.edu.au > > > > System going down IMMEDIATELY=C2=A0 > > > > System shutdown time has

Re: Pledge shutdown halt

2015-11-17 Thread Theo de Raadt
What ttys are you guys rebooting from. Is it seen on console? Or... is it only seen from xterm...?

Re: Pledge shutdown halt

2015-11-17 Thread Andreas Kusalananda Kähäri
I also get this with sources updated on Monday. Andreas On Wed, Nov 18, 2015 at 03:56:46PM +1100, Ian McWilliam wrote: > > Anybody see this on shutdown?  > > shutdown -hp now > > *** FINAL System shutdown message from i...@ianm-openbsd.xxx.edu.au > >  ***                         

Re: sndiod_flags=NO in /etc/rc.conf on recent snapshots

2015-11-17 Thread Raf Czlonka
On Wed, Nov 18, 2015 at 05:02:33AM GMT, Theo de Raadt wrote: > > I only just noticed that, trying to watch a video while having a web > > browser open at the same time, I don't get any sound. > > > > Only going through recent daily insecurity emails, had I found out that: > > > > sndiod_flags

Re: Pledge shutdown halt

2015-11-17 Thread Theo de Raadt
> > Anybody see this on shutdown?=C2=A0 > > shutdown -hp now > > *** FINAL System shutdown message from i...@ianm-openbsd.xxx.edu.au > > System going down IMMEDIATELY=C2=A0 > > System shutdown time has arrived=20 > > halt: revoke: Inappropriate ioctl for device I thin

Re: printf(3) wording

2015-11-17 Thread Philip Guenther
On Tue, Nov 17, 2015 at 11:48 AM, Christian Weisgerber wrote: > On 2015-11-17, Jan Stary wrote: > >> I am not a native speaker, but the conversion specifiers >> are "interpreted" by printf, not "interpolated", right? > > I think "interpolated" as a technical term is correct here. > (The Perl docu

Pledge shutdown halt

2015-11-17 Thread Ian McWilliam
Anybody see this on shutdown?  shutdown -hp now *** FINAL System shutdown message from i...@ianm-openbsd.xxx.edu.au  ***                                                                            System going down IMMEDIATELY  System shutdown time has arrived

Re: sndiod_flags=NO in /etc/rc.conf on recent snapshots

2015-11-17 Thread Theo de Raadt
> I only just noticed that, trying to watch a video while having a web > browser open at the same time, I don't get any sound. > > Only going through recent daily insecurity emails, had I found out that: > > sndiod_flags= > > in /etc/rc.conf, has been changed to: > > sndiod_flags=NO >

sndiod_flags=NO in /etc/rc.conf on recent snapshots

2015-11-17 Thread Raf Czlonka
Hi all, I only just noticed that, trying to watch a video while having a web browser open at the same time, I don't get any sound. Only going through recent daily insecurity emails, had I found out that: sndiod_flags= in /etc/rc.conf, has been changed to: sndiod_flags=NO on snapshots

Feedback on AddKeysToAgent ssh_config(5) option

2015-11-17 Thread Iain Morgan
Hello, Regarding the recently added AddKeysToAgent ssh_config(5) option, it would also be nice to specify a key timeout when adding keys via this option. Given that the agent is normally started automatically for the user (on OpenBSD and other operating systems) the user normally doesn't have the

Re: Better ASR support in ospfd

2015-11-17 Thread Stuart Henderson
On 2015/11/15 21:47, Claudio Jeker wrote: > On Mon, Oct 26, 2015 at 04:40:12PM +0100, Claudio Jeker wrote: > > ospfd has some issues with self-originated networks and building summary > > entries for those in case the router is an ABR (area border router). > > This diff should hopefully fix all of

missing period in pledge.2

2015-11-17 Thread Rob Pierce
Index: pledge.2 === RCS file: /cvs/src/lib/libc/sys/pledge.2,v retrieving revision 1.15 diff -u -p -r1.15 pledge.2 --- pledge.216 Nov 2015 19:26:21 - 1.15 +++ pledge.217 Nov 2015 21:14:08 - @@ -472,7 +472,7 @@ pro

Re: pledge audioctl

2015-11-17 Thread Stuart Henderson
On 2015/11/17 18:11, Jan Stary wrote: > I am trying to add pledge(2) to audioctl(1), > but it gets SIGABRT'ed under any pledge promises. > (Indeed, I have pledged everything in a desperate attempt.) Note that pledging "everything" still gives quite a restriction on what's allowed - it's "block-by-

Re: printf(3) wording

2015-11-17 Thread Christian Weisgerber
On 2015-11-17, Jan Stary wrote: > I am not a native speaker, but the conversion specifiers > are "interpreted" by printf, not "interpolated", right? I think "interpolated" as a technical term is correct here. (The Perl documentation is very fond of it.) > using a function like > .Fn snprintf

Re: printf(3) wording

2015-11-17 Thread Richard Toohey
On 11/18/15 07:16, Amit Kulkarni wrote: jan is right, interpretation is the correct word. Interpolate is using something to do mathematically. the program is going to work on, so interpret... Interpolate is a word I picked up when learning Perl and to do with strings, not just mathematically:

Re: printf(3) wording

2015-11-17 Thread Theo de Raadt
> > > > i don;t know how these implementations work, so it's hard to say. > > > > perhaps they are interpolated. maybe use cvs to track down the author > > > > and ask them? > > > > > > > > whatever the outcome, if you want to change this text you probably want > > > > to adjust a few more: > > >

Re: printf(3) wording

2015-11-17 Thread Amit Kulkarni
On Tue, Nov 17, 2015 at 11:22 AM, Jason McIntyre wrote: > On Tue, Nov 17, 2015 at 06:14:33PM +0100, Jan Stary wrote: > > On Nov 17 17:06:11, j...@kerhand.co.uk wrote: > > > On Tue, Nov 17, 2015 at 10:38:41AM +0100, Jan Stary wrote: > > > > I am not a native speaker, but the conversion specifiers

Re: ypserv h

2015-11-17 Thread Michael McConville
Ted Unangst wrote: > memory.h is spelled string.h now. ok? Index: etherent.c === RCS file: /cvs/src/lib/libpcap/etherent.c,v retrieving revision 1.7 diff -u -p -r1.7 etherent.c --- etherent.c 27 Jan 2004 06:58:03 - 1.7 +++

Re: printf(3) wording

2015-11-17 Thread Ted Unangst
Jason McIntyre wrote: > On Tue, Nov 17, 2015 at 06:14:33PM +0100, Jan Stary wrote: > > On Nov 17 17:06:11, j...@kerhand.co.uk wrote: > > > On Tue, Nov 17, 2015 at 10:38:41AM +0100, Jan Stary wrote: > > > > I am not a native speaker, but the conversion specifiers > > > > are "interpreted" by printf,

ypserv h

2015-11-17 Thread Ted Unangst
Really wants ndbm.h, not dbm.h. Also, memory.h is spelled string.h now. Index: yppush/yppush_svc.c === RCS file: /cvs/src/usr.sbin/ypserv/yppush/yppush_svc.c,v retrieving revision 1.14 diff -u -p -r1.14 yppush_svc.c --- yppush/yppush

Re: fdisk(8) -l -c -h -s manpage bits

2015-11-17 Thread Jason McIntyre
On Tue, Nov 17, 2015 at 06:38:06PM +0100, Jan Stary wrote: > On Nov 17 17:21:42, j...@kerhand.co.uk wrote: > > On Tue, Nov 17, 2015 at 09:36:26AM +0100, Jan Stary wrote: > > > On Nov 14 14:17:08, k...@openbsd.org wrote: > > > > Modified files: > > > > sbin/fdisk : disk.c fdisk.c > > >

Re: fdisk(8) -l -c -h -s manpage bits

2015-11-17 Thread Jan Stary
On Nov 17 17:21:42, j...@kerhand.co.uk wrote: > On Tue, Nov 17, 2015 at 09:36:26AM +0100, Jan Stary wrote: > > On Nov 14 14:17:08, k...@openbsd.org wrote: > > > Modified files: > > > sbin/fdisk : disk.c fdisk.c > > > > > > Log message: > > > Since -l is ignored if -c/-h/-s are specified, ma

Re: fdisk(8) -l -c -h -s manpage bits

2015-11-17 Thread Jason McIntyre
On Tue, Nov 17, 2015 at 09:36:26AM +0100, Jan Stary wrote: > On Nov 14 14:17:08, k...@openbsd.org wrote: > > Modified files: > > sbin/fdisk : disk.c fdisk.c > > > > Log message: > > Since -l is ignored if -c/-h/-s are specified, make that combination > > invalid and mention the constraint

Re: pledge audioctl

2015-11-17 Thread Theo de Raadt
> I am trying to add pledge(2) to audioctl(1), > but it gets SIGABRT'ed under any pledge promises. > (Indeed, I have pledged everything in a desperate attempt.) > > Looking at gdb and a ktrace, /dev/audioctl gets opened fine, > but then it fails on an ioctl in getinfo() > > 23472 audioctl CALL

Re: printf(3) wording

2015-11-17 Thread Jason McIntyre
On Tue, Nov 17, 2015 at 06:14:33PM +0100, Jan Stary wrote: > On Nov 17 17:06:11, j...@kerhand.co.uk wrote: > > On Tue, Nov 17, 2015 at 10:38:41AM +0100, Jan Stary wrote: > > > I am not a native speaker, but the conversion specifiers > > > are "interpreted" by printf, not "interpolated", right? > >

pledge audioctl

2015-11-17 Thread Jan Stary
I am trying to add pledge(2) to audioctl(1), but it gets SIGABRT'ed under any pledge promises. (Indeed, I have pledged everything in a desperate attempt.) Looking at gdb and a ktrace, /dev/audioctl gets opened fine, but then it fails on an ioctl in getinfo() 23472 audioctl CALL ioctl(3,AUDIO_GE

Re: printf(3) wording

2015-11-17 Thread Jan Stary
On Nov 17 17:06:11, j...@kerhand.co.uk wrote: > On Tue, Nov 17, 2015 at 10:38:41AM +0100, Jan Stary wrote: > > I am not a native speaker, but the conversion specifiers > > are "interpreted" by printf, not "interpolated", right? > > > > Jan > > > > i don;t know how these implementations work,

Re: printf(3) wording

2015-11-17 Thread Jason McIntyre
On Tue, Nov 17, 2015 at 10:38:41AM +0100, Jan Stary wrote: > I am not a native speaker, but the conversion specifiers > are "interpreted" by printf, not "interpolated", right? > > Jan > i don;t know how these implementations work, so it's hard to say. perhaps they are interpolated. maybe u

Re: apmd ignoring ENXIO on /dev/apmctl

2015-11-17 Thread Ted Unangst
Jan Stary wrote: > Upon startup, apmd(8) opens /dev/apmctl like this: > > if ((ctl_fd = open(fname, O_RDWR | O_CLOEXEC)) == -1) { > if (errno != ENXIO && errno != ENOENT) > error("cannot open device file `%s'", fname); > } > > Why is it that we igno

Re: Exclude invalid sensors from the sensors MIB

2015-11-17 Thread Sebastian Benoit
ok Stuart Henderson(st...@openbsd.org) on 2015.11.17 11:33:50 +: > On 2015/11/17 11:47, Gerhard Roth wrote: > > Sensors marked as invalid should be excluded by snmpd(8) from the sensors > > MIB just as sysctl(8) excludes them from the 'hw.sensors' tree. > > Agreed - any OKs to commit? > > Af

Re: em(4) watchdog timeouts

2015-11-17 Thread Alexis VACHETTE
Hi Gregor, Thank you for your feedback. Did you have some timeout on 5.6 ? On amd64 version, I experienced some on heavy network load. Is it related ? Regards, Alexis VACHETTE. On 11/11/2015 21:19, Gregor Best wrote: Hi Alexis, On Wed, Nov 11, 2015 at 08:11:15PM +, Alexis VACHETTE wrote:

Re: em(4) watchdog timeouts

2015-11-17 Thread Alexis VACHETTE
Hi Gregor, I use the same revision than yours : - "Intel 82583V" rev 0x00: msi Regards, Alexis VACHETTE.* * On 16/11/2015 10:12, Alexis VACHETTE wrote: Hi Gregor, Thank you for your feedback. Did you have some timeout on 5.6 ? On amd64 version, I experienced some on heavy network load. Is i

Re: Exclude invalid sensors from the sensors MIB

2015-11-17 Thread Stuart Henderson
On 2015/11/17 11:47, Gerhard Roth wrote: > Sensors marked as invalid should be excluded by snmpd(8) from the sensors > MIB just as sysctl(8) excludes them from the 'hw.sensors' tree. Agreed - any OKs to commit? After: $ snmptable -v2c -c public 127.0.0.1 sensorTable SNMP table: OPENBSD-SENSORS-M

Exclude invalid sensors from the sensors MIB

2015-11-17 Thread Gerhard Roth
Sensors marked as invalid should be excluded by snmpd(8) from the sensors MIB just as sysctl(8) excludes them from the 'hw.sensors' tree. Gerhard Index: usr.sbin/snmpd/mib.c === RCS file: /cvs/src/usr.sbin/snmpd/mib.c,v retrieving r

printf(3) wording

2015-11-17 Thread Jan Stary
I am not a native speaker, but the conversion specifiers are "interpreted" by printf, not "interpolated", right? Jan Index: printf.3 === RCS file: /cvs/src/lib/libc/stdio/printf.3,v retrieving revision 1.74 diff -u -p -r1.74

Re: pledge for tetris

2015-11-17 Thread Tati Chevron
On Tue, Nov 17, 2015 at 12:21:32AM -0500, Michael McConville wrote: Ted Unangst wrote: Theo Buehler wrote: > drop the score file support No way! this is critical functionality. :) Seconded. :P I disagree - the obvious solution is to move tetris to ports for anyone who needs score file supp

Re: fdisk(8) -l -c -h -s manpage bits

2015-11-17 Thread Jan Stary
On Nov 14 14:17:08, k...@openbsd.org wrote: > Modified files: > sbin/fdisk : disk.c fdisk.c > > Log message: > Since -l is ignored if -c/-h/-s are specified, make that combination > invalid and mention the constraint in usage(). Mention it in the manpage too. Jan Index: fdis

apmd ignoring ENXIO on /dev/apmctl

2015-11-17 Thread Jan Stary
Upon startup, apmd(8) opens /dev/apmctl like this: if ((ctl_fd = open(fname, O_RDWR | O_CLOEXEC)) == -1) { if (errno != ENXIO && errno != ENOENT) error("cannot open device file `%s'", fname); } Why is it that we ignore ENXIO and ENOENT here?