public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-catalyst] groupadd: command not found
@ 2009-10-08 18:17 Juan Luis Pérez Pérez
  2009-10-09 11:31 ` Guillermo M. Narvaja
  0 siblings, 1 reply; 3+ messages in thread
From: Juan Luis Pérez Pérez @ 2009-10-08 18:17 UTC (permalink / raw
  To: gentoo-catalyst

I'm trying to create some a custom stage3, I got stages 1 and 2, but
when catalyst tries to make stage3 it throws this error when emerging
openldap "/usr/portage/eclass/eutils.eclass: line 778: groupadd:
command not found".

It tries to add group 'ldap" and fails...

Here is my spec files:

stage1.spec:
subarch: i486
target: stage1
version_stamp: 20091007
rel_type: default
profile: default/linux/x86/2008.0
snapshot: 20091007
source_subpath: default/stage3-i486-20090915

stage2.spec:
subarch: i486
target: stage2
version_stamp: 20091007
rel_type: default
profile: default/linux/x86/2008.0/desktop
snapshot: 20091007
source_subpath: default/stage1-i486-20091007

stage3.spec:
subarch: i486
target: stage3
version_stamp: 20091007
rel_type: default
profile: default/linux/x86/2008.0/desktop
snapshot: 20091007
source_subpath: default/stage2-i486-20091007

I don't understand where is the problem, I created few stages before
and livecds, but this is my first time in stages with desktop profile,
is the problem this?

Juan Luis Pérez Pérez
Website: http://www.juanluperez.com
Registered GNU/Linux user #408294 according to counter.li.org
--
Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
Gracias.
Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-catalyst] groupadd: command not found
  2009-10-08 18:17 [gentoo-catalyst] groupadd: command not found Juan Luis Pérez Pérez
@ 2009-10-09 11:31 ` Guillermo M. Narvaja
  2009-10-14 16:32   ` Juan Luis Pérez Pérez
  0 siblings, 1 reply; 3+ messages in thread
From: Guillermo M. Narvaja @ 2009-10-09 11:31 UTC (permalink / raw
  To: gentoo-catalyst

El jue, 08-10-2009 a las 20:17 +0200, Juan Luis Pérez Pérez escribió: 
> I'm trying to create some a custom stage3, I got stages 1 and 2, but
> when catalyst tries to make stage3 it throws this error when emerging
> openldap "/usr/portage/eclass/eutils.eclass: line 778: groupadd:
> command not found".
> 
> It tries to add group 'ldap" and fails...
> 

The same problem here. "groupadd" is part of sys-apps/shadow package and
isn't merged when building openldap. 

I think it's related to this bug:
http://bugs.gentoo.org/show_bug.cgi?id=166937

Last time I solved it doing a chroot and emerging shadow. But now
emerging shadow was not possible (some blocking packages).

I solved it adding manually ldap user and group:

/etc/passwd
ldap:x:439:439:added by portage for openldap:/usr/lib/openldap:/usr/sbin/nologin

/etc/shadow
ldap:!:14453:0:99999:7:::

/etc/group
ldap::439:

My Specs just in case...

----> stage1.spec <----
subarch: x86
target: stage1
version_stamp: lambda-2009.0
rel_type: default
profile: default/linux/x86/2008.0
snapshot: lambda-2009.0
source_subpath: default/stage3-i686-20090714
chost: i686-pc-linux-gnu

----> stage2.spec <----
subarch: pentium4
target: stage2
version_stamp: lambda-2009.0
rel_type: default
profile: default/linux/x86/2008.0
snapshot: lambda-2009.0
source_subpath: default/stage1-x86-lambda-2009.0
chost: i686-pc-linux-gnu

----> stage3-desktop.spec <----
subarch: pentium4
target: stage3
version_stamp: lambda-2009.0
rel_type: default
profile: default/linux/x86/2008.0/desktop
snapshot: lambda-2009.0
source_subpath: default/stage2-pentium4-lambda-2009.0



> Here is my spec files:
> 
> stage1.spec:
> subarch: i486
> target: stage1
> version_stamp: 20091007
> rel_type: default
> profile: default/linux/x86/2008.0
> snapshot: 20091007
> source_subpath: default/stage3-i486-20090915
> 
> stage2.spec:
> subarch: i486
> target: stage2
> version_stamp: 20091007
> rel_type: default
> profile: default/linux/x86/2008.0/desktop
> snapshot: 20091007
> source_subpath: default/stage1-i486-20091007
> 
> stage3.spec:
> subarch: i486
> target: stage3
> version_stamp: 20091007
> rel_type: default
> profile: default/linux/x86/2008.0/desktop
> snapshot: 20091007
> source_subpath: default/stage2-i486-20091007
> 
> I don't understand where is the problem, I created few stages before
> and livecds, but this is my first time in stages with desktop profile,
> is the problem this?
> 
> Juan Luis Pérez Pérez
> Website: http://www.juanluperez.com
> Registered GNU/Linux user #408294 according to counter.li.org
> --
> Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
> algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
> Gracias.
> Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-catalyst] groupadd: command not found
  2009-10-09 11:31 ` Guillermo M. Narvaja
