From owner-freebsd-rc@FreeBSD.ORG Sun Oct 24 15:19:57 2004 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1B4216A4CE for ; Sun, 24 Oct 2004 15:19:56 +0000 (GMT) Received: from home.mewburn.net (cerberus.mewburn.net [203.217.30.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30B5E43D3F for ; Sun, 24 Oct 2004 15:19:56 +0000 (GMT) (envelope-from lukem@mewburn.net) Received: by home.mewburn.net (Postfix, from userid 604) id B1DCB2BD0E; Mon, 25 Oct 2004 01:19:54 +1000 (EST) Date: Mon, 25 Oct 2004 01:19:54 +1000 From: Luke Mewburn To: Brooks Davis Message-ID: <20041024151954.GX13602@mewburn.net> References: <20041021152920.GB1811@rogue.acs.lan> <20041021.150623.04864669.imp@bsdimp.com> <20041021221715.GA4730@odin.ac.hmc.edu> <20041021.165104.59582131.imp@bsdimp.com> <20041021225828.GA11669@odin.ac.hmc.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="B+wlbfluP3bmA2Yb" Content-Disposition: inline In-Reply-To: <20041021225828.GA11669@odin.ac.hmc.edu> User-Agent: Mutt/1.4.2.1i cc: freebsd-rc@freebsd.org Subject: Re: RCng/NTP Catch-22 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to /etc/rc.d design and implementation. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Oct 2004 15:19:57 -0000 --B+wlbfluP3bmA2Yb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 21, 2004 at 03:58:28PM -0700, Brooks Davis wrote: | On Thu, Oct 21, 2004 at 04:51:04PM -0600, M. Warner Losh wrote: | > In message: <20041021221715.GA4730@odin.ac.hmc.edu> | > Brooks Davis writes: | > : On Thu, Oct 21, 2004 at 03:06:23PM -0600, M. Warner Losh wrote: | > : > In message: <20041021152920.GB1811@rogue.acs.lan> | > : > Mike Makonnen writes: | > : > : devfs can't be | > : > : run before NETWORKING because it depends on at least one binary= in | > : > : /usr/sbin. See my patch and reply to Andre. | > : >=20 | > : > which one? devfs is in /sbin. | > :=20 | > : It looks like chown. That one always suprises me even though I've = hit | > : it a number of times. I think this is because you can't safely do | > : anything involving user names before you have working directory ser= vices | > : and you can't be sure you have those before you have user. Hmm, I | > : wonder what happens if you try to use chown when you have nss confi= gured | > : to use a directory, but don't have /usr mountd. | >=20 | > Maybe that's why the LOGIN thing was there before :-( |=20 | mountcritremote should be sufficent. LOGIN is way later then needed. Correct; mountcritremote is the first dependency for /usr (and /usr/bin and /usr/sbin is implied from that). To be safe you may want to try: REQUIRE: mountcritremote BEFORE: DAEMON although this might still have a "chicken & egg" issue if you have users in network databases (e.g, Hesiod/DNS, NIS, LDAP) and the local services for those (e.g, ypbind) aren't up yet. "oh joy". Cheers, Luke. --B+wlbfluP3bmA2Yb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (NetBSD) iD8DBQFBe8gapBhtmn8zJHIRAm4bAKCtWayTcN5jwvEqwIHgM0CaNYyyEACgkM0g sFF9BvWemCRB/BeEbTCZkKg= =fy8f -----END PGP SIGNATURE----- --B+wlbfluP3bmA2Yb--