upstart script ignores some php-fpm.conf parameters, cannot be bypassed in preference of SystemV init script.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Trusty 14.04 LTS x86_64 Server
The upstart script invokes php5-fpm with --nodaemonize.
This causes several options from the config file to be ignored, including log file locations, pid file, and others. It also means that logging is done to /var/log/upstart/ and is no longer configurable.
Despite the advantages Upstart brings, these problems may cause some (like me) to choose to abandon Upstart for this particular package. Unfortunately, deleting the Upstart script does not have the intended effect of falling back to the /etc/init.d version by the same name.
Due to the following snippet from /etc/init.
# Don't run if we are running upstart
if init_is_upstart; then
exit 1
fi
it is impossible to successfully run the init script. The init script is permanently and fundamentally DISABLED by this snippet.
A notice or warning output would be more appropriate; or perhaps some additional value set from /etc/default/
Backwards-
Status changed to 'Confirmed' because the bug affects multiple users.