new initctl should fallback to old reload signal semantics, if pid1 doesn't export reload dbus method
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart |
Fix Committed
|
High
|
Unassigned | ||
upstart (Ubuntu) |
Fix Released
|
High
|
Dimitri John Ledkov | ||
Trusty |
Fix Released
|
High
|
Dimitri John Ledkov |
Bug Description
[Impact]
* Between upgrading upstart to trusty and rebooting: reload (initctl reload) commands fail and do not SIGHUP upstart jobs.
[Test Case]
* with pid1 being precise init, attempt to perform $ initctl reload against any job using trusty's initctl
[Regression Potential]
* Minimal, this re-introduces a previously removed code-path as fallback when reload signal delivery fails.
[Other Info]
* original bug report below
new initctl should fallback to old reload signal semantics, if pid1 doesn't export reload dbus method
as per comment https:/
I'm currently testing Precise to Trusty upgrades and encountered - while troubleshooting bug http://
# initctl reload dbus
initctl: Method "Reload" with signature "" on interface "com.ubuntu.
The issue at hand is that during the upgrade the 'upstart' package will be updated but Precise's Upstart is still running until a reboot. Trusty's 'upstart' package ships a new 'initctl' binary that handles reloads only via the 'Reload' D-Bus method. Precise's Upstart doesn't support the 'Reload' D-Bus method though.
Can Trusty's initctl binary be patched so that it falls back to the previous reload behavior if the Upstart version in use doesn't support the 'Reload' D-Bus method?
Would you like me to open a new bug for this issue?
Related branches
- James Hunt: Approve
-
Diff: 295 lines (+258/-3)2 files modifiedutil/initctl.c (+27/-3)
util/tests/test_initctl.c (+231/-0)
Changed in upstart: | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
status: | New → Triaged |
importance: | Undecided → High |
Changed in upstart (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Dimitri John Ledkov (xnox) |
description: | updated |
Changed in upstart: | |
status: | Triaged → Fix Committed |
description: | updated |
Changed in upstart: | |
assignee: | Dimitri John Ledkov (xnox) → nobody |
Sorry for being impatient but when can I expect the fixed package to be available?