[Bug 532366] Re: util: halt should not power off system unless called with -p/--poweroff
Daniel Richard G.
skunk at iskunk.org
Mon Oct 24 23:00:44 UTC 2011
I've confirmed that this is good in Oneiric. Thank you, Scott and Steve.
I would suggest updating the comment in /etc/default/halt, currently
# Default behaviour of shutdown -h / halt. Set to "halt" or
"poweroff".
so that it doesn't imply to affect the behavior of halt(8). ("shutdown
-h" is the one that can go either way.)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/532366
Title:
util: halt should not power off system unless called with
-p/--poweroff
Status in Upstart:
Fix Released
Status in “upstart” package in Ubuntu:
Fix Released
Bug description:
Binary package hint: upstart
This concerns upstart 0.6.3-11 in Karmic.
I see that halt(8), by default, powers off the system. (I don't agree
with this, but it's been like this for four years, so whatever.)
halt(8) has an option -p/--poweroff to request a poweroff (but this
option is superfluous, because that's the default). There is no
option, however, to have halt(8) do a system halt. The only way to get
a proper halt is "shutdown -h -H ...", the need for which negates the
utility of the halt/poweroff/reboot trio of commands.
I would like to request this new option to halt(8) (e.g. -h/--halt),
and maybe drop the -p/--poweroff option lest it mislead the user as to
the command's default behavior.
To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/532366/+subscriptions
More information about the foundations-bugs
mailing list