freeipa/install/tools
Florence Blanc-Renaud 161008d5ca ipactl restart: fix wrong logic when checking service list
ipactl is building a list of currently running services from
the content of /var/run/ipa/services.list, and a list of expected services
from the services configured in LDAP.

Because CA and KRA both correspond to the same pki-tomcatd service, the
lists may contain duplicates. The code handling these duplicates is called
at the wrong place, and may result in a wrong list of services to
stop / restart / start.
The fix removes the duplicates before returning the lists, hence making sure
that there is no error when building the list of services to stop / restart
/ start.

Fixes: https://pagure.io/freeipa/issue/7927
Reviewed-By: Christian Heimes <cheimes@redhat.com>
2019-04-26 17:26:00 +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 ipactl restart: fix wrong logic when checking service list 2019-04-26 17:26:00 +02:00
Makefile.am Add ExecStartPost hook to wait for Dogtag PKI 2019-04-24 09:09:28 +02:00