** Description changed:

- /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.
+ [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.

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

Title:
  /lib/init/upstart-job does not handle lucid->precise upgrade scenario

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to