RE: Where does lpd start at?
> -----Original Message-----
> From: Brad Stockdale [mailto:firstname.lastname@example.org]
> Sent: Wednesday, March 03, 2004 1:20 PM
> To: email@example.com
> Subject: Re: Where does lpd start at?
> Hello all,
> I'm trying to figure out where lpd is being started from on
> my system.
> I've removed the symlinks from all the rcX.d directories, and it still
> insists on starting when I boot up... Where else would it be
> starting up from?
> Thanks in advance,
It should start in your /etc/rc*d/*lpd* (so you have the right idea).
The way I would debug is first make sure that the /etc/rc*/S*lpd stuff is
all deleted or renamed to not start. Reboot and see if it runs (sonds like
you have done this already)
Next is to edit the /etc/init.d/lpd file to comment out the start of it .
Reboot. If it doesnot start, then something is callign /etc/init.d/lpd. If
it does start, then something outside of /etc/init.d/lpd .
at which case something could be hardcoded in /etc/init.d/rc or
/etc/init.d/rcS. Or it could be started out of cron. Or it could even be
started out of a bashrc/bash_proflie or something (in which case it does not
start at bootup but does start when you log in) (don't konw how it would
come to that but stranger things have happened).
The next step for me would be to grep lpd in all the files in /etc
(including all subdirs) then /var (including al subdirs), then everywhere
else. To see if there is a reference to the lpd program somewhere.
see if that gets you anywhere.