<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>148486</bug_id>
          
          <creation_ts>2006-09-21 03:48 0000</creation_ts>
          <short_desc>app-emulation/xen-tools: xend init script should test for xen enabled kernel</short_desc>
          <delta_ts>2006-10-13 17:06:41 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>2006.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <status_whiteboard>scheduled for -r4</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mail@earthworm.de</reporter>
          <assigned_to>aross@gentoo.org</assigned_to>
          <cc>xen@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>mail@earthworm.de</who>
            <bug_when>2006-09-21 03:48:52 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mail@earthworm.de</who>
            <bug_when>2006-09-21 03:49:41 0000</bug_when>
            <thetext>Created an attachment (id=97622)
patch to check if kernel is Xen enabled

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robert.spam.me.senseless@gmail.com</who>
            <bug_when>2006-09-22 04:20:39 0000</bug_when>
            <thetext>I fixed this by creating a new runlevel called &quot;xen&quot; which starts the xen and xendomains daemons.  It also switches to the xorg-x11 opengl interface because you can&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aross@gentoo.org</who>
            <bug_when>2006-09-22 08:01:25 0000</bug_when>
            <thetext>While a Xen-specific runlevel is the preferred way of dealing with this, there&apos;s no reason why we shouldn&apos;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&apos;m taking as a precedent.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aross@gentoo.org</who>
            <bug_when>2006-10-13 17:06:41 0000</bug_when>
            <thetext>Fixed in app-emulation/xen-tools-3.0.2-r4, thanks.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>97622</attachid>
            <date>2006-09-21 03:49 0000</date>
            <desc>patch to check if kernel is Xen enabled</desc>
            <filename>xend.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC90bXAveGVuZAkyMDA2LTA5LTIxIDEyOjQ0OjAyLjgyNTY4NzI2MCArMDIwMAorKysgL2V0
Yy9pbml0LmQveGVuZAkyMDA2LTA5LTIxIDEyOjQ3OjI3LjIzODUwMjgwMyArMDIwMApAQCAtMTks
MTAgKzE5LDE0IEBACiB9CiAKIHN0YXJ0KCkgewotCWViZWdpbiAiU3RhcnRpbmcgWGVuIGNvbnRy
b2wgZGFlbW9uIgotCS91c3Ivc2Jpbi94ZW5kIHN0YXJ0Ci0JL3Vzci9zYmluL3hlbmQgc3RhdHVz
IHx8IGF3YWl0X2RhZW1vbnNfdXAKLQllZW5kICQ/CisJaWYgWyAtZSAvcHJvYy94ZW4gXTsgdGhl
bgorCQllYmVnaW4gIlN0YXJ0aW5nIFhlbiBjb250cm9sIGRhZW1vbiIKKwkJL3Vzci9zYmluL3hl
bmQgc3RhcnQKKwkJL3Vzci9zYmluL3hlbmQgc3RhdHVzIHx8IGF3YWl0X2RhZW1vbnNfdXAKKwkJ
ZWVuZCAkPworCWVsc2UKKwkJZWluZm8gIk5vdCBzdGFydGluZyBYZW4geG9udHJvbCBkYWVtb24s
IGtlcm5lbCBoYXMgbm8gWGVuIHN1cHBvcnQuIgorCWZpCiB9CiAKIHN0b3AoKSB7Cg==
</data>        

          </attachment>
    </bug>

</bugzilla>