Univention Bugzilla – Bug 43257
updater-statistics CRON job sends traceback on DC Slaves and memberservers - missing univention.license
Last modified: 2017-03-15 17:07:02 CET
seen on UCS 4.1-4 Errata 366: At least DC Slave servers and Memberservers send a mail from a CRON job: Subject: Cron <root@HOSTNAME> /usr/share/univention-updater/updater-statistics > /dev/zero Body: Traceback (most recent call last): File "/usr/share/univention-updater/updater-statistics", line 33, in <module> import univention.admin.license File "/usr/lib/pymodules/python2.7/univention/admin/license.py", line 36, in <module> import univention.license ImportError: No module named license
Created attachment 8326 [details] bug_43257.patch Attached a hotfix for this issue: patch -d / -p0 <bug_43257.patch
This happens if python-univention-license is not installed, which may happen due to Bug #43298, it will be fixed (in UDM) there. I'll use this bug to add dependencies to python-u-c-r and python-u-d-m because this is currently only indirectly covered (by other dependencies)
univention-updater.yaml fix: 11.0.11-13.1499.201701061242 * Added required dependencies explicitly to the package.
OK: added dependencies to univention-updater OK: YAML
Merged to 4.2: r75678
<http://errata.software-univention.de/ucs/4.1/407.html>