Univention Bugzilla – Bug 3490
univention-ldap-listener-ctrl verbessern
Last modified: 2016-11-24 20:20:46 CET
listener-ctrl koennte mit geringem aufwand deutlich benutzerfreundlicher werden: 1. modulname prüfen, bevor der listener herruntergefahren wird 2. liste der verfügbaren modulnamen im fehlerfall bzw. bei aufruf mit --help oder ohne Parameter
*** Bug 13973 has been marked as a duplicate of this bug. ***
r69892 | Bug #3490 UDL: Improve listener-ctrl Package: univention-directory-listener Version: 10.0.0-11.315.201606071717 Branch: ucs_4.1-0 Scope: errata4.1-2 r69910 | Bug #22383,Bug #30227,Bug #30263,Bug #34324,Bug #34507,Bug #34738,Bug #3490,Bug #38696,Bug #39509,Bug #40600,Bug #41261: UDL YAML univention-directory-listener.yaml
Created attachment 7805 [details] fix_error_message.patch Looks good, just one minor thing: After resync of a module the tool always returns an error message because UDL only writes the handler status files at daemon exit (which may be a debatable behaviour in itself): ==================================================================== root# univention-directory-listener-ctrl resync reset-sysvol-acls [...] root# univention-directory-listener-ctrl modules [...] cat: /var/lib/univention-directory-listener/handlers/reset-sysvol-acls: Datei oder Verzeichnis nicht gefunden 0 reset-sysvol-acls /usr/lib/univention-directory-listener/system/reset-sysvol-acls.py [...] ==================================================================== The attached patch should fix this. Advisory: Ok
r71060 | Bug #3490 UDL: Silence udl-ctrl Package: univention-directory-listener Version: 10.0.0-14.325.201607181745 Branch: ucs_4.1-0 Scope: errata4.1-2 r71075 | Bug #40600,Bug #41261,Bug #34324,Bug #3490 UDL: YAML univention-directory-listener.yaml
Code review: Ok Functional test: Ok Advisory: Ok
<http://errata.software-univention.de/ucs/4.1/215.html>