Bug 98182 - Bad: Some of the messages from an executable in rc.sysinit do not appear in /var/log/messages
Summary: Bad: Some of the messages from an executable in rc.sysinit do not appear in /...
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: sysklogd   
(Show other bugs)
Version: 7.2
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Jason Vas Dias
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2003-06-27 16:11 UTC by Bharavi Oak
Modified: 2007-04-18 16:55 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-08-24 23:32:59 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Bharavi Oak 2003-06-27 16:11:45 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt)

Description of problem:
If an executable in called in rc.sysinit file. The executable logs 4 messages 
using syslog C function calls. But only two of these four messages appear 
in /var/log/messages file. The other two messages are lost.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Create an executable with 4 calls to "syslog" C function.
2. Add call of that executable in rc.sysinit (just before LVM initialization 
3.Reboot the system

Actual Results:  Opened /var/log/messages file and searched for all 4 messages 
from the executable. Only two of the messages could be found. The first and 
second message were found, that too on on a single line. The third and fourth 
message were lost.

Expected Results:  All the 4 messages from the executable should have been 
found in /var/log/messages file.

Additional info:

On Red Hat Advanced Server 2.1, it is observed that in the same situation, only 
the alternate messages appear in /var/log/messages. The first and third message 
appear but the second and fourth message is lost.

Comment 1 Jason Vas Dias 2004-08-24 23:32:59 UTC
Just clearing out old bugs here.
Messages logged with syslog before the /var filesystem is mounted
read/write will not appear in /var/log/messages ; that is why
we use initlog before this point in rc.sysinit.
This problem does not appear to be current with syslogd-1.4.1-22 .

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