Bug 197984 - Do something to ensure that all network devices have ifcfg-XXX files with HWADDR
Do something to ensure that all network devices have ifcfg-XXX files with HWADDR
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: kudzu (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
:
Depends On:
Blocks: FC6Target
  Show dependency treegraph
 
Reported: 2006-07-07 16:41 EDT by Bill Nottingham
Modified: 2014-03-16 23:00 EDT (History)
5 users (show)

See Also:
Fixed In Version: 8.40-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-09-15 15:24:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Bill Nottingham 2006-07-07 16:41:04 EDT
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 15:47:36 EDT
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 16:00:56 EDT
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 15:24:07 EDT
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.

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