-
Notifications
You must be signed in to change notification settings - Fork 401
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
systemd-resolve user missing #1656
Comments
This is due to systemd/systemd#20056 |
This has not been released yet, as far as I can tell. I think I found the culprit, I also found a news entry from systemd mentioning that this Condition will cause units not to be executed in initrd's anymore. So this seems like a larger issue of |
That's an interesting PR which is seemingly based on misconception or total disregard for some of the usecases initrd are used for and basically means we need to start shipping our own type units for the initrd for systemd upstream units ( or overide snippets for them ). |
For the override snippet, it would be enough to install
to I successfully tested this locally. I can open a PR for this change if you want. |
Yeah sure and it's probably better to have dracut in the unit file name to make it clear that this unit came from dracut ( as opposed to initrd since there are multiple initrd solutions in the wild ) but in the end of the day I dont think we can avoid having to start shipping a full blown systemd units for modules since there are limitation what can be overridden using snippets. + we need to file a upstream bug about this. |
Fixes the regression introduced by systemd/systemd#20056 As discussed in dracutdevs#1656 and dracutdevs#1657
Fixes the regression introduced by systemd/systemd#20056 As discussed in #1656 and #1657
Fixes the regression introduced by systemd/systemd#20056 As discussed in dracutdevs#1656 and dracutdevs#1657 (cherry picked from commit fec93bb)
Fixes the regression introduced by systemd/systemd#20056 As discussed in dracutdevs#1656 and dracutdevs#1657 (cherry picked from commit fec93bb)
Describe the bug
When adding the
systemd-resolved
module, the service will not start correctly as thesystemd-resolve
user is missing. This user is used by the service since v235.Distribution used
Arch rolling
Dracut version
dracut 055
Init system
systemd 249.7-1-arch
To Reproduce
Call dracut with
--add systemd-resolved
and rebootExpected behavior
The service should start
Additional context
The text was updated successfully, but these errors were encountered: