Bug 135167 - RFE: ifdown should report found and expected for MACADDR error
Summary: RFE: ifdown should report found and expected for MACADDR error
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-10-09 17:12 UTC by Scott R. Godin
Modified: 2014-03-17 02:49 UTC (History)
2 users (show)

Fixed In Version: 8.17-1
Clone Of:
Environment:
Last Closed: 2005-10-03 20:01:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch to /sbin/ifdown that both illustrates and fixes problem (465 bytes, patch)
2004-10-09 17:14 UTC, Scott R. Godin
no flags Details | Diff

Description Scott R. Godin 2004-10-09 17:12:25 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Gecko/20040922 Epiphany/1.2.7

Description of problem:
when your network interface mac address doesn't match the expected
hwaddr by ifdown it merely reports that there was a difference, not
what the difference was, making debugging difficult. 

This patch fixes it so that it reports both what was found and what it
expected to find, so you can more easily determine a solution to the
problem, rather than just watching your trusty interface card get ignored.

Version-Release number of selected component (if applicable):
initscripts-7.55.1-1

How reproducible:
Always

Steps to Reproduce:
 

Additional info:

a patch is attached that illustrates both the problem and the solution

Comment 1 Scott R. Godin 2004-10-09 17:14:29 UTC
Created attachment 104970 [details]
patch to /sbin/ifdown that both illustrates and fixes problem

Comment 2 Scott R. Godin 2004-10-09 17:17:52 UTC
I had resolved this one a long time ago hacking it for myself to help
diagnose the problem and promptly forgot all about it.. just now when
I upgraded to FC2 I noticed the .rpmsave file and investigated and was
reminded of the whole issue. So I decided to save some other admins
the same frustration I went thru and here we are. :)

Comment 3 Matthew Miller 2005-04-26 15:53:15 UTC
Fedora Core 2 is now maintained by the Fedora Legacy project for
security updates only. If this problem is a security issue, please
reopen and reassign to the Fedora Legacy product. If it is not a
security issue and hasn't been resolved in the current FC3 updates or
in the FC4 test release, reopen and change the version to match.

Comment 4 Scott R. Godin 2005-04-27 21:56:34 UTC
It is not currently patched as of Fedora Core 3, and likely hasn't made it into
FC4test2, although I am not certain of that. 

Comment 5 Bill Nottingham 2005-04-27 22:19:44 UTC
It's not in test2, no.

Comment 6 Bill Nottingham 2005-10-03 20:01:46 UTC
Changed to:

Device ${DEVICE} has MAC address ${FOUNDMACADDR}, instead of configured address
${HWADDR}. Ignoring.

for 8.17-1.


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