I can reproduce the issue and analyze it in a qemu testbed with the
following patch:
--- a/live-build/functions
+++ b/live-build/functions
@@ -10,6 +10,7 @@ loop_raw=
backing_img=
clean_loops() {
+ sleep 10000
local kpartx_ret
local kpartx_stdout
Oddly enough nothing seems to be using the /dev/mapper/loop3p1 device
but e2fs fails:
strace e2fsck -d -v -y -E discard /dev/mapper/loop3p1
...
stat("/dev/mapper/loop3p1", {st_mode=S_IFBLK|0660, st_rdev=makedev(253, 0),
...}) = 0
openat(AT_FDCWD, "/dev/mapper/loop3p1", O_RDONLY|O_EXCL) = -1 EBUSY (Device or
resource busy)
...
write(1, "/dev/mapper/loop3p1 is in use.\n", 31/dev/mapper/loop3p1 is in use.
) = 31
write(2, "e2fsck: Cannot continue, abortin"..., 37e2fsck: Cannot continue,
aborting.
** Changed in: livecd-rootfs (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1813730
Title:
livecd-rootfs autopkgtest fails configuring required packages calling
out util-linux
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1813730/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs