[Bug 1543430] Re: kpartx 0.5.0-7ubuntu11 fails to remove loop mapping on kpartx -d
Launchpad Bug Tracker
1543430 at bugs.launchpad.net
Wed Feb 10 08:37:31 UTC 2016
This bug was fixed in the package multipath-tools - 0.5.0-7ubuntu14
---------------
multipath-tools (0.5.0-7ubuntu14) xenial; urgency=medium
* debian/patches/kpartx_more_loopback_fixes.patch: fix loopback mounted
files some more: since we stat() the loopback device node, we can't rely
on S_ISREG() tests to handle this case, and should look at the device
itself instead. (LP: #1543430)
* debian/tests/kpartx-file-loopback: check for left-over loop devices after
deleting a map.
-- Mathieu Trudel-Lapierre <mathieu-tl at ubuntu.com> Tue, 09 Feb 2016
15:24:27 -0500
** Changed in: multipath-tools (Ubuntu)
Status: In Progress => Fix Released
--
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
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