Boot fails when you use hex code in /etc/fstab
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mountall (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Lucid |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mountall
I use \040 in /etc/fstab to have a white space in the mount path. Since Dec 24th update this crashes mountall and makes boot fail. However, the device mounts correctly.
Reproduction:
~# ls /media
cdrom cdrom0 cdrom1
~# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda3 during installation
UUID=8291bc13-
# swap was on /dev/sda5 during installation
UUID=786aa4a5-
/dev/sda2 /media/Windows\0407 ntfs-3g
~# mountall --debug
http://
~# mount
/dev/sda3 on / type ext4 (rw,errors=
proc on /proc type proc (rw)
binfmt_misc on /proc/sys/
none on /sys type sysfs (rw,noexec,
none on /sys/fs/
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,
none on /var/lock type tmpfs (rw,noexec,
none on /lib/init/rw type tmpfs (rw,nosuid,
gvfs-fuse-daemon on /home/agustin/.gvfs type fuse.gvfs-
/dev/sda2 on /media/Windows 7 type fuseblk (rw,nosuid,
-- /dev/sda2 was mounted correctly
~# ls /media
cdrom cdrom0 cdrom1 Windows 7
-- Sometimes a empty folder called 'Windows\0407' is created
It seems that mountall correctly mounts the partition on its place but then it checks the path "as is" and fails because Windows\0407 is not a mount point.
== Regression details ==
Discovered in version: mountall 2.2
Last known good version: mountall 2.3
ProblemType: Bug
Architecture: amd64
Date: Mon Dec 28 14:36:43 2009
DistroRelease: Ubuntu 10.04
NonfreeKernelMo
Package: mountall 2.3
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=es_AR.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: mountall
Tags: lucid
Uname: Linux 2.6.32-9-generic x86_64
Changed in mountall (Ubuntu Lucid): | |
status: | Incomplete → Fix Released |
If this crashes mountall, you should have a crash report to file - please do that.