[Pkg-sysvinit-devel] Bug#644572: sysvinit: Spins disk up briefly from standby during poweroff

Touko Korpela touko.korpela at iki.fi
Fri Oct 7 00:07:59 UTC 2011


Package: sysvinit
Version: 2.88dsf-13.1
Severity: normal

I have system that mainly runs from SSD. Hard disk partitions are mounted
only when needed and disks are put to standby automatically after idle time.
However even when no HDD filesystems are mounted (and disk is spun down), during
shutdown sequence (when power button is pressed) the disk spins up briefly,
only to spin down instantly. It causes unneeded wear to disk mechanics.
I suspect that "-h" option that "halt" gets during poweroff is buggy and
shouldn't spin disks up that are already at sleep.
I'm not 100% sure that this bug belongs to halt, some more debugging (by me
if I find extra time) or somebody else is needed.

-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (900, 'stable'), (700, 'testing'), (600, 'unstable'), (500, 'stable-updates')
Architecture: i386 (x86_64)

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

Versions of packages sysvinit depends on:
ii  initscripts                 2.88dsf-13.1 scripts for initializing and shutt
ii  libc6                       2.11.2-10    Embedded GNU C Library: Shared lib
ii  libselinux1                 2.0.96-1     SELinux runtime shared libraries
ii  libsepol1                   2.0.41-1     SELinux library for manipulating b
ii  sysv-rc                     2.88dsf-13.1 System-V-like runlevel change mech
ii  sysvinit-utils              2.88dsf-13.1 System-V-like utilities

sysvinit recommends no packages.

sysvinit suggests no packages.

-- no debconf information





More information about the Pkg-sysvinit-devel mailing list