Wind River Support Network

HomeDefectsLIN1022-422
Acknowledged

LIN1022-422 : serial-getty@ttyS0.service failed in Image with template feature/run-container enabled

Created: May 4, 2022    Updated: Jul 24, 2023
Found In Version: 10.22.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 22
Component/s: Userspace

Description

serial-getty@ttyS0.service failed in Image with template feature/run-container enabled

serial-getty@ttyS0.service: Failed with result 'start-limit-hit'

Steps to Reproduce

1.      setup.sh

 --machine intel-x86-64 --dl-layers --distro wrlinux --templates feature/ptest feature/run-container --layers meta-filesystems meta-security-compliance meta-virtualization --accept-eula yes --dl-layers

 

2.   source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env

3.  Copy multiconfig files resides in this template directory

$ cp -r $THIS_TEMPLATE_PATH/files/multiconfig conf/

 

4.    vim conf/local.conf
WR_APP_CONTAINER_APP = "bash"
WR_CONTAINER_NAMES = "wr-app-container wr-systemd-container"
WR_CONTAINER_PRIORITIES = "50 100"
WR_DOCKER_PARAMS = "-v /opt:/mnt --sig-proxy=false"
WR_DOCKER_PARAMS_wr-systemd-container = "-it --privileged=true --sig-proxy=false"
WR_DOCKER_START_COMMAND = "/bin/bash"
WR_DOCKER_START_COMMAND_wr-systemd-container = "/sbin/init"
WR_HOST_IMAGES = "wrlinux-image-glibc-std"
WR_HOST_IMAGES = "wrlinux-image-std"
WR_SYSTEMD_CONTAINER_APPS = "apache2"
5.  bitbake mc:wr-host:wrlinux-image-std

6.  boot the target and check the system according to problem description
Live chat
Online