Wind River Support Network

HomeDefectsLIN6-7729
Fixed

LIN6-7729 : In WRL-6.0, the /etc/init.d/bootlogd script refers to savelog, but the savelog command cannot be found.

Created: Jun 19, 2014    Updated: Dec 3, 2018
Resolved Date: Aug 5, 2014
Found In Version: 6.0.0.6
Fix Version: 6.0.0.11
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace

Description

There is no Savelog command in WRL-6.0. 

grep savelog ./bitbake_build/tmp/work/intel_x86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/rootfs/etc/init.d/bootlogd
                        savelog -p -c 5 boot > /dev/null 2>&1

sh-4.2$ find . -name "*savelog*"
sh-4.2$

With a persistent /var/log, because of of missing savelog, /var/log/boot doesn’t get save appropriately on reboots (as rotation of older boot doesn’t happen).  This issue would not be observed with /var/log on volatile path (as there is no older boot log to rotate).

Workaround

Savelog is just a shell script, so you could try copying it over from Ubuntu (where it is installed as /usr/bin/savelog). 

Other Downloads


Live chat
Online