[Pacemaker] [PATCH] Whitetank: fix chkconfig entries for openais init script

Andrew Beekhof andrew at beekhof.net
Thu Jun 25 09:27:30 UTC 2009


You should probably send this to the openais list :-)

On Wed, Jun 24, 2009 at 9:04 AM, Florian Haas <florian.haas at linbit.com>wrote:

> # HG changeset patch
> # User Florian Haas <florian.haas at 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 <abeekhof at 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 at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20090625/e66e96fd/attachment-0002.htm>


More information about the Pacemaker mailing list