Date: Sun, 7 Feb 1999 19:27:38 +0100 From: Andreas Braukmann <braukmann@tse-online.de> To: current@FreeBSD.ORG Subject: Re: some woes about rc.conf.site Message-ID: <19990207192738.C7821@paert.tse-online.de> In-Reply-To: <19990207180515.A92395@titan.klemm.gtn.com>; from Andreas Klemm on Sun, Feb 07, 1999 at 06:05:15PM %2B0100 References: <19990207170542.A90515@titan.klemm.gtn.com> <11940.918404997@zippy.cdrom.com> <19990207180515.A92395@titan.klemm.gtn.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
On Sun, Feb 07, 1999 at 06:05:15PM +0100, Andreas Klemm wrote:
> > Sorry to say this, but you really don't understand it. :)
sorry Andreas, ... I have to second this ;)
> > > When we had one central rc.conf file it was fun to browse through
> > > it and having all supported knobs visible at a glance.
> >
> > And you still have this now. In fact, with the unadulterated rc.conf, you
> > have the original "default" values for youre reference.
hmmm. I hated the old behaviour of sysinstall to make changes directly to
/etc/rc.conf.
Why? Because I'm used to use /etc/rc.conf just as a 'reference manual'
for all the 'knobs'. If mergemaster tells me that rc.conf has changed,
I have the 'diff' as a rough guideline if I have to change my
rc.conf.locale, too.
Typically I use 'sysinstall' exactly once in one machine's lifetime.
My old method of dealing with 'rc.conf' and 'rc.conf.local' was:
=> sysinstall generates a modified rc.conf
=> mv rc.conf rc.conf.local
=> cp /usr/src/etc/rc.conf rc.conf
=> vi rc.conf.local
delete all the lines not suitable for rc.conf.local
after making a new world:
=> mergemaster
if there are diffs between the old and the new rc.conf
=> let mergemaster install the new rc.conf
=> have a close look at the 'diffs' and check if any of the
changes conflict with my current rc.conf.local.
Now, with 'rc.conf.site' I just don't have to bother with rc.conf
after a fresh installation. I would just move rc.conf.site to rc.conf.local
and then procede as earlier mentioned.
> > > Then rc.conf.site has a totally different sort order which is
> > > not very helpful/comfortable, when comparing rc.conf and rc.conf.site.
I have to admit, that I havn't met a real rc.conf.site, yet.
If the sort order differs significantly it should really be corrected.
> > > Then rc.conf.site doesn't contain every knob which rc.conf has.
> > Erm, it's not supposed to. It's supposed to contain only those knobs
> > you want to change.
Just as I have only the minimum set of knobs in rc.conf.local.
> or am I really the only person, who hacks rc.conf.site with vi
no :=)
> both files at the same time and is a bit annoyed by having to compare
> every single line and then to add the knob in rc.conf.site ?!
hmm.
diff rc.conf.old rc.conf should point you directly to the changed
options or changed default behaviors.
> But, if I'm the only person who complains, then forget about it.
> It's not sooooo important then ;-)
;) ..
Regards,
Andreas
--
: TSE TeleService GmbH : Gsf: Arne Reuter : :
: Hovestrasse 14 : Andreas Braukmann : We do it with :
: D-48351 Everswinkel : HRB: 1430, AG WAF : FreeBSD/SMP :
:--------------------------------------------------------------------:
: PGP-Key: http://www.tse-online.de/~ab/public-key :
: Key fingerprint: 12 13 EF BC 22 DD F4 B6 3C 25 C9 06 DC D3 45 9B :
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990207192738.C7821>
