Re: Permission Error with systemd
"Stefanie Leisestreichler (Febas)" <[email protected]> Thu, 15 May 2025 12:04:46 +0200
| Newsgroups | gmane.network.openvpn.user |
|---|---|
| Message-ID | <[email protected]> |
On 5/15/25 11:49, David Sommerseth wrote: > > Try to change the owner of the key file from root to openvpn. > > The [email protected] and [email protected] units has been > written to lock down and strip the openvpn process from as many > privileges as possible. Unfortunately, the list of needed privileges is > still fairly long. > > chown will make it running. What I do not understand is: As far as I know, openvpn is started with root rights to build the context for a running instance. If that is true, why can't the key been read during that phase and has to be made available for user openvpn (at least with arch)? Or is my assumption/understanding wrong?