diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-08-13 11:15:19 -0400 |
---|---|---|
committer | Martin Pitt <martin.pitt@ubuntu.com> | 2016-08-13 17:15:19 +0200 |
commit | 04d0f7e9f9e2d68502f322b8f494c652cbeb5146 (patch) | |
tree | c8cd38532e50b634f8b140ce8d84c4d4604b231b | |
parent | 2d891284c74d9246077aae192a22fd1df9e22aa8 (diff) |
units: do not start load-random-seed in containers (#3941)
Random numbers are provided by the host kernel, we don't need to do anything.
https://bugzilla.redhat.com/show_bug.cgi?id=1329124
-rw-r--r-- | units/systemd-random-seed.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-random-seed.service.in b/units/systemd-random-seed.service.in index 115233268d..b244a8ce43 100644 --- a/units/systemd-random-seed.service.in +++ b/units/systemd-random-seed.service.in @@ -13,6 +13,7 @@ RequiresMountsFor=@RANDOM_SEED@ Conflicts=shutdown.target After=systemd-remount-fs.service Before=sysinit.target shutdown.target +ConditionVirtualization=!container [Service] Type=oneshot |