Comment 0 for bug 501078

Revision history for this message
Agustín Dall'Alba (agusdallalba) wrote :

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-62e6-4ee8-944d-e4963e9497db / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=786aa4a5-4556-44ff-83d9-e51a786540b0 none swap sw 0 0

/dev/sda2 /media/Windows\0407 ntfs-3g

~# mountall --debug
http://paste.ubuntu.com/348204/

~# mount
/dev/sda3 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
gvfs-fuse-daemon on /home/agustin/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sda2 on /media/Windows 7 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)

-- /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.

ProblemType: Bug
Architecture: amd64
Date: Mon Dec 28 14:36:43 2009
DistroRelease: Ubuntu 10.04
NonfreeKernelModules: nvidia
Package: mountall 2.3
ProcEnviron:
 LANGUAGE=es_AR.UTF-8
 PATH=(custom, user)
 LANG=es_AR.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-9.13-generic
SourcePackage: mountall
Tags: lucid
Uname: Linux 2.6.32-9-generic x86_64