From 849a2b9a20fc362274d46912421eeeb23934e8ae Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Thu, 13 Jan 2022 10:45:26 -0800 Subject: [PATCH] Do not install rng-tools Running rngd can slow down the boot in some situations. All current arches in RHEL support better entropy gathering so this is no longer needed. Resolves: rhbz#2028720 --- 80-rhel/runtime-install.tmpl | 1 - 80-rhel/runtime-postinstall.tmpl | 4 ---- 2 files changed, 5 deletions(-) diff --git a/80-rhel/runtime-install.tmpl b/80-rhel/runtime-install.tmpl index 143d81e..f40e532 100644 --- a/80-rhel/runtime-install.tmpl +++ b/80-rhel/runtime-install.tmpl @@ -128,7 +128,6 @@ installpkg hdparm %if basearch not in ("arm", "armhfp"): installpkg libmlx4 rdma-core %endif -installpkg rng-tools %if basearch in ("i386", "x86_64", "aarch64"): installpkg dmidecode %endif diff --git a/80-rhel/runtime-postinstall.tmpl b/80-rhel/runtime-postinstall.tmpl index 0e573ec..ddcf8b9 100644 --- a/80-rhel/runtime-postinstall.tmpl +++ b/80-rhel/runtime-postinstall.tmpl @@ -28,10 +28,6 @@ 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 -mkdir etc/systemd/system/basic.target.wants/ -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 \