Hello everybody, I added xend to my default runlevel. Now every time I boot my system with a kernel that is not xen enabled I get really ugly output. Would be nice to have the xend init script check if the kernel has Xen support.
Created attachment 97622 [details, diff] patch to check if kernel is Xen enabled
I fixed this by creating a new runlevel called "xen" which starts the xen and xendomains daemons. It also switches to the xorg-x11 opengl interface because you can't install the nvidia driver with a xen kernel. I choose the xen or non-xen kernel using grub. I think its better this way.
While a Xen-specific runlevel is the preferred way of dealing with this, there's no reason why we shouldn't make /etc/init.d/xend behave in a more Gentoo-like way (ie. avoiding the python stack traces). The iptables init.d script does a similar check for kernel-level support, which I'm taking as a precedent.
Fixed in app-emulation/xen-tools-3.0.2-r4, thanks.