conf/105568: [patch] Add more flexibility to rc.conf, to choose "_enable" values at startup

Kian Mohageri kian.mohageri at gmail.com
Tue Oct 2 16:06:16 PDT 2007


On 10/2/07, Doug Barton <dougb at freebsd.org> wrote:
> On Tue, 2 Oct 2007, Pietro Cerutti wrote:
>
> > Doug Barton wrote:
> >> What do you feel is the need/benefit of adding this? I read your PR, and
> >> I don't find your reasoning very compelling. You can easily start or
> >> stop services after the system enters multi-user mode by simply changing
> >> the _enable variable and running /etc/rc.d/foo start|stop as needed.
> >> There are precious few services that depend on being started at boot time.
> >
> > 1) enter multi user mode
>
> That's going to happen anyway, so this is a red herring.
>
> > 2) edit rc.conf
> > 3) /etc/rc.d/foo [start|stop]
>
> Or just do: /etc/rc.d/foo onestart
>
> > 1) choose yes or no before entering multi user mode
> >
> > It's just a matter of comfort, cleanness and easy of handling.
>
> I certainly see that you believe this to be true, but I'm sorry to say
> that I don't agree with you. I didn't see anything in the list of examples
> you gave that convinces me that what you're proposing is dramatically
> better than simply using onestart where needed.
>
> Perhaps others will have different opinions.
>

I agree with Doug on this one.  While I see it being useful in a few
cases, the [great] majority of the time it will go completely unused.

The times when it could be used can be dealt with in other ways.

Seems like feature creep to me.

-Kian


More information about the freebsd-rc mailing list