From b32330c79d989a0fa475b07433ed197891320941 Mon Sep 17 00:00:00 2001 From: Tommy Date: Wed, 29 May 2024 17:23:29 -0700 Subject: [PATCH] Re-add irqbalance hardening on RHEL 9 Signed-off-by: Tommy --- RHEL-9.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/RHEL-9.sh b/RHEL-9.sh index 339e6b0..81113fc 100644 --- a/RHEL-9.sh +++ b/RHEL-9.sh @@ -215,6 +215,12 @@ unpriv curl https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd sudo systemctl daemon-reload sudo systemctl restart NetworkManager +# irqbalance Hardening +sudo mkdir -p /etc/systemd/system/irqbalance.service.d +unpriv curl https://gitlab.com/divested/brace/-/raw/master/brace/usr/lib/systemd/system/irqbalance.service.d/99-brace.conf | sudo tee /etc/systemd/system/irqbalance.service.d/99-brace.conf +sudo systemctl daemon-reload +sudo systemctl restart irqbalance + # Setup notices unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/issue | sudo tee /etc/issue unpriv curl https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/issue | sudo tee /etc/issue.net