Comment 20 for bug 859075

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

PhobosK, I see what you're saying. The default for /etc/default/halt is

HALT=poweroff

/etc/init.d/halt will then pass -p to halt, and the system should power off. If thats not what people are seeing, if 'halt -p' does not poweroff the system, then that would indeed be a bug in the halt command which is part of upstart.

If people can try booting a system with 'quiet' removed from the kernel command lines, and then edit /etc/init.d/halt and add

set -x

As the firs tline after #!/bin/sh,

Then shut the system down..

If it halts instead of powers off, you should be able to see the last command that is run, which will be 'halt'. If it also shows 'halt -p' then that is a bug in upstart. If not, then please check /etc/default/halt