Your message dated Sun, 28 Oct 2018 16:22:22 -0300
with message-id <[email protected]>
and subject line Fixed upstream
has caused the Debian Bug report #717531,
regarding /sbin/shutdown: shutdown -P sets INIT_HALT to POWERDOWN instead of 
POWEROFF
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.)


-- 
717531: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717531
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sysvinit
Version: 2.88dsf-43
Severity: normal
File: /sbin/shutdown

Hi,

According to the shutdown(8), calling shutdown with the -P argument
should set the INIT_HALT variable to POWEROFF.

For some reasons, this is not the case and INIT_HALT is set to POWEROFF.


HALT OR POWEROFF
       The  -H option just sets the init environment variable INIT_HALT to 
HALT, and the -P option just sets that variable to POWEROFF. The shutdown 
script that calls halt(8) as the last thing in the shut‐
       down sequence should check these environment variables and call halt(8) 
with the right options for these options to actually have any effect.  Debian 
3.1 (sarge) supports this.

Cheers

Laurent Bigonville

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sysvinit depends on:
ii  debianutils     4.3.4
ii  initscripts     2.88dsf-43
ii  libc6           2.17-7
ii  libselinux1     2.1.13-2
ii  libsepol1       2.1.9-2
ii  sysv-rc         2.88dsf-43
ii  sysvinit-utils  2.88dsf-43

sysvinit recommends no packages.

sysvinit suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
This issue has been corrected upstream and INIT_HALT is now set to
"POWEROFF" as described in the manual page. The fix will appear in
sysvinit-2.92.

- Jesse (upstream dev)

--- End Message ---

Reply via email to