Your message dated Tue, 06 Jun 2023 18:15:39 +0100
with message-id <[email protected]>
and subject line Re: udev: fails to rename network interface if more then 9
interfaces are present
has caused the Debian Bug report #1037160,
regarding udev: fails to rename network interface if more then 9 interfaces are
present
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.)
--
1037160: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037160
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: udev
Version: 245.4-4ubuntu3.20
Severity: important
Dear Maintainer,
in a setup with more then 9 network interfaces, udev net_id fails to properly
derive the ID_NET_NAME_SLOT.
Due to that, interfaces are listed as "unmanaged" or "disabled" and cannot be
used.
The error message from syslog:
kernel: i40e 0000:1d:00.0 eno1: renamed from eth0
kernel: i40e 0000:1d:00.1 eno2: renamed from eth1
kernel: i40e 0000:b3:00.0 ens3f0: renamed from eth2
kernel: i40e 0000:b3:00.1 ens3f1: renamed from eth4
kernel: i40e 0000:b3:00.3 ens3f3: renamed from eth6
kernel: i40e 0000:b3:00.2 ens3f2: renamed from eth5
kernel: e1000e 0000:19:00.1 ens1f1: renamed from eth0
kernel: e1000e 0000:19:00.0 ens1f0: renamed from eth3
systemd-udevd[1011]: eth2: Failed to rename network interface 11 from 'eth2' to
'ens1f1': File exists
systemd-udevd[1030]: eth1: Failed to rename network interface 10 from 'eth1' to
'ens1f0': File exists
It seems, net_id does not take interface number, but only last digit, to
generate ID_NET_NAME_SLOT (here it creates ens1f0 for interface 10 and ens1f1
for interface 11, but they already exist, being prior created for interfaces 0
and 1).
Output of net_id for interface 10
$ udevadm test-builtin net_id /sys/class/net/eth1
Load module index
Parsed configuration file /usr/lib/systemd/network/99-default.link
Parsed configuration file /usr/lib/systemd/network/73-usb-net-by-mac.link
Created link configuration context.
Using default interface naming scheme 'v245'.
ID_NET_NAMING_SCHEME=v245
ID_NET_NAME_MAC=enxe8393510a367
ID_OUI_FROM_DATABASE=Hewlett Packard
ID_NET_NAME_PATH=enp26s0f0
ID_NET_NAME_SLOT=ens1f0
Unload module index
Unloaded link configuration context.
-- Package-specific info:
-- System Information:
Debian Release: bullseye/sid
APT prefers focal-updates
APT policy: (500, 'focal-updates'), (500, 'focal-security'), (500, 'focal')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.4.0-149-generic (SMP w/24 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=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.118ubuntu2
ii dpkg 1.19.7ubuntu3.2
ii libacl1 2.2.53-6
ii libblkid1 2.34-0.1ubuntu9.3
ii libc6 2.31-0ubuntu9.9
ii libkmod2 27-1ubuntu2.1
ii libselinux1 3.0-1build2
ii libudev1 245.4-4ubuntu3.20
ii systemd-sysv 245.4-4ubuntu3.20
ii util-linux 2.34-0.1ubuntu9.3
udev recommends no packages.
udev suggests no packages.
Versions of packages udev is related to:
ii systemd 245.4-4ubuntu3.20
-- no debconf information
--- End Message ---
--- Begin Message ---
On Tue, 6 Jun 2023 16:58:01 +0000 "Leibold Stefan (XC-DX/ESC5)"
<[email protected]> wrote:
> Package: udev
> Version: 245.4-4ubuntu3.20
> Severity: important
>
> Dear Maintainer,
>
> in a setup with more then 9 network interfaces, udev net_id fails to
properly derive the ID_NET_NAME_SLOT.
> Due to that, interfaces are listed as "unmanaged" or "disabled" and
cannot be used.
>
> The error message from syslog:
>
> kernel: i40e 0000:1d:00.0 eno1: renamed from eth0
> kernel: i40e 0000:1d:00.1 eno2: renamed from eth1
> kernel: i40e 0000:b3:00.0 ens3f0: renamed from eth2
> kernel: i40e 0000:b3:00.1 ens3f1: renamed from eth4
> kernel: i40e 0000:b3:00.3 ens3f3: renamed from eth6
> kernel: i40e 0000:b3:00.2 ens3f2: renamed from eth5
> kernel: e1000e 0000:19:00.1 ens1f1: renamed from eth0
> kernel: e1000e 0000:19:00.0 ens1f0: renamed from eth3
> systemd-udevd[1011]: eth2: Failed to rename network interface 11 from
'eth2' to 'ens1f1': File exists
> systemd-udevd[1030]: eth1: Failed to rename network interface 10 from
'eth1' to 'ens1f0': File exists
>
> It seems, net_id does not take interface number, but only last digit,
to generate ID_NET_NAME_SLOT (here it creates ens1f0 for interface 10
and ens1f1 for interface 11, but they already exist, being prior
created for interfaces 0 and 1).
>
> Output of net_id for interface 10
>
> $ udevadm test-builtin net_id /sys/class/net/eth1
> Load module index
> Parsed configuration file /usr/lib/systemd/network/99-default.link
> Parsed configuration file /usr/lib/systemd/network/73-usb-net-by-
mac.link
> Created link configuration context.
> Using default interface naming scheme 'v245'.
> ID_NET_NAMING_SCHEME=v245
> ID_NET_NAME_MAC=enxe8393510a367
> ID_OUI_FROM_DATABASE=Hewlett Packard
> ID_NET_NAME_PATH=enp26s0f0
> ID_NET_NAME_SLOT=ens1f0
> Unload module index
> Unloaded link configuration context.
>
>
> -- Package-specific info:
>
> -- System Information:
> Debian Release: bullseye/sid
> APT prefers focal-updates
> APT policy: (500, 'focal-updates'), (500, 'focal-security'), (500,
'focal')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 5.4.0-149-generic (SMP w/24 CPU cores)
> Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=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.118ubuntu2
> ii dpkg 1.19.7ubuntu3.2
This is Debian's bug tracker, you are running Ubuntu. You can find
Ubuntu's bug tracker at:
https://bugs.launchpad.net/ubuntu/+source/systemd
--
Kind regards,
Luca Boccassi
signature.asc
Description: This is a digitally signed message part
--- End Message ---