"service openvpn restart" broken. Stop returns before finishing.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openvpn (Debian) |
Fix Released
|
Unknown
|
|||
openvpn (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug 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 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.
description: | updated |
Changed in openvpn (Debian): | |
status: | Unknown → New |
Changed in openvpn (Debian): | |
status: | New → Fix Committed |
Changed in openvpn (Debian): | |
status: | Fix Committed → Fix Released |
Added Mr Stéphane Grabber to subscriber list since he seems to be involved with most OpenVpn packages on ubuntu so far.
Regards.