Package: gearman-server Version: 1.09-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-job-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, instead of $local_fs. <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 -ur gearman-server-1.09/debian/gearman-server.init gearman-server-1.09-pere/debian/gearman-server.init --- gearman-server-1.09/debian/gearman-server.init 2009-09-02 20:58:40.000000000 +0200 +++ gearman-server-1.09-pere/debian/gearman-server.init 2009-09-02 20:59:58.000000000 +0200 @@ -10,9 +10,9 @@ # Version: @(#)skeleton 1.9 26-Feb-2001 [email protected] # ### BEGIN INIT INFO -# Provides: gearmand -# Required-Start: $syslog $network $local_fs -# Required-Stop: $syslog $network $local_fs +# Provides: gearman-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: Gearman distributed work system Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

