What | Removed | Added |
---|---|---|
CC | duge@pre-sense.de |
Created attachment 835321 [details] syslog Same on openSUSE-15.1. But the bug only happens about every second time when disconnecting from VPN. And it looks like Ubuntu might have the same problem. https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/1782943 I use NetworkManager via plasma-nm5-openvpn (KDE widget). -- Here's the command-line of the openvpn process, started by NetworkManager. (replaced some sensible strings) /usr/sbin/openvpn --remote vpnhost.exmaple.org 1195 udp --nobind --dev tun --cipher AES-256-CBC --auth SHA256 --auth-nocache --tls-auth /home/user/.local/share/networkmanagement/certificates/pfSense-UDP4-myhost.vpnhost.exmaple.org-config/tls_auth.key 1 --verify-x509-name vpnhost.exmaple.org name --remote-cert-tls server --reneg-sec 0 --verb 1 --syslog nm-openvpn --script-security 2 --up /usr/lib/nm-openvpn-service-openvpn-helper --debug 0 912 --bus-name org.freedesktop.NetworkManager.openvpn.Connection_138 --tun -- --up-restart --persist-key --persist-tun --management /var/run/NetworkManager/nm-openvpn-01234567-89ab-cdef-0123-4567890abcde unix --management-client-user root --management-client-group root --management-query-passwords --auth-retry interact --route-noexec --ifconfig-noexec --client --ca /home/user/.local/share/networkmanagement/certificates/pfSense-UDP4-myhost.vpnhost.exmaple.org-config/ca.crt --cert /home/user/.local/share/networkmanagement/certificates/pfSense-UDP4-myhost.vpnhost.exmaple.org-config/cert.crt --key /home/user/.local/share/networkmanagement/certificates/pfSense-UDP4-myhost.vpnhost.exmaple.org-config/private.key --user nm-openvpn --group nm-openvpn When clicking "disconnect" there's not much happening in the syslog (journalctl). The only interesting differences between a successfull and an unsuccessfull disconnect are: (only when success) Apr 09 12:30:07 myhost.example.org nm-openvpn[10008]: event_wait : Interrupted system call (code=4) (only when no success) Apr 09 12:23:24 myhost.example.org NetworkManager[1909]: <info> [1586427804.9133] device (tun0): state change: activated -> unmanaged (reason 'connection-assumed', sys-iface-state: 'external') (only when success) Apr 09 12:30:07 myhost.example.org NetworkManager[1909]: <info> [1586428207.1003] device (tun0): state change: activated -> unmanaged (reason 'unmanaged', sys-iface-state: 'removed') (only when success) Apr 09 12:30:07 myhost.example.org nm-openvpn[10008]: SIGTERM[hard,] received, process exiting