- Issued:
- 2014-06-19
- Updated:
- 2014-10-13
RHBA-2014:0769 - xz bug fix update
Synopsis
xz bug fix update
Type/Severity
Bug Fix Advisory
Topic
Updated xz packages that fix several bugs are now available for Red Hat Enterprise Linux 6.
Description
XZ Utils is an integrated collection of user-space file compression utilities based on the Lempel-Ziv-Markov chain algorithm (LZMA), which performs lossless data compression. The algorithm provides a high compression ratio while keeping the decompression time short.
This update fixes the following bugs:
-
Previously, the '-h' option of the xzgrep command was not included. As a consequence, the matching lines in the output were prefixed with the corresponding file names. This update adds the '-h' option, and running the 'xzgrep -h' command now suppresses the file name on output as expected. (BZ#850898)
-
Prior to this update, running the 'xzgrep -l' command did not work correctly because the source code did not handle the '-q' option appropriately. As a consequence, an error message was displayed. A patch has been applied to handle the 'grep -q' command in the source code correctly. As a result, running the 'xzgrep -l' suppresses normal output and prints file names with a matching line as expected. (BZ#863024)
-
The xzfgrep command is supposed to act as an alias for the 'xzgrep -F' command. Previously, this alias behavior was not set correctly, and the patterns were processed as regular expressions and not as fixed strings. As a consequence, running the xzfgrep command produced no output. With this update, xzfgrep command works as an alias of the 'xzgrep -F' command, and running the xzfgrep command returns correct output. (BZ#988703)
-
Previously, the xzgrep command returned exit status 1 when contents of one or more files did not match the requested pattern. With this update, xzgrep returns exit status 0 if there is at least one match of the pattern, which makes the xzgrep behavior consistent with the default grep command behavior. (BZ#1108085)
Users of xz are advised to upgrade to these updated packages, which fix these bugs.
Solution
Before applying this update, make sure all previously released errata relevant to your system have been applied.
This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at https://access.redhat.com/site/articles/11258
Affected Products
| Product | Version | Arch |
|---|---|---|
| Red Hat Enterprise Linux for Scientific Computing | 6 | x86_64 |
| Red Hat Enterprise Linux for Power, big endian | 6 | ppc64 |
| Red Hat Enterprise Linux for IBM z Systems | 6 | s390x |
| Red Hat Enterprise Linux Workstation | 6 | x86_64 |
| Red Hat Enterprise Linux Workstation | 6 | i386 |
| Red Hat Enterprise Linux Server | 6 | x86_64 |
| Red Hat Enterprise Linux Server | 6 | i386 |
| Red Hat Enterprise Linux Server from RHUI | 6 | x86_64 |
| Red Hat Enterprise Linux Server from RHUI | 6 | i386 |
| Red Hat Enterprise Linux Server - Retired Extended Life Cycle Support | 6 | x86_64 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support | 6 | x86_64 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support | 6 | i386 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension | 6 | x86_64 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension | 6 | i386 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) | 6 | s390x |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) | 6 | s390x |
| Red Hat Enterprise Linux Desktop | 6 | x86_64 |
| Red Hat Enterprise Linux Desktop | 6 | i386 |
Updated Packages
- xz-4.999.9-0.5.beta.20091007git.el6.src.rpm
- xz-debuginfo-4.999.9-0.5.beta.20091007git.el6.ppc64.rpm
- xz-devel-4.999.9-0.5.beta.20091007git.el6.ppc64.rpm
- xz-libs-4.999.9-0.5.beta.20091007git.el6.i686.rpm
- xz-devel-4.999.9-0.5.beta.20091007git.el6.s390.rpm
- xz-libs-4.999.9-0.5.beta.20091007git.el6.x86_64.rpm
- xz-libs-4.999.9-0.5.beta.20091007git.el6.ppc.rpm
- xz-debuginfo-4.999.9-0.5.beta.20091007git.el6.s390.rpm
- xz-debuginfo-4.999.9-0.5.beta.20091007git.el6.x86_64.rpm
- xz-devel-4.999.9-0.5.beta.20091007git.el6.s390x.rpm
- xz-4.999.9-0.5.beta.20091007git.el6.i686.rpm
- xz-4.999.9-0.5.beta.20091007git.el6.s390x.rpm
- xz-devel-4.999.9-0.5.beta.20091007git.el6.x86_64.rpm
- xz-devel-4.999.9-0.5.beta.20091007git.el6.i686.rpm
- xz-lzma-compat-4.999.9-0.5.beta.20091007git.el6.i686.rpm
- xz-debuginfo-4.999.9-0.5.beta.20091007git.el6.ppc.rpm
- xz-4.999.9-0.5.beta.20091007git.el6.x86_64.rpm
- xz-lzma-compat-4.999.9-0.5.beta.20091007git.el6.ppc64.rpm
- xz-libs-4.999.9-0.5.beta.20091007git.el6.ppc64.rpm
- xz-libs-4.999.9-0.5.beta.20091007git.el6.s390.rpm
- xz-lzma-compat-4.999.9-0.5.beta.20091007git.el6.x86_64.rpm
- xz-lzma-compat-4.999.9-0.5.beta.20091007git.el6.s390x.rpm
- xz-4.999.9-0.5.beta.20091007git.el6.ppc64.rpm
- xz-libs-4.999.9-0.5.beta.20091007git.el6.s390x.rpm
- xz-debuginfo-4.999.9-0.5.beta.20091007git.el6.i686.rpm
- xz-debuginfo-4.999.9-0.5.beta.20091007git.el6.s390x.rpm
- xz-devel-4.999.9-0.5.beta.20091007git.el6.ppc.rpm
Fixes
CVEs
(none)
References
(none)
Additional information
- The Red Hat security contact is This content is not included.secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.