all script where used call to 'cdtb' not work if set CTDB_SOCKET in config need patch sed -e "s:ctdb :ctdb --socket=\$CTDB_SOCKET :g" -i /etc/ctdb/* also echo " alias ctdb=\"ctdb --socket=\$CTDB_SOCKET\"" >> ~/.bashrc
I guess this was fixed with commit e11b6d (in version 1.0.85)?
Fixed long ago. These days ctdbd_wrapper exports CTDB_SOCKET if it is set, so all calls to the ctdb tool will get it via an environment variable. That said, the compile-time location of the socket is now sensible. Changing it is not recommended, except in a test environment where you want to run multiple daemons on a single machine.