From owner-freebsd-current Sun Feb 7 15:14:47 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA02216 for freebsd-current-outgoing; Sun, 7 Feb 1999 15:14:47 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from demo.esys.ca (demo.esys.ca [207.167.22.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA02192 for ; Sun, 7 Feb 1999 15:14:38 -0800 (PST) (envelope-from lyndon@execmail.ca) Received: from ht46l.orthanc.ab.ca (thingfish.v-wave.com [24.108.17.129]) by demo.esys.ca (2.0.4/SMS 2.0.4-beta-5) with ESMTP id HAA04316; Mon, 8 Feb 1999 07:22:39 -0700 From: Lyndon Nerenberg Date: Sun, 7 Feb 1999 23:13:48 -0700 To: Parag Patel Subject: Re: some woes about rc.conf.site Cc: Mike Smith , Andreas Klemm , current@FreeBSD.ORG, Matthew Dillon In-Reply-To: <199902072245.OAA51371@pinhead.parag.codegen.com> References: <199902072245.OAA51371@pinhead.parag.codegen.com> Message from Matthew Dillon of "Sun, 07 Feb 1999 13:16:28 PST." <199902072116.NAA26516@apollo.backplane.com> Message-ID: X-Mailer: Execmail for Win32 Version 5.0 pc3 Build (32) MIME-Version: 1.0 Content-Type: Multipart/signed; BOUNDARY="Part9902072313.B"; protocol="application/pgp-signature"; micalg="pgp-sha1" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --Part9902072313.B Content-Type: Text/Plain; CHARSET="US-ASCII"; name="ipm.txt" Content-Disposition: inline; filename="ipm.txt" > Then why bother having rc.conf in the first place? Just wire in all > the defaults straight into /etc/rc and leave rc.conf strictly for > overriding the defaults only, and eliminate rc.conf.* entirely. Because rc.conf contains configuration variables, whereas rc contains commands to execute at boot time. The configuration information stored in rc.conf is applicable to more than just /etc/rc. Splitting out the configuration into a seperate file (rc.conf) means it can be sourced by other utility scripts, such as /etc/rc.firewall. Sourcing /etc/rc to pick up config info would be a disaster. And FWIW, I'm in favour of a read-only rc.conf with machine specific overrides in rc.conf.local. rc.conf.site should vanish. --lyndon --Part9902072313.B Content-Type: Application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: PGPsdk version 1.5.2 (C) 1997-1998 Network Associates, Inc. and its affiliated companies. iQA/AwUBNr6AnxvgRSChfsw2EQIxTACfXDRpIlJkYnDzN9aMqqEpGoxD0m0AoKYm iBrZDVuazsNhmigkv8DTEwBx =Z895 -----END PGP SIGNATURE----- --Part9902072313.B-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message