diff options
author | Rob Crittenden <rcritten@redhat.com> | 2011-03-02 16:45:45 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-03-03 11:02:03 -0500 |
commit | f69dc03f07ef1dd7dde4f2db8ba0ffc57fedcab7 (patch) | |
tree | 465f17a62d7b030201c6ee419678e96522ce2995 /install | |
parent | f476c097d2ac5f0270ea3207955cd7184ffb9e1d (diff) | |
download | freeipa-f69dc03f07ef1dd7dde4f2db8ba0ffc57fedcab7.tar.gz freeipa-f69dc03f07ef1dd7dde4f2db8ba0ffc57fedcab7.tar.xz freeipa-f69dc03f07ef1dd7dde4f2db8ba0ffc57fedcab7.zip |
Need to restart the dogtag 388-ds instance before using it.
Restart the 389-ds instance to ensure all schema is loaded that
dogtag may have installed as files.
According to bug
https://bugzilla.redhat.com/show_bug.cgi?id=680984 this it is only needed
on clones.
ticket 1024
Diffstat (limited to 'install')
-rwxr-xr-x | install/tools/ipa-replica-install | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/install/tools/ipa-replica-install b/install/tools/ipa-replica-install index 17f5cbc37..d9a9748a8 100755 --- a/install/tools/ipa-replica-install +++ b/install/tools/ipa-replica-install @@ -176,6 +176,23 @@ def install_ca(config): master_host=config.master_host_name, subject_base=config.subject_base) + # The dogtag DS instance needs to be restarted after installation. + # The procedure for this is: stop dogtag, stop DS, start DS, start + # dogtag + # + # The service_name trickery is due to the service naming we do + # internally. In the case of the dogtag DS the name doesn't match the + # unix service. + + service_name = cs.service_name + service.print_msg("Restarting the directory and certificate servers") + cs.service_name = "dirsrv" + cs.stop("PKI-IPA") + ca.stop() + cs.start("PKI-IPA") + ca.start() + cs.service_name = service_name + return ca def install_replica_ds(config): |