Comment 8 for bug 901038

Revision history for this message
James Hunt (jamesodhunt) wrote :

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.