public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Juan Luis Pérez Pérez" <juanluperez@gmail.com>
To: gentoo-catalyst@lists.gentoo.org
Subject: Re: [gentoo-catalyst] groupadd: command not found
Date: Wed, 14 Oct 2009 18:32:51 +0200	[thread overview]
Message-ID: <f200eda20910140932x188d93e3qda09619a5f28de8c@mail.gmail.com> (raw)
In-Reply-To: <1255087879.432.17.camel@yapeyu.lambdasistemas.com>

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



      reply	other threads:[~2009-10-14 16:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f200eda20910140932x188d93e3qda09619a5f28de8c@mail.gmail.com \
    --to=juanluperez@gmail.com \
    --cc=gentoo-catalyst@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox