Network Manager is generating wrong profiles

Beniamino Galvani bgalvani at redhat.com
Tue Jun 17 07:48:08 UTC 2025


On Mon, Jun 16, 2025 at 12:29:28PM +0200, Karl Weber wrote:
> Hi,
> 
> I observe a strange behaviour of Network Manager and would like to ask, if 
> this is a bug or a feature. If it is a feature, I would greatly appreciate an 
> explanation about why Network Manager (NW) works the way it does.
> 
> On my PC I have two NICs, eth0 and eth1. eth0 is connected to a router and 
> configured by the router using DHCP. eth1 is connected to the intranet and 
> configured manually.
> 
> For both I have a persistent configuration in files /etc/NetworkManager/system-
> connections/ethN.nmconnection for N = 0,1. They are given at the end. 
> Furthermore, I have a config file /etc/NetworkManager/conf.d/99-serverlike.conf.
> 
> My PC runs openSUSE Leap 15.6 with NM out of the BOX, except for the three 
> files mentioned.
> 
> When I boot this PC, both NICs are configured as expected and working well. The 
> same is true, when I restart NM with systemctl restart NetworkManager.
> 
> However, when the PC is suspended and waking up again, thing work differently. 
> 
> At the beginning, when I did not have the file 99-serverlike.conf at all, NW 
> was generating a new profile for eth1 and using this one. With this new 
> configuration eth1 was not working at all. The configuration in 
> eth1.nmconnection was ignored. eth0, on the other hand, was configured as 
> defined through eth0.nmconnection -- and working.

Hi,

what is the name of the new profile generated by NM? Which version of
NM? It's not clear to me why this profile is generated. Please run
"nmcli general logging level trace" as root, reproduce the issue by
suspending and waking the system, and then attach the relevant logs,
for example:

  journalctl -u NetworkManager --since='5 minutes ago'

Note that the log level change is not persistent and is lost when the
service (or the system) is restarted.

Beniamino
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/networkmanager/attachments/20250617/a63fb5ce/attachment.sig>


More information about the Networkmanager mailing list