[Vmdebootstrap-devel] kpartx's #829496 severly affects vmdebootstrap

Christian Kastner ckk at debian.org
Wed Jul 13 19:18:58 UTC 2016


Hi,

Recently I was having an impossible time generating bootable images with
a  vmdebootstrap, until I noticed that this only worked with the first
invocation after a reboot.

It turns out that a bug in kpartx does not clean up the loop device
after using -d, which explains why every invocation except the first one
did not work.

I've submitted a patch to upstream and #829496.

Without this patch, losetup -d <device> must be called after every
invocation of vmdebootstrap.

Regards,
Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/vmdebootstrap-devel/attachments/20160713/1472ba82/attachment-0001.sig>


More information about the Vmdebootstrap-devel mailing list