SELinux Bloqueia o Apache [fechado]

1

Recebi esta mensagem de erro em audit.log:

type=AVC msg=audit(1499174880.632:7148): avc: denied { execute } for pid=49368 comm="httpd" name="phantomjs" dev="dm-11" ino=692068 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:httpd_sys_rw_content_t:s0 tclass=file

Acho que meu site tinha a regra correta do SELinux:

ls -lZ /var/www/saga-rec.XX/axa-salesgame/vendors/bin/phantomjs

-rwxrwx---. apache gg_recusfogm system_u:object_r:**httpd_sys_rw_content_t:s0** /var/www/saga-rec.XX/axa-salesgame/vendors/bin/phantomjs

ls -lZ /var/www/

drwxr-xr-x. root   root         system_u:object_r:httpd_sys_script_exec_t:s0 cgi-bin

drwxr-xr-x. root   root         system_u:object_r:**httpd_sys_content_t:s0** html

drwxrws---. apache gg_recusfogm system_u:object_r:**httpd_sys_rw_content_t:s0** saga-api-rec.XX

drwxrws---. apache gg_recusfogm system_u:object_r:**httpd_sys_rw_content_t:s0** saga-rec.XX
    
por Med 04.07.2017 / 15:40

0 respostas