[Ocfs2-tools-devel] [PATCH 2/7] tools: Tweak the shutdown order of the init services

Sunil Mushran sunil.mushran at oracle.com
Thu Mar 17 17:31:46 PDT 2011


Patch changes the shutdown order of o2cb and ocfs2 init services
to stop before nfs. This is needed to handle the use case in which
the ocfs2 volume is a loopback file on nfs.

Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
---
 vendor/common/o2cb.init.sh |    2 +-
 vendor/common/ocfs2.init   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vendor/common/o2cb.init.sh b/vendor/common/o2cb.init.sh
index c4e46fb..b11abee 100644
--- a/vendor/common/o2cb.init.sh
+++ b/vendor/common/o2cb.init.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 # init fragment for O2CB.
 #
-# chkconfig: 2345 24 20
+# chkconfig: 2345 24 19
 # description: Load O2CB cluster services at system boot.
 #
 ### BEGIN INIT INFO
diff --git a/vendor/common/ocfs2.init b/vendor/common/ocfs2.init
index bd9a323..a3bbdcc 100755
--- a/vendor/common/ocfs2.init
+++ b/vendor/common/ocfs2.init
@@ -2,7 +2,7 @@
 # Copyright (c) 2005 Oracle
 # All rights reserved.
 #
-# chkconfig: 2345 25 19
+# chkconfig: 2345 25 18
 # description: Mount OCFS2 volumes at boot.
 #
 ### BEGIN INIT INFO
-- 
1.7.1




More information about the Ocfs2-tools-devel mailing list