Date: Mon, 9 May 2011 15:04:41 -0400 From: Jason Hellenthal <jhell@DataIX.net> To: Gordon Tetlow <gordon@tetlows.org> Cc: freebsd-rc@freebsd.org Subject: Re: [RFC][Change-Request] Create usefulness in rc.subr etc/rc.conf.d/*.conf namespace. Message-ID: <20110509190441.GC82456@DataIX.net> In-Reply-To: <BANLkTimqhu215ZdHwx=fHqu33NXj2pYpvw@mail.gmail.com> References: <20110508191336.GC3527@DataIX.net> <BANLkTi=hozQBLUC15NsF2rky2OfFW=t_RQ@mail.gmail.com> <01d201cc0e6c$47d4b180$d77e1480$@vicor.com> <BANLkTimqhu215ZdHwx=fHqu33NXj2pYpvw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Gordon,
On Mon, May 09, 2011 at 10:32:18AM -0700, Gordon Tetlow wrote:
> On Mon, May 9, 2011 at 10:12 AM, Devin Teske <dteske@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
What seems to be lost here is that the below two are "optional" not
something that should be created by anything other than the user who needs
that functionality. Yes having two of the below is a problem. Yes {name}
needs to go. But until there is something to replace it in a way that is
agreed on we cant get rid of the broken {name} implement.
Hopefully noone is intending on breaking there system by creating
thousands of configs because that can be done easier by just spilling into
rc.conf ;)
This isnt a replacement and rc.conf.d isnt even available in the first
place unless end-user creates it. This wont replace rc.conf.
> /etc/rc.conf.d/{name}
> /etc/rc.conf.d/*.conf
>
> Personally, I think this is too many.
>
> Regards,
> Gordon
> _______________________________________________
> freebsd-rc@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-rc
> To unsubscribe, send any mail to "freebsd-rc-unsubscribe@freebsd.org"
--
Regards, (jhell)
Jason Hellenthal
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)
Comment: http://bit.ly/0x89D8547E
iQEcBAEBAgAGBQJNyDrJAAoJEJBXh4mJ2FR+oxQH+wZSfEMXwWFPCoEwbJis1/e4
y3DFZLV9AzM9XNQ4rcNcKIlIwyfm5ixOMIk+7Ja9VNN4uztu0ZiGyXkvG8QGRskj
6+G6453t1HX4g9TECyRZWv5bFqLL1lJ2CLzPXbbuG/52fUd+R8oX7jbG0wmoHDD9
Mh+Uo47ngUVfFiNxf608NsjVd4r++v0XlDKF074HzjDegb2PIP7kynOrov55E2v7
GD8gkEWYBDISZ+XNrO9e/HXXyCnyNzg/UaLCwuRzXEUhDRHp8h3eM2mjePqb/yy4
dkrfq1jUhRJq2ddqQKtzZ0DygDvu+9jKg93GB18HFCobUSlOngb7ByHiWjkSetk=
=/gMU
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110509190441.GC82456>
