[hardy] KDE applications crash on clients with CIFS mounted home directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KDE Base |
Fix Released
|
High
|
|||
kdebase (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: kdebase
I can reproduce this bug 100% of the time. Many KDE applications crash with the following output from the command line (K Interactive Geometry (kig) is an example here and 'user' is a user logged in via his LDAP account):
WARNING: Problem deleting stale lockfile /home/KAS/
Other KDE apps like kgoldrunner, ksokoban, and kbruch also produce the same error.
This is only happening with users who have logged in via their LDAP account on clients. If you log in using an account local to the machine, all of these applications run just fine.
We are using Ubuntu 8.04.2 on all client machines and same with the server.
Just to make sure, I created a brand new account (teststudent) on the server and tried running ksokoban and kig on a client. The error just loops until I kill it with ctrl-Z.
The files in question do exist. Here is the output of the folder:
teststudent@
total 3072
-rwxr--r-- 1 teststudent student 23 2009-04-30 12:16 kconf_updaterc.lock
-rwxr--r-- 1 teststudent student 14 2009-04-30 12:19 kigrc.lock
-rwxr--r-- 1 teststudent student 19 2009-04-30 12:18 ksokobanrc.lock"
The original bug is against LDAP, but I don't think that's related. I reproduced the bug using the same environment, but haven't tried to reproduce it without LDAP authentication. The result is the application newer appears on the desktop, and is producing the errors on the terminal:
WARNING: Problem deleting stale lockfile /home/KAS/
WARNING: Problem deleting stale lockfile /home/KAS/
...
- cut -
After deleting manually the lock file the error appear again with new lock file:
WARNING: Problem deleting stale lockfile /home/KAS/
WARNING: Problem deleting stale lockfile /home/KAS/
...
- cut -
The upstream bug is http://
Comments 19 through 36 look to be the most relevant ... http://
Particularly comment 24 - http://
"For all users which can not wait for an KDE update. Here is a workaround:
Add the option "serverino" when mounting a CIFS share. I tested this which
Samba 3.x on the server side. I do not know if this works with Windows on the
server side too."
...
"Thanks for the tip. It solved the problem for me on two out of three
shares.
Just a warning though: According to the mount.cifs man page you should NOT use
this workaround if your share spans more than one disk partition on the server,
as that would give you duplicate inode numbers on the client (two files, same
mount, same inode number = trouble)."
Changed in kdebase: | |
status: | Unknown → Fix Released |
Changed in kdebase: | |
importance: | Unknown → High |
Version: (using Devel)
Installed from: Compiled sources
OS: Linux
Having mounted a remote samba share via cifs (or smbfs) i noticed dolphin crashes / freezes when trying to change the sort mode or view mode on a directory that my user has no write-permissions on the server. (yet the share is being mounted as rw). Changing the mount options to ro (read-only) fixes the issue, yet I think dolphin shouldn't crash / freeze in such a situation, but handle the error gracefully. It appears it tries to write a lock-file in this directory - which it obviously fails to do.