Univention Bugzilla – Bug 50664
univention-translog import should not start services that are not running
Last modified: 2020-08-26 11:03:20 CEST
In a support situation I had notifier and listner stopped and slapd carfully started to only listen on ldapi to be able to fix an issue with the transaction file and cn=translog. With a hughe surprise I discovered that the univention-translog tool starts these services again automatically after it has run. Maybe it's pssible to avoid that?
univention-translog check --skip-services
Ok, cool, that should be default.
(In reply to Arvid Requate from comment #2) > Ok, cool, that should be default. No: univention-translog was and is designed as a tool to be used by regular administrators to help them fix SOME translog related issues; as such it starts/stops services as needed. On the other hand it gives you enough rope to hang yourself if you consider yourself an expert user.
If the services are stopped at the point I call a "check" script, then the services shoud not get started. Think crestart.
(In reply to Arvid Requate from comment #4) > If the services are stopped at the point I call a "check" script, > then the services shoud not get started. Think crestart. RTF-source-code: univention-translog:690 "def stopped()": The services are ONLY stopped / started if the "--fix" option is given!