Description of problem: When using a udev rule to rename a network interface, udev fails to find the device. Version-Release number of selected component (if applicable): udev-095-14.21 How reproducible: 50% of the time Steps to Reproduce: 1. Create a udev rule file to set the name of an network interface: SUBSYSTEM=="net", ACTION=="add", KERNEL=="eth*", ID=="$PCIBUSID", NAME="ethX" 2. Reboot the system Actual results: rename_netif: No such device. Expected results: ethX is created Additional info: This was fixed upstream with git commit ca714ef7: http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=ca714ef7 Similar patch for udev-095 attached.
Created attachment 359271 [details] Patch for udev-095
This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?".
I just tracked down an issue on the systems that we ship to a manifestation of this bug. Please consider adding this patch to the next release.
We have found two customer hit this bug, so hope it could be fixed in RHEL 5.6.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Prior to this update, renaming a network device with udev rules could fail. This was caused by a faulty retry-loop in the code. With this update, renaming a network device works as expected.
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-0073.html