[-]
[+]
|
Added |
heartbeat.spec
|
|
[-]
[+]
|
Added |
heartbeat-fedora-chkconfig.patch
^
|
@@ -0,0 +1,63 @@
+diff -Nur heartbeat-2.0.5.orig/heartbeat/init.d/heartbeat.in heartbeat-2.0.5/heartbeat/init.d/heartbeat.in
+--- heartbeat-2.0.5.orig/heartbeat/init.d/heartbeat.in 2006-04-14 21:25:33.000000000 +0200
++++ heartbeat-2.0.5/heartbeat/init.d/heartbeat.in 2006-04-27 20:32:29.000000000 +0200
+@@ -13,7 +13,7 @@
+ # We don't hate anyone, and like for everyone to use
+ # our software, no matter what OS or distribution you're using.
+ #
+-# chkconfig: 2345 @HB_INITSTARTPRI@ @HB_INITSTOPPRI@
++# chkconfig: - @HB_INITSTARTPRI@ @HB_INITSTOPPRI@
+ # description: Startup script high-availability services.
+ # processname: heartbeat
+ # pidfile: @localstatedir@/run/heartbeat.pid
+@@ -391,12 +391,7 @@
+ StartHA
+ RC=$?
+ Echo
+- if
+- [ $RC -eq 0 ]
+- then
+- [ ! -d $LOCKDIR ] && mkdir -p $LOCKDIR
+- touch $LOCKDIR/$SUBSYS
+- fi
++ [ $RC -eq 0 ] && touch /var/lock/subsys/heartbeat
+ RunStartStop post-start $RC
+ ;;
+
+@@ -413,11 +408,7 @@
+ StopHA
+ RC=$?
+ Echo
+- if
+- [ $RC -eq 0 ]
+- then
+- rm -f $LOCKDIR/$SUBSYS
+- fi
++ [ $RC -eq 0 ] && rm -f /var/lock/subsys/heartbeat
+ RunStartStop post-stop $RC
+ StopLogd
+ ;;
+diff -Nur heartbeat-2.0.5.orig/ldirectord/init.d/ldirectord heartbeat-2.0.5/ldirectord/init.d/ldirectord
+--- heartbeat-2.0.5.orig/ldirectord/init.d/ldirectord 2005-10-17 14:49:21.000000000 +0200
++++ heartbeat-2.0.5/ldirectord/init.d/ldirectord 2006-04-27 20:33:35.000000000 +0200
+@@ -2,7 +2,7 @@
+ #
+ # ldirectord Linux Director Daemon
+ #
+-# chkconfig: 2345 92 40
++# chkconfig: - 92 40
+ # description: Start and stop ldirectord on non-heartbeat systems
+ # Using the config file /etc/ha.d/ldirectord.cf
+ #
+@@ -59,9 +59,11 @@
+ case "$1" in
+ start)
+ action "Starting ldirectord" $DAEMON start
++ touch /var/lock/subsys/ldirectord
+ ;;
+ stop)
+ action "Stopping ldirectord" $DAEMON stop
++ rm -f /var/lock/subsys/ldirectord
+ ;;
+ restart)
+ action "Restarting ldirectord" $DAEMON restart
|
[-]
[+]
|
Added |
heartbeat-fedora-pam.patch
^
|
@@ -0,0 +1,15 @@
+diff -Nur heartbeat-2.0.5.orig/mgmt/daemon/mgmtd.pam heartbeat-2.0.5/mgmt/daemon/mgmtd.pam
+--- heartbeat-2.0.5.orig/mgmt/daemon/mgmtd.pam 2005-12-30 09:35:27.000000000 +0100
++++ heartbeat-2.0.5/mgmt/daemon/mgmtd.pam 2006-04-27 20:36:29.000000000 +0200
+@@ -1,3 +1,8 @@
+-auth required pam_unix.so
+-account required pam_unix.so
+-
++#%PAM-1.0
++auth sufficient pam_rootok.so
++auth sufficient pam_timestamp.so
++auth required pam_stack.so service=system-auth
++session required pam_permit.so
++session optional pam_xauth.so
++session optional pam_timestamp.so
++account required pam_permit.so
|
|
Added |
heartbeat-2.0.8-1.fc7.src.rpm
^
|
|
Added |
heartbeat-2.0.8.tar.gz
^
|