RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 863024 - `xzgrep -l word filename.xz` fails with "grep: -q: No such file or directory"
Summary: `xzgrep -l word filename.xz` fails with "grep: -q: No such file or directory"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: xz
Version: 6.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Pavel Raiskup
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 947782
TreeView+ depends on / blocked
 
Reported: 2012-10-04 09:10 UTC by Dan Kenigsberg
Modified: 2014-06-19 08:45 UTC (History)
6 users (show)

Fixed In Version: xz-4.999.9-0.4.beta.20091007git.el6
Doc Type: Bug Fix
Doc Text:
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.
Clone Of:
Environment:
Last Closed: 2014-06-19 08:45:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0769 0 normal SHIPPED_LIVE xz bug fix update 2014-06-19 12:45:08 UTC

Description Dan Kenigsberg 2012-10-04 09:10:43 UTC
Description of problem:
`xzgrep -l` does not work.

Version-Release number of selected component (if applicable):
xz-4.999.9-0.3.beta.20091007git.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. xzgrep -l word *.xz
  
Actual results:
grep: -q: No such file or directory

Expected results:
list of files with "word"

Additional info:
Solved upstream by

http://git.tukaani.org/?p=xz.git;a=commitdiff;h=c7210d9a3fca6f31a57208bfddfc9ab20a2e097a
http://git.tukaani.org/?p=xz.git;a=commitdiff;h=40277998cb9bad564ce4827aff152e6e1c904dfa

Comment 1 RHEL Program Management 2012-10-04 09:29:46 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 2 Jindrich Novy 2013-02-11 06:22:29 UTC
This one is fairly easily to be fixed. It's quite annoying bug fixed in upstream.

Comment 3 RHEL Program Management 2013-10-14 00:23:48 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 9 errata-xmlrpc 2014-06-19 08:45:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0769.html


Note You need to log in before you can comment on or make changes to this bug.