[OE-core] [PATCH 00/60] krogoth-next staged

akuster808 akuster808 at gmail.com
Sun Sep 25 15:07:39 UTC 2016


Ian,


On 09/24/2016 07:48 AM, Ian Geiser wrote:
> I think the systemd change may have broken something.  It looks like it is running a useradd with no arguments other than the root. Now I see the following error in krogoth:
>
> from "tmp-glibc/work/i586-oe-linux/systemd/1_229+gitAUTOINC+714c62b463-r0/temp/log.do_install"
I have been able to reproduce this. I am going to check master to see if 
the same issue exists there.

thanks for reporting this.

- armin

>
> DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common']
> DEBUG: Executing shell function useradd_sysroot
> Running groupadd commands...
> NOTE: systemd: Performing groupadd with [--root /mnt/bitbake/build/detos/tmp-glibc/sysroots/unified -r lock]
> NOTE: systemd: Performing groupadd with [--root /mnt/bitbake/build/detos/tmp-glibc/sysroots/unified  -r systemd-journal]
> NOTE: systemd: group systemd-journal already exists, not re-creating it
> Running useradd commands...
> NOTE: systemd: Performing useradd with [--root /mnt/bitbake/build/detos/tmp-glibc/sysroots/unified     --system -d / -M --shell /bin/nologin systemd-timesync]
> NOTE: systemd: Performing useradd with [--root /mnt/bitbake/build/detos/tmp-glibc/sysroots/unified    ]
> Usage: useradd [options] LOGIN
>         useradd -D
>         useradd -D [options]
>
> Options:
>    -b, --base-dir BASE_DIR       base directory for the home directory of the
>                                  new account
>    -c, --comment COMMENT         GECOS field of the new account
>    -d, --home-dir HOME_DIR       home directory of the new account
>    -D, --defaults                print or change default useradd configuration
>    -e, --expiredate EXPIRE_DATE  expiration date of the new account
>    -f, --inactive INACTIVE       password inactivity period of the new account
>    -g, --gid GROUP               name or ID of the primary group of the new
>                                  account
>    -G, --groups GROUPS           list of supplementary groups of the new
>                                  account
>    -h, --help                    display this help message and exit
>    -k, --skel SKEL_DIR           use this alternative skeleton directory
>    -K, --key KEY=VALUE           override /etc/login.defs defaults
>    -l, --no-log-init             do not add the user to the lastlog and
>                                  faillog databases
>    -m, --create-home             create the user's home directory
>    -M, --no-create-home          do not create the user's home directory
>    -N, --no-user-group           do not create a group with the same name as
>                                  the user
>    -o, --non-unique              allow to create users with duplicate
>                                  (non-unique) UID
>    -p, --password PASSWORD       encrypted password of the new account
>    -P, --clear-password PASSWORD clear password of the new account
>    -r, --system                  create a system account
>    -R, --root CHROOT_DIR         directory to chroot into
>    -s, --shell SHELL             login shell of the new account
>    -u, --uid UID                 user ID of the new account
>    -U, --user-group              create a group with the same name as the user
>
> WARNING: /mnt/bitbake/build/detos/tmp-glibc/work/i586-oe-linux/systemd/1_229+gitAUTOINC+714c62b463-r0/temp/run.useradd_sysroot.31611:1 exit 1 from 'exit 1'
> ERROR: systemd: useradd command did not succeed.
>
>




More information about the Openembedded-core mailing list