Package:  tenshi
Version:  0.4-1.1
Severity: normal
Tags:     patch
User:     [email protected]
Usertags: incorrect-dependency

With dependency based boot sequencing, I discovered what I believe is
a bug in the init.d scripts.  The script depend on a non-existing
virtual facility $mail.  I suspect the dependency is redundant, as the
script did not use to start before the MTAs with the legacy boot
ordering.  Because of this, I recommend to drop it.  If it is needed,
perhaps the new $mail-transport-agent virtual facility documented on
<URL:http://wiki.debian.org/LSBInitScripts/DebianVirtualFacilities>
make sense?  It is not yet implemented by any packages, but will
eventually be defined by all packages providing the virtual package
mail-transport-agent.

<URL: 
http://refspecs.freestandards.org/LSB_2.1.0/LSB-generic/LSB-generic/initscrcomconv.html
 >
documents the LSB header format.  Some debian notes are available from
<URL: http://wiki.debian.org/LSBInitScripts >.

This patch should solve the issue.

diff -ur ../tenshi-0.4/debian/init.d ../tenshi-0.4-pere/debian/init.d
--- ../tenshi-0.4/debian/init.d 2009-09-20 21:02:04.000000000 +0200
+++ ../tenshi-0.4-pere/debian/init.d    2009-09-20 21:04:40.000000000 +0200
@@ -4,8 +4,8 @@
 #
 ### BEGIN INIT INFO
 # Provides:          tenshi
-# Required-Start:    $local_fs $remote_fs $syslog $named $network $mail
-# Required-Stop:     $local_fs $remote_fs $syslog $named $network $mail
+# Required-Start:    $local_fs $remote_fs $syslog $named $network
+# Required-Stop:     $local_fs $remote_fs $syslog $named $network
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: tenshi log monitoring and reporting tool

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to