Sadly the fault here is in the FHS, which specifies that those two
directories are under /var -- we need files in both directories to be
able to mount /var, so it's a bit of a chicken and egg situation.  The
Ubuntu solution is reasonably elegant (bind-mount so that /var/run and
/var/lock are available whether you mount or unmount /var -- but it
means a little bit of extra work to set it up.

A recent fix went in that creates these directories on the root
filesystem on shutdown if they don't already exist, this should solve
95% of the problem since after adding a /var, you'll reboot and it'll
take care of putting in the necessary mount points

** Changed in: sysvinit (Ubuntu)
       Status: Incomplete => Fix Released

-- 
/var is mounted too late during the init sequence
https://bugs.launchpad.net/bugs/139230
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to