[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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
> a loop with a bit of sleep, until it finally succeeds.

I'm running live-build for some time now on a UEFI-booted machine (previously I used BIOS boot) without issues.

I think that the fix is applied to the git version, see https://salsa.debian.org/live-team/live-build/-/merge_requests/326

The fix does a proper unmount of efivars before unmounting sys.

Can you try to run live-build from the git version to see whether that fixes the issue for you?

I've written some instructions on https://wiki.debian.org/ReproducibleInstalls/LiveImages The key to running the git version is in the definition of the environment variable LIVE_BUILD which should point to the root of the git clone.

With kind regards,
Roland Clobus

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


Reply to: