mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-26 17:25:34 +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@
|
||||
Conflicts=shutdown.target
|
||||
After=systemd-remount-fs.service
|
||||
Before=shutdown.target
|
||||
Before=first-boot-complete.target shutdown.target
|
||||
Wants=first-boot-complete.target
|
||||
ConditionVirtualization=!container
|
||||
|
||||
[Service]
|
||||
|
Loading…
Reference in New Issue
Block a user