[OE-core] [PATCH 3/7] base-passwd: populate the target sysroot with passwd/group/login.defs

Koen Kooi koen at dominion.thruhere.net
Thu Jun 9 21:25:16 UTC 2011


Op 9 jun 2011, om 23:23 heeft Scott Garman het volgende geschreven:

> On 06/09/2011 01:50 PM, Koen Kooi wrote:
>> 
>> Op 3 jun 2011, om 01:50 heeft Scott Garman het volgende geschreven:
>> 
>>> The passwd, group, and login.defs files in the target sysroot will
>>> be used when recipes create custom user and group permissions in
>>> their packages.
>>> 
>>> Signed-off-by: Scott Garman<scott.a.garman at intel.com>
>>> ---
>>> .../base-passwd/base-passwd-3.5.22/login.defs      |  386 ++++++++++++++++++++
>> 
>> I'm now getting tons and tons of the following when using shadow:
>> 
>> [  900.349395] grpconv[682]: unknown configuration item `FAILLOG_ENAB'
>> [  900.357391] grpconv[682]: unknown configuration item `LASTLOG_ENAB'
>> [  900.364196] grpconv[682]: unknown configuration item `OBSCURE_CHECKS_ENAB'
>> [  900.371734] grpconv[682]: unknown configuration item `PORTTIME_CHECKS_ENAB'
>> [  900.381042] grpconv[682]: unknown configuration item `QUOTAS_ENAB'
>> [  900.387878] grpconv[682]: unknown configuration item `MOTD_FILE'
>> [  900.394256] grpconv[682]: unknown configuration item `FTMP_FILE'
>> [  900.400634] grpconv[682]: unknown configuration item `NOLOGINS_FILE'
>> [  900.407348] grpconv[682]: unknown configuration item `ENV_HZ'
>> [  900.413452] grpconv[682]: unknown configuration item `PASS_MIN_LEN'
>> [  900.420104] grpconv[682]: unknown configuration item `SU_WHEEL_ONLY'
>> [  900.426849] grpconv[682]: unknown configuration item `CRACKLIB_DICTPATH'
>> [  900.433929] grpconv[682]: unknown configuration item `PASS_CHANGE_TRIES'
>> [  900.441040] grpconv[682]: unknown configuration item `PASS_ALWAYS_WARN'
>> [  900.448028] grpconv[682]: unknown configuration item `CHFN_AUTH'
>> [  900.454376] grpconv[682]: unknown configuration item `ENVIRON_FILE'
>> 
>> 
>> which seems to be related to the login.defs change.
> 
> What context is this happening in? Runtime, or during a buildstep?

Runtime, during things like adduser and addgroup. I think I'm also seeing it during login, but I need to doublecheck.

regards,

Koen



More information about the Openembedded-core mailing list