Bug 197984

Summary: Do something to ensure that all network devices have ifcfg-XXX files with HWADDR
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: kudzuAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: harald, karsten.hahn, katzj, rvokal, wwlinuxengineering
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 8.40-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-15 19:24:07 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:
Bug Depends On:    
Bug Blocks: 150223    

Description Bill Nottingham 2006-07-07 20:41:04 UTC
With udev loading drivers in undefined order, new interfaces should have a name
chosen and some sort of ifcfg file written to have sane ordering for added devices.

Comment 1 Matt Domsch 2006-08-30 19:47:36 UTC
Define "sane".
See http://linux.dell.com/files/name_eths/ for my idea of sane.
It forces the device names to ascend, starting with embeddeded NICs (in PCI
bus/dev/fn order, not random kernel order), then add-in cards by ascending slot
number (again, in PCI bus/dev/fn order).

Comment 2 Bill Nottingham 2006-08-30 20:00:56 UTC
What I'm mainly talking about here is doing something on added/removed devices ;
the current code does next to nothing.

What's needed at the minimum is assigning *a* device name (probably
first-unused), writing a config file, and deciding if we want to do
ONBOOT=(yes|no). Or doing ONLINK=(yes|no).

Comment 3 Bill Nottingham 2006-09-15 19:24:07 UTC
Fixed in 1.2.54-1; we now write:

# <description>
DEVICE=<whatever>
ONBOOT=yes
BOOTPROTO=dhcp
HWADDR=<whatever>

for all added devices, and move old configs to <name>.bak.

Also, some code added to normalize any temporary names to something sane.