Wind River Support Network

HomeDefectsLIN1021-836
Fixed

LIN1021-836 : Boot errors when using sysvinit

Created: Jul 16, 2021    Updated: Aug 23, 2021
Resolved Date: Jul 27, 2021
Found In Version: 10.21.20.1
Fix Version: 10.21.20.3
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: Userspace

Description

When using a wrlinux-image-small for qemux86-64 with sysvinit there are some boot errors:

touch: cannot touch '/var/log/wtmp': No such file or directory
chown: cannot access '/var/log/wtmp': No such file or directory
Failed to set owner -root- for -/var/log/wtmp-.
chmod: cannot access '/var/log/wtmp': No such file or directory
Failed to set mode -0664- for -/var/log/wtmp-.
This error is reported as well with intelx86-64.

Steps to Reproduce

./wrlinux-x/setup.sh --machines intel-x86-64 --dl-layers --all-layers
Add to local conf:

VIRTUAL-RUNTIME_init_manager = " sysvinit"
VIRTUAL-RUNTIME_initscripts = "initscripts"
DISTRO_FEATURES_remove = " systemd"
KERNEL_FEATURES_remove = "cfg/systemd.scc"
DISTRO_FEATURES_append = " sysvinit"
Build wrlinux-image-small and start the machine:

 

runqemu qemux86-64 nographic slirp nfs
Live chat
Online