Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jan 1999 16:40:59 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        "Jordan K. Hubbard" <jkh@zippy.cdrom.com>
Cc:        Ollivier Robert <roberto@keltia.freenix.fr>, cvs-committers@FreeBSD.ORG
Subject:   Re: cvs commit: src/etc rc 
Message-ID:  <199901260840.QAA05598@spinner.netplex.com.au>
In-Reply-To: Your message of "Tue, 26 Jan 1999 00:19:04 PST." <21140.917338744@zippy.cdrom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
"Jordan K. Hubbard" wrote:
> I know it's a better idea, the only reason I haven't "just done it" is
> I didn't like the idea of taking rc.conf.local away from
> "administrator local" space.  Once I start frobbing it from
> sysinstall, people will probably start asking for an
> rc.conf.local.local they can have all to themselves. :-)

The rc.conf.local's on the replicated machines that I run call 
rc.conf.site at the end. :-)

On a more serious note, what annoys me about the present situation is that
we essentially have to maintain two sets of defaults.  One in the rc and
friends scripts in case of an unmerged rc.conf, and one set of defaults in
rc.conf as examples and documentation of the defaults.

What I'd like is something along the lines of this..  Move what's presently
in rc.conf to rc.defaults, and have the supplied rc.conf essentially do a
'. /etc/rc.defaults' at the beginning (for compatability only) and . /etc/
rc.conf.local at the end, with all the sysinstall-configured settings in
the middle...  That makes /etc/rc.defaults a system file, and it should be 
installed along with the other rc* files.  rc.conf* then belongs to the 
admin, and of course if they run sysinstall it will modify it on their 
behalf.

What I do regret though, is the change from sysconfig -> rc.conf.  It 
makes it a pest to cp ~src/etc/rc* /etc.  I guess we could have ~src/etc/
rc.conf.sample (or .base) or whatever instead of rc.conf, and that would 
solve that problem.

> - Jordan
> 
> > Ollivier Robert wrote:
> > > According to Jordan K. Hubbard:
> > > > P.S. That said, I may modify sysinstall to write to /etc/rc.conf.local
> > > > instead.
> > > 
> > > That would be better IMO. Now, when one installs a new machine, one has t
    o
> > > recreate a rc.conf.local from the modifications made by sysinstall (if on
    e
> > > wants to use rc.conf.local of course).
> > 
> > Jordan, this isn't as silly as it sounds..  Instead of *modifying* 
> > rc.conf, only write the *changes* to rc.conf.local.
> > 
> > Cheers,
> > -Peter
> > 
> > 
> 

Cheers,
-Peter
--
Peter Wemm <peter@netplex.com.au>   Netplex Consulting
"No coffee, No workee!" :-)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901260840.QAA05598>