Bug 208892

Summary: fix for 208011 causes segfault in rgmanager during fail->disable transition
Product: [Retired] Red Hat Cluster Suite Reporter: Lon Hohberger <lhh>
Component: rgmanagerAssignee: Lon Hohberger <lhh>
Status: CLOSED UPSTREAM QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: cluster-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-10-18 16:11:45 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:
Bug Depends On:    
Bug Blocks: 208011    

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