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.
Bug 1916046 - openvswitch requires perf_event open SELinux permission when install openvswitch package
Summary: openvswitch requires perf_event open SELinux permission when install openvswi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: selinux-policy
Version: 8.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: 8.4
Assignee: Zdenek Pytela
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On: 1908817
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-14 02:17 UTC by Jinghua Wu
Modified: 2021-05-18 14:58 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 1908817
Environment:
Last Closed: 2021-05-18 14:58:20 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 Zdenek Pytela 2021-01-14 06:00:17 UTC
This rawhide PR needs backporting:
commit afe14e579f204486bb716b024fd05696a3aea067 (HEAD -> rawhide, upstream/rawhide)
Author: Zdenek Pytela <zpytela>
Date:   Thu Dec 17 18:06:09 2020 +0100

    Allow openvswitch_t perf_event open permission

    Resolves: rhbz#1908817

Comment 2 Zdenek Pytela 2021-01-14 06:02:37 UTC
Checking the metadata, this bz is open for openvswitch-selinux-extra-policy, but we can solve it in RHEL 8.4 selinux-policy. Can the component be changed?

Comment 3 Aaron Conole 2021-01-14 15:28:53 UTC
Yes.

Comment 4 Zdenek Pytela 2021-01-19 18:55:59 UTC
This one-liner can be used as a workaround until the fix is delivered:

  # cat local_openvswitch_perfevent.cil
(allow openvswitch_t self (perf_event (open)))
  # semodule -i local_openvswitch_perfevent.cil

Comment 20 errata-xmlrpc 2021-05-18 14:58:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (selinux-policy bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:1639


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