Bug 845004

Summary: strace stops logging a trace
Product: Red Hat Enterprise Linux 7 Reporter: Michal Nowak <mnowak>
Component: straceAssignee: Jeff Law <law>
Status: CLOSED CURRENTRELEASE QA Contact: Michael Petlan <mpetlan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: mfranc, mpetlan, ohudlick, pfrankli
Target Milestone: rc   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: strace-4.7-7.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 706355
: 922218 (view as bug list) Environment:
Last Closed: 2014-06-13 13:04:05 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: 559580, 706355    
Bug Blocks: 922218    

Comment 3 Jeff Law 2013-02-27 21:28:01 UTC
I've just backported the code to enable PTRACE_SEIZE which should fix the race conditions related to signal handling of strace'd processes.  My testing indicates that should resolve this issue (the good news).

The bad news, PTRACE_SEIZE doesn't exist in RHEL 5 or RHEL 6 kernels. I'm sorely tempted to close 559580 as WONTFIX given the need for kernel support to make this work properly in RHEL 5/RHEL 6.

Comment 6 Michael Petlan 2014-04-02 17:42:33 UTC
Tested with strace-4.8-7.

Switching to VERIFIED.

Comment 7 Ludek Smid 2014-06-13 13:04:05 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.