@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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to