Description of problem: virt-inspector spat out several suspicious messages, before exiting with non-zero status, when inspecting an existing rawhide guest image Version-Release number of selected component (if applicable): $ virt-inspector --verseion 1.0.85 How reproducible: Always Steps to Reproduce: 1. Using the LiveCD for F13 virtualization test day, with a mount to see my existing guest images on the host machine 2. virt-inspector /sysroot/libvirt/images/rawhide.img Actual results: Most of the command is okay, but the first line is suspicious, and the final line demonstrated the problem: $ virt-inspector /sysroot/libvirt/images/rawhide.img No grub default specified at /usr/lib/perl5/Sys/Guestfs/Lib.pm line 1646. linux fedora i386 14 on /dev/vg_vmrawhide/lv_root: Mountpoints: /dev/vg_vmrawhide/lv_root / /dev/sda1 /boot /dev/vg_vmrawhide/lv_swap swap ... mesa-libGL 7.8 gok 2.30.0 Kernels: Can't use an undefined value as an ARRAY reference at /usr/bin/virt-inspector line 411. $ echo $? 11 Expected results: reasonable information, and exit status of 0 Additional info: reproduced on other images as well (F13, Windows 2k8): $ virt-inspector /sysroot/libvirt/images/windows_2008.img windows on /dev/sda1: Mountpoints: /dev/sda1 / Filesystems: /dev/sda1: type: ntfs content: windows-root Applications: Kernels: Can't use an undefined value as an ARRAY reference at /usr/bin/virt-inspector line 411.
I believe that this change: http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=ed6fc794c8a2f64f8b987137b54551f4380177f3 fixes the "undefined value as an ARRAY reference" error. It just missed version 1.0.85. The warning about "no grub default" is still in the code, and should be made less scary.
I removed this warning upstream as it is fairly useless for the end user: http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=3765f97898a1194d96ab4124e1eb46e25701b3b2
libguestfs-1.2.1-1.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/libguestfs-1.2.1-1.fc13
libguestfs-1.2.2-1.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/libguestfs-1.2.2-1.fc13
libguestfs-1.2.2-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.