Wind River Support Network


LIN7-4689 : Missing initial system log entries

Created: Sep 2, 2015    Updated: Sep 8, 2018
Resolved Date: Sep 22, 2015
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace


Missing initial system log entries in the syslog configured file on network file system for epb2 target. 

Initial logs were missing in system log. 

Additional info: 
The root cause of the fault is broken file descriptor in syslogd. In this case file descriptor is pointing to configured file /c/logfiles/systemlog/syslog. 
/c volume is mounted on NFS. During restart /c volume is unmounted i.e /c/logfiles/systemlog/syslog will be temporarily removed and this is leading to broken file descriptor. 

The current implementation of syslogd had a global timestamp with last logging time. Syslogd checks if last logging time is older than 1sec, it reopen the file descriptor. But there are multiple configured files and there are chances that this global timestamp is refreshed for one specific configured file but not for all. We need to maintain last logging time for each configured file and reopen the file descriptor if it is one sec old during logging. This fix in syslogd is already available in upstream and we backported it to our WRL7.008. We request you to include this patch in the upcoming RCPL. 

Applying the attached patch solved the issue. 

Other Downloads

Live chat