Bug 450210 - Multiple ethernet device renames fails
Summary: Multiple ethernet device renames fails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-06-05 21:27 UTC by Chris Adams
Modified: 2014-03-17 03:14 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-06-10 15:34:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Chris Adams 2008-06-05 21:27:31 UTC
I have a box with 3 ethernet interfaces (which for some reason appear in a
different order from boot to boot, but that's another issue).  This change in
/etc/sysconfig/network-scripts/ifup-eth between F8 and F9 breaks device renaming
in some cases:

-    if [ "${FOUNDMACADDR}" != "${HWADDR}" ]; then
+    if [ "${FOUNDMACADDR}" != "${HWADDR}" -a "${FOUNDMACADDR}" != "${MACADDR}"
]; then

If eth0 is renamed to dev1234 and has the MAC of the interface desired to be
eth1 (e.g. HWADDR is set in ifcfg-eth1), dev1234 (HWADDR) will not be renamed to
eth1 unless there is already an eth1 (to get a non-empty FOUNDMACADDR) or you
_also_ put a MACADDR line (with the same value as HWADDR) in ifcfg-eth1.

Since the sysconfig.txt doc says use of MACADDR "in conjunction with HWADDR= may
cause unintended behavior", that's probably a bad requirement.

Comment 1 Bug Zapper 2009-06-10 01:25:44 UTC
This message is a reminder that Fedora 9 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 9.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '9'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 9's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 9 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Bill Nottingham 2009-06-10 15:34:46 UTC
This code is now fixed, by being dead.


Note You need to log in before you can comment on or make changes to this bug.