GNU bug report logs - #29059
network-manager-service extension package not fully functional

Previous Next

Package: guix;

Reported by: ng0 <ng0 <at> infotropique.org>

Date: Sun, 29 Oct 2017 20:29:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29059 in the body.
You can then email your comments to 29059 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#29059; Package guix. (Sun, 29 Oct 2017 20:29:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to ng0 <ng0 <at> infotropique.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 29 Oct 2017 20:29:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ng0 <ng0 <at> infotropique.org>
To: bug-guix <at> gnu.org
Subject: network-manager-service extension package not fully functional
Date: Sun, 29 Oct 2017 20:27:36 +0000
[Message part 1 (text/plain, inline)]
I have come to the conclusion (logs will be reproduced next week and added)
that network-manager-openvpn might not be functional when
used with the network-manager service, as
network-manager-vpnc is structured in a similar way
and it's similar structured in code and how it's being
activated.

I can only test the case for vpnc as I'm debugging
the package right now. It kind-of-works, but the rule
is not being found when you try to activate the
vpnc connection.
-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://dist.ng0.infotropique.org/dist/keys/
https://www.infotropique.org https://ng0.infotropique.org
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#29059; Package guix. (Sun, 12 Nov 2017 21:38:01 GMT) Full text and rfc822 format available.

Message #8 received at 29059 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: ng0 <ng0 <at> infotropique.org>
Cc: 29059 <at> debbugs.gnu.org
Subject: Re: bug#29059: network-manager-service extension package not fully
 functional
Date: Sun, 12 Nov 2017 22:37:27 +0100
ng0 <ng0 <at> infotropique.org> skribis:

> I have come to the conclusion (logs will be reproduced next week and added)
> that network-manager-openvpn might not be functional when
> used with the network-manager service, as
> network-manager-vpnc is structured in a similar way
> and it's similar structured in code and how it's being
> activated.
>
> I can only test the case for vpnc as I'm debugging
> the package right now. It kind-of-works, but the rule
> is not being found when you try to activate the
> vpnc connection.

Could you clarify a bit what you think is broken?

VPN extensions are definitely found (as can be seen for instance in
‘nm-connection-editor’) in my experience with a config like this:

           (network-manager-service-type
            config =>
            (network-manager-configuration
             (inherit config)
             (vpn-plugins (list (specification->package+output
                                 "network-manager-openvpn")))))

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#29059; Package guix. (Tue, 14 Nov 2017 12:24:01 GMT) Full text and rfc822 format available.

Message #11 received at 29059 <at> debbugs.gnu.org (full text, mbox):

From: ng0 <ng0 <at> infotropique.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 29059 <at> debbugs.gnu.org, ng0 <ng0 <at> infotropique.org>
Subject: Re: bug#29059: network-manager-service extension package not fully
 functional
Date: Tue, 14 Nov 2017 12:23:14 +0000
[Message part 1 (text/plain, inline)]
Ludovic Courtès transcribed 1.0K bytes:
> ng0 <ng0 <at> infotropique.org> skribis:
> 
> > I have come to the conclusion (logs will be reproduced next week and added)
> > that network-manager-openvpn might not be functional when
> > used with the network-manager service, as
> > network-manager-vpnc is structured in a similar way
> > and it's similar structured in code and how it's being
> > activated.
> >
> > I can only test the case for vpnc as I'm debugging
> > the package right now. It kind-of-works, but the rule
> > is not being found when you try to activate the
> > vpnc connection.
> 
> Could you clarify a bit what you think is broken?
>
> VPN extensions are definitely found (as can be seen for instance in
> ‘nm-connection-editor’) in my experience with a config like this:
> 
>            (network-manager-service-type
>             config =>
>             (network-manager-configuration
>              (inherit config)
>              (vpn-plugins (list (specification->package+output
>                                  "network-manager-openvpn")))))
> 
> Thanks,
> Ludo’.
> 

