[Pkg-sysvinit-devel] Bug#622254: shutdown: should log warning message to syslog

Martin von Wittich martin.von.wittich at iserv.eu
Mon Apr 11 11:02:10 UTC 2011


Package: sysvinit
Version: 2.86.ds1-61
Severity: wishlist

shutdown(8) can display a warning message via wall(1) before the computer is
shut down. acpid(8) uses this to display the warning message "Power button
pressed" (configured in /etc/acpi/powerbtn.sh), but this information is never
logged and thus lost. I could hack a logger(1) call into my powerbtn.sh to
circumvent this, but I think it would be nicer if shutdown(8) would generally
log the warning message to syslog before it shuts the computer down.

-- System Information:
Debian Release: 5.0.8
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sysvinit depends on:
ii  initscripts                 2.86.ds1-61  Scripts for initializing and shutt
ii  libc6                       2.7-18lenny7 GNU C Library: Shared libraries
ii  libselinux1                 2.0.65-5     SELinux shared libraries
ii  libsepol1                   2.0.30-2     Security Enhanced Linux policy lib
ii  sysv-rc                     2.86.ds1-61  System-V-like runlevel change mech
ii  sysvinit-utils              2.86.ds1-61  System-V-like utilities

sysvinit recommends no packages.

sysvinit suggests no packages.

-- no debconf information





More information about the Pkg-sysvinit-devel mailing list