[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#736872: marked as done (busybox: zcat does not decompress file which do not have a .gz suffix)



Your message dated Tue, 28 Jan 2014 10:48:33 +0000
with message-id <E1W86DZ-0005BI-Ep@franck.debian.org>
and subject line Bug#736872: fixed in busybox 1:1.22.0-3
has caused the Debian Bug report #736872,
regarding busybox: zcat does not decompress file which do not have a .gz suffix
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 owner@bugs.debian.org
immediately.)


-- 
736872: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736872
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: busybox
Version: 1:1.22.0-2
Severity: critical
Justification: breaks the whole system

The zcat applet seems to behave like cat unless the input file has a .gz
suffix:

Given two identical files (compressed string "Hello World"), one with a .gz
suffix and one without:

$ file test test.gz
test:    gzip compressed data, was "test", from Unix, last modified: Mon Jan 27 20:31:45 2014
test.gz: gzip compressed data, was "test", from Unix, last modified: Mon Jan 27 20:31:45 2014
$ md5sum test test.gz
9001811fcfd18c9479e98f78ebfd364b  test
9001811fcfd18c9479e98f78ebfd364b  test.gz

Regular zcat behaves as expected:
$ zcat test | file -
/dev/stdin: ASCII text
$ zcat test.gz | file -
/dev/stdin: ASCII text

But busybox zcat does not:
$ busybox zcat test | file -
/dev/stdin: gzip compressed data, was "test", from Unix, last modified: Mon Jan 27 20:31:45 2014
$ busybox zcat test.gz | file -
/dev/stdin: ASCII text

If the input file does not have a .gz suffix then zcat is behaving
like plain cat:
$ cat test | md5sum
9001811fcfd18c9479e98f78ebfd364b  -
$ busybox zcat test | md5sum
9001811fcfd18c9479e98f78ebfd364b  -

It works correctly when operating on stdin:
$ cat test | busybox zcat | file -
/dev/stdin: ASCII text

I've given this severity critical since it break the installer by breaking at
least net-retriever.

The version currently in Jessie (1:1.21.0-1) seems to be OK:
$ busybox zcat test | file -
/dev/stdin: ASCII text

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages busybox depends on:
ii  libc6  2.17-92+b1

busybox recommends no packages.

busybox suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: busybox
Source-Version: 1:1.22.0-3