Like this, where "…" is a removed uuid:

Nov 14 12:16:35 localhost NetworkManager[421]: <info>  [1510661795.5451] audit: op="connection-activate" uuid="…" name="VPN HS-BO" pid=639 uid=1000 result="fail" reason="The VPN service 'org.freedesktop.NetworkManager.vpnc' was not installed."

NetworkManager-vpnc is in my profile (I have to send this in)
and the vpnc file and profile is correct.
-- 
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://dl.n0.is/dist/keys/
  WWW: https://we.make.ritual.n0.is
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#29059; Package guix. (Tue, 14 Nov 2017 12:30:01 GMT) Full text and rfc822 format available.

Message #14 received at 29059 <at> debbugs.gnu.org (full text, mbox):

From: ng0 <ng0 <at> infotropique.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 29059 <at> debbugs.gnu.org, ng0 <ng0 <at> infotropique.org>
Subject: Re: bug#29059: network-manager-service extension package not fully
 functional
Date: Tue, 14 Nov 2017 12:28:33 +0000
[Message part 1 (text/plain, inline)]
ng0 transcribed 2.7K bytes:
> Ludovic Courtès transcribed 1.0K bytes:
> > ng0 <ng0 <at> infotropique.org> skribis:
> > 
> > > I have come to the conclusion (logs will be reproduced next week and added)
> > > that network-manager-openvpn might not be functional when
> > > used with the network-manager service, as
> > > network-manager-vpnc is structured in a similar way
> > > and it's similar structured in code and how it's being
> > > activated.
> > >
> > > I can only test the case for vpnc as I'm debugging
> > > the package right now. It kind-of-works, but the rule
> > > is not being found when you try to activate the
> > > vpnc connection.
> > 
> > Could you clarify a bit what you think is broken?
> >
> > VPN extensions are definitely found (as can be seen for instance in
> > ‘nm-connection-editor’) in my experience with a config like this:
> > 
> >            (network-manager-service-type
> >             config =>
> >             (network-manager-configuration
> >              (inherit config)
> >              (vpn-plugins (list (specification->package+output
> >                                  "network-manager-openvpn")))))
> > 
> > Thanks,
> > Ludo’.
> > 
> 
> Like this, where "…" is a removed uuid:
> 
> Nov 14 12:16:35 localhost NetworkManager[421]: <info>  [1510661795.5451] audit: op="connection-activate" uuid="…" name="VPN HS-BO" pid=639 uid=1000 result="fail" reason="The VPN service 'org.freedesktop.NetworkManager.vpnc' was not installed."
> 
> NetworkManager-vpnc is in my profile (I have to send this in)
> and the vpnc file and profile is correct.

paste from my current systemconfig:

             ;; networking with network-manager
             (service wpa-supplicant-service-type wpa-supplicant)
             (service network-manager-service-type
                      (network-manager-configuration
                       (vpn-plugins (list network-manager-openvpn
                                          network-manager-vpnc))))


Context here: https://c.n0.is/systems/tree/guixsd/workstations/abyayala/config.scm

and this mess is the vpnc plugin for NM:
https://c.n0.is/ng0_guix/packages/tree/ng0/packages/personalized.scm#n213


-- 
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://dl.n0.is/dist/keys/
  WWW: https://we.make.ritual.n0.is
[signature.asc (application/pgp-signature, inline)]

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Tue, 14 Nov 2017 14:45:02 GMT) Full text and rfc822 format available.

Notification sent to ng0 <ng0 <at> infotropique.org>:
bug acknowledged by developer. (Tue, 14 Nov 2017 14:45:02 GMT) Full text and rfc822 format available.

Message #19 received at 29059-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: ng0 <ng0 <at> infotropique.org>
Cc: 29059-done <at> debbugs.gnu.org
Subject: Re: bug#29059: network-manager-service extension package not fully
 functional
Date: Tue, 14 Nov 2017 15:44:12 +0100
Hi ng0,

