Bug 208735
Summary: | wireless network interface naming unpredictable | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bernard Johnson <bjohnson> | ||||||
Component: | initscripts | Assignee: | Bill Nottingham <notting> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | Brock Organ <borgan> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | rawhide | CC: | rvokal | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2006-10-02 16:59:21 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: | |||||||||
Attachments: |
|
Description
Bernard Johnson
2006-10-01 07:47:59 UTC
Can you attach your /etc/sysconfig/network-scripts/ifcfg-* files? Created attachment 137555 [details]
ifcfg-eth0
Created attachment 137556 [details]
ifcfg-lo
There is no ifcfg-eth1 file. You need an ifcfg-ethX file for each interface, with the proper HWADDR added - otherwise if the modules are loaded in reverse order, there's no way to know what to name the one that's occupying eth0 when it shouldn't. Bill, I guess I'd like some clarification on two points: 1) eth0 is always eth0. eth1 is sometimes eth1 and sometimes __tmpxxxxxxxxxx. There is nothing occupying eth1, it just doesn't get named properly. This would imply that there is a reason other than the name being already used for it not getting renamed. However, you are right that creating the ifcfg-eth1 file fixes this problem. 2) Shouldn't /some component/ take care of creating the ifcfg-eth1 automatically since it seems to be integral to having the (wireless) system work correctly? If it requires a RFE, let me know what component to file against. 1) drivers are loaded and initialized in parallel. So what happens is that your eth1 is loaded as eth0 and vice versa. Your eth1 is then renamed to __tmpXXXXXXX so that eth0 can be named properly. Without a config file, __tmpXXXXX isn't renamed to eth1. 2) kudzu on initial device add should write the config file and rename it from __tmpXXXXX. This code was just added recently, though. I suspect this code might have issues with wireless adapters where the first configuration of the device doesn't actually create a ethX device due to no firmware being present. Thanks for the explanation. I'll follow up on #2 as time permits. |