Hi there,
I've enjoyed OpenVPN for many years now, but there is something that seems to cause persistent problems.
If a user and group are specified then the openvpn daemon will change to this user once it's finished configuring itself. If the daemon then runs into trouble it will attempt to restart itself. Unless it has been very carefully configured it will be unable to access necessary files, add/remove routes or allocate a tun interface.
It seems to me that if the daemon instead configured itself, forked and then had the new process drop root then the parent process could restart with sufficient permissions.
Thanks
Root Permission Restart
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
- krzee
- Forum Team
- Posts: 728
- Joined: Fri Aug 29, 2008 5:42 pm
Re: Root Permission Restart
see the persist options in the manual
everything starting with --persist
http://openvpn.net/man-beta.html
everything starting with --persist
http://openvpn.net/man-beta.html