Wind River Support Network

HomeDefectsLINCD-9730
Fixed

LINCD-9730 : feature/run-container: service in wr-systemd-container not in active status

Created: Jul 4, 2022    Updated: Aug 17, 2022
Resolved Date: Aug 7, 2022
Found In Version: 10.22.29.0
Fix Version: 10.22.33.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: Userspace

Description

It fails to start systemd service apache2.service in wr-systemd-container when template feature/run-container is enabled with referrence config.

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