Control: severity -1 wishlist Control: retitle -1 network-manager-openconnect: use SIGINT when disconnecting VPN
On Wed, Apr 13, 2016 at 13:57:39 +0200, Matus UHLAR - fantomas wrote: > when disconnecting VPN, openconnect is killed with TERM signal: > > # strace -p 15887 > Process 15887 attached > select(9, [4 7 8], [], [7], {13, 244815}) = ? ERESTARTNOHAND (To be > restarted if no handler) > --- SIGTERM {si_signo=SIGTERM, si_code=SI_USER, si_pid=15873, si_uid=0} --- > +++ killed by SIGTERM +++ > > that causes the session on the server to hang: > > SIGINT performs a clean shutdown by logging the session off, disconā > necting from the gateway, and running the vpnc-script to restore > the network configuration. > > SIGTERM > exits immediately without logging off or running vpnc-script. > > Please, use SIGINT for disconnecting. This looks like a reasonable request that is best fixed upstream. Would you mind filing a bug report upstream and sharing the link to the upstream bug report here? https://bugzilla.gnome.org/enter_bug.cgi?product=NetworkManager&component=VPN:%20openconnect -- mike