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

Avery-yates 1200519 at bugs.launchpad.net
Fri Jul 12 07:49:33 UTC 2013

Public bug reported:

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 (--up/--down): external program exited with error status: 255

Failing openvpn services to restart.

Using "Service openvon start && service openvpn stop" yields the same

When doing a "serice openvpn stop" followed by "service openvpn start"

I presume openvpn returns before making sure the sockets it uses are
closed properly or sockets report being closed wrongly.

This is a serious bug . Machines become inaccessible after updates that
require openvpn to be restarted.

Thank you for looking into this.

** Affects: openvpn (Ubuntu)
     Importance: Undecided
         Status: New

You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in Ubuntu.

  "service openvpn restart" broken. Stop returns before finishing.

To manage notifications about this bug go to:

More information about the Ubuntu-server-bugs mailing list