> 2b5f5024728c ("openvpn: Use correct error value in VPN
agent credential
> reply")
>
I hardly see that this could be the root cause, we don't use any agent.
I just listed the changes in the range. I agree is this one and the
last one are unlikely the root cause.
I need to do some filtering before I could provide logs.
What I have seen is that openvpn was never finished connecting and it
always says "init_instance" when getting the SIGTERM:
Jan 10 18:59:31 info connman-vpnd[502]: pid 21413 was not killed, retrying
after 2 sec
Jan 10 18:59:31 notice openvpn[21413]: SIGTERM[hard,init_instance]
received, process exiting
While the log from a previous stop (after which the VPN was brought up
again) looks like:
Jan 10 18:59:22 notice openvpn[820]: SIGTERM[hard,] received, process
exiting
The task code first issues a kill(pid, 0) after 2 seconds
kill(pid, SIGINT) and if that didn't work after 1 second
a kill(pid, SIGKILL).
After 3 seconds the OpenVPN daemon should be gone. Isn't this the
case?