Package: whereami Version: 0.3.28 Severity: important Tags: patch User: initscripts-ng-de...@lists.alioth.debian.org Usertags: incorrect-dependency incorrect-provides
With dependency based boot sequencing, I discovered what I believe is a bug in the init.d script. The provides used should be uniqe, and the $network provide do not make sense and should be removed. The script completely lack other dependencies, which make it start to early in the boot sequence. The script need files in /usr/, and should depend on $remote_fs, and the system uses syslog and should depend on $syslog. I am not quite sure if there are other init.d scripts it should run after. It used to run quite late in the boot sequence, but I failed to find any information in the changelog explaining what it was trying to start after. If there are other services it should start after, please list them as dependencies. <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 script will start too early in the boot sequence. diff -ur whereami-0.3.34/debian/whereami.init whereami-0.3.34-pere/debian/whereami.init --- whereami-0.3.34/debian/whereami.init 2007-05-09 05:58:00.000000000 +0200 +++ whereami-0.3.34-pere/debian/whereami.init 2009-08-19 18:40:28.000000000 +0200 @@ -3,11 +3,9 @@ # Start or stop 'whereami' # ### BEGIN INIT INFO -# Provides: whereami $network -# Required-Start: -# Required-Stop: -# Should-Start: -# Should-Stop: +# Provides: whereami +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Autoconfigure computer according to defined rules 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