We believe that the bug you reported is fixed in the latest version of
busybox, which is due to be installed in the Debian FTP archive.

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 736872@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Tokarev <mjt@tls.msk.ru> (supplier of updated busybox 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 28 Jan 2014 14:27:50 +0400
Source: busybox
Binary: busybox busybox-static busybox-udeb busybox-syslogd udhcpc udhcpd
Architecture: source amd64 all
Version: 1:1.22.0-3
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Michael Tokarev <mjt@tls.msk.ru>
Description: 
 busybox    - Tiny utilities for small and embedded systems
 busybox-static - Standalone rescue shell with tons of builtin utilities
 busybox-syslogd - Provides syslogd and klogd using busybox
 busybox-udeb - Tiny utilities for the debian-installer (udeb)
 udhcpc     - Provides the busybox DHCP client implementation
 udhcpd     - Provides the busybox DHCP server implementation
Closes: 375568 484799 696704 704815 736872
Changes: 
 busybox (1:1.22.0-3) unstable; urgency=low
 .
   * mention closing of #685361 by 1.22
   * enable devmem applet for regular and static builds (Closes: #696704)
   * enable acpid applet for regular and static builds (Closes: #704815)
   * enable mount -f (MOUNT_FAKE) for all builds (Closes: #484799)
   * let busybox-static to provide busybox (Closes: #375568)
   * added two fixes from upstream (Closes: #736872)
     libarchive-open_zipped-does-not-need-to-check-extensions.diff
     libbb-open_zipped-should-not-fail-on-non-compressed-files.diff
Checksums-Sha1: 
 c42a5955658429b09600c3289833491c0dca1560 1630 busybox_1.22.0-3.dsc
 111d7fccffcd10faecff4b85a92e2ccdfc4a0ff0 49188 busybox_1.22.0-3.debian.tar.xz
 e73aba959059b07c417d4934a2a478243ddcd1ef 382874 busybox_1.22.0-3_amd64.deb
 142159367cda241b6d2ae66605031dd48b5fee3f 834436 busybox-static_1.22.0-3_amd64.deb
 6a5799d56a7e209a5b11246daea8b9366528bfb1 171658 busybox-udeb_1.22.0-3_amd64.udeb
 3451ae907f305c570a7a623ecb8602babf486a86 22224 busybox-syslogd_1.22.0-3_all.deb
 f5d64b774dc1c5b03bf62076e077482034688a44 20000 udhcpc_1.22.0-3_amd64.deb
 4cc798f210c629d6a8d9b88437227e2bd16ec6e6 23068 udhcpd_1.22.0-3_amd64.deb
Checksums-Sha256: 
 6a8267d36972975bc4d74d9b67f0ddcb92380cec786ed6d042f8ddc074debe74 1630 busybox_1.22.0-3.dsc
 8d6df724993aebf447354a373e32bf9115ea314fd1b05f66752be06188260458 49188 busybox_1.22.0-3.debian.tar.xz
 21f3c81abce1ce9c5b7eaba14800fb720c401fbb2988926dff44b3778e47b916 382874 busybox_1.22.0-3_amd64.deb
 b52149fc7209308c8d6b9c49525043bd0b4af226a41cc38c7c8de08ea446b2fa 834436 busybox-static_1.22.0-3_amd64.deb
 c628361f74dd0c41db6ead130c7c40aa09b506adf250f2b91e5270c09d2892e3 171658 busybox-udeb_1.22.0-3_amd64.udeb
 909d89b3d3d10fe1450ff26bc8977ce27efc12f4f3fc1574717b3ab66758d1ff 22224 busybox-syslogd_1.22.0-3_all.deb
 55b5430f4eb9f52696aad86691682321a160ee20847e5a1e1f045426c5bf3dbd 20000 udhcpc_1.22.0-3_amd64.deb
 5c3d1e035d3fd4c6b8909caee219e039fe6fed5968d686ea8cc1155a7233f987 23068 udhcpd_1.22.0-3_amd64.deb
Files: 
 895dfff2d3ab097d1ab78832d732fb31 1630 utils optional busybox_1.22.0-3.dsc
 24f8399f79bb0b0de1ece07980c8f025 49188 utils optional busybox_1.22.0-3.debian.tar.xz
 87d30af40d40ab74fc257d2308d7e62f 382874 utils optional busybox_1.22.0-3_amd64.deb
 2c3ff6a67e7d01ecda5054021112fcd1 834436 shells extra busybox-static_1.22.0-3_amd64.deb
 62f96456d4daad3720b91f3cbc7aaa3d 171658 debian-installer extra busybox-udeb_1.22.0-3_amd64.udeb
 7491fc5822ef2dfbb04f2fc611716408 22224 utils optional busybox-syslogd_1.22.0-3_all.deb
 40f3f5ea69a8ede922645b8ea9104182 20000 net optional udhcpc_1.22.0-3_amd64.deb
 dea1ef958326630ea905eba2db8ebd0a 23068 net optional udhcpd_1.22.0-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iJwEAQECAAYFAlLnhyQACgkQUlPFrXTwyDgvTAP5AVSxArQ1vqLQ+vguH7LLH9pL
azI1nOzJ2afhFWTKTgC5KamPXC6NIMHXCqxU2qE/T0Ayl3sWH8XGksoF4Xx66Ve4
QfiUviqDqjOSlID8BWOEC+Wj6jKi7FU89wVXvjYx0TO3B25XTgNszDBbPQoKHSeR
mU35Tuun9sT1hfdsk+0=
=6f1w
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: