[Freeipa-devel] [PATCH] Add service before enabling it in ipa-server-install

Pieter D.J. Krul pkrul at redhat.com
Fri Feb 8 08:28:39 UTC 2008


Rob Crittenden wrote:
> Pieter D.J. Krul wrote:
>> This patch fixes this by doing 'chkconfig --add <service>' first, and 
>> "--del" upon uninstall, which are harmless to run IMHO.
> 
> Did you install this from the source tree with: make install?

Yes, pulled it from hg, make install, ipa-server-install

> Just curious. The patch looks ok, I just want to double-check that 
> re-adding a service is indeed an ok thing to do.

You can --add a service as often as you like, it will not be enabled by
default, and it only creates the kill symlinks if they don't exist yet.

- "chkconfig --list <service>" will exit with 1 if no kill symlinks for
   the service exist in /etc/rc*

- "chkconfig --add <service>" will only create the kill symlinks if
   they don't exist yet.

- "chkconfig <service> on" will only create the start symlinks.

Pieter




More information about the Freeipa-devel mailing list