Hide Forgot
Description of problem: When you enable slow logs in PHP-FPM, you get a ton of errors regarding ptrace. Version-Release number of selected component (if applicable): 3.7.19-279 How reproducible: Junst enable slowlogs in /etc/php-fpm.d/www.conf slowlog = /var/log/php-fpm/www-slow.log request_slowlog_timeout = 5s Here's a policy that works for me. I think it should be corrected and included into mainstream. Slow logs are very important and should be allowed. Maybe creating a boolean for this? module php-fpm-slow_logs 1.0; require { type httpd_t; class capability sys_ptrace; class process ptrace; } #============= httpd_t ============== allow httpd_t self:capability sys_ptrace; allow httpd_t self:process ptrace;
I suggest to move this to rhel-6.9. It's quite late for rhel-6.8 fixes. Also, I have no idea why is this needed for slow-logging. Any ideas whats going on here?
Red Hat Enterprise Linux version 6 is entering the Production 2 phase of its lifetime and this bug doesn't meet the criteria for it, i.e. only high severity issues will be fixed. Please see https://access.redhat.com/support/policy/updates/errata/ for further information. Feel free to clone this bug to RHEL-7 if it is still a problem for you.