Bug 626962 - [RFE] don't allow multiple corosync processes to start on same system.
[RFE] don't allow multiple corosync processes to start on same system.
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: corosync (Show other bugs)
6.0
All Linux
low Severity low
: rc
: ---
Assigned To: Jan Friesse
Cluster QE
: FutureFeature
Depends On:
Blocks: 655920
  Show dependency treegraph
 
Reported: 2010-08-24 14:41 EDT by Steven Dake
Modified: 2016-04-26 11:02 EDT (History)
3 users (show)

See Also:
Fixed In Version: corosync-1.2.3-23.el6
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-05-19 10:24:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch honza submitted to address rfe (4.81 KB, patch)
2010-08-24 16:09 EDT, Steven Dake
no flags Details | Diff
revision 3026 - second part of patch to address problem (657 bytes, patch)
2010-08-24 16:11 EDT, Steven Dake
no flags Details | Diff

  None (edit)
Description Steven Dake 2010-08-24 14:41:02 EDT
Description of problem:
multiple corosync processes can be started, which results in havoc on the local node.

Version-Release number of selected component (if applicable):
corosync-1.2.3-20.el6

How reproducible:
100%

Steps to Reproduce:
1. corosync -f &
2. corosync -f
3.
  
Actual results:
Second corosync invocation starts, resulting in bad behavior.

Expected results:
Second corosync should not start, instead printing an appropriate error to the logs.

Additional info:
Comment 2 Steven Dake 2010-08-24 16:09:07 EDT
Created attachment 440756 [details]
patch honza submitted to address rfe
Comment 3 Steven Dake 2010-08-24 16:11:24 EDT
Created attachment 440757 [details]
revision 3026 - second part of patch to address problem
Comment 5 Jaroslav Kortus 2011-03-09 11:48:31 EST
$ service cman start
$ cd /etc/corosync; cp corosync.conf.example corosync.conf
$ corosync -f ; echo $?
18

Mar  9 10:44:18 z4 corosync[26988]:   [MAIN  ] Another Corosync instance is already running.

Behaves as expected, maybe some error message printed would be useful.
Comment 6 errata-xmlrpc 2011-05-19 10:24:07 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0764.html

Note You need to log in before you can comment on or make changes to this bug.