Hey,

any progress on that? Just stumbled over this issue and asked myself
if there is a fix or at least a reliable workaround available.

Regards from DebConf18, Taiwan :),
 - Darsha

On 02/22/2018 03:29 PM, Ritesh Raj Sarraf wrote:
> 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:

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to