-
Notifications
You must be signed in to change notification settings - Fork 141
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
Dracut needs /proc and /dev mounts #1867
Comments
Hmm, it looks up stuff in /dev and /proc on the host the image is created on. I fear even if we mount this it could lead to wrong results. dracut is called in "--no-hostonly" mode, can we first clarify what it looks up on the host ? You said the generated initrd is incomplete, what exactly is missing that harms on the image when used as such later on ? Thanks |
Bash needs |
makes sense and let me wonder why it was not an issue before... I'll check on the code |
I guess that before the update to dracut 55, it didn't make use of that feature or only in places where it didn't cause any issues. |
In newer versions of dracut /dev and /proc must be mounted for dracut to work correctly. If not present the resulting initrd is incomplete. This Fixes #1867
PR open for review |
I think this particular error message is just from checking whether |
Using
python3-kiwi-9.23.31-1.1
, the generated initrd is incomplete because dracut fails to run some commands due to missing mounts:The text was updated successfully, but these errors were encountered: