[SCM] CTDB repository - branch master updated - ctdb-1.0.114-362-g171f98f
Ronnie Sahlberg
sahlberg at samba.org
Mon Oct 11 15:29:38 MDT 2010
The branch, master has been updated
via 171f98f6f7ce7d01f47c44043ad599702711b12d (commit)
from 2d478a39ed8303b0371112d61630660d12b7db2c (commit)
http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 171f98f6f7ce7d01f47c44043ad599702711b12d
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date: Tue Oct 12 08:02:18 2010 +1100
Make sure the statd directory exist before trying to access the
"update trigger" file.
CQ 1020344
-----------------------------------------------------------------------
Summary of changes:
config/events.d/60.nfs | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/config/events.d/60.nfs b/config/events.d/60.nfs
index 60de41e..cd5219a 100755
--- a/config/events.d/60.nfs
+++ b/config/events.d/60.nfs
@@ -25,6 +25,7 @@ case "$1" in
;;
startup)
ctdb_service_start
+ mkdir -p $CTDB_VARDIR/state/statd
touch $CTDB_VARDIR/state/statd/update-trigger
;;
@@ -107,6 +108,7 @@ case "$1" in
CURRENT_TIME=`date +"%s"`
expr "$CURRENT_TIME" ">" "(" "$LAST_UPDATE" "+" "60" ")" >/dev/null 2>/dev/null
[ $? = "0" ] && {
+ mkdir -p $CTDB_VARDIR/state/statd
touch $CTDB_VARDIR/state/statd/update-trigger
$CTDB_BASE/statd-callout updatelocal &
$CTDB_BASE/statd-callout updateremote &
--
CTDB repository
More information about the samba-cvs
mailing list