OS-4526: tar should check prefix field when detecting EOT

Details

Issue Type:Bug
Priority:4 - Normal
Status:Resolved
Created at:2015-07-20T20:28:20.000Z
Updated at:2019-05-02T18:05:22.387Z

People

Created by:Former user
Reported by:Brian Bennett
Assigned to:Former user

Resolution

Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2015-07-22T16:27:03.000Z)

Fix Versions

2015-07-23 Therac-25 (Release Date: 2015-07-23)

Description

Downloaded a tar file from a third party. When extracting it with /usr/bin/tar everything seems to be normal, but the extracted contents are incomplete.

The file is https://s3.amazonaws.com/cfengine-package-repos/tarballs/cfengine-masterfiles-3.7.0.tar.gz

Tracing with truss, it ends with this:

access("cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-2_amd64", F_OK) = 0
stat64("cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-2_amd64", 0x08046D50) = 0
open64("cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-2_amd64", O_RDONLY) = 5
unlinkat(5, "test-package-charlie_1.0-2_amd64-deb-installed.txt", AT_REMOVEDIR) Err#2 ENOENT
fstatat64(5, "test-package-charlie_1.0-2_amd64-deb-installed.txt", 0x080478E0, 0) Err#2 ENOENT
openat64(5, "test-package-charlie_1.0-2_amd64-deb-installed.txt", O_RDWR|O_CREAT|O_TRUNC, 0100644) = 6
write(6, " T h i s   i s   a   f i".., 52)      = 52
time()                                          = 1437424025
uucopy(0x08046E00, 0x08046DB0, 16)              = 0
utimensat(5, "test-package-charlie_1.0-2_amd64-deb-installed.txt", 0x08046DA0, 0) = 0
close(5)                                        = 0
close(6)                                        = 0
time()                                          = 1437424025
uucopy(0x08046DB0, 0x08046D60, 16)              = 0
utimensat(AT_FDCWD, "cfengine-masterfiles-3.7.0", 0x08046D50, 0) = 0
time()                                          = 1437424025
uucopy(0x08046DB0, 0x08046D60, 16)              = 0
utimensat(AT_FDCWD, "cfengine-masterfiles-3.7.0/tests", 0x08046D50, 0) = 0
time()                                          = 1437424025
uucopy(0x08046DB0, 0x08046D60, 16)              = 0
utimensat(AT_FDCWD, "cfengine-masterfiles-3.7.0/tests/acceptance", 0x08046D50, 0) = 0
time()                                          = 1437424025
uucopy(0x08046DB0, 0x08046D60, 16)              = 0
utimensat(AT_FDCWD, "cfengine-masterfiles-3.7.0/tests/acceptance/17_packages", 0x08046D50, 0) = 0
time()                                          = 1437424025
uucopy(0x08046DB0, 0x08046D60, 16)              = 0
utimensat(AT_FDCWD, "cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources", 0x08046D50, 0) = 0
time()                                          = 1437424025
uucopy(0x08046DB0, 0x08046D60, 16)              = 0
utimensat(AT_FDCWD, "cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-2_amd64", 0x08046D50, 0) = 0
close(4)                                        = 0
close(1)                                        = 0
    Received signal #18, SIGCLD, in waitid() [default]
      siginfo: SIGCLD CLD_KILLED pid=19591 status=0x000D
waitid(P_PID, 19591, 0x080478B0, WEXITED|WTRAPPED) = 0
_exit(0)

Extracting with gtar extracts all files properly.

Comments

Comment by Former user
Created at 2015-07-20T21:13:14.000Z
Updated at 2015-07-20T21:13:23.000Z

Former user, can you please use find | sort on the result of extraction from both native tar as well as gtar, and diff the output?


Comment by Brian Bennett
Created at 2015-07-20T21:15:18.000Z
Updated at 2019-05-02T18:05:22.166Z
pkgsrc:/data/build/smartos-juicer/cfengine] diff -u solaris_tar.txt gnu_tar.txt                                                             '-> 1
--- solaris_tar.txt     Mon Jul 20 21:14:04 2015
+++ gnu_tar.txt Mon Jul 20 21:14:23 2015
@@ -1,4 +1,5 @@
 cfengine-masterfiles-3.7.0
