[RFC][Change-Request] Create usefulness in rc.subr etc/rc.conf.d/*.conf namespace.

Gordon Tetlow gordon at tetlows.org
Mon May 9 17:32:19 UTC 2011


On Mon, May 9, 2011 at 10:12 AM, Devin Teske <dteske at vicor.com> wrote:
> The solution is to have a script that can tell you these two details:
>
> 1. What is the final value of ``*_enable''
> 2. Which file assigns said final value
>
> If you have those two pieces of information, then unraveling a twisted
> configuration is easier.
>
> [Re-]welcome my sysrc(8) script:

While this is a very cool script, I have to wonder how far we have
strayed if we require another tool to tell us how the system is
configured. Surely we should be aiming for simplicity in our
implementation and not something incredibly complex.

After Jason's proposal, we would have the following list of configuration files:

/etc/defaults/rc.conf
/etc/rc.conf
/etc/rc.conf.local
/etc/rc.conf.d/{name}
/etc/rc.conf.d/*.conf

Personally, I think this is too many.

Regards,
Gordon


More information about the freebsd-rc mailing list