GNU bug report logs -
#54398
Adding network-manager-openvpn requires a full reboot
Previous Next
Full log
Message #8 received at 54398 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Maxim Cournoyer schreef op di 15-03-2022 om 11:24 [-0400]:
> 1. Add the 'network-manager-openvpn' plugin to your
> 'network-manager-configuration', like so:
>
> --8<---------------cut here---------------start------------->8---
> (modify-services %desktop-services
> [...]
> (network-manager-service-type config =>
> (network-manager-configuration
> (inherit config)
> (vpn-plugins (list network-manager-openvpn))))
> --8<---------------cut here---------------end--------------->8---
Looking at 'network-manager-environment'
(define network-manager-environment
(match-lambda
(($ <network-manager-configuration> network-manager dns vpn-
plugins)
;; Define this variable in the global environment such that
;; "nmcli connection import type openvpn file foo.ovpn" works.
`(("NM_VPN_PLUGIN_DIR"
. ,(file-append (vpn-plugin-directory vpn-plugins)
"/lib/NetworkManager/VPN")))))),
I expect a potential issue to be that NM_VPN_PLUGIN_DIR is a
/gnu/store/... file name and hence the plugins in there are
not adjusted by a reconfiguration. Maybe it could instead
refer to somewhere in /run/current-system/...?
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 3 years and 91 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.