/[gentoo]/xml/htdocs/doc/en/openrc-migration.xml
Gentoo

Diff of /xml/htdocs/doc/en/openrc-migration.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.22 Revision 1.23
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.22 2011/01/13 03:39:04 robbat2 Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.23 2011/01/13 04:26:14 robbat2 Exp $ -->
4 4
5<guide link="/doc/en/openrc-migration.xml"> 5<guide link="/doc/en/openrc-migration.xml">
6<title>Baselayout and OpenRC Migration Guide</title> 6<title>Baselayout and OpenRC Migration Guide</title>
7 7
8<author title="Author"> 8<author title="Author">
450 450
451</body> 451</body>
452</section> 452</section>
453<!-- =============================================================== --> 453<!-- =============================================================== -->
454 454
455<section id="rc_sys">
456<title>System sub-types: Virtualization special cases</title>
457<body>
458
459<p>
460In the early versions of OpenRC, we explictly detected multiple types of
461virtualization, and used that detection to note when certain init scripts
462should be skipped, using the <b>keyword</b> call in the <b>depend</b>
463functions.
464</p>
465
466<p>
467However, as of the 0.7.0 release, you are required to explicitly configure the
468sub-type using the <b>rc_sys</b> variable in <path>/etc/rc.conf</path>.
469</p>
470
471<impo>
472If you do not have any specific sub-type, please use the default of an empty
473string <b>""</b>. If the variable is unset, you will be given a warning and we
474will attempt to use the old detection algorithm.
475</impo>
476
477<pre caption="Setting system sub-type to none in /etc/rc.conf">
478rc_sys=""
479</pre>
480
481<p>The detection algorithm had to be replaced with manual configuration due to
482the introduction of new sub-types and changes to the kernel that made prior
483detection unreliable.</p>
484
485<table>
486<tr>
487 <th>Subtype</th>
488 <th>Description</th>
489 <th>Notes</th>
490</tr>
491<tr>
492 <ti></ti>
493 <ti>Default, no sub-type</ti>
494 <ti>Not the same as unset; FreeBSD, Linux &amp; NetBSD</ti>
495</tr>
496<tr>
497 <ti>jail</ti>
498 <ti>FreeBSD jails</ti>
499 <ti></ti>
500</tr>
501<tr>
502 <ti>lxc</ti>
503 <ti>Linux Containers</ti>
504 <ti>Not auto-detected</ti>
505</tr>
506<tr>
507 <ti>openvz</ti>
508 <ti>Linux OpenVZ</ti>
509 <ti></ti>
510</tr>
511<tr>
512 <ti>prefix</ti>
513 <ti>Prefix</ti>
514 <ti>Not auto-detected; FreeBSD, Linux &amp; NetBSD</ti>
515</tr>
516<tr>
517 <ti>uml</ti>
518 <ti>Usermode Linux</ti>
519 <ti></ti>
520</tr>
521<tr>
522 <ti>vserver</ti>
523 <ti>Linux vserver</ti>
524 <ti></ti>
525</tr>
526<tr>
527 <ti>xen0</ti>
528 <ti>Xen0 Domain</ti>
529 <ti>Linux &amp; NetBSD</ti>
530</tr>
531<tr>
532 <ti>xenU</ti>
533 <ti>XenU Domain</ti>
534 <ti>Linux &amp; NetBSD</ti>
535</tr>
536</table>
537
538</body>
539</section>
540<!-- =============================================================== -->
541
455<section> 542<section>
456<title>Finishing up</title> 543<title>Finishing up</title>
457<body> 544<body>
458 545
459<p> 546<p>

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

  ViewVC Help
Powered by ViewVC 1.1.20