Hi there,

I tried "machinectl" from systemd 219 on Arch Linux (testing) today: I got two errors. Should we discuss this here or should I open a Bug Report?

1) Download if tar-file (http://www.freedesktop.org/software/systemd/man/machinectl.html#Examples)

# machinectl pull-tar https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-root.tar.gz

Pulling 'https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-root.tar.gz', saving as 'trusty-server-cloudimg-amd64-root'. Downloading 1.7K for https://cloud-images.ubuntu.com/trusty/current/SHA256SUMS.
Image already downloaded. Skipping download.
Download of https://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-root.tar.gz complete. Download of https://cloud-images.ubuntu.com/trusty/current/SHA256SUMS complete. Downloading 836B for https://cloud-images.ubuntu.com/trusty/current/SHA256SUMS.gpg. Download of https://cloud-images.ubuntu.com/trusty/current/SHA256SUMS.gpg complete.
Failed to create local image: Is a directory
Exiting

It fails with "Failed to create local image: Is a directory". I deleted all directories in /var/lib/machines before running this. But it doesn't help.

2) Download docker image

# machinectl pull-dkr maxmeyer/middleman-presentation --verify=no --dkr-index-url=https://index.docker.io

Enqueued transfer job 2. Press C-c to continue download in background.
Pulling 'maxmeyer/middleman-presentation' with tag 'latest', saving as 'middleman-presentation'. Download of https://index.docker.io/v1/repositories/maxmeyer/middleman-presentation/images complete.
Index lookup succeeded, directed to registry registry-1.docker.io.
Downloading 66B for https://registry-1.docker.io/v1/repositories/maxmeyer/middleman-presentation/tags/latest. Download of https://registry-1.docker.io/v1/repositories/maxmeyer/middleman-presentation/tags/latest complete. Tag lookup succeeded, resolved to layer 9c7a28e8ae71392749006238db6f14c7877eefb22d61fe1d80dd3628ce46e89c. Downloading 1.9K for https://registry-1.docker.io/v1/images/9c7a28e8ae71392749006238db6f14c7877eefb22d61fe1d80dd3628ce46e89c/json. Download of https://registry-1.docker.io/v1/images/9c7a28e8ae71392749006238db6f14c7877eefb22d61fe1d80dd3628ce46e89c/json complete. Downloading 1.7K for https://registry-1.docker.io/v1/images/9c7a28e8ae71392749006238db6f14c7877eefb22d61fe1d80dd3628ce46e89c/ancestry. Download of https://registry-1.docker.io/v1/images/9c7a28e8ae71392749006238db6f14c7877eefb22d61fe1d80dd3628ce46e89c/ancestry complete.
Ancestor lookup succeeded, requires layers:
         511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158
         8771fbfe935cde12b40418e029cdb68adff76d740eddb72fc6c811b1b4c16a3e
         0e30e84e9513cb3d9d991389adfb77ac6afc9d75a5234e3d61af2f080c75d0ce
         c90a56bfe7ddec9f0c050f2ffcaa22e85d5e5996a00d9d163f819a57dc311851
         6b030fdd4748e2dd0512b630f53d35d1034a2e293142288aa1ac740c50c0c1fc
         787349ce806c46e8573f0c4973090474c62daf9e391aee0b17a01da129376651
         9a1b111b9a31c2db50a3ddece4ff90a9a568f5333383ebaef0d0f8b23a86709e
         c4324c76a65d6eee9b0fbcd4fad4095510363d5b9412fb7e64e52e9c0cd724f8
         0159db5a516e0292271ecb93664c35b8d8d129176b2b3995c0671b340408e5d7
         ee340c5ac539f39ef06be2e3e6d12ebde2d7d624d6fd9b9c4176862272906f9a
         b33716f9c0ee2a2752f59e05b39b315cb6989803eb3232a396a454176da2e492
         6af4b8ec77c0503d796caa1c9ab8649fc245534dc0f3b3b77bf0fa38222f8e3b
         c5d66d7f0f7eac219505d095055d0c1a597d2c03538bec7f1690360793202753
         73b8b09f0244237c2cda8424253164328e6b8fd48869278c52ccf08dda71dbe8
         51473a2975deaa7db36de496ded61e35c00040ea5f6bed1589c4370244d04b1b
         1f74eced4c19ce234b731d5212ca36d5cf6f13db37ca003ca5c8cb5693920803
         b6ab81dd3cee7dd4b8aaef1702904e56ed8653d4bc8c9d207e15c886fa29e785
         95c4ff5d9bde3020eb6044662ce4af55449569935ee3e003b8c02609ac38aa59
         9072524810f8feee04ce0c5a8127c78b6629a32485c2897dc1e5e854c80d7609
         d7d9062aeb6dcf550991f0144df50183d9b773bcead883658297338983a3df5b
         d96ef2140cfc07e194cfb895be43cd9c78e37e0f8528ba742f2dbfc4e7657cfc
         08c69fc1e0f0de7c750ff73940f8745a8b85fd438e181a981f54ff0ef4ef8397
         0e8470f28955f606932c10539230e228f6680b6ff6ff7d58e906b19b4e971b03
         8015de42529a447a0af23514324ebb31efc52be23446709d3a1ea2195e20c02a
         07af4cff607d908c7d0ea1b7591a05902792c168d9d231a55c6487e9e37dd418
         2409dfdde91c149f10a3b1cf6ffdb0d9a4588fa2fb6086410fe0049c117ca543
         9c7a28e8ae71392749006238db6f14c7877eefb22d61fe1d80dd3628ce46e89c
Pulling layer 511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158... Downloading 921B for https://registry-1.docker.io/v1/images/511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158/layer. Downloading 10.0K for https://registry-1.docker.io/v1/images/511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158/layer. Failed to make btrfs subvolume /var/lib/machines/.#.dkr-511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158dbf187360efd4911: Inappropriate ioctl for device
Failed to retrieve layer data.
Exiting.

It fails with "Failed to make btrfs subvolume /var/lib/machines/.#.dkr-5... Inappropriate ioctl for device".


My environment:

# systemctl --version
systemd 219
+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD +IDN

I run a local squid, so I configured systemd-importd.conf with the environment variables. I don't think this matters, but I added this information just for the case it might be relevant.

# cat /etc/default/systemd-importd.conf
http_proxy=http://localhost:3128
https_proxy=https://localhost:3128


# lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
├─sda1 vfat xxxx-xxxx /boot └─sda2 LVM2_member xOSMcX-H7aq-xxxx-xxxx-xxxx-unQ9-xxxxxx ├─vg_pool-lv_root ext4 xxxxxxxx-8ba3-40a1-815b-xxxxxxxxxxxx / └─vg_pool-lv_swap swap xxxxxxxx-ebbd-4762-8990-xxxxxxxxxxxx [SWAP]


Cheers,
/pp

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to