The logrotate script for app-admin/rsyslog-7.2.2 calls "invoke-rc.d rsyslog rotate" as the postrotate command. This command isn't available on my system, so either the script is incorrect or there's a missing dependency. Reproducible: Always Steps to Reproduce: 1. Install app-admin/logrotate-3.8.2 2. Install app-admin/rsyslog-7.2.2 3. Wait for logrotate to run overnight Actual Results: Receive an email reporting that the logrotate cron job failed due to the invoke-rc.d command being unavailable. Expected Results: The rsyslog logs are rotated without errors.
The new rsyslog config files look like they're from/for Debian. I prefer Debian's rsyslog.conf (traditional timestamps and non-world-readable kernel messages), logrotate script definitely needs fixing. For users in need of an immediate fix, the Gentoo-specific postrotate command in /etc/logrotate.d/rsyslog was: /etc/init.d/rsyslog reload &>/dev/null || true
Thx Robin & Dave, it's fixed, sorry for the error. +*rsyslog-7.2.2-r1 (27 Nov 2012) + + 27 Nov 2012; Ultrabug <ultrabug@gentoo.org> files/7-stable/rsyslog.logrotate, + -rsyslog-7.2.2.ebuild, +rsyslog-7.2.2-r1.ebuild: + Fix #444774 logrotate script thx to Robin Hill, fix #444754 curl dep thx to + Didier Cardoso +