[Bug 555780] Re: /var on separate partition fails at boot time
Hm. You're right. I've commented out /etc/fstab lines with 'run and 'lock and system looks the same as before (and boots properly). Well, last time I've tried this was about 4 weeks ago- then boot process (lucid) hanged, I'm sure (I've tried few times to be sure this was fstab and /var issue). But this weekend was the first time I've found some spare time to try solve the issue. Maybe you did put some changes in the mean time or maybe this was caused by different package... Anyway- I can confirm everything works properly. Sorry for the mess, regards -- /var on separate partition fails at boot time https://bugs.launchpad.net/bugs/555780 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 555780] Re: /var on separate partition fails at boot time
** Changed in: initramfs-tools (Ubuntu) Status: New = Fix Released -- /var on separate partition fails at boot time https://bugs.launchpad.net/bugs/555780 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 555780] Re: /var on separate partition fails at boot time
I've investigated the issue and it looks it's not a initramfs-tools package problem but mountall problem. There is a file /lib/init/fstab from that package that has configuration lines with /var/run and /var/lock. It seems that one who has /var on separate partition should put lines for 'run and 'lock in his /etc/fstab to override the /lib/init/fstab lines. There should be some documentation, guide for users- then this bug would be partially solved. ** Package changed: initramfs-tools (Ubuntu) = mountall (Ubuntu) -- /var on separate partition fails at boot time https://bugs.launchpad.net/bugs/555780 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 555780] Re: /var on separate partition fails at boot time
I've checked it thoroughly and I can confirm the bug. No documentation, no mention anywhere that if someone wants to mount somewhere in the directory tree first should check /lib/init/fstab and duplicate lines containing mount points inside directory he intends to mount and after his line. For ex.: UUID=4ef7876b-6d81-4f2c-a677-a7dd25716876 /varext4 user_xattr0 2 none/var/runtmpfs mode=0755,nosuid,showthrough0 0 none/var/lock tmpfs nodev,noexec,nosuid,showthrough 0 0 -- /var on separate partition fails at boot time https://bugs.launchpad.net/bugs/555780 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 555780] Re: /var on separate partition fails at boot time
This isn't true at all. The reason that there's no documentation that you need to do anything special for mountall to support /var on a separate partition is because you don't! You've pasted the appropriate lines from /lib/init/fstab for /var/run and /var/lock and as you can see, they both have the showthrough mount option These causes mountall to take special action to mount /var, with these filesystems mounted on it and under it ** Package changed: mountall (Ubuntu) = initramfs-tools (Ubuntu) -- /var on separate partition fails at boot time https://bugs.launchpad.net/bugs/555780 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs