Bug 1144197

Summary: Disable libguestfs UML backend mode in RHEL7
Product: Red Hat Enterprise Linux 7 Reporter: Lingfei Kong <lkong>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 7.1CC: leiwang, mbooth, ptoscano, wshi
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libguestfs-1.27.50-1.1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 13:45:21 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:

Description Lingfei Kong 2014-09-19 00:59:28 UTC
Description of problem:
As we discussed with developer in a email libguestfs backend mode UML will not be supported on RHEL. So features should be removed or disabled in libguestfs on RHEL. In case of UML information maybe removed for the man page, i have checked the following man page contain UML info:
guestfs(3), guestfish(1), libguestfs(3), guestfs-performance(1), guestfs-release-notes(1), virt-builder(1), virt-sysprep(1), virt-what(1), Sys::Guestfs(3pm), Sys::Virt::Error(3pm)


Version-Release number of selected component (if applicable):
libguestfs-1.27.48-1.1.el7

How reproducible:
100%


Steps to Reproduce:

Actual results:

Expected results:

Additional info:

Comment 1 Richard W.M. Jones 2014-09-19 12:46:34 UTC
This is a RHEL 7 only patch:

https://github.com/libguestfs/libguestfs/commit/f19f2847b7ae15e629d66c6d2dc53128d0826419

After applying this patch you should see:

$ LIBGUESTFS_BACKEND=uml guestfish -a /dev/null run
libguestfs: error: launch: In RHEL, only the 'libvirt' or 'direct' method is supported.
In particular, User-Mode Linux (UML) is not supported.

Comment 3 Lingfei Kong 2014-10-22 02:50:20 UTC
Verified with libguestfs-tools-c-1.28.1-1.2.el7

Steps to verify:
# export LIBGUESTFS_BACKEND=uml
# guestfish -a /dev/null run
libguestfs: error: launch: In RHEL, only the 'libvirt' or 'direct' method is supported.
In particular, User-Mode Linux (UML) is not supported.

Comment 5 errata-xmlrpc 2015-03-05 13:45:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0303.html