Bug 22569

Summary: "tar tzf -" hang
Product: [Retired] Red Hat Linux Reporter: Need Real Name <zhbzhb>
Component: tarAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-12-20 05:51:27 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 Need Real Name 2000-12-20 05:51:24 UTC
when using "tar tzf -", it will hang.
I debug into tar source codes, and found that "tar-1.13.17-exitcode.patch"
use "waitpid()" system call, it use third parameter with zero, which means
that it will hang until child process exit, but "gzip -d" child process
never exit.

Comment 1 Daniel Roesen 2000-12-20 08:06:58 UTC

*** This bug has been marked as a duplicate of 18546 ***

Comment 2 Daniel Roesen 2000-12-20 08:07:25 UTC
Fix is in Rawhide btw...