Hm. Except that apparently it needs that information : nm-openvpn[5945]: [server] Inactivity timeout (--ping-restart), restarting nm-openvpn[5945]: SIGUSR1[soft,ping-restart] received, process restarting [...] nm-openvpn[5945]: /usr/lib/network-manager-openvpn/nm-openvpn-service-openvpn-helper tun0 1500 1541 10.8.0.6 10.8.0.5 restart NetworkManager: <info> VPN connection 'VPN connection 1' (IP Config Get) reply received. NetworkManager: nm_vpn_connection_ip4_config_get: invalid IP4 config received! kernel: [ 480.167409] NetworkManager[4859]: segfault at 8 ip 000000000043fb1c sp 00007fff68955c80 error 4 in NetworkManager[400000+65000]
The proper way to do it is probably to get the information from the command-line rather than the environment. The local ip address is the 4th parameter in the nm-openvpn-service-openvpn-helper call. <cmd> tun_dev tun_mtu link_mtu ifconfig_local_ip ifconfig_remote_ip [ init | restart ] -- n-m-openvpn shuts down VPN when openvpn soft-restarts https://bugs.launchpad.net/bugs/280160 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs