Quoting Steve Ralph <Steve_Ralph@sandwell.gov.uk>:
Hi there,I have been working to port some internal configuration scripts to DL-1.4-RC3/486 and have installed to a USB key. This allows me to boot from multiple different machines and continue work where I left off.When I boot from the original install and list the network interfaces (either ifconfig or ip addr show), all seems OK. Once I run save-config, and then boot from different hardware, I have an issue around the assignment of the interface names.After some investigation, this seems to be because the file "/etc/udev/rules.d/70-persistent-net.rules " is included in the tarball created by save-config. This file links the mac-address to the device name (eg, 00:08:02:01:02:03 is named eth0).When this file already exists (eg, after save-config has been run), and the usb-key boots on different hardware, udev says eth0 is already assignedbecause the mac address of the previous machine is linked to eth0 in 70-persistent-net.rules (even if the listed mac-address is nowhere to be seen on this hardware), and assigns the new mac-address to the next available device, eg, eth1.If I save-config again the problem is exacerbated! On the second and subsequent hardware, interfaces are assigned after the devices allocated in 70-persistent-net.rules, but any statically configured addresses are assigned to the original network devices.EG:1st machineIF=eth0 MAC=00:08:02:01:02:03 IP=10.1.1.1/24IF=eth1 MAC=00:08:02:01:02:04 IP=10.1.2.1/24IF=eth2 MAC=00:08:02:01:02:05 IP=10.1.3.1/242nd machineIF=eth0 MAC=00:08:02:01:02:06IF=eth1 MAC=00:08:02:01:02:07IF=eth2 MAC=00:08:02:01:02:08When using the saved-config from the first machine on the second machineIF=eth0 MAC=00:08:02:01:02:03 IP=10.1.1.1/24 Interface Not available as MAC address not found!IF=eth1 MAC=00:08:02:01:02:04 IP=10.1.2.1/24 Interface Not available as MAC address not found!IF=eth2 MAC=00:08:02:01:02:05 IP=10.1.3.1/24 Interface Not available as MAC address not found!IF=eth3 MAC=00:08:02:01:02:06 IP=Unassigned Interface available as MAC address found but NO IP Address assignedIF=eth4 MAC=00:08:02:01:02:07 IP=Unassigned Interface available as MAC address found but NO IP Address assignedIF=eth5 MAC=00:08:02:01:02:08 IP=Unassigned Interface available as MAC address found but NO IP Address assignedThis issue could also occur if a pre-saved config file was installed on new kit as part of a hardware only upgrade.I suggest a fix would be to exclude the file "/etc/udev/rules.d/70-persistent-net.rules" from the tar created with save-config allowing this file to be dynamically created at boot up like on the initial boot.Before I log a call on mantis I would appreciate a sanity check first, to confirm that I haven't missed anything obvious.Additionally, although I have had no issues with the CD assignment, should "/etc/udev/rules.d/70-persistent-cd.rules" file also be excluded from the save-config?
During an upgrade to a newer DL version we automatically de-select those files.
On one hand I'm a bit reluctant to remove them in save-config, but then on the other hand I never "upgrade" them either.
Is anybody actually relying on these files?