[Pkg-libvirt-maintainers] Bug#914415: libguestfs-tools: at least recommend a kernel image
Johannes 'josch' Schauer
josch at debian.org
Fri Nov 23 08:18:27 GMT 2018
Package: libguestfs-tools
Version: 1:1.38.4-1
Severity: normal
Hi,
when one runs guestfish on a system without a kernel installed (like a
container) one gets the error message below. This is because guestfish
runs supermin with --copy-kernel. Thus, having a kernel image available
is required for some functionality of libguestfs-tools and the package
should at least Recommends such a linux kernel image package.
Thanks!
cheers, josch
************************************************************
* IMPORTANT NOTICE
*
* When reporting bugs, include the COMPLETE, UNEDITED
* output below in your bug report.
*
************************************************************
PATH=/tmp/autopkgtest.8wcFTU/autopkgtest_tmp/bin:/bin:/usr/bin
SELinux: sh: 1: getenforce: not found
guestfs_get_append: (null)
guestfs_get_autosync: 1
guestfs_get_backend: direct
guestfs_get_backend_settings: []
guestfs_get_cachedir: /var/tmp
guestfs_get_hv: /usr/bin/qemu-system-x86_64
guestfs_get_memsize: 500
guestfs_get_network: 0
guestfs_get_path: /usr/lib/x86_64-linux-gnu/guestfs
guestfs_get_pgroup: 0
guestfs_get_program: libguestfs-test-tool
guestfs_get_recovery_proc: 1
guestfs_get_smp: 1
guestfs_get_sockdir: /tmp
guestfs_get_tmpdir: /tmp
guestfs_get_trace: 0
guestfs_get_verbose: 1
host_cpu: x86_64
Launching appliance, timeout set to 600 seconds.
libguestfs: launch: program=libguestfs-test-tool
libguestfs: launch: version=1.38.6
libguestfs: launch: backend registered: unix
libguestfs: launch: backend registered: uml
libguestfs: launch: backend registered: libvirt
libguestfs: launch: backend registered: direct
libguestfs: launch: backend=direct
libguestfs: launch: tmpdir=/tmp/libguestfsA2hE2h
libguestfs: launch: umask=0002
libguestfs: launch: euid=1000
libguestfs: is_openable: /dev/kvm: No such file or directory
libguestfs: begin building supermin appliance
libguestfs: run supermin
libguestfs: command: run: /usr/bin/supermin
libguestfs: command: run: \ --build
libguestfs: command: run: \ --verbose
libguestfs: command: run: \ --if-newer
libguestfs: command: run: \ --lock /var/tmp/.guestfs-1000/lock
libguestfs: command: run: \ --copy-kernel
libguestfs: command: run: \ -f ext2
libguestfs: command: run: \ --host-cpu x86_64
libguestfs: command: run: \ /usr/lib/x86_64-linux-gnu/guestfs/supermin.d
libguestfs: command: run: \ -o /var/tmp/.guestfs-1000/appliance.d
supermin: version: 5.1.19
supermin: package handler: debian/dpkg
supermin: acquiring lock on /var/tmp/.guestfs-1000/lock
supermin: build: /usr/lib/x86_64-linux-gnu/guestfs/supermin.d
supermin: reading the supermin appliance
supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/base.tar.gz type gzip base image (tar)
supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/daemon.tar.gz type gzip base image (tar)
supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/excludefiles type uncompressed excludefiles
supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/hostfiles type uncompressed hostfiles
supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/init.tar.gz type gzip base image (tar)
supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/packages type uncompressed packages
supermin: build: visiting /usr/lib/x86_64-linux-gnu/guestfs/supermin.d/udev-rules.tar.gz type gzip base image (tar)
supermin: mapping package names to installed packages
supermin: resolving full list of package dependencies
supermin: build: 217 packages, including dependencies
supermin: build: 11375 files
supermin: build: 6809 files, after matching excludefiles
supermin: build: 6812 files, after adding hostfiles
supermin: build: 6812 files, after removing unreadable files
supermin: build: 6820 files, after munging
supermin: kernel: looking for kernel using environment variables ...
supermin: kernel: looking for kernels in /lib/modules/*/vmlinuz ...
supermin: kernel: looking for kernels in /boot ...
supermin: failed to find a suitable kernel (host_cpu=x86_64).
I looked for kernels in /boot and modules in /lib/modules.
If this is a Xen guest, and you only have Xen domU kernels
installed, try installing a fullvirt kernel (only for
supermin use, you shouldn't boot the Xen guest with it).
libguestfs: error: /usr/bin/supermin exited with error status 1, see debug messages above
libguestfs: closing guestfs handle 0x5563e1035b80 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsA2hE2h
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf
Kernel: Linux 4.17.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libguestfs-tools depends on:
ii curl 7.60.0-2
ii libc6 2.27-6
ii libconfig9 1.5-0.4
ii libfuse2 2.9.8-1
ii libguestfs-perl 1:1.38.4-1
ii libguestfs0 1:1.38.4-1
ii libintl-perl 1.26-2
ii liblzma5 5.2.2-1.3
ii libncurses6 6.1+20180714-1
ii libpcre3 2:8.39-11
ii libreadline7 7.0-5
ii libstring-shellquote-perl 1.04-1
ii libsys-virt-perl 4.7.0-1
ii libtinfo6 6.1+20180714-1
ii libvirt0 4.7.0-1+b1
ii libwin-hivex-perl 1.3.15-1+b2
ii libxml2 2.9.4+dfsg1-7+b1
ii libyajl2 2.1.0-2+b3
Versions of packages libguestfs-tools recommends:
ii gnupg 2.2.9-1
libguestfs-tools suggests no packages.
-- no debconf information
More information about the Pkg-libvirt-maintainers
mailing list