2012-04-19 16:56:55 |
James Hunt |
bug |
|
|
added bug |
2012-04-19 17:02:53 |
Steve Langasek |
upstart (Ubuntu): status |
New |
Triaged |
|
2012-04-19 17:02:55 |
Steve Langasek |
upstart (Ubuntu): importance |
Undecided |
High |
|
2012-04-19 17:03:01 |
Steve Langasek |
tags |
|
rls-p-tracking |
|
2012-04-19 17:03:09 |
Steve Langasek |
upstart (Ubuntu): milestone |
|
ubuntu-12.04.1 |
|
2012-04-19 17:11:23 |
James Hunt |
upstart (Ubuntu): assignee |
|
James Hunt (jamesodhunt) |
|
2012-04-20 08:09:17 |
Launchpad Janitor |
branch linked |
|
lp:~jamesodhunt/ubuntu/precise/upstart/bugs-985755+984474 |
|
2012-04-20 08:11:31 |
James Hunt |
upstart (Ubuntu): status |
Triaged |
In Progress |
|
2012-04-24 15:53:57 |
James Hunt |
attachment added |
|
patch to /lib/init/upstart-job for a lucid system to bring it up-to-date with the precise version. https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/985755/+attachment/3102092/+files/upstart-job.patch |
|
2012-04-24 16:15:12 |
Ubuntu Foundations Team Bug Bot |
tags |
rls-p-tracking |
patch rls-p-tracking |
|
2012-04-24 16:15:21 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2012-04-25 12:52:38 |
James Hunt |
upstart (Ubuntu): status |
In Progress |
Fix Committed |
|
2012-04-26 00:03:39 |
Steve Langasek |
description |
/lib/init/upstart-job was recently changed (bug 974147) such that it now calls 'initctl show-config -e $JOB'. This works fine for precise systems and for oneiric->precise upgrades, but does not work for lucid->precise upgrades since 'show-config' is not a legitimate initctl command on the version of init running on lucid at the time of the precise upgrade (0.6.5-8) since the 'show-config' command was added in Upstart 1.3.
/lib/init/upstart-job needs to be changed to handle the lucid upgrade path scenario by either checking the running version of init or more intelligently parsing the output of 'initctl show-config -e $JOB' since currently, an upgrade from lucid to precise will cause all upgraded packages containing upstart jobs to *not* restart the services. |
[Impact]
If an upgrade from lucid to precise pulls in a new upstart job that should be started on package install, the job will silently fail to be started. If other packages expect the job to be running, this may cause cascading installation failures.
[Development Fix]
Package will be copied to quantal when the archive opens.
[Test Case]
1. Install Ubuntu 10.04 desktop
2. upgrade to 12.04 without rebooting.
3. run /etc/init.d/cron stop; /etc/init.d/cron start
4. verify that an error message is output and cron is not restarted.
5. install the upstart package from precise-proposed.
6. again run /etc/init.d/cron start
7. verify that no error is output and cron is restarted successfully.
[Regression Potential]
None foreseen.
/lib/init/upstart-job was recently changed (bug 974147) such that it now calls 'initctl show-config -e $JOB'. This works fine for precise systems and for oneiric->precise upgrades, but does not work for lucid->precise upgrades since 'show-config' is not a legitimate initctl command on the version of init running on lucid at the time of the precise upgrade (0.6.5-8) since the 'show-config' command was added in Upstart 1.3.
/lib/init/upstart-job needs to be changed to handle the lucid upgrade path scenario by either checking the running version of init or more intelligently parsing the output of 'initctl show-config -e $JOB' since currently, an upgrade from lucid to precise will cause all upgraded packages containing upstart jobs to *not* restart the services. |
|
2012-04-26 10:36:47 |
Martin Pitt |
nominated for series |
|
Ubuntu Precise |
|
2012-04-26 10:36:47 |
Martin Pitt |
bug task added |
|
upstart (Ubuntu Precise) |
|
2012-04-26 10:36:47 |
Martin Pitt |
nominated for series |
|
Ubuntu Quantal |
|
2012-04-26 10:36:47 |
Martin Pitt |
bug task added |
|
upstart (Ubuntu Quantal) |
|
2012-04-26 10:37:45 |
Martin Pitt |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-04-26 10:37:49 |
Martin Pitt |
bug |
|
|
added subscriber SRU Verification |
2012-04-26 10:37:51 |
Martin Pitt |
tags |
patch rls-p-tracking |
patch rls-p-tracking verification-needed |
|
2012-04-30 08:46:03 |
Launchpad Janitor |
upstart (Ubuntu Quantal): status |
New |
Confirmed |
|
2012-05-03 03:59:22 |
David Ayers |
bug |
|
|
added subscriber David Ayers |
2012-05-04 23:36:21 |
Launchpad Janitor |
upstart (Ubuntu Quantal): status |
Confirmed |
Fix Released |
|
2012-05-05 01:18:51 |
Launchpad Janitor |
upstart (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|