Wind River Support Network

HomeDefectsLINCD-647
Fixed

LINCD-647 : ostree: systemd-user-sessions[535]: Failed to initialize SELinux context: No such file or directory

Created: Dec 18, 2019    Updated: Feb 27, 2020
Resolved Date: Feb 16, 2020
Found In Version: 10.20.3.0
Fix Version: 10.20.9.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: Userspace

Description

systemd-user-sessions[535]: Failed to initialize SELinux context: No such file or directory e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx e1000e 0000:00:1f.6 eth0: 10/100 speed: disabling TSO IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready ... Wind River Linux CGL 19.51 intel-x86-64 ttyS0 intel-x86-64 login: root Password: No directory, logging in with HOME=/ root@intel-x86-64:/#

Steps to Reproduce

TEST_STEP
/lpg-build/cdc/fast_prod/WRLINUX_MASTER_WR/MASTER_WR_GIT/wrlinux-10/setup.sh --machines=intel-x86-64 --distros=wrlinux-cgl --dl-layers --templates feature/ostree --layers wr-ostree --accept-eula=yes . ./oe-init-build-env build bitbake-layers add-layer /net/pek-lpgtest15/buildarea1/jhu2/wrlinux_cd/testcases/wr-testing/bts-dev
echo require templates/feature/bts/template.conf >> conf/local.conf echo PREFERRED_PROVIDER_virtual/kernel = "linux-yocto" >> conf/local.conf bitbake  wrlinux-image-glibc-std wrlinux-image-glibc-cgl ovmf
 
In conf/local.conf :
#jhu2 append as below:
require templates/feature/bts/template.conf
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
BB_NUMBER_THREADS ?= "24"
PARALLEL_MAKE ?= "-j 24"
OSTREE_REMOTE_URL = "http://pek-lpgtest20.wrs.com/OSTREE_PUBLIC_REPO/latest/ostree_repo"
ACTIVE_PLAN = "customized_test_plan.ini"
IMAGE_ROOTFS_EXTRA_SPACE = "2048000"

dd wic image into one Udisk, then boot target
Live chat
Online