Bug 222687 - SELinux errors when starting Xen domain
Summary: SELinux errors when starting Xen domain
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: xen
Version: 6
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Xen Maintainance List
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks: 234166
TreeView+ depends on / blocked
 
Reported: 2007-01-15 18:45 UTC by Adam Huffman
Modified: 2007-11-30 22:11 UTC (History)
3 users (show)

Fixed In Version: xen-3.0.3-8.fc6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-04-02 13:03:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Error report via setroubleshoot (2.23 KB, text/plain)
2007-01-15 18:45 UTC, Adam Huffman
no flags Details

Description Adam Huffman 2007-01-15 18:45:15 UTC
Description of problem:
Whenever I start a Xen domain created using virt-install, there are SELinux denials.

Version-Release number of selected component (if applicable):
net-tools-1.60-73

How reproducible:
Every time

Steps to Reproduce:
1. Start a Xen domain
2.
3.
  
Actual results:
SELinux denials reported (I'm in permissive mode at the moment, until these
problems are resolved)

Expected results:
Domain starts normally

Additional info:

Comment 1 Adam Huffman 2007-01-15 18:45:15 UTC
Created attachment 145604 [details]
Error report via setroubleshoot

Comment 2 Daniel Walsh 2007-01-15 20:14:00 UTC
Did this actually block something from working?  If you try this in enforcing
mode do you see errors?  This looks like xen is leaking an open descriptor to
the xen_image_t file.  There is no reason ifconfig should ever need to
read/write this disk image.  I believe this should work in enforcing mode.

Comment 3 Adam Huffman 2007-01-16 19:04:25 UTC
Yes, there are errors when running in enforcing mode, though things do appear to
be working.

Comment 4 Daniel Berrangé 2007-03-27 15:25:56 UTC
QEMU was leaking file handles to the networking scripts which caused SELinux
errors. This was fixed in Xen 3.0.3-7.fc6

* Tue Mar  6 2007 Daniel P. Berrange <berrange> - 3.0.3-7.fc6
- Ensure PVFB daemon terminates if domain doesn't startup (bz 230634)
- Fix ia64 shadow page table mode
- Close QEMU file handles when running network script

Please upgrade & confirm that the errors went away.


Comment 5 David Juran 2007-04-02 08:32:00 UTC
Yes, this indeed seems to be fixed in xen-3.0.3-8.fc6 (-:


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