mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
units/initrd-cleanup.service: drop --job-mode=replace-irreversibly hack
This partially reverts d766c75acd.
The offending commit tries to block systemd-udevd.service
from being activated during switch-root, but it is a dirty hack
and causes problems with e.g. Ctrl-Alt-Delete handling which
actually need to start a conflicting target. Let's revert
this here, and the original issue will be resolved in a cleaner
fashion in later commits.
This commit is contained in:
@@ -18,4 +18,3 @@ After=initrd-root-fs.target initrd-fs.target initrd.target
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=systemctl --no-block isolate initrd-switch-root.target
|
||||
ExecStart=systemctl --no-block --job-mode=replace-irreversibly start initrd-switch-root.service
|
||||
|
||||
Reference in New Issue
Block a user