[OE-core] shadow errors related to login.defs

Scott Garman scott.a.garman at intel.com
Fri Jun 10 22:22:19 UTC 2011


On 06/09/2011 02:25 PM, Koen Kooi wrote:
>
> 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.

Hmmm...I'm not running into these errors at all. I'm testing it against 
core-image-sato, which does not come with shadow by default. So I copy 
over and install the shadow RPM and start creating users and groups, and 
I'm not getting any errors back. I've also tried running grpconv, with 
the same results.

I need more information about your setup to duplicate the error. Which 
image, how was it built, what customizations, etc.

Scott

-- 
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center




More information about the Openembedded-core mailing list