Bug 887980
| Summary: | qemu-kvm getting avc errors "netlink_route_socket" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Gene Czarcinski <gczarcinski> | ||||
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 18 | CC: | dominick.grift, dwalsh, mgrepl | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-01-11 23:14:15 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: |
|
||||||
Fixed in selinux-policy-3.11.1-66.fc18.noarch selinux-policy-3.11.1-67.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-67.fc18 Package selinux-policy-3.11.1-67.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-67.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-20813/selinux-policy-3.11.1-67.fc18 then log in and leave karma (feedback). selinux-policy-3.11.1-67.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 665022 [details] grep qemu-kvm /var/log/audit/audit.log Description of problem: getting SElinux policy errors Version-Release number of selected component (if applicable): F18 beta current + libvirt-1.0.1 Here are the updates that fixed things: -------------------------------- module qemu-kvm-2 1.0; require { type svirt_t; class netlink_route_socket { bind create }; } #============= svirt_t ============== allow svirt_t self:netlink_route_socket bind; #!!!! This avc is allowed in the current policy allow svirt_t self:netlink_route_socket create; ------------------------------------------------- module qemu-kvm-3 1.0; require { type svirt_t; class netlink_route_socket { bind getattr create }; } #============= svirt_t ============== allow svirt_t self:netlink_route_socket getattr; #!!!! This avc is allowed in the current policy allow svirt_t self:netlink_route_socket { bind create }; ---