Re: RCng/NTP Catch-22

From: Brooks Davis <brooks_at_one-eyed-alien.net>
Date: Thu, 21 Oct 2004 15:58:28 -0700
On Thu, Oct 21, 2004 at 04:51:04PM -0600, M. Warner Losh wrote:
> In message: <20041021221715.GA4730_at_odin.ac.hmc.edu>
>             Brooks Davis <brooks_at_one-eyed-alien.net> writes:
> : On Thu, Oct 21, 2004 at 03:06:23PM -0600, M. Warner Losh wrote:
> : > In message: <20041021152920.GB1811_at_rogue.acs.lan>
> : >             Mike Makonnen <mtm_at_identd.net> 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.
> : > 
> : > which one?  devfs is in /sbin.
> : 
> : 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.
> 
> 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

-- 
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

Received on Thu Oct 21 2004 - 20:58:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:19 UTC