Openconnect does not call vpnc-script on shutdown?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Perfect, thank you! Added "KillSignal=SIGINT" into my unit and it works 
as expected now.


On 05/25/2017 07:17 PM, Daniel Lenski wrote:
> On May 25, 2017 5:57 PM, "Dmitrii Sutiagin" <f3flight at gmail.com> wrote:
>> Hi folks,
>>
>> I noticed that Openconnect does not call the script specificed via "script=" option (usually vpnc-script) when it is stopped. I'm using release v7.08. Obviously this causes DNS to be broken. It this a known issue or something with my system? I trace this by adding "set -x" into vpnc script, and I only see it's debug log during connection, but on upon disconnect / shutdown.
>>
>> Is my understanding correct?
> See the part of the manual on SIGNALS
> (http://www.infradead.org/openconnect/manual.html#heading5).
>
> OpenConnect only does a "clean" shutdown when it is terminated with
> SIGINT (e.g. with Ctrl-C when it's in the foreground), or by a
> server-initiated disconnect. If it's running in the background and you
> want a clean shutdown, then you need to do "kill -INT".
>
> -Dan




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux