Subject: Re: Updating /etc...
To: None <current-users@NetBSD.ORG>
From: Ty Sarna <tsarna@endicor.com>
List: current-users
Date: 12/22/1995 03:28:37
In article <199512200421.UAA06829@toccata.fugue.com>,
Ted Lemon <mellon@fugue.com> wrote:
>
> Whenever a change is made to /etc/localconfig, a program called
> /usr/sbin/genrc is run to generate a new /etc/rc. This /etc/rc is
> completely machine generated, but contains the config-file blurb for
[...]
I like this by far the best of anything suggested. It seems to provide
the best of most worlds, and should be sufficient to satisfy the
edit-rc-by-hand people as well (just quit running genrc, or genrc to a
different file and cdiff the two to see what changed, and wether that's
what you want to do). The only thing that needs more thought is
shutdown. Probably config files should specify how to create the
opposite state (nfs and no-nfs, for example). Then packages can require
that other packages be shut down first (stop sendmail before named, or
whatever). This also allows, in effect, run named levels, because
sysadmins can create a no-op "package" that requires whatever stares
they want (or don't want). Those who don't want run levels can simply
not do this.
Is this enough to satisfy most people? Can everyone live with this?
Can't we all just get along(tm)?