]> git.proxmox.com Git - redhat-cluster-pve.git/commitdiff
Fix startup order
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 30 Aug 2011 13:23:08 +0000 (15:23 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 30 Aug 2011 13:23:08 +0000 (15:23 +0200)
And do not install useless docs.

debian/patches/fix-lsb-header.diff
debian/patches/fix-rgmanager-init.diff
debian/redhat-cluster-pve.docs [deleted file]
debian/redhat-cluster-pve.postinst
debian/redhat-cluster-pve.postrm

index 84cc6c68e98dbe57553e60eae2d58da7590b76db..813b0f048bca6c3f2f4221d3b069a94c3754bd36 100644 (file)
@@ -1,7 +1,7 @@
 Index: new/cman/init.d/cman.in
 ===================================================================
---- new.orig/cman/init.d/cman.in       2010-12-02 07:34:43.000000000 +0100
-+++ new/cman/init.d/cman.in    2010-12-17 15:22:32.000000000 +0100
+--- new.orig/cman/init.d/cman.in       2011-08-30 11:58:11.000000000 +0200
++++ new/cman/init.d/cman.in    2011-08-30 11:58:46.000000000 +0200
 @@ -8,10 +8,10 @@
  #
  ### BEGIN INIT INFO
@@ -10,10 +10,10 @@ Index: new/cman/init.d/cman.in
 -# Required-Stop:      $network $time
 -# Default-Start:
 -# Default-Stop:
-+# Required-Start:     pve-cluster
-+# Required-Stop:      pve-cluster
-+# Default-Start:        S
-+# Default-Stop:         0 6
++# Required-Start:     $remote_fs pve-cluster
++# Required-Stop:      $remote_fs pve-cluster
++# Default-Start:        2 3 4 5
++# Default-Stop:         0 6
  # Short-Description:  Starts and stops cman
  # Description:                Starts and stops the Cluster Manager set of daemons
  ### END INIT INFO
index 53525e8964c79eee8d69cd504341163adc26029d..91e3817d4e80e4c82148c5fcaed31d08f97b01c7 100644 (file)
@@ -1,15 +1,19 @@
 Index: new/rgmanager/init.d/rgmanager.in
 ===================================================================
---- new.orig/rgmanager/init.d/rgmanager.in     2011-07-19 12:52:29.000000000 +0200
-+++ new/rgmanager/init.d/rgmanager.in  2011-08-19 10:26:15.000000000 +0200
-@@ -8,8 +8,8 @@
+--- new.orig/rgmanager/init.d/rgmanager.in     2011-08-25 07:31:44.000000000 +0200
++++ new/rgmanager/init.d/rgmanager.in  2011-08-30 11:57:34.000000000 +0200
+@@ -6,10 +6,10 @@
+ #
+ ### BEGIN INIT INFO
  # Provides:           rgmanager
- # Required-Start:     cman
- # Required-Stop:      cman
+-# Required-Start:     cman
+-# Required-Stop:      cman
 -# Default-Start:
 -# Default-Stop:
-+# Default-Start:        S
-+# Default-Stop:         0 6
++# Required-Start:     $remote_fs cman
++# Required-Stop:      $remote_fs cman
++# Default-Start:        2 3 4 5
++# Default-Stop:         0 1 6
  # Short-Description:  Starts and stops Red Hat Service (resource group) Manager
  # Description:                Starts and stops Red Hat Service (resource group) Manager
  ### END INIT INFO
diff --git a/debian/redhat-cluster-pve.docs b/debian/redhat-cluster-pve.docs
deleted file mode 100644 (file)
index 9e7e8cc..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-doc/COPYING.applications
-doc/COPYING.libraries
-doc/usage.txt
-rgmanager/errors.txt
index 6757882df371fb476959723db1493bb52211a7b2..d7b406e1355d3ffe671b12cf09fc397d9dc9b0b8 100644 (file)
@@ -32,13 +32,10 @@ case "$1" in
 esac
 
 if [ -x "/etc/init.d/cman" ]; then
-        update-rc.d cman start 61 S . start 5 0 6 . >/dev/null || exit $?
-fi
-if [ -x "/etc/init.d/gfs2" ]; then
-        update-rc.d gfs2 start 65 S . start 2 0 6 . >/dev/null || exit $?
+        update-rc.d cman start 21 2 3 4 5 . stop 79 0 1 6 . >/dev/null || exit $?
 fi
 if [ -x "/etc/init.d/rgmanager" ]; then
-        update-rc.d rgmanager start 65 S . start 1 0 6 . >/dev/null || exit $?
+        update-rc.d rgmanager start 99 2 3 4 5 . stop 1 0 1 6 . >/dev/null || exit $?
 fi
 
 # dh_installdeb will replace this with shell code automatically
index 4f0c6d91b9e5a3242bc66c4460c801ee814b5b62..8f525b5257624d40c954cb77a86e430b136cae4c 100644 (file)
@@ -22,7 +22,6 @@ set -e
 case "$1" in
     purge)
        update-rc.d cman remove >/dev/null || exit $?
-       update-rc.d gfs2 remove >/dev/null || exit $?
        update-rc.d rgmanager remove >/dev/null || exit $?
     ;;