Red Hat Bugzilla – Bug 39423
multiple -HUP should not be delivered
Last modified: 2014-03-16 22:20:42 EDT
Multiple -HUP to syslogd should not be delivered.
delivers a -HUP for every file.
This is incorrect. It should use sharedscripts command
for example like one from /etc/logrotate.d/samba
for a similar report with apache log rotation
*** Bug 47020 has been marked as a duplicate of this bug. ***
Added in 1.4.1-1, thanks!
Very good it was fixed.
Without this fix a race often caused sysklogd killed
(when second -HUP gets delivered during first -HUP processing)
This often happened with slow computers.
To model such problem just do
while true ; do killall -HUP sysklogd ; done
the sysklogd will get killed.
Same thing did multiple -HUP from log rotation.
Hopefully it will be fixed from now on in sysklogd.
Also, check the other daemons for this type of problem.
It is very annoying - server just dies one every one or two months.
I found few (apache, exim, syslog)
which now seems fixed. Check the other daemons to make sure
no multiple -HUP used for daemon restarting.