Wind River Support Network

HomeDefectsLINCD-646
Fixed

LINCD-646 : ostree: mcstransd[478]: /etc/selinux/targeted/setrans.conf file open failed

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

root@intel-x86-64:/root# systemctl status mcstrans > log.log
 root@intel-x86-64:/root# cat log.log
 * mcstrans.service - Translates SELinux MCS/MLS labels to human readable form
 Loaded: loaded (/usr/lib/systemd/system/mcstrans.service; enabled; vendor preset: enabled)
 Active: failed (Result: exit-code) since Thu 2019-12-19 07:17:14 UTC; 3min 43s ago
 Process: 478 ExecStart=/sbin/mcstransd -f (code=exited, status=1/FAILURE)
 Main PID: 478 (code=exited, status=1/FAILURE)

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