<?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>1210</bug_id>
          
          <creation_ts>2011-07-04 22:50:13 +0000</creation_ts>
          <short_desc>some commands run failed on minimal images according to steps on minimal image wiki</short_desc>
          <delta_ts>2011-08-21 22:19: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>OE-Core</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>mpc8315e-rdb</rep_platform>
          <op_sys>ppc</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>will be fixed by Aug24/2011</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="liang li">liang.li2</reporter>
          <assigned_to name="Kai Kang">kai.kang</assigned_to>
          <cc>kai.kang</cc>
    
    <cc>liang.li2</cc>
    
    <cc>liangliang.wang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>Xiaofeng.yan</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>14536</commentid>
    <comment_count>0</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2011-07-04 22:50:13 +0000</bug_when>
    <thetext>some commands run failed according to steps on minimal image wiki:
https://wiki.yoctoproject.org/wiki/Minimal_Image
commands below:
top, df ,fdisk,mount,mpstat,umount,ps
both commands need some file in /proc dir , but /proc dir is empty after boot,so run failed.
commands below:
whoami 
error info:&quot;unknow uid 0&quot;.
init 
error info:&quot;must be run as PID 1&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15571</commentid>
    <comment_count>1</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2011-08-18 19:05:17 +0000</bug_when>
    <thetext>mount /proc /sys when boot the image by apply the patch in
https://wiki.yoctoproject.org/wiki/Minimal_Image#init_script
to busybox to make /proc related commands usable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15572</commentid>
    <comment_count>2</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2011-08-18 19:11:10 +0000</bug_when>
    <thetext>And minimal image doesn&apos;t provide commands fdisk and init</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15573</commentid>
    <comment_count>3</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2011-08-18 19:17:49 +0000</bug_when>
    <thetext>verify it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15574</commentid>
    <comment_count>4</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2011-08-18 19:18:48 +0000</bug_when>
    <thetext>verify it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15583</commentid>
    <comment_count>5</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2011-08-18 22:19:30 +0000</bug_when>
    <thetext>Note:

whoami 
error info:&quot;unknow uid 0&quot;.

need eglibc NIS support</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15584</commentid>
    <comment_count>6</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2011-08-18 22:22:38 +0000</bug_when>
    <thetext>Sorry, mistake operation</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15587</commentid>
    <comment_count>7</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2011-08-18 22:34:23 +0000</bug_when>
    <thetext>verify.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15619</commentid>
    <comment_count>8</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2011-08-21 22:19:45 +0000</bug_when>
    <thetext>as minimal image wiki https://wiki.yoctoproject.org/wiki/Minimal_Image been updated,so add verified info below:
git info :
commit edd8e1e8b974eb3f0f9f66c2207aadf43612350b
Author: Scott Rifenbark &lt;scott.m.rifenbark@intel.com&gt;
Date:   Mon Aug 15 08:37:17 2011 -0700

    documentation/adt-manual/adt-command.xml: general edits.
    
    (From yocto-docs rev: 7227ad57257869f2fcb7f85bed8b8b90db4bd65a)
    
    Signed-off-by: Scott Rifenbark &lt;scott.m.rifenbark@intel.com&gt;
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
git branch :poky/master</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>