Package: gearman-job-server Version: 0.6-1 Severity: important Tags: patch User: [email protected] Usertags: incorrect-provides incorrect-dependency
With dependency based boot sequencing, I discovered what I believe is a bug in the init.d script. The provides should be unique and preferably the name of the script. The current one conflict with the script in the gearman-server package. The conflicting provides will make it impossible to install both packages on the same system. Also, the script uses files in /usr/, and should depend on $remote_fs for this. I also added the $network dependency, to indicate that this script uses the network. <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. The missing dependency will not affect boot ordering, because the $syslog dependency at the moment implies $remote_fs. diff -ru gearmand-0.9/debian/gearman-job-server.init gearmand-0.9-pere/debian/gearman-job-server.init --- gearmand-0.9/debian/gearman-job-server.init 2009-09-02 20:50:47.000000000 +0200 +++ gearmand-0.9-pere/debian/gearman-job-server.init 2009-09-02 21:14:27.000000000 +0200 @@ -8,9 +8,9 @@ # the COPYING file in this directory for full text. ### BEGIN INIT INFO -# Provides: gearmand -# Required-Start: $syslog -# Required-Stop: $syslog +# Provides: gearman-job-server +# Required-Start: $network $remote_fs $syslog +# Required-Stop: $network $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start daemon at boot time Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

