I compared upstart's halt/poweroff implementation to sysvinit's, and
there are a few differences which might be relevant. After #define
translation, the halt/poweroff bit in sysvinit does:

  reboot(RB_ENABLE_CAD);
  kill(1, SIGTSTP);
  if (do_poweroff)
    reboot(RB_POWER_OFF);
  reboot(RB_HALT);

The fallthrough appears to be deliberate; RB_ENABLE_CAD seems at least
useful; and is it possible that the kernel's getting stuck before
poweroff because init hasn't been SIGTSTPed?

-- 
upstart fails to power off my system
https://launchpad.net/bugs/59134

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

Reply via email to