Fix Wrong EnvironmentFile in irqbalance.service
Resolves: rhbz2058509 Signed-off-by: Tao Liu <ltao@redhat.com>
This commit is contained in:
parent
a8ab51d5e4
commit
d07b107d95
@ -1,11 +0,0 @@
|
||||
--- a/misc/irqbalance.service 2020-06-02 14:33:35.794592546 +0200
|
||||
+++ b/misc/irqbalance.service 2020-06-02 14:34:08.678922108 +0200
|
||||
@@ -5,7 +5,7 @@
|
||||
ConditionVirtualization=!container
|
||||
|
||||
[Service]
|
||||
-EnvironmentFile=/path/to/irqbalance.env
|
||||
+EnvironmentFile=/etc/sysconfig/irqbalance
|
||||
ExecStart=/usr/sbin/irqbalance --foreground $IRQBALANCE_ARGS
|
||||
CapabilityBoundingSet=
|
||||
NoNewPrivileges=yes
|
13
irqbalance-1.8.0-env-file-path.patch
Normal file
13
irqbalance-1.8.0-env-file-path.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/misc/irqbalance.service b/misc/irqbalance.service
|
||||
index 0f79c3e..18c7e9b 100644
|
||||
--- a/misc/irqbalance.service
|
||||
+++ b/misc/irqbalance.service
|
||||
@@ -7,7 +7,7 @@ ConditionCPUs=>1
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=-/usr/lib/irqbalance/defaults.env
|
||||
-EnvironmentFile=-/path/to/irqbalance.env
|
||||
+EnvironmentFile=-/etc/sysconfig/irqbalance
|
||||
ExecStart=/usr/sbin/irqbalance --foreground $IRQBALANCE_ARGS
|
||||
ReadOnlyPaths=/
|
||||
ReadWritePaths=/proc/irq
|
@ -28,6 +28,7 @@ Patch2: irqbalance-1.8.0-Disable-the-communication-socket-when-UI-is-disabled.pa
|
||||
Patch3: irqbalance-1.8.0-Drop-CapabilityBoundingSet-from-irqbalance-service.patch
|
||||
Patch4: irqbalance-1.8.0-Confine-irqbalance-to-systems-where-it-is-useful.patch
|
||||
Patch5: irqbalance-1.8.0-Document-migrateval.patch
|
||||
Patch6: irqbalance-1.8.0-env-file-path.patch
|
||||
|
||||
%description
|
||||
irqbalance is a daemon that evenly distributes IRQ load across
|
||||
@ -40,6 +41,7 @@ multiple CPUs for enhanced performance.
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
|
Loading…
Reference in New Issue
Block a user