Comment 2 for bug 295944

Revision history for this message
Kevin Smith (ubuntu-qualitycode) wrote :

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.