OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: rc.conf comment

From: Henning Brauer (lists-openbsdtechbsws.de)
Date: Tue Nov 02 2004 - 06:20:57 CST


* Chris Kuethe <chris.kuethegmail.com> [2004-11-02 11:49]:
> On Mon, 1 Nov 2004 12:55:22 -0700 (MST), Theo de Raadt
> <deraadtcvs.openbsd.org> wrote:
> > > Would it be useful to add a comment at the top of /etc/rc.conf reminding
> > > people to make changes rc.conf.local instead of rc.conf?
> >
> > I think it really is up to people to decide which way they want to do it.
>
> Indeed. I can see the logic behind telling people to use rc.conf.local
> instead, but in an upgrade you should be preserving all of /etc
> anyway. You already have to check for new users and groups, watch out
> for mail changes, time server changes, maybe preserve some local mods
> in rc.local (should we have an rc.local.local now?). How hard is it to
> see if your rc.conf is relevant any more?

you got that completely backwards. there is nothing in rc.local by
default (except for comments and the cfs thing that should die) for a
reason, no need to merge anything. in fact i think we should not have a
default rc.local AT ALL.

if you play nice and use the .local variants upgrading is now a matter
of a few minutes, thanks to nick's excellent upgrade document.

If you want to make your life harder - sure, go on, we won't stop you.