[Bug 295944] Re: 'unmount' fails for user mounted file system
The hack works. Quick note that you can specify the loop device in both lines, which is a little safer than assuming loop0 i.e. /media/USBDISK/.fs.ext3 /media/USBDISK/fs ext2 defaults,noauto,loop=/dev/loop3,user,exec 0 0 /dev/loop3 /media/USBDISK/fs ext2 defaults,noauto,loop=/dev/loop3,user,exec 0 0 -- 'unmount' fails for user mounted file system https://bugs.launchpad.net/bugs/295944 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 295944] Re: 'unmount' fails for user mounted file system
@Kevin. This is an ugly hack. But if you put your second line beginning with /dev/loop0 into your /etc/fstab, then you will be able to run the unmount for your /mounts dmgfile. Just remember to add noauto so it doesn't mount twice on bootup. -- 'unmount' fails for user mounted file system https://bugs.launchpad.net/bugs/295944 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 295944] Re: 'unmount' fails for user mounted file system
This is not just for encrypted mounts. I have an hfsplus loopback mount and cannot umount it. This worked fine in 8.04, but fails in 9.04. Here is my /etc/fstab: /home/j2ee-hudson/Miradi/Miradi.dmg /mounts/Miradi/dmgfile hfsplus rw,user,loop,noauto 0 0 Here is my mount command: mount -v /mounts/Miradi/dmgfile Here is what ends up in /etc/mtab: /dev/loop0 /mounts/Miradi/dmgfile hfsplus rw,noexec,nosuid,nodev,user=kevins 0 0 And here is my attempt to unmount as non-root: umount -d /mounts/Miradi/dmgfile umount: /mounts/Miradi/dmgfile mount disagrees with the fstab I'm a software developer, and my automated builds are now failing because of this. The workaround mentioned above (adding a /dev/loop0 line to fstab) does work, but also makes me quite nervous. -- 'unmount' fails for user mounted file system https://bugs.launchpad.net/bugs/295944 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 295944] Re: 'unmount' fails for user mounted file system
** Changed in: util-linux (Ubuntu) Status: New = Confirmed -- 'unmount' fails for user mounted file system https://bugs.launchpad.net/bugs/295944 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 295944] Re: 'unmount' fails for user mounted file system
** This bug is no longer flagged as a security issue -- 'unmount' fails for user mounted file system https://bugs.launchpad.net/bugs/295944 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 295944] Re: 'unmount' fails for user mounted file system
Same here (Kubuntu 8.10, 32bit Desktop, backports enabled...) No attention to this? Very strange nobody encrypting their USB Sticks, which would (I think) use this princip? As a workaround I added /dev/loop0 /mnt/secure auto user,noauto,loop,encryption=twofish 0 0 to the fstab, which enabled user to unmount ... BUT: ... this means I have TO PRAY that /mnt/secure is mounted via loop0 ... Regards - Henning -- 'unmount' fails for user mounted file system https://bugs.launchpad.net/bugs/295944 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 295944] Re: 'unmount' fails for user mounted file system
** Visibility changed to: Public -- 'unmount' fails for user mounted file system https://bugs.launchpad.net/bugs/295944 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs