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

Re: Disabling inetd altogether?



sbellon@sbellon.de said:
> Then I think
> 
> # update-rc.d -f inetd remove
> 
> is the neater solution.

Actually, no. While that'd work, the next package upgrade will restore
the symlinks. You want to leave the K links alone, and just disable the
S links.

This is in the update-rc.d manpage:

       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.

There have already been discussions about adding support to update-rc.d
for administratively disabling services, but so far this is the best you
can do. AFAIK.

Jason



-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: