summaryrefslogtreecommitdiffstats
path: root/install/tools
diff options
context:
space:
mode:
authorPetr Spacek <pspacek@redhat.com>2014-01-27 14:47:10 +0100
committerPetr Viktorin <pviktori@redhat.com>2014-01-27 16:04:33 +0100
commitc91936353865ecb03b06e2a558c370e6a50fa0dc (patch)
treece106834a91aacf24ca343473eaf823a538ae898 /install/tools
parent04627b72d6d6cbf3a9dadc614a532505e31957f5 (diff)
downloadfreeipa-c91936353865ecb03b06e2a558c370e6a50fa0dc.tar.gz
freeipa-c91936353865ecb03b06e2a558c370e6a50fa0dc.tar.xz
freeipa-c91936353865ecb03b06e2a558c370e6a50fa0dc.zip
Remove working directory for bind-dyndb-ldap plugin.
The working directory will be provided directly by bind-dyndb-ldap package. This partially reverts commit 689382dc833e687d30349b10a8fd7dc740d54d08. https://fedorahosted.org/freeipa/ticket/3967
Diffstat (limited to 'install/tools')
-rw-r--r--install/tools/ipa-upgradeconfig5
1 files changed, 1 insertions, 4 deletions
diff --git a/install/tools/ipa-upgradeconfig b/install/tools/ipa-upgradeconfig
index b281eb4ea..de5029971 100644
--- a/install/tools/ipa-upgradeconfig
+++ b/install/tools/ipa-upgradeconfig
@@ -1084,10 +1084,6 @@ 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 = (
@@ -1101,6 +1097,7 @@ 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: