clevis module inside the initramfs causes NetworkManager creates an unexpected new connection profile
Issue
- NetworkManager creates automatically an unknown connection profile and connects it during the boot process, though the connection profile for
ens192
has already existed. - The unexpected network connection can be down manually and the connection profile the user defines can be up correctly after boot.
NAME UUID TYPE DEVICE
ens192 xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx ethernet ens192 <<<--- unknown connection
ens192 yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy ethernet -- <<<--- connection user-created
hostname NetworkManager[1592]: <info> [1666853571.1641] ifcfg-rh: new connection /etc/sysconfig/network-scripts/ifcfg-ens192 (yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy,"ens192")
...
hostname NetworkManager[1592]: <info> [1666853571.3034] manager: (ens192): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
hostname NetworkManager[1592]: <info> [1666853571.3055] ifcfg-rh: add connection in-memory (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx,"ens192")
hostname NetworkManager[1592]: <info> [1666853571.3074] device (ens192): state change: unmanaged -> unavailable (reason 'connection-assumed', sys-iface-state: 'external')
hostname NetworkManager[1592]: <info> [1666853571.3102] device (ens192): state change: unavailable -> disconnected (reason 'connection-assumed', sys-iface-state: 'external')
hostname NetworkManager[1592]: <info> [1666853571.3130] device (ens192): Activation: starting connection 'ens192' (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
Environment
- Red Hat Enterprise Linux 7.9
- clevis module is in initramfs
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.