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

Simon Déziel 1200519 at bugs.launchpad.net
Fri Jul 12 15:12:47 UTC 2013


@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 give
it a try and provide some feedback here.

** Patch added: "Use start-stop-daemon --retry instead of kill."
   https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/1200519/+attachment/3734623/+files/openvpn-fix-stop-race.patch

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/1200519/+subscriptions



More information about the Ubuntu-server-bugs mailing list