Bug#891077: kpartx -d doesn't cleanup

Ritesh Raj Sarraf rrs at debian.org
Thu Feb 22 14:29:13 UTC 2018


Control: tag -1 +confirmed


Hello Xavier,

Thanks for the bug report. I'm aware of the problem but haven't had
time to root cause it, yet. Hopefully soon.

On Thu, 2018-02-22 at 09:50 +0100, Xavier Bestel wrote:
> Package: kpartx
> Version: 0.7.4-3
> Severity: important
> 
> Hi,
> 
> If I execute the following testcase:
>         #!/bin/bash -xe
>         IMAGE_PATH=bug.img
>         truncate -s 3608M "${IMAGE_PATH}"
>         /sbin/sfdisk "${IMAGE_PATH}" <<-__EOF__
>         4M,512M,L,*
>         516M,512M,,
>         1028M,512M,,
>         1540M,,E,
>         ,64M,,
>         ,64M,,
>         ,,,
>         __EOF__
>         sudo kpartx -l "${IMAGE_PATH}"
>         sudo kpartx -a "${IMAGE_PATH}"
>         sudo kpartx -d "${IMAGE_PATH}"
> then kpartx won't cleanup its loop devices:
-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20180222/816b9fd5/attachment.sig>


More information about the pkg-lvm-maintainers mailing list