Bug 1540405
| Summary: | SELinux is preventing php-fpm from 'map' accesses on the archivo /dev/shm/mongoc-934. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Raziel <ethush> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 27 | CC: | dwalsh, lvrabec, mgrepl, plautrba, pmoore |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:0c6a31bf5b13c0818f33e32cef3d241e5d75d8e4ba87a89c659543933271c3a8;VARIANT_ID=workstation; | ||
| Fixed In Version: | selinux-policy-3.13.1-283.26.fc27 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-02-27 17:21:58 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: | |||
selinux-policy-3.13.1-283.26.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-a9711c96b2 selinux-policy-3.13.1-283.26.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-a9711c96b2 selinux-policy-3.13.1-283.26.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: SELinux is preventing php-fpm from 'map' accesses on the archivo /dev/shm/mongoc-934. ***** Plugin catchall (100. confidence) suggests ************************** Si cree que de manera predeterminada se debería permitir a php-fpm el acceso map sobre mongoc-934 file. Then debería reportar esto como un error. Puede generar un módulo de política local para permitir este acceso. Do permita el acceso temporalmente ejecutando: # ausearch -c 'php-fpm' --raw | audit2allow -M mi-phpfpm # semodule -X 300 -i mi-phpfpm.pp Additional Information: Source Context system_u:system_r:httpd_t:s0 Target Context system_u:object_r:httpd_tmpfs_t:s0 Target Objects /dev/shm/mongoc-934 [ file ] Source php-fpm Source Path php-fpm Port <Desconocido> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-283.21.fc27.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.14.13-300.fc27.x86_64 #1 SMP Thu Jan 11 04:00:01 UTC 2018 x86_64 x86_64 Alert Count 4 First Seen 2018-01-21 09:44:52 CST Last Seen 2018-01-30 19:21:12 CST Local ID 7e41020d-2c74-4604-a1bb-f517911f03fc Raw Audit Messages type=AVC msg=audit(1517361672.382:302): avc: denied { map } for pid=934 comm="httpd" path="/dev/shm/mongoc-934" dev="tmpfs" ino=177115 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:httpd_tmpfs_t:s0 tclass=file permissive=0 Hash: php-fpm,httpd_t,httpd_tmpfs_t,file,map Version-Release number of selected component: selinux-policy-3.13.1-283.21.fc27.noarch Additional info: component: selinux-policy reporter: libreport-2.9.3 hashmarkername: setroubleshoot kernel: 4.14.13-300.fc27.x86_64 type: libreport