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: "Guillermo M. Narvaja" <guillermo.narvaja@...>
Subject: Re: groupadd: command not found
Date: Fri, 09 Oct 2009 08:31:19 -0300
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




Replies:
Re: groupadd: command not found
-- Juan Luis Pérez Pérez
References:
groupadd: command not found
-- Juan Luis Pérez Pérez
Navigation:
Lists: gentoo-catalyst: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
groupadd: command not found
Next by thread:
Re: groupadd: command not found
Previous by date:
groupadd: command not found
Next by date:
Re: groupadd: command not found


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.