Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 730064 - sys-apps/systemd installs incorrect kmod-static-nodes.service which expects kmod in /bin, when it is in /sbin
Summary: sys-apps/systemd installs incorrect kmod-static-nodes.service which expects k...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-28 20:59 UTC by Florian Schmaus
Modified: 2020-06-28 21:44 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 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.