Bug 1005703 - [RFE] backport sos command timeout support from upstream
Summary: [RFE] backport sos command timeout support from upstream
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sos
Version: 6.5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 6.6
Assignee: Bryn M. Reeves
QA Contact: David Kutálek
URL:
Whiteboard:
: 1147615 (view as bug list)
Depends On:
Blocks: 861266 1004793
TreeView+ depends on / blocked
 
Reported: 2013-09-09 08:49 UTC by Martin Pavlik
Modified: 2015-04-07 03:10 UTC (History)
8 users (show)

Fixed In Version: sos-2.2-63.el6
Doc Type: Enhancement
Doc Text:
Feature: The sosreport command now applies a timeout when running all external commands. Reason: Depending on system configuration and fault state some commands may block indefinitely causing sos to appear to 'hang'. Result: Commands that block for an excessive period will now terminate with a timeout and do not cause the main sos process to hang.
Clone Of:
Environment:
Last Closed: 2014-10-14 07:24:57 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1528 0 normal SHIPPED_LIVE sos bug fix and enhancement update 2014-10-14 01:22:00 UTC

Description Martin Pavlik 2013-09-09 08:49:24 UTC
Description of problem:
Please backport sos command timeout support from upstream

this request is based on
based on https://bugzilla.redhat.com/show_bug.cgi?id=1005066#c5

in this particular case timeout option would not solve the root cause of the issue, but it would prevent this whole class of problems by abandoning processes that go out-to-lunch on us

Comment 1 RHEL Program Management 2013-10-14 02:19:53 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 2 Bryn M. Reeves 2013-11-26 18:37:27 UTC
This should also include the timeout logging change that's now upstream:

commit 7649b791ee3372a660daad6e29666c2e1220486d
Author: Bryn M. Reeves <bmr>
Date:   Tue Nov 26 18:35:37 2013 +0000

    Log a warning when external commands time out
    
    Signed-off-by: Bryn M. Reeves <bmr>

Comment 5 Bryn M. Reeves 2014-09-29 15:19:06 UTC
*** Bug 1147615 has been marked as a duplicate of this bug. ***

Comment 6 errata-xmlrpc 2014-10-14 07:24:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1528.html


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