From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1My6mV-0004Ip-03 for garchives@archives.gentoo.org; Wed, 14 Oct 2009 16:32:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E085EE07EE; Wed, 14 Oct 2009 16:32:53 +0000 (UTC) Received: from mail-gx0-f228.google.com (mail-gx0-f228.google.com [209.85.217.228]) by pigeon.gentoo.org (Postfix) with ESMTP id BDB95E07EE for ; Wed, 14 Oct 2009 16:32:53 +0000 (UTC) Received: by gxk28 with SMTP id 28so5717876gxk.9 for ; Wed, 14 Oct 2009 09:32:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=/9j1aJvrWmgoMPVK1lqivUsGmrcOh1cMefRDTdpFWwk=; b=rjd5kZo8FyJS/9bZNYI3fTrqciWlO3+PUmwL8ms9RnWQdWIXyY8wfwjCZDizwVW7qP vGiR6O3JXIZp0WzHGyTlrsOTreZM95Jwk6IIYszUCBKZ0arOeGcS9csplO6HAAhshj/Z pN1WEYPfDll5IZWTubbDtowBsihbicooFcoAA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=kHk8WFS/G4M2SVQnTSX1VaRxhxL3+y2tHfRQ1O0hiRhZwD072Q8I0Idr24IBMOik+8 wWZ6uHU6JXGh3nvsIIxhESAMDtehNP3BXiZWs/27IKCkSK9nsHkZVK09GDty2+t+XhtR 0SdwiTy82bqqm+/WNTlB+PZEWz3dxgSi0QfzA= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-Version: 1.0 Received: by 10.239.184.144 with SMTP id y16mr631737hbg.188.1255537971108; Wed, 14 Oct 2009 09:32:51 -0700 (PDT) In-Reply-To: <1255087879.432.17.camel@yapeyu.lambdasistemas.com> References: <1255087879.432.17.camel@yapeyu.lambdasistemas.com> Date: Wed, 14 Oct 2009 18:32:51 +0200 Message-ID: Subject: Re: [gentoo-catalyst] groupadd: command not found From: =?ISO-8859-1?Q?Juan_Luis_P=E9rez_P=E9rez?= To: gentoo-catalyst@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 73d96883-44d1-44bd-85f4-5359dd9ba93a X-Archives-Hash: aacf3c3b458c91cc7df2a51e96e71257 Thanks Guillermo, this worked for me, but I needed to change /usr/sbin/nologin for /sbin/nolo= gin. Juan Luis P=E9rez P=E9rez 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=FAn formato est=E1ndar 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 wrote: > El jue, 08-10-2009 a las 20:17 +0200, Juan Luis P=E9rez P=E9rez escribi= =F3: >> 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=3D166937 > > 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=E9rez P=E9rez >> 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=FAn formato est=E1ndar como "html", "pdf", "rtf", "odt" o "txt". >> Gracias. >> Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html > > > >