Univention Bugzilla – Bug 35557
Error message from logrotate in case s4-connector is stopped
Last modified: 2020-07-03 20:54:34 CEST
For Bug 35500 the postrotate script logrotate.d/univention-s4-connector was adjusted to "crestart" instead of "restart". This has the side effect that logrotate issues an error message in case the S4 Connector isn't running: root@master40:~# /etc/init.d/univention-s4-connector stop Stopping univention-s4-connector daemon. done. root@master40:~# logrotate -f /etc/logrotate.d/univention-s4-connector invoke-rc.d: initscript univention-s4-connector, action "crestart" failed. error: error running non-shared postrotate script for /var/log/univention/connector-s4.log of '/var/log/univention/*-s4.log '
Created attachment 6044 [details] logrotate.patch Maybe we should do this (or better adjust the univention-s4-connector init script to return 0 on crestart?).
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4. If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.