Closed esbjerg closed 9 years ago
I have never encountered this issue, even though I have been using php-fpm on RHEL7 since it came out. The current updated packages I'm using definitely don't have this problem, and having puppet create this directory would be wrong anyway since /run
is tmpfs (to where /var/run is a symlink to), meaning that puppet would need to re-create the directory after each reboot, with php-fpm failing to start anyway.
Here's what you can check :
[root@el7 ~]# cat /usr/lib/tmpfiles.d/php-fpm.conf
d /run/php-fpm 755 root root
[root@el7 ~]# rpm -qf /usr/lib/tmpfiles.d/php-fpm.conf
php-fpm-5.5.22-1.el7.x86_64
Otherwise the service cannot start with systemd.
Tested on CentOS-7 where the issue was discovered.