Debian Questions

John Heim jheim at
Fri Aug 8 13:50:29 EDT 2008

Right, that says if you delete all the links it will replace them. So it 
probably doesn't replace them if you just delete one. I'm pretty sure that's 
the behaviour I have observed. Now that you've clude me in, I wwouldn't 
count on it always working that way. So my suggestion to remove the links 
was wrong.

----- Original Message ----- 
From: "Gregory Nowak" <greg at>
To: "Speakup is a screen review system for Linux." <speakup at>
Sent: Thursday, August 07, 2008 8:59 PM
Subject: Re: Debian Questions

> Hash: SHA1
> - From the update-rc.d(8) man page:
> "A  common  system  administration error is to delete the links with
> the thought that this will "disable" the service,
>       i.e., that this will prevent the service from being started.
>       However, if all links have been deleted then  the  next
>       time  the package is upgraded, the package's postinst script
>       will run update-rc.d again and this will reinstall links
>       at their factory default locations.  The correct way to disable
>       services is to configure the service  as  stopped  in
>       all  runlevels in which it is started by default.  In the
>       System V init system this means renaming the service's sym-
>       bolic links from S to K."
> I can confirm that replacing some S links in /etc/rc2.d with K links,
> and then having those packages upgraded leaves the links as they
> are. Whether or not a deleted link would have been put back or not
> upon upgrade, I don't know, I suppose that would depend on whether or
> not a package uses update-rc.d to manage links after it gets
> installed/upgraded. However, I do think that if such a paragraph in a
> man page would have been wrong, it probably would have been noticed
> and corrected fairly quickly.
> Greg
> On Thu, Aug 07, 2008 at 08:29:12PM -0500, John G. Heim wrote:
>> Huh... Are you sure it replaces the link on upgrade? Because I have
>> removed that link on plenty of systems and I think I've run 'apt-get
>> dist-upgrade' about a bzillion times but I don't think it ever replaced
>> the link. But obviously, by the number of "I thinks" in this message, I'm
>> not sure.
>> It seems to me that that would kind of be a bug. It would be akin to over
>> writing a config file you modified.
> - -- 
> web site:
> gpg public key:
> skype: gregn1
> (authorization required, add me to your contacts list first)
> - --
> Free domains: or mail dns-manager at
> Version: GnuPG v1.4.9 (GNU/Linux)
> 5q4AoIA8AdSnqvXLvbHn0kWnwWdJT7yo
> =Jf1+
> _______________________________________________
> Speakup mailing list
> Speakup at

More information about the Speakup mailing list