Univention Bugzilla – Bug 34559
update-python-modules breaks register UDM extensions
Last modified: 2014-09-15 12:33:11 CEST
Should be backported to 3.2-0 +++ This bug was initially created as a clone of Bug #34421 +++ +++ This bug was initially created as a clone of Bug #32405 +++ ... * It updates the Python links e.g. by calling update-python-modules -p I don't know what called "update-python-modules -a -v -f" (maybe a package update, maybe a Python update, maybe a package removal), but doing this manually removed all UDM extensions: # find syntax.d hooks.d handlers -iname \*ox\* | wc -l 24 # update-python-modules -a -v -f ... # cd $PWD # find syntax.d hooks.d handlers -iname \*ox\* It looks like "update-python-modules" starts from scratch and removed the complete directory before creating it anew; because of that the "cd $PWD" is needed. It only processes those modules listed in /usr/share/python-support/*.{public,private}. # udm modules | grep ox # cd /usr/share/pyshared/univention/admin # find hooks.d syntax.d handlers -path \*ox\* -type f -exec bash -c 't=/usr/lib/pymodules/python2.6/univention/admin/$1;mkdir -p ${t%/*};ln -n -s $PWD/$1 $t;pycompile $t' -- {} \; # udm modules | grep ox oxmail/oxcontext oxmail/oxdomain oxmail/oxfetchmailmulti oxmail/oxfetchmailsingle oxmail/oxfolder oxmail/oxlists oxmail/oxmail oxresources/oxresources
Patches backported to errata3.2-0 Advisory: 2014-03-25-univention-directory-manager-modules.yaml
Code: OK Tests: OK YAML: OK
http://errata.univention.de/ucs/3.2/89.html