Bug 158205

Summary: fix MARK message interval logging
Product: [Fedora] Fedora Reporter: Jason Vas Dias <jvdias>
Component: sysklogdAssignee: Jason Vas Dias <jvdias>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: sundaram
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.4.1-30 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-05 00:03:46 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 Jason Vas Dias 2005-05-19 15:51:57 UTC
Description of problem:

The fix for bug 152319 took do_mark() processing out of the
signal handler, but made it the last thing to do in the select()
loop, AFTER the test:
   if ( n_fds == 0 )
   {  ...
      continue;
   }
this means that do_mark() was hardly ever called .
Moving the do_mark processing before the ( n_fds == 0 ) in the
select() loop.

Version-Release number of selected component (if applicable):
sysklogd-1.4.1-28_FC4

How reproducible:
100%

Steps to Reproduce:
1. put -m N (N > 0) in /etc/sysconfig/syslog
 
Actual results:
MARK messages do not appear until a different message is logged.

Expected results:
MARK messages should appear every N seconds.

Additional info:
Reported by email from a Motorola customer who wishes email to
remain out of Bugzilla.

Comment 1 Jason Vas Dias 2005-05-19 15:52:41 UTC
fixed with sysklogd-1.4.1-30 .

Comment 2 Jason Vas Dias 2005-05-19 16:01:59 UTC
Clarification: the -m N mark interval is in minutes, not seconds.