Files
openvpn-install/openvpn-install.sh
Stanislas cad603c484 fix: add AppArmor override for management socket on Ubuntu 25.04+ (#1469)
## Summary

- Ubuntu 25.04+ ships an AppArmor profile (`/etc/apparmor.d/openvpn`)
that blocks the management unix socket in `/run/openvpn-server/`,
causing OpenVPN to fail to start with `Permission denied`
- Add a local AppArmor override (`/etc/apparmor.d/local/openvpn`) during
install to permit access
- Clean up the override on uninstall

Tested on a fresh Ubuntu 25.10 DigitalOcean droplet — install, service
start, and uninstall all work correctly.

Closes #1467 #1449 #1450
2026-02-13 18:36:08 +01:00

145 KiB
Executable File