Debian Bug report logs - #524989
network-manager-openvpn is unable to connect to an openvpn server because of an openvpn bug

version graph

Package: network-manager-openvpn; Maintainer for network-manager-openvpn is Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>; Source for network-manager-openvpn is src:network-manager-openvpn (PTS, buildd, popcon).

Reported by: Mathieu Goessens <gebura@poolp.org>

Date: Tue, 21 Apr 2009 10:48:08 UTC

Severity: important

Found in version network-manager-openvpn/0.7.1-1

Reply or subscribe to this bug.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#524989; Package network-manager-openvpn. (Tue, 21 Apr 2009 10:48:10 GMT) (full text, mbox, link).


Acknowledgement sent to Mathieu Goessens <gebura@poolp.org>:
New Bug report received and forwarded. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Tue, 21 Apr 2009 10:48:10 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Mathieu Goessens <gebura@poolp.org>
To: submit@bugs.debian.org
Subject: network-manager-openvpn is unable to connect to an openvpn server because of an openvpn bug
Date: Tue, 21 Apr 2009 12:43:16 +0200
Package: network-manager-openvpn
Version: 0.7.1-1
Severity: important

Hi,

Because of the bug #524979 , network-manager may be unable to connect to 
an openvpn server.


You should see this line in logs:
NetworkManager: <info>  VPN connection 'VPN 1' (IP Config Get) timeout 
exceeded.
(despite openvpn establish the connection)


Workaround (dirty) :

earth% LANG=C; sudo dpkg-divert 
/usr/lib/NetworkManager/nm-openvpn-service-openvpn-helper
Adding `local diversion of 
/usr/lib/NetworkManager/nm-openvpn-service-openvpn-helper to 
/usr/lib/NetworkManager/nm-openvpn-service-openvpn-helper.distrib'
earth% sudo cat <<EOF >> 
/usr/lib/NetworkManager/nm-openvpn-service-openvpn-helper
#!/bin/sh
export trusted_ip=your.server.ip.address
/usr/lib/NetworkManager/nm-openvpn-service-openvpn-helper.distrib $@
exit 0;
EOF
earth% sudo chmod 755 
/usr/lib/NetworkManager/nm-openvpn-service-openvpn-helper

If you are using many hosts you can use:

if [ ifconfig_remote='192.168.10.1 ]; then
  export trusted_ip=your.server.ip.address
fi;

if [ ifconfig_remote='10.23.0.1 ]; then
  export trusted_ip=your.2nd_server.ip.address
fi;

etc...



If you want to see what vars you can access, you can put:
set > /tmp/nm-debug
in the script

Note that the testing version was also unable to connect but i upgraded 
to sid version
before finding the workaround. It May work, but use at your own risk :)
(directory is different, something like /usr/lib/network-manager-openvpn)

Regards,
Mathieu


-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (990, 'stable'), (500, 'unstable'), (99, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages network-manager-openvpn depends on:
ii  libc6                         2.9-4      GNU C Library: Shared 
libraries
ii  libdbus-1-3                   1.2.12-1   simple interprocess 
messaging syst
ii  libdbus-glib-1-2              0.80-3     simple interprocess 
messaging syst
ii  libglib2.0-0                  2.20.0-2   The GLib library of C routines
ii  libnm-glib-vpn0               0.7.1-1    network management 
framework (GLib
ii  libnm-glib0                   0.7.1-1    network management 
framework (GLib
ii  libnm-util1                   0.7.1-1    network management 
framework (shar
ii  openvpn                       2.1~rc11-1 virtual private network daemon

network-manager-openvpn recommends no packages.

network-manager-openvpn suggests no packages.

-- no debconf information





Information forwarded to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#524989; Package network-manager-openvpn. (Tue, 25 Nov 2014 05:06:05 GMT) (full text, mbox, link).


Acknowledgement sent to Federico Bruni <fedelogy@gmail.com>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Tue, 25 Nov 2014 05:06:05 GMT) (full text, mbox, link).


Message #10 received at 524989@bugs.debian.org (full text, mbox, reply):

From: Federico Bruni <fedelogy@gmail.com>
To: Debian Bug Tracking System <524989@bugs.debian.org>
Subject: Re: network-manager-openvpn is unable to connect to an openvpn server because of an openvpn bug
Date: Tue, 25 Nov 2014 06:03:29 +0100
Package: network-manager-openvpn
Followup-For: Bug #524989

I don't know if the bug still exists, but I can see that bug #524979 was fixed in July 2009:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524979#10

I wonder if the OP thinks that this bug should be closed...

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (800, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages network-manager-openvpn depends on:
ii  libc6             2.19-13
ii  libdbus-1-3       1.8.10-1
ii  libdbus-glib-1-2  0.102-1
ii  libglib2.0-0      2.42.1-1
ii  libnm-glib-vpn1   0.9.10.0-3
ii  libnm-glib4       0.9.10.0-3
ii  libnm-util2       0.9.10.0-3
ii  openvpn           2.3.4-4

network-manager-openvpn recommends no packages.

network-manager-openvpn suggests no packages.

-- no debconf information



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jan 7 02:52:30 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.