On Wed, Oct 11, 2000 at 11:40:07AM -0500, Dave Sherohman wrote:
> On Wed, Oct 11, 2000 at 04:08:08PM +0200, Magnus Sandberg wrote:
> > What happends if I remove /etc/rc2.d/S20inetd, will APT/dpkg recreate the
> > link when I do a upgrade?
>
> Not sure whether is will get replaced if you completely delete the link, but
> if you use update-rc.d to disable inetd, it will do it in such a way that apt
> will not reenable it.
Mostly true :)
man update-rc.d says
If any files /etc/rcrunlevel.d/[SK]??name already exist
then update-rc.d does nothing. This is so that the system
administrator can rearrange the links, provided that they
leave at least one link remaining, without having their
configuration overwritten.
which means you should delete all the S??name links but leave at least
one K??name link. This will prevent dpkg from enabling inetd during
an upgrade.
HTH,
--
Nathan E Norman "Eschew Obfuscation"
email:nnorman@incanus.net http://incanus.net/~nnorman
Attachment:
pgpaZfQiUtq8h.pgp
Description: PGP signature