Bug 2007761

Summary: irqbalance unit file - /path/to dummy filename
Product: [Fedora] Fedora Reporter: Jonathan S <bugzilla_acct_1959>
Component: irqbalanceAssignee: Colin Walters <walters>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: brendan.cunningham, jpazdziora, nhorman, travier, walters, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2087750 (view as bug list) Environment:
Last Closed: 2022-08-01 14:45:22 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: 2087750    

Description Jonathan S 2021-09-24 19:21:17 UTC
Description of problem:

See https://bugzilla.redhat.com/show_bug.cgi?id=1952715#c8 which is still uncorrected and marked as needing info (though it appears no info is needed).
This problem still exists in Fedora 35 (Fedora-35-20210924.n.0).

The systemd unit file for irqbalance has the line:

EnvironmentFile=-/path/to/irqbalance.env

This /path/to was clearly intended to be a place-holder. It should refer to the local /etc config file, so:

EnvironmentFile=-/etc/sysconfig/irqbalance

--------

Also, the irqbalance service still, in Fedora 35, gives the journal error:

libcap-ng used by "/usr/sbin/irqbalance" failed due to not having CAP_SETPCAP in capng_apply

and, as referred to in the bugzilla linked above, can be corrected by this line in the unit file:

CapabilityBoundingSet=CAP_SETPCAP




Version-Release number of selected component (if applicable):

irqbalance-1.7.0-8.fc35

How reproducible:

Always.

Steps to Reproduce:
1.
2.
3.

Actual results:

Local config file /etc/sysconfig/irqbalance ignored.

Error message re CAP_SETPCAP given.


Expected results:

Local config file /etc/sysconfig/irqbalance *NOT* ignored.

*NO* error message re CAP_SETPCAP.

Additional info:

Comment 1 Zbigniew Jędrzejewski-Szmek 2021-10-13 07:07:43 UTC
#1952715 describes the second issue sufficiently.

Comment 2 Timothée Ravier 2022-08-01 14:45:22 UTC

*** This bug has been marked as a duplicate of bug 2058510 ***