+cfengine-masterfiles-3.7.0/aclocal.m4
 cfengine-masterfiles-3.7.0/cfe_internal
 cfengine-masterfiles-3.7.0/cfe_internal/CFE_cfengine.cf
 cfengine-masterfiles-3.7.0/cfe_internal/core
@@ -23,8 +24,11 @@
 cfengine-masterfiles-3.7.0/cfe_internal/update/update_bins.cf
 cfengine-masterfiles-3.7.0/cfe_internal/update/update_policy.cf
 cfengine-masterfiles-3.7.0/cfe_internal/update/update_processes.cf
+cfengine-masterfiles-3.7.0/config.guess
+cfengine-masterfiles-3.7.0/config.sub
 cfengine-masterfiles-3.7.0/configure
 cfengine-masterfiles-3.7.0/configure.ac
+cfengine-masterfiles-3.7.0/CONTRIBUTING.md
 cfengine-masterfiles-3.7.0/controls
 cfengine-masterfiles-3.7.0/controls/3.5
 cfengine-masterfiles-3.7.0/controls/3.5/cf_agent.cf
@@ -70,19 +74,392 @@
 cfengine-masterfiles-3.7.0/inventory/redhat.cf
 cfengine-masterfiles-3.7.0/inventory/suse.cf
 cfengine-masterfiles-3.7.0/inventory/windows.cf
+cfengine-masterfiles-3.7.0/lib
+cfengine-masterfiles-3.7.0/lib/3.5
+cfengine-masterfiles-3.7.0/lib/3.5/bundles.cf
+cfengine-masterfiles-3.7.0/lib/3.5/cfe_internal.cf
+cfengine-masterfiles-3.7.0/lib/3.5/commands.cf
+cfengine-masterfiles-3.7.0/lib/3.5/common.cf
+cfengine-masterfiles-3.7.0/lib/3.5/databases.cf
+cfengine-masterfiles-3.7.0/lib/3.5/feature.cf
+cfengine-masterfiles-3.7.0/lib/3.5/files.cf
+cfengine-masterfiles-3.7.0/lib/3.5/guest_environments.cf
+cfengine-masterfiles-3.7.0/lib/3.5/monitor.cf
+cfengine-masterfiles-3.7.0/lib/3.5/packages.cf
+cfengine-masterfiles-3.7.0/lib/3.5/paths.cf
+cfengine-masterfiles-3.7.0/lib/3.5/processes.cf
+cfengine-masterfiles-3.7.0/lib/3.5/services.cf
+cfengine-masterfiles-3.7.0/lib/3.5/storage.cf
+cfengine-masterfiles-3.7.0/lib/3.6
+cfengine-masterfiles-3.7.0/lib/3.6/autorun.cf
+cfengine-masterfiles-3.7.0/lib/3.6/bundles.cf
+cfengine-masterfiles-3.7.0/lib/3.6/cfe_internal_hub.cf
+cfengine-masterfiles-3.7.0/lib/3.6/cfe_internal.cf
+cfengine-masterfiles-3.7.0/lib/3.6/cfengine_enterprise_hub_ha.cf
+cfengine-masterfiles-3.7.0/lib/3.6/commands.cf
+cfengine-masterfiles-3.7.0/lib/3.6/common.cf
+cfengine-masterfiles-3.7.0/lib/3.6/databases.cf
+cfengine-masterfiles-3.7.0/lib/3.6/edit_xml.cf
+cfengine-masterfiles-3.7.0/lib/3.6/examples.cf
+cfengine-masterfiles-3.7.0/lib/3.6/feature.cf
+cfengine-masterfiles-3.7.0/lib/3.6/files.cf
+cfengine-masterfiles-3.7.0/lib/3.6/guest_environments.cf
+cfengine-masterfiles-3.7.0/lib/3.6/monitor.cf
+cfengine-masterfiles-3.7.0/lib/3.6/packages.cf
+cfengine-masterfiles-3.7.0/lib/3.6/paths.cf
+cfengine-masterfiles-3.7.0/lib/3.6/processes.cf
+cfengine-masterfiles-3.7.0/lib/3.6/services.cf
+cfengine-masterfiles-3.7.0/lib/3.6/stdlib.cf
+cfengine-masterfiles-3.7.0/lib/3.6/storage.cf
+cfengine-masterfiles-3.7.0/lib/3.6/users.cf
+cfengine-masterfiles-3.7.0/lib/3.6/vcs.cf
+cfengine-masterfiles-3.7.0/lib/3.7
+cfengine-masterfiles-3.7.0/lib/3.7/autorun.cf
+cfengine-masterfiles-3.7.0/lib/3.7/bundles.cf
+cfengine-masterfiles-3.7.0/lib/3.7/cfe_internal_hub.cf
+cfengine-masterfiles-3.7.0/lib/3.7/cfe_internal.cf
+cfengine-masterfiles-3.7.0/lib/3.7/cfengine_enterprise_hub_ha.cf
+cfengine-masterfiles-3.7.0/lib/3.7/commands.cf
+cfengine-masterfiles-3.7.0/lib/3.7/common.cf
+cfengine-masterfiles-3.7.0/lib/3.7/databases.cf
+cfengine-masterfiles-3.7.0/lib/3.7/edit_xml.cf
+cfengine-masterfiles-3.7.0/lib/3.7/examples.cf
+cfengine-masterfiles-3.7.0/lib/3.7/feature.cf
+cfengine-masterfiles-3.7.0/lib/3.7/files.cf
+cfengine-masterfiles-3.7.0/lib/3.7/guest_environments.cf
+cfengine-masterfiles-3.7.0/lib/3.7/monitor.cf
+cfengine-masterfiles-3.7.0/lib/3.7/packages.cf
+cfengine-masterfiles-3.7.0/lib/3.7/paths.cf
+cfengine-masterfiles-3.7.0/lib/3.7/processes.cf
+cfengine-masterfiles-3.7.0/lib/3.7/services.cf
+cfengine-masterfiles-3.7.0/lib/3.7/stdlib.cf
+cfengine-masterfiles-3.7.0/lib/3.7/storage.cf
+cfengine-masterfiles-3.7.0/lib/3.7/users.cf
+cfengine-masterfiles-3.7.0/lib/3.7/vcs.cf
+cfengine-masterfiles-3.7.0/lib/README.md
 cfengine-masterfiles-3.7.0/LICENSE
