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

Re: sunrpc



Quoting Joachim Trinkwitz (jtr@uni-bonn.de):
> >  I removed *portmap from /etc/rc2.d and I am still having sunrpc start up
> >  on boot. I want to remove sunrpc from my system, but am having
> >  trouble. Can anyone explain how sunrpc starts and how to stop it from
> >  starting?
> 
> Do you have compiled NFS into your kernel , maybe as a module? 'grep
> NFS /boot/config-<your.kernel.version>' gives you the answer. If yes,
> you have to recompile your kernel (or use modconf to disable sunrpc).

Eh? To stop sunrpc I just typed:

/etc/init.d/portmap stop
mv -i /etc/init.d/portmap /etc/init.d/portmap-hidden

Perhaps there's a typo in "/etc/rc2.d" because my portmap was started
from /etc/rcS.d/S41portmap.

But I think they may be getting caught out by portmap's having a
second chance to start. If there's an nfs in /etc/fstab, then
/etc/init.d/mountnfs.sh will start it.

Cheers,

-- 
Email:  d.wright@open.ac.uk   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.



Reply to: