Race condition between systemd-binfmt and systemd-tmpfiles when using boot.binfmt
#295365
Labels
0.kind: bug
Something is broken
boot.binfmt
#295365
Describe the bug
This bug was introduced in #263203
Before the folder
/run/binfmt
would be populated before systemd even runs (in an activation script).Now it seems
systemd-tmpfiles
andsystemd-binfmt
are running in parallel. Hence a race condition is occurring.Sometimes this works. Sometimes it doesn't.
Steps To Reproduce
Reboot often and it will complain
/run/binfmt
doesn't exist every once and a whileExpected behavior
/run/binfmt
is created beforesystemd-binfmt
is startedI expect that we can perhaps fix this with a:
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers
@nikstur
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: