Red Hat Bugzilla – Bug 950444
inspection fails if libosinfo is not installed
Last modified: 2013-12-16 13:56:58 EST
+++ This bug was initially created as a clone of Bug #948324 +++
Description of problem:
(Reported by Georg Troxler)
Inspection is supposed to ignore missing libosinfo database.
However the current code fails if it cannot open the database
which is not right.
See for example:
Version-Release number of selected component (if applicable):
libguestfs 1.20 & 1.21.
--- Additional comment from Richard W.M. Jones on 2013-04-10 05:00:54 EDT ---
The way to reproduce this is to run inspection on an ISO
of an older operating system that doesn't use a universal
multiboot installer. I'm using a Windows XP install disk:
$ virt-inspector -v en_windows_xp_professional_with_service_pack_3_x86_cd_x14-80428.iso
libguestfs: osinfo: /usr/share/libosinfo/db/oses: No such file or directory
--- Additional comment from Richard W.M. Jones on 2013-04-10 05:02:19 EDT ---
F18 is end-of-life soon, not sure if this patch landed there but it should be in F19+, so closing.