"bootwait" in fstab causes mount problems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
util-linux (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Bug Description
Binary package hint: mountall
The Karmic release notes and bug #469604 suggest adding "bootwait" as an option in fstab (presumably /etc/fstab) if there is a need to ensure that any fsck is done before the system opens to users.
Now, I'm probably missing something, but if I add "bootwait" in /etc/fstab, I cannot mount the relevant parition. See below for jfs. Have also had this with ext3.
~$ sudo vi /etc/fstab
[added bootwait option]
~$ grep bootwait /etc/fstab
LABEL=Myth2 /media/md2 jfs defaults,bootwait 0 2
~$ sudo umount /media/md2
~$ sudo mount /media/md2
mount: wrong fs type, bad option, bad superblock on /dev/sdd1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
~$ sudo vi /etc/fstab
[remove bootwait option]
~$ grep bootwait /etc/fstab
~$ grep /media/md2 /etc/fstab
LABEL=Myth2 /media/md2 jfs defaults 0 2
~$ sudo mount /media/md2
~$
Now, although mount is reporting this error, I'm suggest this is a mountall problem as the instruction to do this comes from mountall, and mountall is the new kid on the block.
Description: Ubuntu 9.10
Release: 9.10
mountall:
Installed: 1.0
Candidate: 1.0
Version table:
*** 1.0 0
500 http://
100 /var/lib/
mount:
Installed: 2.16-1ubuntu5
Candidate: 2.16-1ubuntu5
Version table:
*** 2.16-1ubuntu5 0
500 http://
100 /var/lib/
Related branches
Changed in mountall (Ubuntu): | |
status: | Confirmed → Triaged |
affects: | mountall (Ubuntu) → util-linux (Ubuntu) |
We probably need to patch util-linux's mount to ignore the bootwait, nobootwait and showthrough options ;-)