[PATCH] CTDB configuration clean-ups

Martin Schwenke martin at meltin.net
Mon Nov 5 00:24:09 UTC 2018


This patch set drops ad hoc usage of CTDB_SOCKET and CTDB_PIDFILE
environment variables.  Instead, common path handling is now used
throughout the code.  As documented in tests/README, this
means that compile-time defaults are used unless CTDB_TEST_MODE and
CTDB_BASE are set, in which case locations relative to CTDB_BASE are
used.

However, note that the first commit adds an exception for CTDB_SOCKET to
the common path handling.  This is used when the caller asks for the
socket path for "ctdbd" (and when CTDB_SOCKET is set).

Please review and maybe push...

peace & happiness,
martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctdb-config.patch
Type: text/x-patch
Size: 17487 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20181105/7c6e3f7b/ctdb-config.bin>


More information about the samba-technical mailing list