Koozali.org: home of the SME Server

services

scott

services
« on: October 16, 2000, 09:40:23 PM »
Hello all,
I was wondering how one removes undesired services from the e-smith setup. For instance I'm not in need of lpd, smb, nmb, appletalk and others. Where do I remove these safley from starting automatically? I realize they reside normally in /etc/rc.d/init.d or in the rc.d runlevels. Can I just remove them from there?

Charlie Brady

RE: services
« Reply #1 on: October 16, 2000, 09:51:49 PM »
scott wrote:

> Hello all, I was wondering how one removes undesired services
> from the e-smith setup. For instance I'm not in need of lpd,
> smb, nmb, appletalk and others. Where do I remove these safley
> from starting automatically? I realize they reside normally in
> /etc/rc.d/init.d or in the rc.d runlevels. Can I just remove
> them from there?

The best way to do this currently is to remove the actual server software for each of those services. The e-smith manager will still configure the services, but they won't start or run. Log in as root (see FAQ) and run:

rpm -e samba
rpm -e LPRng
rpm -e netatalk

Some future version of the e-smith software will allow you to enable or disable each service.

regards

Charlie

scottt

RE: services
« Reply #2 on: October 16, 2000, 09:56:26 PM »
Excellent, I look forward to seeing these revisions to a great product.

Thank you Charlie for your assistance.

Scott

scottt

RE: services
« Reply #3 on: October 16, 2000, 10:17:23 PM »
Hello Charlie,

When I tried the rpm statement above I got:

[root@scullyserv scottt]# rpm -e LPRng
error: removing these packages would break dependencies:
        LPRng is needed by e-smith-LPRng-0.1-6

Is it safe or necessary to remove this package as well?

Regards,
Scott

Charlie Brady

RE: services
« Reply #4 on: October 16, 2000, 10:22:15 PM »
scottt wrote:

> Hello Charlie,
>
> When I tried the rpm statement above I got:
>
> [root@scullyserv scottt]# rpm -e LPRng error: removing these
> packages would break dependencies: LPRng is needed by
> e-smith-LPRng-0.1-6
>
> Is it safe or necessary to remove this package as well?

It is not necessary to remove that package (you could just add "--nodeps" to the rpm command line), but it is safe to remove that package.

Charlie