Your message dated Mon, 02 Dec 2019 18:34:47 +0000 with message-id <[email protected]> and subject line Bug#941636: fixed in systemd 244-2 has caused the Debian Bug report #941636, regarding udev: 73-usb-net-by-mac.rules breaks systemd.link(5) network interface renaming for usb network adapters to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 941636: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=941636 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: udev Version: 243-2 Severity: normal /lib/udev/rules.d/73-usb-net-by-mac.rules prevents the renaming of network interfaces from usb adapters using the systemd.link(5) mechanism. The latter is implemented using /lib/udev/rules.d/80-net-setup-link.rules which is ineffective because 73-usb-net-by-mac.rules has previously unconditionally set a name (based on the mac address). For example ben@f3:~$ cat /etc/systemd/network/10-dock.link [Match] MACAddress=3c:e1:a1:01:02:03 [Link] Name=dock does not work (with the related interface being a usb adapter). I believe that /lib/udev/rules.d/73-usb-net-by-mac.rules should be removed. In fact, the same functionality can be provided by the systemd.link mechanism while also allowing users to override the default rule. I tested this by setting up /etc/udev/rules.d/73-usb-net-by-mac.rules -> /dev/null and adding ben@f3:~$ cat /etc/systemd/network/73-usb-net-by-mac.link [Match] Path=*-usb-* [Link] NamePolicy=mac (Ideally the match would be done using something like Type= but DEVTYPE is not an attribute of the network device. Matching on the ID_BUS udev attribute would work but is not supported by net_setup_link I think.) This still used a name based on the mac address by default (instead of based on the slot) and also allowed me to change the name by adding a file like the 10-dock.link example above. -- Package-specific info: -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.2.0-3-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled 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-2 ii libkmod2 26-3 ii libselinux1 2.9-2+b2 ii libudev1 243-2 ii systemd-sysv 242-7 ii util-linux 2.34-0.1 udev recommends no packages. udev suggests no packages. Versions of packages udev is related to: ii systemd 242-7 -- no debconf information
--- End Message ---
--- Begin Message ---Source: systemd Source-Version: 244-2 We believe that the bug you reported is fixed in the latest version of systemd, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Michael Biebl <[email protected]> (supplier of updated systemd package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Mon, 02 Dec 2019 17:57:55 +0100 Source: systemd Architecture: source Version: 244-2 Distribution: unstable Urgency: medium Maintainer: Debian systemd Maintainers <[email protected]> Changed-By: Michael Biebl <[email protected]> Closes: 926316 941636 Changes: systemd (244-2) unstable; urgency=medium . * Add lintian override for udev. 60-autosuspend-chromiumos.rules triggers a udev-rule-missing-subsystem warning. This is a false positive, as SUBSYSTEM is tested at the beginning of the rules file. * Add lintian override for systemd-container [email protected] triggers a systemd-service-file-refers-to-unusual-wantedby-target warning but nspawn containers are supposed to be started via machines.target. * Make it easier to override MAC based name policy for USB network adapters. Replace 73-usb-net-by-mac.rules with 73-usb-net-by-mac.link. The .link file provides the same functionality but makes it easier to set a custom name for USB network adapters via the systemd.link mechanism. Thanks to Benjamin Poirier (Closes: #941636) * Move libpam-systemd Recommends from systemd to systemd-sysv. libpam-systemd is only really useful if systemd is PID 1 and the systemd package should be installable without affecting another installed init system. (Closes: #926316) * Upload to unstable Checksums-Sha1: 26c03e144a4b437ac47b0b8ee6de5b6b6149acbb 4973 systemd_244-2.dsc c1604e24f3959530e76f50ddfec27ae21faa6890 145384 systemd_244-2.debian.tar.xz f67976633886c7d56726c4f3bf186493f40935dc 9534 systemd_244-2_source.buildinfo Checksums-Sha256: 665ff345dcf667810d5b6b2c95f1f72196a7be1650751a428741575552d1a4de 4973 systemd_244-2.dsc ba404dd05a28a5877c6cae6d727893c53758a5937bfcaa643d19bbcf91a93ed6 145384 systemd_244-2.debian.tar.xz 768eaabdbad266212492c834a0f6393e61f74e2558c3b97520b5dc26a741e234 9534 systemd_244-2_source.buildinfo Files: acd909e88592308b38ffdb5dcd84d4a5 4973 admin optional systemd_244-2.dsc 8dd10d8296795933adba697025b16bbc 145384 admin optional systemd_244-2.debian.tar.xz b82e5ede05c57cc624ed9f4510cd0baa 9534 admin optional systemd_244-2_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEECbOsLssWnJBDRcxUauHfDWCPItwFAl3lVXgACgkQauHfDWCP ItxD9A//ea6h1Zpgd3Xm4FIcP/xnPeWyQUMhjDmVkm3kOotos3EhGX+DRLgYP5Ib MlFwbXvOw6bsbUPK2BusAbD0CV4/r4UR4lIJ7rGzVStwbWbdkWVvXotOPDnH00la ohGkn/0gUi8qwsvSmIhT3YyNnCQTLwHNCzkzyPStdK/RZMv16WQgvAkC6S7W32Iq f0ASGwv4YRpuN08jGiZvSH+ghJwNFBcIbDfx5wbPqTcv9pEk/xIeBAW4iGa/AmZq bWrjjNtOzXlGK//dqZ/Afm7VcB7KVrlNgsVheZcx36WLxN5vgXv2mxLrJa/mQtPk ENTG8qZP5G+CBy+VefZpCk1alebueMxwzAQnH7Xez+rmD0VLkDTQnxsghyXIcUU7 4frXV83cfbgrDdwTvNWvXS/fRQhnKV0iGADbRB2b+AMZEioahRuh6T5H5HMmjq/x 0bIT3pgbyULkXR6zvZ9HTldFWi3jxW945Vy9m9JglmzqRHY1vMtfuMEeVA08/Pdc xwf/JAtYQXIhskIG3L5sM3f+1YHR4V1ma8/TOnUG1fsKhR1qFpjeOfjtI3nX/WDV pu82zUcTsLHrNjFIuamY99xrpgivgvmlFMv1MTB+GJyarVGN/ekZtR22ndtx6Dkp VW6WopHjt+MY9ESEH68Jm0+zJECjmWQFauS+4HPppiUDFPZPXXc= =5BWW -----END PGP SIGNATURE-----
--- End Message ---
