/lib/init/upstart-job does not handle lucid->precise upgrade scenario
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart (Ubuntu) |
Fix Released
|
High
|
James Hunt | ||
Precise |
Fix Released
|
High
|
James Hunt | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[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/
/lib/init/
Related branches
- Daniel Holbach: Needs Information
- Ubuntu branches: Pending requested
-
Diff: 72 lines (+32/-4)3 files modifieddebian/changelog (+9/-0)
debian/manpages/upstart-events.7 (+3/-3)
debian/upstart-job (+20/-1)
Changed in upstart (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: rls-p-tracking |
Changed in upstart (Ubuntu): | |
milestone: | none → ubuntu-12.04.1 |
Changed in upstart (Ubuntu): | |
assignee: | nobody → James Hunt (jamesodhunt) |
Changed in upstart (Ubuntu): | |
status: | Triaged → In Progress |
Changed in upstart (Ubuntu): | |
status: | In Progress → Fix Committed |
description: | updated |
Changed in upstart (Ubuntu Precise): | |
status: | Fix Committed → Fix Released |
This upgrade scenario handling issue is probably also the cause of bug 984474.