Univention Bugzilla – Bug 29933
univention-ucc-sync-persistent-files failed to re-sync the UCR settings
Last modified: 2013-03-26 09:14:30 CET
The re-sync of UCR failed with the following error: root@ucc:~# /usr/sbin/univention-ucc-sync-persistent-files --sync-to-ucc Copying /ucc_root/persistent-files/tmp/none to UCC system Setting ucc/persistent/ucr /bin/sh: 1: ucc/persistent/files: not found /bin/sh: 1: ucc/persistent/ucr: not found root@ucc:~# root@ucc:~# cat /ucc_root/persistent-ucr.conf ucc/persistent/ucr:;ucc/persistent/files;ucc/persistent/ucr The reason is the subprocess call with shell=True subprocess.call("/usr/sbin/univention-config-registry set " + vname + "=" + vvalue, shell=True) In this example it will execute this (three shell commands because of the ;): /usr/sbin/univention-config-registry set ucc/persistent/ucr=;ucc/persistent/files;ucc/persistent/ucr univention-ucc-sync-persistent-files should use the python interface of UCR.
The value of an UCR variable will be cut at the first ":" The key=value pair ucc/perupdate_doc_releasenotes_url=http://download.univention.de/doc/ will be changed to ucc/perupdate_doc_releasenotes_url=http
Both issues have been fixed.
OK -> The described error does not occur anymore. 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".