Bug#1105204: udev: networking broken by interface name change upgrading from bookworm to trixie enp1s0 -> ens1
Michael Biebl
biebl at debian.org
Mon Jun 16 12:13:52 BST 2025
On Thu, 5 Jun 2025 13:58:33 +0200 Emanuele Rocca <ema at debian.org> wrote:
> Hi Luca,
>
> On 2025-05-21 10:39, Luca Boccassi wrote:
> > This is expected due to kernel changes. Names can always change if the
> > kernel changes its internal behaviour, you have to fix them if you
> > don't want that to happen. This is documented at:
> >
> > https://www.freedesktop.org/software/systemd/man/latest/systemd.net-naming-scheme.html
>
> Does this mean that all interfaces called enpXs0 on Bookworm will be
> renamed to ensX when upgrading to Trixie?
A way to address this issue could be, to freeze the naming scheme upon
first installation of the system. Say you install a new bookworm system
with systemd v252, you pin it to net.naming_scheme=v252.
Upgrading the system to trixie which has systemd v257, it would stay
with the previous naming scheme.
The obvious downside would be, that newly installed systems potentially
behave differently then upgraded systems.
Another aspect is, that this net.naming_scheme can (currently) only be
set via a kernel command line parameter and the integration with grub
could be fiddly.
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20250616/c16c4b8d/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list