[CentOS] Processes to disable

Tue Apr 14 01:15:16 UTC 2009
Bogdan Nicolescu <bo2k2 at yahoo.com>





----- Original Message ----
> From: Filipe Brandenburger <filbranden at gmail.com>
> To: CentOS mailing list <centos at centos.org>
> Sent: Monday, April 13, 2009 6:29:43 PM
> Subject: Re: [CentOS] Processes to disable
> 
> On Mon, Apr 13, 2009 at 12:03, Bogdan Nicolescu wrote:
> >> > To see the names of all the services installed on your system:
> >> > ls /etc/rc.d/init.d
> >>
> >> Using 'chkconfig --list' makes more sense than listing the init.d directory.
> >
> > chkconfig --list doesn't necessarily list all the services in /etc/rc.d/init.d
> 
> It does list all that were properly registered. If a service is not
> listed by chkconfig --list, it means it was not registered with
> chkconfig --add, and it probably means that there was a problem while
> installing the package. AFAIK, if it does not show in chkconfig --list
> you will not be able to activate it with 'chkconfig on'
> either.
> 
> Filipe

Not properly registered with chkconfig doesn't necessarily mean that a service is not installed.

service --status-all 
is probably a better choice in finding the status of all the scripts in init.d, and not just those registered withc chkconfig.

bn