Bug 693524 - multipath may segfault if a failed path comes online after another path fails to remove correctly
Summary: multipath may segfault if a failed path comes online after another path fails...
Keywords:
Status: CLOSED DUPLICATE of bug 696157
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: device-mapper-multipath
Version: 6.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Ben Marzinski
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
: 695920 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-04 21:14 UTC by Ben Marzinski
Modified: 2011-04-16 03:58 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-16 03:58:25 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Ben Marzinski 2011-04-04 21:14:25 UTC
Description of problem:
If a multipath device is set to group_by_prio, and a path comes online after a multipath device tries to remove a device but fails to reload the device table,
multipathd can segfault.

How reproducible:
No idea.  It can happen in RHEL5, although I don't know how to reliably recreate it.  The faulty code exists in RHEL6 as well, so it should be reproducible there
as well

Steps to Reproduce:
1. setup a group_by_prio multipath device
2. fail a path
3. remove a different path, but keep device-mapper from allowing the table to get reloaded. Not sure how to reliably do this.
3. restore the failed path.
  
Actual results:
multipathd will segfault

Expected results:
multipathd should restore the path.

Additional info:

Comment 1 RHEL Program Management 2011-04-04 21:23:13 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 2 Ben Marzinski 2011-04-15 18:22:23 UTC
*** Bug 695920 has been marked as a duplicate of this bug. ***

Comment 3 Ben Marzinski 2011-04-16 03:58:25 UTC

*** This bug has been marked as a duplicate of bug 696157 ***


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