[OE-core] [PATCH] bitbake.conf/image.bbclass: Ensure images use the correct passwd/group files

Andreas Müller schnitzeltony at gmx.de
Thu Dec 8 23:21:41 UTC 2011


On Thursday, December 08, 2011 04:40:38 PM Mark Hatle wrote:
> Andreas: What packaging type are you using?
> 
> I know that RPM never uses the uid/gid, it always does a look up.  If the
> look up fails it then falls back to "root".  So you should never see
> something like a 70, unless there is a manual chown/grp somewhere making
> the change.
> 
> opkg had a bug before where it only used the uid/gid number, I know Richard
> patched that -- but I'm not sure what happens if the look up fails.  It may
> fall back to the embedded numeric ids.  If that is the case, the real
> issue may simply be that the uname/gname hasn't yet made it into the
> passwd/group files.
> 
> If you are using opkg, try switching to RPM and see if the behavior on
> these files changes, if it does what the new value is.
I am using opkg - will try RPM when I have time next week.

Andreas




More information about the Openembedded-core mailing list