Bug#1092176: release-notes: systemd v257 has new rules for network interface names
Michael Biebl <[email protected]> Tue, 29 Jul 2025 20:48:14 +0200
| Newsgroups | gmane.linux.debian.devel.documentation |
|---|---|
| Message-ID | <8a7fe5bc-0b1b-494d-aa8e-1ee5a888a2c7__42372.1575805516$1753815978$gmane$org@debian.org> |
On Sun, 05 Jan 2025 11:50:31 -0600 aipark <[email protected]> wrote: > Package: release-notes > Severity: minor > X-Debbugs-Cc: [email protected] > > I updated a staging bookworm VM with VirtIO NIC to trixie and > temporarily lost network access because enp6s18 became ens18, > and subsequently /etc/network/interfaces 'allow-hotplug enp6s18' > no longer functioned. (Weirdly, 'auto' still works.) > > systemd v257 release notes and man subpage net-naming-scheme show new > "PCI slot number is now read from firmware_node/sun sysfs file" > and documented 'net.naming_scheme=v255' kernel cmdline reverted the > changes back to what it was in bookworm with systemd v252. So, for a remote system where you don't want the naming scheme to change, would it make sense to add a recommendation to pin it to the systemd version the system was originally installed with? Say for a bookworm system, you add "net.naming_scheme=v252" to the kernel command line. Then you can dist-upgrade and boot into your new trixie system (including the new kernel). And at a later point, you can decide to bump net.naming_scheme to v257 at a more opportune time. Michael [1] https://www.freedesktop.org/software/systemd/man/latest/systemd.net-naming-scheme.html
OpenPGP_signature.asc
(application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEECbOsLssWnJBDRcxUauHfDWCPItwFAmiJF24FAwAAAAAACgkQauHfDWCPItxu NA//W6hgEdsV1aYfOGbN2c1p/P5kuxxrEa9vb0BkLW55VsCfpbtr7jhfngw87aKB87UZcwdOx+bm i4VeZWcNEU3hmiW5epIP8roXP3vX3i0blDNZNp9igOkPGqOPiOsuzAEN+GonYnyyRgxRyaBLcMBo ynUar+k7aMYv1SiKhd91j4jOG2JhT5sTCOj0aX40RXykL+eOkr3J+3hYSRcByWvPpn8Sgcrf8l3P qSZctUJ3grXCN0mNHBy31kkBq5UoglVIU45fJ0igeLOqj56uFrh7F/n9MXcYXYq5SudEIVpeHf1W 4hTb1VHPoh4RTq0RaEIjMNFrEmeLsnU5OAe3RdZr2WFZD6fEHtrUEUJdkMz0z12Y295jliw/Cb31 ayBHDdg5zxy0nojdkXXGD0+wao826SaPXLZaW+I+StdXYN1Ey9/7+hCN79KO7YnUcNalxMUP9ZS8 NCO5qj2Bx4Gh3V0Q+eqbVzBe4MP5q5O5/Ja85BQZ6PFiN8vLGwHaFaT/5l/YoVFTn8aQMnSiMV2X YYlmYc+1k7gO4jkv7D4NbC2QnI1txarHkLMVed+SOXZXLIFfoGLJlZ8zvxWEhcxBf9gewBkxA4+k KQqjZSqqQN9mjvkOhq87l6t+EnslEpe6Qgr7ZtxDe6CCyNCbDs4c/RJYErRGzwgWLJRvsK85HJZN a6Y= =oc6d -----END PGP SIGNATURE-----