[Bug 1272788] Re: New upstart jobs are not detected in a P to T upgrade

Dimitri John Ledkov launchpad at surgut.co.uk
Tue Apr 8 22:04:12 UTC 2014


The conclusion is incorrect =)
upstart ignore jobs with unknown stanzas.
php-fpm specifies a stanza which is not available / unknown to upstart in precise.
also precise upstart doesn't know how to perform a stateful re-exec, hence a reboot is required to get the new init.

If it is desired for the upstart job to work, before rebooting one of the following are possible solutions:
* maintainer scripts fallback to init.d script
* make upstart job precise compatible, e.g. remove "reload signal" stanza
* (possibly) ship reload signal stanza in the .override file (precise upstart will ignore override, trusty upstart will use it)

** Changed in: upstart (Ubuntu)
     Assignee: (unassigned) => Dimitri John Ledkov (xnox)

** Summary changed:

- New upstart jobs are not detected in a P to T upgrade
+ php5-fpm upstart job is not compatible with precise upstart

** Package changed: upstart (Ubuntu) => php5 (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1272788

Title:
  php5-fpm upstart job is not compatible with precise upstart

Status in “php5” package in Ubuntu:
  Triaged

Bug description:
  After upgrading a server from 12.04 to trusty, I noticed the php-fpm
  service would not start.

  Running sudo service php-fpm, the following message was shown:

  “Unknown job: php5-fpm”

  Following the workaround here [1] and commenting out the "reload
  signal USR2" line in /etc/init/php5-fpm.conf fixed the issue.

  [1]: https://github.com/gplessis/dotdeb-php5/issues/45

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: php5-fpm (not installed)
  ProcVersionSignature: Ubuntu 3.13.0-5.20-generic 3.13.0
  Uname: Linux 3.13.0-5-generic x86_64
  ApportVersion: 2.13.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sun Jan 26 00:58:53 2014
  InstallationDate: Installed on 2013-09-21 (126 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130921)
  SourcePackage: php5
  UpgradeStatus: Upgraded to trusty on 2013-12-18 (38 days ago)

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



More information about the foundations-bugs mailing list