First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 242736
Alias:
Product:
Component:
Status: NEW
Resolution:
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: wakatanka@inode.at
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
bootman.diff A diff-file to make the needed changes to KDM's backend/bootman.c text/plain wakatanka@inode.at 2008-10-19 10:02 0000 832 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 242736 depends on: Show dependency tree
Bug 242736 blocks: 277868
Votes: 5    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.








View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-10-19 09:55 0000
When using GRUB as boot manager and wanting to reboot to a specific entry of
the boot menu, KDM displays the available options quite fine but fails to store
the selected option. The recommended way is to call /sbin/grub-set-default to
store the selected option as default for the next boot. KDM doesn't do this.
The KDE 3.5 behaved the same way. The Gentoo ebuild for kde-base/kde applied a
patch to fix this (see e.g. bug bug #153566). There is a upstream bug for KDE,
but it is still not fixed (bug #63800 of KDE).

Reproducible: Always

Steps to Reproduce:
1. Activate KDE logout menu.
2. Select one of the 'non standard default' GRUB entries.
3. Let computer reboot.

Actual Results:  
Reboots into the 'standard default' GRUB entry, not the one selected.

Expected Results:  
Reboot to the selected 'non standard default' GRUB entry.

A patch very similar to the one used in KDE 3.5 series can be applied for 4.1.2
too. We need the diff and a change to the current ebuild for KDM.

------- Comment #1 From wakatanka@inode.at 2008-10-19 10:02:29 0000 -------
Created an attachment (id=169060) [details]
A diff-file to make the needed changes to KDM's backend/bootman.c

------- Comment #2 From Walter 2008-11-28 15:02:30 0000 -------
Same problem here with KDE 4.1.3 and grub 0.97. The proposed patch solved the
issue. 

------- Comment #3 From Maciej Mrozowski 2009-09-14 23:17:09 0000 -------
Please update to 4.3.1 and see whether still applies. Also please try attached
patch.

------- Comment #4 From Tobias Kaminsky 2009-10-12 14:51:57 0000 -------
(In reply to comment #3)
> Please update to 4.3.1 and see whether still applies. Also please try attached
> patch.
> 

Trying 4.3.2 with and without patch. All does not work.
"grub-set-default 4" also does not boot in the right kernel for me.

Can someone confirm this with grub-0.97-r9?

Finswimmer

------- Comment #5 From wakatanka@inode.at 2009-10-13 09:09:47 0000 -------
(In reply to comment #4)
> (In reply to comment #3)
> > Please update to 4.3.1 and see whether still applies. Also please try attached
> > patch.
> > 
> 
> Trying 4.3.2 with and without patch. All does not work.
> "grub-set-default 4" also does not boot in the right kernel for me.
> 
> Can someone confirm this with grub-0.97-r9?
> 
> Finswimmer
> 

Both the grub-set-default command and 4.3.1 ebuild work fine for me.
Did you set up your grub menu to work with the saved default?
You would need to include "default saved" at the top of the file (see also the
added attachment for a simple example grub menu).

The bug seems also to be fixed in KDE svn now (see
http://websvn.kde.org/?revision=1030993&view=revision).

------- Comment #6 From wakatanka@inode.at 2009-10-13 09:24:41 0000 -------
(In reply to comment #5)
> ... 
> (see also the added attachment for a simple example grub menu).
> ...

OK, bugzilla hates me. Can't attach the example for some reason. As it is
rather short, added it below.


default saved
timeout 5
splashimage=(hd0,4)/grub/splash.xpm.gz

title Gentoo - KMS
    kernel (hd0,4)/kernel1 root=/dev/hda8 desktop CONSOLE=/dev/tty1
    # switch back to have the first entry as default
    savedefault 0

title Gentoo - vesafb
    kernel (hd0,4)/kernel-current root=/dev/hda8 desktop
video=vesafb:ywrap,pmipal vga=0x376 CONSOLE=/dev/tty1
    # switch back to have the first entry as default
    savedefault 0

First Last Prev Next    No search results available      Search page      Enter new bug