Bug 693419

Summary: kdm shutdown delay
Product: [openSUSE] openSUSE 11.4 Reporter: Wolfgang Rosenauer <wolfgang>
Component: KDE4 WorkspaceAssignee: E-mail List <kde-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: ctrippe, werner
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 11.4   
Whiteboard:
Found By: Community User Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Wolfgang Rosenauer 2011-05-12 15:43:14 UTC
I'm using KDM and sometimes trying to shut down from there.
Since openSUSE 11.4 if I click Menu at the bottom and choose Shutdown it takes around 20! seconds until the popup appears which let me choose the exact shutdown method (restart, shutdown etc).

I found one kdm message in /var/log/messages but not sure if it is related:

May 12 17:35:33 Hygiea kdm[1370]: Cannot execute 'grub-set-default': not in $PATH.
Comment 1 Wolfgang Rosenauer 2011-05-25 09:36:44 UTC
Not even a single request for certain information?
The issue is _very_ annoying.
Comment 2 Christian Trippe 2011-05-25 17:20:50 UTC
Sorry for not responding earlier. I can reproduce the bug and yes, it is related to the error message.

Adding the workaround from bug 695299 makes it fast again.
Comment 3 Christian Trippe 2011-05-25 17:21:54 UTC
*** Bug 695299 has been marked as a duplicate of this bug. ***
Comment 4 Christian Trippe 2011-05-25 17:23:45 UTC
From bug 695299:

grub-set-default is outdated. 

Workaround: add as root

   ln -sf grubonce /usr/sbin/grub-set-default
Comment 5 Wolfgang Rosenauer 2011-05-26 11:42:30 UTC
I need to do a few more tests but I linked the binary and still had the same issue at last shutdown.
So I'm not sure this is duplicate.
Comment 6 Christian Trippe 2011-11-12 14:59:46 UTC
With 12.1 I do not see the messages for grub-set-default any longer in /var log/messages. This was probably fixed by coolo. From kdebase4-workspace package

* Fr Okt 21 2011 coolo@suse.com
- kdm: don't even look for grub-set-default, we won't need it

However the delay when pressing the button still exists. However there is a newer report with all relevant information including a link to a fix for KDE 4.8. So I close this report as a dup of the newer one.

So it seems you were right and this was not really a duplicate but some strange incident that it worked for me.

If you still see warnings about grub-set-default in /var/log/messages with 12.1 I would be great if you could open a new bug.

*** This bug has been marked as a duplicate of bug 729823 ***