Debian Bug report logs - #667611
n-m-openvpn shuts down VPN when openvpn soft-restarts

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: Christian Michallek <christian.michallek@etecture.de>

Date: Thu, 5 Apr 2012 10:30:01 UTC

Severity: normal

Found in versions network-manager-openvpn/0.9.4.0-1, network-manager-openvpn/1.2.0-1, network-manager-openvpn/1.2.8-2

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#667611; Package network-manager-openvpn. (Thu, 05 Apr 2012 10:30:04 GMT) (full text, mbox, link).


Acknowledgement sent to Christian Michallek <christian.michallek@etecture.de>:
New Bug report received and forwarded. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Thu, 05 Apr 2012 10:30:07 GMT) (full text, mbox, link).


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

From: Christian Michallek <christian.michallek@etecture.de>
To: <submit@bugs.debian.org>
Subject: n-m-openvpn shuts down VPN when openvpn soft-restarts
Date: Thu, 5 Apr 2012 12:18:23 +0200
Package: network-manager-openvpn
Version: 0.9.4.0-1

I thought i copy this bug over here, because its already quite old and 
still not fixed.
https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/280160

I can confirm the same behavior in debian squeeze and wheezy.
at least there is an workaround avaliable.

There is an Openvpn ticket too:
https://community.openvpn.net/openvpn/ticket/93

but not much progress there ether.


greetings

Christian





Information forwarded to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#667611; Package network-manager-openvpn. (Fri, 11 Apr 2014 00:54:04 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Hommey <mh@glandium.org>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Fri, 11 Apr 2014 00:54:04 GMT) (full text, mbox, link).


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

From: Mike Hommey <mh@glandium.org>
To: Christian Michallek <christian.michallek@etecture.de>, 667611@bugs.debian.org
Subject: Re: Bug#667611: n-m-openvpn shuts down VPN when openvpn soft-restarts
Date: Fri, 11 Apr 2014 09:33:18 +0900
On Fri, Apr 11, 2014 at 09:29:52AM +0900, Mike Hommey wrote:
> On Thu, Apr 05, 2012 at 12:18:23PM +0200, Christian Michallek wrote:
> > Package: network-manager-openvpn
> > Version: 0.9.4.0-1
> > 
> > I thought i copy this bug over here, because its already quite old and still
> > not fixed.
> > https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/280160
> > 
> > I can confirm the same behavior in debian squeeze and wheezy.
> > at least there is an workaround avaliable.
> > 
> > There is an Openvpn ticket too:
> > https://community.openvpn.net/openvpn/ticket/93
> > 
> > but not much progress there ether.
> 
> This bug still exists, and is annoying. Even more now that
> /usr/lib/NetworkManager/nm-openvpn-service-openvpn-helper is an
> executable instead of a script, which makes the workaround not work.

Actually, I misread the workaround. It should still work. Just better to
use dpkg-divert than mv.

Mike



Information forwarded to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#667611; Package network-manager-openvpn. (Fri, 11 Apr 2014 00:54:08 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Hommey <mh@glandium.org>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Fri, 11 Apr 2014 00:54:08 GMT) (full text, mbox, link).


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

From: Mike Hommey <mh@glandium.org>
To: Christian Michallek <christian.michallek@etecture.de>, 667611@bugs.debian.org
Subject: Re: Bug#667611: n-m-openvpn shuts down VPN when openvpn soft-restarts
Date: Fri, 11 Apr 2014 09:29:52 +0900
On Thu, Apr 05, 2012 at 12:18:23PM +0200, Christian Michallek wrote:
> Package: network-manager-openvpn
> Version: 0.9.4.0-1
> 
> I thought i copy this bug over here, because its already quite old and still
> not fixed.
> https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/280160
> 
> I can confirm the same behavior in debian squeeze and wheezy.
> at least there is an workaround avaliable.
> 
> There is an Openvpn ticket too:
> https://community.openvpn.net/openvpn/ticket/93
> 
> but not much progress there ether.

This bug still exists, and is annoying. Even more now that
/usr/lib/NetworkManager/nm-openvpn-service-openvpn-helper is an
executable instead of a script, which makes the workaround not work.

Mike



Information forwarded to debian-bugs-dist@lists.debian.org, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#667611; Package network-manager-openvpn. (Mon, 09 May 2016 13:45:05 GMT) (full text, mbox, link).


Acknowledgement sent to Matthew Gabeler-Lee <cheetah@fastcat.org>:
Extra info received and forwarded to list. Copy sent to Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Mon, 09 May 2016 13:45:05 GMT) (full text, mbox, link).


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

From: Matthew Gabeler-Lee <cheetah@fastcat.org>
To: Debian Bug Tracking System <667611@bugs.debian.org>
Subject: Re: n-m-openvpn shuts down VPN when openvpn soft-restarts
Date: Mon, 09 May 2016 09:41:39 -0400
Package: network-manager-openvpn
Version: 1.2.0-1
Followup-For: Bug #667611

I think the root cause of this issue may have changed over time, given the
activity on the upstream openvpn bug report, but the fact that it still
fails.

I see this locally with this error in the logs:

May  9 09:18:49 bengal nm-openvpn[20895]: Preserving previous TUN/TAP instance: tap0
May  9 09:18:49 bengal nm-openvpn[20895]: /usr/lib/NetworkManager/nm-openvpn-service-openvpn-helper --bus-name org.freedesktop.NetworkManager.openvpn.Connection_53 --tap -- tap0 1500 1574 10.0.0.175 255.255.255.0 restart
May  9 09:18:49 bengal nm-openvpn[20895]: WARNING: Failed running command (--up/--down): could not execute external program
May  9 09:18:49 bengal nm-openvpn[20895]: Exiting due to fatal error

I think the problem now is that you can't use --up-restart with --chroot,
unless the --up script is also present at the same path in the chroot.

PS: #567153 is probably a duplicate of this issue.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'buildd-unstable'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.5.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages network-manager-openvpn depends on:
ii  adduser       3.114
ii  libc6         2.22-7
ii  libglib2.0-0  2.48.0-1
ii  libnm0        1.2.0-1
ii  openvpn       2.3.10-1

network-manager-openvpn recommends no packages.

network-manager-openvpn suggests no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, nsouch@free.fr, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>:
Bug#667611; Package network-manager-openvpn. (Sun, 20 Aug 2017 21:27:05 GMT) (full text, mbox, link).


Acknowledgement sent to nsouch <nsouch@free.fr>:
Extra info received and forwarded to list. Copy sent to nsouch@free.fr, Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>. (Sun, 20 Aug 2017 21:27:05 GMT) (full text, mbox, link).


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

From: nsouch <nsouch@free.fr>
To: Debian Bug Tracking System <667611@bugs.debian.org>
Subject: Re: n-m-openvpn shuts down VPN when openvpn soft-restarts
Date: Sun, 20 Aug 2017 23:15:05 +0200
Package: network-manager-openvpn
Version: 1.2.8-2
Followup-For: Bug #667611

Workaround used according to Christian's suggestion about chroot not
holding the --up script : mv /var/lib/openvpn/chroot /var/lib/openvpn/chroot.disabled
thus preventing chrooting.

-nsouch

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 4.9.30 (SMP w/1 CPU core)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages network-manager-openvpn depends on:
ii  adduser          3.115
ii  libc6            2.24-11+deb9u1
ii  libglib2.0-0     2.50.3-2
ii  libnm0           1.6.2-3
ii  network-manager  1.6.2-3
ii  openvpn          2.4.0-6+deb9u1

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: Sat Jan 6 04:07:28 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.