From owner-freebsd-current@FreeBSD.ORG Thu Oct 21 22:58:28 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF1E316A4CE; Thu, 21 Oct 2004 22:58:28 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95C5643D1F; Thu, 21 Oct 2004 22:58:28 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id i9LMwTB6012388; Thu, 21 Oct 2004 15:58:29 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id i9LMwS1c012387; Thu, 21 Oct 2004 15:58:28 -0700 Date: Thu, 21 Oct 2004 15:58:28 -0700 From: Brooks Davis To: "M. Warner Losh" Message-ID: <20041021225828.GA11669@odin.ac.hmc.edu> References: <20041021152920.GB1811@rogue.acs.lan> <20041021.150623.04864669.imp@bsdimp.com> <20041021221715.GA4730@odin.ac.hmc.edu> <20041021.165104.59582131.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline In-Reply-To: <20041021.165104.59582131.imp@bsdimp.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu cc: freebsd-current@freebsd.org cc: freebsd-rc@freebsd.org cc: mtm@identd.net Subject: Re: RCng/NTP Catch-22 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2004 22:58:28 -0000 --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 services > : 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 configured > : to use a directory, but don't have /usr mountd. >=20 > Maybe that's why the LOGIN thing was there before :-( mountcritremote should be sufficent. LOGIN is way later then needed. A quick test on a 6.x machine with some users in /etc/password and some in NIS indicates that chown behaves reasionably in single user mode without /usr mounted. I could change a file to operator since it's in /etc/passwd, but not to brooks since I'm only in the NIS database. I got an invalid argument error when I tried. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBeD8UXY6L6fI4GtQRAtuUAKDn1iO1UIrtcauAk8PVww5RdtCHNwCeKtq4 KfE60cX62VxMUx1vXW+FLqk= =bqgm -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV--