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@freenode.net _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> On Thu, 2 Jun 2011 15:50:11 -0700 <tlviewer@yahoo.com> wrote: > > 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<_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
for runlevel 2 there is already this patch from unstable, now i do also backports for 4.1-testing: http://xenbits.xen.org/hg/staging/xen-unstable.hg/rev/99e9bed36e2e -- View this message in context: http://xen.1045712.n5.nabble.com/xen-4-1-src-and-runlevels-on-deb-6-tp4449618p4450248.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users