From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com ([134.134.136.20]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QVA97-0001J3-LP for openembedded-core@lists.openembedded.org; Sat, 11 Jun 2011 00:25:41 +0200 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 10 Jun 2011 15:22:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.65,349,1304319600"; d="scan'208";a="12930656" Received: from unknown (HELO [10.255.13.148]) ([10.255.13.148]) by orsmga001.jf.intel.com with ESMTP; 10 Jun 2011 15:22:19 -0700 Message-ID: <4DF2991B.8090102@intel.com> Date: Fri, 10 Jun 2011 15:22:19 -0700 From: Scott Garman User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: openembedded-core@lists.openembedded.org References: <5D76A268-DA2B-4F5A-BDE0-79211C403B0F@dominion.thruhere.net> <4DF139D6.3070508@intel.com> <779A4D49-D122-4D67-9A8D-B9AA8ABC11DF@dominion.thruhere.net> In-Reply-To: <779A4D49-D122-4D67-9A8D-B9AA8ABC11DF@dominion.thruhere.net> Subject: shadow errors related to login.defs X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2011 22:25:41 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 >>>> --- >>>> .../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