From fec7b8d7b80313c6d083f193f2a86b0e24a77c8a Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Thu, 28 Jan 2016 14:52:10 -0800 Subject: [PATCH] Add rng-tools and start rngd.service by default (#1258516) This will help improve the entropy situation with non-x86 hardware. rngd will add entropy from hardware rng sources. Resolves: rhbz#1258516 (cherry picked from commit 690feba3812579f965a4321660af88941ce2039e) --- share/runtime-install.tmpl | 1 + share/runtime-postinstall.tmpl | 3 +++ 2 files changed, 4 insertions(+) diff --git a/share/runtime-install.tmpl b/share/runtime-install.tmpl index 1258eef9..e1d71f63 100644 --- a/share/runtime-install.tmpl +++ b/share/runtime-install.tmpl @@ -107,6 +107,7 @@ installpkg mt-st smartmontools installpkg hdparm %endif installpkg libmlx4 rdma +installpkg rng-tools ## translations & language packs installpkg yum-langpacks diff --git a/share/runtime-postinstall.tmpl b/share/runtime-postinstall.tmpl index fa3d6756..d522ab7e 100644 --- a/share/runtime-postinstall.tmpl +++ b/share/runtime-postinstall.tmpl @@ -26,6 +26,9 @@ symlink /lib/systemd/system/anaconda.target etc/systemd/system/default.target mkdir etc/systemd/system/local-fs.target.wants/ symlink /lib/systemd/system/tmp.mount etc/systemd/system/local-fs.target.wants/tmp.mount +## Start rngd +symlink /lib/systemd/system/rngd.service etc/systemd/system/basic.target.wants/rngd.service + ## Disable unwanted systemd services systemctl disable systemd-readahead-collect.service \ systemd-readahead-replay.service \