From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 00CE5158064 for ; Sat, 4 May 2024 02:46:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ED52EE29FD; Sat, 4 May 2024 02:46:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C7083E29FD for ; Sat, 4 May 2024 02:46:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A2EFF34068A for ; Sat, 4 May 2024 02:46:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D253019EE for ; Sat, 4 May 2024 02:46:23 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1714790726.42c7cfb8934774ff857d057195bfae649fad7b90.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/irqbalance/, sys-apps/irqbalance/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/irqbalance/files/irqbalance-1.9.4-drop-protectkerneltunables.patch sys-apps/irqbalance/irqbalance-1.9.4-r1.ebuild sys-apps/irqbalance/irqbalance-1.9.4-r2.ebuild X-VCS-Directories: sys-apps/irqbalance/ sys-apps/irqbalance/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 42c7cfb8934774ff857d057195bfae649fad7b90 X-VCS-Branch: master Date: Sat, 4 May 2024 02:46:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 87914495-db2f-4cce-9bb4-4073df74b0c3 X-Archives-Hash: f8d91d081c6ad5c5e80d18771c78f207 commit: 42c7cfb8934774ff857d057195bfae649fad7b90 Author: Cristian Othón Martínez Vera cfuga mx> AuthorDate: Fri May 3 16:43:46 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sat May 4 02:45:26 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42c7cfb8 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.mx> Closes: https://github.com/gentoo/gentoo/pull/36535 Signed-off-by: Sam James gentoo.org> ...qbalance-1.9.4-drop-protectkerneltunables.patch | 25 ++++++++++++++++++++++ ...-1.9.4-r1.ebuild => irqbalance-1.9.4-r2.ebuild} | 4 ++++ 2 files changed, 29 insertions(+) diff --git a/sys-apps/irqbalance/files/irqbalance-1.9.4-drop-protectkerneltunables.patch b/sys-apps/irqbalance/files/irqbalance-1.9.4-drop-protectkerneltunables.patch new file mode 100644 index 000000000000..552132c8372e --- /dev/null +++ b/sys-apps/irqbalance/files/irqbalance-1.9.4-drop-protectkerneltunables.patch @@ -0,0 +1,25 @@ +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 +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 diff --git a/sys-apps/irqbalance/irqbalance-1.9.4-r1.ebuild b/sys-apps/irqbalance/irqbalance-1.9.4-r2.ebuild similarity index 96% rename from sys-apps/irqbalance/irqbalance-1.9.4-r1.ebuild rename to sys-apps/irqbalance/irqbalance-1.9.4-r2.ebuild index ba4b5355945e..30094b283bf5 100644 --- a/sys-apps/irqbalance/irqbalance-1.9.4-r1.ebuild +++ b/sys-apps/irqbalance/irqbalance-1.9.4-r2.ebuild @@ -33,6 +33,10 @@ RDEPEND=" selinux? ( sec-policy/selinux-irqbalance ) " +PATCHES=( + "${FILESDIR}"/${P}-drop-protectkerneltunables.patch +) + pkg_setup() { CONFIG_CHECK="~PCI_MSI" linux-info_pkg_setup