cluster: RHEL5 - [RGMANAGER] Resolves #449394 - Recovery policy of type restart doesn't work
Marek Grác
marx@fedoraproject.org
Tue Jan 20 19:41:00 GMT 2009
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=e8555cb4a229c6e36e399b74eedf81e0b904bb6b
Commit: e8555cb4a229c6e36e399b74eedf81e0b904bb6b
Parent: c3b3dee1f1da733f431fcd4813afccd5ff2ea5a6
Author: marx <marx@hroch.englab.brq.redhat.com>
AuthorDate: Tue Jan 20 20:40:06 2009 +0100
Committer: marx <marx@hroch.englab.brq.redhat.com>
CommitterDate: Tue Jan 20 20:40:06 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 f83378d..37cd942 100644
--- a/rgmanager/src/resources/utils/ra-skelet.sh
+++ b/rgmanager/src/resources/utils/ra-skelet.sh
@@ -52,7 +52,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
More information about the Cluster-cvs
mailing list