[Bug 1303891] Re: new initctl should fallback to old reload signal semantics, if pid1 doesn't export reload dbus method
Dimitri John Ledkov
launchpad at surgut.co.uk
Mon Apr 14 17:16:45 UTC 2014
misch-9:
"initct: Not running" is a different error messages, it means dbus is not running / there is no main daemon process.
I've run 12.04 live cd, installed upstart from trusty and verified this
bug report like so:
$ sudo -i
# initctl version
init (upstart 1.5)
// pid1 is precise upstart
# inictl --version
initctl (upstart 1.12.1)
// initctl is from trusty
# initctl status dbus
dbus start/running, process 1221
// dbus _is_ running
# initctl reload dbus
# echo $?
0
// reload is successful
--
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/1303891
Title:
new initctl should fallback to old reload signal semantics, if pid1
doesn't export reload dbus method
Status in Upstart:
Fix Committed
Status in “upstart” package in Ubuntu:
Fix Released
Status in “upstart” source package in Trusty:
Fix Released
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://bugs.launchpad.net/upstart/+bug/893021/comments/2
I'm currently testing Precise to Trusty upgrades and encountered - while troubleshooting bug http://pad.lv/1301962 - this issue:
# initctl reload dbus
initctl: Method "Reload" with signature "" on interface "com.ubuntu.Upstart0_6.Instance" doesn't exist
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?
To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1303891/+subscriptions
More information about the foundations-bugs
mailing list