You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bwrap: Fall back to direct invocation on namespace creation failure
Under QEMU user-mode emulation the host kernel can return EINVAL
from clone(CLONE_NEWUSER) on bwrap's sandbox setup, and bwrap
aborts before spawning the child. This trips bootc install on
cross-architecture builds (see issue #2111), where bwrap is
used to make bootupctl run from the target image, not the
buildroot.
Workaround until the upstream qemu-user/kernel/bwrap interaction
is resolved: detect the "Creating new namespace failed" prefix on
bwrap's stderr and re-run the target program directly. A
`eprintln!` fires on every fallback so the behaviour is
visible in logs. Both bootupctl sites in bootloader opt in: the
`--filesystem` capability probe and `backend install`.
Assisted-by: Claude Code (Opus 4.7 1M)
Signed-off-by: cdellacqua <carlo.dellacqua97@gmail.com>
0 commit comments