Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 904667 Details for
Bug 1078363
Handle corosync initialization timeout in init script
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
init: change return value when starting corosync
0001-init-change-return-value-when-starting-corosync.patch (text/plain), 977 bytes, created by
Jan Friesse
on 2014-06-09 13:51:29 UTC
(
hide
)
Description:
init: change return value when starting corosync
Filename:
MIME Type:
Creator:
Jan Friesse
Created:
2014-06-09 13:51:29 UTC
Size:
977 bytes
patch
obsolete
>From 7a6cc6b5a2f6ec5d88e52e34e62f18db1915afd7 Mon Sep 17 00:00:00 2001 >From: Lidong Zhong <lzhong@suse.com> >Date: Fri, 6 Jun 2014 10:03:18 +0000 >Subject: [PATCH] init: change return value when starting corosync > >When corosync is started by systemd, it would be considered >as failed because it returns a non-zero value, even though it >starts sucessfully. > >Signed-off-by: Lidong Zhong <lzhong@suse.com> >Signed-off-by: Xia Li<xli@suse.com> >Reviewed-by: Jan Friesse <jfriesse@redhat.com> >--- > init/corosync.in | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/init/corosync.in b/init/corosync.in >index 4bc6041..9b9c66f 100755 >--- a/init/corosync.in >+++ b/init/corosync.in >@@ -39,13 +39,13 @@ failure() > status() > { > pid=$(pidof $1 2>/dev/null) >- rtrn=$? >- if [ $rtrn -ne 0 ]; then >+ res=$? >+ if [ $res -ne 0 ]; then > echo "$1 is stopped" > else > echo "$1 (pid $pid) is running..." > fi >- return $rtrn >+ return $res > } > > # rpm based distros >-- >1.8.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1078363
:
904666
| 904667