This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

master - cman: init script best to require $time


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=e9816024281b6df0c1cad6fef1b97453883b5335
Commit:        e9816024281b6df0c1cad6fef1b97453883b5335
Parent:        ddb6979ad9935c258e82c23d71bddb4c9a408b5c
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Wed Aug 27 08:20:54 2008 +0200
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Wed Aug 27 08:20:54 2008 +0200

cman: init script best to require $time

I was getting some weird OOPS when using dlm based applications
on one of the nodes. After a long debugging session it turns out
that the node had a clock skew of several minutes.

Depend on $time to be executed before we start to soften the problem
by syncing date on all nodes.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 cman/init.d/cman |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cman/init.d/cman b/cman/init.d/cman
index 34932af..e25e09f 100644
--- a/cman/init.d/cman
+++ b/cman/init.d/cman
@@ -8,8 +8,8 @@
 #
 ### BEGIN INIT INFO
 # Provides:		cman
-# Required-Start:	$network
-# Required-Stop:	$network
+# Required-Start:	$network $time
+# Required-Stop:	$network $time
 # Default-Start:
 # Default-Stop:
 # Short-Description:	Starts and stops cman


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]