FS#20340 - PHP-FPM rc-script can't determine the daemom start
Attached to Project:
Arch Linux
Opened by Arseny Vakhrushev (waxar) - Monday, 02 August 2010, 09:09 GMT
Last edited by Pierre Schmitz (Pierre) - Monday, 02 August 2010, 16:39 GMT
Opened by Arseny Vakhrushev (waxar) - Monday, 02 August 2010, 09:09 GMT
Last edited by Pierre Schmitz (Pierre) - Monday, 02 August 2010, 16:39 GMT
|
Details
Description:
When issuing a command to start the php-fpm daemon, the rc-script hangs for a period of time trying to determine whether a pid-file is created. Additional info: php-fpm 5.3.3-1 Upgraded from the extra repository. Before the upgrade, the package was built from the AUR repository. It's suggested to get rid of a separate /var/run/php-fpm/ directory for a pid-file in the rc-script. The former rc-script file is in the attachment. It works totally fine. Steps to reproduce: pacman -Sy php-fpm /etc/rc.d/php-fpm start |
This task depends upon
I also don't see the point of not having a separate php-fpm dir in /var/run. This is quite common especially if you have more than one file (a lock file and a pid file) to store. Using your script would definitely break things.
There is also no way we can support an update from packages you have build on your own.
I don't mind having a separate directory for pids and locks. It just needs to be appropriately configured then. The provided rc-script doesn't work as expected.
If the modifications made don't intersect with the pid file path, I certainly need to bug report to the upstream.