Red Hat Bugzilla – Bug 504216
Missing display of MACADDR when activating networking during repo selection
Last modified: 2013-09-02 02:36:32 EDT
Created attachment 346582 [details]
Description of problem:
During a DVD install, when activating a network-based yum repository a network dialog appears. The dialog has a drop-down list to select which NIC I want to use to activate the network.
I might be wrong here, but I'm not sure what the strong format of the labels in the drop-down box are supposed to be.
Currently it shows:
eth0 - Networking interface
eth1 - Networking interface
I don't know if that's expected, or if we are expecting the similar information presented when activating the network in text-mode, which is:
eth0 - 54:52:00:2f:fd:b2
eth1 - 54:52:00:2f:fd:b3
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Boot DVD
2. Proceed to repo selection
3. Select repo "Fedora 11 - x86_64"
4. Click "Modify Repository"
See attached screenshot
A list of NIC and MAC address pairs?
This looks to be our fault, in that we didn't change this particular code path when we changed the others to display the device name and MAC address. Here's the fix:
diff --git a/iw/netconfig_dialog.py b/iw/netconfig_dialog.py
index 3941d3a..52894de 100644
@@ -144,10 +144,10 @@ class NetworkConfigurator:
for dev in devs:
i = store.append(None)
- desc = netdevs[dev].get("desc")
+ hwaddr = netdevs[dev].get("HWADDR")
- if desc:
- desc = "%s - %s" %(dev, desc)
+ if hwaddr:
+ desc = "%s - %s" %(dev, hwaddr,)
desc = "%s" %(dev,)
Patch submitted for review.
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.
More information and reason for this action is here:
Cherry picked cee4eef6a4ab0503d8dd3c650d7a2b819432d781 into private unofficial f11-branch, this will be in an upcoming Fedora Unity Re-Spin