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