Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1341786 - tar silently ignores --xattrs-exclude during archive creation
tar silently ignores --xattrs-exclude during archive creation
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: tar (Show other bugs)
7.2
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Tomas Repik
Robin Hack
Lenka Kimlickova
:
Depends On:
Blocks: 1400961 1341787 1393868
  Show dependency treegraph
 
Reported: 2016-06-01 14:44 EDT by Ian McLeod
Modified: 2017-08-01 13:01 EDT (History)
4 users (show)

See Also:
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.
Story Points: ---
Clone Of:
: 1341787 (view as bug list)
Environment:
Last Closed: 2017-08-01 13:01:03 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2012 normal SHIPPED_LIVE tar bug fix update 2017-08-01 14:01:19 EDT

  None (edit)
Description Ian McLeod 2016-06-01 14:44:01 EDT
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 02:50:16 EDT
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 13:01:03 EDT
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.