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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/577038

Title:
  [Upstream] Hard lock in opening files from a remote NFS volume

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/577038/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to