<?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>7210</bug_id>
          
          <creation_ts>2015-01-21 02:49:27 +0000</creation_ts>
          <short_desc>Invaild option &apos;-L&apos; for stat when udev-cache starting</short_desc>
          <delta_ts>2015-02-04 08:03:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>System Startup</product>
          <component>system-startup</component>
          <version>1.8</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>1.8</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Chen Qi">Qi.Chen</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>ke.zou</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</cc>
    
    <cc>zhangle.yang</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>48116</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2015-01-21 02:49:27 +0000</bug_when>
    <thetext>Image location: http://autobuilder.yoctoproject.org/pub/releases/yocto-1.8_M2.rc1
Git rev: master/d9d5b8b499af3ae01a1e33d0d3969c54c2d4ab1b

This issue exists in core-image-sato-sdk image for p1022ds, mpc8315 and edgerouter. When the system startup, I got the following error:
############################
...
Populating dev cache
stat: invalid option -- &apos;L&apos;
Usage: stat [-l] [-f] [-s] [-v] [-h] [-t] [-c format] file1 [file2 ...]
...
############################

The cause is the stat command for stat package doesn&apos;t support -L option:
################################
root@edgerouter:~# which stat
/bin/stat
root@edgerouter:~# ls -l /bin/stat
lrwxrwxrwx 1 root root 14 Jan 20  2015 /bin/stat -&gt; /bin/stat.stat
root@edgerouter:~# rpm -qf /bin/stat
busybox-1.22.1-r32.mips64
coreutils-8.23-r0.mips64
stat-3.3-r0.mips64
root@edgerouter:~# rpm -qf /bin/stat.stat 
stat-3.3-r0.mips64
root@edgerouter:~# stat
Usage: stat [-l] [-f] [-s] [-v] [-h] [-t] [-c format] file1 [file2 ...]
root@edgerouter:~#
####################</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48438</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-01-30 15:39:06 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=14ef8b98bb581cee7518b668ba43c1240ae82d8b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48538</commentid>
    <comment_count>2</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2015-02-04 08:03:05 +0000</bug_when>
    <thetext>Verified with 1.8 M2 rc2 build.
Git rev: master/22c38e2d8a058619e3d05534b5e830b750aa4241</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>