Bug 1144138

Summary: virt-inspector fails on FreeBSD 9.3 guest
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: jiyin, ptoscano
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-10-17 00:10:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
virt-inspector -v -x output none

Description Richard W.M. Jones 2014-09-18 18:43:47 UTC
Created attachment 939009 [details]
virt-inspector -v -x output

Description of problem:

libguestfs fails to detect a FreeBSD 9.3 guest.  The error is:

mount -o ro /dev/sda2 /sysroot/
[    3.353926] You didn't specify the type of your ufs filesystem
[    3.353926] 
[    3.353926] mount -t ufs -o ufstype=sun|sunx86|44bsd|ufs2|5xbsd|old|hp|nextstep|nextstep-cd|openstep ...
[    3.353926] 
[    3.353926] >>>WARNING<<< Wrong ufstype may corrupt your filesystem, default is ufstype=old
[    3.362149] ufs_read_super: bad magic number
mount: wrong fs type, bad option, bad superblock on /dev/sda2,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail or so

guestfsd: error: /dev/sda2 on / (options: 'ro'): mount: wrong fs type, bad option, bad superblock on /dev/sda2,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

Version-Release number of selected component (if applicable):

1.24.5

Steps to Reproduce:
1. virt-inspector -v -x -a freebsd93

See attachment for output.

Additional info:

Reported by Assaf Gordon
https://www.redhat.com/archives/libguestfs/2014-September/msg00115.html

Comment 1 Richard W.M. Jones 2017-10-05 15:37:05 UTC
Patch posted:
https://www.redhat.com/archives/libguestfs/2017-October/msg00042.html

Comment 3 Richard W.M. Jones 2021-03-29 11:01:18 UTC
Patch was rejected upstream, and there was no further work on this, however
patches are welcome.

Comment 4 Red Hat Bugzilla 2025-10-17 00:10:15 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.

Comment 5 Alasdair Kergon 2025-10-17 12:52:13 UTC
Reopening because Virtualization Tools has not been discontinued.