Bug 477187
Summary: | selinux policy requires ISO images to be virt_image_t | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jeff Bastian <jbastian> |
Component: | libvirt | Assignee: | Daniel Veillard <veillard> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 10 | CC: | berrange, clalance, crobinso, stijn, veillard, virt-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-08-04 15:08:14 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jeff Bastian
2008-12-19 15:09:57 UTC
We need a way to separate the installation of a image from the actual running of an image. The problem right now when libvirtd runs an install it call qemu to do the install. It also calls qemu when it runs an image. Since we want to lock down the running of an image we need to change this behaviour some how. A couple of choices to fix this. Execute an intemediary script or program to do the install. libvirtd->virtd_install.sh-> qemu Then I could label virtd_install.sh as virt_install_t and not transition to qemu_t when doing an install. Another thing we could do is have libvirtd call (pseudo code) con = getcon() setexeccon(con) exec(qemu) for install setexeccon(NULL) Which would stop the transition from happening on an install. Seeing this as well. Are you sure this is only a problem during install? I might want to "insert" a different CD (a.k.a. connect a different .iso file) while running a VM, let's say the next Fedora installation DVD I've just downloaded as a normal user over the internet? In Fedora 11 we introduced more advanced SELinux support into libvirt, known as 'sVirt'. With this, libvirtd will automatically relabel ISO images & diskl images to virt_image_t when required. This new code is too invasive to consider backporting to Fedora 10, so I'm closing this WONTFIX. |