Hide Forgot
+++ This bug was initially created as a clone of Bug #682379 +++ Description of problem: Network devices can have arbitrary names, and due to http://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming, will have different names in Fedora 15. tuned-0.2.19/monitorplugins/net.py: ... devs = open("/proc/net/dev").readlines() for l in devs: l = l.replace(":", " ") v = l.split() d = v[0] if not d.startswith("eth"): continue ... Version-Release number of selected component (if applicable): tuned-0.2.19 How reproducible: By visual inspection.
Resolved in git (upstream): http://git.fedorahosted.org/git/?p=tuned.git;a=commit;h=ae41fe8
This just moves the problem somewhat... the admin can still name their devices 'inbound' and 'outbound', or 'Gb0', 'Gb1', 'Gb2'.
This was always possible. I don't know how this is related to the new Fedora feature. But OK. We can do it more sophisticated.
I hope this is universal enough: http://git.fedorahosted.org/git/?p=tuned.git;a=commit;h=fd2656d net: universal ethernet card identifier detection - get all network devices from /sys/class/net - exclude all virtual devices (symlinks point to /sys/devices/virtual/*) - exclude all untunable devices (ethtool reports no modes, maximal speed is lower than 1000Mbit)
Algorithm sounds good.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0581.html