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