Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stop services booting on Debian Woody

Status
Not open for further replies.

thedaver

IS-IT--Management
Jul 12, 2001
2,741
US
I've Deb Woody booting to run level 2.
I DO NOT have anything in /etc/rc2.d/ that would trigger the startup of the "portmap" and "lpd" services, yet there they are running when I reboot. I have to shut them down manually.

Where else would these scripts get called from in the system's boot scripts?

I tried "grep -i portmap /etc/*" and received nothing meaningful. This is a bit of a wild goose chase for me.

Help appreciated!
Dave.

Hosting Solutions for Home or Business.
 
The 'Debian Way' I remember would be:
[tt]
update-rc.d -f portmap remove
[/tt]
Just replace 'portmap' with any other services you want to disable (like lpd). It's hard to just uninstall portmap and lpd, as a lot of packages have them listed as dependancies. Also, make sure the services aren't listed in /etc/inetd.conf or /etc/xinetd.d/ (not sure which one Debian uses by default these days).

----
JBR
 
I went ahead and used the suggested command which wipes away the init scripts. However, I still really didn't figure out what was calling them...

More suggestions welcome. Thanks flugh!

Hosting Solutions for Home or Business.
 
did you look in the other inits that might start before (or after) rc2.d?
 
/etc/rc1.d/
Code:
/etc/rc1.d# ls
K11cron  K15fetchmail     K20clamav-daemon     K20exim   K20makedev  K20ssh  K80nfs-kernel-server  K89atd    K90sysklogd  K14ppp   K19spamassassin  K20clamav-freshclam  K20inetd  K20mysql    K23ntp  K81nfs-common         K89klogd  S20single

I could see the NFS references loading portmap, but I cannot figure into a way that lpd loads?! And I'm not entirely sure that rc1.d is even initted!?!! Your thoughts?

Hosting Solutions for Home or Business.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top