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

Bug 506468

Summary: sys-apps/systemd-212 hardcodes wrong path to ethtool
Product: Gentoo Linux Reporter: Timo Rothenpieler <timo>
Component: [OLD] Core systemAssignee: Gentoo systemd Team <systemd>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Timo Rothenpieler 2014-04-01 14:36:29 UTC
After updating my system to systemd 212, my system fails to initialize its network.
systemd-udevd tries to access /usr/bin/ethtool, but ethtool is installed in /usr/sbin/ethtool

Aparently it hardcodes the wrong path to ethtool, making networking completely impossible without placing a symlink.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-04-02 05:54:26 UTC
Could you:

  grep ethtool /lib/udev

? I can't find any specific reference to ethtool executable in systemd sources. In fact, it seems that systemd-212 reimplements its own version of ethtool.
Comment 2 Timo Rothenpieler 2014-04-02 11:09:14 UTC
None of the tools in /lib/udev use that tool.
grep says that the string is inside of the systemd-udevd and udevadm binary(and their debug files), running strings on those binarys confirms this.
Comment 3 Mike Gilbert gentoo-dev 2014-04-03 01:14:03 UTC
% strings /bin/udevadm /lib/systemd/systemd-udevd | grep ethtool
/tmp/portage/sys-apps/systemd-212/work/systemd-212/src/udev/net/ethtool-util.c
ethtool_connect
/tmp/portage/sys-apps/systemd-212/work/systemd-212/src/udev/net/ethtool-util.c
ethtool_connect

There's no reference to /usr/sbin/ethtool there.
Comment 4 Mike Gilbert gentoo-dev 2014-04-03 01:18:17 UTC
You will need to provide more useful info if we are to do anything here.