[Bug 1200519] Re: "service openvpn restart" broken. Stop returns before finishing.

2013-07-12 Thread Avery-yates
Added Mr Stéphane Grabber to subscriber list since he seems to be involved with most OpenVpn packages on ubuntu so far. Regards. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openvpn in Ubuntu. https://bugs.launchpad.net/bugs/1200519

[Bug 1200519] Re: "service openvpn restart" broken. Stop returns before finishing.

2013-07-12 Thread Avery-yates
Edit: This bug started with the move to openvpn 2.3.2-4ubuntu1 a few hours ago from now. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openvpn in Ubuntu. https://bugs.launchpad.net/bugs/1200519 Title: "service openvpn restart" bro

[Bug 1200519] Re: "service openvpn restart" broken. Stop returns before finishing.

2013-07-12 Thread Avery-yates
** Description changed: When restarting openvpn with "service openvpn restart" this occurs: Jul 12 09:37:03 Muur2 ovpn-client[3831]: TCP/UDP: Socket bind failed on local address [undef]: Address already in use Jul 12 09:37:04 Muur2 ovpn-client[3743]: WARNING: Failed running command (--

[Bug 1200519] Re: "service openvpn restart" broken. Stop returns before finishing.

2013-07-12 Thread Steven Peeters
I have the same result on vmware running a VM8 machine with vmxnet3 nic's. Although something is mentioned in the debian-unstable merge , quote "+ Do not use start-stop-daemon and https://bugs.launchpad.net/bugs/1200519 Title: "service openvpn restart" broken. Stop returns before finishing.

[Bug 1200519] Re: "service openvpn restart" broken. Stop returns before finishing.

2013-07-12 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: openvpn (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openvpn in Ubuntu. https://bugs.launchpad.net/bugs/12

[Bug 1200519] Re: "service openvpn restart" broken. Stop returns before finishing.

2013-07-12 Thread Simon Déziel
Avery, in comment #2 you mentioned it started with 2.3.2-4ubuntu1 but I noticed this problematic behavior since at least the version shipped in Precise: 2.2.1-8ubuntu1.1. The init script sleeps for 1 second between stop and start when asked to restart. As a temporary workaround, sleeping for 3 sec

[Bug 1200519] Re: "service openvpn restart" broken. Stop returns before finishing.

2013-07-12 Thread Avery-yates
Simon, thank you for taking the time to comment. I have just now tested this on another identical machine running 12.04. As you said , the issue exists there as well. I must not have encountered it before today. Still , this caused a part of my network to do down this morning when openvpn had re

[Bug 1200519] Re: "service openvpn restart" broken. Stop returns before finishing.

2013-07-12 Thread Avery-yates
@ simon Also , about changing the number of sleep seconds in a restart, that would not fix scripts that stop and start the openvpn service. If as a temporary measure a delay is chosen the delay should be put somewhere in "stop" not in "restart" Regards. -- You received this bug notification

[Bug 1200519] Re: "service openvpn restart" broken. Stop returns before finishing.

2013-07-12 Thread Simon Déziel
@Avery, I've put up a little patch for the initscript that removes all sleeps and wait for the PID file to vanish before considering the stop action completed. Since it now uses start-stop-daemon it should be a little bit clever. It works well with my 4 VPNs here but would appreciate if you could

[Bug 1200519] Re: "service openvpn restart" broken. Stop returns before finishing.

2013-07-12 Thread Ubuntu Foundations Team Bug Bot
The attachment "Use start-stop-daemon --retry instead of kill." seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launch

[Bug 1200519] Re: "service openvpn restart" broken. Stop returns before finishing.

2013-07-12 Thread Avery-yates
Works like a charm . Hoping it gets put in release. Thank you for the speedy replies. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openvpn in Ubuntu. https://bugs.launchpad.net/bugs/1200519 Title: "service openvpn restart" broke

[Bug 1200519] Re: "service openvpn restart" broken. Stop returns before finishing.

2013-07-12 Thread Simon Déziel
Thanks for testing Avery. I'll try to open a bug in Debian to hopefully have this fixed at the source. If that goes well, Ubuntu will be next. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openvpn in Ubuntu. https://bugs.launchpad.net

[Bug 1200519] Re: "service openvpn restart" broken. Stop returns before finishing.

2013-07-12 Thread Simon Déziel
** Bug watch added: Debian Bug tracker #716794 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716794 ** Also affects: openvpn (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716794 Importance: Unknown Status: Unknown -- You received this bug notification because y

[Bug 1200519] Re: "service openvpn restart" broken. Stop returns before finishing.

2013-07-12 Thread Bug Watch Updater
** Changed in: openvpn (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openvpn in Ubuntu. https://bugs.launchpad.net/bugs/1200519 Title: "service openvpn restart" broken. Stop returns before fin

[Bug 1200519] Re: "service openvpn restart" broken. Stop returns before finishing.

2013-07-15 Thread Bug Watch Updater
** Changed in: openvpn (Debian) Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openvpn in Ubuntu. https://bugs.launchpad.net/bugs/1200519 Title: "service openvpn restart" broken. Stop returns befo

[Bug 1200519] Re: "service openvpn restart" broken. Stop returns before finishing.

2013-08-18 Thread Avery-yates
The fix has a "upload pending" flag attached to it on debian. It seems to have been accepted but is stuck in the queue. Adding this comment to make sure it gets added to saucy before final beta, and definitely upon release. Friendly regards. -- You received this bug notification because you are

[Bug 1200519] Re: "service openvpn restart" broken. Stop returns before finishing.

2013-09-07 Thread Avery-yates
Still "Upload pending" on debian. making an 2.3.2-4ubuntu2 with the fix included would not be a bad idea at this point imo. The version that would eventually trickle down from debian would be the same anyway. Regards. -- You received this bug notification because you are a member of Ubuntu Se

[Bug 1200519] Re: "service openvpn restart" broken. Stop returns before finishing.

2013-09-09 Thread Bug Watch Updater
** Changed in: openvpn (Debian) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openvpn in Ubuntu. https://bugs.launchpad.net/bugs/1200519 Title: "service openvpn restart" broken. Stop ret

[Bug 1200519] Re: "service openvpn restart" broken. Stop returns before finishing.

2014-01-29 Thread Simon Déziel
** Branch linked: lp:~sdeziel/openvpn/ubuntu-specific-fixes -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openvpn in Ubuntu. https://bugs.launchpad.net/bugs/1200519 Title: "service openvpn restart" broken. Stop returns before finis

[Bug 1200519] Re: "service openvpn restart" broken. Stop returns before finishing.

2014-02-04 Thread Launchpad Bug Tracker
This bug was fixed in the package openvpn - 2.3.2-7ubuntu3 --- openvpn (2.3.2-7ubuntu3) trusty; urgency=medium [ Simon Deziel ] * Refresh delta with debian/openvpn.init.d: - Make stop action reliable by killing if needed (LP: #1274254, LP: #1200519) - Use new path for s