@ 2009-10-14 16:32   ` Juan Luis Pérez Pérez
  0 siblings, 0 replies; 3+ messages in thread
From: Juan Luis Pérez Pérez @ 2009-10-14 16:32 UTC (permalink / raw
  To: gentoo-catalyst

Thanks Guillermo,

this worked for me, but I needed to change /usr/sbin/nologin for /sbin/nologin.

Juan Luis Pérez Pérez
Website: http://www.juanluperez.com
Registered GNU/Linux user #408294 according to counter.li.org
--
Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
Gracias.
Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html





On Fri, Oct 9, 2009 at 13:31, Guillermo M. Narvaja
<guillermo.narvaja@fierro-soft.com.ar> wrote:
> El jue, 08-10-2009 a las 20:17 +0200, Juan Luis Pérez Pérez escribió:
>> I'm trying to create some a custom stage3, I got stages 1 and 2, but
>> when catalyst tries to make stage3 it throws this error when emerging
>> openldap "/usr/portage/eclass/eutils.eclass: line 778: groupadd:
>> command not found".
>>
>> It tries to add group 'ldap" and fails...
>>
>
> The same problem here. "groupadd" is part of sys-apps/shadow package and
> isn't merged when building openldap.
>
> I think it's related to this bug:
> http://bugs.gentoo.org/show_bug.cgi?id=166937
>
> Last time I solved it doing a chroot and emerging shadow. But now
> emerging shadow was not possible (some blocking packages).
>
> I solved it adding manually ldap user and group:
>
> /etc/passwd
> ldap:x:439:439:added by portage for openldap:/usr/lib/openldap:/usr/sbin/nologin
>
> /etc/shadow
> ldap:!:14453:0:99999:7:::
>
> /etc/group
> ldap::439:
>
> My Specs just in case...
>
> ----> stage1.spec <----
> subarch: x86
> target: stage1
> version_stamp: lambda-2009.0
> rel_type: default
> profile: default/linux/x86/2008.0
> snapshot: lambda-2009.0
> source_subpath: default/stage3-i686-20090714
> chost: i686-pc-linux-gnu
>
> ----> stage2.spec <----
> subarch: pentium4
> target: stage2
> version_stamp: lambda-2009.0
> rel_type: default
> profile: default/linux/x86/2008.0
> snapshot: lambda-2009.0
> source_subpath: default/stage1-x86-lambda-2009.0
> chost: i686-pc-linux-gnu
>
> ----> stage3-desktop.spec <----
> subarch: pentium4
> target: stage3
> version_stamp: lambda-2009.0
> rel_type: default
> profile: default/linux/x86/2008.0/desktop
> snapshot: lambda-2009.0
> source_subpath: default/stage2-pentium4-lambda-2009.0
>
>
>
>> Here is my spec files:
>>
>> stage1.spec:
>> subarch: i486
>> target: stage1
>> version_stamp: 20091007
>> rel_type: default
>> profile: default/linux/x86/2008.0
>> snapshot: 20091007
>> source_subpath: default/stage3-i486-20090915
>>
>> stage2.spec:
>> subarch: i486
>> target: stage2
>> version_stamp: 20091007
>> rel_type: default
>> profile: default/linux/x86/2008.0/desktop
>> snapshot: 20091007
>> source_subpath: default/stage1-i486-20091007
>>
>> stage3.spec:
>> subarch: i486
>> target: stage3
>> version_stamp: 20091007
>> rel_type: default
>> profile: default/linux/x86/2008.0/desktop
>> snapshot: 20091007
>> source_subpath: default/stage2-i486-20091007
>>
>> I don't understand where is the problem, I created few stages before
>> and livecds, but this is my first time in stages with desktop profile,
>> is the problem this?
>>
>> Juan Luis Pérez Pérez
>> Website: http://www.juanluperez.com
>> Registered GNU/Linux user #408294 according to counter.li.org
>> --
>> Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
>> algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
>> Gracias.
>> Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html
>
>
>
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-10-14 16:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-08 18:17 [gentoo-catalyst] groupadd: command not found Juan Luis Pérez Pérez
2009-10-09 11:31 ` Guillermo M. Narvaja
2009-10-14 16:32   ` Juan Luis Pérez Pérez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox