[Pkg-libvirt-maintainers] Bug#935328: libguestfs-tools: virt-sparsify doesn't work if libelogind0 is installed on the host

Daniel Reichelt debian at nachtgeist.net
Wed Aug 21 17:47:07 BST 2019


Package: libguestfs-tools
Version: 1:1.40.2-2
Severity: important

Hi,

I'm running buster with sysvinit instead of systemd, so I also have libelogind0
installed instead of libsystemd0. Now, when I run virt-sparsify, it crashes.
Running with export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 shows:


------8<-----------------
[...]
+ date
Wed Aug 21 16:32:35 UTC 2019
+ echo -n 'clocksource: '
clocksource: + cat /sys/devices/system/clocksource/clocksource0/current_clocksource
kvm-clock
+ echo -n 'uptime: '
uptime: + cat /proc/uptime
1.89 0.99
+ cmd=guestfsd
++ grep -Eo 'guestfs_channel=[^[:space:]]+' /proc/cmdline
+ eval
+ test x '!=' x
+ test 1 = 1
+ cmd='guestfsd --verbose'
+ test '' = 1
+ false
+ test '' = 1
+ echo guestfsd --verbose
guestfsd --verbose
+ guestfsd --verbose

vvvvvvvvvvvvvvvvv
guestfsd: error while loading shared libraries: libsystemd.so.0: cannot open shared object file: No such file or directory
^^^^^^^^^^^^^^^^^

+ sync
+ test '' = 1
+ reboot -f
/init: line 262: reboot: command not found
[    1.981486] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[    1.981486]
[    1.982610] CPU: 0 PID: 1 Comm: init Not tainted 4.19.0-5-amd64 #1 Debian 4.19.37-5+deb10u2
[    1.983635] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
[    1.984654] Call Trace:
[    1.984970]  dump_stack+0x5c/0x80
[    1.985386]  panic+0xe7/0x24a
[    1.985844]  do_exit.cold.22+0x26/0x7f
[    1.986314]  ? handle_mm_fault+0xda/0x200
[    1.986814]  do_group_exit+0x3a/0xa0
[    1.987261]  __x64_sys_exit_group+0x14/0x20
[    1.987779]  do_syscall_64+0x53/0x110
[    1.988237]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[    1.988858] RIP: 0033:0x7fa55b0559d6
[    1.989308] Code: Bad RIP value.
[    1.989711] RSP: 002b:00007ffda405e4d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
[    1.990644] RAX: ffffffffffffffda RBX: 00007fa55b146760 RCX: 00007fa55b0559d6
[    1.991518] RDX: 000000000000007f RSI: 000000000000003c RDI: 000000000000007f
[    1.992391] RBP: 000000000000007f R08: 00000000000000e7 R09: ffffffffffffff80
[    1.993263] R10: 00007ffda405e370 R11: 0000000000000246 R12: 00007fa55b146760
[    1.994139] R13: 0000000000000001 R14: 00007fa55b14f428 R15: 0000000000000000
[    1.995115] Kernel Offset: 0x2a600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[    1.996428] Rebooting in 1 seconds..
libguestfs: child_cleanup: 0x5640500b4ac0: child process died
libguestfs: sending SIGTERM to process 27974
libguestfs: qemu maxrss 152644K
libguestfs: trace: launch = -1 (error)
virt-sparsify: error: libguestfs error: guestfs_launch failed, see earlier
error messages

If reporting bugs, run virt-sparsify with debugging enabled and include the
complete output:
[...]
------8<-----------------



I suppose this renders everything around guestfs involving a supermin applicance with guestfsd unusable.

Please let me know if you need more information.


Thanks
Daniel



-- System Information:
Debian Release: 10.0
  APT prefers proposed-updates
  APT policy: (990, 'proposed-updates'), (990, 'stable'), (500, 'unstable-debug'), (500, 'testing-proposed-updates'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'oldstable-updates'), (500, 'oldstable-proposed-updates'), (500, 'oldstable-debug'), (500, 'stable'), (500, 'oldstable'), (99, 'testing'), (98, 'unstable'), (96, 'oldoldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages libguestfs-tools depends on:
ii  curl                       7.64.0-4
ii  libc6                      2.28-10
ii  libconfig9                 1.5-0.4
ii  libfuse2                   2.9.9-1
ii  libguestfs-perl            1:1.40.2-2
ii  libguestfs0                1:1.40.2-2
ii  libintl-perl               1.26-2
ii  libjansson4                2.12-1
ii  liblzma5                   5.2.4-1
ii  libncurses6                6.1+20181013-2
ii  libpcre3                   2:8.39-12
ii  libreadline7               7.0-5
ii  libstring-shellquote-perl  1.04-1
ii  libsys-virt-perl           5.0.0-1
ii  libtinfo6                  6.1+20181013-2
ii  libvirt0                   5.0.0-4
ii  libwin-hivex-perl          1.3.18-1
ii  libxml2                    2.9.4+dfsg1-7+b3

Versions of packages libguestfs-tools recommends:
ii  gnupg  2.2.17-3~bpo10+2

libguestfs-tools suggests no packages.

-- no debconf information



More information about the Pkg-libvirt-maintainers mailing list