Your message dated Thu, 7 Mar 2019 23:34:04 +0000 (UTC)
with message-id <[email protected]>
and subject line Re: Bug#586709: Incorrect behavior when HALT=halt is set in 
/etc/default/halt
has caused the Debian Bug report #586709,
regarding Incorrect behavior when HALT=halt is set in /etc/default/halt
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
586709: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586709
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sysvinit
Version: 2.88dsf-9

(Note: This bug may also be applicable to the "initscripts" package,
which owns the /etc/default/halt config file.)

Normally, when /etc/default/halt specifies HALT=poweroff, invoking
"halt" or "poweroff" results in the system powering off. I want the more
traditional behavior, however, where "halt" halts the system (but does
not power it off), and "poweroff" works as usual. So I set HALT=halt.

With that set, however, I observe the following:

    "halt"..............: Halts the system (correct)
    "halt -p"...........: Halts the system (WRONG)
    "poweroff"..........: Halts the system (WRONG)
    "shutdown -h -P now": Powers off the system (correct)

It's not impossible to power off the system, but the normal/convenient
means of doing so don't actually work.



--- End Message ---
--- Begin Message ---
fixed 586709 2.94-1
thanks

This was fixed in sysvinit 2.94:

>     [ Jesse Smith ]
>
>         * When the halt command is called with the -p flag (or as poweroff)
>             the command now passes the "-h -P" flags to shutdown. This
>             in turn sets the INIT_HALT environment variable to POWEROFF.
>             Assuming this value is checked by initscripts during the
>             shutting down procedure, it should cause the system to
>             be powered off.
>             If halt is called without -p then the value of INIT_HALT
>             is not set and the default action (often set in /etc/defaut/halt)
>             is taken.

Thanks Jesse and everyone!

-- 
Pierre Ynard

--- End Message ---

Reply via email to