NetworkManager error "corrupted double-linked list" when starting openvpn

Hello everyone,

I have bought a Thinkpad E485 and installed Opensuse Tumbleweed with xfce desktop (the same problem occurred with gnome shell as well).

Here is my problem, everything works well except the vpn. I am in China and i need to use vpn quite often for work and I always use openvpn via the command line. When i use wifi only, the connection is stable but when I start openvpn, the network manager goes crazy. It just disconnects from the wifi, reconnects, disconnects, reconnects, etc… In a loop.

Openvpn tells me the connection is ready but when I check journalctl -fu NetworkManager:


Sep 17 19:14:56 linux-4mr6 NetworkManager[5261]: corrupted double-linked list
Sep 17 19:14:56 linux-4mr6 systemd[1]: NetworkManager.service: Main process exited, code=dumped, status=6/ABRT
Sep 17 19:14:56 linux-4mr6 systemd[1]: NetworkManager.service: Failed with result 'core-dump'.
Sep 17 19:14:56 linux-4mr6 systemd[1]: NetworkManager.service: Service RestartSec=100ms expired, scheduling restart.
Sep 17 19:14:56 linux-4mr6 systemd[1]: NetworkManager.service: Scheduled restart job, restart counter is at 2.
Sep 17 19:14:56 linux-4mr6 systemd[1]: Stopped Network Manager.
Sep 17 19:14:56 linux-4mr6 systemd[1]: NetworkManager.service: Found left-over process 5383 (dhclient) in control group while starting unit. Ignoring.
Sep 17 19:14:56 linux-4mr6 systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Sep 17 19:14:56 linux-4mr6 systemd[1]: Starting Network Manager...
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4517] NetworkManager (version 1.12.2) is starting... (after a restart)
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4517] Read config: /etc/NetworkManager/NetworkManager.conf
Sep 17 19:14:56 linux-4mr6 systemd[1]: Started Network Manager.
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4580] bus-manager: acquired D-Bus service "org.freedesktop.NetworkManager"
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4583] manager[0x55557dc79070]: monitoring kernel firmware directory '/lib/firmware'.
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4614] hostname: hostname: using hostnamed
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4615] hostname: hostname changed from (none) to "linux-4mr6"
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4616] dns-mgr[0x55557dc83930]: init: dns=default, rc-manager=netconfig
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4625] rfkill0: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:01.6/0000:04:00.0/ieee80211/phy0/rfkill0) (driver ath10k_pci)
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4628] manager[0x55557dc79070]: rfkill: WiFi hardware radio set enabled
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4628] manager[0x55557dc79070]: rfkill: WWAN hardware radio set enabled
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4644] settings: Loaded settings plugin: NMSKeyfilePlugin (internal)
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4656] keyfile: new connection /etc/NetworkManager/system-connections/OnePlus 5 (fe9a09fe-a442-46b1-b36c-a7c8e7b9de6a,"OnePlus 5")
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4664] keyfile: new connection /etc/NetworkManager/system-connections/Origins-Engineering_5G (ef031e6d-e0c7-4b87-b7dd-21e7c34b4f39,"Origins-Engineering_5G")
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4672] keyfile: new connection /etc/NetworkManager/system-connections/BreathingSpace_5G (fdbcb5c1-e410-481f-9ad5-1bd5814da473,"BreathingSpace_5G")
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4680] manager: rfkill: WiFi enabled by radio killswitch; enabled by state file
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4681] manager: rfkill: WWAN enabled by radio killswitch; enabled by state file
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4682] manager: Networking is enabled by state file
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4683] dhcp-init: Using DHCP client 'dhclient'
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4698] Loaded device plugin: NMBluezManager (/usr/lib64/NetworkManager/1.12.2/libnm-device-plugin-bluetooth.so)
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4700] Loaded device plugin: NMWifiFactory (/usr/lib64/NetworkManager/1.12.2/libnm-device-plugin-wifi.so)
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4710] Loaded device plugin: NMTeamFactory (/usr/lib64/NetworkManager/1.12.2/libnm-device-plugin-team.so)
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4714] Loaded device plugin: NMAtmManager (/usr/lib64/NetworkManager/1.12.2/libnm-device-plugin-adsl.so)
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4717] Loaded device plugin: NMOvsFactory (/usr/lib64/NetworkManager/1.12.2/libnm-device-plugin-ovs.so)
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4719] Loaded device plugin: NMWwanFactory (/usr/lib64/NetworkManager/1.12.2/libnm-device-plugin-wwan.so)
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4726] device (lo): carrier: link connected
Sep 17 19:14:56 linux-4mr6 NetworkManager[5612]: <info>  [1537182896.4729] manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/1)

Full log https://pastebin.com/xYg3c6Bt

I can see a core-dump at the beginning of the log so i guess the process is just crashing in a loop.

Is there anyone who got this issue before?

Thanks in advance.

Looks like this is an upstream problem, see: https://bugzilla.suse.com/show_bug.cgi?id=1107197

As the problem is apparently triggered by using libcurl, workaround would be disabling connectivity check in NM.

And how do I do that? I see no such option in KDE NM

man NetworkManager.conf, scroll to Connectivity section.

So I guess its this entry:

[connectivity]
uri=http://conncheck.opensuse.org

Will try and report back!

Hello,

I have been offline for quite a while since I posted. Sorry about that.

I have switched to wicked to manage my network, and even with the vpn, it remains stable.

The version that I had installed was tumbleweed snapshot 20180916 and everyday I run zypper ref && zypper up. Should I use zypper dup instead to avoid those problems in the future?

Went back to NetworkManager and it seems to work well after the update and restarted my computer.

Thanks for your answers. I really appreciate.

On 9/21/18 1:46 PM, tuxlinuxien wrote:
>
> Hello,
>
> I have been offline for quite a while since I posted. Sorry about that.
>
> I have switched to wicked to manage my network, and even with the vpn,
> it remains stable.
>
> The version that I had installed was tumbleweed snapshot 20180916 and
> everyday I run zypper ref && zypper up. Should I use zypper dup instead
> to avoid those problems in the future?

Yes, never use ‘zypper up’ as it will not always replace all packages
needing replacement.


Ken
unix since 1986
S.u.S.E.-openSUSE since 1998