<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>10504</bug_id>
          
          <creation_ts>2016-10-27 03:29:56 +0000</creation_ts>
          <short_desc>[Build Appliance] The default user builder can not login</short_desc>
          <delta_ts>2017-02-20 01:48:45 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Runtime</product>
          <component>build-appliance</component>
          <version>2.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Juro Bystricky">juro.bystricky</assigned_to>
          <cc>jose.perez.carranza</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
    
    <cc>yi.zhao</cc>
          
          <qa_contact name="Yi Zhao">yi.zhao</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>67625</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2016-10-27 03:29:56 +0000</bug_when>
    <thetext>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?
####################################</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67680</commentid>
    <comment_count>1</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2016-10-27 21:20:35 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67771</commentid>
    <comment_count>2</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2016-10-28 22:25:03 +0000</bug_when>
    <thetext>
https://bugzilla.yoctoproject.org/show_bug.cgi?id=10434

fixed the the problem as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68111</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-11-08 17:25:26 +0000</bug_when>
    <thetext>Fixed in oe-core 6238faf901956e2a350315a66ca1ce557deaa513.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70821</commentid>
    <comment_count>4</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2017-02-20 01:48:45 +0000</bug_when>
    <thetext>Verified with 2.2.1 RC1
git rev: morty/6a1f33cc40bfac33cf030fe41e1a8efd1e5fad6f</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>