Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 506468 - sys-apps/systemd-212 hardcodes wrong path to ethtool
Summary: sys-apps/systemd-212 hardcodes wrong path to ethtool
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-01 14:36 UTC by Timo Rothenpieler
Modified: 2014-04-03 01:18 UTC (History)
0 users

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 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.