Bug 6394 - both stat and coreutils provide "stat" but at different filesystem locations
Summary: both stat and coreutils provide "stat" but at different filesystem locations
Status: RESOLVED FIXED
Alias: None
Product: General Runtime
Classification: Runtime
Component: General Runtime (show other bugs)
Version: 1.7
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.7
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-06-03 18:42 UTC by Paul Gortmaker
Modified: 2014-06-14 22:24 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
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 Paul Gortmaker 2014-06-03 18:42:09 UTC
stat provides /usr/bin/stat
coreutils provides  /bin/stat (symlink to /bin/stat.coreutils)

Depending on the path, you don't know what you'll get.

The less featured /usr/bin/stat does not support the "--printf=%T" 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 "--printf" switch.

I think stat rpm probably should be installing in /bin and it probably also needs to depend on !coreutils as well.