Hi Gert

We recently updated OpenVPN to 2.5.2 and found that the PID
is since [1] unconditionally deleted when OpenVPN exits.
This breaks OpenVPN in our init.
We relied on this file to get the PID to be able to check if the process 
actually started,
or something went wrong during init, or to see if the process died sometime 
later.

One could argue that the absence of the PID file is indication enough that the 
process
doesn't exist anymore, but that doesn't hold up when there are multiple 
instances running.

Once the process died we used the PID to look in the syslog for clues as to why 
the process died,
and present the user with an error message based on that.

Can you please revert this unconditional deletion of the file?
Or do you see any alternative to get the PID of a process that
exits immediately (case of misconfiguration)?

BR
Matthias

[1] https://sourceforge.net/p/openvpn/mailman/message/37055147/



Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to