From owner-freebsd-stable Fri Apr 19 15:59: 6 2002 Delivered-To: freebsd-stable@freebsd.org Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by hub.freebsd.org (Postfix) with ESMTP id 7E7B937B417; Fri, 19 Apr 2002 15:58:57 -0700 (PDT) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP id GQF37091; Fri, 19 Apr 2002 15:58:56 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Postfix) with ESMTP id E7E575D05; Fri, 19 Apr 2002 15:58:55 -0700 (PDT) To: Doug Barton Cc: freebsd-stable@FreeBSD.org Subject: Re: *** HEAD'S UP *** In-reply-to: Your message of "Fri, 19 Apr 2002 15:37:27 PDT." <20020419153704.M17393-100000@zoot.corp.yahoo.com> Date: Fri, 19 Apr 2002 15:58:55 -0700 From: "Kevin Oberman" Message-Id: <20020419225855.E7E575D05@ptavv.es.net> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Date: Fri, 19 Apr 2002 15:37:27 -0700 (PDT) > From: Doug Barton > Sender: owner-freebsd-stable@FreeBSD.ORG > > Howdy, > > Apparently my last message wasn't clear enough, for which I > apologize. In addition to the general, non-life-threatening changes to > /etc I did recently, a few more fundamental things have changed as well, > specifically to /etc/defaults/rc.conf. Rather than focus on the specifics, > I'd like to suggest a more general solution. > > I highly recommend backing up your existing rc.conf[.local], and > copying /etc/defaults/rc.conf to /etc/rc.conf. Then, go through the whole > file, and explicitly include your choices for anything that you care > about, whether they are the defaults or not. In this way, you can be sure > that the system will always behave the way you want it to. In addition to > this, I generally include the settings that are specific to the individual > machine (like hostname, gateway, ifconfig_) in /etc/rc.conf.local. That > way it's easier to blat the rc.conf file periodically. > > I also added an option to mergemaster to compare your > rc.conf[.local] stuff to what's in /etc/defaults/rc.conf after you're done > updating. To take advantage of that, use 'mergemaster -C', or 'echo > COMP_CONFS=yes >> .mergemasterrc'. What this won't show you is differences > to the defaults that you don't have in /etc/rc.conf[.local]. For that, > you're expected to pay attention to the diff of /etc/defaults/rc.conf as > you install it. :) > > Any questions, comments, or suggestions... fire away. OK. You asked for it... I really hate to see the suggestion that people copy files from /etc/defaults to /etc. This really breaks the paradigm of having only changes in defaults in /etc so that defaults can be changed with a normal system update. While the new mergemaster option helps with this, I would really rather not see rc.conf (and other files) become large and not trivial to scan over. A suggestion to scan through /etc/defaults/rc.conf is not unreasonable. Of course, people SHOULD pay attention to whet mergemaster has to say, but even I have messed up when updating an important server and not watching all of the things mergemaster showed in an effort to get the system back on-line quickly. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message