Talk:Xen

The init script section: To add these daemons directly to the default runlevel perform the following: root #rc-update add xencommons default root #rc-update add xenconsoled default root #rc-update add xendomains default root #rc-update add xenstored default root #rc-update add xen-watchdog default

These daemons should only be started when the system boots into Xen. As this may not always be the case, it may be desirable to keep these services out of the default runlevel. One possible alternative is to utilize an alternate default runlevel via the softlevel kernel parameter. The following example, based on this blog post, creates a new runlevel named xen.

First create the new runlevel: root #install -d /etc/runlevels/xen

Stack the default runlevel onto it: root #rc-update -s add default xen

Then instead of adding the xen daemons to the default runlevel add them to the xen level: root #rc-update add xencommons xen root #rc-update add xenconsoled xen root #rc-update add xendomains xen root #rc-update add xenstored xen root #rc-update add xen-watchdog xen

If you are going to have mutually exclusive alternatives, the flag the user ahead of time with something like: Init Scripts: There are two alternatives: 1) always starting Xen 2) running Xen when appropriate.

Better yet, why not just have the "xen" runlevel approach only? This way you're covered no matter what and if someone is maintaining it, they will have enough saavy to understand that a separate run level "xen" has been created, so you're not really added complexity.