Gentoo Archives: gentoo-commits

From: "JosA MarAa Alonso (nimiux)" <nimiux@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in xml/htdocs/doc/es: openrc-migration.xml
Date: Mon, 17 Jan 2011 09:32:51
Message-Id: 20110117093240.A022A20054@flycatcher.gentoo.org
1 nimiux 11/01/17 09:32:40
2
3 Modified: openrc-migration.xml
4 Log:
5 Updated spanish translation.
6
7 Revision Changes Path
8 1.11 xml/htdocs/doc/es/openrc-migration.xml
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/es/openrc-migration.xml?rev=1.11&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/es/openrc-migration.xml?rev=1.11&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/es/openrc-migration.xml?r1=1.10&r2=1.11
13
14 Index: openrc-migration.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/es/openrc-migration.xml,v
17 retrieving revision 1.10
18 retrieving revision 1.11
19 diff -u -r1.10 -r1.11
20 --- openrc-migration.xml 1 Dec 2010 20:25:09 -0000 1.10
21 +++ openrc-migration.xml 17 Jan 2011 09:32:40 -0000 1.11
22 @@ -1,6 +1,6 @@
23 <?xml version='1.0' encoding='UTF-8'?>
24 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
25 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/es/openrc-migration.xml,v 1.10 2010/12/01 20:25:09 chiguire Exp $ -->
26 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/es/openrc-migration.xml,v 1.11 2011/01/17 09:32:40 nimiux Exp $ -->
27
28 <guide link="/doc/es/openrc-migration.xml" lang="es">
29 <title>Guía de Migración de Baselayout y OpenRC</title>
30 @@ -11,7 +11,10 @@
31 <author title="Autor">
32 <mail link="nightmorph"/>
33 </author>
34 -<author title="Contribuidor">
35 +<author title="Author">
36 + <mail link="robbat2"/>
37 +</author>
38 +<author title="Contribuyente">
39 <mail link="uberlord"/>
40 </author>
41 <author title="Traductor">
42 @@ -20,6 +23,9 @@
43 <author title="Traductor">
44 <mail link="mcklaren@×××××.com">Manuel Peral González</mail>
45 </author>
46 +<author title="Traductor">
47 + <mail link="nimiux"/>
48 +</author>
49
50 <abstract>
51 Esta guía muestra como migrar de baselayout-1 a baselayout-2 y
52 @@ -30,11 +36,13 @@
53 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
54 <license/>
55
56 -<version>3</version>
57 -<date>2010-12-01</date>
58 +<version>6</version>
59 +<date>2011-01-16</date>
60
61 <chapter>
62 <title>Trasfondo</title>
63 +
64 +<!-- =============================================================== -->
65 <section>
66 <title>¿Qué es baselayout?</title>
67 <body>
68 @@ -50,6 +58,7 @@
69 </body>
70 </section>
71
72 +<!-- =============================================================== -->
73 <section>
74 <title>¿Qué es OpenRC?</title>
75 <body>
76 @@ -66,6 +75,7 @@
77 </body>
78 </section>
79
80 +<!-- =============================================================== -->
81 <section>
82 <title>Entonces ¿por qué migrar?</title>
83 <body>
84 @@ -102,6 +112,7 @@
85 </section>
86 </chapter>
87
88 +<!-- =============================================================== -->
89 <chapter>
90 <title>Migrando a OpenRC</title>
91 <section>
92 @@ -126,6 +137,7 @@
93 </p>
94 </body>
95 </section>
96 +<!-- =============================================================== -->
97
98 <section id="rc_conf">
99 <title>/etc/conf.d/rc</title>
100 @@ -141,6 +153,7 @@
101 </p>
102 </body>
103 </section>
104 +<!-- =============================================================== -->
105
106 <section id="modules">
107 <title>Kernel modules</title>
108 @@ -183,19 +196,29 @@
109 versión del núcleo.
110 </p>
111
112 +<impo>
113 +Las variables <b>module*</b> no son acumulativas. Las variables que
114 +son específicas a versiones tomarán precedencia sobre las variables
115 +generales.
116 +</impo>
117 +
118 +<note>
119 +Por favor, observe la diferencia entre <b>module_</b> y <b>modules_</b>.
120 +</note>
121 +
122 <p>
123 Un ejemplo más completo sería:
124 </p>
125
126 <pre caption="Ejemplo detallado de /etc/conf.d/modules">
127 -<comment># Siempre cargar ochi1394 y ieee1394, sin importar la versión del núcleo</comment>
128 -modules="ohci1394 ieee1394"
129 -<comment># Cargar solamente tun y usbserial en núcleos de la serie 2.6.x</comment>
130 -modules_2_6="tun usbserial"
131 -<comment># Solo cargar cx88_dvb en núcleos 2.6.23</comment>
132 -modules_2_6_23="cx88_dvb"
133 -<comment># Solo cargar ivtv para el núcleo 2.6.23-gentoo-r5</comment>
134 +<comment># Cargar ivtv sólo para el núcleo 2.6.23-gentoo-r5</comment>
135 modules_2_6_23_gentoo_r5="ivtv"
136 +<comment># Cargar cx88_dvb sólo para núcleos 2.6.23 (distintos a -gentoo-r5)</comment>
137 +modules_2_6_23="cx88_dvb"
138 +<comment># Cargar tun y usbserial sólo para núcleos de la serie 2.6.x donde x != 23</comment>
139 +modules_2_6="tun usbserial"
140 +<comment># De lo contrario cargar ochi1394 y ieee1394</comment>
141 +modules="ohci1394 ieee1394"
142
143 <comment># Para el núcleo 2.6.23-gentoo-r5, pase video_br=2 a cx88_dvb</comment>
144 module_cx88_dvb_args_2_6_23_gentoo_r5="video_br=2"
145 @@ -205,17 +228,9 @@
146 module_ieee1394_args="debug"
147 </pre>
148
149 -<impo>
150 -Las variables <b>module*</b> no son acumulativas. Las variables que
151 -son específicas a versiones tomarán precendencia sobre las variables
152 -generales.
153 -</impo>
154 -
155 -<note>
156 -Por favor note la diferencia entre <b>module_</b> y <b>modules_</b>.
157 -</note>
158 </body>
159 </section>
160 +<!-- =============================================================== -->
161
162 <section id="boot">
163 <title>Nivel de ejecución boot</title>
164 @@ -275,6 +290,7 @@
165 </pre>
166 </body>
167 </section>
168 +<!-- =============================================================== -->
169
170 <section>
171 <title>Udev</title>
172 @@ -304,6 +320,7 @@
173 </pre>
174 </body>
175 </section>
176 +<!-- =============================================================== -->
177
178 <section>
179 <title>La red</title>
180 @@ -328,25 +345,27 @@
181 </p>
182
183 <p>
184 -Además, <path>/etc/conf.d/net</path> ya no usa estructuras estilo bash
185 -para la configuración. Por favor examine
186 +Además, <path>/etc/conf.d/net</path> (el anterior net) ya no usa
187 +estructuras estilo bash para la configuración. Por favor examine
188 <path>/usr/share/doc/openrc-&lt;version&gt;/net.example</path> para
189 instrucciones de configuración. La conversión debería ser
190 -relativamente sencilla, por ejemplo, una asignación estática de IP
191 -cambiaría así:
192 +relativamente sencilla, convirtiendo a lineas nuevas para entradas
193 +distintas, por ejemplo, una asignación estática de IP cambiaría así:
194 </p>
195
196 <pre caption="Estilo anterior de /etc/conf.d/net">
197 config_eth0=( "192.168.1.37 netmask 255.255.255.0 brd 192.168.1.255" )
198 -routes_eth0=( "default via 192.168.1.100" )
199 +routes_eth0=( "default via 192.168.1.100" "10.0.0.0/8 via 192.168.1.2" )
200 </pre>
201
202 <pre caption="Estilo nuevo /etc/conf.d/net">
203 config_eth0="192.168.1.37 netmask 255.255.255.0 brd 192.168.1.255"
204 -routes_eth0="default via 192.168.1.100"
205 +routes_eth0="default via 192.168.1.100
206 +10.0.0.0/8 via 192.168.1.2"
207 </pre>
208 </body>
209 </section>
210 +<!-- =============================================================== -->
211
212 <section>
213 <title>Reloj</title>
214 @@ -392,6 +411,7 @@
215 </pre>
216 </body>
217 </section>
218 +<!-- =============================================================== -->
219
220 <section>
221 <title>XSESSION</title>
222 @@ -421,6 +441,7 @@
223 </impo>
224 </body>
225 </section>
226 +<!-- =============================================================== -->
227
228 <section>
229 <title>EDITOR y PAGER</title>
230 @@ -443,6 +464,7 @@
231 </impo>
232 </body>
233 </section>
234 +<!-- =============================================================== -->
235
236 <section>
237 <title>Mensajes (Log) de Arranque</title>
238 @@ -463,6 +485,108 @@
239 </pre>
240 </body>
241 </section>
242 +<!-- =============================================================== -->
243 +
244 +<section id="rc_sys">
245 +<title>Subtipos de sistema: Casos especiales de virtualización</title>
246 +<body>
247 +
248 +<p>
249 +En las primeras versiones de OpenRC, detectábamos explícitamente
250 +múltiples tipos de virtualización, y usábamos esta detección para
251 +comprobar cuando ciertos guiones de inicialización debían ser
252 +obviados, usando la llamada <b>keyword</b> en las funciones
253 +<b>depend</b>.
254 +</p>
255 +
256 +<p>
257 +Sin embargo, a partir de la versión 0.7.0, se deberá configurar
258 +explícitamente el subtipo usando la variable <b>rc_sys</b> en
259 +<path>/etc/rc.conf</path>. El subtipo debe ajustarse para que
260 +concuerde con el entorno de virtualización en el que la raíz está.
261 +En general, un valor no vacío de <b>rc_sys</b> debe estar entre los
262 +contenedores virtuales. El nodo anfitrión tendrá <b>rc_sys=""</b>.
263 +</p>
264 +
265 +<impo>
266 +Si no tiene ningún subtipo especificado, por favor, use el valor por
267 +defecto de una cadena vacía <b>""</b>. Si la variable está sin
268 +definir, recibirá un aviso y se intentará usar el antiguo algoritmo
269 +de detección.
270 +</impo>
271 +
272 +<note>
273 +Si no sabe qué valor estaba usando su sistema con la detección
274 +automática, debe comentar de forma temporal la variable
275 +<b>rc_sys</b> y ejecutar el comando de detección <c>rc -S</c>.
276 +</note>
277 +
278 +<pre caption="Ajustando el subtipo de sistema a ninguno en /etc/rc.conf">
279 +rc_sys=""
280 +</pre>
281 +
282 +<p>
283 +El algoritmo de detección tuvo que se reemplazado por la configuración
284 +manual debido a la introducción de nuevos subtipos y cambios al núcleo
285 +que hicieron la detección original irrealizable.
286 +</p>
287 +
288 +<table>
289 +<tr>
290 + <th>Subtipo</th>
291 + <th>Descripción</th>
292 + <th>Notas</th>
293 +</tr>
294 +<tr>
295 + <ti></ti>
296 + <ti>Valor por defecto, sin subtipo</ti>
297 + <ti>No es lo mismo que dejarlo sin ajustar; FreeBSD, Linux y NetBSD</ti>
298 +</tr>
299 +<tr>
300 + <ti>jail</ti>
301 + <ti>Jaulas FreeBSD</ti>
302 + <ti></ti>
303 +</tr>
304 +<tr>
305 + <ti>lxc</ti>
306 + <ti>Contenedores Linux</ti>
307 + <ti>No es autodetectado</ti>
308 +</tr>
309 +<tr>
310 + <ti>openvz</ti>
311 + <ti>Linux OpenVZ</ti>
312 + <ti></ti>
313 +</tr>
314 +<tr>
315 + <ti>prefix</ti>
316 + <ti>Prefijo</ti>
317 + <ti>No es autodetectado; FreeBSD, Linux y NetBSD</ti>
318 +</tr>
319 +<tr>
320 + <ti>uml</ti>
321 + <ti>Linux en modo usuario (Usermode Linux)</ti>
322 + <ti></ti>
323 +</tr>
324 +<tr>
325 + <ti>vserver</ti>
326 + <ti>Linux vserver</ti>
327 + <ti></ti>
328 +</tr>
329 +<tr>
330 + <ti>xen0</ti>
331 + <ti>Dominio Xen0</ti>
332 + <ti>Linux y NetBSD</ti>
333 +</tr>
334 +<tr>
335 + <ti>xenU</ti>
336 + <ti>Dominio XenU</ti>
337 + <ti>Linux y NetBSD</ti>
338 +</tr>
339 +</table>
340 +
341 +</body>
342 +</section>
343 +<!-- =============================================================== -->
344
345 <section>
346 <title>Terminando</title>
347 @@ -478,17 +602,44 @@
348 </body>
349 </section>
350 </chapter>
351 +<!-- =============================================================== -->
352
353 <chapter>
354 <title>Funcionalidad cambiada</title>
355 <section>
356 -<title>La pausa</title>
357 +<title>La acción pausa</title>
358 +<body>
359 +
360 +<p>
361 +Previamente era posible parar un servicio temporalmente sin parar los
362 +servicios dependientes usando <c>/etc/init.d/service pause</c>. La acción
363 +<c>pause</c> ha sido eliminada de OpenRC y ha sido sustituida por
364 +<c>/etc/init.d/service --nodeps stop</c> que también funciona en el
365 +baselayout anterior.
366 +</p>
367 +
368 +</body>
369 +</section>
370 +<!-- =============================================================== -->
371 +
372 +<section>
373 +<title>La entrada rootfs en /etc/mtab</title>
374 <body>
375
376 <p>
377 -Previamente era posible parar un servicio temporalmente sin parar los servicios dependientes usando <c>/etc/init.d/service pause</c>. La acción <c>pause</c> ha sido eliminada de OpenRC y ha sido sustituida por <c>/etc/init.d/service --nodeps stop</c> que también funciona en el baselayout anterior.
378 +<!-- bugs: 194615, 219038 -->
379 +Anteriormente, la entrada inicial <b>rootfs</b> se eliminó de
380 +<path>/etc/mtab</path>, y únicamente existía la entrada para la raíz
381 +real <path>/</path>. El ítem duplicado rootfs, era añadido durante
382 +el proceso de apagado.. En OpenRC ambas entradas debían estar
383 +presentes para el soporta completo de initramfs y tmpfs-on-root.
384 +Esto conlleva que se requiere menor escritura durante el proceso de
385 +apagado.
386 </p>
387 +
388 </body>
389 </section>
390 +<!-- =============================================================== -->
391 +
392 </chapter>
393 </guide>