Bug 2159598
| Summary: | SELinux is preventing ftdc from 'search' accesses on the directory fs. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | venutonh |
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 37 | CC: | dwalsh, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:6c37c4dc9fc2fe68ad2af1757cbdc5734db72a7ad8c090fdae4f23e580f40bc8;VARIANT_ID=workstation; | ||
| Fixed In Version: | selinux-policy-37.20-1.fc37 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-05-10 01:40:18 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: | |||
FEDORA-2023-13093d1386 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-13093d1386 FEDORA-2023-13093d1386 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-13093d1386` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-13093d1386 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-13093d1386 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report. |
Description of problem: SELinux is preventing ftdc from 'search' accesses on the directory fs. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that ftdc should be allowed search access on the fs directory 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 'ftdc' --raw | audit2allow -M my-ftdc # semodule -X 300 -i my-ftdc.pp Additional Information: Source Context system_u:system_r:mongod_t:s0 Target Context system_u:object_r:sysctl_fs_t:s0 Target Objects fs [ dir ] Source ftdc Source Path ftdc Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-37.17-1.fc37.noarch Local Policy RPM selinux-policy-targeted-37.17-1.fc37.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.0.18-300.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Jan 7 17:10:00 UTC 2023 x86_64 x86_64 Alert Count 7141 First Seen 2023-01-09 22:13:37 EST Last Seen 2023-01-10 00:23:12 EST Local ID 29fa0486-fc93-4093-bc22-837cfc06be6a Raw Audit Messages type=AVC msg=audit(1673328192.999:8254): avc: denied { search } for pid=930 comm="ftdc" name="fs" dev="proc" ino=15615 scontext=system_u:system_r:mongod_t:s0 tcontext=system_u:object_r:sysctl_fs_t:s0 tclass=dir permissive=0 Hash: ftdc,mongod_t,sysctl_fs_t,dir,search Version-Release number of selected component: selinux-policy-targeted-37.17-1.fc37.noarch Additional info: component: selinux-policy reporter: libreport-2.17.4 hashmarkername: setroubleshoot kernel: 6.0.18-300.fc37.x86_64 type: libreport Potential duplicate: bug 2036513