Re: mention /etc/examples/ in bgpf.conf(5)/bgpd(8)

2020-02-08 Thread Jason McIntyre
On Sun, Feb 09, 2020 at 01:15:59AM +0100, Ingo Schwarze wrote: > Hi, > > Theo de Raadt wrote on Sat, Feb 08, 2020 at 04:39:42PM -0700: > > > For complicated configurations, the text could explain the reason the > > example is valuable -- for instance > > > > .It Pa /etc/examples/bgpd.conf > > Ex

Re: get rid of almost empty /etc/examples/mixerctl.conf

2020-02-08 Thread Alexandre Ratchov
On Sat, Feb 08, 2020 at 11:04:10PM +0100, Ingo Schwarze wrote: > Hi Theo, > > you have a point, that was a lot of cheap talk and no patch. > > I don't aim at changing yacc(1) grammars. I think most parts of > OpenBSD configuration systems already have sane defaults and most > configuration synta

Re: mention /etc/examples/ in bgpf.conf(5)/bgpd(8)

2020-02-08 Thread Theo de Raadt
Ingo Schwarze wrote: > Theo de Raadt wrote on Sat, Feb 08, 2020 at 04:39:42PM -0700: > > > For complicated configurations, the text could explain the reason the > > example is valuable -- for instance > > > > .It Pa /etc/examples/bgpd.conf > > Example configuration file demonstrating IBGP mesh,

Re: mention /etc/examples/ in bgpf.conf(5)/bgpd(8)

2020-02-08 Thread Ingo Schwarze
Hi, Theo de Raadt wrote on Sat, Feb 08, 2020 at 04:39:42PM -0700: > For complicated configurations, the text could explain the reason the > example is valuable -- for instance > > .It Pa /etc/examples/bgpd.conf > Example configuration file demonstrating IBGP mesh, multiple transits, > RPKI filte

Re: locate.updatedb TMPDIR

2020-02-08 Thread Joerg Jung
On Sun, Feb 09, 2020 at 12:33:42AM +0100, Joerg Jung wrote: > Hi, > > I have a machine with a large data storage attached, but it has only 2GB > of /tmp (which I consider enough usually). On this machine weekly > locate.updatedb fails, due to /tmp being full. To fix this I would like > to point

Re: mention /etc/examples/ in bgpf.conf(5)/bgpd(8)

2020-02-08 Thread Jason McIntyre
On Sun, Feb 09, 2020 at 12:33:06AM +0100, Ingo Schwarze wrote: > Hi, > > Jason McIntyre wrote on Sat, Feb 08, 2020 at 10:15:08PM +: > > > - i'm ok with adding the path to these files to a FILES section > > So, here is a specific patch for bgpf.conf(5) and bgpd(8) such > that we can agree on

Re: mention /etc/examples/ in bgpf.conf(5)/bgpd(8)

2020-02-08 Thread Sebastian Benoit
Ingo Schwarze(schwa...@usta.de) on 2020.02.09 00:33:06 +0100: > Hi, > > Jason McIntyre wrote on Sat, Feb 08, 2020 at 10:15:08PM +: > > > - i'm ok with adding the path to these files to a FILES section > > So, here is a specific patch for bgpf.conf(5) and bgpd(8) such > that we can agree on a

Re: mention /etc/examples/ in bgpf.conf(5)/bgpd(8)

2020-02-08 Thread Theo de Raadt
For complicated configurations, the text could explain the reason the example is valuable -- for instance +.It Pa /etc/examples/bgpd.conf Example configuration file demonstrating IBGP mesh, multiple transits, RPKI filtering, and other best practices. The same idea can carry to other files. I've

locate.updatedb TMPDIR

2020-02-08 Thread Joerg Jung
Hi, I have a machine with a large data storage attached, but it has only 2GB of /tmp (which I consider enough usually). On this machine weekly locate.updatedb fails, due to /tmp being full. To fix this I would like to point locate to a different TMPDIR. But it seems one can not just set TMPDIR

mention /etc/examples/ in bgpf.conf(5)/bgpd(8)

