openvpn: change tmp-dir to /tmp
authorPaul Donald <redacted>
Thu, 12 Mar 2026 17:42:38 +0000 (18:42 +0100)
committerHannu Nyman <redacted>
Sun, 15 Mar 2026 06:45:36 +0000 (08:45 +0200)
This allows openvpn to create any temp files after
user or group change at exec time.

Signed-off-by: Paul Donald <redacted>
net/openvpn/files/lib/netifd/proto/openvpn.sh

index 2b01e79066c9dc639a3bb2388ec069a475fce35c..4bd12626fa65eb15536aaa649d09e5f36e827244 100755 (executable)
@@ -128,7 +128,7 @@ proto_openvpn_setup() {
        append exec_params "--cd $cd_dir"
        append exec_params "--status /var/run/openvpn.$config.status"
        append exec_params "--syslog openvpn_$config"
-       append exec_params "--tmp-dir /var/run"
+       append exec_params "--tmp-dir /tmp"
        [ -n "$config_file" ] && append exec_params "--config \"$config_file\""
 
        json_get_var ALLOW_DEPRECATED allow_deprecated
git clone https://git.99rst.org/PROJECT