I mount /home over NFS from another Linux machine. Most programs are
fine with it, albeit mutt is a little slow reading a 1000 message
debian-user in Maildir format. However, I have two programs in
particular that don't seem to like this. kexpress, a KDE-based
newsreader, and Wordperfect 8. WP8 complains that it can't access files
in ~/.wprc because they are 'in use'. I rmed that directory and it still
doesn't work. I think that it is trying to lock the files in some
non-NFS compatible way.

The same thing happens with kexpress. The strace shows a line like this:
fcntl(4, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = -1
ENOLCK (No locks available)

and it prompty bombs out. Linking ~/.kde/share/apps/kexpress to a local
directory inside of /usr/local solves the problem, so it is definately
NFS related. But, that's an ugly solution.

Are there any workarounds to these NFS locking problems?
-- 
Stephen Pitts
[EMAIL PROTECTED]
webmaster - http://www.mschess.org

Reply via email to