Univention Bugzilla – Bug 29934
univention-ucc-sync-persistent-files does not create directory structure
Last modified: 2013-03-26 09:14:07 CET
univention-ucc-sync-persistent-file does not to create the directory structure: root@ucc:~# /usr/sbin/univention-ucc-sync-persistent-files --sync-to-ucc Copying /ucc_root/persistent-files/var/univention-join/status to UCC system Copying /ucc_root/persistent-files/etc/machine.secret to UCC system Copying /ucc_root/persistent-files/etc/univention/ssl/ucc322/private.key to UCC system Traceback (most recent call last): File "/usr/sbin/univention-ucc-sync-persistent-files", line 93, in <module> shutil.copy(file, file.replace("/ucc_root/persistent-files", "")) File "/usr/lib/python2.7/shutil.py", line 117, in copy copyfile(src, dst) File "/usr/lib/python2.7/shutil.py", line 83, in copyfile with open(dst, 'wb') as fdst: IOError: [Errno 2] No such file or directory: '/etc/univention/ssl/ucc322/private.key' root@ucc:~# ls /ucc_root/persistent-files/etc/univention/ssl/ucc322/ cert.pem openssl.cnf private.key req.pem root@ucc:~# ls /etc/univention/ssl/ucc322/private.key ls: cannot access /etc/univention/ssl/ucc322/private.key: No such file or directory root@ucc:~#
univention-ucc-sync-persistent-file has been fixed.
ucc-sync-persistent-files creates directory structure with subdirectories -> OK Directorystructure is correctly copied back (md5sum check) -> OK -> Verified
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".