From owner-cvs-all@FreeBSD.ORG Sat Oct 9 20:00:56 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E2C716A4CE; Sat, 9 Oct 2004 20:00:56 +0000 (GMT) Received: from burka.carrier.kiev.ua (burka.carrier.kiev.ua [193.193.193.107]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53DAB43D1F; Sat, 9 Oct 2004 20:00:55 +0000 (GMT) (envelope-from netch@lucky.net) Received: from burka.carrier.kiev.ua (netch@localhost [127.0.0.1]) by burka.carrier.kiev.ua with ESMTP id i99K0VBq077833; Sat, 9 Oct 2004 23:00:34 +0300 (EEST) (envelope-from netch@burka.carrier.kiev.ua) Received: (from netch@localhost) by burka.carrier.kiev.ua (8.12.11/8.12.11/Submit) id i99K0Vlk077830; Sat, 9 Oct 2004 23:00:31 +0300 (EEST) (envelope-from netch) Date: Sat, 9 Oct 2004 23:00:31 +0300 From: Valentin Nechayev To: Ryan Sommers Message-ID: <20041009200031.GX89036@lucky.net> References: <200410071355.i97DtSJq024575@repoman.freebsd.org> <20041009011553.01708de1@dev.lan.Awfulhak.org> <20041009083519.GA84548@dragon.nuxi.com> <20041009183217.GJ84228@lucky.net> <41683D43.4020403@gamersimpact.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41683D43.4020403@gamersimpact.com> X-42: On X-Verify-Sender: Address has been verified (burka.carrier.kiev.ua) cc: Dag-Erling =?koi8-r?Q?Sm=F8rgrav?= cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org cc: "Bjoern A. Zeeb" Subject: Re: What we keep under /etc X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: netch@lucky.net List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Oct 2004 20:00:56 -0000 Sat, Oct 09, 2004 at 14:34:27, ryans wrote about "Re: What we keep under /etc": > >Are you serious? Well, let's make local modifications in > >/usr/src/etc/master.passwd, or what's the *real* difference between its > >and /etc/rc.d/*? > Umm... Read the discussion again. The topic isn't /ALL/ of /etc just > those directories that are considered part of the OS like /etc/rc.d and > /etc/defaults. The difference is rc.d contains only the startup scripts > for the operating system. All others /should/ be in /usr/local/etc/rc.d. I think you misread me. The question was to keep modifications for existing scripts in /etc/rc.d/*, not for non-standard scripts (it's second and quite separate question). Of course, it's not easy-separate what should be reinstalled unconditionally (as installworld does), and what should be explicitly asked, in spite that there are scripts in binary directories. But it seemed some time ago that /etc/ contains configs, not programs; and, configs are subject for probable tweaking. If one doesn't want to suppose them as configs, place them, e.g., as /sbin/rc.d/* (as some Unixes do). > As for the comment about many different machines using the same source > tree. Those modifications, as it is my understanding, should be in > /usr/local/etc/rc.d not in /etc/rc.d. Well, read /etc/rc and name working way as to use them instead same-named files from /etc/rc.d. Should be taken into account, that /etc/rc starts unsually without mounted file systems except root one, and that dependencies might be recalculated. > That's what the whole /usr/local > is there for is it not? If you need to disable the scripts in /etc/rc.d > with their respective rc.conf values and then roll your changes in > /usr/local/etc/rc.d. Or am I missing something there? Yes, see above. -netch-