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
signature.asc
Description: This is a digitally signed message part