Bug 701265

Summary: udev should use the ifindex for temporary name for interface renaming
Product: Red Hat Enterprise Linux 6 Reporter: Harald Hoyer <harald>
Component: udevAssignee: Harald Hoyer <harald>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: high Docs Contact:
Priority: medium    
Version: 6.1CC: azelinka, dkovalsk, jscotka, pknirsch
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When udev renamed a network interface and encountered a naming conflict, it renamed the interface to "[initial name]-[desired name]". Sometimes, this name was not unique and the naming conflict persisted. This bug has been fixed, udev now uses the unique interface index for renaming, and temporary names for interfaces are now of the following format: "rename[ifindex]".
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 16:27:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 2 Harald Hoyer 2011-06-17 13:06:14 UTC
This prevents the occurrence of the temporary network interface names, when udev has to rename the network interfaces. Remember the "eth0-rename" or "eth0-eth1" temporary names?

Comment 3 Harald Hoyer 2011-06-17 13:07:11 UTC
Ah, I should add the following: These temporary names were not "unique" enough, but using the IFINDEX should be.

Comment 5 Harald Hoyer 2011-07-25 14:16:26 UTC
    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:
When udev renamed network interfaces and encountered a naming conflict, it renamed the interfaces to "<initial name>-<wanted name>". This name might also be not unique. So udev now uses the unique interface index for renaming and temporarily renamed interfaces now have the name "rename<ifindex>".

Comment 7 Tomas Capek 2011-08-08 09:44:28 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-When udev renamed network interfaces and encountered a naming conflict, it renamed the interfaces to "<initial name>-<wanted name>". This name might also be not unique. So udev now uses the unique interface index for renaming and temporarily renamed interfaces now have the name "rename<ifindex>".+When udev renamed a network interface and encountered a naming conflict, it renamed the interface to "[initial name]-[desired name]". Sometimes, this name was not unique and the naming conflict persisted. This bug has been fixed, udev now uses the unique interface index for renaming, and temporary names for interfaces are now of the following format: "rename[ifindex]".

Comment 9 errata-xmlrpc 2011-12-06 16:27:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1649.html