Bug 1988138
| Summary: | SELinux is preventing firewalld from using the 'setcap' accesses on a process. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mikhail <mikhail.v.gavrilov> |
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dwalsh, grepl.miroslav, lvrabec, mmalik, omosnace, vmojzis, zpytela |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:e709e2a7fee40a27c54b65bbe3e4245907e85179a6824ef5ea69fe028cc0b0f5;VARIANT_ID=workstation; | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-30 07:46:40 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 1985494 *** |
Description of problem: SELinux is preventing firewalld from using the 'setcap' accesses on a process. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that firewalld should be allowed setcap access on processes labeled firewalld_t 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 'firewalld' --raw | audit2allow -M my-firewalld # semodule -X 300 -i my-firewalld.pp Additional Information: Source Context system_u:system_r:firewalld_t:s0 Target Context system_u:system_r:firewalld_t:s0 Target Objects Unknown [ process ] Source firewalld Source Path firewalld Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-34.14-2.fc35.noarch Local Policy RPM selinux-policy-targeted-34.14-2.fc35.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 5.14.0- 0.rc3.20210728git7d549995d4e0.31.fc35.x86_64 #1 SMP Wed Jul 28 16:15:57 UTC 2021 x86_64 x86_64 Alert Count 1 First Seen 2021-07-30 00:31:11 +05 Last Seen 2021-07-30 00:31:11 +05 Local ID 497541fb-40d2-40e9-b1ef-ebce463fb7ab Raw Audit Messages type=AVC msg=audit(1627587071.746:166): avc: denied { setcap } for pid=1267 comm="firewalld" scontext=system_u:system_r:firewalld_t:s0 tcontext=system_u:system_r:firewalld_t:s0 tclass=process permissive=1 Hash: firewalld,firewalld_t,firewalld_t,process,setcap Version-Release number of selected component: selinux-policy-targeted-34.14-2.fc35.noarch Additional info: component: selinux-policy reporter: libreport-2.15.2 hashmarkername: setroubleshoot kernel: 5.14.0-0.rc3.20210728git7d549995d4e0.31.fc35.x86_64 type: libreport