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

2016-09-27 Thread Matt Madison
On Tue, Sep 27, 2016 at 8:42 AM, akuster808  wrote:
>
>
> On 09/26/2016 10:51 AM, Matt Madison wrote:
>> This patch is the one that fixed this issue for me:
>>
>> http://cgit.openembedded.org/openembedded-core/commit/meta/classes/useradd.bbclass?id=a68a797c7aec607a0720ec5421baf6be821803b8
>
> That commit has been in Krogoth for a while so I don't understand the
> circumstance in fixing this issue.

Sigh.  Copy-paste error on my part.  It was this one.

http://cgit.openembedded.org/openembedded-core/commit/meta/classes/useradd.bbclass?id=e8d4356c38e3c2aacd6dc49231c73bcb7d597308

and I see that that's already been pulled in to krogoth now, thanks.

-Matt

>
> http://cgit.openembedded.org/openembedded-core/commit/meta/classes/useradd.bbclass?h=krogoth=a68a797c7aec607a0720ec5421baf6be821803b8
>
> -armin
>
>>
>> The problem was introduced by this change to systemd's recipe:
>> http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-core/systemd?h=krogoth=901a6dbe420eb3f76503871ca3ccfe544b9b3b57
>>
>> Regards,
>> -Matt
>>
>> On Mon, Sep 26, 2016 at 9:13 AM, akuster808  wrote:
>>>
>>>
>>> On 09/26/2016 08:02 AM, Joe Konno wrote:
 I saw this as well. Opened the following bug:
   * https://bugzilla.yoctoproject.org/show_bug.cgi?id=10329
>>>
>>> thanks, guess I should have done it when first reported.
>>>
>>> http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/classes/useradd.bbclass?id=1e244471d08c8426466d4e6591ec75478791fe5d
>>>
>>> looks promising.
>>>
>>> - armin

 On Sat, 24 Sep 2016 10:48:00 -0400
 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"
>
> 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, --defaultsprint 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, --helpdisplay 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 

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

2016-09-27 Thread akuster808


On 09/26/2016 10:51 AM, Matt Madison wrote:
> This patch is the one that fixed this issue for me:
> 
> http://cgit.openembedded.org/openembedded-core/commit/meta/classes/useradd.bbclass?id=a68a797c7aec607a0720ec5421baf6be821803b8

That commit has been in Krogoth for a while so I don't understand the
circumstance in fixing this issue.

http://cgit.openembedded.org/openembedded-core/commit/meta/classes/useradd.bbclass?h=krogoth=a68a797c7aec607a0720ec5421baf6be821803b8

-armin

> 
> The problem was introduced by this change to systemd's recipe:
> http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-core/systemd?h=krogoth=901a6dbe420eb3f76503871ca3ccfe544b9b3b57
> 
> Regards,
> -Matt
> 
> On Mon, Sep 26, 2016 at 9:13 AM, akuster808  wrote:
>>
>>
>> On 09/26/2016 08:02 AM, Joe Konno wrote:
>>> I saw this as well. Opened the following bug:
>>>   * https://bugzilla.yoctoproject.org/show_bug.cgi?id=10329
>>
>> thanks, guess I should have done it when first reported.
>>
>> http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/classes/useradd.bbclass?id=1e244471d08c8426466d4e6591ec75478791fe5d
>>
>> looks promising.
>>
>> - armin
>>>
>>> On Sat, 24 Sep 2016 10:48:00 -0400
>>> 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"

 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, --defaultsprint 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, --helpdisplay 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.


>>>
>> --
>> ___
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> 

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

2016-09-26 Thread Matt Madison
This patch is the one that fixed this issue for me:

http://cgit.openembedded.org/openembedded-core/commit/meta/classes/useradd.bbclass?id=a68a797c7aec607a0720ec5421baf6be821803b8

The problem was introduced by this change to systemd's recipe:
http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-core/systemd?h=krogoth=901a6dbe420eb3f76503871ca3ccfe544b9b3b57

Regards,
-Matt

On Mon, Sep 26, 2016 at 9:13 AM, akuster808  wrote:
>
>
> On 09/26/2016 08:02 AM, Joe Konno wrote:
>> I saw this as well. Opened the following bug:
>>   * https://bugzilla.yoctoproject.org/show_bug.cgi?id=10329
>
> thanks, guess I should have done it when first reported.
>
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/classes/useradd.bbclass?id=1e244471d08c8426466d4e6591ec75478791fe5d
>
> looks promising.
>
> - armin
>>
>> On Sat, 24 Sep 2016 10:48:00 -0400
>> 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"
>>>
>>> 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, --defaultsprint 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, --helpdisplay 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.
>>>
>>>
>>
> --
> ___
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

2016-09-26 Thread akuster808


On 09/26/2016 08:02 AM, Joe Konno wrote:
> I saw this as well. Opened the following bug:
>   * https://bugzilla.yoctoproject.org/show_bug.cgi?id=10329

thanks, guess I should have done it when first reported.

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/classes/useradd.bbclass?id=1e244471d08c8426466d4e6591ec75478791fe5d

looks promising.

- armin
> 
> On Sat, 24 Sep 2016 10:48:00 -0400
> 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"
>>
>> 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, --defaultsprint 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, --helpdisplay 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.
>>
>>
> 
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

2016-09-26 Thread Joe Konno
I saw this as well. Opened the following bug:
  * https://bugzilla.yoctoproject.org/show_bug.cgi?id=10329

On Sat, 24 Sep 2016 10:48:00 -0400
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"
> 
> 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, --defaultsprint 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, --helpdisplay 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.
> 
> 



pgpyFftNhEDEi.pgp
Description: OpenPGP digital signature
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

2016-09-26 Thread Ian Geiser
  On Mon, 26 Sep 2016 00:02:21 -0400 akuster808  
wrote  
 >  
 >  
 > 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: 
 > >  
 >  
 > I appears to be caused by 
 > http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=krogoth=66a4366e8fb4077a375e71c2169f3307254a36aa.
 >  
 >  
 > Master did not show this issue. 
 >  
 > - armin 
 >  
 > > from 
 > > "tmp-glibc/work/i586-oe-linux/systemd/1_229+gitAUTOINC+714c62b463-r0/temp/log.do_install"
 > >  
 > >  
 > > 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] 

>From the looks of it the useradd is running with only the root and no actual 
>arguments.  Is it possible there is a chance in the useradd bbclass in master 
>that is needed?  Doubtful since the old code worked with the entries present.  
>What ever is happening is happening after timesync though.  I cannot see how 
>networkd is causing the problem though since it is just like the others.

 > > 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, --defaultsprint 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, --helpdisplay 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. 
 > >  
 > >  
 > 


-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

2016-09-25 Thread akuster808


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:
> 

I appears to be caused by
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=krogoth=66a4366e8fb4077a375e71c2169f3307254a36aa.

Master did not show this issue.

- armin

> from 
> "tmp-glibc/work/i586-oe-linux/systemd/1_229+gitAUTOINC+714c62b463-r0/temp/log.do_install"
> 
> 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, --defaultsprint 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, --helpdisplay 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.
> 
> 
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

2016-09-25 Thread akuster808

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, --defaultsprint 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, --helpdisplay 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.




--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

2016-09-24 Thread Ian Geiser
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"

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, --defaultsprint 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, --helpdisplay 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.


-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core