[PATCH] ctdb/eventscripts: Move all eventscript state under $CTDB_VARDIR/state

Martin Schwenke martin at meltin.net
Tue Jan 14 17:02:47 MST 2014

Services can be flagged for reconfigure when they release IPs at
shutdown.  The flag is never removed and the services is prematurely
reconfigured during the first "ipreallocated" event, before any IPs
are hosted and before the "startup" event has actually started the

$CTDB_VARDIR/state directly contained the service state subdirectories
and is already removed in the "init" event.  Just push the service
state subdirectories down a level and put everything else in a

This way all the eventscript state gets cleaned up every time CTDB
starts up.

peace & happiness,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-ctdb-eventscripts-Move-all-eventscript-state-under-C.patch
Type: text/x-patch
Size: 1991 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140115/1e1aa5ef/attachment.bin>

More information about the samba-technical mailing list