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
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.