Your message dated Tue, 30 Jan 2018 09:47:09 +0000
with message-id <[email protected]>
and subject line Fixed in new upstream release
has caused the Debian Bug report #888284,
regarding python-guestfs: copy_in and tar_in fail to create files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
888284: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888284
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-guestfs
Version: 1:1.36.11-3
Severity: important

Same symptom with python2

test.tar in my case is a simple tar of python scripts.
-rw-r--r-- 1 neil neil 10240 Jan 24 16:39 test.tar

neil@sylvester:~$ tar -tf test.tar
client1.py
client2.py
client3.py

Also found in the version in testing.

neil@sylvester:~$ python3 
Python 3.6.4 (default, Jan  5 2018, 02:13:53) 
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import guestfs
>>> output = '/tmp/test.raw'
>>> size = 5
>>> guest = guestfs.GuestFS(python_return_dict=True)
>>> guest.disk_create(output, "qcow2", size * 1024 * 1024)
>>> guest.add_drive_opts(output, format="qcow2", readonly=False)
>>> guest.launch()
>>> devices = guest.list_devices()
>>> guest_device = devices[0]
>>> guest.mke2fs(guest_device, label='LAVA')
>>> guest.mount(guest_device, "/")
>>> guest.ls('/')
['lost+found']
>>> guest.copy_in('/home/neil/test.tar',  '/')
>>> guest.ls('/')
['lost+found']
>>> guest.tar_in('/home/neil/test.tar',  '/')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/guestfs.py", line 9864, in tar_in
    selinux, acls)
RuntimeError: tar_in: tar subcommand failed on directory: /: 
>>> guest.ls('/')
['lost+found']
>>> 


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, arm64

Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python-guestfs depends on:
ii  libc6        2.26-5
ii  libguestfs0  1:1.36.11-3
ii  python       2.7.14-4

python-guestfs recommends no packages.

python-guestfs suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 1:1.36.13-1

$ python
Python 2.7.14+ (default, Dec  5 2017, 15:17:02) 
[GCC 7.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import guestfs
>>> output = '/tmp/test.raw'
>>> size = 5
>>> guest = guestfs.GuestFS(python_return_dict=True)
>>> guest.disk_create(output, "qcow2", size * 1024 * 1024)
>>> guest.add_drive_opts(output, format="qcow2", readonly=False)
>>> guest.launch()
>>> devices = guest.list_devices()
>>> guest_device = devices[0]
>>> guest.mke2fs(guest_device, label='LAVA')
>>> guest.mount(guest_device, "/")
>>> guest.ls('/')
['lost+found']
>>> guest.copy_in('/home/neil/test.tar',  '/')
>>> guest.ls('/')
['lost+found', 'test.tar']
>>> guest.tar_in('/home/neil/test.tar',  '/')
>>> guest.ls('/')
['client1.py', 'client2.py', 'client3.py', 'lost+found', 'test.tar']
>>> 

Thanks.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

Attachment: pgp2tC6DhBE5x.pgp
Description: OpenPGP digital signature


--- End Message ---

Reply via email to