aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJelle Licht <jlicht@fsfe.org>2019-07-03 16:30:15 +0200
committerJelle Licht <jlicht@fsfe.org>2019-07-17 11:08:26 +0200
commit4efdede284829bcd551fc100976c134750af51d3 (patch)
tree6fcb0797a0f768a802dad88942094bfdff1c4d65 /gnu
parent40557aeab594907bf56b0a2a367061dbdd19f4aa (diff)
downloadpatches-4efdede284829bcd551fc100976c134750af51d3.tar
patches-4efdede284829bcd551fc100976c134750af51d3.tar.gz
services: network-manager: Clear default OpenVPN user.
* gnu/services/networking.scm (network-manager-shepherd-service): Clear 'NM_OPENVPN_USER' and 'NM_OPENVPN_GROUP' in #:environment-variables.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/networking.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/services/networking.scm b/gnu/services/networking.scm
index 7423bac1aa..376b4ccc4e 100644
--- a/gnu/services/networking.scm
+++ b/gnu/services/networking.scm
@@ -938,7 +938,10 @@ and @command{wicd-curses} user interfaces."
"--no-daemon")
#:environment-variables
(list (string-append "NM_VPN_PLUGIN_DIR=" #$vpn
- "/lib/NetworkManager/VPN"))))
+ "/lib/NetworkManager/VPN")
+ ;; Override non-existent default users
+ "NM_OPENVPN_USER="
+ "NM_OPENVPN_GROUP=")))
(stop #~(make-kill-destructor))))))))
(define network-manager-service-type