Cannot build VM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libguestfs |
Invalid
|
Undecided
|
|||
libguestfs (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I run the most simple command and yet it fails:
$ LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 virt-builder ubuntu-18.04
[ 0.8] Downloading: http://
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: create: flags = 0, handle = 0x56180ba4a700, program = virt-builder
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
[ 1.6] Planning how to build this image
[ 1.6] Uncompressing
[ 8.0] Opening the new disk
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: create: flags = 0, handle = 0x56180babc980, program = virt-builder
libguestfs: trace: set_network true
libguestfs: trace: set_network = 0
libguestfs: trace: add_drive "ubuntu-18.04.img" "format:raw" "cachemode:unsafe"
libguestfs: trace: add_drive = 0
libguestfs: trace: launch
libguestfs: trace: max_disks
libguestfs: trace: max_disks = 255
libguestfs: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/tmp"
libguestfs: trace: version
libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 38, release: 4, extra: , >
libguestfs: trace: get_backend
libguestfs: trace: get_backend = "direct"
libguestfs: launch: program=
libguestfs: launch: version=1.38.4
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=
libguestfs: launch: umask=0002
libguestfs: launch: euid=1000
libguestfs: trace: get_backend_setting "force_tcg"
libguestfs: trace: get_backend_setting = NULL (error)
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
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/
libguestfs: command: run: \ --copy-kernel
libguestfs: command: run: \ -f ext2
libguestfs: command: run: \ --host-cpu x86_64
libguestfs: command: run: \ /usr/lib/
libguestfs: command: run: \ -o /var/tmp/
supermin: version: 5.1.19
supermin: package handler: debian/dpkg
supermin: acquiring lock on /var/tmp/
supermin: build: /usr/lib/
supermin: reading the supermin appliance
supermin: build: visiting /usr/lib/
supermin: build: visiting /usr/lib/
supermin: build: visiting /usr/lib/
supermin: build: visiting /usr/lib/
supermin: build: visiting /usr/lib/
supermin: build: visiting /usr/lib/
supermin: build: visiting /usr/lib/
supermin: build: visiting /usr/lib/
supermin: build: visiting /usr/lib/
supermin: build: visiting /usr/lib/
supermin: mapping package names to installed packages
supermin: resolving full list of package dependencies
supermin: build: 227 packages, including dependencies
supermin: build: 10164 files
supermin: build: 6786 files, after matching excludefiles
supermin: build: 6789 files, after adding hostfiles
supermin: build: 6786 files, after removing unreadable files
supermin: build: 6789 files, after munging
supermin: kernel: looking for kernel using environment variables ...
supermin: kernel: looking for kernels in /lib/modules/
supermin: kernel: looking for kernels in /boot ...
supermin: kernel: kernel version of /boot/vmlinuz-
supermin: kernel: picked modules path /lib/modules/
supermin: kernel: kernel version of /boot/vmlinuz-
supermin: kernel: picked modules path /lib/modules/
supermin: kernel: kernel version of /boot/vmlinuz-
supermin: kernel: kernel version of /boot/vmlinuz-
supermin: kernel: picked modules path /lib/modules/
supermin: kernel: picked vmlinuz /boot/vmlinuz-
supermin: kernel: kernel_version 4.18.0-13-generic
supermin: kernel: modpath /lib/modules/
cp: cannot open '/boot/
supermin: cp -p '/boot/
libguestfs: trace: launch = -1 (error)
virt-builder: error: libguestfs error: /usr/bin/supermin exited with error
status 1, see debug messages above
If reporting bugs, run virt-builder with debugging enabled and include the
complete output:
virt-builder -v -x [...]
libguestfs: trace: close
libguestfs: closing guestfs handle 0x56180babc980 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfs
libguestfs: trace: close
libguestfs: closing guestfs handle 0x56180ba4a700 (state 0)
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: libguestfs-tools 1:1.38.4-1ubuntu2
ProcVersionSign
Uname: Linux 4.18.0-13-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.10-0ubuntu13.1
Architecture: amd64
CurrentDesktop: KDE
Date: Mon Jan 28 22:04:49 2019
InstallationDate: Installed on 2016-01-08 (1116 days ago)
InstallationMedia: Kubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: libguestfs
UpgradeStatus: Upgraded to cosmic on 2018-10-23 (97 days ago)
Changed in libguestfs: | |
importance: | Unknown → Undecided |
status: | Unknown → Invalid |
This looks like an instance of our old favourite: /bugs.launchpad .net/ubuntu/ +source/ linux/+ bug/759725
https:/