Subject: Is the exec of /sbin/init done as root?
To: None <jeremy@broder.com>
From: Gordon W. Ross <gwr@mc.com>
List: port-sun3
Date: 07/03/1996 14:40:55
> Date: Wed, 3 Jul 1996 11:01:55 -0700 (PDT)
> From: Jeremy Cooper <jeremy@broder.com>
> On Wed, 3 Jul 1996, Peter Svensson wrote:
>
> [ about 'boot: netbsd: Unknown error: code -1' on NFS boot ]
>
> > This may be obvious, but have you exported the directory with
> > "no_root_squash"? Otherwise root is mapped to user nobody.
>
> That's the point, if the kernel doesn't access the partition as root,
> even 'no_root_squash' won't apply.
What evidence do you have that the kernel does not access the root
NFS mount as root? If so, can you explain the reason it happens?
Gordon