Thanks!
What's happening here is that because you have a separate /var and a
tmpfs on /var/tmp. the "virtual-filesystems" event will not be emitted
until /var/tmp is mounted. But /var/tmp cannot be mounted until /var is
mounted. And /var cannot be mounted until udev has created the block
device for it. But udev is not started until the virtual-filesystems
events, etc.
So basically you have a dependency loop.
Codewise, the solution would be to consider virtual filesystems under
local filesystems as local filesystems from the point of view of the
event. We've already started to grow this code for the root filesystem
which is always considered local, so maybe I just need to expand on
that.
For you, there's a workaround you can use for now:
boot with init=/bin/bash
mount -o rw,remount /
mkdir /var/tmp
(note that this makes a /var/tmp on the root filesystem under /var)
edit /etc/fstab, add "showthrough" to the options for /var/tmp
mount -o ro,remount /
reboot
This will cause /var/tmp to be mounted before /var is mounted, and
carried over once /var is mounted as well
** Summary changed:
- /var/tmp in fstab hangs boot
+ separate /var and /var/tmp tmpfs dependency loop
** Changed in: mountall (Ubuntu)
Status: Incomplete => Triaged
** Changed in: mountall (Ubuntu)
Importance: Medium => Low
** Changed in: mountall (Ubuntu)
Assignee: (unassigned) => Scott James Remnant (scott)
** Changed in: mountall (Ubuntu)
Milestone: None => ubuntu-9.10
** Also affects: mountall (Ubuntu Karmic)
Importance: Low
Assignee: Scott James Remnant (scott)
Status: Triaged
--
separate /var and /var/tmp tmpfs dependency loop
https://bugs.launchpad.net/bugs/431040
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs