Bug 154103 - pulse core dumps on DOS mangled config file.
pulse core dumps on DOS mangled config file.
Status: CLOSED ERRATA
Product: Red Hat Cluster Suite
Classification: Red Hat
Component: piranha (Show other bugs)
4
All Linux
medium Severity medium
: ---
: ---
Assigned To: Stanko Kupcevic
Cluster QE
:
Depends On:
Blocks: 164915
  Show dependency treegraph
 
Reported: 2005-04-07 06:55 EDT by Martin Poole
Modified: 2009-04-16 16:13 EDT (History)
2 users (show)

See Also:
Fixed In Version: RHBA-2006-0255
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-03-09 14:43:59 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Fixes DOS handling (646 bytes, patch)
2005-11-21 17:15 EST, Lon Hohberger
no flags Details | Diff

  None (edit)
Description Martin Poole 2005-04-07 06:55:45 EDT
Description of problem:

In the course of diagnosing #154102 I shipped the customer a new lvs.cf file
that I had manually edited. It was unpacked on a MS box and ended up with CR-LF
line termination. When attempting to use the file pulse core dumped (SEGV) on
startup.

Version-Release number of selected component (if applicable):


How reproducible:

Always.

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:

work or complain.

Additional info:
Comment 1 Lon Hohberger 2005-04-14 13:04:26 EDT
For now, use 'dos2unix' to convert.  I'll work on fixing it soon.
Comment 2 Lon Hohberger 2005-11-21 17:15:29 EST
Created attachment 121321 [details]
Fixes DOS handling
Comment 3 Lon Hohberger 2005-11-22 13:01:33 EST
I tested this.  Although my instance of pulse did not segfault on startup, it
falsely reported that there were no active services.  This leads me to believe
that this is the fix, as I have not been able to find any other place in the
code where newlines/carriage-returns were not both handled.
Comment 6 Red Hat Bugzilla 2006-03-09 14:44:00 EST
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 the 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-2006-0255.html

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