Package: openssh-server Version: 1:4.7p1-9 Severity: important Tags: patch User: [EMAIL PROTECTED] Usertags: incorrect-dependency
Hi, On insserv enabled system, a conflict between LSB Default-Stop data and options passed to update-rc.d in openssh-server postinst was exposed when attempting to reconfigure package. --- # dpkg-reconfigure openssh-server Creating SSH2 RSA key; this may take some time ... Creating SSH2 DSA key; this may take some time ... insserv: Warning, current stop runlevel(s) of script `ssh' (1 ) overwrites defaults (0 1 6 ). Restarting OpenBSD Secure Shell server: sshd. openssh-server.postinst --- update-rc.d ssh start 16 2 3 4 5 . stop 84 1 . >/dev/null /etc/init.d/ssh --- # Default-Stop: 0 1 6 Either the options given to stop part of update-rc.d in openssh-server.postinst are wrong, or the LSB header's Default-Stop field is wrong. My guess is that the LSB header is incorrect. Attached a patch. Please add this to the adjustments mentioned on #481018. Thanks, Kel. --- diff -Nrup openssh-4.7p1/debian/openssh-server.init openssh-4.7p1.insserv/debian/openssh-server.init --- openssh-4.7p1/debian/openssh-server.init 2008-05-14 15:54:10.000000000 +1000 +++ openssh-4.7p1.insserv/debian/openssh-server.init 2008-05-14 15:47:10.000000000 +1000 @@ -5,7 +5,7 @@ # Required-Start: $network $local_fs $remote_fs # Required-Stop: # Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 +# Default-Stop: 1 # Short-Description: OpenBSD Secure Shell server ### END INIT INFO --- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]