Some OpenVPN configuration files remain after deleting an instance
If you delete OpenVPN Server/Client in the WebGUI, no all config files/directories will be deleted:
/var/etc/openvpn/client3/ /var/etc/openvpn/client3/ca /var/etc/openvpn/client3/ca/791c09ae.0 /var/etc/openvpn/client3/csc /var/etc/openvpn/server3/ /var/etc/openvpn/server3/ca /var/etc/openvpn/server3/ca/791c09ae.0 /var/etc/openvpn/server3/csc
#6 Updated by Viktor Gurov 29 days ago
- Status changed from Resolved to New
- Priority changed from Low to Normal
sometime for some reason it shows PHP error:
[04-Feb-2021 13:01:43 Europe/Moscow] PHP Warning: rmdir(/var/etc/openvpn/server1): Directory not empty in /etc/inc/pfsense-utils.inc on line 1017
#9 Updated by Max Leighton 25 days ago
In the February 4 image of 2.5, I can no longer get the PHP crash after deleting the server/client instance of OpenVPN.
I still have directories the following directories in /var/etc/openvpn:
These are empty directories which will stay until the firewall is rebooted. Following a reboot, /var/etc/openvpn is completely empty.
If that is the expected behavior, then this can be resolved. I have not been able to reproduce the PHP crash since upgrading to the February 4 image.