From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: swedebugia@riseup.net
Cc: 33832@debbugs.gnu.org
Subject: bug#33832: The VPN service 'org.freedesktop.NetworkManager.openvpn' was not installed.
Date: Wed, 09 Jan 2019 07:54:27 -0500 [thread overview]
Message-ID: <874lai3sak.fsf@gmail.com> (raw)
In-Reply-To: <acb0d8532c0ad030b5b57c2ff800580b@riseup.net> (swedebugia's message of "Fri, 21 Dec 2018 19:28:50 -0800")
Hi,
swedebugia@riseup.net writes:
> Dec 22 04:21:24 localhost NetworkManager[289]: <info> [1545448884.2537]
> audit: op="connection-activate"
> uuid="c3d6b24a-d67c-48a9-8695-2e9dd83c1b07" name="Riseup VPN" pid=414
> uid=1000 result="fail" reason="The VPN service
> 'org.freedesktop.NetworkManager.openvpn' was not installed."
> Dec 22 04:22:19 localhost NetworkManager[289]: <info> [1545448939.2045]
> device (wlp3s0): set-hw-addr: set MAC address to AE:C7:48:B4:FE:7E
> (scanning)
> Dec 22 04:22:19 localhost vmunix: [ 3281.066433] IPv6:
> ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
> Dec 22 04:22:19 localhost NetworkManager[289]: <info> [1545448939.2203]
> device (wlp3s0): supplicant interface state: inactive -> disabled
> Dec 22 04:22:19 localhost NetworkManager[289]: <info> [1545448939.2557]
> device (wlp3s0): supplicant interface state: disabled -> inactive
>
> config attached were it is installed systemwide.
>
> my user manifest is also attached were it is also installed.
>
> sdb@antelope ~/src/guix$ guix --version
> guix (GNU Guix) 0.16.0-3.6ddc63e
>
> running from git.
I can confirm the bug; it makes the network-manager-openvpn useless at
what it's supposed to be helpful with ;-).
Given that it seems to be a DBus error, I tried to modify our
network-manager-service-type so that it would consider the VPN plugins
as well when extending the dbus-system-service:
1 file changed, 10 insertions(+), 7 deletions(-)
gnu/services/networking.scm | 17 ++++++++++-------
modified gnu/services/networking.scm
@@ -919,25 +919,28 @@ and @command{wicd-curses} user interfaces."
(stop #~(make-kill-destructor))))))))
(define network-manager-service-type
- (let
- ((config->package
+ (let*
+ ((config->packages
(match-lambda
- (($ <network-manager-configuration> network-manager)
- (list network-manager)))))
+ (($ <network-manager-configuration> network-manager _ vpn-plugins)
+ `(,network-manager ,@vpn-plugins)))))
(service-type
(name 'network-manager)
(extensions
(list (service-extension shepherd-root-service-type
network-manager-shepherd-service)
- (service-extension dbus-root-service-type config->package)
- (service-extension polkit-service-type config->package)
+ (service-extension dbus-root-service-type config->packages)
+ (service-extension polkit-service-type
+ (compose
+ list
+ network-manager-configuration-network-manager))
(service-extension activation-service-type
(const %network-manager-activation))
(service-extension session-environment-service-type
network-manager-environment)
;; Add network-manager to the system profile.
- (service-extension profile-service-type config->package)))
+ (service-extension profile-service-type config->packages)))
(default-value (network-manager-configuration))
(description
"Run @uref{https://wiki.gnome.org/Projects/NetworkManager,
Unfortunately that didn't work... I'll have to read on DBus to debug
this further. Any help would be appreciated :-)
Thanks,
Maxim
next prev parent reply other threads:[~2019-01-09 12:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-22 3:28 bug#33832: The VPN service 'org.freedesktop.NetworkManager.openvpn' was not installed swedebugia
2019-01-09 12:54 ` Maxim Cournoyer [this message]
2019-01-10 12:51 ` Maxim Cournoyer
2019-02-19 20:10 ` Tomáš Čech
2019-03-06 13:19 ` Ludovic Courtès
2019-03-06 13:29 ` Tomáš Čech
2019-06-24 19:34 ` Jelle Licht
2019-06-26 8:20 ` Tomáš Čech
2019-09-27 20:46 ` Jelle Licht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874lai3sak.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=33832@debbugs.gnu.org \
--cc=swedebugia@riseup.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).