+cfengine-masterfiles-3.7.0/m4
+cfengine-masterfiles-3.7.0/m4/cf3_platforms.m4
+cfengine-masterfiles-3.7.0/m4/tar.m4
 cfengine-masterfiles-3.7.0/Makefile.am
+cfengine-masterfiles-3.7.0/Makefile.in
+cfengine-masterfiles-3.7.0/missing
+cfengine-masterfiles-3.7.0/modules
+cfengine-masterfiles-3.7.0/modules/packages
+cfengine-masterfiles-3.7.0/modules/packages/apt_get
+cfengine-masterfiles-3.7.0/modules/packages/Makefile.am
+cfengine-masterfiles-3.7.0/modules/packages/Makefile.in
+cfengine-masterfiles-3.7.0/modules/packages/yum
 cfengine-masterfiles-3.7.0/PACKAGE-MODULE-API.md
+cfengine-masterfiles-3.7.0/promises.cf
+cfengine-masterfiles-3.7.0/README.md
+cfengine-masterfiles-3.7.0/services
+cfengine-masterfiles-3.7.0/services/autorun
+cfengine-masterfiles-3.7.0/services/autorun/hello.cf
+cfengine-masterfiles-3.7.0/services/main.cf
+cfengine-masterfiles-3.7.0/sketches
+cfengine-masterfiles-3.7.0/sketches/meta
+cfengine-masterfiles-3.7.0/sketches/meta/api-runfile.cf
+cfengine-masterfiles-3.7.0/templates
+cfengine-masterfiles-3.7.0/templates/host_info_report.mustache
 cfengine-masterfiles-3.7.0/tests
 cfengine-masterfiles-3.7.0/tests/acceptance
