-
Notifications
You must be signed in to change notification settings - Fork 309
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
ostree fails with: bwrap: open /proc/192/ns/ns failed: No such file or directory #2758
Comments
This is probably fallout from edb4f38 I think we should stop doing that on the initial deployment, it's both unnecessary and likely to provoke bugs from trying to use potentially nested containerization in outer arbitrary setups. |
What's interesting is that this doesn't happen while running ostree directly on the shell. It happens when it runs under anaconda, as part of the livemedia-creator tool. Could this be related to the use of mock/chroot? |
Basically, it should not be necessary - the policy should be up-to-date. We don't want to force on continual policy rebuilds. Even trying to run bwrap when we're *not* in a booted root can cause failures in nested containerization scenarios. Closes: ostreedev#2758
Yeah almost certainly. PR in #2760 |
Just wanted to provide feedback. I tested the latest build and it does solve the issue I was hitting. Thanks a lot for the support |
Awesome, thanks for testing! |
Backport a patch to fix selinux policy rebuild error on first deployment. See: ostreedev/ostree#2758 Signed-off-by: Yi Zhao <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Backport a patch to fix selinux policy rebuild error on first deployment. See: ostreedev/ostree#2758 Signed-off-by: Yi Zhao <[email protected]> Signed-off-by: Khem Raj <[email protected]> (cherry picked from commit 290166c) Signed-off-by: Armin Kuster <[email protected]>
…st deployment Backport a patch to fix selinux policy rebuild error on first deployment. See: ostreedev/ostree#2758 Signed-off-by: Yi Zhao <[email protected]> Signed-off-by: Khem Raj <[email protected]>
I'm trying to create a live-iso using livemedia-creator. This project runs anaconda in the background, which then calls
ostree
https://github.com/rhinstaller/anaconda/blob/f0df778cc43e2494fdd0fad131aa8643590510ac/pyanaconda/modules/payloads/payload/rpm_ostree/installation.py#L511-L521
I captured the logs from ostree and this is what I got:
Environment
This is a rhel9 VM
The text was updated successfully, but these errors were encountered: