Bug 675369
Summary: | multipathd segfault if no "LUN wwid" value is present with keyword "wwid" | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Dominic Geevarghese <dgeevarg> |
Component: | device-mapper-multipath | Assignee: | Ben Marzinski <bmarzins> |
Status: | CLOSED ERRATA | QA Contact: | Storage QE <storage-qe> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.5 | CC: | agk, bdonahue, bmarzins, bmr, christophe.varoqui, cww, dwysocha, heinzm, junichi.nomura, kabbott, kueda, lmb, mbroz, mkpai, prajnoha, prockai, qcai |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
multipath wasn't checking if the user had actually entered a value for their multipath.conf options, before it tried to read it. This caused multipathd to crash when users entered options in to multipath.conf without any values. Multipath now checks if there is a value before attempting to read it, and it no longer crashes.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2011-07-21 08:22:36 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dominic Geevarghese
2011-02-05 08:13:27 UTC
Hello Ben, Dominic, I wonder if the solution is to a. create a syntax checker for multipath.conf. b. get multipathd to not start with an invalid conf file. This is the behaviour with other daemons such as apache or samba. multipath now correctly checks for empty values. Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: multipath wasn't checking if the user had actually entered a value for their multipath.conf options, before it tried to read it. This caused multipathd to crash when users entered options in to multipath.conf without any values. Multipath now checks if there is a value before attempting to read it, and it no longer crashes. Verified, we now get an error message. # multipath -ll error parsing config file 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-1032.html |