Your message dated Tue, 30 Jun 2009 21:35:07 +0000
with message-id <e1mlkyp-0007wb...@ries.debian.org>
and subject line Bug#532570: fixed in tar 1.22-1.1
has caused the Debian Bug report #532570,
regarding tar - relies on standard SIGPIPE behaviour
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
532570: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532570
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: tar
Version: 1.22-1
Severity: grave
tar is not longer able to read tar files with some garbage at the end
under some condition. If it is called from the shell, the resulting
SIGPIPE kills the called bzip2 process and tar swallows the error:
| close(3) = 0
| waitpid(18165, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGPIPE}], 0) = 18165
| --- SIGCHLD (Child exited) @ 0 (0) ---
| [...]
| exit_group(0) = ?
In the other case I call it via a python script. The python interpreter
collects SIGPIPE by default and the setting is persistent in the child
processes. So the SIGPIPE is now collected by bzip2 and converted
into an error:
| write(1,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) =
-1 EPIPE (Broken pipe)
| --- SIGPIPE (Broken pipe) @ 0 (0) ---
| [...]
| exit_group(1) = ?
| close(3) = 0
| waitpid(18105, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0) = 18105
| --- SIGCHLD (Child exited) @ 0 (0) ---
| [...]
| exit_group(2) = ?
| bzip2: I/O or other error, bailing out. Possible reason follows.
| bzip2: Broken pipe
| Input file = (stdin), output file = (stdout)
| tar: Child returned status 1
| tar: Exiting with failure status due to previous errors
It seems that tar now relies on the behaviour that SIGPIPE kills the
child and therfor needs to properly set it up.
Bastian
--
You're too beautiful to ignore. Too much woman.
-- Kirk to Yeoman Rand, "The Enemy Within", stardate unknown
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: tar
Source-Version: 1.22-1.1
We believe that the bug you reported is fixed in the latest version of
tar, which is due to be installed in the Debian FTP archive:
tar_1.22-1.1.diff.gz
to pool/main/t/tar/tar_1.22-1.1.diff.gz
tar_1.22-1.1.dsc
to pool/main/t/tar/tar_1.22-1.1.dsc
tar_1.22-1.1_powerpc.deb
to pool/main/t/tar/tar_1.22-1.1_powerpc.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 532...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bastian Blank <wa...@debian.org> (supplier of updated tar package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 30 Jun 2009 22:23:48 +0200
Source: tar
Binary: tar
Architecture: source powerpc
Version: 1.22-1.1
Distribution: unstable
Urgency: low
Maintainer: Bdale Garbee <bd...@gag.com>
Changed-By: Bastian Blank <wa...@debian.org>
Description:
tar - GNU version of the tar archiving utility
Closes: 532570
Changes:
tar (1.22-1.1) unstable; urgency=low
.
* Non-maintainer upload.
* Set SIGPIPE to default action, patch from upstream. (closes: #532570)
Checksums-Sha1:
3938f17b2e55c09c9ef8f6eb483b456d89e4beac 945 tar_1.22-1.1.dsc
49d4176b481e15fb0e4f5eb2665fbc3dd3e49346 17793 tar_1.22-1.1.diff.gz
44406954322d91b03aea8f861d77d0a4dbd6d8d1 851444 tar_1.22-1.1_powerpc.deb
Checksums-Sha256:
06580d4474510da0bf26eb2fc456e5efeaf673ba9b9c7940b0b276e9cb99250b 945
tar_1.22-1.1.dsc
b5c08353216eca57d8e662a7d2afbce0e79fe6af8421f64977a7dc7c7934a9ed 17793
tar_1.22-1.1.diff.gz
e7a170b339bd9771ab07e2192d789320189aa9289d283b64ffc30d207010b4df 851444
tar_1.22-1.1_powerpc.deb
Files:
5e1baed4203b60a9d3f554b26199c4fc 945 utils required tar_1.22-1.1.dsc
6ef3ccbad51c99960cdd8c5c1481b309 17793 utils required tar_1.22-1.1.diff.gz
5d18f48ecd3b65ca2a665591fbe60328 851444 utils required tar_1.22-1.1_powerpc.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkpKeGUACgkQLkAIIn9ODhFa/ACg2zHFhyDvlfbc1dBQVqikRnPA
nXAAn2aqHl1/xbwyxB9SsyOC5d7U+x0T
=CdME
-----END PGP SIGNATURE-----
--- End Message ---