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 1341786 - tar silently ignores --xattrs-exclude during archive creation
Summary: tar silently ignores --xattrs-exclude during archive creation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: tar
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Tomas Repik
QA Contact: Robin Hack
Lenka Kimlickova
URL:
Whiteboard:
Depends On:
Blocks: 1341787 1393868 1400961
TreeView+ depends on / blocked
 
Reported: 2016-06-01 18:44 UTC by Ian McLeod
Modified: 2017-08-01 17:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Release Note
Doc Text:
"tar" options "--xattrs-exclude" and "--xattrs-include" no longer ignored Previously, the "tar" command ignored the "--xattrs-exclude" and "--xattrs-include" options. To fix this bug, "tar" has been modified to apply include and exclude masks when fetching extended attributes. As a result, the "--xattrs-exclude" and "--xattrs-include" options are no longer ignored.
Clone Of:
: 1341787 (view as bug list)
Environment:
Last Closed: 2017-08-01 17:01:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2012 0 normal SHIPPED_LIVE tar bug fix update 2017-08-01 18:01:19 UTC

Description Ian McLeod 2016-06-01 18:44:01 UTC
Description of problem:

When creating archives tar silently ignores --xattrs-exclude options.  More details, and a proposed patch can be found on the upstream mailing list here:

http://lists.gnu.org/archive/html/bug-tar/2016-05/msg00032.html


Version-Release number of selected component (if applicable):

All 1.28 versions and, it seems, all versions since this CLI option was added.

How reproducible:

Always.

Comment 2 Pavel Raiskup 2016-06-02 06:50:16 UTC
It would be nice to have it upstream first, though it is simple enough
and straight-forward patch (likely will be applied unchanged sooner or later)
so I believe we could go downstream first in this case.

Comment 12 errata-xmlrpc 2017-08-01 17:01:03 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.

https://access.redhat.com/errata/RHBA-2017:2012


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