Package:  fossology
Version:  1.0.0-1
Severity: important
Tags:     patch
User:     initscripts-ng-de...@lists.alioth.debian.org
Usertags: incorrect-provides

With dependency based boot sequencing, I discovered what I believe is
a slight bug in the init.d script.  The provides header is '$PROJECT',
which is obviously not correct and can lead to incorrect ordering of
the script.

<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.  Without it, the init.d might start
to early in the boot sequence.

--- ./scheduler/defconf/init.d/fossology.in-old     2009-07-09 
04:54:38.000000000 +0200
+++ ./scheduler/defconf/init.d/fossology.in 2009-08-16 19:47:38.000000000 +0200
@@ -7,7 +7,7 @@
 #      Modified for Debian by Ian Murdock <imurd...@gnu.ai.mit.edu>.
 #
 ### BEGIN INIT INFO
-# Provides:          ${PROJECT}
+# Provides:          fossology
 # Required-Start:    $network $local_fs $remote_fs $syslog $named
 # Required-Stop:     $network $local_fs $remote_fs $syslog $named
 # Default-Start:     2 3 4 5

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