freeipa/install/tools
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
..
man Add --pki-config-override to man pages 2019-04-10 13:43:23 +02:00
ipa-adtrust-install.in Synchronize hidden state from IPA master role 2019-03-28 17:57:58 +01:00
ipa-advise.in Rename Python scripts and add dynamic shebang 2018-08-23 14:49:06 +02:00
ipa-backup.in Rename Python scripts and add dynamic shebang 2018-08-23 14:49:06 +02:00
ipa-ca-install.in Add pki.ini override option 2019-04-10 13:43:23 +02:00
ipa-cacert-manage.in Rename Python scripts and add dynamic shebang 2018-08-23 14:49:06 +02:00
ipa-compat-manage.in Rename Python scripts and add dynamic shebang 2018-08-23 14:49:06 +02:00
ipa-crlgen-manage.in CRL generation master: new utility to enable|disable 2019-03-14 09:39:55 +01:00
ipa-csreplica-manage.in Address misc pylint issues in CLI scripts 2018-11-26 16:54:43 +01:00
ipa-custodia-check.in Py3: Remove subclassing from object 2018-09-27 11:49:04 +02:00
ipa-custodia.in Rename Python scripts and add dynamic shebang 2018-08-23 14:49:06 +02:00
ipa-dns-install.in Rename Python scripts and add dynamic shebang 2018-08-23 14:49:06 +02:00
ipa-httpd-kdcproxy.in Address misc pylint issues in CLI scripts 2018-11-26 16:54:43 +01:00
ipa-httpd-pwdreader Try to resolve the name passed into the password reader to a file 2018-09-19 11:42:49 -04:00
ipa-kra-install.in Rename Python scripts and add dynamic shebang 2018-08-23 14:49:06 +02:00
ipa-ldap-updater.in Rename Python scripts and add dynamic shebang 2018-08-23 14:49:06 +02:00
ipa-managed-entries.in Rename Python scripts and add dynamic shebang 2018-08-23 14:49:06 +02:00
ipa-nis-manage.in Rename Python scripts and add dynamic shebang 2018-08-23 14:49:06 +02:00
ipa-otptoken-import.in Rename Python scripts and add dynamic shebang 2018-08-23 14:49:06 +02:00
ipa-pki-retrieve-key.in Rename Python scripts and add dynamic shebang 2018-08-23 14:49:06 +02:00
ipa-pki-wait-running.in Add ExecStartPost hook to wait for Dogtag PKI 2019-04-24 09:09:28 +02:00
ipa-pkinit-manage.in Rename Python scripts and add dynamic shebang 2018-08-23 14:49:06 +02:00
ipa-replica-conncheck.in Address misc pylint issues in CLI scripts 2018-11-26 16:54:43 +01:00
ipa-replica-install.in Rename Python scripts and add dynamic shebang 2018-08-23 14:49:06 +02:00
ipa-replica-manage.in ipa-replica-manage: fix force-sync 2019-03-25 09:46:36 +01:00
ipa-restore.in Rename Python scripts and add dynamic shebang 2018-08-23 14:49:06 +02:00
ipa-server-certinstall.in Rename Python scripts and add dynamic shebang 2018-08-23 14:49:06 +02:00
ipa-server-install.in Rename Python scripts and add dynamic shebang 2018-08-23 14:49:06 +02:00
ipa-server-upgrade.in Rename Python scripts and add dynamic shebang 2018-08-23 14:49:06 +02:00
ipa-winsync-migrate.in Rename Python scripts and add dynamic shebang 2018-08-23 14:49:06 +02:00
ipactl.in Add hidden replica feature 2019-03-28 17:57:58 +01:00
Makefile.am Add ExecStartPost hook to wait for Dogtag PKI 2019-04-24 09:09:28 +02:00