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 944647 Details for
Bug 1149916
'systemctl start corosync.service' takes 60 second to time out when there is no corosync.conf file
[?]
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]
Proposed patch
2014-10-07-0001-init-Don-t-wait-for-ipc-if-corosync-doesn-t-start.patch (text/plain), 916 bytes, created by
Jan Friesse
on 2014-10-07 15:53:18 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Jan Friesse
Created:
2014-10-07 15:53:18 UTC
Size:
916 bytes
patch
obsolete
>From 3cb866a8300866644ac32441c5dbf1b60379468b Mon Sep 17 00:00:00 2001 >From: Jan Friesse <jfriesse@redhat.com> >Date: Tue, 7 Oct 2014 17:49:10 +0200 >Subject: [PATCH] init: Don't wait for ipc if corosync doesn't start > >Init script now checks return code of executing corosync command. If it >fails, ipc_wait section is skipped, resulting in much faster failure of >init script. > >Signed-off-by: Jan Friesse <jfriesse@redhat.com> >--- > init/corosync.in | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > >diff --git a/init/corosync.in b/init/corosync.in >index 9b9c66f..c93f971 100755 >--- a/init/corosync.in >+++ b/init/corosync.in >@@ -115,12 +115,13 @@ start() > else > $prog $COROSYNC_OPTIONS > /dev/null 2>&1 > >- if ! wait_for_ipc; then >+ if [ "$?" != 0 ] || ! wait_for_ipc; then > failure > rtrn=1 >+ else >+ touch $LOCK_FILE >+ success > fi >- touch $LOCK_FILE >- success > fi > echo > } >-- >1.8.3.1 >
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 1149916
: 944647