Bug#374039: #374039 shutdown -h -H: warn that then cannot poweroff perhaps

Dmitry Bogatov KAction at debian.org
Mon Apr 8 16:38:00 BST 2019


control: tags -1 +upstream

[ Please keep attribution ]

[2019-04-07 11:12] Jesse Smith <jsmith at resonatingmedia.com>
> > Halt action is to halt or drop into boot monitor on systems that
> > support it." is not enough to convey, that in many cases it brings
> > machine into state, when it is still on, display still showing
> > letters, but no interation (except physical poweroff) is possible.
>
> That is what halt means - to stop running the system without powering
> off.

Maybe, but many of us are accustomed that /sbin/halt turns off the computer,
so here comes confusion.

> > "Maybe -H is actually produces useful behaviour in some cases (no
> > idea), but please add into manpage warning like "Do not use -H option,
> > unless you really know what are you doing."
>
> Halting is often used to run through the shutdown process and leave
> output on the screen for debugging purposes. Or when you want the OS to
> stop, but leave the power on. There is no negative side-effect to using
> the -H option, no loss of data. There isn't any reason to print an extra
> warning.

Okay, what about including this explanation into manpage? I know, Unix
is about sharp tools, but before I started working on sysvinit, I
believed, that "halt == turn-off", so extra explanation, that it is
different things would be nice to user.
-- 
        Note, that I send and fetch email in batch, once every 24 hours.
                 If matter is urgent, try https://t.me/kaction
                                                                             --




More information about the Debian-init-diversity mailing list