ng0 <ng0 <at> infotropique.org> skribis:

> paste from my current systemconfig:
>
>              ;; networking with network-manager
>              (service wpa-supplicant-service-type wpa-supplicant)
>              (service network-manager-service-type
>                       (network-manager-configuration
>                        (vpn-plugins (list network-manager-openvpn
>                                           network-manager-vpnc))))
>
>
> Context here: https://c.n0.is/systems/tree/guixsd/workstations/abyayala/config.scm
>
> and this mess is the vpnc plugin for NM:
> https://c.n0.is/ng0_guix/packages/tree/ng0/packages/personalized.scm#n213

I’m sorry but I can’t offer to address a bug that’s not in Guix proper.
That said, you’re welcome to submit network-manager-vpnc for inclusion!

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#29059; Package guix. (Tue, 14 Nov 2017 15:51:01 GMT) Full text and rfc822 format available.

Message #22 received at 29059 <at> debbugs.gnu.org (full text, mbox):

From: ng0 <ng0 <at> infotropique.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 29059 <at> debbugs.gnu.org, ng0 <ng0 <at> infotropique.org>
Subject: Re: bug#29059: network-manager-service extension package not fully
 functional
Date: Tue, 14 Nov 2017 15:49:48 +0000
[Message part 1 (text/plain, inline)]
Ludovic Courtès transcribed 0.8K bytes:
> Hi ng0,
> 
> ng0 <ng0 <at> infotropique.org> skribis:
> 
> > paste from my current systemconfig:
> >
> >              ;; networking with network-manager
> >              (service wpa-supplicant-service-type wpa-supplicant)
> >              (service network-manager-service-type
> >                       (network-manager-configuration
> >                        (vpn-plugins (list network-manager-openvpn
> >                                           network-manager-vpnc))))
> >
> >
> > Context here: https://c.n0.is/systems/tree/guixsd/workstations/abyayala/config.scm
> >
> > and this mess is the vpnc plugin for NM:
> > https://c.n0.is/ng0_guix/packages/tree/ng0/packages/personalized.scm#n213
> 
> I’m sorry but I can’t offer to address a bug that’s not in Guix proper.
> That said, you’re welcome to submit network-manager-vpnc for inclusion!
> 
> Thanks,
> Ludo’.
> 

Sorry, I mentioned in my initial message that vpnc AND openvpn are affected.
The error message is the same for OpenVPN and VPNC plugin.

This is not resolved.
-- 
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://dl.n0.is/dist/keys/
  WWW: https://we.make.ritual.n0.is
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#29059; Package guix. (Tue, 14 Nov 2017 16:17:01 GMT) Full text and rfc822 format available.

Message #25 received at 29059 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: ng0 <ng0 <at> infotropique.org>
Cc: 29059 <at> debbugs.gnu.org, Ludovic Courtès <ludo <at> gnu.org>
Subject: Re: bug#29059: network-manager-service extension package not fully
 functional
Date: Tue, 14 Nov 2017 17:14:31 +0100
Hi ng0,

So, actually, it’s just this?

  (service network-manager-service-type
           (network-manager-configuration
            (vpn-plugins (list network-manager-openvpn))))


And the error message is this?

> Nov 14 12:16:35 localhost NetworkManager[421]: <info>  [1510661795.5451] audit: op="connection-activate" uuid="…" name="VPN HS-BO" pid=639 uid=1000 result="fail" reason="The VPN service 'org.freedesktop.NetworkManager.openvpn' was not installed."

Please always provide a clear and minimal test case.  Otherwise we have
no chance of reproducing the problem.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net






Information forwarded to bug-guix <at> gnu.org:
bug#29059; Package guix. (Tue, 14 Nov 2017 16:25:02 GMT) Full text and rfc822 format available.

Message #28 received at 29059 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: ng0 <ng0 <at> infotropique.org>
Cc: 29059 <at> debbugs.gnu.org
Subject: Re: bug#29059: network-manager-service extension package not fully
 functional
