]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
STATD_SHARED_DIRECTORY should be define din the nfs sysconfig file and
authorRonnie Sahlberg <sahlberg@ronnie>
Sat, 2 Jun 2007 06:33:17 +0000 (16:33 +1000)
committerRonnie Sahlberg <sahlberg@ronnie>
Sat, 2 Jun 2007 06:33:17 +0000 (16:33 +1000)
not the ctdb sysconfig file since this variable has nothing at all to do
with ctdb

(This used to be ctdb commit d17073b7da5ecba1b93a5ed4fbdf86bf052fdc90)

ctdb/tools/ctdb.sysconfig
ctdb/tools/events.d/nfs
ctdb/tools/events.d/nfslock
ctdb/tools/statd-callout

index 16fcbd98967a8c3d8e51c43eed4bfc0deaf0f41c..b9909f0c078d7e5c77770d2e0532715d1d6f8377 100644 (file)
 # the default is 0
 # DEBUGLEVEL=0
 
-# the shared directory where you want to put statd information on
-# which clients to notify on a NFS restart
-# there is no default
-# STATD_SHARED_DIRECTORY="/some/shared/directory"
-
 # any other options you might want. Run ctdbd --help for a list
 # CTDB_OPTIONS=
 
index ef81864a7980dc81a89f62ab974d7e46d33d13b9..25ed971e04daf7347e25bc9272a58923dd16dde4 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # script to manage nfs in a clustered environment
 
-. /etc/sysconfig/ctdb
+. /etc/sysconfig/nfs
 . /etc/ctdb/functions
 
 cmd="$1"
index c831bc6567fd0c5f3a9395d637d5c6b5ef785270..6ba2730633987dfe2dfe43b2e753fd31e9c4604c 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/sh
 # event strict to manage lockd and statd in a cluster environment
 
-. /etc/sysconfig/ctdb
+. /etc/sysconfig/nfs
 . /etc/ctdb/functions
 
 cmd="$1"
index fd9a6a3f31a89f60bfc1fa9332bdcba43a0d0fb4..5572c5d6f494493ead5bf6af1bc3921f99373e4e 100755 (executable)
@@ -3,7 +3,7 @@
 # this script needs to be installed so that statd points to it with the -H 
 # command line argument. The easiest way to do that is 
 
-. /etc/sysconfig/ctdb
+. /etc/sysconfig/nfs
 
 [ -z "$STATD_SHARED_DIRECTORY" ] && exit 0