failed to boot if /var/tmp and /tmp specified in /etc/fstab
Bug #471794 reported by
kakaroto
This bug report is a duplicate of:
Bug #459642: upstart/mountall doesn't handle bind mounts reliably.
Edit
Remove
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mountall (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mountall
I've upgraded to Karmik and now the system does not boot anymore, I get the following error:
One or more of the mounts listed in /etc/fstab cannot yet be mounted:
/tmp: waiting for /dev/shm
/var/tmp: waiting for /dev/shm
If I comment the following lines in my /etc/fstab, the system boots:
/dev/shm /var/tmp none bind 0 0
/dev/shm /tmp none bind 0 0
Please let me know how to fix this, for security reasons I want to use these virtual filesystems.
Changed in mountall (Ubuntu): | |
status: | New → Won't Fix |
To post a comment you must log in.
I can confirm this on kubuntu karmic final. This bug was NOT present in karmic alpha3, so perhaps the use of upstart is responsible? Mounting tmpfs to /tmp does NOT cause this problem, just /var or a /var subdir.
To reproduce, add this line to fstab: noatime, size=1000M, mode=1777 0 0 noatime, size=1000M, mode=1777 0 0
tmpfs /var tmpfs defaults,
or
tmpfs /var/log tmpfs defaults,
In addition, this is an important ability for systems with SSDs (in order to minimize disk writes). mountall --version reports "mountall 1.0". I installed from kubuntu- 9.10-alternate- amd64.iso
This may be a duplicate of https:/ /bugs.launchpad .net/ubuntu/ +source/ mountall/ +bug/431040 but that bug was closed as "fix released". This has not been fixed.