freeipa/ipaplatform
Christian Heimes 3f9e23f125 Add ExecStartPost hook to wait for Dogtag PKI
Dogtag PKI typically takes around 10 seconds to start and respond to
requests. Dogtag uses a simple systemd service, which means systemd is
unable to detect when Dogtag is ready. Commands like ``systemctl start``
and ``systemctl restart`` don't block and wait until the CA is up. There
have been various workarounds in Dogtag and IPA.

Systemd has an ExecStartPost hook to run programs after the main service
is started. The post hook blocks systemctl start and restart until all
post hooks report ready, too. The new ipa-pki-wait-running script polls
on port 8080 and waits until the CA subsystem returns ``running``.

Related: https://pagure.io/freeipa/issue/7916
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2019-04-24 09:09:28 +02:00
..
base Add ExecStartPost hook to wait for Dogtag PKI 2019-04-24 09:09:28 +02:00
debian Fix unnecessary usrmerge assumptions 2019-04-17 13:56:05 +02:00
fedora ipa-client-automount: handle NFS configuration file changes 2019-02-27 21:42:39 +01:00
redhat Add ExecStartPost hook to wait for Dogtag PKI 2019-04-24 09:09:28 +02:00
rhel ipa-client-automount: handle NFS configuration file changes 2019-02-27 21:42:39 +01:00
__init__.py Refactor os-release and platform information 2018-08-30 11:37:21 +02:00
_importhook.py Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
constants.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
Makefile.am Use namespace-aware meta importer for ipaplatform 2017-11-15 14:17:24 +01:00
osinfo.py ipatests: remove all occurrences of osinfo.version_id 2019-03-01 08:38:11 +01:00
override.py.in Use namespace-aware meta importer for ipaplatform 2017-11-15 14:17:24 +01:00
paths.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
services.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
setup.cfg Port all setup.py to setuptools 2016-10-20 18:43:37 +02:00
setup.py Cleanup shebang and executable bit 2018-07-05 19:46:42 +02:00
tasks.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00