Bug 1758633 - SELinux is preventing ovs-vswitchd from using the 'net_broadcast' capabilities.
Summary: SELinux is preventing ovs-vswitchd from using the 'net_broadcast' capabilities.
Keywords:
Status: CLOSED DUPLICATE of bug 1716044
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 30
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:1c7eeedd11cf5db04e28b6dcddf...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-04 16:28 UTC by Matteo Croce
Modified: 2019-10-04 16:35 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-04 16:35:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matteo Croce 2019-10-04 16:28:33 UTC
Description of problem:
just start
SELinux is preventing ovs-vswitchd from using the 'net_broadcast' capabilities.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that ovs-vswitchd should have the net_broadcast capability by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'ovs-vswitchd' --raw | audit2allow -M my-ovsvswitchd
# semodule -X 300 -i my-ovsvswitchd.pp

Additional Information:
Source Context                system_u:system_r:openvswitch_t:s0
Target Context                system_u:system_r:openvswitch_t:s0
Target Objects                Unknown [ capability ]
Source                        ovs-vswitchd
Source Path                   ovs-vswitchd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.3-46.fc30.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.3.1-matteo #87 SMP Mon Sep 30
                              14:20:06 CEST 2019 x86_64 x86_64
Alert Count                   6
First Seen                    2019-10-04 18:16:31 CEST
Last Seen                     2019-10-04 18:26:27 CEST
Local ID                      176fbdfb-e641-4ff5-b031-f649d86d4610

Raw Audit Messages
type=AVC msg=audit(1570206387.519:822): avc:  denied  { net_broadcast } for  pid=16019 comm="ovs-vswitchd" capability=11  scontext=system_u:system_r:openvswitch_t:s0 tcontext=system_u:system_r:openvswitch_t:s0 tclass=capability permissive=0


Hash: ovs-vswitchd,openvswitch_t,openvswitch_t,capability,net_broadcast

Version-Release number of selected component:
selinux-policy-3.14.3-46.fc30.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.10.1
hashmarkername: setroubleshoot
kernel:         5.3.1-matteo
type:           libreport

Comment 1 Lukas Vrabec 2019-10-04 16:35:13 UTC

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


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