Package: python-poker-network Version: 1.7.3-1 Severity: serious Tags: patch User: initscripts-ng-de...@lists.alioth.debian.org Usertags: incorrect-dependency
With dependency based boot sequencing, I discovered what I believe is a bug in the init.d script. The script depend on mysqld, a provide that no other script provide. I suspect it want the mysql facility provided by the mysql script. The dependency is hard, while the package only suggest the mysql-server package. Because of this, I believe that dependency should be a soft dependency (should-*). Next, the script depend on files in /usr/, and should depend on $remote_fs, not $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 fix the issues. The hard mysqld dependency is changed to a soft mysql. Setting severity serious as the package will fail to install because the mysqld provides do not exist. diff -ur ../poker-network-1.7.5/debian/python-poker-network.init ../poker-network-1.7.5-pere/debian/python-poker-network.init --- ../poker-network-1.7.5/debian/python-poker-network.init 2009-09-16 16:25:45.000000000 +0200 +++ ../poker-network-1.7.5-pere/debian/python-poker-network.init 2009-09-16 16:26:50.000000000 +0200 @@ -25,10 +25,10 @@ # ### BEGIN INIT INFO # Provides: poker-network -# Required-Start: $local_fs $network mysqld -# Required-Stop: $local_fs $network mysqld -# Should-Start: $local_fs -# Should-Stop: $local_fs +# Required-Start: $remote_fs $network +# Required-Stop: $remote_fs $network +# Should-Start: mysql +# Should-Stop: mysql # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: poker-network server and bots Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org