1

Topic: 'rotate' instead of 'reload' for rsyslog in /etc/logrotate.d/openldap

Hi, for debian 7/8 in /etc/logrotate.d/openldap

invoke-rc.d rsyslog reload > /dev/null

SHOULD BE

invoke-rc.d rsyslog rotate > /dev/null

otherwise everyday I receive (in daily rotate job):

Usage: /etc/init.d/rsyslog {start|stop|rotate|restart|force-reload|status}
invoke-rc.d: initscript rsyslog, action "reload" failed.
error: error running non-shared postrotate script for /var/log/openldap.log of '/var/log/openldap.log '
run-parts: /etc/cron.daily/logrotate exited with return code 1

Thanks for your awesome work

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: 'rotate' instead of 'reload' for rsyslog in /etc/logrotate.d/openldap

Thanks for the feedback, fixed, and will be available in next release.