Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904741 - sys-fs/eudev tries to execute /bin/sysctl rather than /usr/sbin/sysctl
Summary: sys-fs/eudev tries to execute /bin/sysctl rather than /usr/sbin/sysctl
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: eudev team
Depends on:
Reported: 2023-04-21 12:17 UTC by Adrien Dessemond
Modified: 2023-09-12 16:26 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Adrien Dessemond 2023-04-21 12:17:57 UTC
System logs say:

[63449.942358] udevd[6935]: failed to execute '/sbin/sysctl' '/sbin/sysctl -q --pattern ^sunrpc --system': No such file or directory
[63449.945399] udevd[6936]: failed to execute '/sbin/sysctl' '/sbin/sysctl -q --pattern ^fs.nfs.n[sl]m --system': No such file or directory
[63449.970722] udevd[6942]: failed to execute '/sbin/sysctl' '/sbin/sysctl -q --pattern ^fs.nfs --system': No such file or directory

An easy fix would be to just create a symlink to the expected location.
Comment 1 Greg Kubaryk 2023-04-21 21:57:34 UTC
Please add 'emerge --info' in a comment and also 'emerge -pqvO sys-fs/eudev'

Do you have some stale files in /etc that refer to sysctl by name perhaps, because I don't see any references to it in the eudev sources, nor do I have any logs or configs resembling that.
Comment 2 orbea 2023-09-12 16:26:16 UTC
I hope no one minds me closing this, eudev has no references to 'sysctl' within the source code or ebuild directory so this is either a user configuration issue or a bug in a package that is not eudev.

In the latter case please identify which package and open an issue for it instead.