Bug 431398 - kdm instantly crashes (without xfs running)
kdm instantly crashes (without xfs running)
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: kdebase (Show other bugs)
8
All Linux
low Severity medium
: ---
: ---
Assigned To: Ngo Than
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-04 01:19 EST by Greg Martyn
Modified: 2008-02-05 12:30 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-02-05 12:30:39 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Greg Martyn 2008-02-04 01:19:18 EST
Description of problem:
kdm doesn't start

Version-Release number of selected component (if applicable):
kdebase.x86_64    6:3.5.8-31.fc8

How reproducible:
always

Steps to Reproduce:
1. [root@localhost ~]# cat /etc/sysconfig/desktop
DESKTOP="KDE"
DISPLAYMANAGER="KDE"

2. logout
3. it uses gdm

--or--

1. yum remove gdm
2. logout
3. beep. logon manager is crashing. will try an alternate. endless loop.
  
Actual results:


Expected results:


Additional info:
it doesn't matter whether selinux is enabled or not
Comment 1 Rex Dieter 2008-02-04 09:04:00 EST
Is xfs installed and running?

rpm -q xorg-x11-xfs
/sbin/service xfs status
Comment 2 Greg Martyn 2008-02-04 09:23:13 EST
[root@localhost ~]# rpm -q xorg-x11-xfs
package xorg-x11-xfs is not installed
[root@localhost ~]# /sbin/service xfs status
xfs: unrecognized service

P.S.: I followed the directions from here:
http://fedoraproject.org/wiki/KDE
Comment 3 Rex Dieter 2008-02-04 10:20:07 EST
OK, quick-n-dirty fix:
yum install xorg-x11-xfs
/sbin/chkconfig xfs on
/sbin/service xfs start

I'll work to update dependencies, to ensure this doesn't get missed.
Comment 4 Greg Martyn 2008-02-04 10:20:35 EST
installing xorg-x11-xfs fixed it. thanks.
Comment 5 Alexei Podtelezhnikov 2008-02-04 13:06:11 EST
I thought that xfs is all but deprecated in Fedora 8. 
My KDM/KDE installation on i686 works just fine without it. 
Read -- it is NOT needed on i686.

Can you explain why adding xfs back in is a fix all alone?
Or is it added only in x86_64?
Comment 6 Rex Dieter 2008-02-04 13:27:46 EST
Perhaps you're right, I *thought* xfs was still included in base-x comps group,
and installed/configured by default.   But, on double-checking, I find it is
not.  Curious.

It may have to do with /etc/kde/kdm/Xresources referencing items/fonts not
available when xfs isn't running.  ??
Comment 7 Alexei Podtelezhnikov 2008-02-05 09:22:46 EST
I guess we need more info from the reporter.
Did it use to start before 3.5.8-31?
How the packages were installed? 

I am guessing that the reporter switched from Gnome and had to do
modify /etc/sysconfig/desktop. Why would he report that if he installed a KDE
spin? I wonder if all necessary themes and fonts are there.

Please report
rpm -qa '*kde*'
rpm -qa '*kdm*'
rpm -qa '*font*'
Comment 8 Greg Martyn 2008-02-05 11:13:21 EST
Yesterday I installed from the fedora 8 x86_64 dvd. I checked off KDE but didn't
check Gnome. I did a yum upgrade. /etc/sysconfig/desktop didn't exist so I
created it according to the directions on the wiki.

