Harald Hoyer 460d2c
From b7a7735c1d83ade0e748d336c8ab1a569f431107 Mon Sep 17 00:00:00 2001
Harald Hoyer 460d2c
From: =?UTF-8?q?Tomasz=20Pawe=C5=82=20Gajc?= <tpgxyz@gmail.com>
Harald Hoyer 460d2c
Date: Wed, 26 Aug 2020 11:19:24 +0200
Harald Hoyer 460d2c
Subject: [PATCH] Do not start inside container
Harald Hoyer 460d2c
Harald Hoyer 460d2c
Host should take care of good entropy pool
Harald Hoyer 460d2c
#791
Harald Hoyer 460d2c
---
Harald Hoyer 460d2c
 modules.d/06rngd/rngd.service | 1 +
Harald Hoyer 460d2c
 1 file changed, 1 insertion(+)
Harald Hoyer 460d2c
Harald Hoyer 460d2c
diff --git a/modules.d/06rngd/rngd.service b/modules.d/06rngd/rngd.service
Harald Hoyer 460d2c
index 570fbedb..dd5374d7 100644
Harald Hoyer 460d2c
--- a/modules.d/06rngd/rngd.service
Harald Hoyer 460d2c
+++ b/modules.d/06rngd/rngd.service
Harald Hoyer 460d2c
@@ -2,6 +2,7 @@
Harald Hoyer 460d2c
 Description=Hardware RNG Entropy Gatherer Daemon
Harald Hoyer 460d2c
 DefaultDependencies=no
Harald Hoyer 460d2c
 Before=systemd-udevd.service
Harald Hoyer 460d2c
+ConditionVirtualization=!container
Harald Hoyer 460d2c
 
Harald Hoyer 460d2c
 [Service]
Harald Hoyer 460d2c
 ExecStart=/usr/sbin/rngd -f
Harald Hoyer 460d2c