Bug 1159 - Need to change numeric user/groupids to names in device_table-minimal.txt
Summary: Need to change numeric user/groupids to names in device_table-minimal.txt
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 1.5 M5
Assignee: Chen Qi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-06-10 15:36 UTC by Scott Garman
Modified: 2013-10-07 07:23 UTC (History)
10 users (show)

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 Scott Garman 2011-06-10 15:36:18 UTC
We really shouldn't use numeric group and user ids in meta/files/device_table-minimal.txt. Full usernames and groupnames should be used instead.

Associated code/classes which deal with this file need to be checked to ensure they also are not using hard-coded uid/gids.
Comment 1 Scott Garman 2012-03-21 17:30:24 UTC
Moving to 1.3 milestone since this kind of change needs more testing than we can provide before 1.2 is released.
Comment 2 Richard Purdie 2013-04-25 15:51:03 UTC
This still needs fixing, Saul to find someone who can work on it.
Comment 3 Chen Qi 2013-09-09 09:18:18 UTC
merged into poky/master:
771f794eed69a4e594fa2c9a4fc167f7bde623e3
033baea93df8f0d1fcd541b44ec58bb3710e2d57
36d622b4c6e2ff1e976b713c6841383f4188f851
Comment 4 Razvan Ionescu 2013-10-07 07:23:50 UTC
Verified with: poky/master: 771f794eed69a4e594fa2c9a4fc167f7bde623e3 .

Output:
cat meta/files/device_table-minimal.txt
#<path> <type> <mode>   <uid>   <gid>   <major> <minor> <start> <inc>   <count>
#/dev/mem    c      640      0       0       1       1       0        0        -
#
#type can be one of:
#    f  A regular file
#    d  Directory
#    c  Character special device file
#    b  Block special device file
#    p  Fifo (named pipe)

/dev            d       755     root    root    -       -       -       -       -
/dev/initctl    p       600     root    root    -       -       -       -       -
/dev/apm_bios   c       660     root    plugdev 10      134     -       -       -
/dev/fb0        c       600     root    root    29      0       -       -       -

...