Public bug reported:

Binary package hint: initscripts

mountkernfs.sh, which mounts /var/run, is run before mountall.sh, which
typically mounts /var. So ubuntu replies on a /var/run existing on the
root partition, which is then hidden by the /var mount. This makes it
impossible to get a consistant, bootable filesystem backup. When I
restore the backup, it doesn't restore the /var/* directories on the
root partition. This bit me when I backed up my edgy install so I could
put the partitions under lvm. Possible resolutions of the bug:

Solutions:

a) Make /var/* mounts happen after /var is mounted, or
b) Don't make them tmpfs mounts in the first place (there seems to be very 
little benefit, particularly given the breakage it causes. I'd rather have them 
on disk than taking up memory).

Plastering over the cracks:

a) Make mountkernfs check for the directories' existance and if
necessary mkdir them.

    Iain.

** Affects: sysvinit (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
mountkernfs.sh attempts to mount /var/run and /var/lock before /var is mounted.
https://launchpad.net/bugs/69070

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

Reply via email to