Hi folks,
A few weeks ago, I switched my Guix System machine over to use the unprivileged
guix-daemon as recommended in the latest Guix user manual. Unfortunately, after
doing this, NetworkManager has no longer been able to access and use the
OpenVPN plugin that I installed into it in my operating-system definition. This
has worked fine for several months up until this recent change. Today, I
switched back to the privileged guix-daemon, and now OpenVPN works through
NetworkManager again.
Here is the relevant code from my operating-system definition:
(operating-system
...
(services (cons* ...
(modify-services %desktop-services
(network-manager-service-type config =>
(network-manager-configuration
(vpn-plugins
(list network-manager-openvpn))))
(guix-service-type config =>
(guix-configuration
(inherit config)
(privileged? #f))))))) ;
#f = use the unprivileged guix build daemon
You should then be able to replicate this error by using this command with a
valid *.ovpn file:
$ nmcli connection import type openvpn file /path/to/openvpn/config.ovpn
Error: failed to load VPN plugin: unknown VPN plugin
"org.freedesktop.NetworkManager.openvpn".
If you switch privileged? back to #t in the operating-system definition, then
the openvpn plugin works as expected.
Thanks,
Gary
--
GPG Key ID: C4FBEDBD
Use `gpg --search-keys [email protected]' to find me
Protect yourself from surveillance: https://emailselfdefense.fsf.org
=======================================================================
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
Why is HTML email a security nightmare? See https://useplaintext.email/
Please avoid sending me MS-Office attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html