Bug 39423

Summary: multiple -HUP should not be delivered
Product: [Retired] Red Hat Linux Reporter: Need Real Name <mal>
Component: sysklogdAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-07-06 03:14:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2001-05-07 17:04:03 UTC
Multiple -HUP to syslogd should not be delivered.

Currently /etc/logrotate.d/syslog 
delivers a -HUP for every file.

This is incorrect. It should use sharedscripts command
for example like one from /etc/logrotate.d/samba

Also see

http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=34230

for a similar report with apache log rotation

Comment 1 Bill Nottingham 2001-07-06 03:14:55 UTC
*** Bug 47020 has been marked as a duplicate of this bug. ***

Comment 2 Bill Nottingham 2001-07-09 04:19:05 UTC
Added in 1.4.1-1, thanks!

Comment 3 Need Real Name 2001-07-09 04:55:57 UTC
 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.