mirror of
https://github.com/systemd/systemd.git
synced 2025-01-03 05:18:09 +03:00
units: order systemd-random-seed.service before first-boot-complete.target
Ensure that systemd-random-seed.service has completed before marking a first boot as completed to guarantee that a saved seed will only be used after it has been initialized at least once.
This commit is contained in:
parent
a1e3787148
commit
3af54f9bbe
@ -14,7 +14,8 @@ DefaultDependencies=no
|
|||||||
RequiresMountsFor=@RANDOM_SEED@
|
RequiresMountsFor=@RANDOM_SEED@
|
||||||
Conflicts=shutdown.target
|
Conflicts=shutdown.target
|
||||||
After=systemd-remount-fs.service
|
After=systemd-remount-fs.service
|
||||||
Before=shutdown.target
|
Before=first-boot-complete.target shutdown.target
|
||||||
|
Wants=first-boot-complete.target
|
||||||
ConditionVirtualization=!container
|
ConditionVirtualization=!container
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Loading…
Reference in New Issue
Block a user