From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com [209.85.217.176]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 9CA70E0032E for ; Wed, 28 Nov 2012 21:56:07 -0800 (PST) Received: by mail-lb0-f176.google.com with SMTP id k6so12367589lbo.35 for ; Wed, 28 Nov 2012 21:56:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=jZO70yZ8DwsY27wTCnHowLTFeU84lW6vk337FrSOEuI=; b=kwxQe6yLz5UXabFbnowOl1VTgjHF80fVcS132FUjUqazcdu2Y6qSMxr5y4wRnsqVSq N+mhELgQhdsBun26GoLPvlNMdHEhbUY8CQEGs/3Ihs/6/KvcQ2Op+3LB4dXGFoujzgWs XZfmuArvDrpCF/mAu2StA573DHbl1g5b5DrQOV1EuW640PDpWT0rQLxEZTgvShEoflHW Hrpo9Z43NbyCRYr6ThSYn6ItEIPMgLDhLJd+igB/lyTn3k97Bga2ZJRA6K7Iq4IR1pa9 sppuZtPcZ7LYKqNDas3wYd8elsLwmvrFVXwFoGVCeLFR1w/CiYblmNHmwytJuTTjxK6L zukA== MIME-Version: 1.0 Received: by 10.152.148.40 with SMTP id tp8mr20488214lab.30.1354168565853; Wed, 28 Nov 2012 21:56:05 -0800 (PST) Received: by 10.112.21.193 with HTTP; Wed, 28 Nov 2012 21:56:05 -0800 (PST) In-Reply-To: References: Date: Thu, 29 Nov 2012 11:26:05 +0530 Message-ID: From: GOPIKRISHNAN S To: Luo Zhenhua-B19537 X-Gm-Message-State: ALoCoQljC/gLbFEkT+Q/XwSAsBT38oGKmJ/F4CmTuGJ9HF+LnPRQ5btdTTqY2m1vGdEG7mO2ASLC Cc: "meta-freescale@yoctoproject.org" Subject: (No subject) X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2012 05:56:08 -0000 Content-Type: multipart/alternative; boundary=e89a8f234665556e2004cf9bf07e --e89a8f234665556e2004cf9bf07e Content-Type: text/plain; charset=ISO-8859-1 I am building fsl-image-core for Freescale P2041rdb. Now the useradd is working without errors; But after building rootfs image, I couldn't find the updates in /etc/users and group files On Wed, Nov 28, 2012 at 12:52 PM, Luo Zhenhua-B19537 wrote: > When there is no -g option in USERADD_PARAM_*, the default group name is > same as the created user name, so USERADD_PARAM_* will create the group > when add the new user. GROUPADD_PARAM_* is redundant. Remove > GROUPADD_PARAM_* lines directly and try again. **** > > ** ** > > ** ** > > Best Regards,**** > > ** ** > > Zhenhua**** > > ** ** > > *From:* meta-freescale-bounces@yoctoproject.org [mailto: > meta-freescale-bounces@yoctoproject.org] *On Behalf Of *GOPIKRISHNAN S > *Sent:* Tuesday, November 27, 2012 4:46 PM > *To:* meta-freescale@yoctoproject.org > *Subject:* [meta-freescale] (no subject)**** > > ** ** > > I just did > $ rm -rf build > $ source ./fsl-setup-poky -m p2041rdb > $ bitbake fsl-image-minimal > $ bitbake vaminusers > > Attached vaminusers.bb > > Problem with useradd. First time > NOTE: package vaminusers-1.0-r0: task do_install: Started > ERROR: Function 'useradd_sysroot' failed (see > /media/325GB_Drive/dev/QorIQ-SDK-V1.2-20120614-yocto/build_p2041rdb_release/tmp/work/ppce500mc-fsl-linux/vaminusers-1.0-r0/temp/log.do_install.19685 > for further information) > ERROR: Logfile of failure stored in: > /media/325GB_Drive/dev/QorIQ-SDK-V1.2-20120614-yocto/build_p2041rdb_release/tmp/work/ppce500mc-fsl-linux/vaminusers-1.0-r0/temp/log.do_install.19685 > Log data follows: > | Running groupadd commands... > | Note: group vamin1 already exists, not re-creating it > | Note: group vamin already exists, not re-creating it > | Running useradd commands... > | useradd: group vamin1 exists - if you want to add this user to that > group, use -g. > | WARNING: useradd command did not succeed. Retrying... > | useradd: group vamin1 exists - if you want to add this user to that > group, use -g. > | WARNING: useradd command did not succeed. Retrying... > | useradd: group vamin1 exists - if you want to add this user to that > group, use -g. > | WARNING: useradd command did not succeed. Retrying... > | useradd: group vamin1 exists - if you want to add this user to that > group, use -g. > | WARNING: useradd command did not succeed. Retrying... > | useradd: group vamin1 exists - if you want to add this user to that > group, use -g. > | WARNING: useradd command did not succeed. Retrying... > | useradd: group vamin1 exists - if you want to add this user to that > group, use -g. > | WARNING: useradd command did not succeed. Retrying... > | useradd: group vamin1 exists - if you want to add this user to that > group, use -g. > | WARNING: useradd command did not succeed. Retrying... > | useradd: group vamin1 exists - if you want to add this user to that > group, use -g. > | WARNING: useradd command did not succeed. Retrying... > | useradd: group vamin1 exists - if you want to add this user to that > group, use -g. > | WARNING: useradd command did not succeed. Retrying... > | useradd: group vamin1 exists - if you want to add this user to that > group, use -g. > | WARNING: useradd command did not succeed. Retrying... > | ERROR: tried running useradd command 10 times without success, giving up > | ERROR: Function 'useradd_sysroot' failed (see > /media/325GB_Drive/dev/QorIQ-SDK-V1.2-20120614-yocto/build_p2041rdb_release/tmp/work/ppce500mc-fsl-linux/vaminusers-1.0-r0/temp/log.do_install.19685 > for further information) > NOTE: package vaminusers-1.0-r0: task do_install: Failed > ERROR: Task 2 > (/media/325GB_Drive/dev/QorIQ-SDK-V1.2-20120614-yocto/meta-testing/recipes/vaminusers/ > vaminusers.bb, do_install) failed with exit code '1' > ERROR: > '/media/325GB_Drive/dev/QorIQ-SDK-V1.2-20120614-yocto/meta-testing/recipes/vaminusers/ > vaminusers.bb' failed > > **** > --e89a8f234665556e2004cf9bf07e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I am building fsl-image-core for Freescale P2041rdb. Now the useradd is wor= king without errors; But after building rootfs image, I couldn't find t= he updates in /etc/users and group files

