From ef7c9dfa0630d4121e9cd701a3cfb15465e90642 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Mar 28 2023 08:40:00 +0000 Subject: import irqbalance-1.9.0-4.el8 --- diff --git a/SOURCES/0001-revert-Confine-irqbalance-to-systems-where-it-is-useful.patch b/SOURCES/0001-revert-Confine-irqbalance-to-systems-where-it-is-useful.patch new file mode 100644 index 0000000..663ca87 --- /dev/null +++ b/SOURCES/0001-revert-Confine-irqbalance-to-systems-where-it-is-useful.patch @@ -0,0 +1,34 @@ +From 188f9efc567bcaef25bde2813cdee7f952f992f9 Mon Sep 17 00:00:00 2001 +From: Pat Riehecky +Date: Mon, 4 Apr 2022 08:38:32 -0500 +Subject: [rhel-only PATCH] revert Confine irqbalance to systems where it is useful. + +ConditionCPUs only available from systemd(>=242), however the systemd +version for rhel8 is 239. So we need to revert the patch, otherwise we +will encounter the failing: + + $ sudo systemd-analyze verify irqbalance.service + /usr/lib/systemd/system/irqbalance.service:6: Unknown lvalue + 'ConditionCPUs' in section 'Unit' + +This patch revert 188f9efc567bcaef25bde2813cdee7f952f992f9. + +--- + misc/irqbalance.service | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/misc/irqbalance.service b/misc/irqbalance.service +index fcc29c2..0f79c3e 100644 +--- a/misc/irqbalance.service ++++ b/misc/irqbalance.service +@@ -3,7 +3,6 @@ Description=irqbalance daemon + Documentation=man:irqbalance(1) + Documentation=https://github.com/Irqbalance/irqbalance + ConditionVirtualization=!container +-ConditionCPUs=>1 + + [Service] + EnvironmentFile=-/usr/lib/irqbalance/defaults.env +-- +2.33.1 + diff --git a/SPECS/irqbalance.spec b/SPECS/irqbalance.spec index 17bfc7c..64c2276 100644 --- a/SPECS/irqbalance.spec +++ b/SPECS/irqbalance.spec @@ -1,6 +1,6 @@ Name: irqbalance Version: 1.9.0 -Release: 3%{?dist} +Release: 4%{?dist} Epoch: 2 Summary: IRQ balancing daemon @@ -39,6 +39,7 @@ Patch13: 0012-irqbalance-ui-support-scroll-under-tui-mode-of-irqba.patch Patch14: 0013-irqbalance-ui-print-cpulist-in-SETUP-IRQS.patch Patch15: 0014-Improve-documentation-and-logging-for-banned-cpus.patch Patch16: 0001-irqbalance-ui-skip-in-parse_setup-to-avoid-coredump.patch +Patch17: 0001-revert-Confine-irqbalance-to-systems-where-it-is-useful.patch %description irqbalance is a daemon that evenly distributes IRQ load across @@ -62,6 +63,7 @@ multiple CPUs for enhanced performance. %patch14 -p1 %patch15 -p1 %patch16 -p1 +%patch17 -p1 %build ./autogen.sh @@ -104,6 +106,9 @@ fi /sbin/chkconfig --del irqbalance >/dev/null 2>&1 || : %changelog +* Tue Jul 19 2022 Tao Liu - 2:1.9.0-4 +- revert Confine irqbalance to systems where it is useful (bz2115230) + * Tue Jul 19 2022 Tao Liu - 2:1.9.0-3 - Rebase to latest upstream commit (c8d1fff0f1)