Bug 153543

Summary: kdm/X Server problem with kdebase3-kdm-3.5.1-27.i586.rpm
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Francois Chenier <belgix>
Component: KDEAssignee: Stephan Kulow <coolo>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P4 - Low CC: adi, brian, cwgriffin7, forgotten_jq9zgB7cRO, Ivory, kde-maintainers, kkathman, matz, ruurd
Version: unspecified   
Target Milestone: ---   
Hardware: i386   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Francois Chenier 2006-02-25 09:24:31 UTC
I know supplementary packages are not well supported by SuSE but few words to let you know you that package kdebase3-kdm-3.5.1-27.i586.rpm (24-02-06) in directory /pub/suse/i386/supplementary/KDE/update_for_10.0 of your ftp & mirror sites does not work at all with SuSE 10.0. After installing this update, kdm and/or X server hangs (100%) at the next computer start-up.

To fix this problem, (unlucky) users should roll back to package kdebase3-kdm-3.5.1-18.i586.rpm which is fairly stable.
Comment 1 Dirk Mueller 2006-02-25 16:47:40 UTC
please provide diff of rpm -q -changelog

there is no way for me to figure out which changes you reverted, since the release numbers are autogenerated and recorded nowhere. 
Comment 2 Korky Kathman 2006-02-25 19:05:45 UTC
I documented another fix to this in 

http://www.suseforums.net/index.php?showtopic=21280

In essence, at the bootloader, if you go to init 3, run yast and disable the service "earlykdm", remove from level 5, save and go to init 5, everything will boot properly.

Im not sure that this helps solve the problem, but absolutely if the -27 file is used, SUSE 10 will not boot 100% of the time.  Many instances of this are being noted in #suse as we speak.
Comment 3 Brian Harris 2006-02-25 20:30:43 UTC
The new EARLYKDM is invoking 'preload' with the file name passed as a parameter rather than via sysin.

Re-inserting the < characters, while keeping the new file locations, seems to fix the problem. 

Here is the diff between the original 10 version and the new rpm version:

--- earlykdm    2005-09-14 12:20:00.000000000 +0100
+++ /etc/init.d/earlykdm~       2006-02-24 03:37:35.000000000 +0000
@@ -114,10 +114,10 @@

 if test "$1" = "start" && test -x /sbin/preload; then
    if test -z "$DISPLAYMANAGER_AUTOLOGIN"; then
-      /sbin/preload < /var/cache/preload/kdm.preload
+      /sbin/preload /etc/preload.d/kdm
    else
-      /usr/bin/ionice -n2 /sbin/preload < /var/cache/preload/kdm.auto.preload
-      /usr/bin/ionice -n6 /sbin/preload < /var/cache/preload/kde.preload &
+      /usr/bin/ionice -n2 /sbin/preload /etc/preload.d/kdm.auto
+      /usr/bin/ionice -n6 /sbin/preload /etc/preload.d/kde &
       echo $! > /var/run/preload-session.pid
    fi
 fi


Comment 4 Rui Malheiro 2006-02-26 14:16:29 UTC
*** Bug 153560 has been marked as a duplicate of this bug. ***
Comment 5 Rui Malheiro 2006-02-26 14:20:06 UTC
*** Bug 153575 has been marked as a duplicate of this bug. ***
Comment 6 Ruurd Pels 2006-02-26 22:29:00 UTC
Actually, the patch in comment #1 seems to generate the problem. ITSM the information in /etc/preload.d/ is used to generate the information in /var/cache/preload/ and actual testing shows me that invoking preload from the commandline as

  prelaod /etc/preload.d/somepreloadinfofile

actually waits until preload reads an EOF from stdin. The patch is IMHO wrong and should be reverted.

I think it would be a good thing to elevate severity to critical here, this is gong to bite more people in the end.
Comment 7 Dirk Mueller 2006-02-27 08:04:59 UTC
ugh, this was caused by the fix for bug 147673
Comment 8 Dirk Mueller 2006-02-27 08:09:05 UTC
*** Bug 153582 has been marked as a duplicate of this bug. ***
Comment 9 Dirk Mueller 2006-02-27 10:20:59 UTC
should be fixed when you see this changelog: 

-------------------------------------------------------------------
Mon Feb 27 10:51:56 CET 2006 - coolo@suse.de

- only use preload if it's the 10.1 version (#153543)

Comment 10 Korky Kathman 2006-02-27 17:58:18 UTC
Based on the 2006-02-27 entry from Dirk Mueller, and the bug status, this is now resolved it seems.

What is the appropriate way to be assured of getting the proper patch? Where is the new rpm for kdebase3-kdm ?  Will this be a new version different than -27?
Comment 11 Stephan Kulow 2006-02-28 09:48:21 UTC
*** Bug 154059 has been marked as a duplicate of this bug. ***
Comment 12 Francois Chenier 2006-03-02 02:37:27 UTC
kdebase3-kdm-3.5.1-33.i586.rpm released yesterday March 1 works fine.

Thanks!