Univention Bugzilla – Bug 29931
sync_to_persistent code in sync_to_ucc mode
Last modified: 2013-03-26 09:14:11 CET
While debugging the persistent file handling, I found this code block in univention-ucc-sync-persistent-files which confused me. I think it must be removed to prevent errors. This block is part of the sync_to_ucc mode, but the code syncs to the persistent storage: Index: univention-ucc-sync-persistent-files =================================================================== --- univention-ucc-sync-persistent-files (Revision 38051) +++ univention-ucc-sync-persistent-files (Arbeitskopie) @@ -107,17 +107,3 @@ else: print "Storage directory for persistent Univention Configuration Registry configuration not found" - if configRegistry.has_key("ucc/persistent/files"): - - if os.path.exists("/ucc_root/persistent-files.SAVE"): - shutil.rmtree("/ucc_root/persistent-files.SAVE", True) - - if os.path.exists("/ucc_root/persistent-files"): - os.renames("/ucc_root/persistent-files", "/ucc_root/persistent-files.SAVE") - os.makedirs("/ucc_root/persistent-files") - - for i in configRegistry["ucc/persistent/files"].split(";"): - if os.path.exists(i): - shutil.copy(i, "/ucc_root/persistent-files/") - print "Copying", i, " from persistent storage partition to UCC system" -
The code has been removed.
The code is removed.
UCC 1.0 has been released: http://forum.univention.de/viewtopic.php?f=26&t=2417 http://forum.univention.de/viewtopic.php?f=54&t=2418 If this error occurs again, please use "Clone This Bug".