+cfengine-masterfiles-3.7.0/tests/acceptance/09_services
+cfengine-masterfiles-3.7.0/tests/acceptance/09_services/unsafe
+cfengine-masterfiles-3.7.0/tests/acceptance/09_services/unsafe/running_repaired.cf
+cfengine-masterfiles-3.7.0/tests/acceptance/09_services/unsafe/service_common.cf.sub
 cfengine-masterfiles-3.7.0/tests/acceptance/17_packages
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/01_init
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/01_init/unsafe
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/01_init/unsafe/timed
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/01_init/unsafe/timed/001-prepare-repositories.cf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/10_new
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/10_new/unsafe
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/10_new/unsafe/the_great_package_test_generator.py
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/10_new/unsafe/the_great_package_test.cf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/11_old
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/11_old/unsafe
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/11_old/unsafe/11_packagesmatching.cf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/11_old/unsafe/12_packagesmatching.cf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/11_old/unsafe/named_multi_pkg_absent.cf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/11_old/unsafe/named_multi_pkg_present.cf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/11_old/unsafe/named_multi_pkg_upgrade.cf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/11_old/unsafe/named_pkg_absent.cf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/11_old/unsafe/named_pkg_file_present.cf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/11_old/unsafe/named_pkg_file_upgrade.cf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/11_old/unsafe/named_pkg_present.cf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/11_old/unsafe/named_pkg_upgrade.cf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/11_old/unsafe/named_versioned_pkg_present.cf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/11_old/unsafe/named_versioned_pkg_upgrade.cf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/11_old/unsafe/package-inventory.cf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/11_old/unsafe/README
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/11_old/unsafe/staging
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/11_old/unsafe/staging/named_pkg_same_version_kept.cf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/11_old/unsafe/staging/named_versioned_pkg_absent.cf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/11_old/unsafe/timed
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/11_old/unsafe/timed/inventory_packages_update_frequency.cf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/12_new
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/12_new/timed
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/12_new/timed/installed-list-cached.cf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/12_new/timed/installed-list-cached.cf.sub
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/12_new/timed/local-updates-list-cached.cf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/12_new/timed/local-updates-list-cached.cf.sub
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/12_new/timed/test_module
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/12_new/timed/updates-list-cached.cf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/12_new/timed/updates-list-cached.cf.sub
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/multiline_yum_check_update.cf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/multiline_yum_check_update.cf.expected
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/packages-info.cf.sub
 cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/build-deb-repo
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/build-rpm-repo
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/conf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/conf/distributions
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/db
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/db/checksums.db
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/db/contents.cache.db
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/db/packages.db
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/db/references.db
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/db/release.caches.db
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/db/version
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/dists
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/dists/package1
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/dists/package1/main
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/dists/package1/main/binary-amd64
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/dists/package1/main/binary-amd64/Packages
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/dists/package1/main/binary-amd64/Packages.gz
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/dists/package1/main/binary-amd64/Release
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/dists/package1/main/binary-amd64/Release.gpg
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/dists/package1/main/binary-armel
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/dists/package1/main/binary-armel/Packages
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/dists/package1/main/binary-armel/Packages.gz
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/dists/package1/main/binary-armel/Release
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/dists/package1/main/binary-armel/Release.gpg
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/dists/package1/main/binary-i386
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/dists/package1/main/binary-i386/Packages
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/dists/package1/main/binary-i386/Packages.gz
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/dists/package1/main/binary-i386/Release
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/dists/package1/main/binary-i386/Release.gpg
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/dists/package1/Release
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/dists/package1/Release.gpg
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/pool
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/pool/main
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/pool/main/t
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/pool/main/t/test-package-alpha
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/pool/main/t/test-package-alpha/test-package-alpha_1.0-1_amd64.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/pool/main/t/test-package-alpha/test-package-alpha_1.0-1_i386.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/pool/main/t/test-package-beta
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/pool/main/t/test-package-beta/test-package-beta_1.0-1_amd64.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/pool/main/t/test-package-beta/test-package-beta_1.0-1_i386.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/pool/main/t/test-package-charlie
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/pool/main/t/test-package-charlie/test-package-charlie_1.0-1_amd64.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/pool/main/t/test-package-charlie/test-package-charlie_1.0-1_i386.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/test-package-alpha_1.0-1_amd64.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/test-package-alpha_1.0-1_i386.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/test-package-beta_1.0-1_amd64.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/test-package-beta_1.0-1_i386.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/test-package-charlie_1.0-1_amd64.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo1/test-package-charlie_1.0-1_i386.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/conf
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/conf/distributions
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/db
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/db/checksums.db
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/db/contents.cache.db
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/db/packages.db
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/db/references.db
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/db/release.caches.db
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/db/version
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/dists
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/dists/package2
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/dists/package2/main
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/dists/package2/main/binary-amd64
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/dists/package2/main/binary-amd64/Packages
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/dists/package2/main/binary-amd64/Packages.gz
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/dists/package2/main/binary-amd64/Release
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/dists/package2/main/binary-amd64/Release.gpg
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/dists/package2/main/binary-armel
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/dists/package2/main/binary-armel/Packages
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/dists/package2/main/binary-armel/Packages.gz
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/dists/package2/main/binary-armel/Release
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/dists/package2/main/binary-armel/Release.gpg
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/dists/package2/main/binary-i386
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/dists/package2/main/binary-i386/Packages
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/dists/package2/main/binary-i386/Packages.gz
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/dists/package2/main/binary-i386/Release
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/dists/package2/main/binary-i386/Release.gpg
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/dists/package2/Release
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/dists/package2/Release.gpg
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/pool
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/pool/main
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/pool/main/t
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/pool/main/t/test-package-alpha
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/pool/main/t/test-package-alpha/test-package-alpha_1.0-2_amd64.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/pool/main/t/test-package-alpha/test-package-alpha_1.0-2_i386.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/pool/main/t/test-package-beta
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/pool/main/t/test-package-beta/test-package-beta_1.0-2_amd64.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/pool/main/t/test-package-beta/test-package-beta_1.0-2_i386.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/pool/main/t/test-package-charlie
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/pool/main/t/test-package-charlie/test-package-charlie_1.0-2_amd64.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/pool/main/t/test-package-charlie/test-package-charlie_1.0-2_i386.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/test-package-alpha_1.0-2_amd64.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/test-package-alpha_1.0-2_i386.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/test-package-beta_1.0-2_amd64.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/test-package-beta_1.0-2_i386.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/test-package-charlie_1.0-2_amd64.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/deb_repo2/test-package-charlie_1.0-2_i386.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/file_repo
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/file_repo/test-package-alpha_1.0-1_amd64.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/file_repo/test-package-alpha_1.0-1_i386.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/file_repo/test-package-alpha_1.0-2_amd64.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/file_repo/test-package-alpha_1.0-2_i386.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/file_repo/test-package-beta_1.0-1_amd64.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/file_repo/test-package-beta_1.0-1_i386.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/file_repo/test-package-beta_1.0-2_amd64.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/file_repo/test-package-beta_1.0-2_i386.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/file_repo/test-package-charlie_1.0-1_amd64.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/file_repo/test-package-charlie_1.0-1_i386.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/file_repo/test-package-charlie_1.0-2_amd64.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/file_repo/test-package-charlie_1.0-2_i386.deb
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/gpg
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/gpg/pubring.gpg
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/gpg/random_seed
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/gpg/secring.gpg
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/gpg/trustdb.gpg
 cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/putinrepo.sh
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_repo
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_repo/repodata
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_repo/repodata/filelists.xml.gz
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_repo/repodata/other.xml.gz
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_repo/repodata/primary.xml.gz
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_repo/repodata/repomd.xml
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_repo/test-package-alpha-1.0-1.i386.rpm
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_repo/test-package-alpha-1.0-1.x86_64.rpm
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_repo/test-package-alpha-1.0-2.i386.rpm
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_repo/test-package-alpha-1.0-2.x86_64.rpm
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_repo/test-package-beta-1.0-1.i386.rpm
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_repo/test-package-beta-1.0-1.x86_64.rpm
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_repo/test-package-beta-1.0-2.i386.rpm
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_repo/test-package-beta-1.0-2.x86_64.rpm
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_repo/test-package-charlie-1.0-1.i386.rpm
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_repo/test-package-charlie-1.0-1.x86_64.rpm
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_repo/test-package-charlie-1.0-2.i386.rpm
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_repo/test-package-charlie-1.0-2.x86_64.rpm
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_sources
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_sources/test-package-alpha-1.0-1-i386-rpm-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_sources/test-package-alpha-1.0-1-x86_64-rpm-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_sources/test-package-alpha-1.0-2-i386-rpm-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_sources/test-package-alpha-1.0-2-x86_64-rpm-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_sources/test-package-beta-1.0-1-i386-rpm-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_sources/test-package-beta-1.0-1-x86_64-rpm-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_sources/test-package-beta-1.0-2-i386-rpm-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_sources/test-package-beta-1.0-2-x86_64-rpm-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_sources/test-package-charlie-1.0-1-i386-rpm-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_sources/test-package-charlie-1.0-1-x86_64-rpm-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_sources/test-package-charlie-1.0-2-i386-rpm-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/rpm_sources/test-package-charlie-1.0-2-x86_64-rpm-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-alpha_1.0-1
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-alpha_1.0-1_amd64
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-alpha_1.0-1_amd64/DEBIAN
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-alpha_1.0-1_amd64/DEBIAN/control
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-alpha_1.0-1_amd64/test-package-alpha_1.0-1_amd64-deb-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-alpha_1.0-1_i386
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-alpha_1.0-1_i386/DEBIAN
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-alpha_1.0-1_i386/DEBIAN/control
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-alpha_1.0-1_i386/test-package-alpha_1.0-1_i386-deb-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-alpha_1.0-1/DEBIAN
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-alpha_1.0-1/DEBIAN/control
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-alpha_1.0-1/test-package-alpha-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-alpha_1.0-2_amd64
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-alpha_1.0-2_amd64/DEBIAN
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-alpha_1.0-2_amd64/DEBIAN/control
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-alpha_1.0-2_amd64/test-package-alpha_1.0-2_amd64-deb-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-alpha_1.0-2_i386
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-alpha_1.0-2_i386/DEBIAN
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-alpha_1.0-2_i386/DEBIAN/control
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-alpha_1.0-2_i386/test-package-alpha_1.0-2_i386-deb-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-alpha-1.0-1.spec
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-alpha-1.0-2.spec
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-beta_1.0-1
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-beta_1.0-1_amd64
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-beta_1.0-1_amd64/DEBIAN
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-beta_1.0-1_amd64/DEBIAN/control
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-beta_1.0-1_amd64/test-package-beta_1.0-1_amd64-deb-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-beta_1.0-1_i386
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-beta_1.0-1_i386/DEBIAN
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-beta_1.0-1_i386/DEBIAN/control
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-beta_1.0-1_i386/test-package-beta_1.0-1_i386-deb-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-beta_1.0-1/DEBIAN
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-beta_1.0-1/DEBIAN/control
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-beta_1.0-1/test-package-beta-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-beta_1.0-2_amd64
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-beta_1.0-2_amd64/DEBIAN
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-beta_1.0-2_amd64/DEBIAN/control
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-beta_1.0-2_amd64/test-package-beta_1.0-2_amd64-deb-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-beta_1.0-2_i386
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-beta_1.0-2_i386/DEBIAN
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-beta_1.0-2_i386/DEBIAN/control
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-beta_1.0-2_i386/test-package-beta_1.0-2_i386-deb-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-beta-1.0-1.spec
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-beta-1.0-2.spec
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-1
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-1_amd64
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-1_amd64/DEBIAN
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-1_amd64/DEBIAN/control
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-1_amd64/test-package-charlie_1.0-1_amd64-deb-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-1_i386
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-1_i386/DEBIAN
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-1_i386/DEBIAN/control
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-1_i386/test-package-charlie_1.0-1_i386-deb-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-1/DEBIAN
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-1/DEBIAN/control
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-1/test-package-charlie-installed.txt
 cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-2_amd64
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-2_amd64/DEBIAN
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-2_amd64/DEBIAN/control
 cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-2_amd64/test-package-charlie_1.0-2_amd64-deb-installed.txt
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-2_i386
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-2_i386/DEBIAN
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-2_i386/DEBIAN/control
+cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-2_i386/test-package-charlie_1.0-2_i386-deb-installed.tx

