#44 initrd should set name of interconnect

Boot / Init (3)
John Hughes

One irritating feature of Linux is that the names of the ethernet nics can change depending on weird and unpredictable things like the order drivers are loaded or the phase of them moon.

OpenSSI gets around this by using the nic MAC addr to decide which nic to use for the interconnect.

And after boot udev can be used to set persistent names for the different nics, also based on the MAC addr.

But the user can't reliably predict the name of the nic used for the cluster interconnect, which he might also like to use for the HA-LVS "sync interface" for example.

It might be nice if the initrd scripts set the name of the cluster interconnect to something predictable, "interconnect" or "openssi" for example.

One downside - this would imply the initrd containing the "/bin/ip" command, which is a bit bigger than "/sbin/ifconfig":

-rwxr-xr-x 1 root root 154444 2006-12-14 21:42 /bin/ip
-rwxr-xr-x 1 root root 58380 2005-12-04 05:52 /sbin/ifconfig

And also includes libresolv (why?)

a:~# ldd /bin/ip
linux-gate.so.1 => (0xffffe000)
libresolv.so.2 => /lib/libresolv.so.2 (0xb7f3f000)
libc.so.6 => /lib/libc.so.6 (0xb7df7000)
/lib/ld-linux.so.2 (0xb7f68000)
a:~# ldd /sbin/ifconfig
linux-gate.so.1 => (0xffffe000)
libc.so.6 => /lib/libc.so.6 (0xb7e16000)
/lib/ld-linux.so.2 (0xb7f74000)