mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-26 16:16:31 -06:00
Don't try to backup CS.cfg during upgrade if CA is not configured
https://pagure.io/freeipa/issue/7409 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
This commit is contained in:
parent
c9c41d2d90
commit
95a45a2b09
@ -1658,6 +1658,7 @@ def upgrade_configuration():
|
|||||||
|
|
||||||
with installutils.stopped_service('pki-tomcatd', 'pki-tomcat'):
|
with installutils.stopped_service('pki-tomcatd', 'pki-tomcat'):
|
||||||
# Dogtag must be stopped to be able to backup CS.cfg config
|
# Dogtag must be stopped to be able to backup CS.cfg config
|
||||||
|
if ca.is_configured():
|
||||||
ca.backup_config()
|
ca.backup_config()
|
||||||
|
|
||||||
# migrate CRL publish dir before the location in ipa.conf is updated
|
# migrate CRL publish dir before the location in ipa.conf is updated
|
||||||
|
Loading…
Reference in New Issue
Block a user