Bug 2058509

Summary: Wrong EnvironmentFile in irqbalance.service
Product: Red Hat Enterprise Linux 9 Reporter: Paolo Abeni <pabeni>
Component: irqbalanceAssignee: ltao
Status: CLOSED ERRATA QA Contact: Jiri Dluhos <jdluhos>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: ajschorr, dennis.dalessandro, jeder, jpazdziora, jshortt, ruyang, rvr
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: irqbalance-1.8.0-5.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2058510 (view as bug list) Environment:
Last Closed: 2022-11-15 11:18:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2058510    

Description Paolo Abeni 2022-02-25 07:41:50 UTC
The irqbalance systemd service file contains:

EnvironmentFile=-/usr/lib/irqbalance/defaults.env
EnvironmentFile=-/path/to/irqbalance.env

instead of the expected:

EnvironmentFile=/etc/sysconfig/irqbalance

As a side effect, changes to the system configuration do not take effect.

Comment 1 Jan Pazdziora 2022-05-20 12:32:11 UTC
*** Bug 2087750 has been marked as a duplicate of this bug. ***

Comment 3 Jiri Dluhos 2022-05-26 14:36:26 UTC
Looking at new irqbalance, the irqbalance.service file is fixed:

--- old version ---

# rpm -q irqbalance
irqbalance-1.8.0-4.el9.x86_64

# cat /usr/lib/systemd/system/irqbalance.service | grep -i 'EnvironmentFile'
EnvironmentFile=-/usr/lib/irqbalance/defaults.env
EnvironmentFile=-/path/to/irqbalance.env

--- new version ---

# rpm -q irqbalance
irqbalance-1.8.0-5.el9.x86_64

# cat /usr/lib/systemd/system/irqbalance.service | grep -i 'EnvironmentFile'
EnvironmentFile=-/usr/lib/irqbalance/defaults.env
EnvironmentFile=-/etc/sysconfig/irqbalance

Setting VERIFIED.
Thanks to everyone involved!

Comment 6 errata-xmlrpc 2022-11-15 11:18:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (irqbalance bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:8328