Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

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   
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:

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 )
   {  ...
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):

How reproducible:

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.