mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Restart named-pkcs11 after KRA installation
KRA installer restarts 389-DS, which disrupts named-pkcs11 bind-dyndb-ldap for a short while. Restart named-pkcs11 to fix DNS resolver. Fixes: https://pagure.io/freeipa/issue/5813 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Tibor Dudlak <tdudlak@redhat.com>
This commit is contained in:
parent
939db89cac
commit
40ac815835
@ -129,6 +129,11 @@ def install(api, replica_config, options):
|
||||
|
||||
# Restart apache for new proxy config file
|
||||
services.knownservices.httpd.restart(capture_output=True)
|
||||
# Restarted named-pkcs11 to restore bind-dyndb-ldap operation, see
|
||||
# https://pagure.io/freeipa/issue/5813
|
||||
named = services.knownservices.named # alias for named-pkcs11
|
||||
if named.is_running():
|
||||
named.restart(capture_output=True)
|
||||
|
||||
|
||||
def uninstall():
|
||||
|
Loading…
Reference in New Issue
Block a user