Thread (105 messages) 105 messages, 21 authors, 2009-11-11

Re: [PATCH] udev: create empty regular files to represent net interfaces

From: dann frazier <hidden>
Date: 2009-10-30 16:08:45

On Fri, Oct 30, 2009 at 08:43:44PM +0530, Narendra_K@Dell.com wrote:
 
quoted
quoted
This way the kernel has only one name, and so does userspace, and 
everyone is happy.
There are two issues, which really seem distinct to me.

Users expect eth0 to map to first-onboard-nic. That's an 
installer issue (since the BIOS can already export this info) 
and I agree that if we want to "fix" that, we should fix it there.
I agree that installers have to be fixed in the sense that they can be
told to find the right interface. But, they expect determinism and
depend on "eth0 to map to first-onboard-nic". Installer is one of the
applications that is affected by this and needs user intervention, if it
is not told about the right interface. I discussed installer as it is so
much part of a user experience.
Right, but couldn't the installer do the work of scanning the SMBIOS
to figure out which nics are onboard, and reorder the 'eth*' names
such that these are first? This state could then be written out as
udev rules so that they persist across reboots.
But the real issue is "eth0 does not map to first-onboard-nic" always
and applications expecting this would break in data center environments.
Both the solutions proposed provide a way to overcome it without
introducing state.

With regards,
Narendra K
-- 
dann frazier
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help