Bug 1408168
| Summary: | tar hangs with --extract --xattrs --skip-old-files | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Pavel Raiskup <praiskup> |
| Component: | tar | Assignee: | Pavel Raiskup <praiskup> |
| Status: | CLOSED ERRATA | QA Contact: | Vaclav Danek <vdanek> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.2 | CC: | databases-maint, extras-qa, hhorak, kdudka, ovasik, pkubat, praiskup, psklenar, vdanek |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | tar-1.26-33.el7 | Doc Type: | Bug Fix |
| Doc Text: |
Cause:
Tar mistakenly tried to extract extended attributes also for files which were not expected to be extracted.
Consequence:
Tar got stuck in busy loop, repeatedly trying to restore extended file attributes.
Fix:
The extended attribute extraction method was fixed to respect --skip-old-files option.
Result:
Tar now behaves properly with --xattrs and --skip-old-files.
|
Story Points: | --- |
| Clone Of: | 1399036 | Environment: | |
| Last Closed: | 2018-04-10 11:30:49 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1399036 | ||
| Bug Blocks: | |||
|
Description
Pavel Raiskup
2016-12-22 11:04:43 UTC
(In reply to Pavel Raiskup from comment #0) Tried to reproduce it but I'm not able to. I'm not sure how to get this output line: > -rw-------* praiskup/praiskup 0 2016-11-28 07:06 a expecialy the star in file mode. Some files in archive need to have xattrs set. 143: xattrs: basic functionality ok 144: xattrs: change directory with -C option ok 146: xattrs: s/open/openat/ regression ok 147: xattrs: keywords with '=' and '%' ok 148: xattrs: exclude xattrs on create ok 149: xattrs: xattrs and --skip-old-files ok => Verified 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-2018:0716 |