[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.