<?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>139603</bug_id>
          
          <creation_ts>2006-07-07 14:14 0000</creation_ts>
          <short_desc>KDM: Select grub menu entry on reboot fails</short_desc>
          <delta_ts>2006-09-08 04:19:14 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>KDE</component>
          <version>2006.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>g.menke@gmx.net</reporter>
          <assigned_to>kde@gentoo.org</assigned_to>
          <cc>heiko@baums-on-web.de</cc>
    
    <cc>ikrabbe.ask@web.de</cc>

      

      
          <long_desc isprivate="0">
            <who>g.menke@gmx.net</who>
            <bug_when>2006-07-07 14:14:36 0000</bug_when>
            <thetext>When I select a grub menu entry from kdm&apos;s reboot button, kdm tries to open a grub shell and use the command &quot;setdefault&quot;, which does not exist. Probably there is a distro that patches grub to have that option, but in gentoo that is not the case. I have made a patch so kdm uses &quot;grub-set-default&quot; instead, and submitted it on bugs.kde.org. Until it eventually makes its way into a KDE release, it is probably a good thing to add the patch to portage.
You can find it here: http://bugs.kde.org/show_bug.cgi?id=63800#c8</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>g.menke@gmx.net</who>
            <bug_when>2006-07-07 14:16:03 0000</bug_when>
            <thetext>Created an attachment (id=91166)
Patch for KDM to use grub-set-default

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>carlo@gentoo.org</who>
            <bug_when>2006-07-07 17:12:38 0000</bug_when>
            <thetext>Whoever takes a look at this, please take also 

https://bugs.kde.org/show_bug.cgi?id=127045

into account. /me is lilo only, so...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>deathwing00@gentoo.org</who>
            <bug_when>2006-08-30 08:18:57 0000</bug_when>
            <thetext>I&apos;ll try to do something with this.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>deathwing00@gentoo.org</who>
            <bug_when>2006-08-30 08:30:13 0000</bug_when>
            <thetext>Note to self: both patches need to be applied to kde-base/kdebase and kde-base/kdm</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>deathwing00@gentoo.org</who>
            <bug_when>2006-08-30 08:38:32 0000</bug_when>
            <thetext>It might be smart to add the following einfo:

   First, modify your configuration file. Here is an example:

     default saved        # This is important!!!
     timeout 10

     title the old kernel
     root (hd0,0)
     kernel /old_kernel
     savedefault

     title the new kernel
     root (hd0,0)
     kernel /new_kernel
     savedefault 0         # This is important!!!
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>deathwing00@gentoo.org</who>
            <bug_when>2006-08-30 08:46:05 0000</bug_when>
            <thetext>I notice that the patches are in fact 3 and not 2. I&apos;ll add them to kde-base/kdm only for now. Once it gets tested enough we can move the patches to kde-base/kdebase.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>deathwing00@gentoo.org</who>
            <bug_when>2006-08-30 08:48:24 0000</bug_when>
            <thetext>My bad, the patches are 2 definitely. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>deathwing00@gentoo.org</who>
            <bug_when>2006-08-30 09:10:29 0000</bug_when>
            <thetext>kde-base/kdm fixed in CVS

Proceeding with kde-base/kdebase</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>deathwing00@gentoo.org</who>
            <bug_when>2006-08-30 09:54:23 0000</bug_when>
            <thetext>Patch for kde-base/kdebase will be added by carlo together with another patch set. Marking as fixed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>deathwing00@gentoo.org</who>
            <bug_when>2006-09-08 04:19:14 0000</bug_when>
            <thetext>*** Bug 143051 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>91166</attachid>
            <date>2006-07-07 14:16 0000</date>
            <desc>Patch for KDM to use grub-set-default</desc>
            <filename>kdm-3.5.3-grub-set-default.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGtkbS0zLjUuMy5vcmlnL2tkbS9iYWNrZW5kL2Jvb3RtYW4uYwkyMDA1LTA5LTEwIDEwOjI2
OjEyLjAwMDAwMDAwMCArMDIwMAorKysga2RtLTMuNS4zL2tkbS9iYWNrZW5kL2Jvb3RtYW4uYwky
MDA2LTA3LTA3IDIyOjA5OjA4LjAwMDAwMDAwMCArMDIwMApAQCAtODIsNyArODIsNyBAQAogCWlu
dCBsZW47CiAJY2hhciBsaW5lWzEwMDBdOwogCi0JaWYgKCFncnViICYmICEoZ3J1YiA9IGxvY2F0
ZSggImdydWIiICkpKQorCWlmICghZ3J1YiAmJiAhKGdydWIgPSBsb2NhdGUoICJncnViLXNldC1k
ZWZhdWx0IiApKSkKIAkJcmV0dXJuIEJPX05PTUFOOwogCiAJKmRlZiA9IDA7CkBAIC0xMzAsMTkg
KzEzMCwxNCBAQAogc3RhdGljIHZvaWQKIGNvbW1pdEdydWIoIHZvaWQgKQogewotCUZJTEUgKmY7
Ci0JaW50IHBpZDsKLQlzdGF0aWMgY29uc3QgY2hhciAqYXJnc1tdID0geyAwLCAiLS1iYXRjaCIs
ICItLW5vLWZsb3BweSIsIDAgfTsKLQorCWNoYXIgY29tbWFuZFsyNTZdOworCQogCWlmIChzZFJl
Yy5ibXN0YW1wICE9IG1UaW1lKCBHUlVCX01FTlUgKSAmJgogCSAgICBzZXRHcnViKCBzZFJlYy5v
c25hbWUsICZzZFJlYyApICE9IEJPX09LKQogCQlyZXR1cm47CiAKLQlhcmdzWzBdID0gZ3J1YjsK
LQlpZiAoKGYgPSBwT3BlbiggKGNoYXIgKiopYXJncywgJ3cnLCAmcGlkICkpKSB7Ci0JCWZwcmlu
dGYoIGYsICJzYXZlZGVmYXVsdCAtLWRlZmF1bHQ9JWQgLS1vbmNlXG4iLCBzZFJlYy5vc2luZGV4
ICk7Ci0JCXBDbG9zZSggZiwgcGlkICk7Ci0JfQorCXNwcmludGYoY29tbWFuZCwgIiVzICVkIiwg
Z3J1Yiwgc2RSZWMub3NpbmRleCk7CisJc3lzdGVtKGNvbW1hbmQpOwogfQogCiBzdGF0aWMgY2hh
ciAqbGlsbzsK
</data>        

          </attachment>
    </bug>

</bugzilla>