From owner-freebsd-stable Sat Apr 20 17:50:54 2002 Delivered-To: freebsd-stable@freebsd.org Received: from bodb.mc.mpls.visi.com (bodb.mc.mpls.visi.com [208.42.156.104]) by hub.freebsd.org (Postfix) with ESMTP id 101DF37B400; Sat, 20 Apr 2002 17:50:50 -0700 (PDT) Received: from sheol.localdomain (hawkeyd-fw.dsl.visi.com [208.42.101.193]) by bodb.mc.mpls.visi.com (Postfix) with ESMTP id 24BC74BA4; Sat, 20 Apr 2002 19:50:49 -0500 (CDT) Received: (from hawkeyd@localhost) by sheol.localdomain (8.11.6/8.11.6) id g3L0ohh49295; Sat, 20 Apr 2002 19:50:43 -0500 (CDT) (envelope-from hawkeyd) Date: Sat, 20 Apr 2002 19:50:43 -0500 From: D J Hawkey Jr To: Doug Barton Cc: freebsd-stable Subject: Re: /etc/defaults/rc.conf theory Message-ID: <20020420195043.A49256@sheol.localdomain> Reply-To: hawkeyd@visi.com References: <20020420144417.J15643-100000@master.gorean.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020420144417.J15643-100000@master.gorean.org>; from DougB@FreeBSD.org on Sat, Apr 20, 2002 at 02:59:03PM -0700 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 On Apr 20, at 02:59 PM, Doug Barton wrote: > > On Sat, 20 Apr 2002, Jan Grant wrote: > > > On Sat, 20 Apr 2002, Calvin NG wrote: > > > > > Greetings, > > > > > > I believe when people say copy rc.conf from /etc/defaults/ into > > > /etc/, and go throught it line by line, they really mean, > > > 1) copy rc.conf from /etc/defaults/ to /etc/ > > > 2) go through it line by line, deleting every line that you want > > > leave as default. Make changes to the site specific stuff, > > > like sshd_enable=YES > > > > > > At the end of the whole exercise, you will get that small rc.conf > > > again that is tailored to your server's need. > > That is indeed what I intended, if I did not make myself clear, I > apologize. My rc.conf file on my gateway/mail server/file server box has > 57 lines. My crash box has 26, about half of which are there just because > I test /etc/rc* stuff a lot. /etc/defaults/rc.conf has 250+ variables. OK. Thanks for the confirmation. > > Yes; however, I'd rather do this once at install time than after every > > buildworld. > > You should only have to do it once. Just do it for everything that > you care about. OK, this is one thing I'm still unclear about. "Do it once" when? After a new install, and 'sysinstall' is done with it? Once after an upgrade? Once after every upgrade, or just once after a new install? How does this differ from current (i.e., 4.5-REL) practice? I'm still at a loss as to how what you're prescribing is different from past and present practices, given what [little] I've learned about your change since my first post. > > Maybe (I always review changes with mergemaster), but it's a reasonable > > assumption that existing default switches stay the same along a -stable > > track, so don't "blame" yourself too much. > > Well, more and more people have expressed this same opinion. > gshapiro already reverted the sendmail change, so the one left to discuss > is inetd. At this point changing the default back seems to be the most > reasonable course of action, even though everything in /etc/inetd.conf is > off by default. I honestly didn't notice whether 'inetd' was on or off by default in 4.5-REL; I told 'sysinstall' to do no networking at all, preferring to set it up manually after the new install. Is your change going to alter things to the point where I won't "be at home" doing this, should I choose to? FWIW, I don't run inetd on most systems. Nothing in there I usually want enabled, but a lot of folk might, for 'ftpd', if nothing else, so this isn't an issue for me [usually, but it might be?]. I'm almost with you, just tolerate me a little bit longer, Dave -- ______________________ ______________________ \__________________ \ D. J. HAWKEY JR. / __________________/ \________________/\ hawkeyd@visi.com /\________________/ http://www.visi.com/~hawkeyd/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message