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: Chris Kuethe (chris.kuethegmail.com)
Date: Mon Nov 01 2004 - 19:03:01 CST


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?

On my boxen, I just use rc.conf. My trusty procedure of putting a
tarball of my pre-upgrade /etc into /root has never let me down. I can
then nuke /etc and copy back only the things I really need, rather
than letting /etc get polluted with junk from 8 releases ago...

CK

--
GDB has a 'break' feature; why doesn't it have 'fix' too?