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