I think this bug has been around for quite a while, but today I started digging up why I was seeing the following message sin journald from time to time: Mar 30 11:58:16 gentoo (udev-worker)[1282113]: nfs_client: Process '/usr/bin/killall -SIGHUP irqbalance' failed with exit code 1. That lead me to check the status of the irqbalance service, and it was crashed. After trying to start it I realized that the path in the unit file is pointing to: /usr/sbin/irqbalance *BUT* the binary is installed in: gentoo ~ # qlist irqbalance /lib/udev/rules.d/90-irqbalance.rules /lib/systemd/system/irqbalance.service /etc/conf.d/irqbalance /etc/init.d/irqbalance /usr/share/doc/irqbalance-1.9.4-r2/README.bz2 /usr/share/man/man1/irqbalance.1.bz2 /usr/bin/irqbalance Checking upstream it seems like the unit file in misc contains the /usr/sbin/irqbalance path, the ebuild seems to patch it the unit file but I don't think the path is overwritten at any point. Reproducible: Always Steps to Reproduce: 1.Install irqbalance on a systemd enabled system. 2.Start irqbalance. 3.systemctl status irqbalance. Actual Results: The service crashes, because it is unable to find the irqbalance binary. × irqbalance.service - irqbalance daemon Loaded: loaded (/lib/systemd/system/irqbalance.service; disabled; preset: disabled) Active: failed (Result: exit-code) since Sun 2025-03-30 12:38:17 CEST; 11s ago Duration: 87ms Docs: man:irqbalance(1) https://github.com/Irqbalance/irqbalance Process: 1300930 ExecStart=/usr/sbin/irqbalance (code=exited, status=203/EXEC) Main PID: 1300930 (code=exited, status=203/EXEC) Mar 30 12:38:17 gentoo systemd[1]: Started irqbalance.service. Mar 30 12:38:17 gentoo (qbalance)[1300930]: irqbalance.service: Failed to locate executable /usr/sbin/irqbalance: No such file or directory Mar 30 12:38:17 gentoo (qbalance)[1300930]: irqbalance.service: Failed at step EXEC spawning /usr/sbin/irqbalance: No such file or directory Mar 30 12:38:17 gentoo systemd[1]: irqbalance.service: Main process exited, code=exited, status=203/EXEC Mar 30 12:38:17 gentoo systemd[1]: irqbalance.service: Failed with result 'exit-code'. Expected Results: The service should start.
Portage 3.0.67 (python 3.12.9-final-0, unavailable, gcc-14, glibc-2.40-r8, 6.6.42-gentoo-dist-hardened x86_64) ================================================================= System uname: Linux-6.6.42-gentoo-dist-hardened-x86_64-Intel-R-_Core-TM-_i5-2500K_CPU_@_3.30GHz-with-glibc2.40 KiB Mem: 32588312 total, 25774348 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Tue, 13 Feb 2018 00:45:02 +0000 Head commit of repository gentoo: d0a50000822f006e630f7e72981f6598fb7057a7 Timestamp of repository librewolf: Fri, 28 Mar 2025 15:23:44 +0000 Head commit of repository librewolf: eadb86ed2484a391a5e1af2be80739900f626520 Timestamp of repository pf4public: Fri, 28 Mar 2025 23:20:08 +0000 Head commit of repository pf4public: 2eaaae7ba7c55cc393bd655e4a53f28f137d3cca sh bash 5.2_p37 ld GNU ld (Gentoo 2.44 p1) 2.44.0 app-shells/bash: 5.2_p37::gentoo dev-build/autoconf: 2.72-r1::gentoo dev-build/automake: 1.17-r1::gentoo dev-build/libtool: 2.5.4::gentoo dev-java/java-config: 2.3.4::gentoo dev-lang/perl: 5.40.0-r1::gentoo dev-lang/python: 3.12.9::gentoo, 3.13.2::gentoo sys-apps/baselayout: 2.17::gentoo sys-apps/sandbox: 2.39::gentoo sys-devel/binutils: 2.44::gentoo sys-devel/gcc: 14.2.1_p20241221::gentoo sys-devel/gcc-config: 2.12.1::gentoo sys-kernel/linux-headers: 6.12::gentoo (virtual/os-headers) sys-libs/glibc: 2.40-r8::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: True sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: librewolf location: /var/db/repos/librewolf sync-type: git sync-uri: https://github.com/gentoo-mirror/librewolf.git masters: gentoo volatile: False pf4public location: /var/db/repos/pf4public sync-type: git sync-uri: https://github.com/gentoo-mirror/pf4public.git masters: gentoo volatile: False ACCEPT_LICENSE="android arj freedist RAR unRAR intel-ucode linux-fw-redistributable no-source-code NPSL Oracle-BCLA-JavaSE OTHER Skype-TOS EPL-1.0 AdobeFlash-11.x google-chrome MIT NVIDIA-r2" CFLAGS="-O2 -pipe" CONFIG_PROTECT="/etc /etc/grs/systems.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -mindirect-branch=thunk" DISTDIR="/var/portage/distfiles" FCFLAGS="-O2 -pipe -mindirect-branch=thunk" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live candy clean-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -mindirect-branch=thunk" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="" LINGUAS="es en" MAKEOPTS="-j4" PKGDIR="/var/portage/packages" PORTAGE_BINHOST="https://grs.dyn2.sys-dev.cat/packages/" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X acl acpi alsa amr apng bash-completion bluetooth cairo caps cdda chromium colord cpudetection cups dbus dri dri3 egl ffmpeg filecaps glamor gles2 gtk gtk3 gtkstyle icu jpeg jpeg2k lcms libass libdrm libnotify libsamplerate libv4l lm-sensors lock lvm matroska mng mp3 mpeg mtp musepack networkmanager ogg opengl openssl opus pch pipewire png policykit pulseaudio qt3support schroedinger seccomp slang spell startup-notification svg systemd theora threads thunar tiff tpm truetype udev udisks upower usb v4l vaapi vdpau vorbis vpx vulkan wayland webp x264 x265 xcb xinerama xkb xvid" Unset: ACCEPT_KEYWORDS, CBUILD, CC, CHOST, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, ENV_UNSET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
> Portage 3.0.67 (python 3.12.9-final-0, unavailable, gcc-14, glibc-2.40-r8, 6.6.42-gentoo-dist-hardened x86_64) The "unavailable" part is a bit worrying, as a profile should be listed there; systemd users need to be using merged-usr: https://www.gentoo.org/support/news-items/2022-12-01-systemd-usrmerge.html and https://www.gentoo.org/support/news-items/2024-03-22-new-23-profiles.html. Please read your news items.