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 result. When doing a "serice openvpn stop" followed by "service openvpn start" works. 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. 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