freeipa/install/restart_scripts
Florence Blanc-Renaud 198cd5fab3 Fix renewal lock issues on installation
- Make sure that the file /var/run/ipa/renewal.lock is deleted upon
uninstallation, in order to avoid subsequent installation issues.

- Modify certmonger renewal script: restart the http/dirsrv services
only if they were already running

- Cleanup certmonger ra renewal script: no need to restart httpd

- Reorder during http install: request the SSL cert before adding
ipa-service-guard
Rationale: when a CA helper is modified, certmonger launches the helper
with various operations (FETCH_ROOTS, ...) If the CA helper is once again
modified, the on-going helper is killed. This can lead to
ipa-service-guard being killed and not releasing the renew lock.

If the SSL cert is requested with IPA helper before ipa-service-guard is added,
we avoid this locking issue.

Part of the refactoring effort, certificates sub-effort.

https://fedorahosted.org/freeipa/ticket/6433

Reviewed-By: Martin Basti <mbasti@redhat.com>
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
2016-11-16 09:10:01 +01:00
..
Makefile.am Move freeipa certmonger helpers to libexecdir. 2016-02-26 08:29:44 +01:00
README Configure certmonger to execute restart scripts on renewal. 2012-04-10 01:08:41 -04:00
renew_ca_cert libexec scripts: ldap conn management 2016-11-09 15:32:45 +01:00
renew_ra_cert Fix renewal lock issues on installation 2016-11-16 09:10:01 +01:00
renew_ra_cert_pre cert renewal: make renewal of ipaCert atomic 2015-11-19 13:06:12 +01:00
restart_dirsrv Fix renewal lock issues on installation 2016-11-16 09:10:01 +01:00
restart_httpd Fix renewal lock issues on installation 2016-11-16 09:10:01 +01:00
stop_pkicad restart scripts: bootstrap api with in_server=True 2016-06-21 08:30:35 +02:00

This directory contains scripts to be used by the command (-C) option
of certmonger to restart services when the certificates are renewed.