Bug 1292304

Summary: SELinux preventing virtlogd.socket from starting
Product: [Fedora] Fedora Reporter: York Possemiers <ypossem>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dominick.grift, dwalsh, flast, lvrabec, mgrepl, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-21 11:53:30 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:
Embargoed:
Attachments:
Description Flags
ausearch recent after starting virtlogd.socket in permissive mode none

Description York Possemiers 2015-12-16 23:54:14 UTC
Description of problem:
Virtual machines in libvirt cannot start while virtlogd.socket is inaccessible. Starting the socket with 'systemctl start virtlogd.socket' yields "virtlogd.socket: Failed to listen on sockets: Permission denied"
setenforce 0 allows it to start

Version-Release number of selected component (if applicable):
selinux-policy-3.13.1-163.fc24.noarch
libvirt-daemon-1.3.0-1.fc24.x86_64


How reproducible:
100%


Steps to Reproduce:
1. systemctl start virtlogd.socket

Actual results:
Unable to open socket

Expected results:
Unit starts successfully

Additional info:

Comment 1 Lukas Vrabec 2016-01-07 09:42:57 UTC
Hi, 

Could reproduce this issue when you switch SELinux mode to permissive? 

If yes, could you attach reproducer and AVC msgs? 
1. Reproduce the issue
2. # ausearch -m AVC -ts recent 

Thank you.

Comment 2 York Possemiers 2016-01-08 02:19:49 UTC
Created attachment 1112697 [details]
ausearch recent after starting virtlogd.socket in permissive mode