[root@localhost ~]# rpm -qa '*kde*'
kde-settings-3.5-35.fc8
kdesdk-3.5.8-2.fc8
kdebase-libs-3.5.8-31.fc8
kdemultimedia-libs-3.5.8-8.fc8
kdegraphics-libs-3.5.8-7.fc8
kdewebdev-libs-3.5.8-3.fc8
kdeutils-3.5.8-3.fc8
compiz-kde-0.6.2-3.fc8
kde-filesystem-4-6.fc8
kdepim-3.5.8-11.svn20080109.ent.fc8
kdenetwork-libs-3.5.8-9.fc8
lockdev-1.0.1-11.fc8.1
lockdev-1.0.1-11.fc8.1
lockdev-devel-1.0.1-11.fc8.1
kdewebdev-3.5.8-3.fc8
kdebase-3.5.8-31.fc8
kdeaddons-3.5.8-2.fc8
kdelibs-3.5.8-19.fc8
kdenetwork-3.5.8-9.fc8
kdelibs-3.5.8-19.fc8
kdeartwork-3.5.8-1.fc8
kdepim-libs-3.5.8-11.svn20080109.ent.fc8
kdesdk-libs-3.5.8-2.fc8
kdebase-libs-3.5.8-31.fc8
kdemultimedia-3.5.8-8.fc8
kdeaccessibility-3.5.8-3.fc8
kdenetwork-libs-3.5.8-9.fc8
kdegraphics-3.5.8-7.fc8
kde-settings-kdm-3.5-35.fc8
kdeaccessibility-3.5.8-3.fc8
lockdev-devel-1.0.1-11.fc8.1
kdeutils-3.5.8-3.fc8
kde-settings-pulseaudio-3.5-35.fc8
kdebindings-dcopperl-3.5.8-1.fc8
kdepim-libs-3.5.8-11.svn20080109.ent.fc8
kdegraphics-libs-3.5.8-7.fc8
[root@localhost ~]# rpm -qa '*kdm*'
fedorainfinity-kdm-theme-1.0.4-1.fc8
kdmtheme-1.2.2-1.fc8
kde-settings-kdm-3.5-35.fc8
[root@localhost ~]# rpm -qa '*font*'
libfontenc-1.0.4-4.fc8
fontconfig-devel-2.4.2-5.fc8
libXfontcache-1.0.4-3.fc8
lohit-fonts-gujarati-2.1.5-3.fc8
lohit-fonts-tamil-2.1.5-3.fc8
lohit-fonts-malayalam-2.1.5-3.fc8
xorg-x11-font-utils-7.2-2.fc8
xorg-x11-fonts-100dpi-7.2-3.fc8
bitmap-fonts-0.3-5.1.2.fc7
paktype-fonts-2.0-2.fc8
libXfontcache-1.0.4-3.fc8
libXfontcache-devel-1.0.4-3.fc8
xorg-x11-fonts-truetype-7.2-3.fc8
libXfont-devel-1.3.1-2.fc8
dejavu-lgc-fonts-2.19-1
lohit-fonts-hindi-2.1.5-3.fc8
kacst-fonts-1.6.2-2.fc8
ghostscript-fonts-5.50-18.fc8
sazanami-fonts-gothic-0.20040629-4.20061016.fc8
lklug-fonts-0.2.2-5.fc8
xorg-x11-fonts-ISO8859-1-100dpi-7.2-3.fc8
libfontenc-1.0.4-4.fc8
libfontenc-devel-1.0.4-4.fc8
baekmuk-ttf-fonts-gulim-2.2-6.fc8
lohit-fonts-oriya-2.1.5-3.fc8
cjkunifonts-uming-0.1.20060928-4.fc8
lohit-fonts-kannada-2.1.5-3.fc8
xorg-x11-fonts-misc-7.2-3.fc8
liberation-fonts-1.0-1.fc8
baekmuk-ttf-fonts-common-2.2-6.fc8
lohit-fonts-bengali-2.1.5-3.fc8
libXfontcache-devel-1.0.4-3.fc8
xorg-x11-fonts-Type1-7.2-3.fc8
libXfont-1.3.1-2.fc8
libXfont-devel-1.3.1-2.fc8
fontconfig-2.4.2-5.fc8
lohit-fonts-punjabi-2.1.5-3.fc8
urw-fonts-2.4-3.fc8
lohit-fonts-telugu-2.1.5-3.fc8
libXfont-1.3.1-2.fc8
fontconfig-2.4.2-5.fc8
jomolhari-fonts-0.003-4.fc8
tetex-fonts-3.0-44.3.fc8
Comment 9 Greg Martyn 2008-02-05 11:52:39 EST
the plot thickens:
yum remove xorg-x11-xfs

.. and kdm still works.

When I installed xorg-x11-xfs it pulled in one other dependency. I'll try to
remember which.
Comment 10 Rex Dieter 2008-02-05 11:57:56 EST
Greg, thanks!

The likely culprit is that font* scriptlets previously didn't run, so fonts.dir
(and friends) weren't created properly.  xfs forces a regeneration of all that
when run.
Comment 11 Kevin Kofler 2008-02-05 11:58:11 EST
Must be one of these (the dependencies of xorg-x11-xfs):
/bin/bash
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sort
/sbin/chkconfig
/sbin/chkconfig
/sbin/nologin
/sbin/service
/sbin/service
/usr/bin/find
/usr/bin/uniq
/usr/sbin/useradd
config(xorg-x11-xfs) = 1:1.0.5-1.fc8
coreutils
fontconfig
grep
initscripts
libFS.so.6
libXfont >= 1.2.9
libXfont.so.1
libc.so.6
libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1)
libc.so.6(GLIBC_2.3)
libc.so.6(GLIBC_2.3.4)
libc.so.6(GLIBC_2.4)
mkfontdir
mkfontscale
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)
sed
sed
ttmkfdir
Comment 12 Kevin Kofler 2008-02-05 11:58:43 EST
That, or as Rex says, it could be the %pre/%post scriptlets who fixed it.
Comment 13 Greg Martyn 2008-02-05 12:06:57 EST
It was libFS.

I just tried removing it. KDM still works. I guess I have a scriptlet to thank.
Comment 14 Rex Dieter 2008-02-05 12:19:32 EST
See also (kinda related): bug #429966 "xfs dies, startkde becomes Zombie Child
of gdm-binary on logout"
Comment 15 Rex Dieter 2008-02-05 12:30:39 EST
End result: not a kde bug.

Not sure where the bug lies truly, I just checked xorg-x11-fonts-misc and
xorg-x11-font-utils, and all appears correct (xorg-x11-fonts-misc includes
Requires(post): mkfontdir mkfontscale which are provided by xorg-x11-font-utils).

Or could be an rpm bug where the Requires(post) wasn't satisified properly
(scary, just saw one of these in rawhide today).

If anyone seeing this problem can identify the fonts.dir that's not correct, and
file a bug against the pkg owning/creating that erroneously (or reopen this one
and reassign it appropriately), the effort would be greatly appreciated by all.

Note You need to log in before you can comment on or make changes to this bug.