Comment 15 for bug 268123

Revision history for this message
Colin Watson (cjwatson) wrote :

The strace shows the same filesystem being mounted twice:

mount("/dev/sda1", "/tmp/ntfs", "fuseblk", MS_NOSUID|MS_NODEV, "allow_other,blksize=4096,fd=4,ro"...) = 0
[...]
clone(Process 2143 attached
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d91b28) = 2143
[...]
[pid 2143] execve("/bin/mount", ["/bin/mount", "-i", "-f", "-t", "fuseblk", "-o", "rw,nosuid,nodev,allow_other,blks"..., "/dev/sda1", "/tmp/ntfs"], [/* 33 vars */]) = 0
[...]
[pid 2143] mount("/dev/sda1", "/tmp/ntfs", "fuseblk", MS_NOSUID|MS_NODEV|MS_SILENT, "allow_other,blksize=4096") = -1 EBUSY (Device or resource busy)

This is probably the source of the problem. Looks like /bin/mount in the initramfs is ignoring the -f flag ("fake", don't actually call mount(8)).