Package:  libchipcard-tools
Version:  4.2.7-3
Severity: important
Tags:     patch
User:     initscripts-ng-de...@lists.alioth.debian.org
Usertags: incorrect-dependency
User:     debian...@lists.debian.org
Usertags: piuparts

With dependency based boot sequencing, I discovered what I believe is
a bug in the init.d scripts of this package.  The libchipcard-tools
script have a hard dependency on hal, but the package only recommend
hal.  Because of this, the init.d dependency should be a soft
dependency.

I discovered these things from piuparts, which failed to install the
package.  See
<URL: http://piuparts.debian.org/sid/fail/libchipcard-tools_4.2.8-1.log >.
Here are the relevant parts:

  insserv: Service hal has to be enabled to start service chipcardd
  insserv: exiting now!

I'm setting severity to important, as the needed package is a
recommend and thus will be installed in the common case.

This patch should solve it.

diff -ur ../libchipcard-4.2.8/debian/libchipcard-tools.init 
../libchipcard-4.2.8-pere/debian/libchipcard-tools.init
--- ../libchipcard-4.2.8/debian/libchipcard-tools.init  2009-09-27 
12:31:51.000000000 +0200
+++ ../libchipcard-4.2.8-pere/debian/libchipcard-tools.init     2009-09-27 
13:15:56.000000000 +0200
@@ -1,8 +1,10 @@
 #! /bin/sh
 ### BEGIN INIT INFO
 # Provides:          chipcardd
-# Required-Start:    $syslog $remote_fs $local_fs $network hal
-# Required-Stop:     $syslog $remote_fs $local_fs $named hal
+# Required-Start:    $syslog $remote_fs $local_fs $network
+# Required-Stop:     $syslog $remote_fs $local_fs $named
+# Should-Start:      hal
+# Should-Stop:       hal
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: daemon for smartcard access

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to