Univention Bugzilla – Bug 39447
docker sometimes not running after invoke-rc.d docker restart
Last modified: 2015-11-17 12:11:32 CET
The docker daemon sometimes is not running after an /etc/init.d/docker restart. This seems to happen because the stop action doesn't wait till the daemon is actually stopped. And the daemon sometimes seems to take a couple of seconds to exit. And then the start action doesn't do anything, because at that moment it's still there. Some seconds later the daemon exits. I suggest adding at least the option "--retry TERM/30" to the "start-stop-daemon --stop" call to make it wait. We had similar issues with the samba init script, where we even added sth like --retry TERM/30/KILL. Don't know if that's useful here. I would rather do --retry TERM/300, because the start-stop-daemon actually checks about every second, and I#d rather allow it to wait a bit longer rather than messing up the restart. Btw.: Please mention the Bug # in the leading lines of the svn patch. See also Bug #39273 +++ This bug was initially created as a clone of Bug #38549 +++
Added "--retry TERM/300" in r64228.
Ok
UCS 4.1 has been released: https://docs.software-univention.de/release-notes-4.1-0-en.html https://docs.software-univention.de/release-notes-4.1-0-de.html If this error occurs again, please use "Clone This Bug".