2020-02-08 Thread Ingo Schwarze
Hi, Jason McIntyre wrote on Sat, Feb 08, 2020 at 10:15:08PM +: > - i'm ok with adding the path to these files to a FILES section So, here is a specific patch for bgpf.conf(5) and bgpd(8) such that we can agree on a general direction for one case where the example file is particularly importa

Re: get rid of almost empty /etc/examples/mixerctl.conf

2020-02-08 Thread Theo de Raadt
Ingo Schwarze wrote: > Indeed. When i talk about quality of documentation - which i did > at multiple conferences, last time 2018 in Bucuresti - one of the > first sentences i almost always say is: > > Documentation must be correct, complete, concise, all in one > place, marked up for displ

Re: get rid of almost empty /etc/examples/mixerctl.conf

2020-02-08 Thread Ingo Schwarze
Hi Theo, Theo de Raadt wrote on Sat, Feb 08, 2020 at 03:33:37PM -0700: > Jason McIntyre wrote: >> without getting into a discussion about /etc/examples, in this case i >> personally see neither the point of the example config file (so trivial >> as to be questionable) nor the addition to the ma

Re: httpd(8): patch to allow FastCGI chroots in sub-directories

2020-02-08 Thread Sebastian Benoit
ok Florian Obser(flor...@openbsd.org) on 2020.02.07 16:49:08 +0100: > Slightly tweaked diff by me, fixing "new sentence new line" in the man > page. > > This is OK florian@ if someone wants to commit it or I can commit it > if someone OKs it. > > diff --git httpd.conf.5 httpd.conf.5 > index f4ea

Re: get rid of almost empty /etc/examples/mixerctl.conf

2020-02-08 Thread Jason McIntyre
On Sat, Feb 08, 2020 at 03:33:37PM -0700, Theo de Raadt wrote: > Jason McIntyre wrote: > > > without getting into a discussion about /etc/examples, in this case i > > personally see neither the point of the example config file (so trivial > > as to be questionable) nor the addition to the man pag

Re: get rid of almost empty /etc/examples/mixerctl.conf

2020-02-08 Thread Joerg Jung
On Sat, Feb 08, 2020 at 03:33:37PM -0700, Theo de Raadt wrote: > Jason McIntyre wrote: > > > without getting into a discussion about /etc/examples, in this case i > > personally see neither the point of the example config file (so trivial > > as to be questionable) nor the addition to the man pag

Re: get rid of almost empty /etc/examples/mixerctl.conf

2020-02-08 Thread Theo de Raadt
Jason McIntyre wrote: > without getting into a discussion about /etc/examples, in this case i > personally see neither the point of the example config file (so trivial > as to be questionable) nor the addition to the man page (if the example > is worthwhile, add it to mixerctl, not the conf page)

Re: get rid of almost empty /etc/examples/mixerctl.conf

2020-02-08 Thread Jason McIntyre
On Sat, Feb 08, 2020 at 11:04:10PM +0100, Ingo Schwarze wrote: > Hi Theo, > > you have a point, that was a lot of cheap talk and no patch. > > I don't aim at changing yacc(1) grammars. I think most parts of > OpenBSD configuration systems already have sane defaults and most > configuration synta

Re: Add note about example dhclient.conf

2020-02-08 Thread Jason McIntyre
On Sat, Feb 08, 2020 at 01:37:00PM -0800, Kyle Isom wrote: > On Fri, Feb 7, 2020, at 23:22, Jason McIntyre wrote: > > if we do reference these config files from the man pages, i guess that > > should be correctly done from a FILES section, since EXAMPLES is really > > showing how to use the tool, r

get rid of almost empty /etc/examples/mixerctl.conf

2020-02-08 Thread Ingo Schwarze
Hi Theo, you have a point, that was a lot of cheap talk and no patch. I don't aim at changing yacc(1) grammars. I think most parts of OpenBSD configuration systems already have sane defaults and most configuration syntaxes are already good with respect to simplicity and usability. At least "mos

Re: Add note about example dhclient.conf

