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 963671 - tar: option '--xattr' is ambiguous
Summary: tar: option '--xattr' is ambiguous
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: tar
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Pavel Raiskup
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-16 11:07 UTC by Petr Sklenar
Modified: 2013-06-07 07:03 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-07 07:03:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Petr Sklenar 2013-05-16 11:07:12 UTC
Description of problem:
option '--xattr' is not working

Version-Release number of selected component (if applicable):
tar-1.26-21.el7

How reproducible:
always

Steps to Reproduce:
1. cd /;tar cvf name.tar /tmp/
2. tar --xattr -xf name.tar
  
Actual results:
tar is not untar
tar: option '--xattr' is ambiguous
Try `tar --help' or `tar --usage' for more information.

Expected results:
tar is untar

Additional info:
tar-1.26-12.el7.x86_64: works
tar-1.26-21.el7.ppc64: this bug

Comment 4 Pavel Raiskup 2013-05-16 11:24:28 UTC
Well.  In newest tar are new options --xattrs-include/--xattrs-exclude, which
clashes with --xattrs in that way.  These options were not in RHEL6.

I'm not sure if the --xattr option was ever supported in RHEL - most probably
not.  The bug #963671 seems to be just about memory leak, it is not testing
whether the '--xattr' works.  I would simply fix that test.

Pavel

Comment 5 Pavel Raiskup 2013-05-16 11:56:05 UTC
> not.  The bug #963671 seems to be just about memory leak, it is not testing

Ohh .. I mean the bug #518079 of course.

----

The xattrs-include/xattrs-exclude was added upstream by this commit:

http://git.savannah.gnu.org/cgit/tar.git/commit/?id=696338043e52f44

Pavel

Comment 6 Pavel Raiskup 2013-06-07 07:03:40 UTC
With Petr's ACK: this is expected behavior and unlikely to be changed (--xattr
option was never really supported) - so not a bug in RHEL7 tar and our tests
will be changed.  Thanks for looking at it!  Pavel


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