pj@Xen:~$ libguestfs-test-tool ************************************************************ * IMPORTANT NOTICE * * When reporting bugs, include the COMPLETE, UNEDITED * output below in your bug report. * ************************************************************ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games SELinux: sh: 1: getenforce: not found guestfs_get_append: (null) guestfs_get_backend: direct guestfs_get_autosync: 1 guestfs_get_cachedir: /var/tmp guestfs_get_direct: 0 guestfs_get_hv: /usr/bin/qemu-system-x86_64 guestfs_get_memsize: 500 guestfs_get_network: 0 guestfs_get_path: /usr/lib/guestfs guestfs_get_pgroup: 0 guestfs_get_program: libguestfs-test-tool guestfs_get_recovery_proc: 1 guestfs_get_selinux: 0 guestfs_get_smp: 1 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.24.5 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/libguestfssuzvm0 libguestfs: launch: umask=0002 libguestfs: launch: euid=1000 libguestfs: command: run: /usr/bin/supermin-helper libguestfs: command: run: \ --verbose libguestfs: command: run: \ -f checksum libguestfs: command: run: \ --host-cpu x86_64 libguestfs: command: run: \ /usr/lib/guestfs/supermin.d supermin helper [00000ms] whitelist = (not specified) supermin helper [00000ms] host_cpu = x86_64 supermin helper [00000ms] dtb_wildcard = (not specified) supermin helper [00000ms] inputs: supermin helper [00000ms] inputs[0] = /usr/lib/guestfs/supermin.d supermin helper [00000ms] outputs: supermin helper [00000ms] kernel = (none) supermin helper [00000ms] dtb = (none) supermin helper [00000ms] initrd = (none) supermin helper [00000ms] appliance = (none) checking modpath /lib/modules/3.13.0-32-generic is a directory picked kernel vmlinuz-3.13.0-32-generic supermin helper [00000ms] finished creating kernel supermin helper [00000ms] visiting /usr/lib/guestfs/supermin.d supermin helper [00000ms] visiting /usr/lib/guestfs/supermin.d/base.img supermin helper [00000ms] visiting /usr/lib/guestfs/supermin.d/daemon.img.gz supermin helper [00000ms] visiting /usr/lib/guestfs/supermin.d/hostfiles supermin helper [00015ms] visiting /usr/lib/guestfs/supermin.d/init.img supermin helper [00015ms] visiting /usr/lib/guestfs/supermin.d/udev-rules.img supermin helper [00015ms] adding kernel modules supermin helper [00057ms] finished creating appliance libguestfs: checksum of existing appliance: 9d4e855e8fa224f3474fc197fde081809ed5af124eaf3ef6011218d061c4f3f2 libguestfs: [00061ms] begin building supermin appliance libguestfs: [00061ms] run supermin-helper libguestfs: command: run: /usr/bin/supermin-helper libguestfs: command: run: \ --verbose libguestfs: command: run: \ --copy-kernel libguestfs: command: run: \ -f ext2 libguestfs: command: run: \ --host-cpu x86_64 libguestfs: command: run: \ /usr/lib/guestfs/supermin.d libguestfs: command: run: \ --output-kernel /var/tmp/guestfs.kjUXmY/kernel libguestfs: command: run: \ --output-initrd /var/tmp/guestfs.kjUXmY/initrd libguestfs: command: run: \ --output-appliance /var/tmp/guestfs.kjUXmY/root supermin helper [00000ms] whitelist = (not specified) supermin helper [00000ms] host_cpu = x86_64 supermin helper [00000ms] dtb_wildcard = (not specified) supermin helper [00000ms] inputs: supermin helper [00000ms] inputs[0] = /usr/lib/guestfs/supermin.d supermin helper [00000ms] outputs: supermin helper [00000ms] kernel = /var/tmp/guestfs.kjUXmY/kernel supermin helper [00000ms] dtb = (none) supermin helper [00000ms] initrd = /var/tmp/guestfs.kjUXmY/initrd supermin helper [00000ms] appliance = /var/tmp/guestfs.kjUXmY/root checking modpath /lib/modules/3.13.0-32-generic is a directory picked kernel vmlinuz-3.13.0-32-generic /usr/bin/supermin-helper: open: /boot/vmlinuz-3.13.0-32-generic: Permission denied libguestfs: error: /usr/bin/supermin-helper exited with error status 1, see debug messages above libguestfs: command: run: rm libguestfs: command: run: \ -rf /var/tmp/guestfs.kjUXmY libguestfs-test-tool: failed to launch appliance libguestfs: closing guestfs handle 0xe00150 (state 0) libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfssuzvm0
On Tue, Oct 13, 2015 at 03:18:25PM -0500, Pezhman Sheini wrote:> checking modpath /lib/modules/3.13.0-32-generic is a directory > picked kernel vmlinuz-3.13.0-32-generic > /usr/bin/supermin-helper: open: /boot/vmlinuz-3.13.0-32-generic: Permission deniedPretty sure you're hitting this Ubuntu bug. See the section about changing permissions on the kernel here: http://libguestfs.org/guestfs-faq.1.html#where-can-i-get-the-latest-binaries-for and: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/759725 Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html