The mysql logrotate script appears to have two errors in it, this is the output when i run logrotate -f /etc/logrotate.d/mysql: /tmp/logrotate.OCla45: line 4: missingok: command not found /tmp/logrotate.OCla45: line 5: /sbin/kill: No such file or directory error running shared postrotate script for /var/log/mysql/mysql.err /var/log/mysql/mysql.log /var/log/mysql/mysqld.err /sbin/kill doesn't exist on my box, and I don't think 'missingok' should be in the postrotate section. Reproducible: Always Steps to Reproduce: 1. 2. 3.
you got a bad logrotate, from a moment when the copy in CVS was screwed up a while ago. emerge --sync and copy /usr/portage/dev-db/mysql/files/logrotate.mysql to /etc/logrotate.d/mysql.