This service will be undergoing maintenance at 00:00 UTC, 2016-09-28. It is expected to last about 1 hours
Bug 158205 - fix MARK message interval logging
fix MARK message interval logging
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: sysklogd (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jason Vas Dias
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-19 11:51 EDT by Jason Vas Dias
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version: 1.4.1-30
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-09-04 20:03:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Jason Vas Dias 2005-05-19 11:51:57 EDT
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 11:52:41 EDT
fixed with sysklogd-1.4.1-30 .
Comment 2 Jason Vas Dias 2005-05-19 12:01:59 EDT
Clarification: the -m N mark interval is in minutes, not seconds.

Note You need to log in before you can comment on or make changes to this bug.