Bug#1053457: live-build: Building live image fails when unmounting /sys: 'target is busy'

2023-12-05 Thread Roland Clobus
Hello Witold Baryluk, On 05/12/2023 16:35, Witold Baryluk wrote: Also had this issue for some time (maybe 2-3 months) on my amd64 machine. But I am not so sure it is due to efivars, at least not only. > ... so I made another workaround - try to unmount efivars, then try to unmount sys in >

Bug#1053457: live-build: Building live image fails when unmounting /sys: 'target is busy'

2023-12-05 Thread Witold Baryluk
Package: live-build Version: 1:20230502 Followup-For: Bug #1053457 X-Debbugs-Cc: witold.bary...@gmail.com Also had this issue for some time (maybe 2-3 months) on my amd64 machine. But I am not so sure it is due to efivars, at least not only. Instrumented chroot_sysfs with mount | grep chroot,

Bug#1053457: live-build: Building live image fails when unmounting /sys: 'target is busy'

2023-11-08 Thread Emanuele Rocca
On 2023-10-04 03:10, Emanuele Rocca wrote: > P: Begin unmounting /sys... > umount: /tmp/sid-image/chroot/sys: target is busy. > E: An unexpected failure occurred, exiting... The reason why /sys is busy is that efivarfs is mounted under /sys/firmware/efi/efivars. It seems that efivarfs gets

Bug#1053457: live-build: Building live image fails when unmounting /sys: 'target is busy'

2023-10-04 Thread Emanuele Rocca
Package: live-build Version: 1:20230502 Severity: normal Dear Maintainer, Building a live image with `lb build` fails towards the end with the following error: P: Begin unmounting /sys... umount: /tmp/sid-image/chroot/sys: target is busy. E: An unexpected failure occurred, exiting... The