[Bug 1543430] Re: kpartx 0.5.0-7ubuntu11 fails to remove loop mapping on kpartx -d
Mathieu Trudel-Lapierre
mathieu.tl at gmail.com
Mon Feb 15 22:03:29 UTC 2016
Verified; this works as expected:
kpartx -av adds a loop device node and mounts the image, and sets up the partitions.
kpartx -dv deletes the partition maps and removed the loop device node.
** Tags removed: verification-needed
** Tags added: verification-done
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1543430
Title:
kpartx 0.5.0-7ubuntu11 fails to remove loop mapping on kpartx -d
Status in multipath-tools package in Ubuntu:
Fix Released
Status in multipath-tools source package in Trusty:
Fix Committed
Bug description:
I've observed in livefs build logs that with kpartx 0.5.0-7ubuntu12,
'kpartx -d' is not removing the loop mapping (losetup -d). E.g.,
build log diff:
+ kpartx -v -d binary/boot/disk.ext4
del devmap : loop0p1
-loop deleted : /dev/loop0
This doesn't seem to be causing any immediate practical problems
because each livefs build gets a dedicated VM which is torn down
afterwards, so the mappings do not persist. But it's definitely
incorrect for these mappings to persist.
The good build log used kpartx 0.5.0-7ubuntu9. Testing the
intermediate versions, 0.5.0-7ubuntu11 shows the same buggy behavior
as 12. 10 clears the loop mapping, but also appears to fail to
correctly set up partitions in my test case so I'm not sure if this
bug is present or not in 0.5.0-7ubuntu10.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1543430/+subscriptions
More information about the foundations-bugs
mailing list