WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] xen 4.1 (src) and runlevels on deb 6

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xen 4.1 (src) and runlevels on deb 6
From: Mark Pryor <tlviewer@xxxxxxxxx>
Date: Thu, 2 Jun 2011 15:50:11 -0700 (PDT)
Delivery-date: Thu, 02 Jun 2011 15:51:59 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1307055012; bh=QQ7qiPMU9vGfeHx7vQmYymzKbnyPKAAC6VaE8aHL1wo=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=mdskPIZiDMacrMnLupxgGXyc0O3eESAqhnPVtGbh5+zasTphwAuILwcCfY+ovF/nWtUf9BrXl3Abm1JEoyDXCWRCAHQL7PzPJ1NfV3HI3aP0W2VK3OyU7uppQlDNillTRNAuwX3a+gCU+hySiUOf/o9CFUcPL9gAD45h5EWfmwU=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=Eah5kEd6HQ2ybwpK9KqNsZKfKdYwPaHRcAu9XA/isJIPPxW6SzvF8NHttENb+G7pfZZmXDlSsp+PLvlGk6UszRGA7sPeFyPG36pCiykFQPL7iVJU5I2yvKD1B/ja1n4HT0t7Oce5DVPxZnAecfY3S2mI8joiwyxB2p48HXRcPhw=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
List,

Wrong runlevel settings with xen 4.1 from src on deb 6
------------

What a nice idea - in deb 6, use the dom0 from Apt and build xen 4.1 from 
source.

All goes well, until you do this
---------
for in in xencommons xend xendomains; do sudo update-rc.d $i defaults; done

When you reboot, its clear that none of the services are up. You investigate 
and check Default-Start values of init scripts.
--------
grep Default-Start /etc/init.d/xend ->
   # Default-Start:     3 4 5
 
However, default runlevel in Debian is
---------
runlevel -> N 2

It appears that runlevel values for xencommons, xend, and xendomains are for RH 
systems, not Debian.

Here's the fix
------------
sysv-rc-conf --level 12345 xencommons on
sysv-rc-conf --level 06 xencommons off

sysv-rc-conf --level 2345 xend on
sysv-rc-conf --level 016 xend off

sysv-rc-conf --level 2345 xendomains on
sysv-rc-conf --level 016 xendomains off

cat >> /etc/modules<<EOL
xen-evtchn
xenfs
dm-mod
EOL

-- 
Mark
ChmEarl on ##xen@xxxxxxxxxxxx

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>