Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931133 - sys-apps/irqbalance init script uses /usr/sbin but irqbalance is installed to /usr/bin
Summary: sys-apps/irqbalance init script uses /usr/sbin but irqbalance is installed to...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-03 12:36 UTC by simon
Modified: 2024-05-03 12:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description simon 2024-05-03 12:36:56 UTC
sys-apps/irqbalance-1.9.4

while the binary is installed to /usr/bin (not sure since when)
the init script tries to invoke it from /usr/sbin where it is not nor a symlink therefore invocation fails.

which irqbalance
/usr/bin/irqbalance


cat files/irqbalance.init.4 | grep -v ^# | grep bin
command="/usr/sbin/irqbalance"

 service irqbalance start
 * Starting irqbalance ...
 * start-stop-daemon: /usr/sbin/irqbalance does not exist
 * Failed to start irqbalance                                                                                                                                                                                                                                                                             [ !! ]
 * ERROR: irqbalance failed to start
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-03 12:41:53 UTC
It happened when we switched to meson recently.
Comment 2 Larry the Git Cow gentoo-dev 2024-05-03 12:43:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9c2ee5f7cd89b3bb5c8a409b114ebc21cda0ce7

commit a9c2ee5f7cd89b3bb5c8a409b114ebc21cda0ce7
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-05-03 12:42:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-03 12:43:05 +0000

    sys-apps/irqbalance: fix path in init script
    
    Closes: https://bugs.gentoo.org/931133
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/irqbalance/files/irqbalance.init.5        | 22 ++++++++++++++++++++++
 ...nce-1.9.4.ebuild => irqbalance-1.9.4-r1.ebuild} |  2 +-
 2 files changed, 23 insertions(+), 1 deletion(-)