From owner-cvs-all Wed Jan 27 02:10:44 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA24014 for cvs-all-outgoing; Wed, 27 Jan 1999 02:10:44 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from ice.cold.org (cold.org [206.81.134.103]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA24007 for ; Wed, 27 Jan 1999 02:10:37 -0800 (PST) (envelope-from brandon@ice.cold.org) Received: (from brandon@localhost) by ice.cold.org (8.8.8/8.8.5) id DAA05354 for cvs-committers@FreeBSD.ORG; Wed, 27 Jan 1999 03:10:30 -0700 (MST) Message-ID: <19990127031029.A4548@cold.org> Date: Wed, 27 Jan 1999 03:10:29 -0700 From: Brandon Gillespie To: cvs-committers@FreeBSD.ORG Subject: Re: cvs commit: src/etc rc References: <21140.917338744@zippy.cdrom.com> <199901260840.QAA05598@spinner.netplex.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-md5; boundary=M9NhX3UHpAaciwkO X-Mailer: Mutt 0.93.2i In-Reply-To: <199901260840.QAA05598@spinner.netplex.com.au>; from Peter Wemm on Tue, Jan 26, 1999 at 04:40:59PM +0800 X-Operating-System: FreeBSD 2.2.8-RELEASE X-PGP-Public-Key: http://www.roguetrader.com/~brandon/brandon@roguetrader_com.pubkey Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable On Tue, Jan 26, 1999 at 04:40:59PM +0800, Peter Wemm wrote: > "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. :-) >=20 > The rc.conf.local's on the replicated machines that I run call=20 > rc.conf.site at the end. :-) >=20 > 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. >=20 > What I'd like is something along the lines of this.. Move what's present= ly > 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 b= e=20 > installed along with the other rc* files. rc.conf* then belongs to the= =20 > admin, and of course if they run sysinstall it will modify it on their=20 > behalf. I like this idea... it also makes it easy to revert changes to their default--if you want you can just put an 'exit' at the top of rc.conf (after it loads the defaults), or comment out any line in the file, and it will still have the default value... And on an absolute tangent (I even fear bringing this up :) What is the latest attitude on a BSD/SYSV hybrid rc*/init system? I personally have been rather against it until about the last year, where I have been administrating some HP-UX 10 and 11 boxes. While I believe the SYSV init/rc system is overly complex, it does have advantages that the BSD system fails to provide (for instance, I _REALLY_ like being able to simply do: /sbin/init.d/ restart). This has made me reconsider the system, and at one point I thought about making a port/package that would frob the default rc system to be more of a hybrid SYSV/BSD system. Because I am not sure if this is even of interest, I'll just post a URL to a page explaining an alternative hybrid idea (which also changes the /usr/local stuff to fall within the same standard set): http://www.roguetrader.com/~brandon/rc-alt.html And for those wondering--I am not suggesting this with the idea that somebody else does the work--assuming there was interest I would be more than happy to work on it. -Brandon Gillespie --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: 3CVL/cAv+cV/Vh2DHyyxjYKd9i/svoHu iQA/AwUBNq7mE0v5XoQiMgn6EQKjIACdGpsC/l0WCO93+ESk9kCtgLJp9QUAoI8f STIaAqt7MCk/YxZAOadMFwgr =kWat -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message