From 2659fb0eb4e6a02cccd4473c0228241b32838e5a Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 19 Aug 2008 16:39:33 -0400 Subject: Minor bugs found while testing stuff. - wrong import in certs.py makes ipa-replica-manage fail - close the fs after the stash file is written so that the file is updated immediately and not when the fd is garbage collected --- ipa-server/ipaserver/krbinstance.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ipa-server/ipaserver/krbinstance.py') diff --git a/ipa-server/ipaserver/krbinstance.py b/ipa-server/ipaserver/krbinstance.py index 3981da9f..4cdb801e 100644 --- a/ipa-server/ipaserver/krbinstance.py +++ b/ipa-server/ipaserver/krbinstance.py @@ -330,6 +330,7 @@ class KrbInstance(service.Service): try: fd = open("/var/kerberos/krb5kdc/.k5."+self.realm, "w") fd.write(s) + fd.close() except os.error, e: logging.critical("failed to write stash file") raise e -- cgit