[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#450632: openssh-server: inittab advice should inhibit recreation of start links



On Thu, Nov 08, 2007 at 12:31:14PM -0500, Justin Pryzby wrote:
> Package: openssh-server
> Version: 1:4.6p1-5
> Severity: minor
> Tags: patch
> File: /usr/share/doc/openssh-server/README.Debian.gz
> 
> --- /usr/share/doc/openssh-server/README.Debian.gz
> +++ -	2007-11-08 12:29:37.620001211 -0500
> @@ -249,9 +249,10 @@
>  
>    ss:2345:respawn:/usr/sbin/sshd -D
>  
> -If you do this, note that you will need to stop sshd being started in the
> -normal way ('rm -f /etc/rc[2345].d/S20ssh') and that you will need to
> -restart this sshd manually on upgrades.
> +If you do this, note that you will need to restart this sshd manually on
> +upgrades and that you will need to stop sshd being started in the normal
> +way:
> +	update-rc.d -f ssh remove ; update-rc.d ssh stop 16 1 2 3 4 5 .

This doesn't seem to be necessary. If you remove just some of the links,
update-rc.d won't recreate them. (Removing the links in runlevels 2-5
still leaves a link in runlevel 1.)

You're right that the number is out of date, though; I've fixed that in
CVS.

Thanks,

-- 
Colin Watson                                       [cjwatson@debian.org]




Reply to: