Skip to content
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

tmpfiles.extra credential applies to both initrd and rootfs #32846

Open
DaanDeMeyer opened this issue May 15, 2024 · 0 comments
Open

tmpfiles.extra credential applies to both initrd and rootfs #32846

DaanDeMeyer opened this issue May 15, 2024 · 0 comments
Labels
bug 🐛 Programming errors, that need preferential fixing tmpfiles

Comments

@DaanDeMeyer
Copy link
Contributor

systemd version the issue has been seen with

main

Used distribution

No response

Linux kernel version used

No response

CPU architectures issue was seen on

None

Component

No response

Expected behaviour you didn't see

I can use the tmpfiles.extra credential to add a repart partition definition to /run/repart.d after switch-root

Unexpected behaviour you saw

The tmpfiles.extra credential also applies to the initrd, causing systemd-repart to start as /run/repart.d is not empty, which causes it to fail as it tries to look up the backing block device of /sysroot which does not exist yet as systemd-repart in the initrd is not ordered after sysroot.mount.

Steps to reproduce the problem

No response

Additional program output to the terminal or log subsystem illustrating the issue

No response

@DaanDeMeyer DaanDeMeyer added the bug 🐛 Programming errors, that need preferential fixing label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Programming errors, that need preferential fixing tmpfiles
Development

No branches or pull requests

2 participants