cd392c8a78
Update the rngd.service file and add 3 small upstream patches fixing issues. Resolves: rhbz#1965318 Signed-off-by: Vladis Dronov <vdronov@redhat.com>
34 lines
932 B
Diff
34 lines
932 B
Diff
From d989f5690037eb2162eeea7352a7f8eeecc7989b Mon Sep 17 00:00:00 2001
|
|
From: Nikolai Kostrigin <nickel@altlinux.org>
|
|
Date: Fri, 12 Mar 2021 15:11:42 +0300
|
|
Subject: Improve rngd console output readability
|
|
|
|
Prevent messing "None" status message with next section header:
|
|
"[...]
|
|
Entropy sources that are available but disabled
|
|
NoneAvailable and enabled entropy sources:
|
|
4: NIST Network Entropy Beacon (nist)
|
|
[...]"
|
|
|
|
Signed-off-by: Nikolai Kostrigin <nickel@altlinux.org>
|
|
---
|
|
rngd.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/rngd.c b/rngd.c
|
|
index c770259..7d31e68 100644
|
|
--- a/rngd.c
|
|
+++ b/rngd.c
|
|
@@ -860,7 +860,7 @@ int main(int argc, char **argv)
|
|
entropy_sources[i].failed_init = false;
|
|
}
|
|
if (!found)
|
|
- message(LOG_CONS|LOG_INFO, "None");
|
|
+ message(LOG_CONS|LOG_INFO, "None\n");
|
|
msg_squash = true;
|
|
} else
|
|
message(LOG_DAEMON|LOG_INFO, "Initializing available sources\n");
|
|
--
|
|
2.26.3
|
|
|