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

Re: portmap on debian



As far I can see it's works for me...

On my potato box installed with the new flops this
looks like:

willem:/etc/rc2.d# grep -n portmap *
S18portmap:3:# start/stop portmap daemon.
S18portmap:5:test -f /sbin/portmap || exit 0
S18portmap:9:   echo -n "Starting portmap daemon:"
S18portmap:10:  echo -n " portmap"
S18portmap:11:        start-stop-daemon --start --quiet --exec /sbin/portmap
S18portmap:14:  if [ -f /var/run/portmap.upgrade-state ]; then
S18portmap:17:    pmap_set </var/run/portmap.upgrade-state
S18portmap:18:    rm -f /var/run/portmap.upgrade-state
S18portmap:24:        echo -n "Stopping portmap daemon:"
S18portmap:25:        echo -n " portmap" ; start-stop-daemon --stop --quiet
--ok
nodo --exec /sbin/portmap
S18portmap:34:  pmap_dump >/var/run/portmap.state
S18portmap:37:  if [ ! -f /var/run/portmap.upgrade-state ]; then
S18portmap:39:    pmap_set </var/run/portmap.state
S18portmap:41:  rm -f /var/run/portmap.state
S18portmap:44:  echo "Usage: /etc/init.d/portmap {start|stop|reload|restart}"
S20inetd:5:checkportmap () {
S20inetd:6:    if ! /usr/bin/rpcinfo -u localhost portmapper >/dev/null
2>/dev/n
ull; then
S20inetd:9:            echo "WARNING: portmapper inactive - RPC services
unavail
able!"
S20inetd:19:        checkportmap
S20inetd:42:    checkportmap
willem:/etc/rc2.d#


At 09:05 AM 10/29/99 -0700, aphro wrote:
>portmapper is also in /etc/init.d/netbase
>
>wpp-22:/etc/rc2.d# grep -n portmap *
>S18netbase:5:test -f /sbin/portmap || exit 0
>S18netbase:55:  echo -n " portmap" ; start-stop-daemon --start --quiet
>--exec /sbin/portmap
>S18netbase:61:  start-stop-daemon --stop --quiet --oknodo --exec
>/sbin/portmap
>S18netbase:68:  pmap_dump >/var/run/portmap.state
>S18netbase:69:  start-stop-daemon --stop --quiet --oknodo --exec
>/sbin/portmap
>S18netbase:70:  start-stop-daemon --start --quiet --exec /sbin/portmap
>S18netbase:71:  if [ -f /var/run/portmap.upgrade-state ]; then
>S18netbase:72:    pmap_set </var/run/portmap.upgrade-state
>S18netbase:73:  elif [ -f /var/run/portmap.state ]; then
>S18netbase:74:    pmap_set </var/run/portmap.state
>S18netbase:76:  rm -f /var/run/portmap.upgrade-state
>/var/run/portmap.state
>
>nate
>
>----------------------------------------[mailto:aphro@aphroland.org ]--
>   Vice President Network Operations       http://www.firetrail.com/
>  Firetrail Internet Services Limited      http://www.aphroland.org/
>       Everett, WA 425-348-7336            http://www.linuxpowered.net/
>            Powered By:                    http://comedy.aphroland.org/
>    Debian 2.1 Linux 2.0.36 SMP            http://yahoo.aphroland.org/
>-----------------------------------------[mailto:aphro@netquest.net ]--
>
>On Fri, 29 Oct 1999, Onno wrote:
>
>> Strange, why not the normal way???
>> 
>> mv /etc/rc2.d/S18portmap /etc/rc2.d/K35portmap
>> 
>> Is this wrong or something ???
>> 
>> Regards,
>> 
>> Onno
>> 
>> At 08:34 AM 10/29/99 -0700, aphro wrote:
>> >its part of netbase, easiest way to disable it i think is to just
>> >
>> >mv /sbin/portmap /sbin/portmap-DISABLED
>> >
>> >since there are still some important things in netbase it seems.  either
>> >that or firewall port 111.

>> >
>> >or both
>> >
>> >you can never be too paranoid.
>> >
>> >nate
>> >
>> >----------------------------------------[mailto:aphro@aphroland.org ]--
>> >    Vice President Network Operations       http://www.firetrail.com/
>> >   Firetrail Internet Services Limited      http://www.aphroland.org/
>> >        Everett, WA 425-348-7336            http://www.linuxpowered.net/
>> >             Powered By:                    http://comedy.aphroland.org/
>> >     Debian 2.1 Linux 2.0.36 SMP            http://yahoo.aphroland.org/
>> >-----------------------------------------[mailto:aphro@netquest.net ]--
>> >
>> >On Fri, 29 Oct 1999, rizan wrote:
>> >
>> > > hi,
>> > >
>> > > I just couldn't figure out how to stop portmap from running on my
debian
>> > > box everytime it reboots. I am very sure it is not controlled by any
TCP
>> > > wrappers and i have checked it's
>> > > runlevel directory but I couldn't find portmap....btw, it's running on
>> > > run level 2
>> > >
>> > > please help.
>> > >
>> > > thankz
>> > > rizan
>> > >
>> > >
>> > >
>> > >
>> > > --
>> > > Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org 
>> > < /dev/null
>> > >
>> >
>> >
>> >--
>> >Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < 
>> >/dev/null
>> 
>
>
>-- 
>Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org <
/dev/null
> 



Reply to: