Package: openvpn Version: 2.6.0~git20220518+dco-3 Severity: normal Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? When openVPN client is connecter and tyring to shutdown the computer using init 0 command. * What exactly did you do (or not do) that was effective (or ineffective)? Waiting 90s gets the client killed. However, client should not be hanging. Issue is that network is down and client can't reconnect (expected) * What was the outcome of this action? * What outcome did you expect instead? Client should exit quickly instead of waiting for timeout and get killed. Here is an extract of the journalctl: sep 07 04:39:11 t460s NetworkManager[9152]: <warn> [1631003951.8511] device (wlp4s0): no secrets: No ag> sep 07 04:39:11 t460s NetworkManager[9152]: <warn> [1631003951.8522] device (wlp4s0): Activation: faile> sep 07 04:39:15 t460s ovpn-client[8902]: write UDP: Network is unreachable (code=101) sep 07 04:39:15 t460s ovpn-client[8902]: Network unreachable, restarting sep 07 04:39:15 t460s ovpn-client[8902]: SIGUSR1[soft,network-unreachable] received, process restarting sep 07 04:39:15 t460s ovpn-client[8902]: Restart pause, 300 second(s) sep 07 04:40:38 t460s systemd[1]: session-2.scope: Stopping timed out. Killing. -- System Information: Debian Release: 11.4 APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'stable'), (100, 'bullseye- fasttrack'), (100, 'bullseye-backports-staging') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-16-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), LANGUAGE=fr_CA:fr Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages openvpn depends on: ii debconf [debconf-2.0] 1.5.77 ii libc6 2.31-13+deb11u3 ii liblz4-1 1.9.3-2 ii liblzo2-2 2.10-2 ii libnl-3-200 3.4.0-1+b1 ii libnl-genl-3-200 3.4.0-1+b1 ii libpam0g 1.4.0-9+deb11u1 ii libpkcs11-helper1 1.27-1 pn libssl3 <none> ii libsystemd0 247.3-7 ii lsb-base 11.1.0 ii systemd 247.3-7 Versions of packages openvpn recommends: ii easy-rsa 3.0.8-1 Versions of packages openvpn suggests: ii openssl 1.1.1n-0+deb11u3 pn openvpn-dco-dkms <none> pn openvpn-systemd-resolved <none> ii resolvconf 1.87 -- debconf information: