[CentOS] No login with kernel 2.6.18-164.el5

Olaf Mueller

daily-planet at istari.de
Wed Sep 16 14:29:21 UTC 2009


Hello,

since kernel 2.6.18-164.el5 no user could login any more from nfs client
into his home directory on nfs server. The kde error message is:
"The following installation problem was detected while trying to start
KDE:
Writing to $HOME directory (/home/<USER>) failed with the
error 'Permission denied'
KDE is unable to start."

/home is exported with nfs4 (gss/krb5), the password is delivered by
nis. Everything works fine if I reboot the nfs server into the previous
kernel 2.6.18-128.7.1.el5. Then it is completely irrelevant which
kernel version the client has. So /home export by nfs4 works for client
with kernel versions 2.6.18-164.el5 and 2.6.18-128.7.1.el5.

If the nfs server runs under kernel 2.6.18-164.el5, the error messages
for the user login process are (names for user, client and domain are
replaced):

/var/log/messages
Sep 16 15:54:13 <NFS_CLIENT> gdm[3122]:
run_session_child: »~/.xsession-errors« konnte nicht geöffnet werden
Sep 16 15:55:02 <NFS_CLIENT> ntpd[2674]: synchronized to 192.168.0.1,
stratum 14
Sep 16 15:57:14 <NFS_CLIENT> gdm[3122]:
run_session_child: »~/.xsession-errors« konnte nicht geöffnet werden

/var/log/secure
Sep 16 15:57:14 <NFS_CLIENT> gdm[3122]: pam_unix(gdm:session): session
opened for user <USER> by (uid=0)
Sep 16 15:57:14 <NFS_CLIENT> sudo: pam_unix(sudo:auth): authentication
failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=<USER>
Sep 16 15:57:14 <NFS_CLIENT> sudo: pam_krb5[7339]: authentication fails
for '<USER>' (<USER>@<DOMAIN>): Authentication failure (Decrypt
integrity check failed)

Strange files under /home/$USER:
---xrw--wT  1 <USER> <USER>     0 Jan 17  2038 SskWxq
----------  1 <USER> <USER>     0 Jan 17  2038 .xsession-errors

The following user processes are running on login error:
startkde
ssh-agent
dbus-launch
dbus-daemon
kdeinit
dcopserver
klauncher
kded
kcminit_startup
kwrapper
ksmserver


regards
Olaf




More information about the CentOS mailing list