Date: Tue, 14 Nov 2017 17:24:32 +0100
Howdy ng0,

ng0 <ng0 <at> infotropique.org> skribis:

> Ludovic Courtès transcribed 0.8K bytes:
>> Hi ng0,
>> 
>> ng0 <ng0 <at> infotropique.org> skribis:
>> 
>> > paste from my current systemconfig:
>> >
>> >              ;; networking with network-manager
>> >              (service wpa-supplicant-service-type wpa-supplicant)
>> >              (service network-manager-service-type
>> >                       (network-manager-configuration
>> >                        (vpn-plugins (list network-manager-openvpn
>> >                                           network-manager-vpnc))))
>> >
>> >
>> > Context here: https://c.n0.is/systems/tree/guixsd/workstations/abyayala/config.scm
>> >
>> > and this mess is the vpnc plugin for NM:
>> > https://c.n0.is/ng0_guix/packages/tree/ng0/packages/personalized.scm#n213
>> 
>> I’m sorry but I can’t offer to address a bug that’s not in Guix proper.
>> That said, you’re welcome to submit network-manager-vpnc for inclusion!
>> 
>> Thanks,
>> Ludo’.
>> 
>
> Sorry, I mentioned in my initial message that vpnc AND openvpn are affected.
> The error message is the same for OpenVPN and VPNC plugin.

You may be right, but it was not obvious to me that the OpenVPN and the
VPNC plugins would fail in exactly the same way, especially since the
error mentions the “org.freedesktop.NetworkManager.vpnc” DBus service.

As it is, I wouldn’t know how to act based on this bug report since I’m
not even sure how to reproduce it.

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#29059; Package guix. (Tue, 14 Nov 2017 16:33:02 GMT) Full text and rfc822 format available.

Message #31 received at 29059 <at> debbugs.gnu.org (full text, mbox):

From: ng0 <ng0 <at> infotropique.org>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 29059 <at> debbugs.gnu.org, Ludovic Courtès <ludo <at> gnu.org>,
 ng0 <ng0 <at> infotropique.org>
Subject: Re: bug#29059: network-manager-service extension package not fully
 functional
Date: Tue, 14 Nov 2017 16:31:47 +0000
[Message part 1 (text/plain, inline)]
Ricardo Wurmus transcribed 0.7K bytes:
> Hi ng0,
> 
> So, actually, it’s just this?
> 
>   (service network-manager-service-type
>            (network-manager-configuration
>             (vpn-plugins (list network-manager-openvpn))))
> 
> 
> And the error message is this?
> 
> > Nov 14 12:16:35 localhost NetworkManager[421]: <info>  [1510661795.5451] audit: op="connection-activate" uuid="…" name="VPN HS-BO" pid=639 uid=1000 result="fail" reason="The VPN service 'org.freedesktop.NetworkManager.openvpn' was not installed."
> 
> Please always provide a clear and minimal test case.  Otherwise we have
> no chance of reproducing the problem.
> 
> --
> Ricardo
> 
> GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
> https://elephly.net

More or less.
To be more precise:

Before I packaged the vpnc plugin, I just had the openvpn plugin
with a config and error message as you described.

With vpnc it's the same, I filed this bug with the assumption that
both errors are related. nothing provides
org.freedesktop.NetworkManager.openvpn or org.freedesktop.NetworkManager.vpnc
The files that should provide them are missing, I've double checked this.

The subject line for the bug could've been better.

I have this really unnecessary and sadly
mandatory presence lecture tomorrow, I'll prepare the vpnc package
and send it then, so that you can apply what I work with.

Of course you need an VPNC test case, I only need this because
of the eduroam here in Bochum.
-- 
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://dl.n0.is/dist/keys/
  WWW: https://we.make.ritual.n0.is
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 13 Dec 2017 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 193 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.