Bug 7210 - Invaild option '-L' for stat when udev-cache starting
Summary: Invaild option '-L' for stat when udev-cache starting
Status: VERIFIED FIXED
Alias: None
Product: System Startup
Classification: Runtime
Component: system-startup (show other bugs)
Version: 1.8
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.8
Assignee: Chen Qi
QA Contact: Yi Zhao
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-01-21 02:49 UTC by Yi Zhao
Modified: 2015-02-04 08:03 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
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 Yi Zhao 2015-01-21 02:49:27 UTC
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 -- 'L'
Usage: stat [-l] [-f] [-s] [-v] [-h] [-t] [-c format] file1 [file2 ...]
...
############################

The cause is the stat command for stat package doesn'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 -> /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:~#
####################
Comment 2 Yi Zhao 2015-02-04 08:03:05 UTC
Verified with 1.8 M2 rc2 build.
Git rev: master/22c38e2d8a058619e3d05534b5e830b750aa4241