Public bug reported:

Version-Release number of selected component (if applicable):
Tested with:
- libguestfs 1.36.13 (Ubuntu 18.04)
- tar v1.29 (Ubuntu 18.04)

How reproducible: 100%

Steps to Reproduce:
1. # virt-builder debian-8 -o deb8.img --no-network
2. # mkdir ~/deb8fs
3. # virt-copy-out -a deb8.img / ~/deb8fs

Actual results:

libguestfs: error: file receive cancelled by daemon
libguestfs: error: tar subprocess failed: tar: This does not look like a tar 
archive
tar: Exiting with failure status due to previous errors

See attached debug.txt log that was produced by using "export
LIBGUESTFS_DEBUG=1 and LIBGUESTFS_TRACE=1" before running

**Note**

I have downloaded 1.39.9 from github/libguestfs and this version works
without an error in my build directory.

It appears that the actual problem is not with "virt-copy-out"
specifically, but with the 'guestfish' which it relies on.

Running this on 1.36.13 (Ubuntu) fails:

# guestfish
><fs> add-drive deb8.img
><fs> run
><fs> tar-out / - | tar tf -
libguestfs: error: file receive cancelled by daemon
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

Whereas running the above on guestfish 1.39.9 from git does not produce
that error.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: libguestfs-tools 1:1.36.13-1ubuntu3.1
ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
Uname: Linux 4.15.0-34-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.9-0ubuntu7.3
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Sep 17 23:06:00 2018
InstallationDate: Installed on 2018-09-10 (7 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
ProcEnviron:
 LANG=en_US.UTF-8
 TERM=xterm-256color
 SHELL=/bin/bash
 XDG_RUNTIME_DIR=<set>
 PATH=(custom, user)
SourcePackage: libguestfs
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: libguestfs (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: virt-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

** Attachment added: "Debug from LIBGUESTFS_DEBUG=1 and LIBGUESTFS_TRACE=1"
   https://bugs.launchpad.net/bugs/1793056/+attachment/5190033/+files/debug.txt

** Also affects: virt-manager (Ubuntu)
   Importance: Undecided
       Status: New

** Summary changed:

- On Ubuntu 18.04 virt-copy0out fails with "tar: This does not look like a tar 
archive"
+ On Ubuntu 18.04 virt-copy-out fails with "tar: This does not look like a tar 
archive"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1793056

Title:
  On Ubuntu 18.04 virt-copy-out fails with "tar: This does not look like
  a tar archive"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libguestfs/+bug/1793056/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to