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

Re: what is portmap?

will trillich <will@serensoft.com> wrote:
>On Thu, May 17, 2001 at 01:32:28PM -0400, Noah L. Meyerhans wrote:
>> If you're not using NFS or NIS then you can safely remove it.  Those are
>> the 2 main services that need it.
>> Don't use update-rc.d remove, though.  If you ever upgrade your system
>> it will restore all the symlinks to the default configuration.  Instead
>> just remove the 'S' symlinks (the ones that start portmap) by hand.
>> Leave the 'K' symlinks.  If you leave some symlinks in place then
>> your configuration won't be overwritten when you upgrade.
>well! this brings up an interesting point --
>is there a DEBIAN-happy way to permanently remove an
>/etc/init.d/* service? this wholesale 'rm' stuff sounds hacky
>for such a streamlined apt-friendly distribution. what's the
>debian way of purging-inits-for-posterity?

As far as I remember, if you remove a conffile (e.g. /etc/init.d/*),
dpkg won't restore it on an upgrade; you need to purge and reinstall the
package to get it to do that.

(In other words, a file being missing is sometimes a valid configuration
state for that file.)

Colin Watson                                     [cjw44@flatline.org.uk]

Reply to: