[Freeipa-devel] [PATCH] 0025 Restructure startup code for IPA servers

Simo Sorce ssorce at redhat.com
Tue Dec 7 16:53:45 UTC 2010


With this patch we stop relying on the system to init single ipa
components and instead introduce a "ipa" init script that takes care of
properly starting/stopping all relevant components.

Components are listed with a generic label in LDAP, per server.
At startup the ipa init script will always start drisrv, then use the
local socket to query it anonymously[*] and get the list of service to
start with a ordering paramater.

And it will then proceed to start each single service.
On failure it will shut them all down.

On stoppping ti shuts them down in inverse order.

Only the ipa service is enabled with chkconfig, all other handled
services are off in chkconfig and started by the ipa service instead.

[*] We can create an account if we think this is not good enough, but I
would ask to have a separate ticket and handle this change as an
additional patch if we feel the need to do that.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-simo-0025-Introduce-ipa-control-script-that-reads-configuratio.patch
Type: text/x-patch
Size: 21995 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20101207/7d7194f9/attachment.bin>


More information about the Freeipa-devel mailing list