** Description changed:

  [Impact]
  
-  * When building the virtual appliance for Ubuntu it fails to run
-    almost any internal commands due to missing /bin/sh
+  * When building the virtual appliance for Ubuntu it fails to run
+    almost any internal commands due to missing /bin/sh. Due to that any 
+    user facing action requireing those like the reported tar-copy will 
+    fail.
  
-  * backport upstream fix that will make dash available
+  * backport upstream fix that will make dash available
  
  [Test Case]
  
-  * Install target release (not well testable in VMs [needs working
+  * Install target release (not well testable in VMs [needs working
  nesting] or Containers [mounts and virt permissions])
  
  $ sudo apt install libguestfs-tools qemu-utils
  $ qemu-img create -f qcow2 test.img 10M
  $ sudo guestfish -a test.img
  (guestfish) run
  (guestfish) tar-out / - | tar tf -
  
+ [Regression Potential]
  
- [Regression Potential] 
- 
-  * The change effectively "only" installs another package in the virtual 
-    appliance it uses to make up the environments. It currently is not 
-    working at all for anything subcommand that needs this as /bin/sh is 
-    missing.
-    Due to that sub-functions of libguestfs-tools are either
-     a) not using this part of it and not affected
-     b) using the packagelist but broken as of today
-    I can't see much of a regression risk as we only change those (fix 
-    actually) who are broken today.
+  * The change effectively "only" installs another package in the virtual
+    appliance it uses to make up the environments. It currently is not
+    working at all for anything subcommand that needs this as /bin/sh is
+    missing.
+    Due to that sub-functions of libguestfs-tools are either
+     a) not using this part of it and not affected
+     b) using the packagelist but broken as of today
+    I can't see much of a regression risk as we only change those (fix
+    actually) who are broken today.
  
  [Other Info]
-  
-  * Cosmic had the change for quite a while as it was backported to 1.38.1 
-    and I heard no bad reports on it.
+ 
+  * Cosmic had the change for quite a while as it was backported to 1.38.1
+    and I heard no bad reports on it.
  
  ----
- 
  
  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)

-- 
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