From: Zbigniew Jędrzejewski-Szmek Date: Sat, 13 Aug 2016 15:15:19 +0000 (-0400) Subject: units: do not start load-random-seed in containers (#3941) X-Git-Tag: v232~299 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=04d0f7e9f9e2d68502f322b8f494c652cbeb5146;p=thirdparty%2Fsystemd.git 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 --- diff --git a/units/systemd-random-seed.service.in b/units/systemd-random-seed.service.in index 115233268dd..b244a8ce434 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