Skip to navigation

Bug Fix Advisory file bug fix update

Advisory: RHBA-2012:1339-1
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2012-10-04
Last updated on: 2013-02-20
Affected Products: Red Hat Enterprise Linux Desktop (v. 6)
Red Hat Enterprise Linux HPC Node (v. 6)
Red Hat Enterprise Linux Server (v. 6)
Red Hat Enterprise Linux Workstation (v. 6)

Details

Updated file packages that fix multiple bugs are now available for Red Hat
Enterprise Linux 6.

The "file" command is used to identify a particular file according to the type
of data contained in the file. The command can identify various file types,
including ELF binaries, system libraries, RPM packages, and different graphics
formats.

This update fixes the following bugs:

* The file utility did not contain a "magic" pattern for detecting QED images
and was therefore not able to detect such images. A new "magic" pattern for
detecting QED images has been added, and the file utility now detects these
images as expected. (BZ#795425)

* The file utility did not contain a "magic" pattern for detecting VDI images
and was therefore not able to detect such images. A new "magic" pattern for
detecting VDI images has been added, and the file utility now detects these
images as expected. (BZ#795761)

* Previously, the file utility did not attempt to load "magic" patterns from the
~/.magic.mgc file, which caused "magic" patterns stored in this file to be
unusable. This update modifies the file utility so it now attempts to load the
~/.magic.mgc file. The file is loaded if it exists and "magic" patterns defined
in this file work as expected. (BZ#797784)

* Previously, the file utility used read timeout when decompressing files using
the "-z" option. As a consequence, the utility was not able to detect files
compressed by the bzip2 tool. The underlying source code has been modified so
that file no longer uses read timeout when decompressing compressed files.
Compressed files are now detected as expected when using the "-z" option.
(BZ#801711)

* Previously, the file utility contained multiple "magic" patterns to detect
output of the "dump" backup tool. On big-endian architectures, the less detailed
"magic" pattern was used and output of the file utility was inconsistent. The
less detailed "magic" pattern has been removed, and only one, more detailed,
"magic" pattern to detect "dump" output is used now. (BZ#859834)

All users of file are advised to upgrade to these updated packages, which fix
these bugs.


Solution

Before applying this update, make sure that all previously-released errata
relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use the Red Hat
Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258

Updated packages

Red Hat Enterprise Linux Desktop (v. 6)

SRPMS:
file-5.04-15.el6.src.rpm     MD5: e4c4f33a1255947d7dc8471712019ef1
SHA-256: f3418da187f675e929a5d7fdc97ac11a63ad2a96944676c20bcb1a1b00725d88
 
IA-32:
file-5.04-15.el6.i686.rpm     MD5: 79371808afa28dfaadcd3cae8e758324
SHA-256: 222f4993cbd01f3d0c1f802d26e543ec5b639fed60bfebba944ba44d4f27efda
file-debuginfo-5.04-15.el6.i686.rpm     MD5: 0b77d943a5129395739586b123e26942
SHA-256: fca0ed7a4a372a38874b5183aa3426463cba06b4505322f5f25492813edd89e4
file-devel-5.04-15.el6.i686.rpm     MD5: 3393c4e80590066abf2afcd28eaad3fe
SHA-256: 2c65a14f3418ca50461574832a92df483f1633ecb43789b24ff8446b309cbcf3
file-libs-5.04-15.el6.i686.rpm     MD5: f559b0a3e60ce853504cbcdbc49ab457
SHA-256: ec9ad6569f32f55f9ce660984ea6405deaf67902861c268db6808de8add0f8bf
file-static-5.04-15.el6.i686.rpm     MD5: 902befb6c59ae567ddac42953e6a0436
SHA-256: fee6034a42bd4096e51b46ae9d5cb9daae9c9c626207dc13c2b166b0a4eeded8
python-magic-5.04-15.el6.i686.rpm     MD5: 11e972f3b9946ca45d2d15ed83341b04
SHA-256: fbaffde45f240e2d74598883e6ab0b433314f121e1ebe895f5a1372746a9748c
 
x86_64:
file-5.04-15.el6.x86_64.rpm     MD5: a01b78dbcef05e1e4466a1377e2dafa4
SHA-256: 480188fb1afb3bb76e2be9a9d29fd7bb20418c51aa825c80496bcdb9425c435f
file-debuginfo-5.04-15.el6.i686.rpm     MD5: 0b77d943a5129395739586b123e26942
SHA-256: fca0ed7a4a372a38874b5183aa3426463cba06b4505322f5f25492813edd89e4
file-debuginfo-5.04-15.el6.x86_64.rpm     MD5: a0321a1f9400981b19504ec6ca7a7ad3
SHA-256: 0c6510491cc4bcf915906bd834306689ed28785b739c86636525d4b578e84527
file-devel-5.04-15.el6.i686.rpm     MD5: 3393c4e80590066abf2afcd28eaad3fe
SHA-256: 2c65a14f3418ca50461574832a92df483f1633ecb43789b24ff8446b309cbcf3
file-devel-5.04-15.el6.x86_64.rpm     MD5: bbde8697b79d243a58ba22a1fdb41674
SHA-256: 61477e98c133dc93072b0652d59ce9c3ad7889c20a8e794b0f6f0d8ba5834ba9
file-libs-5.04-15.el6.i686.rpm     MD5: f559b0a3e60ce853504cbcdbc49ab457
SHA-256: ec9ad6569f32f55f9ce660984ea6405deaf67902861c268db6808de8add0f8bf
file-libs-5.04-15.el6.x86_64.rpm     MD5: acc53a80620d3ee6124ef0f1795e5663
SHA-256: 2d3e271c164ca3fe6b18af714f8c6fa6a77da4e8b2f9eeaa7d088207ff98b72c
file-static-5.04-15.el6.x86_64.rpm     MD5: 71705a1ace1c9caccb11d1fed4d5b73a
SHA-256: a91be4496019af060aed7cd56a837bd5dc5b860a87e31e88831e6e08ca5400ca
python-magic-5.04-15.el6.x86_64.rpm     MD5: 8368ed18b90052e4743e737a19d6d79c
SHA-256: c1721a568b30fc6e58f376181896b5cf6f72dcc1b86be97bc662aa82f7cbea75
 
Red Hat Enterprise Linux HPC Node (v. 6)

SRPMS:
file-5.04-15.el6.src.rpm     MD5: e4c4f33a1255947d7dc8471712019ef1
SHA-256: f3418da187f675e929a5d7fdc97ac11a63ad2a96944676c20bcb1a1b00725d88
 
x86_64:
file-5.04-15.el6.x86_64.rpm     MD5: a01b78dbcef05e1e4466a1377e2dafa4
SHA-256: 480188fb1afb3bb76e2be9a9d29fd7bb20418c51aa825c80496bcdb9425c435f
file-debuginfo-5.04-15.el6.i686.rpm     MD5: 0b77d943a5129395739586b123e26942
SHA-256: fca0ed7a4a372a38874b5183aa3426463cba06b4505322f5f25492813edd89e4
file-debuginfo-5.04-15.el6.x86_64.rpm     MD5: a0321a1f9400981b19504ec6ca7a7ad3
SHA-256: 0c6510491cc4bcf915906bd834306689ed28785b739c86636525d4b578e84527
file-devel-5.04-15.el6.i686.rpm     MD5: 3393c4e80590066abf2afcd28eaad3fe
SHA-256: 2c65a14f3418ca50461574832a92df483f1633ecb43789b24ff8446b309cbcf3
file-devel-5.04-15.el6.x86_64.rpm     MD5: bbde8697b79d243a58ba22a1fdb41674
SHA-256: 61477e98c133dc93072b0652d59ce9c3ad7889c20a8e794b0f6f0d8ba5834ba9
file-libs-5.04-15.el6.i686.rpm     MD5: f559b0a3e60ce853504cbcdbc49ab457
SHA-256: ec9ad6569f32f55f9ce660984ea6405deaf67902861c268db6808de8add0f8bf
file-libs-5.04-15.el6.x86_64.rpm     MD5: acc53a80620d3ee6124ef0f1795e5663
SHA-256: 2d3e271c164ca3fe6b18af714f8c6fa6a77da4e8b2f9eeaa7d088207ff98b72c
file-static-5.04-15.el6.x86_64.rpm     MD5: 71705a1ace1c9caccb11d1fed4d5b73a
SHA-256: a91be4496019af060aed7cd56a837bd5dc5b860a87e31e88831e6e08ca5400ca
python-magic-5.04-15.el6.x86_64.rpm     MD5: 8368ed18b90052e4743e737a19d6d79c
SHA-256: c1721a568b30fc6e58f376181896b5cf6f72dcc1b86be97bc662aa82f7cbea75
 
Red Hat Enterprise Linux Server (v. 6)

SRPMS:
file-5.04-15.el6.src.rpm     MD5: e4c4f33a1255947d7dc8471712019ef1
SHA-256: f3418da187f675e929a5d7fdc97ac11a63ad2a96944676c20bcb1a1b00725d88
 
IA-32:
file-5.04-15.el6.i686.rpm     MD5: 79371808afa28dfaadcd3cae8e758324
SHA-256: 222f4993cbd01f3d0c1f802d26e543ec5b639fed60bfebba944ba44d4f27efda
file-debuginfo-5.04-15.el6.i686.rpm     MD5: 0b77d943a5129395739586b123e26942
SHA-256: fca0ed7a4a372a38874b5183aa3426463cba06b4505322f5f25492813edd89e4
file-devel-5.04-15.el6.i686.rpm     MD5: 3393c4e80590066abf2afcd28eaad3fe
SHA-256: 2c65a14f3418ca50461574832a92df483f1633ecb43789b24ff8446b309cbcf3
file-libs-5.04-15.el6.i686.rpm     MD5: f559b0a3e60ce853504cbcdbc49ab457
SHA-256: ec9ad6569f32f55f9ce660984ea6405deaf67902861c268db6808de8add0f8bf
file-static-5.04-15.el6.i686.rpm     MD5: 902befb6c59ae567ddac42953e6a0436
SHA-256: fee6034a42bd4096e51b46ae9d5cb9daae9c9c626207dc13c2b166b0a4eeded8
python-magic-5.04-15.el6.i686.rpm     MD5: 11e972f3b9946ca45d2d15ed83341b04
SHA-256: fbaffde45f240e2d74598883e6ab0b433314f121e1ebe895f5a1372746a9748c
 
PPC:
file-5.04-15.el6.ppc64.rpm     MD5: 08e81531abf05a14392faa3e19d0fa7b
SHA-256: cb5ec5018f585c94746c630cf74bab2a91987a2dd5b44eeed15e7855f43bea09
file-debuginfo-5.04-15.el6.ppc.rpm     MD5: 0ecc3b6f206d2596a7245a60f444b624
SHA-256: ad37ed2cd2a14c440df23f663dd6dde8038e0277ba587c08f6778e38eb454cf1
file-debuginfo-5.04-15.el6.ppc64.rpm     MD5: e01e16046115faa116c24a86e0637b84
SHA-256: 327bf9c5a11a4a0c27c7f717d5fd6ec681b443312f2116193a14653da656fd87
file-devel-5.04-15.el6.ppc.rpm     MD5: 361ed4643756a6055b6fec6a375d5866
SHA-256: 4deb44cccd8f5d9e702af16f9eaa7b01b41fb7caddc3f0aef3d312c7b6b21d49
file-devel-5.04-15.el6.ppc64.rpm     MD5: 0c46374859dcdd47c9b57661f9b129ee
SHA-256: cb1f2bf8fb1127d4aad772903b055ab3ff06e433ae1a606bcf5905e06f2a6d7d
file-libs-5.04-15.el6.ppc.rpm     MD5: 41fb8da40de6b45c4965a0a0fdaef807
SHA-256: 55030305544c03990d9a3f01e26170f64232f155120d9a6c073e03bc67e54d89
file-libs-5.04-15.el6.ppc64.rpm     MD5: 271b9a70d5bdaaf64e0b9d8f20569853
SHA-256: 1923e4882da367f3e8d56bdad19bf984f48d52296c46da04a3f96f2006227dbb
file-static-5.04-15.el6.ppc64.rpm     MD5: b658bc3d8de2524478269ea0605a5ec9
SHA-256: 9941314e7118f3b4c0160de08efd160e0e52de52a69e68376038ac29913ee80f
python-magic-5.04-15.el6.ppc64.rpm     MD5: e1899858bced4b668e9652a61d74fa44
SHA-256: b4eacd23a9ab3a4e1912688acf34a06094096ab5d7b2b29ddac83afe42548f0d
 
s390x:
file-5.04-15.el6.s390x.rpm     MD5: 2e7fadc80c3cc8d90ae2fb1366b073ba
SHA-256: c63029bb37722d8b603a3ad3b2ffc2b5aef17a826a27e2c743b2e168b0cbf547
file-debuginfo-5.04-15.el6.s390.rpm     MD5: f208da8eea322832d1a4625694e6a9a0
SHA-256: 0fc989f9e93795a4a4f9b5905a95749d05c0c1dea8da3247a94bc4354fe8320e
file-debuginfo-5.04-15.el6.s390x.rpm     MD5: c7e9d842ecbf767cf5eda42f8c1a5a0e
SHA-256: 1263c172a8ab47f806918ad82ca937d520d2aa2a9b6b48d1de20e2a92f61b553
file-devel-5.04-15.el6.s390.rpm     MD5: 16a97957e456235a0e50857bc0a5fa15
SHA-256: b2d478be173ac0e38a87900b2133faad8882072a2cfc172eef334655c9791456
file-devel-5.04-15.el6.s390x.rpm     MD5: 9c4d9d6ecd4ecf4a115098593e55af92
SHA-256: 135231b207b88242bcecd610b81937f759a646f9c9af14f6b877044a7cf09862
file-libs-5.04-15.el6.s390.rpm     MD5: b066338c332e0daae8dabc5191a30d44
SHA-256: 13302bfc0067ba77e1b204f933535472259c3b0616307e3fa9e455a8a80d6553
file-libs-5.04-15.el6.s390x.rpm     MD5: e0c21002e9a1cd05631f23387801e015
SHA-256: 3d64831af5021f7c985fcecd7aae4c4434e1cc5574a43adb860a52c1bae88f01
file-static-5.04-15.el6.s390x.rpm     MD5: 115ff4ff1eeec545d08c253ec076b57e
SHA-256: 86bcc4aa578c5b07b5c47977a317e5305fd8aa0b38e01aa778e3f0646c6e11dc
python-magic-5.04-15.el6.s390x.rpm     MD5: f1938d51257655dbf442ca1be2d51631
SHA-256: 2a02158a575d8748b750ee887472faed04d09046e216c3bc364d9cba926cc990
 
x86_64:
file-5.04-15.el6.x86_64.rpm     MD5: a01b78dbcef05e1e4466a1377e2dafa4
SHA-256: 480188fb1afb3bb76e2be9a9d29fd7bb20418c51aa825c80496bcdb9425c435f
file-debuginfo-5.04-15.el6.i686.rpm     MD5: 0b77d943a5129395739586b123e26942
SHA-256: fca0ed7a4a372a38874b5183aa3426463cba06b4505322f5f25492813edd89e4
file-debuginfo-5.04-15.el6.x86_64.rpm     MD5: a0321a1f9400981b19504ec6ca7a7ad3
SHA-256: 0c6510491cc4bcf915906bd834306689ed28785b739c86636525d4b578e84527
file-devel-5.04-15.el6.i686.rpm     MD5: 3393c4e80590066abf2afcd28eaad3fe
SHA-256: 2c65a14f3418ca50461574832a92df483f1633ecb43789b24ff8446b309cbcf3
file-devel-5.04-15.el6.x86_64.rpm     MD5: bbde8697b79d243a58ba22a1fdb41674
SHA-256: 61477e98c133dc93072b0652d59ce9c3ad7889c20a8e794b0f6f0d8ba5834ba9
file-libs-5.04-15.el6.i686.rpm     MD5: f559b0a3e60ce853504cbcdbc49ab457
SHA-256: ec9ad6569f32f55f9ce660984ea6405deaf67902861c268db6808de8add0f8bf
file-libs-5.04-15.el6.x86_64.rpm     MD5: acc53a80620d3ee6124ef0f1795e5663
SHA-256: 2d3e271c164ca3fe6b18af714f8c6fa6a77da4e8b2f9eeaa7d088207ff98b72c
file-static-5.04-15.el6.x86_64.rpm     MD5: 71705a1ace1c9caccb11d1fed4d5b73a
SHA-256: a91be4496019af060aed7cd56a837bd5dc5b860a87e31e88831e6e08ca5400ca
python-magic-5.04-15.el6.x86_64.rpm     MD5: 8368ed18b90052e4743e737a19d6d79c
SHA-256: c1721a568b30fc6e58f376181896b5cf6f72dcc1b86be97bc662aa82f7cbea75
 
Red Hat Enterprise Linux Workstation (v. 6)

SRPMS:
file-5.04-15.el6.src.rpm     MD5: e4c4f33a1255947d7dc8471712019ef1
SHA-256: f3418da187f675e929a5d7fdc97ac11a63ad2a96944676c20bcb1a1b00725d88
 
IA-32:
file-5.04-15.el6.i686.rpm     MD5: 79371808afa28dfaadcd3cae8e758324
SHA-256: 222f4993cbd01f3d0c1f802d26e543ec5b639fed60bfebba944ba44d4f27efda
file-debuginfo-5.04-15.el6.i686.rpm     MD5: 0b77d943a5129395739586b123e26942
SHA-256: fca0ed7a4a372a38874b5183aa3426463cba06b4505322f5f25492813edd89e4
file-devel-5.04-15.el6.i686.rpm     MD5: 3393c4e80590066abf2afcd28eaad3fe
SHA-256: 2c65a14f3418ca50461574832a92df483f1633ecb43789b24ff8446b309cbcf3
file-libs-5.04-15.el6.i686.rpm     MD5: f559b0a3e60ce853504cbcdbc49ab457
SHA-256: ec9ad6569f32f55f9ce660984ea6405deaf67902861c268db6808de8add0f8bf
file-static-5.04-15.el6.i686.rpm     MD5: 902befb6c59ae567ddac42953e6a0436
SHA-256: fee6034a42bd4096e51b46ae9d5cb9daae9c9c626207dc13c2b166b0a4eeded8
python-magic-5.04-15.el6.i686.rpm     MD5: 11e972f3b9946ca45d2d15ed83341b04
SHA-256: fbaffde45f240e2d74598883e6ab0b433314f121e1ebe895f5a1372746a9748c
 
x86_64:
file-5.04-15.el6.x86_64.rpm     MD5: a01b78dbcef05e1e4466a1377e2dafa4
SHA-256: 480188fb1afb3bb76e2be9a9d29fd7bb20418c51aa825c80496bcdb9425c435f
file-debuginfo-5.04-15.el6.i686.rpm     MD5: 0b77d943a5129395739586b123e26942
SHA-256: fca0ed7a4a372a38874b5183aa3426463cba06b4505322f5f25492813edd89e4
file-debuginfo-5.04-15.el6.x86_64.rpm     MD5: a0321a1f9400981b19504ec6ca7a7ad3
SHA-256: 0c6510491cc4bcf915906bd834306689ed28785b739c86636525d4b578e84527
file-devel-5.04-15.el6.i686.rpm     MD5: 3393c4e80590066abf2afcd28eaad3fe
SHA-256: 2c65a14f3418ca50461574832a92df483f1633ecb43789b24ff8446b309cbcf3
file-devel-5.04-15.el6.x86_64.rpm     MD5: bbde8697b79d243a58ba22a1fdb41674
SHA-256: 61477e98c133dc93072b0652d59ce9c3ad7889c20a8e794b0f6f0d8ba5834ba9
file-libs-5.04-15.el6.i686.rpm     MD5: f559b0a3e60ce853504cbcdbc49ab457
SHA-256: ec9ad6569f32f55f9ce660984ea6405deaf67902861c268db6808de8add0f8bf
file-libs-5.04-15.el6.x86_64.rpm     MD5: acc53a80620d3ee6124ef0f1795e5663
SHA-256: 2d3e271c164ca3fe6b18af714f8c6fa6a77da4e8b2f9eeaa7d088207ff98b72c
file-static-5.04-15.el6.x86_64.rpm     MD5: 71705a1ace1c9caccb11d1fed4d5b73a
SHA-256: a91be4496019af060aed7cd56a837bd5dc5b860a87e31e88831e6e08ca5400ca
python-magic-5.04-15.el6.x86_64.rpm     MD5: 8368ed18b90052e4743e737a19d6d79c
SHA-256: c1721a568b30fc6e58f376181896b5cf6f72dcc1b86be97bc662aa82f7cbea75
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

795425 - file does not recognize qemu qed images
795761 - file does not recognize VirtualBox vdi images
797784 - file doesn't read patterns from $HOME/.magic.mgc file
801711 - file -z doesn't uncompress bzip2 archives
859834 - poor dump file recognition


Keywords

bz2, file, qed, vdi


These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/