Opened 4 years ago
Last modified 4 years ago
#1089 new Bug / Defect
Cannot use openvpn with config files under /home
Reported by: | lrddsk | Owned by: | Samuli Seppänen |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Packaging | Version: | OpenVPN 2.4.4 (Community Ed) |
Severity: | Not set (select this one, unless your'e a OpenVPN developer) | Keywords: | |
Cc: |
Description
Currently openvpn is installed with the following configuration in its unit file:
ProtectHome?=true
This implies that /home and /root folders are not accessible to openvpn. In my case I have an ecryptfs folder which is mounted under /home/$user/Private and have symlinks to the actual config files from /etc/openvpn/client/. However due to the aforementioned systemd option I was not able to start openvpn until I changed ProtectHome? to 'read-only'.
I don't think having config files under /home can be considered an invalid use case. So please consider changing the option of ProtectHome?.
cc