[SCM] CTDB repository - branch 1.2 updated - ctdb-1.9.1-477-g5fcfe31

Ronnie Sahlberg sahlberg at samba.org
Thu Aug 25 18:24:21 MDT 2011


The branch, 1.2 has been updated
       via  5fcfe318ea6654e9e360c5267e59b01f5dafe709 (commit)
      from  e73bcd36a477dfab5e0555fb3585d35bbab162f1 (commit)

http://gitweb.samba.org/?p=ctdb.git;a=shortlog;h=1.2


- Log -----------------------------------------------------------------
commit 5fcfe318ea6654e9e360c5267e59b01f5dafe709
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date:   Fri Aug 26 10:03:47 2011 +1000

    Sometimes external services will activate Samba in ctdb without doing hte proper and correct
    initialization and setup, which leads to the state directory never become created.
    
    Workaround this configuration issue by always creating the direcotry for now
    
    S1028573

-----------------------------------------------------------------------

Summary of changes:
 config/events.d/50.samba |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/config/events.d/50.samba b/config/events.d/50.samba
index 184fb2f..03bed85 100755
--- a/config/events.d/50.samba
+++ b/config/events.d/50.samba
@@ -236,6 +236,9 @@ case "$1" in
 	;;
 
      monitor)
+	# create the state directory for samba
+	/bin/mkdir -p $CTDB_VARDIR/state/samba
+
 	# Create a dummy file to track when we need to do periodic cleanup
 	# of samba databases
 	[ -f $CTDB_VARDIR/state/samba/periodic_cleanup ] || {


-- 
CTDB repository


More information about the samba-cvs mailing list