Bug 906432
Summary: | Corosync 1.4.1 does not support IPv6 double colon notation in /etc/corosync/corosync.conf totem section | ||||||||
---|---|---|---|---|---|---|---|---|---|
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: | low | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 6.4 | CC: | asalkeld, cluster-maint, jfriesse, jkortus, lnovich, martijn.schmidt, sdake | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | corosync-1.4.1-16.el6 | Doc Type: | Bug Fix | ||||||
Doc Text: |
Cause:
corosync.conf contains extra closing brace or colon (:) at end of value.
Consequence:
Corosync removes colon and doesn't display error on extra closing brace.
Fix:
Colon is no longer deleted in remove_whitespace function and acumulator for number of opening/closing braces is implemented.
Result:
Corosync display error on extra close brace and no longer remove colon from key value.
|
Story Points: | --- | ||||||
Clone Of: | 901536 | Environment: | |||||||
Last Closed: | 2013-11-21 04:32:09 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: | 901536 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
Description
Jan Friesse
2013-01-31 16:00:51 UTC
Created attachment 691040 [details]
Proposed patch - part 2 - Handle unexpected closing brace
"Unit" tests for both bugs are: https://github.com/jfriesse/csts/commit/fd1f0cf6e2ea5650af9d68ad1e7ea3ae721d3406 https://github.com/jfriesse/csts/commit/0a976463bf712e619e37f17b7e776501df36ab7c Result of unpatched package: $? != 0 Result of patched package: $? == 0 Tested with config-unexpected-closing-brace.sh and config-parse-colon.sh: FAIL on corosync-1.4.1-15.el6.x86_64 (RHEL6.4) PASS on corosync-1.4.1-17.el6.x86_64 (RHEL6.5) Following config works in 1.4.1-17 and did not work with 1.4.1-15: interface { ringnumber: 0 bindnetaddr: 3456:: mcastaddr: ff02:111:: mcastport: 5405 ttl: 1 } Marking as verified 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-1531.html |