Thinking about it, a better solution to modifying initctl would probably
be to modify telinit such that it runs fully synchronous when a restart
is requested (ie handes the D-Bus disconnection, then polls to
reconnect). The only problem there is deciding upon a reasonable
"reasonable time to wait" since we cannot reasonably change the
behaviour of telinit by adding extra options.

Yet another idea: add a new initctl command 're-exec' that essentially
does 'telinit u' but provides options to either run async or sync.

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

Title:
  packages fail to install: Failed to connect to socket
  /com/ubuntu/upstart: Connection refused

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

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

Reply via email to