URL:
https://github.com/freeipa/freeipa/pull/5485
Author: rcritten
Title: #5485: Ensure IPA is running (ideally) before uninstalling the KRA
Action: opened
PR body:
"""
Ensure IPA is running (ideally) before uninstalling the KRA
The KRA attempts to unregister itself from the security domain
which requires that IPA be running for this to succeed.
1. Move the KRA uninstall call prior to stopping all IPA
services
2. Try to start IPA if it isn't running and a KRA is configured
It isn't mandatory that IPA be running for the KRA uninstall to
succeed but it will suppress a pretty scary backtrace and error
message.
https://pagure.io/freeipa/issue/8550
Signed-off-by: Rob Crittenden <rcritten(a)redhat.com>
This also removes two deprecated API warnings from dogtag and changes a log level from
info to debug to suppress unnecessary output.
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5485/head:pr5485
git checkout pr5485