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

Bug 904741

Summary: sys-fs/eudev tries to execute /bin/sysctl rather than /usr/sbin/sysctl
Product: Gentoo Linux Reporter: Adrien Dessemond <admnd>
Component: Current packagesAssignee: eudev team <eudev>
Severity: normal CC: orbea
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

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.