diff --git a/Set-fd-limit.patch b/Set-fd-limit.patch index 183a673..5ccd10f 100644 --- a/Set-fd-limit.patch +++ b/Set-fd-limit.patch @@ -2,11 +2,13 @@ misc/irqbalance.service | 1 + 1 file changed, 1 insertion(+) ---- a/misc/irqbalance.service -+++ b/misc/irqbalance.service -@@ -14,6 +14,7 @@ +Index: irqbalance-1.9.2.24.git+184c950/misc/irqbalance.service +=================================================================== +--- irqbalance-1.9.2.24.git+184c950.orig/misc/irqbalance.service ++++ irqbalance-1.9.2.24.git+184c950/misc/irqbalance.service +@@ -13,6 +13,7 @@ ReadOnlyPaths=/ ReadWritePaths=/proc/irq - RestrictAddressFamilies=AF_UNIX + RestrictAddressFamilies=AF_UNIX AF_NETLINK RuntimeDirectory=irqbalance/ +LimitNOFILE=4096 diff --git a/_service b/_service new file mode 100644 index 0000000..537fdad --- /dev/null +++ b/_service @@ -0,0 +1,16 @@ + + + https://github.com/Irqbalance/irqbalance.git + git + master + enable + v(.*) + @PARENT_TAG@.@TAG_OFFSET@.git+%h + + + + + gz + *.tar + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..5780fc6 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/Irqbalance/irqbalance.git + 184c95029ebff84d499fc8ea88a906ff9460bf15 \ No newline at end of file diff --git a/irqbalance-1.9.2.24.git+184c950.obscpio b/irqbalance-1.9.2.24.git+184c950.obscpio new file mode 100644 index 0000000..d680262 --- /dev/null +++ b/irqbalance-1.9.2.24.git+184c950.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:29f5b784cfc66ff56fb98a9f65d099cbb7ef3cbfc79aa4329b4da2c52fbb107c +size 233995 diff --git a/irqbalance-1.9.2.tar.gz b/irqbalance-1.9.2.tar.gz deleted file mode 100644 index 2141e30..0000000 --- a/irqbalance-1.9.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:19a1feb379803cc27f86a71cf1b94bb2e103811691ff7448119d8f1e88645bd3 -size 62188 diff --git a/irqbalance-systemd-netlink.patch b/irqbalance-systemd-netlink.patch deleted file mode 100644 index 195f25a..0000000 --- a/irqbalance-systemd-netlink.patch +++ /dev/null @@ -1,28 +0,0 @@ -From efec4c69157d17024c4d9194a63eb834efcd79b9 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Dirk=20M=C3=BCller?= -Date: Fri, 11 Nov 2022 10:38:19 +0100 -Subject: [PATCH] allow AF_NETLINK in the systemd service restrictions - -AF_NETLINK is needed for communicating with the thermald daemon, -without that the start up logs a warning - - thermal: socket bind failed, thermald may not be running. - -because systemd prevents access to NETLINK. ---- - misc/irqbalance.service | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: irqbalance-1.9.2/misc/irqbalance.service -=================================================================== ---- irqbalance-1.9.2.orig/misc/irqbalance.service -+++ irqbalance-1.9.2/misc/irqbalance.service -@@ -11,7 +11,7 @@ EnvironmentFile=-/path/to/irqbalance.env - ExecStart=/usr/sbin/irqbalance --foreground $IRQBALANCE_ARGS - ReadOnlyPaths=/ - ReadWritePaths=/proc/irq --RestrictAddressFamilies=AF_UNIX -+RestrictAddressFamilies=AF_UNIX AF_NETLINK - RuntimeDirectory=irqbalance/ - LimitNOFILE=4096 - diff --git a/irqbalance.changes b/irqbalance.changes index d04ad16..aa046d6 100644 --- a/irqbalance.changes +++ b/irqbalance.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Mon Jun 26 20:33:50 UTC 2023 - trenn@suse.de + +- Resurrect _service file and old git patch no versioning +A _service +A _servicedata +A irqbalance.obsinfo +- Update to version 1.9.2.24.git+184c950: + * procinterrupts: fix initialisation of regex_t struct + * Fix it so we actually stop when we hit an interrupt condition + * Fix signedness of error handling + * Revert "Fix CPU number condition in service file" + * Issue 259: select NL_SKIP / NL_STOP based on error + * fix CPU number condition in service file +- Already included upstream: +D irqbalance-systemd-netlink.patch + ------------------------------------------------------------------- Fri Dec 16 12:38:40 UTC 2022 - Dirk Müller diff --git a/irqbalance.obsinfo b/irqbalance.obsinfo new file mode 100644 index 0000000..2929515 --- /dev/null +++ b/irqbalance.obsinfo @@ -0,0 +1,4 @@ +name: irqbalance +version: 1.9.2.24.git+184c950 +mtime: 1681933912 +commit: 184c95029ebff84d499fc8ea88a906ff9460bf15 diff --git a/irqbalance.spec b/irqbalance.spec index 6146bc3..4e74629 100644 --- a/irqbalance.spec +++ b/irqbalance.spec @@ -1,7 +1,7 @@ # # spec file for package irqbalance # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,29 +21,28 @@ %define _fillupdir %{_localstatedir}/adm/fillup-templates %endif Name: irqbalance -Version: 1.9.2 +Version: 1.9.2.24.git+184c950 Release: 0 Summary: Daemon to balance IRQs on SMP machines License: GPL-2.0-or-later Group: System/Daemons URL: https://github.com/Irqbalance/irqbalance -Source: https://github.com/Irqbalance/irqbalance/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +#Source: https://github.com/Irqbalance/irqbalance/archive/refs/tags/v%%{version}.tar.gz#/%%{name}-%%{version}.tar.gz +Source: %{name}-%{version}.tar.gz Source3: sysconfig.irqbalance Patch1: Set-fd-limit.patch -# PATCH-FIX-UPSTREAM: https://github.com/Irqbalance/irqbalance/pull/250 -Patch2: irqbalance-systemd-netlink.patch BuildRequires: libcap-ng-devel BuildRequires: libtool BuildRequires: ncurses-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(glib-2.0) -%ifarch x86_64 %{?x86_64} -BuildRequires: pkgconfig(libnl-3.0) -%endif Requires(pre): %fillup_prereq Recommends: %{name}-ui ExcludeArch: s390 s390x %{?systemd_ordering} +%ifarch x86_64 %{?x86_64} +BuildRequires: pkgconfig(libnl-3.0) +%endif %ifnarch %{arm} BuildRequires: libnuma-devel %endif