From owner-cvs-all Tue Jan 26 00:41:26 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA28828 for cvs-all-outgoing; Tue, 26 Jan 1999 00:41:26 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA28823 for ; Tue, 26 Jan 1999 00:41:23 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (8.9.2/8.9.2/Netplex) with ESMTP id QAA05598; Tue, 26 Jan 1999 16:40:59 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199901260840.QAA05598@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: "Jordan K. Hubbard" cc: Ollivier Robert , cvs-committers@FreeBSD.ORG Subject: Re: cvs commit: src/etc rc In-reply-to: Your message of "Tue, 26 Jan 1999 00:19:04 PST." <21140.917338744@zippy.cdrom.com> Date: Tue, 26 Jan 1999 16:40:59 +0800 From: Peter Wemm Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk "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 Netplex Consulting "No coffee, No workee!" :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message