# HG changeset patch # User Florian Haas <florian.h...@linbit.com> # Date 1245827047 -7200 # Branch whitetank # Node ID a60db27fe11b9bfd399b847e33c5f49de3d227bc # Parent e65f52176ba646c9d93c3b76e9e52df24f18d6dc Whitetank: fix chkconfig entries for openais init script
The openais init script uses chkconfig entries which may cause OpenAIS to start too early or stop too late in the system startup/shutdown sequence. SUSE Linux doesn't care about this as it ignores chkconfig entries for the most part, but Red Hat systems (and potentially others) get bitten by this. This patch puts openais in the same spot in the sequence as the original heartbeat init script. diff -r e65f52176ba6 -r a60db27fe11b init/generic --- a/init/generic Thu Feb 12 11:29:20 2009 +0100 +++ b/init/generic Wed Jun 24 09:04:07 2009 +0200 @@ -5,7 +5,7 @@ # Author: Andrew Beekhof <abeek...@suse.de> # License: Revised BSD # -# chkconfig: - 20 20 +# chkconfig: - 75 05 # processname: aisexec # description: OpenAIS daemon # diff -r e65f52176ba6 -r a60db27fe11b init/redhat --- a/init/redhat Thu Feb 12 11:29:20 2009 +0100 +++ b/init/redhat Wed Jun 24 09:04:07 2009 +0200 @@ -2,7 +2,7 @@ # # OpenAIS daemon init script for Red Hat Linux and compatibles. # -# chkconfig: - 20 20 +# chkconfig: - 75 05 # processname: aisexec # pidfile: /var/run/aisexec.pid # description: OpenAIS daemon _______________________________________________ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker