The /etc/logrotate.d/syslog causes sysklogd-1.3.33-8 being restarted several times Jun 24 04:02:03 cmpq syslogd 1.3-3: restart. Jun 24 04:02:03 cmpq syslogd 1.3-3: restart. Jun 24 04:02:04 cmpq syslogd 1.3-3: restart. Jun 24 04:02:04 cmpq syslogd 1.3-3: restart. Jun 24 04:02:05 cmpq syslogd 1.3-3: restart. Jun 24 04:02:05 cmpq syslogd 1.3-3: restart. Jun 24 04:02:06 cmpq syslogd 1.3-3: restart. Jun 24 04:02:07 cmpq syslogd 1.3-3: restart. Jun 24 04:02:08 cmpq syslogd 1.3-3: restart. Jun 24 04:02:11 cmpq syslogd 1.3-3: restart. Jun 24 04:02:12 cmpq syslogd 1.3-3: restart. Jun 24 04:02:13 cmpq syslogd 1.3-3: restart. This is 1) wrong. 2) may cause a race to restart sysklog several times. The right solution will be to use sharedscripts /var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron { missingok notifempty sharedscripts postrotate /bin/kill -HUP `cat /var/run/syslogd.pid 2>/dev/null` 2>/dev/null || true endscript } Most of packages (samba, exim and others already do this for log rotation to avoid multiple -HUP)
*** This bug has been marked as a duplicate of 39423 ***