Bug 1758633
| Summary: | SELinux is preventing ovs-vswitchd from using the 'net_broadcast' capabilities. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Matteo Croce <mcroce> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 30 | CC: | dwalsh, lvrabec, mgrepl, plautrba, zpytela |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:1c7eeedd11cf5db04e28b6dcddf43f3f6d2e1bec9746e1a4b5beeb580daae66a; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-10-04 16:35:13 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** This bug has been marked as a duplicate of bug 1716044 *** |
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