Bug 218877 - /usr/bin/tar exits with INTERNAL ERROR: Function 'archive_read_disk_open'
Summary: /usr/bin/tar exits with INTERNAL ERROR: Function 'archive_read_disk_open'
Status: Closed DUPLICATE of bug 213335
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 11.0-RELEASE
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-25 14:54 UTC by papowell
Modified: 2018-02-02 21:58 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description papowell 2017-04-25 14:54:08 UTC
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.
Comment 1 papowell 2017-04-25 15:55:02 UTC
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.
Comment 3 Conrad Meyer freebsd_committer freebsd_triage 2018-02-02 21:58:12 UTC

*** This bug has been marked as a duplicate of bug 213335 ***