Bug 861032
Summary: | Segfault on startup if corosync.conf is wrong | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Jan Friesse <jfriesse> | ||||
Component: | corosync | Assignee: | Jan Friesse <jfriesse> | ||||
Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 6.3 | CC: | asalkeld, jfriesse, jkortus, nik.martin, sdake | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | corosync-1.4.1-11.el6 | Doc Type: | Bug Fix | ||||
Doc Text: |
Cause:
corosync.conf contains ringnumber > 1
Consequence:
Segfault
Fix:
Added check in corosync.conf parser. If ringnumber is > 1, correct error message is printed (interface ring number X is bigger then allowed maximum 1).
Result:
Corosync doesn't segfault if ringnumber in config is > 1 and proper error message is printed.
|
Story Points: | --- | ||||
Clone Of: | 860711 | Environment: | |||||
Last Closed: | 2013-02-21 07:50:52 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 860711 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Jan Friesse
2012-09-27 11:03:18 UTC
Verified with corosync-1.4.1-11.el6.x86_64: corosync[32508]: [MAIN ] parse error in config: interface ring number 10 is bigger then allowed maximum 1 config used: totem { version: 2 secauth: off threads: 0 rrp_mode: passive interface { ringnumber: 0 bindnetaddr: 192.168.101.1 mcastaddr: 226.94.1.1 mcastport: 5405 ttl: 1 } interface { ringnumber: 10 bindnetaddr: 192.168.201.1 mcastaddr: 226.94.1.2 mcastport: 5405 ttl: 1 } } logging { fileline: off to_stderr: no to_logfile: yes to_syslog: yes logfile: /var/log/cluster/corosync.log debug: off timestamp: on logger_subsys { subsys: AMF debug: off } } amf { mode: disabled } It starts properly with valid ring ids. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0497.html |