[Bug 531599] Re: device mappings for partitions not removed after build using --raw, leading to filesystem corruption
Louis Bouchard
louis.bouchard at canonical.com
Wed Dec 21 10:44:29 UTC 2011
I have been able to test a potential fix for this problem. The unmap()
function is responsible for tearing apart the device maps created by the
kpartx commands. Those are created by the map_partitions() function.
While tearing down the device maps created by the parted command, which
is invoked in the partition() function might be better done by a
callback in the partition() function, the patch is simpler by adding to
the existing unmap() which is a callback from map_partition, which is
invoked sequentially after partition() in hypervisor.py.
Please let me know if the patch in the proposed branch is unacceptable.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in Ubuntu.
https://bugs.launchpad.net/bugs/531599
Title:
device mappings for partitions not removed after build using --raw,
leading to filesystem corruption
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/531599/+subscriptions
More information about the Ubuntu-server-bugs
mailing list