Since commit
84f5528d9b526b1e9cb02c245e816c0c5e54c3bc, CTDB will not
remove an existing socket if it can connect to the existing one.
Instead it will fail to start.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Wed Oct 28 09:44:37 CET 2015 on sn-devel-104
# About to start new $ctdbd. The main daemon is not running but
# there may still be other processes around, so do some cleanup.
# About to start new $ctdbd. The main daemon is not running but
# there may still be other processes around, so do some cleanup.
- # Note that starting ctdbd below will destroy the Unix domain
- # socket, so any processes that aren't yet completely useless soon
- # will be, so this can really do no harm.
kill_ctdbd "$_session"
build_ctdb_options
kill_ctdbd "$_session"
build_ctdb_options