Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-catalyst
Navigation:
Lists: gentoo-catalyst: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-catalyst@g.o
From: Juan Luis Pérez Pérez <juanluperez@...>
Subject: Re: groupadd: command not found
Date: Wed, 14 Oct 2009 18:32:51 +0200
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@...> 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
>
>
>
>


References:
groupadd: command not found
-- Juan Luis Pérez Pérez
Re: groupadd: command not found
-- Guillermo M. Narvaja
Navigation:
Lists: gentoo-catalyst: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: groupadd: command not found
Next by thread:
Too many problems with groupadd when creating stage3
Previous by date:
Re: groupadd: command not found
Next by date:
Too many problems with groupadd when creating stage3


Updated Nov 19, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.