Re: [Openvpn-devel] --tmp-dir and systemd PrivateTmp incompatibility

2021-07-01 Thread tincantech via Openvpn-devel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi David, with your help, I was able to use systemd.PrivateTmp correctly. thanks for this detailed explanation. R ‐‐‐ Original Message ‐‐‐ On Thursday, July 1st, 2021 at 13:41, David Sommerseth wrote: > On 01/07/2021 00:56, tincantech

Re: [Openvpn-devel] --tmp-dir and systemd PrivateTmp incompatibility

2021-07-01 Thread David Sommerseth
On 01/07/2021 00:56, tincantech via Openvpn-devel wrote: Hi [... copied from first mail ...] Thus the problem is two fold: 1. It is not possible to pre-determine a temporary directory within the systemd PrivateTmp assigned folder within an openvpn config which needs to use --tmp-dir 2. Openvpn

Re: [Openvpn-devel] --tmp-dir and systemd PrivateTmp incompatibility

2021-06-30 Thread tincantech via Openvpn-devel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi the problem is three fold: 3. How would I then point scripts to the systemd assigned folder ? (Yet another env var: systemd_private_tmp) The most logical answer is "To take matters into my own hands" and specify my own temporary location but tha

[Openvpn-devel] --tmp-dir and systemd PrivateTmp incompatibility

2021-06-30 Thread tincantech via Openvpn-devel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, the openvpn-server systemd unit file currently make use of PrivateTmp=True, this denies the openvpn process access to /tmp (and /var/tmp). This setting also does not provide the systemd assigned location for temporary files to the openvpn proce