unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#29059: network-manager-service extension package not fully functional
@ 2017-10-29 20:27 ng0
  2017-11-12 21:37 ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: ng0 @ 2017-10-29 20:27 UTC (permalink / raw)
  To: 29059

[-- Attachment #1: Type: text/plain, Size: 647 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#29059: network-manager-service extension package not fully functional
  2017-10-29 20:27 bug#29059: network-manager-service extension package not fully functional ng0
@ 2017-11-12 21:37 ` Ludovic Courtès
  2017-11-14 12:23   ` ng0
  0 siblings, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2017-11-12 21:37 UTC (permalink / raw)
  To: ng0; +Cc: 29059

ng0 <ng0@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’.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#29059: network-manager-service extension package not fully functional
  2017-11-12 21:37 ` Ludovic Courtès
@ 2017-11-14 12:23   ` ng0
  2017-11-14 12:28     ` ng0
  0 siblings, 1 reply; 9+ messages in thread
From: ng0 @ 2017-11-14 12:23 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 29059

[-- Attachment #1: Type: text/plain, Size: 1653 bytes --]

Ludovic Courtès transcribed 1.0K bytes:
> ng0 <ng0@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#29059: network-manager-service extension package not fully functional
  2017-11-14 12:23   ` ng0
@ 2017-11-14 12:28     ` ng0
  2017-11-14 14:44       ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: ng0 @ 2017-11-14 12:28 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 29059

[-- Attachment #1: Type: text/plain, Size: 2365 bytes --]

ng0 transcribed 2.7K bytes:
> Ludovic Courtès transcribed 1.0K bytes:
> > ng0 <ng0@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#29059: network-manager-service extension package not fully functional
  2017-11-14 12:28     ` ng0
@ 2017-11-14 14:44       ` Ludovic Courtès
  2017-11-14 15:49         ` ng0
  0 siblings, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2017-11-14 14:44 UTC (permalink / raw)
  To: ng0; +Cc: 29059-done

Hi ng0,

ng0 <ng0@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’.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#29059: network-manager-service extension package not fully functional
  2017-11-14 14:44       ` Ludovic Courtès
@ 2017-11-14 15:49         ` ng0
  2017-11-14 16:14           ` Ricardo Wurmus
  2017-11-14 16:24           ` Ludovic Courtès
  0 siblings, 2 replies; 9+ messages in thread
From: ng0 @ 2017-11-14 15:49 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 29059

[-- Attachment #1: Type: text/plain, Size: 1240 bytes --]

Ludovic Courtès transcribed 0.8K bytes:
> Hi ng0,
> 
> ng0 <ng0@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#29059: network-manager-service extension package not fully functional
  2017-11-14 15:49         ` ng0
@ 2017-11-14 16:14           ` Ricardo Wurmus
  2017-11-14 16:31             ` ng0
  2017-11-14 16:24           ` Ludovic Courtès
  1 sibling, 1 reply; 9+ messages in thread
From: Ricardo Wurmus @ 2017-11-14 16:14 UTC (permalink / raw)
  To: ng0; +Cc: 29059

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#29059: network-manager-service extension package not fully functional
  2017-11-14 15:49         ` ng0
  2017-11-14 16:14           ` Ricardo Wurmus
@ 2017-11-14 16:24           ` Ludovic Courtès
  1 sibling, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2017-11-14 16:24 UTC (permalink / raw)
  To: ng0; +Cc: 29059

Howdy ng0,

ng0 <ng0@infotropique.org> skribis:

> Ludovic Courtès transcribed 0.8K bytes:
>> Hi ng0,
>> 
>> ng0 <ng0@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’.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#29059: network-manager-service extension package not fully functional
  2017-11-14 16:14           ` Ricardo Wurmus
@ 2017-11-14 16:31             ` ng0
  0 siblings, 0 replies; 9+ messages in thread
From: ng0 @ 2017-11-14 16:31 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 29059

[-- Attachment #1: Type: text/plain, Size: 1645 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-11-14 16:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-29 20:27 bug#29059: network-manager-service extension package not fully functional ng0
2017-11-12 21:37 ` Ludovic Courtès
2017-11-14 12:23   ` ng0
2017-11-14 12:28     ` ng0
2017-11-14 14:44       ` Ludovic Courtès
2017-11-14 15:49         ` ng0
2017-11-14 16:14           ` Ricardo Wurmus
2017-11-14 16:31             ` ng0
2017-11-14 16:24           ` Ludovic Courtès

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).