Public bug reported: 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. ** Affects: multipath-tools (Ubuntu) Importance: Critical Assignee: Mathieu Trudel-Lapierre (mathieu-tl) Status: New ** Changed in: multipath-tools (Ubuntu) Importance: Undecided => Critical ** Changed in: multipath-tools (Ubuntu) Assignee: (unassigned) => Mathieu Trudel-Lapierre (mathieu-tl) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1543430 Title: kpartx 0.5.0-7ubuntu11 fails to remove loop mapping on kpartx -d To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1543430/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs