Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 730064

Summary: sys-apps/systemd installs incorrect kmod-static-nodes.service which expects kmod in /bin, when it is in /sbin
Product: Gentoo Linux Reporter: Florian Schmaus <flow>
Component: Current packagesAssignee: Gentoo systemd Team <systemd>
Status: RESOLVED INVALID    
Severity: normal CC: base-system
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Florian Schmaus gentoo-dev 2020-06-28 20:59:10 UTC
kmod-static.nodes.service contains

ExecStart=/bin/kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/static-nodes.conf

but sys-apps/kmod puts the kmod binary in sbin.

Workaround:
$ systemctl edit kmod-static.nodes
[Service]
ExecStart=
ExecStart=/sbin/kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/static-nodes.conf

Reproducible: Always

Actual Results:  
"systemctl --failed" shows the kmod-static-nodes as failed
Comment 1 Mike Gilbert gentoo-dev 2020-06-28 21:44:28 UTC
kmod is in /bin on my system.

Also, the location of kmod is detected when you build systemd.