<?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>6394</bug_id>
          
          <creation_ts>2014-06-03 18:42:09 +0000</creation_ts>
          <short_desc>both stat and coreutils provide &quot;stat&quot; but at different filesystem locations</short_desc>
          <delta_ts>2014-06-14 22:24:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>General Runtime</product>
          <component>General Runtime</component>
          <version>1.7</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</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.7</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Gortmaker">paulg</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</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>43743</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Gortmaker">paulg</who>
    <bug_when>2014-06-03 18:42:09 +0000</bug_when>
    <thetext>stat provides /usr/bin/stat
coreutils provides  /bin/stat (symlink to /bin/stat.coreutils)

Depending on the path, you don&apos;t know what you&apos;ll get.

The less featured /usr/bin/stat does not support the &quot;--printf=%T&quot; that coreutils does, and this breaks grub2 ; more specifically grub-mkconfig as it generates files [scripts] which in turn are executed (like /etc/grub.d/10_linux) that contain/use the &quot;--printf&quot; switch.

I think stat rpm probably should be installing in /bin and it probably also needs to depend on !coreutils as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43959</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2014-06-14 22:24:12 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=634c19eedf8bef1da4216643e9e331c985bae5af</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>