[PATCH] CTDB configuration changes and related cleanups
martin at meltin.net
Tue May 1 00:55:24 UTC 2018
This continues the march towards CTDB having a Samba-style
configuration file, which we can then use for various components.
* Drop support for CTDB_DBDIR=tmpfs
This is too hard to support in the new configuration scheme. This
can be easily automated in a flexible manner via a systemd
ExecStartPre option or via SysV init sysconfig or default script.
* Change default volatile database directory to new "volatile" subdirectory
This is necessary if we suggest that admins mount a tmpfs on the
volatile database directory - it can't contain the persistent
* Documentation tweaks to make subsequent changes more straightforward
* Drop configuration variables relating to notifications
CTDB will soon have a standard (i.e. not individually configurable)
directory where notification scripts can be placed. CTDB will use
this internally to integrate loosely coupled components. Others can
hook in to this as well.
* Change and/or drop some testing variables
New variable CTDB_LOCAL_DAEMON_MODE follows the new convention of
using environment variable for top-level testing options instead of
using user-visible command-line options.
--sloppy-start and --nopublicipcheck options are dropped because they
are now handled by CTDB_LOCAL_DAEMON_MODE.
CTDB_VALGRIND, --torture and --valgrinding are also dropped.
* Documentation of test and debugging options is moved to
ctdb/tests/README, instead of having these options in user level
* Clean up main(), including pulling one of the "client" functions into
* ctdbd now logs the logging location via syslog() when ctdbd is not
configured to log via syslog()
This replaces a warning logged by ctdbd_wrapper via logger(1).
* ctdbd_wrapper no longer warns when no recovery lock is configured
ctdbd already does this.
Please review and maybe push...
peace & happiness,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 76300 bytes
Desc: not available
More information about the samba-technical