-
Notifications
You must be signed in to change notification settings - Fork 239
kiwi image builds fail with nspawn due to broken loop devices #1554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
cc @DaanDeMeyer @keszybz if either of you can help with nspawn debugging. |
@supakeen pointed me to systemd/systemd#6553 as the underlying issue. We've theorized that if Mock creates its own transient machine unit instead of letting nspawn do it, we can set it up in such a way that we can create the nodes the same way we do for regular chroots, which hopefully resolves the problem. |
FYI @nirik |
Yea, So far I've tried a few things:
Both of those get applied but we can't My hunch is that while we're allowed to touch Personally I think there's probably some magical incantation with For what it's worth, Update: I misremembered, nowadays with |
Just for everyone's edification, this did not work. The problem is that we cannot create and discover partitions in loops, since those loopXpY nodes do not show in the nspawn environment. |
We've had this problem for a while now where kiwi image builds seem to fail in nspawn environments due to broken loop device nodes:
I've got a test case script to reproduce the issue:
This can be invoked like so:
./kiwi-mockbuild.sh 42 oem Tiny-Disk
We've done some fixes in the past about device nodes in nspawn, but this issue is rather baffling.
The text was updated successfully, but these errors were encountered: