Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 1999 03:10:29 -0700
From:      Brandon Gillespie <brandon@roguetrader.com>
To:        cvs-committers@FreeBSD.ORG
Subject:   Re: cvs commit: src/etc rc
Message-ID:  <19990127031029.A4548@cold.org>
In-Reply-To: <199901260840.QAA05598@spinner.netplex.com.au>; from Peter Wemm on Tue, Jan 26, 1999 at 04:40:59PM %2B0800
References:  <21140.917338744@zippy.cdrom.com> <199901260840.QAA05598@spinner.netplex.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help

--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/<service> 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



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