What we keep under /etc (was: cvs commit: src/etc rc rc.shutdown src/etc/rc.d ...)

David O'Brien obrien at FreeBSD.org
Sat Oct 9 01:35:34 PDT 2004


On Sat, Oct 09, 2004 at 01:15:53AM +0100, Brian Somers wrote:
> On Thu, 7 Oct 2004 13:55:28 +0000 (UTC), Mike Makonnen <mtm at FreeBSD.org> wrote:
> > mtm         2004-10-07 13:55:28 UTC
> >   FreeBSD src repository
> >   Modified files:
> >     etc                  rc rc.shutdown 
> >     etc/rc.d             DAEMON LOGIN NETWORKING SERVERS abi 
..
> >   Log:
> >   Remove the requirement for the FreeBSD keyword as it no longer
> >   makes any sense.
..
> This makes life painful enough to ask....
> 
> Is there any good reason that mergemaster deals with this stuff rather than
> make installworld?  Or maybe I should ask, why doesn't make installworld
> handle *some* stuff in /etc, such as /etc/rc.d/ and /etc/defaults/?

I think we should seriously consider doing this -- /etc/defaults are our
(The FreeBSD Project's) defaults and aren't meant to be user tweaked.  We
install the manpage documenting defaults/rc.conf after all with
'installworld' rather than mergemaster.

> Or maybe I'm just completely off track and the real world (!) adds its
> own /etc/rc.d/ stuff and modifies /etc/defaults/?

Some people do want to *add* things to /etc/rc.d/, but that is "add" not
replace.  So having 'installworld' install into /etc/rc.d should be OK.
 
-- 
-- David  (obrien at FreeBSD.org)


More information about the cvs-src mailing list