Bug 314091

Summary: tracing fenced kills the process
Product: Red Hat Enterprise Linux 5 Reporter: Mark Hlawatschek <hlawatschek>
Component: cmanAssignee: Ryan McCabe <rmccabe>
Status: CLOSED ERRATA QA Contact: Cluster QE <mspqa-list>
Severity: medium Docs Contact:
Priority: low    
Version: 5.0CC: cluster-maint, grimme, kanderso, teigland
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2008-0347 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-21 15:57:46 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 Mark Hlawatschek 2007-10-01 15:56:53 UTC
Description of problem:

A strace to the fenced pid causes fenced to stop

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

fenced -V
fenced 2.0.70 (built Jul 13 2007 14:41:16)
Copyright (C) Red Hat, Inc.  2004  All rights reserved.

How reproducible:

Always

Steps to Reproduce:
1. get pid of fenced
# ps ax | grep fenced
 9453 ?        Ss     0:00 fenced -c

2. strace the pid
strace -p 9453
Process 9453 attached - interrupt to quit
close(7)                                = 0
close(5)                                = 0
close(6)                                = 0
exit_group(-1)                          = ?
Process 9453 detached
  
Actual results:
fenced is not running any more

Expected results:
fenced should run in "traced" mode

Additional info:
Also a killall -SIGSTOP fenced; killall -SIGCONT fenced will stop the fenced.

Comment 1 Ryan McCabe 2007-10-01 16:34:41 UTC
Fix now in CVS.

Comment 2 RHEL Program Management 2007-10-23 16:24:36 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 5 errata-xmlrpc 2008-05-21 15:57:46 UTC
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-2008-0347.html