Wind River Support Network

HomeDefectsLINCD-1194
Fixed

LINCD-1194 : ostree_cgl: There are some errors during executing adduser

Created: Feb 23, 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

root@intel-x86-64:~# adduser jhu2 Adding user `jhu2' ... Adding new group `jhu2' (1000) ... Adding new user `jhu2' (1000) with group `jhu2' ... Creating home directory `/home/jhu2' ... Copying files from `/etc/skel' ... New password: Retype new password: passwd: password updated successfully Changing the user information for jhu2 Enter the new value, or press ENTER for the default Full Name []: Jianwei Hu Room Number []: 001 Work Phone []: 12345678 Home Phone []: 876521 Other []: none chfn: cannot lock /etc/passwd; try again later. adduser: `/bin/chfn jhu2' returned error code 1. Exiting. 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-small 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'
IMAGE_ROOTFS_EXTRA_SPACE = "2048000"

dd cgl wic image into disk, then boot it
Live chat
Online