Red Hat Bugzilla – Bug 18546
tar cannot read from pipe
Last modified: 2005-10-31 17:00:50 EST
tar fails when reading from a pipe. The following example first creates a
small compressed tar file, and proceeds to display the error:
# make test archive
# file1 and file2 are just some files
tar zcf test.tgz file1 file2
# this is the error
cat test.tgz | tar tvzf -
On my i810 celeron 633, this last command newer finishes. However, "tar
tvfz test.tgz" works as excepted.
Of course, letting tar read from a pipe works on older Red Hat releases.
Noticed and fixed a couple of days ago.
*** Bug 20608 has been marked as a duplicate of this bug. ***
*** Bug 22569 has been marked as a duplicate of this bug. ***