[Freeipa-devel] [PATCH] Add service before enabling it in ipa-server-install
Rob Crittenden
rcritten at redhat.com
Fri Feb 8 14:16:09 UTC 2008
Pieter D.J. Krul wrote:
> 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.
>
Ok cool. I'll try to get this committed today.
thanks
rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20080208/dce5f78d/attachment.bin>
More information about the Freeipa-devel
mailing list