Package:  i3status
Version:  1.2-2
Severity: important
Tags:     patch
User:     initscripts-ng-de...@lists.alioth.debian.org
Usertags: incorrect-dependency

Hi,

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

Since the binary lives in /usr it requires $remote_fs. And since it appears to 
open sockets (therefore requiring a network interface) it also requires 
$network.

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.

P.S. please write a better description of the package and init script.

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net
diff -urpN i3status-1.2-2.orig/debian/i3status.i3status-wmii.init i3status-1.2-2/debian/i3status.i3status-wmii.init
--- i3status-1.2-2.orig/debian/i3status.i3status-wmii.init	2009-08-14 19:09:22.000000000 -0500
+++ i3status-1.2-2/debian/i3status.i3status-wmii.init	2009-08-14 19:19:06.898947844 -0500
@@ -2,8 +2,8 @@
 #
 ### BEGIN INIT INFO
 # Provides:          i3status-wmii
-# Required-Start:
-# Required-Stop:
+# Required-Start:    $remote_fs $network
+# Required-Stop:     $remote_fs $network
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Generates a status line for wmii

Reply via email to