Univention Bugzilla – Bug 46039
UMC system diagnostic module doesn't save log output
Last modified: 2018-03-28 13:28:34 CEST
Apparently the UMC system diagnostic module doesn't save log output. This essential for support. It needs to save the output of externally run programs like samba-tool, at minimum during the "fix" phase.
Created attachment 9444 [details] screenshot systemdiagnose
I came across this situation more than two times now. The customer shows a screenshot of the diagnostic tool, but I have no possibility to check the diagnostic tool via USI, because /var/log/univention-management-module -diagnostic is nearly empty. Example output logfile: 02.03.18 21:17:58.146 MODULE ( PROCESS ) : Loading python module. 02.03.18 21:17:58.246 MODULE ( PROCESS ) : Imported python module. 02.03.18 21:17:58.246 MODULE ( PROCESS ) : Module instance created. 02.03.18 21:17:58.247 MODULE ( PROCESS ) : Module socket initialized. 02.03.18 21:17:58.261 MODULE ( PROCESS ) : Setting user LDAP DN 'uid=Administrator,cn=users,dc=sunshine,dc=me' 02.03.18 21:17:58.261 MODULE ( PROCESS ) : Setting auth type to None 02.03.18 21:17:58.262 MODULE ( PROCESS ) : Initializing module. 
Fixed together with Bug 45584: e2a8d07591 | Log output of actions c6b920f090 | Advisory
i git the following message after the 40_samba_tool_dbcheck.py fix button --- Problem repariert: Mit diesem Modul kann das System auf verschiedene bekannte Probleme analysiert werden. Wenn das System in der Lage ist gefundene Probleme automatisch zu beheben werden die Funktionen als weitere Buttons angeboten. Andererseits können die Probleme mithilfe der angezeigten Links zu Artikeln und verlinkten UMC Modulen von Hand gelöst werden. `samba-tool dbcheck --fix --cross-ncs --yes` ist fehlgeschlagen. STDOUT: Checking 3495 objects ERROR: incorrect DN SID component for member in object CN=Domain Users,CN=Groups,DC=four,DC=three - ;;;;;;;;CN=Administrator,CN=Users,DC=four,DC=three Change DN to ;;CN=Administrator,CN=Users,DC=four,DC=three? [YES] Fixed incorrect DN SID on attribute member Checked 3495 objects (1 errors) `samba-tool dbcheck` hat keine Probleme mit der lokalen AD Datenbank gefunden. STDOUT: Checking 265 objects Checked 265 objects (0 errors)
5d43b4d22d | samba-tool dbcheck --fix always returns != 0 3daf8ff89b | Advisory
OK - log output and umc output OK - yaml
<http://errata.software-univention.de/ucs/4.3/6.html>