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 1535202 - Got AVCs when starting OVS
Summary: Got AVCs when starting OVS
Keywords:
Status: CLOSED DUPLICATE of bug 1535196
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy
Version: 7.5
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Lukas Vrabec
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-16 20:07 UTC by Jean-Tsung Hsiao
Modified: 2022-10-31 14:22 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-17 10:14:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jean-Tsung Hsiao 2018-01-16 20:07:58 UTC
Description of problem: Got AVCs when starting OVS

type=AVC msg=audit(1516131089.935:630): avc:  denied  { read } for  pid=22525 comm="ovs-vswitchd" name="msr" dev="devtmpfs" ino=2132 scontext=system_u:system_r:openvswitch_t:s0 tcontext=system_u:object_r:cpu_device_t:s0 tclass=chr_file
type=AVC msg=audit(1516131090.838:631): avc:  denied  { write } for  pid=22525 comm="ovs-vswitchd" name="flags" dev="sysfs" ino=58582 scontext=system_u:system_r:openvswitch_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=file
type=AVC msg=audit(1516131090.843:632): avc:  denied  { write } for  pid=22525 comm="ovs-vswitchd" name="flags" dev="sysfs" ino=62634 scontext=system_u:system_r:openvswitch_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=file


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

root@netqe24 ~]# uname -a
Linux netqe24.knqe.lab.eng.bos.redhat.com 3.10.0-825.el7.x86_64 #1 SMP Tue Dec 26 21:14:27 EST 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@netqe24 ~]# rpm -q openvswitch
openvswitch-2.9.0-0.3.20171212git6625e43.el7fdb.x86_64
[root@netqe24 ~]# rpm -q selinux-policy
selinux-policy-3.13.1-185.el7.noarch

How reproducible: Reproducible


Steps to Reproduce:
1. setenforce 1
2. systemctl start openvswitch
3.

Actual results:


Expected results:


Additional info:

Comment 2 Milos Malik 2018-01-17 07:07:18 UTC
Could you re-run the reproducer in permissive mode and collect all SELinux denials?

# ausearch -m avc -m user_avc -m selinux_err -m user_selinux_err -i -ts today

Thank you

Comment 3 Lukas Vrabec 2018-01-17 10:14:18 UTC

*** This bug has been marked as a duplicate of bug 1535196 ***

Comment 4 Jean-Tsung Hsiao 2022-10-31 14:22:39 UTC
(In reply to Milos Malik from comment #2)
> Could you re-run the reproducer in permissive mode and collect all SELinux
> denials?
> 
> # ausearch -m avc -m user_avc -m selinux_err -m user_selinux_err -i -ts today
> 
> Thank you

The issue has been closed.


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