plesk / debian11to12

Plesk dist-upgrader tool: Debian 11 to 12
Apache License 2.0
1 stars 1 forks source link

Tool does not handle changed network interface names #6

Open MartinRothschink opened 1 month ago

MartinRothschink commented 1 month ago

Hi, my upgrade from Debian 11 -> 12 failed today. My server was set-up with Debian 9 and then upgraded to Debian 10 and 11.

The primary reason is a change of the network interface name.

Instead of eth0, enX0 is used in my case. This change is not handled by the tool currently.

See https://wiki.debian.org/NetworkConfiguration

See [NetworkInterfaceNames](https://wiki.debian.org/NetworkInterfaceNames). Since Stretch, new systems by default no longer use old-style interface names such as eth0, eth1, wlan0, wlan1. The new system uses names based on hardware location, like eno0, enp0s31f6, wlp1s7 (or in the case of USB dongles, MAC address: enx2c56ac39ec0d).

You can list interfaces with: ls /sys/class/net

Various examples below continue to use "eth0" as a default interface name, even though it is unlikely to exist on a modern system.

Upgrading and Network Interface Names
Stretch and Buster still retain support for the old naming system as long as the file /etc/udev/rules.d/70-local-persistent-net.rules is still in place, but users are advised to switch ahead of the upgrade to Bullseye.
kpushkaryov commented 3 weeks ago

Please give more information about the issue. At what stage did debian11to12 fail, what were the symptoms?

Ideally, provide the feedback archive generated by ./debian11to12 --prepare-feedback.

MartinRothschink commented 3 weeks ago

Hi, It happens after the reboot after the dist upgrade. The machine comes up as Debian 12 without any active network connection and all following steps fail.