ctdb-doc: Make config migration script notice removed CTDB_BASE option
authorMartin Schwenke <martin@meltin.net>
Mon, 20 Aug 2018 03:38:25 +0000 (13:38 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 24 Aug 2018 08:59:20 +0000 (10:59 +0200)
This should never have been a user-level option, but some people used
it.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/doc/examples/config_migrate.sh
ctdb/doc/examples/config_migrate.test_input

index 8eefd03..d9d71da 100755 (executable)
@@ -155,6 +155,7 @@ check_removed_option ()
        _option="$1"
 
        grep -Fqx "$_option" <<EOF
+CTDB_BASE
 CTDB_PIDFILE
 CTDB_SOCKET
 CTDB_EVENT_SCRIPT_DIR
index 593ca4c..6c4b5a2 100644 (file)
@@ -1,3 +1,5 @@
+CTDB_BASE="/etc/ctdb"
+
 CTDB_RECOVERY_LOCK="/some/place/on/shared/storage"
 
 CTDB_NODES="/etc/ctdb/nodes"