Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

machinectl: import-raw and import-tar not show progress / not respond #9527

Closed
nosada opened this issue Jul 8, 2018 · 2 comments

Comments

@nosada
Copy link
Contributor

commented Jul 8, 2018

systemd version the issue has been seen with

# systemctl --version
systemd 239
+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN +PCRE2 default-hierarchy=hybrid
$ pacman -Qs systemd
local/libsystemd 239.0-2
    systemd client libraries
local/systemd 239.0-2 (base-devel)
    system and service manager

Used distribution
Arch LInux

Expected behaviour you didn't see

  • machinectl import-raw shows progress for importing image
  • machinectl import-raw exits correctly after finished / failed to import image
  • ditto with machinectl import-tar

Unexpected behaviour you saw

  • machinectl import-raw doesn't show progress for importing image
  • machinectl import-raw doesn't respond anymore after calling (see below)
  • ditto with machinectl import-tar
# machinectl import-raw RAW_IMAGE
Enqueued transfer job 1. Press C-c to continue download in background.
(freezes)

Note that:

  • it's possible to check progress of importing image in machinectl list-transfers or systemctl status systemd-importd
  • At least in systemd 238.133 (238.133-4 in Arch LInux) above not occured

Steps to reproduce the problem

  1. Create RAW image (for import-raw) or TAR archive (for import-tar)
  2. Do machinectl import-raw or machinectl import-tar for image created in 1.
  3. That's all

yuwata added a commit to yuwata/systemd that referenced this issue Jul 8, 2018

@yuwata

This comment has been minimized.

Copy link
Member

commented Jul 8, 2018

Fix is waiting in #9536. Thanks.

yuwata added a commit to yuwata/systemd that referenced this issue Jul 8, 2018

@nosada

This comment has been minimized.

Copy link
Contributor Author

commented Jul 9, 2018

@yuwata Thank you for your quick response and fixing!

poettering added a commit that referenced this issue Jul 13, 2018

keszybz added a commit to keszybz/systemd that referenced this issue Oct 28, 2018

machinectl: fix verbosity of import-raw or friends
This partially reverts 31d99bd.

Fixes systemd#9527.

(cherry picked from commit bd7d173)

fpletz pushed a commit to NixOS/systemd that referenced this issue Oct 31, 2018

machinectl: fix verbosity of import-raw or friends
This partially reverts 31d99bd.

Fixes systemd#9527.

(cherry picked from commit bd7d173)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.