On Wed, Nov 28, 2012 at 12:52 PM, Luo Zhenhua-B19537 <= B19537@freescale.= com> wrote:

When there is no -g optio= n in USERADD_PARAM_*, the default group name is same as the =A0created user= name, so USERADD_PARAM_* will create the group when add the new user. GROUPADD_PARAM_* is redundant. Remove GROUPADD_PARAM_* lines dir= ectly and try again.

=A0<= /p>

=A0<= /p>

Best Regards,

=A0<= /p>

Zhenhua

=A0<= /p>

From: meta-= freescale-bounces@yoctoproject.org [mailto:meta-freescale-bounces@yoc= toproject.org] On Behalf Of GOPIKRISHNAN S
Sent: Tuesday, November 27, 2012 4:46 PM
To: meta-freescale@yoctoproject.org
Subject: [meta-freescale] (no subject)

=A0

I just did
$ rm -rf build<machine>
$ source ./fsl-setup-poky -m p2041rdb
$ bitbake fsl-image-minimal
$ bitbake vaminusers

Attached vaminusers.bb

Problem with useradd. First time
NOTE: package vaminusers-1.0-r0: task do_install: Started
ERROR: Function 'useradd_sysroot' failed (see /media/325GB_Drive/de= v/QorIQ-SDK-V1.2-20120614-yocto/build_p2041rdb_release/tmp/work/ppce500mc-f= sl-linux/vaminusers-1.0-r0/temp/log.do_install.19685 for further informatio= n)
ERROR: Logfile of failure stored in: /media/325GB_Drive/dev/QorIQ-SDK-V1.2-= 20120614-yocto/build_p2041rdb_release/tmp/work/ppce500mc-fsl-linux/vaminuse= rs-1.0-r0/temp/log.do_install.19685
Log data follows:
| Running groupadd commands...
| Note: group vamin1 already exists, not re-creating it
| Note: group vamin already exists, not re-creating it
| Running useradd commands...
| useradd: group vamin1 exists - if you want to add this user to that group= , use -g.
| WARNING: useradd command did not succeed. Retrying...
| useradd: group vamin1 exists - if you want to add this user to that group= , use -g.
| WARNING: useradd command did not succeed. Retrying...
| useradd: group vamin1 exists - if you want to add this user to that group= , use -g.
| WARNING: useradd command did not succeed. Retrying...
| useradd: group vamin1 exists - if you want to add this user to that group= , use -g.
| WARNING: useradd command did not succeed. Retrying...
| useradd: group vamin1 exists - if you want to add this user to that group= , use -g.
| WARNING: useradd command did not succeed. Retrying...
| useradd: group vamin1 exists - if you want to add this user to that group= , use -g.
| WARNING: useradd command did not succeed. Retrying...
| useradd: group vamin1 exists - if you want to add this user to that group= , use -g.
| WARNING: useradd command did not succeed. Retrying...
| useradd: group vamin1 exists - if you want to add this user to that group= , use -g.
| WARNING: useradd command did not succeed. Retrying...
| useradd: group vamin1 exists - if you want to add this user to that group= , use -g.
| WARNING: useradd command did not succeed. Retrying...
| useradd: group vamin1 exists - if you want to add this user to that group= , use -g.
| WARNING: useradd command did not succeed. Retrying...
| ERROR: tried running useradd command 10 times without success, giving up<= br> | ERROR: Function 'useradd_sysroot' failed (see /media/325GB_Drive/= dev/QorIQ-SDK-V1.2-20120614-yocto/build_p2041rdb_release/tmp/work/ppce500mc= -fsl-linux/vaminusers-1.0-r0/temp/log.do_install.19685 for further informat= ion)
NOTE: package vaminusers-1.0-r0: task do_install: Failed
ERROR: Task 2 (/media/325GB_Drive/dev/QorIQ-SDK-V1.2-20120614-yocto/meta-te= sting/recipes/vaminusers/
vaminusers.bb, do_install) failed with exit code '1'
ERROR: '/media/325GB_Drive/dev/QorIQ-SDK-V1.2-20120614-yocto/meta-testi= ng/recipes/vaminusers/va= minusers.bb' failed


--e89a8f234665556e2004cf9bf07e--