- Issued:
- 2016-10-04
- Updated:
- 2016-10-04
RHBA-2016:2000 - Bug Fix Advisory
Synopsis
grep bug fix update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
Updated grep packages that fix one bug are now available for Red Hat Enterprise Linux 6.
Description
The grep utility searches through textual input for lines that contain a match to a specified pattern and then prints the matching lines. The GNU grep utilities include grep, egrep, and fgrep.
This update fixes the following bug:
- In the past, the "grep -r PATTERN" command incorrectly read from the standard input instead of recursively scanning the current directory for files containing the PATTERN. This has been fixed in a past update. However, the new correct behavior broke some scripts that assumed the old functionality.
This update introduces a backward compatibility environment variable GREP_LEGACY_R. If set to '1', it makes grep behave the old incorrect way, and can be used to make the old scripts work again. (BZ#1367309)
Users of grep are advised to upgrade to these updated packages, which fix this bug.
Solution
Before applying this update, make sure all previously released errata relevant to your system have been applied.
For details on how to apply this update, refer to:
Affected Products
- Red Hat Enterprise Linux Server 6 x86_64
- Red Hat Enterprise Linux Server 6 i386
- 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 Workstation 6 x86_64
- Red Hat Enterprise Linux Workstation 6 i386
- Red Hat Enterprise Linux Desktop 6 x86_64
- Red Hat Enterprise Linux Desktop 6 i386
- Red Hat Enterprise Linux for IBM z Systems 6 s390x
- Red Hat Enterprise Linux for Power, big endian 6 ppc64
- Red Hat Enterprise Linux for Scientific Computing 6 x86_64
- Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6 s390x
- 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
Fixes
- BZ - 1367309 - grep -r has been broken in RHEL 6.7
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 6
SRPM | |
---|---|
grep-2.20-5.el6_8.src.rpm | SHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e |
x86_64 | |
grep-2.20-5.el6_8.x86_64.rpm | SHA-256: bd62afcb201432da450b8029b680140f04310ec83d8913614d4ba6473e203597 |
grep-2.20-5.el6_8.x86_64.rpm | SHA-256: bd62afcb201432da450b8029b680140f04310ec83d8913614d4ba6473e203597 |
grep-debuginfo-2.20-5.el6_8.x86_64.rpm | SHA-256: 8164bda0b933d9a96e7fa3f6c044e34e342bfd7f3304d2d373db76b16bf887a8 |
grep-debuginfo-2.20-5.el6_8.x86_64.rpm | SHA-256: 8164bda0b933d9a96e7fa3f6c044e34e342bfd7f3304d2d373db76b16bf887a8 |
i386 | |
grep-2.20-5.el6_8.i686.rpm | SHA-256: c23bd9ee8b94f994cf3cdf38394f924f70c5fcfb5b0b268aba2d2e0d8d7faee9 |
grep-debuginfo-2.20-5.el6_8.i686.rpm | SHA-256: 9901ba8633ca0d80354a246a76677598c6308b42006bad1448722ac7d554bca8 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support 6
SRPM | |
---|---|
grep-2.20-5.el6_8.src.rpm | SHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e |
x86_64 | |
grep-2.20-5.el6_8.x86_64.rpm | SHA-256: bd62afcb201432da450b8029b680140f04310ec83d8913614d4ba6473e203597 |
grep-debuginfo-2.20-5.el6_8.x86_64.rpm | SHA-256: 8164bda0b933d9a96e7fa3f6c044e34e342bfd7f3304d2d373db76b16bf887a8 |
i386 | |
grep-2.20-5.el6_8.i686.rpm | SHA-256: c23bd9ee8b94f994cf3cdf38394f924f70c5fcfb5b0b268aba2d2e0d8d7faee9 |
grep-debuginfo-2.20-5.el6_8.i686.rpm | SHA-256: 9901ba8633ca0d80354a246a76677598c6308b42006bad1448722ac7d554bca8 |
Red Hat Enterprise Linux Workstation 6
SRPM | |
---|---|
grep-2.20-5.el6_8.src.rpm | SHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e |
x86_64 | |
grep-2.20-5.el6_8.x86_64.rpm | SHA-256: bd62afcb201432da450b8029b680140f04310ec83d8913614d4ba6473e203597 |
grep-debuginfo-2.20-5.el6_8.x86_64.rpm | SHA-256: 8164bda0b933d9a96e7fa3f6c044e34e342bfd7f3304d2d373db76b16bf887a8 |
i386 | |
grep-2.20-5.el6_8.i686.rpm | SHA-256: c23bd9ee8b94f994cf3cdf38394f924f70c5fcfb5b0b268aba2d2e0d8d7faee9 |
grep-debuginfo-2.20-5.el6_8.i686.rpm | SHA-256: 9901ba8633ca0d80354a246a76677598c6308b42006bad1448722ac7d554bca8 |
Red Hat Enterprise Linux Desktop 6
SRPM | |
---|---|
grep-2.20-5.el6_8.src.rpm | SHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e |
x86_64 | |
grep-2.20-5.el6_8.x86_64.rpm | SHA-256: bd62afcb201432da450b8029b680140f04310ec83d8913614d4ba6473e203597 |
grep-debuginfo-2.20-5.el6_8.x86_64.rpm | SHA-256: 8164bda0b933d9a96e7fa3f6c044e34e342bfd7f3304d2d373db76b16bf887a8 |
i386 | |
grep-2.20-5.el6_8.i686.rpm | SHA-256: c23bd9ee8b94f994cf3cdf38394f924f70c5fcfb5b0b268aba2d2e0d8d7faee9 |
grep-debuginfo-2.20-5.el6_8.i686.rpm | SHA-256: 9901ba8633ca0d80354a246a76677598c6308b42006bad1448722ac7d554bca8 |
Red Hat Enterprise Linux for IBM z Systems 6
SRPM | |
---|---|
grep-2.20-5.el6_8.src.rpm | SHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e |
s390x | |
grep-2.20-5.el6_8.s390x.rpm | SHA-256: f0846baf98ed6d81fe020b4fd1073a165d60e73c00b289460148a3d8e849af26 |
grep-debuginfo-2.20-5.el6_8.s390x.rpm | SHA-256: 123f9fe57180fa027ed98243e4ad7b8f5667b2a8f233399eec37d158742ae6f3 |
Red Hat Enterprise Linux for Power, big endian 6
SRPM | |
---|---|
grep-2.20-5.el6_8.src.rpm | SHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e |
ppc64 | |
grep-2.20-5.el6_8.ppc64.rpm | SHA-256: 20287debd8618cb4ba5fbc83ac9ce8d067bcd9520fa6d2bf43e35510b415af35 |
grep-debuginfo-2.20-5.el6_8.ppc64.rpm | SHA-256: 3cfc9639872b6aaf427faf0b96cc398afa1fc969767d8fc928ea3fca12347a4e |
Red Hat Enterprise Linux for Scientific Computing 6
SRPM | |
---|---|
grep-2.20-5.el6_8.src.rpm | SHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e |
x86_64 | |
grep-2.20-5.el6_8.x86_64.rpm | SHA-256: bd62afcb201432da450b8029b680140f04310ec83d8913614d4ba6473e203597 |
grep-debuginfo-2.20-5.el6_8.x86_64.rpm | SHA-256: 8164bda0b933d9a96e7fa3f6c044e34e342bfd7f3304d2d373db76b16bf887a8 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6
SRPM | |
---|---|
grep-2.20-5.el6_8.src.rpm | SHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e |
s390x | |
grep-2.20-5.el6_8.s390x.rpm | SHA-256: f0846baf98ed6d81fe020b4fd1073a165d60e73c00b289460148a3d8e849af26 |
grep-debuginfo-2.20-5.el6_8.s390x.rpm | SHA-256: 123f9fe57180fa027ed98243e4ad7b8f5667b2a8f233399eec37d158742ae6f3 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6
SRPM | |
---|---|
grep-2.20-5.el6_8.src.rpm | SHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e |
x86_64 | |
grep-2.20-5.el6_8.x86_64.rpm | SHA-256: bd62afcb201432da450b8029b680140f04310ec83d8913614d4ba6473e203597 |
grep-debuginfo-2.20-5.el6_8.x86_64.rpm | SHA-256: 8164bda0b933d9a96e7fa3f6c044e34e342bfd7f3304d2d373db76b16bf887a8 |
i386 | |
grep-2.20-5.el6_8.i686.rpm | SHA-256: c23bd9ee8b94f994cf3cdf38394f924f70c5fcfb5b0b268aba2d2e0d8d7faee9 |
grep-debuginfo-2.20-5.el6_8.i686.rpm | SHA-256: 9901ba8633ca0d80354a246a76677598c6308b42006bad1448722ac7d554bca8 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) 6
SRPM | |
---|---|
grep-2.20-5.el6_8.src.rpm | SHA-256: 6a3b09b3b12fa34cda52e4253d0f5846455e12b30469fb27d0ebb8e140321f4e |
s390x | |
grep-2.20-5.el6_8.s390x.rpm | SHA-256: f0846baf98ed6d81fe020b4fd1073a165d60e73c00b289460148a3d8e849af26 |
grep-debuginfo-2.20-5.el6_8.s390x.rpm | SHA-256: 123f9fe57180fa027ed98243e4ad7b8f5667b2a8f233399eec37d158742ae6f3 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.