Your message dated Sat, 17 Dec 2016 14:10:58 +0530
with message-id <[email protected]>
and subject line Re: /bin/machinectl: cannot import images on non-btrfs file
system
has caused the Debian Bug report #797874,
regarding /bin/machinectl: cannot import images on non-btrfs file system
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.)
--
797874: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797874
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: systemd-container
Version: 225-1
Severity: normal
File: /bin/machinectl
This one is an odd behavior. I export my container image, and the same
is not allowed to be imported.
rrs@chutzpah:/var/lib/lxc$ sudo machinectl export-tar fed-test
/var/tmp/fedora-container.tar.gz
Enqueued transfer job 1. Press C-c to continue download in background.
Exporting '/var/lib/machines/fed-test', saving to
'/var/tmp/fedora-container.tar.gz' with compression 'gzip'.
Operation completed successfully.
Exiting.
13:51 ♒♒♒ ☺
rrs@chutzpah:~$ sudo machinectl import-tar /var/tmp/fedora-container.tar.gz
fedora-template
Failed transfer image: /var/lib/machines is not a btrfs file system. Operation
is not supported on legacy file systems.
13:58 ♒♒♒ ☹ => 1
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.1.6+ (SMP w/4 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages systemd-container depends on:
ii libblkid1 2.26.2-9
ii libbz2-1.0 1.0.6-8
ii libc6 2.19-19
ii libcap2 1:2.24-11
ii libcurl3-gnutls 7.44.0-1
ii libgcrypt20 1.6.3-2
ii liblzma5 5.1.1alpha+20120614-2.1
ii libseccomp2 2.2.3-1
ii libselinux1 2.3-2+b1
ii systemd 225-1
ii zlib1g 1:1.2.8.dfsg-2+b1
systemd-container recommends no packages.
systemd-container suggests no packages.
-- debconf-show failed
--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
I'm marking this as done. Because the import operation does not document support
for non-btrfs file systems. And for btrfs based systems, it is working fine.
Given the clone feature request, that is marked fixed upstream, this too may be
fixed as a result of it.
rrs@learner:~$ sudo machinectl export-tar jessie /tmp/systemd-jessie.tar
Enqueued transfer job 2. Press C-c to continue download in background.
Exporting '/var/lib/machines/jessie', saving to '/tmp/systemd-jessie.tar' with
compression 'uncompressed'.
Operation completed successfully.
Exiting.
2016-12-17 / 14:03:26 ♒♒♒ ☺
rrs@learner:~$ sudo machinectl import-tar /tmp/systemd-jessie.tar abc
Enqueued transfer job 1. Press C-c to continue download in background.
Importing '/tmp/systemd-jessie.tar', saving as 'abc'.
Set up default quota hierarchy for /var/lib/machines/.#abc11dcf3a38147c35b.
Imported 0%.
Imported 2%.
Imported 4%.
Imported 7%.
Imported 9%.
Imported 11%.
Imported 13%.
Imported 14%.
Imported 16%.
Imported 18%.
Imported 21%.
Imported 23%.
Imported 26%.
Imported 28%.
Imported 30%.
Imported 33%.
Imported 35%.
Imported 37%.
Imported 40%.
Imported 42%.
Imported 45%.
Imported 47%.
Imported 49%.
Imported 52%.
Imported 54%.
Imported 56%.
Imported 59%.
Imported 60%.
Imported 61%.
Imported 62%.
Imported 63%.
Imported 64%.
Imported 65%.
Imported 66%.
Imported 67%.
Imported 68%.
Imported 71%.
Imported 73%.
Imported 75%.
Imported 78%.
Imported 80%.
Imported 82%.
Imported 85%.
Imported 87%.
Imported 88%.
Imported 90%.
Imported 92%.
Imported 94%.
Imported 97%.
Imported 99%.
Operation completed successfully.
Exiting.
2016-12-17 / 14:05:59 ♒♒♒ ☺
rrs@learner:~$ machinectl list-images
NAME TYPE RO USAGE CREATED MODIFIED
abc subvolume no 416.1M Sat 2016-12-17 14:05:51 IST n/a
debTemplate subvolume no 1.1G Mon 2015-09-21 20:34:50 IST n/a
fedora22 subvolume no 1.2G Tue 2016-03-15 22:36:20 IST n/a
jessie directory no n/a n/a n/a
rawhideFedora subvolume no 1.4G Mon 2015-09-21 20:36:40 IST n/a
trustyTemplate subvolume no 414.6M Mon 2015-09-21 20:37:15 IST n/a
tumbleweedTemplate subvolume no 1.0G Mon 2015-09-21 20:37:37 IST n/a
7 images listed.
2016-12-17 / 14:07:12 ♒♒♒ ☺
On Sat, 2016-12-17 at 13:09 +0530, Ritesh Raj Sarraf wrote:
> On Sat, 2016-12-17 at 00:12 +0100, Michael Biebl wrote:
> > > rrs@chutzpah:~$ sudo machinectl import-tar /var/tmp/fedora-
> > > container.tar.gz
> >
> > fedora-template
> > > Failed transfer image: /var/lib/machines is not a btrfs file system.
> >
> > Operation is not supported on legacy file systems.
> > > 13:58 ♒♒♒ ☹ => 1
> >
> > Is that still an issue on an up-to-date sid/stretch system?
> > If so, we should take this upstream.
>
> I haven't tried again. These were machined bugs I filed initially, when
> exploring systemd for container management. But later, I moved to the btrfs
> based loopback setup that systemd prefers.
>
> That said, some of the bugs I'd filed, were fixed by upstream. So, this issue
> may be fixed now.
>
> https://github.com/systemd/systemd/issues/1308
>
> and then someone filed this:
>
> https://github.com/systemd/systemd/issues/1559
>
>
> I think this Debian bug could be marked as done.
>
- --
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEQCVDstmIVAB/Yn02pjpYo/LhdWkFAlhU+hoACgkQpjpYo/Lh
dWkgOw//bO9M6HgEXnsn+833jrZYJCCC+2ekfmQFJlG/LRueC+Ko+fAbApVuIbO4
0cfB9brNKS44j9r/eNQks+CR2wgVq1p4pobGFgRECQ1AINuEisNVO5IW5Dak8+u6
S9T+aNIdHj5+Aem1kHCyPq1B4hHAUTIxy6jC/O+AfNrc4sv15V6SKx11bzEMPC/J
1fP91jlY6yjvlo6UvgZLyxftgvlEbnTWk9TDfFMErJMXgv+ZDoZXGz5cgiZtRBeX
rs5lvmM18tlDj48icsQOFSdQZJsvMiIkNaX0WGysh/nwY7sqyUHbBGZYtbJkcjnh
WCuDPC0CxQRdJ2fUgngX1NbcKKzZczUyj+HeMjs0c+3MmQCApXXHczlwrVNdSwcj
95K3k3XRMZTbI8PB5Un1oPPner9JYrvjLew/VBYHwhBAZd/8KABByErpcWA1Hh0n
6vYWcvGr8wltIMsT2OjJrKvdkdyYO1eBVYBXCmo8JJ8oRc/uD6jgaGT9QnVv6lSX
E+fPZItB0Nch+2a/4mZY7JJXNlrm0M3usoIlghsTeqR6w1dqxcCJEXthHZQUwqBs
KmTAnNgGMHWH+amc7Wc1qexAsNpDPrDC5fvk/SCB6LvvDDZtiUD66joh+QfI47GS
HTlRfC2HkC/U+3CsYldzc5ZRJgQPAcXWblBj3hRn7DafqA7SSOg=
=IMOn
-----END PGP SIGNATURE-----
--- End Message ---