Red Hat Bugzilla – Bug 1408168
tar hangs with --extract --xattrs --skip-old-files
Last modified: 2018-04-10 07:31:30 EDT
The busy hang is IMO worth fixing in RHEL 7, too. +++ This bug was initially created as a clone of Bug #1399036 +++) Steps to reproduce: $ tar tvf a.tar --xattrs -rw-------* praiskup/praiskup 0 2016-11-28 07:06 a $ touch a $ tar xf a.tar --xattrs --skip-old-files [busy loop..] Upstream report: http://www.mail-archive.com/bug-tar@gnu.org/msg05184.html Upstream fix: 597b0ae509 and ca9399d4e
(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