Wind River Support Network

HomeDefectsLINCD-1187
Fixed

LINCD-1187 : ostree_cgl: Could not chdir to home directory /root: Permission denied for ssh login target on nuc7

Created: Feb 21, 2020    Updated: Mar 19, 2020
Resolved Date: Mar 6, 2020
Found In Version: 10.20.9.0
Fix Version: 10.20.12.0
Severity: Standard
Applicable for: Wind River Linux CD
Component/s: Userspace

Description

16:02:25 jhu2@pek-lpgtest20 ~]$~/scripts/vlm g 28631 Target ID : 28631 Master Target ID: 28631 Target Alias : Intel_nuc7-i5(comments) BSP : intel-x86-64 Architecture : I86 CPU : Core_i5-7300U CPU Speed : 0 CPU L1 I-Cache : 0 CPU L1 D-Cache : 0 CPU L2 Cache : 0 CPU Bitsize : Memory Size : 0 Flash Size : 0 Endianness : Bootrom Version : Bootrom Built : Boot Device : Ethernet-10/100/1000 Serial Port : null MAC Address : 00:00:00:00:00:00 IP Address : 128.224.179.242 IP Alias : null IP Mask : 255.255.254.0 Gateway : 128.224.178.1 Reserved By : wr-taf Reserved Date : Thu Feb 20 23:47:56 PST 2020 Reserve Note : WASSP:ostree_basic_add_user_intel-x86-64_1:60.247.85.82:1231837 Zone : BeijingLinuxCoreNightlyTest Room : 3F BJ C11 Street Address : 3F City : Beijing State : CHAOYANG DISTRICT Country : CHINA Terminal Server : TARGET_NOT_RESERVED_BY_USER Terminal Server Port: TARGET_NOT_RESERVED_BY_USER Done [16:06:13 jhu2@pek-lpgtest20 ~]$ssh root@128.224.179.242 root@128.224.179.242's password: Last login: Fri Feb 21 16:07:20 2020 Could not chdir to home directory /root: Permission denied -sh: /root/.profile: Permission denied root@intel-x86-64:/#

Steps to Reproduce

/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 feature/linux-yocto-dev feature/userspace-next feature/toolchain-next --layers wr-ostree --accept-eula=yes
. ./oe-init-build-env build
bitbake  wrlinux-image-glibc-std wrlinux-image-glibc-cgl ovmf
 
In conf/local.conf :
#jhu2 append as below:
BB_NUMBER_THREADS ?= "24"
PARALLEL_MAKE ?= "-j 24"
OSTREE_REMOTE_URL = 'http://pek-lpggp5.wrs.com/OSTREE_PUBLIC_REPO/latest_manual/ostree_repo'


Then dd wic image into disk and boot target(28631 nuc7 board)
Live chat
Online