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