Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionEduardo Habkost
2010-06-02 18:26:47 UTC
Opening this bug for the needed selinux-policy change for /dev/vhost-net. It was first mentioned on Bug #596891, as pasted below.
+++ This bug was initially created as a clone of Bug #596891 +++
The /etc/sysconfig/modules/kvm.modules script is used at bootup to load the kvm module, however we also need to load the vhost-net module, otherwise we'll see greatly reduced network through-put.
libvirt we automagically use vhost if /dev/vhost-net exists.
We need to automate this process
--- Additional comment from mst on 2010-06-02 11:57:04 EDT ---
Just to clarify: since we rely on libvirt and that runs as root,
we do not need to change any used rules at all.
It is enough to load the module (that will pull in tun
and macvtap), and we are done.
--- Additional comment from mst on 2010-06-02 13:10:13 EDT ---
another issue is selinux policy.
some advice from #virt: the quickest work around until we file a BZ and get it fixed in selinux policy might be:
chcon -t kvm_device_t /dev/vhost-net
It looks OK, now. I just tested selinux-policy-3.7.19-24.el6.noarch, and I don't see any selinux denials anymore when starting a guest with vhost-net loaded.
*** Bug 601276 has been marked as a duplicate of this bug. ***
Comment 15releng-rhel@redhat.com
2010-11-11 16:29:01 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.