Bug 447633

Summary: libvirt with lokkit support SELinux denials
Product: [Fedora] Fedora Reporter: Alan Pevec <apevec>
Component: libvirtAssignee: Mark McLoughlin <markmc>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: berrange
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: libvirt-0.4.2-4.fc9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-06-04 13:55:50 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Alan Pevec 2008-05-20 17:40:12 EDT
Description of problem:
lokkit support doesn't work with SELinux: denied { write } comm="lokkit"
scontext=virtd_t tcontext=etc_t tclass=file for name="iptables" and
name="system-config-firewall" and also denied { read } comm="sh"
name="" scontext=virtd_t tcontext=modules_object_t tclass=dir

Version-Release number of selected component (if applicable):

How reproducible:
always with SELinux enforcing

Steps to Reproduce:
1. yum --enablerepo=updates-testing update libvirt
2. service libvirt restart
Actual results:
SELinux denial reports

Expected results:
no denials

Additional info:
Comment 1 Alan Pevec 2008-05-20 17:42:34 EDT
*** Bug 447632 has been marked as a duplicate of this bug. ***
Comment 2 Mark McLoughlin 2008-06-04 13:32:21 EDT
We're going to disable lokkit support again - see bug #449996
Comment 3 Mark McLoughlin 2008-06-04 13:55:50 EDT
Fixed with:

* Wed Jun  4 2008 Mark McLoughlin <markmc@redhat.com> - 0.4.2-4.fc9
- Disable lokkit support again (#449996, #447633)
- Ensure PolicyKit is enabled (#446616)
Comment 4 Fedora Update System 2008-06-04 17:00:57 EDT
libvirt-0.4.2-4.fc9 has been submitted as an update for Fedora 9
Comment 5 Daniel Berrange 2008-06-11 10:48:42 EDT
*** Bug 437802 has been marked as a duplicate of this bug. ***