Comment by Former user
Created at 2015-07-20T21:20:05.000Z

That's peculiar. I can't seem to download the file from the URL in the description; I get a 403 Forbidden. Can you please put your copy of the file in Manta?


Comment by Brian Bennett
Created at 2015-07-20T21:23:32.000Z
Updated at 2019-05-02T18:05:22.264Z

Sorry, grabbed the wrong URL from my shell history.

Correct file is https://s3.amazonaws.com/cfengine-package-repos/tarballs/cfengine-masterfiles-3.7.0.tar.gz (also fixed above).


Comment by Brian Bennett
Created at 2015-07-20T21:25:55.000Z
Updated at 2019-05-02T18:05:22.235Z

It may be worth noting that if I re-tar it up with gtar, then extract with native tar the problem doesn't occur.


Comment by Brian Bennett
Created at 2015-07-20T21:53:05.000Z
Updated at 2019-05-02T18:05:22.302Z

Comment from the creator of the tar on IRC:

[14:51:40]  <    jimis>	bahamat: have a special look in overlong sym/hard links included in the tarball
[14:51:51]  <    jimis>	I recall I have had trouble with such in the past
[14:52:09]  <    jimis>	but it should be fixed now

Comment by Former user
Created at 2015-07-20T22:35:44.000Z

