Univention Bugzilla – Bug 25404
directory-logger Fehlermeldungen
Last modified: 2016-10-26 17:08:59 CEST
09.12.11 16:58:47.931 LISTENER ( WARN ) : initializing module directory_logger /bin/touch: cannot touch `/var/log/univention/directory-logger.log': Permission denied 09.12.11 16:58:47.941 LISTENER ( ERROR ) : directory_logger: /var/log/univention/directory-logger.log could not be created. Traceback (most recent call last): File "/usr/lib/univention-directory-listener/system/directory_logger.py", line 217, in handler modifier = new_copy['modifiersName'][0] KeyError: 'modifiersName'
Auf einem UCS 3.1 hatte ich die Meldungen nicht. QA zu 3.2.
True, neither of the messages occur in a recent UCS 3.1-1 or UCS 3.2 interim test environment. Yet, the modifiersName traceback will be triggered in case the attribute is missing on some LDAP object for some unknown reason. Maybe this bug should be turned into an enhancement bug for some future target milestone to make the code more robust against data inconsistencies like this one?
Reoccurred on a UCS@school 4.1R2 system.
(In reply to Stefan Gohmann from comment #0) > 09.12.11 16:58:47.931 LISTENER ( WARN ) : initializing module > directory_logger > /bin/touch: cannot touch `/var/log/univention/directory-logger.log': > Permission denied > 09.12.11 16:58:47.941 LISTENER ( ERROR ) : directory_logger: > /var/log/univention/directory-logger.log could not be created. That was fixed in UCS-4.0-0 by r55720 of Bug #36604 > Traceback (most recent call last): > File "/usr/lib/univention-directory-listener/system/directory_logger.py", > line 217, in handler > modifier = new_copy['modifiersName'][0] > KeyError: 'modifiersName' r73057 | Bug #25404 log: Copyright 2016 r73056 | Bug #25404 log: Fix old LDAP parsing Package: univention-directory-logger Version: 7.0.1-2.38.201610101831 Branch: ucs_4.1-0 Scope: errata4.1-3 r73058 | Bug #25404 log: Fix old LDAP parsing r73059 | Bug #25404 log: Fix old LDAP parsing YAML univention-directory-logger.yaml
r73111 | Bug #25404 log: Fix old LDAP parsing Package: univention-directory-logger Version: 7.0.1-2.39.201610131121 Branch: ucs_4.1-0 Scope: errata4.1-3 r73126 | Bug #25404 log: Fix old LDAP parsing r73141 | Bug #25404,Bug #34916,Bug #34420,Bug #42665: univention-directory-logger YAML univention-directory-logger.yaml
Created attachment 8115 [details] 25404.patch 3704cc5 Bug #25404 log: Fix old LDAP parsing 11fefb0 Bug #25404 log: Fix old LDAP parsing
OK - missing operational attributes OK - yaml OK - merged to 4.2
<http://errata.software-univention.de/ucs/4.1/317.html>