Re: Weird - /proc is not mounted on boot
On Sun, 21 Mar 2004 22:08, Nikolai Prokoschenko <nikolai@prokoschenko.de>
wrote:
> On Sun, Mar 21, 2004 at 12:58:39AM +0100, Nikolai Prokoschenko wrote:
> > I don't know, what has caused this - my best guess is the recent update
> > of sysvutils, which include some kind of splitting init-files
> > (mountvirtfs). The system used to work a couple of days ago.
>
> I have found the problem - now it works fine. The problem was not
> mountvirtfs, it was udev, which unmounts /proc in the boot process. If I
> understand this correctly, mountvirtfs has been just introduced, replacing
> the functionality from libc, while udev is only aware of what libc is
> doing. There is urgent need for some coordination ;)
udev is broken in any case.
There is never any harm in mounting proc earlier, all init code has to cope
with the case where /proc is mounted earlier than expected (*). So if you
need to have /proc mounted then just unconditionally mount it and never
umount it.
(*) We need to cope with the case where the administrator boots with
init=/bin/bash, fixes the error (while mounting /proc along the way) and then
does "exec /sbin/init" to get the system going.
--
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/ My home page
Reply to: