Bug#946196: udev: documented way to prevent interface renaming stopped working

Sven Joachim svenjoac at gmx.de
Thu Dec 5 08:55:16 GMT 2019


Package: udev
Version: 244-3
Severity: important

According to /usr/share/doc/udev/README.Debian.gz,

ln -s /dev/null /etc/systemd/network/99-default.link

should be sufficient to keep the kernel-provided network interface
names.  Despite this symlink being present, after upgrading systemd and
udev from 243-9 and rebooting I found that my USB WiFi adapter had
changed its name from wlan0 to wlxf81a67208cf2:

,----
| Dez 05 08:35:33 turtle kernel: usbcore: registered new interface driver rt2800usb
| Dez 05 08:35:33 turtle kernel: rt2800usb 1-6:1.0 wlxf81a67208cf2: renamed from wlan0
| Dez 05 08:35:33 turtle systemd-udevd[216]: Using default interface naming scheme 'v243'.
`----

The onboard Ethernet card is not affected and still name eth0, so I
suspect this has to do with the fix for #941636.  To work around the
problem (and to be able to get online and report this bug), I created
another symlink:

ln -s /dev/null udev/rules.d/80-net-setup-link.rules

After "systemctl daemon-reload" and replugging the device the name had
changed back to the desired wlan0.


-- Package-specific info:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20191205/2defaffe/attachment.ksh>
-------------- next part --------------

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.2-nouveau (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages udev depends on:
ii  adduser       3.118
ii  dpkg          1.19.7
ii  libacl1       2.2.53-5
ii  libblkid1     2.34-0.1
ii  libc6         2.29-3
ii  libkmod2      26-3
ii  libselinux1   2.9-3+b1
ii  libudev1      244-3
ii  systemd-sysv  244-3
ii  util-linux    2.34-0.1

udev recommends no packages.

udev suggests no packages.

Versions of packages udev is related to:
ii  systemd  244-3

-- debconf information:
  udev/title/upgrade:
  udev/new_kernel_needed: false
  udev/reboot_needed:
  udev/sysfs_deprecated_incompatibility:


More information about the Pkg-systemd-maintainers mailing list