Just updated an alma 10 box this morning. One of the updates via epel was for openvpn.
After the update, openvpn fails to start.
The error shows both the log file and log-status file failing to open due to permissions.
Options error: --status fails with ‘openvpn-status.log’: Permission denied (errno=13)
My log files are in /etc/openvpn/client/ which has root:root permissions. I’ve tried changing those files and directories to root:openvpn and also to openvpn:openvpn, but neither of those work.
I’m not sure what else they should be. Any help would be appreciated.
UPDATE: I moved the logs to /var/log/openvpn/ and all is working. Not sure why the change, but logs should probably be in the /var/log/ directory anyway so all good.