This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
master - cman: init script best to require $time
- From: "Fabio M. Di Nitto" <fabbione at fedoraproject dot org>
- To: cluster-cvs-relay at redhat dot com
- Date: Wed, 27 Aug 2008 06:23:42 +0000 (UTC)
- Subject: 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