]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
unit: drop Before=sysinit.target from systemd-random-seed.service
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 4 Aug 2019 23:05:54 +0000 (08:05 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 5 Aug 2019 18:21:38 +0000 (20:21 +0200)
Follow-up for 26ded55709947d936634f1de0f43dcf88f594621.

The commit says,

> Note that with this change sysinit.target (and thus early boot) is NOT
systematically delayed until the entropy pool is initialized,

But the dependency was not dropped.

This was found by David Seifert (@SoapGentoo).

units/systemd-random-seed.service.in

index 5a490420e908f1dafb9400bfe2ecffabeb1e6a25..c64e8a909137ab75f3e74cf3ce67363992219cae 100644 (file)
@@ -14,7 +14,7 @@ DefaultDependencies=no
 RequiresMountsFor=@RANDOM_SEED@
 Conflicts=shutdown.target
 After=systemd-remount-fs.service
-Before=sysinit.target shutdown.target
+Before=shutdown.target
 ConditionVirtualization=!container
 
 [Service]