Bug 887980 - qemu-kvm getting avc errors "netlink_route_socket"
Summary: qemu-kvm getting avc errors "netlink_route_socket"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-17 18:12 UTC by Gene Czarcinski
Modified: 2013-01-11 23:14 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-11 23:14:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
grep qemu-kvm /var/log/audit/audit.log (1.18 KB, application/x-gzip)
2012-12-17 18:12 UTC, Gene Czarcinski
no flags Details

Description Gene Czarcinski 2012-12-17 18:12:09 UTC
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 };
---

Comment 1 Daniel Walsh 2012-12-17 19:34:50 UTC
Fixed in selinux-policy-3.11.1-66.fc18.noarch

Comment 2 Fedora Update System 2012-12-21 10:32:05 UTC
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

Comment 3 Fedora Update System 2012-12-21 20:02:33 UTC
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).

Comment 4 Fedora Update System 2013-01-11 23:14:17 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.