[PATCH] ctdb-scripts: Fix CTDB_DBDIR=tmpfs support
martin at meltin.net
Wed Nov 18 05:20:00 UTC 2015
Various scripts (including debug_locks.sh, 00.ctdb, 05.system) need
CTDB_DBDIR to point to the right place... but it doesn't.
Move the rewriting of CTDB_DBDIR to loadconfig() so that it happens
for all scripts. Have this code set internal variable
CTDB_DBDIR_TMPFS_OPTIONS so that ctdbd_wrapper can do the mount.
This loses the generality that was present in dbdir_tmpfs_start() but
it wasn't being used anyway. If it is needed in the future then it
will be in the git history.
Gee it would be nice to get these things right the first time... :-)
Please review and push...
peace & happiness,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5046 bytes
Desc: not available
More information about the samba-technical