2020-02-08 Thread Kyle Isom
On Fri, Feb 7, 2020, at 23:22, Jason McIntyre wrote: > if we do reference these config files from the man pages, i guess that > should be correctly done from a FILES section, since EXAMPLES is really > showing how to use the tool, rather than how to configure it. it is a > fine line though. > > i

Re: lcd(4/hppa): timeout_add(9) -> timeout_add_usec(9)

2020-02-08 Thread Scott Cheloha
On Sun, Dec 22, 2019 at 01:17:56PM -0600, Scott Cheloha wrote: > lcd_softc.sc_delay's unit appears to be microseconds. > > ok? 1 month bump. Index: dev/lcd.c === RCS file: /cvs/src/sys/arch/hppa/dev/lcd.c,v retrieving revision 1.4 d

Re: Add note about example dhclient.conf

2020-02-08 Thread su.root
On 08/02 17:33, Ingo Schwarze wrote: I have no idea what your target audience is and what (if any) your mission staement is. Assumptions are being made pertaining to the end user skill set and this is already a slippery slope. > Hi, > > i think i said it before: i hate /etc/examples/ and thin

Re: Add note about example dhclient.conf

2020-02-08 Thread Theo de Raadt
Ingo Schwarze wrote: > Hi, > > i think i said it before: i hate /etc/examples/ and think that the > directory ought to be mostly empty. We'll get to that. With the exception of rare > cases like bgpd(8), where you have to provide a lot of information > before you can start it in any meaning

Re: Add note about example dhclient.conf

2020-02-08 Thread Antoine Jacoutot
On Sat, Feb 08, 2020 at 05:33:34PM +0100, Ingo Schwarze wrote: > Hi, > > i think i said it before: i hate /etc/examples/ and think that the > directory ought to be mostly empty. With the exception of rare > cases like bgpd(8), where you have to provide a lot of information > before you can start

Remove non-__STDC__ asserts from

2020-02-08 Thread Visa Hankala
The header defines two sets of assert macros, one for standard C and another for the traditional cpp. As the header requires the use of a C compiler (that is, no inclusion from an assembly file), it looks that the non-__STDC__ parts could be removed. OK? Index: lib/libkern/libkern.h

Zero knotes on allocation

2020-02-08 Thread Visa Hankala
Zero knotes on allocation. Parts of struct knote, such as kn_tqe, can retain their old value quite long, which is not good in this complex piece of code. OK? Index: kern/kern_event.c === RCS file: src/sys/kern/kern_event.c,v retrievi

Re: Add note about example dhclient.conf

2020-02-08 Thread Ingo Schwarze
Hi, i think i said it before: i hate /etc/examples/ and think that the directory ought to be mostly empty. With the exception of rare cases like bgpd(8), where you have to provide a lot of information before you can start it in any meaningful way, i consider a deamon ill-designed if the configur

Re: iwm: work around missing Tx completion interrupts

2020-02-08 Thread Tobias Heider
On Thu, Feb 06, 2020 at 12:45:38PM +0100, Stefan Sperling wrote: > At 36c3 I noticed roaming failures with iwm(4) where we would get stuck > trying to roam to a different AP. Debugging this with bluhm@ we found > that the reason it gets stuck is a non-zero refcount on the ic_bss node. > > When roa

Re: Push KERNEL_LOCK() down in pgsigio() and selwakeup()

2020-02-08 Thread Visa Hankala
On Tue, Feb 04, 2020 at 02:21:02PM +0100, Martin Pieuchot wrote: > As recently profiled, the softnet thread which runs mostly without > KERNEL_LOCK() is still somehow serialized with the rest of the kernel. > This is because the various subsystems to notify userland, either via > poll(2)/select(2),

Re: Add note about example dhclient.conf

2020-02-08 Thread su.root
May be a notation in the afterboot man page. Users generally stumble across /etc/examples by pure luck and after considerable time. Sent from my BlackBerry 10 smartphone.   Original Message   From: Jason McIntyre Sent: Saturday, 8 February 2020 08:24 To: tech@openbsd.org Subject: Re: Add note abo