tags 716794 + pending thanks On Fri, Jul 12, 2013 at 04:41:49PM -0400, Simon Deziel wrote: > Restarting a VPN connection sometimes fails due to a race between the > connection tear down and the re-execution. Here is a log extract > generated by a restart (triggered at 16:15:30): > > This race occurs because the tear down takes longer than the 1 second > pause between "stop" and "start" actions. > > Please find a patch attached that replaces the kill command by > start-stop-daemon with the --retry option. The patched was tested by an > Ubuntu user and myself (both on Ubuntu).
Hi Simon, Thanks for the patch. I'll be included in the next upload. > Please let me know what you think about the patch. I've also examine the > delta in the initscript from Debian and Ubuntu and don't see any reason > why they couldn't be unified. If that is also something you could > consider, I'd be please to provide you more patches. Sure, I'd consider them if the are simple and useful. Don't want to make the init script more complicated than necessary. Thanks a lot, Alberto -- Alberto Gonzalez Iniesta | Formación, consultoría y soporte técnico agi@(inittab.org|debian.org)| en GNU/Linux y software libre Encrypted mail preferred | http://inittab.com Key fingerprint = 5347 CBD8 3E30 A9EB 4D7D 4BF2 009B 3375 6B9A AA55 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

