From: Martin Schwenke Date: Wed, 21 Feb 2018 03:57:07 +0000 (+1100) Subject: ctdb-scripts: Drop CTDB_SOCKET configuration option X-Git-Tag: talloc-2.1.12~128 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=81b57fa544830e78457691609c4c8dc2f6f17bcf;p=thirdparty%2Fsamba.git ctdb-scripts: Drop CTDB_SOCKET configuration option Use environment variables for test-only options. Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/config/ctdbd_wrapper b/ctdb/config/ctdbd_wrapper index 84f1376e679..79e130d39ab 100755 --- a/ctdb/config/ctdbd_wrapper +++ b/ctdb/config/ctdbd_wrapper @@ -21,8 +21,6 @@ fi . "${CTDB_BASE}/functions" loadconfig "ctdb" -[ -n "$CTDB_SOCKET" ] && export CTDB_SOCKET - ctdbd="${CTDBD:-/usr/local/sbin/ctdbd}" ############################################################ @@ -96,7 +94,6 @@ build_ctdb_options () # build up ctdb_options variable from optional parameters maybe_set "--logging" "$CTDB_LOGGING" maybe_set "--nlist" "$CTDB_NODES" - maybe_set "--socket" "$CTDB_SOCKET" maybe_set "--listen" "$CTDB_NODE_ADDRESS" maybe_set "--public-addresses" "$CTDB_PUBLIC_ADDRESSES" maybe_set "--public-interface" "$CTDB_PUBLIC_INTERFACE" diff --git a/ctdb/doc/ctdbd.conf.5.xml b/ctdb/doc/ctdbd.conf.5.xml index a18cf5a9450..1685692a106 100644 --- a/ctdb/doc/ctdbd.conf.5.xml +++ b/ctdb/doc/ctdbd.conf.5.xml @@ -378,24 +378,6 @@ - - CTDB_SOCKET=FILENAME - - - Defaults to /usr/local/var/run/ctdb/ctdbd.socket. - Corresponds to . - - - If you change this then you probably want to set this in - root's environment (perhaps in a file in - /etc/profile.d) so that you can use - the ctdb - 1 command in a - straightforward manner. - - - - CTDB_START_AS_DISABLED=yes|no