From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 10 22:07:00 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8672116A403 for ; Wed, 10 Jan 2007 22:07:00 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: from mired.org (vpn.mired.org [66.92.153.74]) by mx1.freebsd.org (Postfix) with SMTP id 2BBC613C461 for ; Wed, 10 Jan 2007 22:07:00 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: (qmail 37425 invoked by uid 1001); 10 Jan 2007 22:06:34 -0000 Received: by bhuda.mired.org (tmda-sendmail, from uid 1001); Wed, 10 Jan 2007 17:06:33 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17829.25449.731134.744939@bhuda.mired.org> Date: Wed, 10 Jan 2007 17:06:33 -0500 To: Doug Barton In-Reply-To: <45A56107.5050205@FreeBSD.org> References: <20070107190616.73dee7b0@vixen42> <45A1DE76.7000201@FreeBSD.org> <20070108185247.2b6e1f69@vixen42> <45A407D1.9030101@FreeBSD.org> <20070109184346.135e0bf4@vixen42> <45A56107.5050205@FreeBSD.org> X-Mailer: VM 7.17 under 21.4 (patch 19) "Constant Variable" XEmacs Lucid X-Primary-Address: mwm@mired.org X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Mike Meyer Cc: freebsd-hackers@freebsd.org Subject: /etc/rc.conf.d (was: LDAP integration) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jan 2007 22:07:00 -0000 In <45A56107.5050205@FreeBSD.org>, Doug Barton typed: > Lamont Granquist wrote: > > And if you're looking specifically at the /etc/rc.conf config file, what > > would be more useful would be an /etc/rc.conf.d/ directory. > Good news for you, we already support that. :) I agree that it makes a > great tool for the "many systems" problem, and could reasonably be > used for part of the "dynamic laptop" problem too. I've got questions. Do you have a documentation pointer? > Yes yes yes all around. At one time I suggested that we add support > for /usr/local/etc/rc.conf.d and encourage port authors to drop files > in there, but I didn't get much enthusiasm for it. Perhaps it's time > to revisit that? While I generally feel that what's good for the base system is good for ports (and vice versa), is there any real benefit to be had from having multiple directories for this purpose? In particular, I treat /etc as precious, becuase it tends to be full of things I edited myself. /usr/opt/etc, not so much. If we do have multiple directories, I'd ask that it be a user-configurable list, defaulting to /etc/rc.conf.d and $LOCALBASE/etc/rc.conf.d, ala local_startup and a number of others. Thanks, http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.