[Bug 1742744] [NEW] machinectl import-tar hangs when the import file is multi-streamed
Jesse Pretorius
jesse.pretorius at rackspace.co.uk
Thu Jan 11 17:06:58 UTC 2018
Public bug reported:
When trying to use machinectl import-tar to import a compressed rootfs
tarball, if the compression is multi-streamed then the import hangs
after the first stream.
Either the multi-stream import should work, or it should be detected and
an error output.
Environment:
Ubuntu 17.10 (Artful Aardvark)
systemd-container 234-2ubuntu12.1
Steps to reproduce:
# install systemd-container
apt-get update && apt-get install systemd-container
# fetch a multi-stream compressed rootfs
wget http://rpc-repo.rackspace.com/lxc-images/ubuntu/xenial/amd64/default-r14.7.0/20180101/rootfs.tar.xz
# verify that it has multiple streams
xz -lvv rootfs.tar.xz
# try to import it
machinectl --verify=no import-tar rootfs.tar.xz test
** Affects: systemd (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1742744
Title:
machinectl import-tar hangs when the import file is multi-streamed
Status in systemd package in Ubuntu:
New
Bug description:
When trying to use machinectl import-tar to import a compressed rootfs
tarball, if the compression is multi-streamed then the import hangs
after the first stream.
Either the multi-stream import should work, or it should be detected
and an error output.
Environment:
Ubuntu 17.10 (Artful Aardvark)
systemd-container 234-2ubuntu12.1
Steps to reproduce:
# install systemd-container
apt-get update && apt-get install systemd-container
# fetch a multi-stream compressed rootfs
wget http://rpc-repo.rackspace.com/lxc-images/ubuntu/xenial/amd64/default-r14.7.0/20180101/rootfs.tar.xz
# verify that it has multiple streams
xz -lvv rootfs.tar.xz
# try to import it
machinectl --verify=no import-tar rootfs.tar.xz test
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1742744/+subscriptions
More information about the foundations-bugs
mailing list