the app-admin/syslog-ng package includes two files that maybe added to /etc/logrotate.d after installation. One file is specific for hardened Gentoo. These logrotate scripts throw errors when their expected files are missing, which throws errors in my cron jobs. I have a very custom my syslog-ng config and as such I don't have files like /var/log/messages that these logrotate scripts expect (there are many more in the hardened script). I would like these logrotate.d scripts to add the 'missingok' parameter so that I and other like me who tweak syslog-ng (of which there are few) don't have edit these logrotate.d scripts after the upgrades and don't have to worry about them during etc-update. I suspect there is no impact to those who use the distribution default syslog-ng and logrotate scripts. I have a patch for the standard logrotate script but not one for hardened, should I make one? Thank you.
Created attachment 168610 [details, diff] patch to app-admin/syslog-ng/files/syslog-ng.logrotate I've just added missingok so that when /var/log/messages is not present errors are suppressed
in portage. thanks for the bug report and patch.
Wow was that responsive! Thank you for proving to me yet again that Gentoo is enterprise ready. You guys rock!