summaryrefslogtreecommitdiffstats
path: root/install/tools/ipa-upgradeconfig
diff options
context:
space:
mode:
authorAna Krivokapic <akrivoka@redhat.com>2013-10-25 12:41:25 +0200
committerPetr Viktorin <pviktori@redhat.com>2014-01-14 16:37:56 +0100
commit689382dc833e687d30349b10a8fd7dc740d54d08 (patch)
treeeaae5f062c8fe9a961697bb34b3a829f7190413f /install/tools/ipa-upgradeconfig
parent3e1386a57e915a71c87471ee65877f3ab01fc724 (diff)
downloadfreeipa-689382dc833e687d30349b10a8fd7dc740d54d08.tar.gz
freeipa-689382dc833e687d30349b10a8fd7dc740d54d08.tar.xz
freeipa-689382dc833e687d30349b10a8fd7dc740d54d08.zip
Enable Retro Changelog and Content Synchronization DS plugins
Enable Retro Changelog and Content Synchronization DS plugins which are required for SyncRepl support. Create a working directory /var/named/ipa required by bind-dyndb-ldap v4+. https://fedorahosted.org/freeipa/ticket/3967
Diffstat (limited to 'install/tools/ipa-upgradeconfig')
-rw-r--r--install/tools/ipa-upgradeconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/install/tools/ipa-upgradeconfig b/install/tools/ipa-upgradeconfig
index dec56c66..ed4852c0 100644
--- a/install/tools/ipa-upgradeconfig
+++ b/install/tools/ipa-upgradeconfig
@@ -1079,6 +1079,10 @@ def main():
setup_firefox_extension(fstore)
add_ca_dns_records()
+ bind = bindinstance.BindInstance(fstore)
+ if bind.is_configured():
+ bind.create_dir('/var/named/ipa', 0700)
+
# Any of the following functions returns True iff the named.conf file
# has been altered
named_conf_changes = (
@@ -1092,7 +1096,6 @@ def main():
if any(named_conf_changes):
# configuration has changed, restart the name server
root_logger.info('Changes to named.conf have been made, restart named')
- bind = bindinstance.BindInstance(fstore)
try:
bind.restart()
except ipautil.CalledProcessError, e: