]> git.ipfire.org Git - thirdparty/samba.git/commit
ctdb-config: depend on /etc/ctdb/nodes file
authorRafael David Tinoco <rafaeldtinoco@ubuntu.com>
Thu, 27 Jun 2019 20:12:25 +0000 (20:12 +0000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 5 Jul 2019 06:49:16 +0000 (06:49 +0000)
commitc5803507df7def388edcd5b6cbfee30cd217b536
treed352cf7c2ac34b2f7c1b4fb7c2b9069502ac7d43
parenta0561c7ed44afcc978f940a7936a210f37baf273
ctdb-config: depend on /etc/ctdb/nodes file

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

CTDB should start as a disabled unit (systemd) in most of the
distributions and, when trying to enable it for the first time, user
should get an unconfigured, or similar, error.

Depending on /etc/ctdb/nodes file will give a clear direction to final
user on what is needed in order to get cluster up and running. It should
work like previous ENABLED=NO variables in SySV like initialization
scripts.

Signed-off-by: Rafael David Tinoco <rafaeldtinoco@ubuntu.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/config/ctdb.service