Bug 10504 - [Build Appliance] The default user builder can not login
Summary: [Build Appliance] The default user builder can not login
Status: VERIFIED FIXED
Alias: None
Product: Runtime
Classification: Build System, Metadata & Runtime
Component: build-appliance (show other bugs)
Version: 2.2
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.3 M1
Assignee: Juro Bystricky
QA Contact: Yi Zhao
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-10-27 03:29 UTC by Yi Zhao
Modified: 2017-02-20 01:48 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yi Zhao 2016-10-27 03:29:56 UTC
BA location: http://autobuilder.yoctoproject.org/pub/releases/yocto-2.2.rc6/build-appliance/

Steps:
1. Download the BA from above link and unzip
2. Run BA in vmplayer

In previous BA, there are 2 users auto login when system boot up, root and builder. And the builder is the default user for build poky.   

But in this build, only root login. When I try su to builder, I got some strange errors:
#####################################
sh-4.3# whoami
root
sh-4.3# su - builder
mesg: /dev/pts/0: Operation not permitted
qemux86-64:~$
qemux86-64:~$ whoami
builder
qemux86-64:~$ ls
-sh: ls: command not found
qemux86-64:~$ cd poky/
qemux86-64:~/poky$ . ./oe-init-build-env build/
-sh: grep: command not found
-sh: sed: command not found
Error: the directory . does not exist?
####################################
Comment 1 Juro Bystricky 2016-10-27 21:20:35 UTC
Root of the problem most likely identical to:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10434

Once 10434 is fixed, this should fix this one as well.
Comment 2 Juro Bystricky 2016-10-28 22:25:03 UTC
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10434

fixed the the problem as well.
Comment 3 Ross Burton 2016-11-08 17:25:26 UTC
Fixed in oe-core 6238faf901956e2a350315a66ca1ce557deaa513.
Comment 4 Yi Zhao 2017-02-20 01:48:45 UTC
Verified with 2.2.1 RC1
git rev: morty/6a1f33cc40bfac33cf030fe41e1a8efd1e5fad6f