GNU bug report logs -
#54398
Adding network-manager-openvpn requires a full reboot
Previous Next
To reply to this bug, email your comments to 54398 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#54398
; Package
guix
.
(Tue, 15 Mar 2022 15:25:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Tue, 15 Mar 2022 15:25:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello Guix,
I've been bitten by this before, and again this morning, so I'm
reporting this behavior as a bug.
The struggle looks a bit like this:
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---
2. 'guix system reconfigure' your system with the change
3. Try configuring/importing an OpenVPN connection; it fails because the
plugin hasn't yet been made available.
4. Restart the networking service and relogin.
5. Now it seems to be functional, but the connection fails to be
established, with a timeout error.
6. Reboot the machine.
7. Try again: it now works.
Thanks,
Maxim
Information forwarded
to
bug-guix <at> gnu.org
:
bug#54398
; Package
guix
.
(Tue, 15 Mar 2022 16:33:02 GMT)
Full text and
rfc822 format available.
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 2 years and 341 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.