[Bug 1319595] [NEW] upstart script ignores some php-fpm.conf parameters, cannot be bypassed in preference of SystemV init script.

Jim Howell 1319595 at bugs.launchpad.net
Wed May 14 22:40:47 UTC 2014


Public bug reported:

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.d/php5-fpm,

# 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/php5-fpm that would override this
behavior.  As things stand, I cannot use the init script without making
an incompatible edit, which I would then have to fight to maintain
against updates for the next few years.

Backwards-compatibility, please.  This is the server version, after all!

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: server trusty

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1319595

Title:
  upstart script ignores some php-fpm.conf parameters, cannot be
  bypassed in preference of SystemV init script.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1319595/+subscriptions



More information about the Ubuntu-server-bugs mailing list