On Fri, 2010-03-05 at 17:52 +0000, Daniel Richard G. wrote:
> Oh... okay. I thought, from looking at Bug #59720 (esp. comment #2) that
> it had been long ago decided that "halt" should act like "poweroff".
>
It was a last-minute fix for edgy, which had a fairly hacky interaction
between reboot/halt/poweroff and shutdown - and didn't properly deal
with the default for "-h"
I'd always intended to revert that once the interaction was fixed, but
forgot.
Since shutdown now correctly passes INIT_HALT=HALT or INIT_HALT=POWEROFF
when called with "-H" and "-P" (and neither - allowing the default to
take precedence when just "-h") - there's no reason for the hack.
halt should halt (shutdown -h -H now),
poweroff should poweroff (shutdown -h -P now),
shutdown -h now should do whatever is configured as the default.
> Not to mention the observation that selecting "Shutdown" in the GNOME
> desktop's corner menu would initiate a halt rather than a poweroff,
> according to the message wall'ed to all terminals. (I guess I should
> file a bug against gnome-power-manager for that?)
>
Right, if that's using the halt/poweroff wrappers for shutdown, that's a
bug!
Scott
--
Have you ever, ever felt like this?
Had strange things happen? Are you going round the twist?
On Fri, 2010-03-05 at 17:52 +0000, Daniel Richard G. wrote:
> Oh... okay. I thought, from looking at Bug #59720 (esp. comment #2) that halt/poweroff and shutdown - and didn't properly deal
> it had been long ago decided that "halt" should act like "poweroff".
>
It was a last-minute fix for edgy, which had a fairly hacky interaction
between reboot/
with the default for "-h"
I'd always intended to revert that once the interaction was fixed, but
forgot.
Since shutdown now correctly passes INIT_HALT=HALT or INIT_HALT=POWEROFF
when called with "-H" and "-P" (and neither - allowing the default to
take precedence when just "-h") - there's no reason for the hack.
halt should halt (shutdown -h -H now),
poweroff should poweroff (shutdown -h -P now),
shutdown -h now should do whatever is configured as the default.
> Not to mention the observation that selecting "Shutdown" in the GNOME
> desktop's corner menu would initiate a halt rather than a poweroff,
> according to the message wall'ed to all terminals. (I guess I should
> file a bug against gnome-power-manager for that?)
>
Right, if that's using the halt/poweroff wrappers for shutdown, that's a
bug!
Scott
--
Have you ever, ever felt like this?
Had strange things happen? Are you going round the twist?