Package:  maatkit
Version:  5899
Severity: grave
Tags:     patch
User:     initscripts-ng-de...@lists.alioth.debian.org
Usertags: incorrect-dependencies

I discovered this using a archive wide consistency check of the init.d
script dependency information.  The updated result is available from
<URL: http://lintian.debian.org/~pere/ >.

For maatkit, this is the relevant message:

  error: script maatkit/init.d/mk-slave-delay depend on non-existing
    provides: $mysql

The init.d script in the maatkit package have a hard dependency on the
nonexisting virtual facility $mysql.  I assume this was intended to be
a dependency on the non-virtual facility mysql instead.  Also, the
package do not depend on mysql, and I suspect this is because the
package can access mysql via the network.  If this is the case, the
hard init.d script dependency should be changed to a soft dependency.

This patch uses the correct facility name and convert it to a soft
dependency.

--- maatkit-5899/debian/maatkit.mk-slave-delay.init.d   2010-03-05 
10:20:28.000000000 +0100
+++ maatkit-5899-pere/debian/maatkit.mk-slave-delay.init.d      2010-03-19 
00:16:01.000000000 +0100
@@ -1,8 +1,10 @@
 #! /bin/sh
 ### BEGIN INIT INFO
 # Provides:          mk-slave-delay
-# Required-Start:    $remote_fs $mysql
-# Required-Stop:     $remote_fs $mysql
+# Required-Start:    $remote_fs
+# Required-Stop:     $remote_fs
+# Should-Start:      mysql
+# Should-Stop:       mysql
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: MySQL slave delay

Happy hacking,
-- 
Petter Reinholdtsen



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

Reply via email to