Gentoo Archives: gentoo-catalyst

From: "Guillermo M. Narvaja" <guillermo.narvaja@×××××××××××××××.ar>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] groupadd: command not found
Date: Fri, 09 Oct 2009 11:30:55
Message-Id: 1255087879.432.17.camel@yapeyu.lambdasistemas.com
In Reply to: [gentoo-catalyst] groupadd: command not found by "Juan Luis Pérez Pérez"
1 El jue, 08-10-2009 a las 20:17 +0200, Juan Luis Pérez Pérez escribió:
2 > I'm trying to create some a custom stage3, I got stages 1 and 2, but
3 > when catalyst tries to make stage3 it throws this error when emerging
4 > openldap "/usr/portage/eclass/eutils.eclass: line 778: groupadd:
5 > command not found".
6 >
7 > It tries to add group 'ldap" and fails...
8 >
9
10 The same problem here. "groupadd" is part of sys-apps/shadow package and
11 isn't merged when building openldap.
12
13 I think it's related to this bug:
14 http://bugs.gentoo.org/show_bug.cgi?id=166937
15
16 Last time I solved it doing a chroot and emerging shadow. But now
17 emerging shadow was not possible (some blocking packages).
18
19 I solved it adding manually ldap user and group:
20
21 /etc/passwd
22 ldap:x:439:439:added by portage for openldap:/usr/lib/openldap:/usr/sbin/nologin
23
24 /etc/shadow
25 ldap:!:14453:0:99999:7:::
26
27 /etc/group
28 ldap::439:
29
30 My Specs just in case...
31
32 ----> stage1.spec <----
33 subarch: x86
34 target: stage1
35 version_stamp: lambda-2009.0
36 rel_type: default
37 profile: default/linux/x86/2008.0
38 snapshot: lambda-2009.0
39 source_subpath: default/stage3-i686-20090714
40 chost: i686-pc-linux-gnu
41
42 ----> stage2.spec <----
43 subarch: pentium4
44 target: stage2
45 version_stamp: lambda-2009.0
46 rel_type: default
47 profile: default/linux/x86/2008.0
48 snapshot: lambda-2009.0
49 source_subpath: default/stage1-x86-lambda-2009.0
50 chost: i686-pc-linux-gnu
51
52 ----> stage3-desktop.spec <----
53 subarch: pentium4
54 target: stage3
55 version_stamp: lambda-2009.0
56 rel_type: default
57 profile: default/linux/x86/2008.0/desktop
58 snapshot: lambda-2009.0
59 source_subpath: default/stage2-pentium4-lambda-2009.0
60
61
62
63 > Here is my spec files:
64 >
65 > stage1.spec:
66 > subarch: i486
67 > target: stage1
68 > version_stamp: 20091007
69 > rel_type: default
70 > profile: default/linux/x86/2008.0
71 > snapshot: 20091007
72 > source_subpath: default/stage3-i486-20090915
73 >
74 > stage2.spec:
75 > subarch: i486
76 > target: stage2
77 > version_stamp: 20091007
78 > rel_type: default
79 > profile: default/linux/x86/2008.0/desktop
80 > snapshot: 20091007
81 > source_subpath: default/stage1-i486-20091007
82 >
83 > stage3.spec:
84 > subarch: i486
85 > target: stage3
86 > version_stamp: 20091007
87 > rel_type: default
88 > profile: default/linux/x86/2008.0/desktop
89 > snapshot: 20091007
90 > source_subpath: default/stage2-i486-20091007
91 >
92 > I don't understand where is the problem, I created few stages before
93 > and livecds, but this is my first time in stages with desktop profile,
94 > is the problem this?
95 >
96 > Juan Luis Pérez Pérez
97 > Website: http://www.juanluperez.com
98 > Registered GNU/Linux user #408294 according to counter.li.org
99 > --
100 > Por favor, no adjunte documentos en formatos "doc", "ppt", sino en
101 > algún formato estándar como "html", "pdf", "rtf", "odt" o "txt".
102 > Gracias.
103 > Cf: http://www.gnu.org/philosophy/no-word-attachments.es.html

Replies

Subject Author
Re: [gentoo-catalyst] groupadd: command not found "Juan Luis Pérez Pérez" <juanluperez@×××××.com>