- add irqbalance-systemd-netlink.patch (related to bsc#1205308)
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=111
This commit is contained in:
parent
d3f52b1702
commit
319887c168
28
irqbalance-systemd-netlink.patch
Normal file
28
irqbalance-systemd-netlink.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
From efec4c69157d17024c4d9194a63eb834efcd79b9 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Dirk=20M=C3=BCller?= <dirk@dmllr.de>
|
||||||
|
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
|
||||||
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 11 09:44:17 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- add irqbalance-systemd-netlink.patch (related to bsc#1205308)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 7 12:23:32 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
Mon Nov 7 12:23:32 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -30,6 +30,8 @@ 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
|
||||||
Source3: sysconfig.irqbalance
|
Source3: sysconfig.irqbalance
|
||||||
Patch1: Set-fd-limit.patch
|
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: libcap-ng-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user