Comment 21 for bug 859075

Revision history for this message
Stevan Kew Ell (slql) wrote :

@Clint Byrum (clint-fewbar) Message 20

I have done as you ask, and I can get consistent failures and successes which may help. I am running Xubuntu and carried out all these tests using the shutdown button on the desktop. /etc/default/halt is set to poweroff.

When shutdown powers off the machine, I can confirm that it passes the following settings to halt:-

halt -d -f -i -p -h

I tried this on five occasions and operation is consistent, as long as you boot, and then immediately shut down. However, if you leave the machine for a few minutes, then the shut down process does not get very far at all. It hangs on:-

Killing all running processes.....

which is quite early in the shutdown process, and therefore the issue is not with the halt command but with the shutdown process itself. That's an assumption on my art as I don't really understand the way upstart handles this.

I assume that shutting down immediately means upstart is still running, while leaving it a few minutes means upstart finishes its processes.

I tried this on half a dozen occasions, leaving the machine for 3 minutes and get consistent results.

I hope this helps.

S