I've found the issue. The tarball in question has a record where the name field is empty (first character is NUL), but the prefix field is populated. This is causing endtape() to believe we have reached the end of the archive, and extraction finishes. I have a patch which fixes the problem, and will see about testing it.


Comment by Brian Bennett
Created at 2015-07-20T22:46:46.000Z
Updated at 2019-05-02T18:05:22.364Z

File was created on Debian 4 (gnu tar 1.16) with the command gtar --format=ustar --hard-dereference chf "$$tardir" then piped to gzip.

Repackaging using gtar on RHEL6, or SmartOS doesn't exhibit the same problem when extracting.

Additional comments from IRC:

[14:54:02]  <    jimis>	bahamat: if you untar in verbose mode, what's the point that it spits the error message?
[14:55:01]  <  bahamat>	Here: x cfengine-masterfiles-3.7.0/tests/acceptance/17_packages/resources/test-package-charlie_1.0-2_amd64/test-package-charlie_1.0-2_amd64-deb-installed.txt, 52 bytes, 1 tape blocks
[14:57:39]  <RootWyrm_>	I think it's a recurrence of a ustar format bug.
[14:58:20]  <    jimis>	ustar formsat has limitations
[14:58:43]  <    jimis>	but it's more portable than the default
[14:59:29]  <RootWyrm_>	Believe me, I know. One of the many reasons I'm not a fan of messing with that.
[15:03:54]  <    jimis>	http://www.gnu.org/software/tar/manual/html_node/Formats.html#SEC132
[15:04:15]  <    jimis>	ustar format imposes a limit of 100 characters to sym/hard links
[15:04:54]  <    jimis>	that's why we use --hard-dereference, to avoid any links
[15:05:02]  <RootWyrm_>	jimis: 149 characters
[15:05:29]  <RootWyrm_>	Also bear in mind Debian is most likely not 1:1 with GNU
[15:09:17]  <    jimis>	RootWyrm_: 100 according to that doc
[15:09:53]  <RootWyrm_>	jimis: i'm saying that path is 149 characters
[15:10:14]  <RootWyrm_>	e.g. >100 limit

Comment by Former user
Created at 2015-07-22T16:24:05.000Z

illumos-joyent commit 26ec801 (branch master, by Joshua M. Clulow)

OS-4526 tar should check prefix field when detecting EOT
OS-4529 tar debug output should be available in all builds
Reviewed by: Robert Mustacchi <rm@joyent.com>