Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-101508

Kernel parameter 'net.naming-scheme=rhel-9.7' is not recognized by systemd

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • rhel-9.7
    • systemd
    • None
    • No
    • None
    • rhel-plumbers
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      Leapp upgrade from RHEL-9.7 to RHEL-10.1, found driver e1000e in dell-per740-82.rhts.eng.pek2.redhat.com has an eth- prefix in the NIC name, even after setting the kernel parameter net.naming-scheme=rhel-9.7, there's still the same problem.  udevadm test-builtin net_id /sys/class/net/eth2,
      Unknown interface naming scheme 'rhel-9.7' requested, ignoring

      What is the impact of this issue to you?

      Imapcat predicatable network name

      Please provide the package NVR for which the bug is seen:

      [root@dell-per740-82 ~]# uname -rsm
      Linux 5.14.0-592.el9.x86_64 x86_64
      [root@dell-per740-82 ~]# systemctl --version
      systemd 252 (252-53.el9)
      RHEL-9.7.0-20250613.3

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1. e1000e driver nic has nic name eth2, 
      [root@dell-per740-82 ~]# uname -rsm
      Linux 5.14.0-592.el9.x86_64 x86_64
      [root@dell-per740-82 ~]# systemctl --version
      systemd 252 (252-53.el9)
      +PAM +AUDIT +SELINUX -APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN -IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT -QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK +XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified
      [root@dell-per740-82 ~]# ip -br l
      lo               UNKNOWN        00:00:00:00:00:00 <LOOPBACK,UP,LOWER_UP> 
      eno1             UP             34:73:5a:99:20:fc <BROADCAST,MULTICAST,UP,LOWER_UP> 
      eno2             DOWN           34:73:5a:99:20:fd <NO-CARRIER,BROADCAST,MULTICAST,UP> 
      eno3             DOWN           34:73:5a:99:20:fe <NO-CARRIER,BROADCAST,MULTICAST,UP> 
      eno4             DOWN           34:73:5a:99:20:ff <NO-CARRIER,BROADCAST,MULTICAST,UP> 
      eth4             UP             00:15:17:dc:98:dd <BROADCAST,MULTICAST,UP,LOWER_UP> 
      ens4f1           UP             00:15:17:dc:98:dc <BROADCAST,MULTICAST,UP,LOWER_UP> 
      ens4f0           UP             00:15:17:dc:98:df <BROADCAST,MULTICAST,UP,LOWER_UP> 
      eth2             UP             00:15:17:dc:98:de <BROADCAST,MULTICAST,UP,LOWER_UP> 
      ens1f0np0        UP             0c:42:a1:e2:20:48 <BROADCAST,MULTICAST,UP,LOWER_UP> 
      ens1f1np1        UP             0c:42:a1:e2:20:49 <BROADCAST,MULTICAST,UP,LOWER_UP> 
      [root@dell-per740-82 ~]# cat /proc/cmdline 
      BOOT_IMAGE=(hd0,msdos1)/vmlinuz-5.14.0-592.el9.x86_64 root=/dev/mapper/rhel_dell--per740--82-root ro intel_iommu=on ksdevice=bootif crashkernel=2G-64G:256M,64G-:512M resume=/dev/mapper/rhel_dell--per740--82-swap rd.lvm.lv=rhel_dell-per740-82/root rd.lvm.lv=rhel_dell-per740-82/swap console=ttyS0,115200n81 net.naming-scheme=rhel-9.7
      [root@dell-per740-82 ~]# 
      1. Found's unknown parameter 'rhel-9.7' 
      [root@dell-per740-82 ~]# udevadm test-builtin net_id /sys/class/net/eth2
      Trying to open "/etc/systemd/hwdb/hwdb.bin"...
      Trying to open "/etc/udev/hwdb.bin"...
      === trie on-disk ===
      tool version:          252
      file size:        12828643 bytes
      header size             80 bytes
      strings            2695843 bytes
      nodes             10132720 bytes
      Loading kernel module index.
      Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy
      Found container virtualization none.
      Unknown interface naming scheme 'rhel-9.7' requested, ignoring.
      Using default interface naming scheme 'rhel-9.0'.
      Parsed configuration file "/usr/lib/systemd/network/99-default.link"
      Created link configuration context.
      ID_NET_NAMING_SCHEME=rhel-9.0
      ID_NET_NAME_MAC=enx001517dc98de
      eth2: MAC address identifier: hw_addr=00:15:17:dc:98:de → x001517dc98de
      ID_OUI_FROM_DATABASE=Intel Corporate
      sd-device: Failed to chase symlinks in "/sys/devices/pci0000:ae/0000:ae:00.0/0000:af:00.0/0000:b0:04.0/0000:b2:00.1/physfn".
      eth2: Parsing slot information from PCI device sysname "0000:b2:00.1": success
      eth2: dev_port=0
      eth2: PCI path identifier: domain=0 bus=178 slot=0 func=1 phys_port= dev_port=0 → p178s0f1
      0000:ae:00.0: Device is a PCI bridge.
      eth2: Slot identifier: domain=0 slot=4 func=1 phys_port= dev_port=0 → s4f1
      ID_NET_NAME_PATH=enp178s0f1
      ID_NET_NAME_SLOT=ens4f1
      Unload kernel module index.
      Unloaded link configuration context.
      
      1.  

      Expected results

      Actual results

              systemd-maint systemd maint mailing list
              rh-ee-xudu Xu Du
              systemd maint mailing list systemd maint mailing list
              Frantisek Sumsal Frantisek Sumsal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: