Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 235311 - section 18.7.6 where it talks about SELINUX with XEN
Summary: section 18.7.6 where it talks about SELINUX with XEN
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: Virtualization_Guide
Version: 5.0
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Don Domingo
QA Contact: Michael Hideo
Depends On:
TreeView+ depends on / blocked
Reported: 2007-04-05 00:00 UTC by Michael Hideo
Modified: 2013-01-10 21:45 UTC (History)
7 users (show)

Fixed In Version: RHBA-2007-0611
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-11-07 16:43:01 UTC
Target Upstream Version:

Attachments (Terms of Use)
Fix to Screenshot (deleted)
2007-04-05 00:12 UTC, Michael Hideo
no flags Details

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0611 normal SHIPPED_LIVE Virtualization_Guide enhancement update 2007-10-30 16:18:16 UTC

Description Michael Hideo 2007-04-05 00:00:31 UTC

I'm pasting a bit of the dialog I had with tech support regarding my
last Xen issue.  I'd like to follow up with you, as well.  This is an
instance where redhat's documentation is incomplete, and following the
given example would not work.  Can this please be fixed?

- -- Pat

03-APR-2007 11:21:31     Mayo Foundation

May I ask for directions on how to adjust selinux appropriately?

I note that the Redhat Virtualization Guide, section 18.7.6, in the
screenshot there, image 18.11, shows using a disk path
"/xen/xen-guest", obviously not "/var/lib/xen".

If this is correct about selinux, this example wouldn't work either.

Can the documentation please be adjusted to include the appropriate
selinux directions?

- -- Pat

03-APR-2007 11:21:31     Mayo Foundation
Status changes from "Waiting on Customer" to "Waiting on Red Hat".
03-APR-2007 02:08:36     Persai, Rohit

It seems that the problem is related to "selinux" policies.

By default, the path for the virtual disk is set to "/var/lib/xen",
this is in accordance with "selinux" policies.
If you have "selinux" enabled and want to specify custom path for the
virtual disk then you need to change selinux policies accordingly.


Comment 1 Michael Hideo 2007-04-05 00:12:13 UTC
Created attachment 151721 [details]
Fix to Screenshot

[mhideo@mhideo images]$ cvs commit -m"fixing screenshot to fix BZ#235311"
Fixed in DocBot

Please advise if this is only a screenshot fix.

**** Access allowed: mhideo is in ACL for
Checking in virt-manager.5.png;
/cvs/ecs/Documentation/Virtualization/en-US/images/virt-manager.5.png,v  <-- 
new revision: 1.3; previous revision: 1.2

Comment 2 Michael Hideo 2007-04-05 02:08:44 UTC

Please confirm if the following amendment clarifies the procedure for the reader:

"This example installs a virtual system within a file.

The default SELinux policy permits xen disk images to reside in the /var/lib/xen
. If you have SELinux enabled and want to specify a custom path for the virtual
disk then you need to change SELinux policies accordingly "

Comment 3 Michael Hideo 2007-06-06 04:50:17 UTC
Adding 'cc for team coverage

Comment 11 errata-xmlrpc 2007-11-07 16:43:01 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

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