Activity log for bug #1200519

Date Who What changed Old value New value Message
2013-07-12 07:49:33 Avery-yates bug added bug
2013-07-12 07:55:46 Avery-yates bug added subscriber Stéphane Graber
2013-07-12 08:17:08 Avery-yates description 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. 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 openvpn start && service openvpn stop" yields the same result. When doing a "serice openvpn stop" followed by "service openvpn start" in a shell it 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.
2013-07-12 11:31:53 Launchpad Janitor openvpn (Ubuntu): status New Confirmed
2013-07-12 15:12:47 Simon Déziel attachment 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
2013-07-12 16:19:17 Ubuntu Foundations Team Bug Bot tags patch
2013-07-12 16:19:24 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2013-07-12 20:46:56 Simon Déziel bug watch added http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716794
2013-07-12 20:46:56 Simon Déziel bug task added openvpn (Debian)
2013-07-12 23:24:27 Bug Watch Updater openvpn (Debian): status Unknown New
2013-07-16 00:06:31 Bug Watch Updater openvpn (Debian): status New Fix Committed
2013-09-09 19:22:57 Bug Watch Updater openvpn (Debian): status Fix Committed Fix Released
2014-01-29 22:12:31 Simon Déziel branch linked lp:~sdeziel/openvpn/ubuntu-specific-fixes
2014-02-04 14:54:02 Launchpad Janitor openvpn (Ubuntu): status Confirmed Fix Released
2014-02-04 14:54:33 Launchpad Janitor branch linked lp:ubuntu/trusty-proposed/openvpn
2014-05-04 03:16:05 Launchpad Janitor branch linked lp:ubuntu/utopic-proposed/openvpn