Package:  doodle
Version:  0.6.7-4
Severity: important
Tags:     patch
User:     [email protected]
Usertags: incorrect-dependency

Hi,

While examining some init scripts I found doodle's to be missing some 
dependencies.

Since the binary lives in /usr it requires $remote_fs (not just a should-).

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

This patch should solve the issue.  Without it, the init.d will start
too early in the boot sequence on some systems.

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net
diff -urpN doodle-0.6.7-4.orig/debian/doodled.init doodle-0.6.7-4/debian/doodled.init
--- doodle-0.6.7-4.orig/debian/doodled.init	2009-08-14 12:41:56.000000000 -0500
+++ doodle-0.6.7-4/debian/doodled.init	2009-08-14 12:44:42.038969908 -0500
@@ -2,10 +2,10 @@
 
 ### BEGIN INIT INFO
 # Provides:		doodled
-# Required-Start:
-# Required-Stop:
-# Should-Start:		$local_fs
-# Should-Stop:		$local_fs
+# Required-Start:	$remote_fs
+# Required-Stop:	$remote_fs
+# Should-Start:
+# Should-Stop:
 # Default-Start:	2 3 4 5
 # Default-Stop:		0 1 6
 # Short-Description:	starts doodled

Reply via email to