| Summary: | virt-manager cannot run qemu-kvm in current Rawhide | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-11 21:30:36 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
chcon -t qemu_exec_t /usr/bin/qemu-kvm Will fix the problem. Fixed in selinux-policy-3.10.0-75.fc17 |
With latest selinux-policy (3.10.0-74), virt-manager runs and finds libvirt (that's fixed since -72), but cannot launch a VM, as selinux prevents it executing /usr/bin/qemu-kvm: [ 95.219139] type=1400 audit(1326315153.934:17): avc: denied { entrypoint } for pid=2130 comm="libvirtd" path="/usr/bin/qemu-kvm" dev=dm-2 ino=170270 scontext=system_u:system_r:svirt_t:s0:c754,c782 tcontext=system_u:object_r:bin_t:s0 tclass=file setenforce Permissive allows the VM to run, confirming the denial is the problem.