]> git.proxmox.com Git - redhat-cluster-pve.git/blob - debian/patches/fix-cman-init.diff
046568967005fb1d899fc5c5143c5b7aa9e83578
[redhat-cluster-pve.git] / debian / patches / fix-cman-init.diff
1
2 * check if cman_tool is installed
3
4 Index: new/cman/init.d/cman.in
5 ===================================================================
6 --- new.orig/cman/init.d/cman.in 2012-06-13 15:50:21.000000000 +0200
7 +++ new/cman/init.d/cman.in 2012-06-13 15:55:37.000000000 +0200
8 @@ -22,6 +22,8 @@
9 # save invokation for rollback ops
10 thisinvokation="$0"
11
12 +test -x @SBINDIR@/cman_tool || exit 0
13 +
14 chkconfig2()
15 {
16 case "$1" in
17 @@ -138,7 +140,7 @@
18 # When setting FENCE_JOIN to "no", it is important to check
19 # DLM_CONTROLD_OPTS to reflect expected behavior regarding fencing
20 # and quorum.
21 -[ -z "$FENCE_JOIN" ] && FENCE_JOIN="yes"
22 +[ -z "$FENCE_JOIN" ] && FENCE_JOIN="no"
23
24 # FENCED_OPTS -- allow extra options to be passed to fence daemon.
25 [ -z "$FENCED_OPTS" ] && FENCED_OPTS=""