FreeBSD tester_vm 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 Command: test110: {155} # /usr/bin/tar -vczf /var/tmp/rmi_files.tgz -C / etc/newsyslog.conf etc/namedb/named.conf etc/fstab a etc/newsyslog.conf tar: etc/namedb/named.conf: Cannot stat: No such file or directory tar: INTERNAL ERROR: Function 'archive_read_disk_open' invoked with archive structure in state 'header', should be in state 'new/closed': Unknown error: -1 tar: Error exit delayed from previous errors. This was duplicated on several systems, including a VirtualBox VM.
I downloaded and installed FreeBSD-11.0-STABLE-amd64-20170420-r317153-disc1.iso FreeBSD test11snapshot 11.0-STABLE FreeBSD 11.0-STABLE #0 r317153: Thu Apr 20 05:43:02 UTC 2017 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 This version seems to work: root@test11snapshot: /usr/bin/tar -vczf /var/tmp/rmi_files.tgz -C / etc/newsyslog.conf etc/namedb/named.conf etc/fstab a etc/newsyslog.conf tar: etc/namedb/named.conf: Cannot stat: No such file or directory a etc/fstab tar: Error exit delayed from previous errors.
Can we close this PR? This was reported here: https://github.com/libarchive/libarchive/issues/794 and fixed here: https://github.com/libarchive/libarchive/commit/024be27d1b299c030e8841bed3002ee07ba9eedc We already have that code: https://svnweb.freebsd.org/base/release/11.1.0/contrib/libarchive/tar/write.c?revision=321354&view=markup#l889 In addition, this is a duplicate of https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213335 that is already CLOSED. Thanks
*** This bug has been marked as a duplicate of bug 213335 ***