Bug 1369284

Summary: libvirtd cannot start VMs: "SELinux denies access"
Product: [Fedora] Fedora Reporter: Michael Hampton <error>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 24CC: dominick.grift, dwalsh, lvrabec, mgrepl, mnl, plautrba
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: noarch   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.13.1-191.13.fc24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-25 13:53:46 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:
Attachments:
Description Flags
Audit log when trying to start VM none

Description Michael Hampton 2016-08-23 01:49:37 UTC
Created attachment 1193105 [details]
Audit log when trying to start VM

Description of problem:
When trying to start an existing virtual machine (or create a new virtual machine) libvirtd fails to start the VM and reports a somewhat unhelpful error: SELinux denies access. Audit log entries are attached.

Version-Release number of selected component (if applicable):
selinux-policy.noarch 3.13.1-191.12.fc24
selinux-policy-targeted.noarch 3.13.1-191.12.fc24
selinux-policy.noarch 3.13.1-191.11.fc24
selinux-policy-targeted.noarch 3.13.1-191.11.fc24

How reproducible:
Always

Steps to Reproduce:
1. Start a stopped virtual machine.

Actual results:
# journalctl -u libvirtd -f
Aug 23 01:25:29 magnataur libvirtd[12863]: SELinux policy denies access.

Expected results:
Virtual machine should start normally.

Additional info:
Downgrading to selinux-policy-3.13.1-191.10.fc24 resolves the issue.

Comment 1 Fedora Update System 2016-08-24 10:18:49 UTC
selinux-policy-3.13.1-191.13.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-6164469d14

Comment 2 Fedora Update System 2016-08-24 17:26:38 UTC
selinux-policy-3.13.1-191.13.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-6164469d14

Comment 3 Cole Robinson 2016-08-25 13:28:27 UTC
*** Bug 1370170 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2016-08-25 13:52:58 UTC
selinux-policy-3.13.1-191.13.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.