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
I currently try to build an EFI which can be loaded via HTTPS boot and installs a bootc image (passed via metadata). That worked quite well (though not finished) and during development last week I noticed that bootc install to-filesystem fails with the error Comparing filesystems at /run/udev and /proc/1//run/udev: No such file or directory. I've rolled the code back to a state which I knew worked previously, but the same error occurred. To test the EFI, I install quay.io/fedora/fedora-bootc:latest. Last Monday or so it worked but at the end of the week (I think it was Thursday), the error showed up. Sadly I do not know the working bootc version, but the "broken" one is 1.15.2.
The EFI is based on docker.io/library/alpine:latest and the linux-lts kernel. I try to keep the dependencies and thus the size low and therefore I use mostly the tools of busybox and therefore also mdev instead of udev or eudev. To fetch the image I use skopeo and umoci to unpack it and then chroot to execute bootc install to-filesystem. Thus /proc/1/run/udev does not exist. The current workaround is to create /run/udev as an empty directory on the "host".
TL;DR/Question: When installing with to-filesystem and the host does not use udev, should bootc really fail when there is no /proc/1/run/udev or just continue?
The part of the code which throws the error (if I am not mistaken):
Note that while technically this project right now doesn't hard require systemd, we are going to make increasing use of facilities there and my preference is for "compatible interface" implementation.
I don't have any problem with making /run/udev optional, but it seems possible to me that we'd also need to mirror in any mdev caches?
Thanks for the quick response. Just being curious, for what reason does bootc need the udev cache especially when installing to filesystem? I would have guessed that bootc does not need to interact with devices more than just getting informations about mount points, partitioning, and formatting in order to write /etc/fstab, or am I mistaken?
Activity
cgwalters commentedon Jun 8, 2026
Note that while technically this project right now doesn't hard require systemd, we are going to make increasing use of facilities there and my preference is for "compatible interface" implementation.
I don't have any problem with making
/run/udevoptional, but it seems possible to me that we'd also need to mirror in any mdev caches?ProbstDJakob commentedon Jun 12, 2026
Thanks for the quick response. Just being curious, for what reason does
bootcneed theudevcache especially when installing to filesystem? I would have guessed thatbootcdoes not need to interact with devices more than just getting informations about mount points, partitioning, and formatting in order to write/etc/fstab, or am I mistaken?