ctdb-daemon: Exit with error if a database directory does not exist
authorMartin Schwenke <martin@meltin.net>
Fri, 30 Nov 2018 01:44:26 +0000 (12:44 +1100)
committerAmitay Isaacs <amitay@samba.org>
Mon, 3 Dec 2018 05:56:41 +0000 (06:56 +0100)
commitdd7574afd1b2fb6a88defa154bc3d15e94f9ce0d
tree1ee68ebca56beb5d408fd8fa3ecbe2b19e495935
parent46a6c6ff6d2fc68e313bcb2cd2c65b5a6e7c1782
ctdb-daemon: Exit with error if a database directory does not exist

Since 4.9.0, the log messages can be confusing if a required database
directory does not exist.  Explicitly check for database directories,
logging a clear error and exiting if one is missing.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13696

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): Mon Dec  3 06:56:41 CET 2018 on sn-devel-144
ctdb/server/ctdbd.c