php-fpm has the init_t context label

Latest response

Hi everyone,

At a customer, I have a RHEL 7 server with php-fpm installed through rhscl. Since a few weeks, php-fpm is running with the init_t context label (system_u:system_r:init_t:s0 root 1009 0.0 0.2 242324 8584 ? Ss mrt24 0:26 php-fpm: master process (/etc/opt/rh/rh-php71/php-fpm.conf)) which causes problems between Apache and PHP. I'm a bit lost why it's not labeled as httpd_t and what could have caused this.

Since this is production, we've created a new server and that one is working fine (everything is Ansible deployed). However, I'd still like to know what could cause this and how to troubleshoot it further.

Thanks in advance!
Derk

Responses