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):
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
rename_netif: No such device.
ethX is created
This was fixed upstream with git commit 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.
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.