Bug 1073165
Summary: | subprocess.Popen.communicate() fails with: IOError: [Errno 4] Interrupted system call | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Dan Callaghan <dcallagh> |
Component: | python | Assignee: | Robert Kuska <rkuska> |
Status: | CLOSED ERRATA | QA Contact: | Branislav NĂ¡ter <bnater> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.5 | CC: | bkabrda, bnater, dkutalek, jberan, kdudka, rkuska |
Target Milestone: | rc | Keywords: | EasyFix, Patch |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-2.6.6-58.el6 | Doc Type: | Bug Fix |
Doc Text: |
Cause:
subprocess.Popen.communicate() doesn't catch EINTR error if it is called without timeout and if there is only one PIPE (stdout or stderr)
Consequence:
subprocess.Popen.communicate() fails with IOError
Fix:
Make subprocess.Popen.communicate() handle EINTR errors if the process has only one pipe
Result:
subprocess.Popen.communicate() now works properly when only one pipe is used
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2015-07-22 06:39:40 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dan Callaghan
2014-03-05 23:26:25 UTC
devel_ack+, we can fix this with the referenced patch. 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. https://rhn.redhat.com/errata/RHSA-2015-1330.html |