summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-08 14:35:20 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-09 09:14:36 +0200
commitc593bf7f597735b4b95c3923bb6ea6fc2c2ae346 (patch)
treef298227e31af4996972abb76f93d1532cab37c94 /src/conf_mode
parent451a7d6d97ee48d715e410617bdbb7149537c41a (diff)
downloadvyos-1x-c593bf7f597735b4b95c3923bb6ea6fc2c2ae346.tar.gz
vyos-1x-c593bf7f597735b4b95c3923bb6ea6fc2c2ae346.zip
openvpn: T3805: drop privileges using systemd - required for rtnetlink
(cherry picked from commit 2647edc30f1e02840cae62fde8b44345d35ac720)
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/interfaces-openvpn.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/conf_mode/interfaces-openvpn.py b/src/conf_mode/interfaces-openvpn.py
index 8da299914..c3620d690 100755
--- a/src/conf_mode/interfaces-openvpn.py
+++ b/src/conf_mode/interfaces-openvpn.py
@@ -80,9 +80,6 @@ def get_config(config=None):
openvpn = get_interface_dict(conf, base)
openvpn['auth_user_pass_file'] = '/run/openvpn/{ifname}.pw'.format(**openvpn)
- openvpn['daemon_user'] = user
- openvpn['daemon_group'] = group
-
return openvpn
def verify(openvpn):