Package: hdparm
Version: 8.6-1
Severity: normal
Tags: patch

Hi,

while testing insserv, I found that hdparm uses a slighly incorrect LSB
init header.
It currently uses 
update-rc.d hdparm start 07 S .
in postinst. A simple reason is, that the stop action is a simple no-op.

So the LSB header should be updated and "0 6" removed from Default-Stop.

Please find a patch attached.

Cheers,
Michael



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (300, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24.4
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hdparm depends on:
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  lsb-base                      3.2-8      Linux Standard Base 3.2 init scrip

hdparm recommends no packages.

-- no debconf information
--- debian/hdparm.init.orig     2008-04-14 16:40:20.000000000 +0200
+++ debian/hdparm.init  2008-04-14 16:39:52.000000000 +0200
@@ -6,7 +6,7 @@
 # Required-Stop:
 # Should-Start:      udev
 # Default-Start:     S
-# Default-Stop:      0 6
+# Default-Stop:
 # Short-Description: Tune IDE hard disks
 ### END INIT INFO
 

Reply via email to