Comment 40 for bug 577038

Revision history for this message
FernanAguero (fernan-ciudad) wrote :

The fix for me was to mount the NFS volume 'nolock' in /etc/fstab, e.g:

LibreOffice fails to open files in NFS volume:
192.168.1.1:/home/fernan /home/fernan/nfs-mount/ nfs noexec,nosuid,bg 0 1

LibreOffice now successfully reads/writes files from/to NFS volume:
192.168.1.1:/home/fernan /home/fernan/nfs-mount/ nfs noexec,nosuid,nolock,bg 0 1

I can't confirm, however, the workaround proposed by htgoebel. Neither commenting out the following (in /usr/lib/libreoffice/program/soffice):

# file locking now enabled by default
SAL_ENABLE_FILE_LOCKING=1
export SAL_ENABLE_FILE_LOCKING

Nor setting SAL_ENABLE_FILE_LOCKING=0

Nor changing the locking configuration in /etc/libreoffice/soffice.sh to FILE_LOCKING=no worked

This is now on Ubuntu 12.04 LTS
My NFS server (FreeBSD) remains at 6.4 (RELENG_6_4) as reported previously.

Hope this helps more people.