Package:  sinfo
Version:  0.0.33-2
Severity: important
Tags:     patch
User:     [email protected]
Usertags: incorrect-dependency

With dependency based boot sequencing, I discovered what I believe is
a bug in the init.d scripts of this package.  The init.d script have a
optional dependency on the non-existing provides ssh.  The ssh script
provide the sshd service, and this is the string one need to list in
the init.d script header.

This patch solve the issue.  Without it, the script will not start
after ssh is started.  Setting severity to important, as I assume the
package will still work if started before ssh.  If not, the severity
should be seriuos.

diff -ur ../sinfo-0.0.33/debian/sinfo.init 
../sinfo-0.0.33-pere/debian/sinfo.init
--- ../sinfo-0.0.33/debian/sinfo.init   2009-09-28 16:13:33.000000000 +0200
+++ ../sinfo-0.0.33-pere/debian/sinfo.init      2009-09-28 16:13:57.000000000 
+0200
@@ -4,8 +4,8 @@
 # Provides:          sinfo
 # Required-Start:    $network $local_fs $remote_fs
 # Required-Stop:     $network $local_fs $remote_fs
-# Should-Start:      $named ssh
-# Should-Stop:       $named ssh
+# Should-Start:      $named sshd
+# Should-Stop:       $named sshd
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: start sinfod

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to