[SCM] CTDB repository - branch master updated - 7c569720beb626617d800211faaf9029f0deb4cf

Ronnie Sahlberg sahlberg at samba.org
Sun May 11 04:35:18 GMT 2008


The branch, master has been updated
       via  7c569720beb626617d800211faaf9029f0deb4cf (commit)
      from  c4c2c53918da6fb566d6e9cbd6b02e61ae2921e7 (commit)

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


- Log -----------------------------------------------------------------
commit 7c569720beb626617d800211faaf9029f0deb4cf
Author: Ronnie Sahlberg <ronniesahlberg at gmail.com>
Date:   Sun May 11 14:30:43 2008 +1000

    when pulling the nfs directories to check during 60.nfs monitor
    grep for lines starting with a '/' character since exportfs will sometimes
    split a single export line into two lines of output    like this :
    
    [root at fscc-hs21-13 ~]# exportfs
    /NFS4exports/tmp
                    <world>
    /NFS4exports    <world>

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

Summary of changes:
 config/events.d/60.nfs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/config/events.d/60.nfs b/config/events.d/60.nfs
index 182d250..5aaf693 100755
--- a/config/events.d/60.nfs
+++ b/config/events.d/60.nfs
@@ -96,7 +96,7 @@ case $cmd in
 	ctdb_check_rpc "NFS" 100003 3
 
 	# and that its directories are available
-	nfs_dirs=$(exportfs | grep -v '^#' | awk {'print $1;'})
+	nfs_dirs=$(exportfs | grep -v '^#' | grep '^/' | awk {'print $1;'})
 	ctdb_check_directories "nfs" $nfs_dirs
 
 	# check that lockd responds to rpc requests


-- 
CTDB repository


More information about the samba-cvs mailing list