gentoo-ebuilds/sys-apps/irqbalance/files/irqbalance-1.9.4-drop-protectkerneltunables.patch
Cristian Othón Martínez Vera 42c7cfb893
sys-apps/irqbalance: version 1.9.4 doesn't work in systemd-based installations
There's an option (ProtectKernelTunables) in the systemd unit that doesn't
allow irqbalance to work. The upstream patch drops the option from the
unit file.

Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx>
Closes: https://github.com/gentoo/gentoo/pull/36535
Signed-off-by: Sam James <sam@gentoo.org>
2024-05-04 03:45:26 +01:00

25 lines
787 B
Diff

https://github.com/Irqbalance/irqbalance/issues/308
https://github.com/Irqbalance/irqbalance/commit/f2c8309a4198d8f51069a783905049c5b7eb7600
From f2c8309a4198d8f51069a783905049c5b7eb7600 Mon Sep 17 00:00:00 2001
From: Neil Horman <nhorman@openssl.org>
Date: Mon, 1 Apr 2024 08:05:14 -0400
Subject: [PATCH] Drop ProtectKernelTunables
It makes /proc/irq read only
---
misc/irqbalance.service | 1 -
1 file changed, 1 deletion(-)
diff --git a/misc/irqbalance.service b/misc/irqbalance.service
index 87e19c1..b731cc6 100644
--- a/misc/irqbalance.service
+++ b/misc/irqbalance.service
@@ -23,7 +23,6 @@ PrivateNetwork=yes
PrivateUsers=true
ProtectHostname=yes
ProtectClock=yes
-ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectKernelLogs=yes
ProtectControlGroups=yes