Bug 1170

Summary: login.defs file shipped with base-passwd causes runtime warnings
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Scott Garman <scott.a.garman>
Component: coreAssignee: Scott Garman <scott.a.garman>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: meta.mr.watcher, meta.watcher, wenhuax.fan
Version: unspecified   
Target Milestone: 1.1 M3   
Hardware: x86   
OS: Multiple   
Whiteboard: 2011-06-20: v2 pull request posted to oe-core ML
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Scott Garman 2011-06-15 20:23:14 UTC
Koen reported the following warnings appear when logging into an oe-core image or running grpconv:

configuration error - unknown item 'FAILLOG_ENAB' (notify administrator)
configuration error - unknown item 'LASTLOG_ENAB' (notify administrator)
configuration error - unknown item 'OBSCURE_CHECKS_ENAB' (notify administrator)
configuration error - unknown item 'PORTTIME_CHECKS_ENAB' (notify administrator)
configuration error - unknown item 'QUOTAS_ENAB' (notify administrator)
configuration error - unknown item 'MOTD_FILE' (notify administrator)
configuration error - unknown item 'FTMP_FILE' (notify administrator)
configuration error - unknown item 'NOLOGINS_FILE' (notify administrator)
configuration error - unknown item 'ENV_HZ' (notify administrator)
configuration error - unknown item 'PASS_MIN_LEN' (notify administrator)
configuration error - unknown item 'SU_WHEEL_ONLY' (notify administrator)
configuration error - unknown item 'CRACKLIB_DICTPATH' (notify administrator)
configuration error - unknown item 'PASS_CHANGE_TRIES' (notify administrator)
configuration error - unknown item 'PASS_ALWAYS_WARN' (notify administrator)
configuration error - unknown item 'CHFN_AUTH' (notify administrator)
configuration error - unknown item 'ENVIRON_FILE' (notify administrator)

These variables are coming from the default /etc/login.defs that recently started shipping with base-passwd.
Comment 1 Scott Garman 2011-06-15 20:23:42 UTC
I have a fix for this currently undergoing testing.
Comment 2 Scott Garman 2011-06-23 17:34:55 UTC
*** Bug 1190 has been marked as a duplicate of this bug. ***