15reuse/choices, 15reuse/do_option, and 25replace/choices all umount
$path in the normal execution, but $mountpoint in the cleanup error
handler.  Changing these to also umount $mountpoint instead fixes the
problem.

It seems that there are two other bugs that feed into this one:

1)  ntfs-3g canonicalizes the name so that if you mount with
/dev/mapper/foo, the device name listed in mtab is /dev/dm-n, so you can
not umount /dev/mapper/foo

2) umount won't even recognize and translate /dev/dm-n to the mount
point, apparently because of the '-' involved.  Editing mtab and
removing the '-' allows you to umount /dev/dmn successfully.

Even so, there seems to be another underlying bug somewhere in the
installer because it probably should not hang just because a partition
was already mounted.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/725408

Title:
  installer hangs detecting existing partitions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to