Bug 950444 - inspection fails if libosinfo is not installed
inspection fails if libosinfo is not installed
Product: Fedora
Classification: Fedora
Component: libguestfs (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Richard W.M. Jones
Fedora Extras Quality Assurance
Depends On: 948324
  Show dependency treegraph
Reported: 2013-04-10 05:03 EDT by Richard W.M. Jones
Modified: 2013-12-16 13:56 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 948324
Last Closed: 2013-12-16 13:56:58 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Richard W.M. Jones 2013-04-10 05:03:18 EDT
+++ 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 ---

Fixed upstream:
Comment 1 Cole Robinson 2013-12-16 13:56:58 EST
F18 is end-of-life soon, not sure if this patch landed there but it should be in F19+, so closing.

Note You need to log in before you can comment on or make changes to this bug.