public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
From: "Marek Grác" <marx@fedoraproject.org>
To: cluster-cvs-relay@redhat.com
Subject: cluster: STABLE2 - [RGMANAGER] Resolves #449394 - Recovery policy of type restart doesn't work
Date: Tue, 20 Jan 2009 20:20:00 -0000	[thread overview]
Message-ID: <20090120195201.31875C024D@lists.fedorahosted.org> (raw)

Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=d344235e3e6a7624d0189b0736775476471dfd0e
Commit:        d344235e3e6a7624d0189b0736775476471dfd0e
Parent:        73e6c9292ea4eb8808a4ac5b8090c383b6e88ec2
Author:        marx <marx@hroch.englab.brq.redhat.com>
AuthorDate:    Tue Jan 20 20:40:06 2009 +0100
Committer:     Marek 'marx' Grac <mgrac@redhat.com>
CommitterDate: Tue Jan 20 20:51:25 2009 +0100

[RGMANAGER] Resolves #449394 - Recovery policy of type restart doesn't work

---
 rgmanager/src/resources/utils/ra-skelet.sh |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/rgmanager/src/resources/utils/ra-skelet.sh b/rgmanager/src/resources/utils/ra-skelet.sh
index 982bbc6..e892656 100644
--- a/rgmanager/src/resources/utils/ra-skelet.sh
+++ b/rgmanager/src/resources/utils/ra-skelet.sh
@@ -30,7 +30,10 @@ stop_generic()
 
 	if [ ! -e "$pid_file" ]; then
 		clog_check_file_exist $CLOG_FAILED_NOT_FOUND "$pid_file"
-		return $OCF_ERR_GENERIC
+		# In stop-after-stop situation there is no PID file but
+		# it will be nice to check for it in stop-after-start
+		# look at bug #449394
+		return 0
 	fi
 
 	if [ -z "$kill_timeout" ]; then


                 reply	other threads:[~2009-01-20 20:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090120195201.31875C024D@lists.fedorahosted.org \
    --to=marx@fedoraproject.org \
    --cc=cluster-cvs-relay@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).