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

Re: how to keep portmap from running?




Peter Jay Salzman wrote:
> 
> well, the thing is that /etc/init.d/portmap doesn't get run.  symlinks to it
> from within the rc.\.d directories do.

They're just symlinks to the files in /etc/init.d. The files in
/etc/init.d *are* the ones actually being run.

> i guess i could just blow away the
> portmap script, and that might do it once and for all.  but it's wierd how
> the thing gets run but isn't mentioned in the rc directories.
>
> there was no symlink to /etc/init.d/portmap from /etc/rc2.d, and no mention
> of portmap or rpc in /etc/inetd.conf
> 
> a mystery...

If you haven't done anything strange to your startup files, there should
be a link somewhere. Keep looking.

If you want to assure yourself that the portmap script is being run, put
some echo statements at the beginning of the script (after the #!/bin/sh
line) and see if they come up when you boot. Otherwise just put 'exit 0'
there, as someone already said. You could also put 'echo $0' there, to
print out how portmap is being called. That should tell you where the
symlink is.

> portmap is a wierd thing for debian to force on people.  i notice it's in
> the netbase package, which i'm not going to uninstall any time soon...

Apparently portmap has been moved into its own package in Woody.


Matthew



Reply to: