[-]
[+]
|
Added |
cluster.spec
|
|
[-]
[+]
|
Added |
cluster-cman-init.patch
^
|
@@ -0,0 +1,51 @@
+--- cman/init.d/cman.in.orig 2009-10-21 12:55:15.000000000 +0200
++++ cman/init.d/cman.in 2009-11-08 21:32:23.000000000 +0100
+@@ -9,29 +9,42 @@
+ ### BEGIN INIT INFO
+ # Provides: cman
+ # Required-Start: $network $time
+-# Required-Stop: $network $time
+-# Default-Start:
+-# Default-Stop:
++# Required-Stop: gfs gfs2
++# Default-Start: 2 3 5
+ # Short-Description: Starts and stops cman
+ # Description: Starts and stops the Cluster Manager set of daemons
+ ### END INIT INFO
+
++. /etc/rc.status
++
++# Shell functions sourced from /etc/rc.status:
++# rc_check check and set local and overall rc status
++# rc_status check and set local and overall rc status
++# rc_status -v ditto but be verbose in local rc status
++# rc_status -v -r ditto and clear the local rc status
++# rc_failed set local and overall rc status to failed
++# rc_reset clear local rc status (overall remains)
++# rc_exit exit appropriate to overall rc status
++
++# First reset status of this service
++rc_reset
++
+ # set secure PATH
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin:@SBINDIR@"
+
+ local_chkconfig()
+ {
+- ls /etc/rc${2}.d/S*${3} > /dev/null 2>/dev/null
++ ls /etc/init.d/rc${2}.d/S*${3} > /dev/null 2>/dev/null
+ }
+
+ success()
+ {
+- echo -ne "[ OK ]\r"
++ rc_status -v
+ }
+
+ failure()
+ {
+- echo -ne "[FAILED]\r"
++ rc_failed
+ }
+
+ status()
|
[-]
[+]
|
Added |
cluster-gfs-init.patch
^
|
@@ -0,0 +1,46 @@
+--- gfs/init.d/gfs.in.orig 2009-11-08 21:33:56.000000000 +0100
++++ gfs/init.d/gfs.in 2009-11-08 21:34:53.000000000 +0100
+@@ -8,24 +8,38 @@
+ ### BEGIN INIT INFO
+ # Provides: gfs
+ # Required-Start: $network cman
+-# Required-Stop: $network cman
+-# Default-Start:
+-# Default-Stop:
++# Required-Stop: $null
++# Default-Start: 2 3 5
+ # Short-Description: mount/unmount gfs filesystems configured in /etc/fstab
+ # Description: mount/unmount gfs filesystems configured in /etc/fstab
+ ### END INIT INFO
+
++. /etc/rc.status
++
++# Shell functions sourced from /etc/rc.status:
++# rc_check check and set local and overall rc status
++# rc_status check and set local and overall rc status
++# rc_status -v ditto but be verbose in local rc status
++# rc_status -v -r ditto and clear the local rc status
++# rc_failed set local and overall rc status to failed
++# rc_reset clear local rc status (overall remains)
++# rc_exit exit appropriate to overall rc status
++
++# First reset status of this service
++rc_reset
++
++
+ # set secure PATH
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin:@SBINDIR@"
+
+ success()
+ {
+- echo -ne "[ OK ]\r"
++ rc_status
+ }
+
+ failure()
+ {
+- echo -ne "[FAILED]\r"
++ rc_failed
+ }
+
+ # rpm based distros
|
[-]
[+]
|
Added |
cluster-gfs2-init.patch
^
|
@@ -0,0 +1,46 @@
+--- gfs2/init.d/gfs2.in.orig 2009-11-08 21:35:26.000000000 +0100
++++ gfs2/init.d/gfs2.in 2009-11-08 21:36:53.000000000 +0100
+@@ -8,24 +8,38 @@
+ ### BEGIN INIT INFO
+ # Provides: gfs2
+ # Required-Start: $network cman
+-# Required-Stop: $network cman
+-# Default-Start:
+-# Default-Stop:
++# Required-Stop: $null
++# Default-Start: 2 3 4
+ # Short-Description: mount/unmount gfs2 filesystems configured in /etc/fstab
+ # Description: mount/unmount gfs2 filesystems configured in /etc/fstab
+ ### END INIT INFO
+
++. /etc/rc.status
++
++# Shell functions sourced from /etc/rc.status:
++# rc_check check and set local and overall rc status
++# rc_status check and set local and overall rc status
++# rc_status -v ditto but be verbose in local rc status
++# rc_status -v -r ditto and clear the local rc status
++# rc_failed set local and overall rc status to failed
++# rc_reset clear local rc status (overall remains)
++# rc_exit exit appropriate to overall rc status
++
++# First reset status of this service
++rc_reset
++
++
+ # set secure PATH
+ PATH="/bin:/usr/bin:/sbin:/usr/sbin:@SBINDIR@"
+
+ success()
+ {
+- echo -ne "[ OK ]\r"
++ rc_status
+ }
+
+ failure()
+ {
+- echo -ne "[FAILED]\r"
++ rc_failed
+ }
+
+ # rpm based distros
|
[-]
[+]
|
Added |
cluster-rgmanager-init.patch
^
|
@@ -0,0 +1,48 @@
+--- rgmanager/init.d/rgmanager.in.orig 2009-10-21 12:55:15.000000000 +0200
++++ rgmanager/init.d/rgmanager.in 2009-11-08 21:39:13.000000000 +0100
+@@ -6,14 +6,27 @@
+ #
+ ### BEGIN INIT INFO
+ # Provides: rgmanager
+-# Required-Start: cman
++# Required-Start: $network cman
+ # Required-Stop: cman
+-# Default-Start:
+-# Default-Stop:
++# Default-Start: 2 3 4
+ # Short-Description: Starts and stops Red Hat Service (resource group) Manager
+ # Description: Starts and stops Red Hat Service (resource group) Manager
+ ### END INIT INFO
+
++. /etc/rc.status
++
++# Shell functions sourced from /etc/rc.status:
++# rc_check check and set local and overall rc status
++# rc_status check and set local and overall rc status
++# rc_status -v ditto but be verbose in local rc status
++# rc_status -v -r ditto and clear the local rc status
++# rc_failed set local and overall rc status to failed
++# rc_reset clear local rc status (overall remains)
++# rc_exit exit appropriate to overall rc status
++
++# First reset status of this service
++rc_reset
++
+ ID="Cluster Service Manager"
+ RGMGRD="rgmanager"
+
+@@ -22,12 +35,12 @@
+
+ success()
+ {
+- echo -ne "[ OK ]\r"
++ rc_status
+ }
+
+ failure()
+ {
+- echo -ne "[FAILED]\r"
++ rc_failed
+ }
+
+ status()
|
|
Added |
cluster-3.0.4.tar.bz2
^
|
[-]
[+]
|
Added |
cluster-rpmlintrc
^
|
@@ -0,0 +1,5 @@
+addFilter("gfs-utils.* non-remote_fs-dependency")
+addFilter("gfs2-utils.* non-remote_fs-dependency")
+addFilter("cluster.* non-remote_fs-dependency")
+addFilter("cluster.* non-standard-dir-in-usr")
+addFilter("cluster.* shlib-policy-missing-suffix")
|