NetworManager crashes when modifing connection (ipv4.ignore-auto-routes yes)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When trying to connect with forticlient to an SSL-VPN, the connection will fail with "Config DNS failed"
Then i was searching in logs of forticlient and found:
20241127 07:07:55.291 TZ=+0100 [sslvpn:EROR] nmtools:255 Command to set ipv4.ignore-
20241127 07:07:55.291 TZ=+0100 [sslvpn:EROR] nmtools:1060 Failed to modify connection mpqemubr0 property ipv4.ignore-
20241127 07:07:55.291 TZ=+0100 [sslvpn:EROR] dns:1007 Failed to finish Network Manager configuration
20241127 07:07:55.291 TZ=+0100 [sslvpn:EROR] vpn_connection:2071 Config DNS failed
Next i was searching what this means.
So i tried to reproduce this - without forticlient.
And i can reproduce:
# find UUID
nmcli con show | grep mpqemubr0
mpqemubr0 afb3b269-
# check current setting
nmcli con show afb3b269-
ipv4.
# change setting
nmcli con modify afb3b269-
Error: Failed to modify connection 'mpqemubr0': Message recipient disconnected from message bus without replying
set logging for NetworkManager to trace for all domains i see this:
Nov 29 09:57:10 myhost NetworkManager[
Nov 29 09:57:10 myhost NetworkManager[
Nov 29 09:57:10 myhost NetworkManager[
Nov 29 09:57:10 myhost NetworkManager[
Nov 29 09:57:10 myhost generate[99193]: nm-device: NM-2a2a93e2-
Nov 29 09:57:10 myhost generate[99193]: nm-device: NM-649ca4e6-
Nov 29 09:57:10 myhost generate[99193]: nm-device: NM-9fe9febf-
Nov 29 09:57:11 myhost NetworkManager[
Nov 29 09:57:11 myhost NetworkManager[
Nov 29 09:57:11 myhost NetworkManager[
Nov 29 09:57:11 myhost NetworkManager[
Nov 29 09:57:12 myhost systemd[1]: NetworkManager.
Nov 29 09:57:12 myhost systemd[1]: NetworkManager.
Nov 29 09:57:12 myhost systemd[1]: NetworkManager.
Nov 29 09:57:12 myhost systemd[1]: Starting NetworkManager.
The interface mpqemubr0 is coming from multipass 1.14.1
1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
network-manager: 1.46.0-1ubuntu2
nmcli tool : 1.46.0
3) What you expected to happen
- nmcli-action is working
- NetworkManager is not crashing/dumping with "NetworkManager
- VPN connection is working/useable
4) What happened instead
- wanted nmcli action is not working
- VPN is not working
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: network-manager 1.46.0-1ubuntu2
ProcVersionSign
Uname: Linux 6.8.0-49-generic x86_64
NonfreeKernelMo
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckR
Date: Fri Nov 29 14:37:40 2024
ExecutablePath: /usr/sbin/
InstallationDate: Installed on 2024-10-13 (47 days ago)
InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 (20240827.1)
NetworkManager.
[main]
NetworkingEnab
WirelessEnable
WWANEnabled=true
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
nmcli-nm:
RUNNING VERSION STATE STARTUP CONNECTIVITY NETWORKING WIFI-HW WIFI WWAN-HW WWAN
running 1.46.0 connected started full enabled missing enabled missing enabled
description: | updated |
description: | updated |
Hi,
If you run 'sudo netplan generate' in your terminal, do you see any errors?