Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-31 Thread Raf Czlonka
On Sat, Jan 31, 2015 at 12:17:09AM GMT, Joel Rees wrote: I half-sympathize with his concerns. It _seems_ nice to have the bundle of patch cables all connected and ready, and one switch separate from the patch cable bundle to actually turn the box on and patch it in. Seems being the

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-30 Thread Christopher Barry
On Thu, 29 Jan 2015 07:53:13 -0500 Nick Holland n...@holland-consulting.net wrote: rsyncd_flags= slowcgi_flags= unbound_flags= am I understanding correctly that in the snippet above, slowcgi will not be started, while the other two (will|may) start with default flags? -- Regards,

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-30 Thread Joel Rees
On Fri, Jan 30, 2015 at 8:49 PM, Stuart Henderson s...@spacehopper.org wrote: On 2015-01-28, James Ryland Miller james.ryland.mil...@gmail.com wrote: As a brand new OpenBSD user, I *love* how the flags work in rc.conf.local: says to me that the daemon is being called with no flags.

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-30 Thread James Ryland Miller
On Fri, Jan 30, 2015 at 5:49 AM, Stuart Henderson s...@spacehopper.org wrote: On 2015-01-28, James Ryland Miller james.ryland.mil...@gmail.com wrote: As a brand new OpenBSD user, I *love* how the flags work in rc.conf.local: says to me that the daemon is being called with no flags.

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-30 Thread Stuart Henderson
On 2015/01/30 18:25, James Ryland Miller wrote: On Fri, Jan 30, 2015 at 5:49 AM, Stuart Henderson s...@spacehopper.org wrote: On 2015-01-28, James Ryland Miller james.ryland.mil...@gmail.com wrote: As a brand new OpenBSD user, I *love* how the flags work in rc.conf.local: says to me

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-30 Thread Ingo Schwarze
Hi, Joel Rees wrote on Sat, Jan 31, 2015 at 09:17:09AM +0900: On Fri, Jan 30, 2015 at 8:49 PM, Stuart Henderson s...@spacehopper.org wrote: Unfortunately you run into an inconsistency here, which occurs exactly because of this double-duty: actually means use the default flags from the

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-30 Thread Ingo Schwarze
Hi Christopher, Christopher Barry wrote on Fri, Jan 30, 2015 at 07:45:31PM -0500: On Thu, 29 Jan 2015 07:53:13 -0500 Nick Holland n...@holland-consulting.net wrote: rsyncd_flags= slowcgi_flags= unbound_flags= am I understanding correctly No. that in the snippet above, slowcgi

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-30 Thread Stuart Henderson
On 2015-01-28, James Ryland Miller james.ryland.mil...@gmail.com wrote: As a brand new OpenBSD user, I *love* how the flags work in rc.conf.local: says to me that the daemon is being called with no flags. Unfortunately you run into an inconsistency here, which occurs exactly because of this

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-29 Thread Nick Holland
On 01/28/15 17:25, openda...@hushmail.com wrote: ... Most of my daemons don't have any flags ... ... Really? Look closer... IF the vast majority of daemons didn't have any flags at all, maybe there'd be some merit to this, but I don't think that's true. Here's a moderately simple rc.conf.local

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-29 Thread opendaddy
Greetings Nick! On 29. januar 2015 at 12:48 PM, Nick Holland n...@holland-consulting.net wrote: On 01/28/15 17:25, openda...@hushmail.com wrote: ... Most of my daemons don't have any flags ... ... Really? Look closer... IF the vast majority of daemons didn't have any flags at all, maybe

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-29 Thread Raf Czlonka
On Thu, Jan 29, 2015 at 11:16:41PM GMT, openda...@hushmail.com wrote: Indeed, don't get me wrong, I use flags all the time as well. I'm just arguing for a cleaner separation between startup and configuration for a slightly more semantic (and better looking) `rc.conf.local`, ie.:

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-29 Thread Theo de Raadt
On 29. januar 2015 at 12:48 PM, Nick Holland n...@holland-consulting.net wrote: On 01/28/15 17:25, openda...@hushmail.com wrote: ... Most of my daemons don't have any flags ... ... Really? Look closer... IF the vast majority of daemons didn't have any flags at all, maybe there'd be

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-29 Thread Calvin
of Raf Czlonka [rczlo...@gmail.com] Sent: January 29, 2015 8:03 PM To: misc@openbsd.org Subject: Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local? On Thu, Jan 29, 2015 at 11:16:41PM GMT, openda...@hushmail.com wrote: Indeed, don't get me wrong, I use flags all

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-28 Thread Jorge Gabriel Lopez Paramount
Quoting Ingo Schwarze schwa...@usta.de: Most of my daemons don't have any flags so it looks a bit strange (and messy) with all these empty flag specs. That's a matter of taste and purely aestetical without any functional consequences, so if it's an argument at all, it carries almost no

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-28 Thread opendaddy
Hi, On 28. januar 2015 at 11:45 PM, James Ryland Miller james.ryland.mil...@gmail.com wrote: As a brand new OpenBSD user, I *love* how the flags work in rc.conf.local: says to me that the daemon is being called with no flags. YES doesn't tell me that; it just tells me that I might have to

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-28 Thread J Sisson
On Wed, Jan 28, 2015 at 4:05 PM, openda...@hushmail.com wrote: Indeed, `daemon_flags=YES` wouldn't make any sense at all. What I'd like to see is: ntpd_enable=YES ntpd_flags=-s Considering we're talking about two different things here (one for enabling it and one for configuring

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-28 Thread Theo de Raadt
Indeed, `daemon_flags=YES` wouldn't make any sense at all. What I'd like to see is: ntpd_enable=YES ntpd_flags=-s Considering we're talking about two different things here (one for enabling it and one for configuring it), one could argue that this would be more in line with

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-28 Thread opendaddy
On 29. januar 2015 at 12:02 AM, Theo de Raadt dera...@cvs.openbsd.org wrote: I've think you've had your say. Thank you sir! O.D.

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-28 Thread James Ryland Miller
Or you can just learn that ${daemon_flags} does both - enables/disables the daemon in question and sets its flags (if any). Exactly. On Wed, Jan 28, 2015 at 6:16 PM, J Sisson sisso...@gmail.com wrote: On Wed, Jan 28, 2015 at 4:05 PM, openda...@hushmail.com wrote: Indeed, `daemon_flags=YES`

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-28 Thread opendaddy
Hello, On 28. januar 2015 at 11:02 PM, Ingo Schwarze schwa...@usta.de wrote: When you do need flags, it needs only one variable instead of two, which means less complexity. Due to OpenBSD's excellent convention over configuration (1), most people don't need flags. Your argument that the

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-28 Thread James Ryland Miller
Due to OpenBSD's excellent convention over configuration (1), most people don't need flags. As a brand new OpenBSD user, I *love* how the flags work in rc.conf.local: says to me that the daemon is being called with no flags. YES doesn't tell me that; it just tells me that I might have to look

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-28 Thread Raf Czlonka
On Thu, Jan 29, 2015 at 12:05:24AM GMT, openda...@hushmail.com wrote: Indeed, `daemon_flags=YES` wouldn't make any sense at all. What I'd like to see is: ntpd_enable=YES ntpd_flags=-s Considering we're talking about two different things here (one for enabling it and one for

Re: Wouldn't `daemon_enable=YES` make more sense than `daemon_flags=` in rc.conf.local?

2015-01-28 Thread Ingo Schwarze
Hi, openda...@hushmail.com wrote on Wed, Jan 28, 2015 at 10:25:50PM +: Wouldn't `daemon_enable=YES` (like FreeBSD's rc.conf) make more sense for enabling daemons than `daemon_flags=` in rc.conf.local? No, `daemon_flags=` is better. When you do need flags, it needs only one variable