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 <[email protected]>
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

Reply via email to