Bug 208892 - fix for 208011 causes segfault in rgmanager during fail->disable transition
Summary: fix for 208011 causes segfault in rgmanager during fail->disable transition
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Cluster Suite
Classification: Retired
Component: rgmanager
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Lon Hohberger
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On:
Blocks: 208011
TreeView+ depends on / blocked
 
Reported: 2006-10-02 15:03 UTC by Lon Hohberger
Modified: 2009-04-16 20:21 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-10-18 16:11:45 UTC
Embargoed:


Attachments (Terms of Use)

Description Lon Hohberger 2006-10-02 15:03:22 UTC
Description of problem:

When a service is moved from the failed state to the disabled state (by
disabling the service again), clurgmgrd often crashes because of a missing
format parameter.

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


How reproducible: 50-60%


Steps to Reproduce:
1.  Run clurgmgrd -f
2.  Start a service
3.  Disable the service (But make the stop fail)
4.  Disable the service again
  
Actual results:

Service goes in to failed state at step 3 (good).
clurgmgrd crashes in step 4 (bad)

Expected results:

No crash, and "Alert: Marking X as 'disabled', but some resources may still be
allocated" or similar warning message in logs.

Additional info:

Caused by a missing format specifier.

Patch in CVS:

http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/rg_state.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.4.2.15&r2=1.4.2.16


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