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 Desktop Packages, which is subscribed to libreoffice in Ubuntu. https://bugs.launchpad.net/bugs/577038 Title: [Upstream] Hard lock in opening files from a remote NFS volume Status in LibreOffice Productivity Suite: Confirmed Status in LibreOffice: Confirmed Status in The OpenOffice.org Suite: New Status in “libreoffice” package in Ubuntu: Confirmed Status in “openoffice.org” package in Ubuntu: Won't Fix Bug description: Binary package hint: openoffice.org I recently updated to Lucid, and noticed that Openoffice would lock with opening certain files. First I thought the problem was a corrupt file, now I can reproducibly hard lock OO.org when trying to open ANY file (.xls, .doc, .odt) that is present in a remote NFS volume (locally mounted). Any file on the local hard disk can be opened without problems. Any file on the mounted NFS directory causes a hard lock, requiring a force-quit. Other applications don't show this behaviour (e.g. gedit, command line programs). Filesystem Size Used Avail Use% Mounted on /dev/md0 70G 17G 50G 26% / 192.168.10.72:/home/fernan 243G 182G 42G 82% /home/fernan/gama-remote ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: openoffice.org 1:3.2.0-7ubuntu4 ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2 Uname: Linux 2.6.32-22-generic i686 NonfreeKernelModules: nvidia Architecture: i386 Date: Fri May 7 11:48:21 2010 EcryptfsInUse: Yes ProcEnviron: LANG=en_US.utf8 SHELL=/bin/bash SourcePackage: openoffice.org To manage notifications about this bug go to: https://bugs.launchpad.net/df-libreoffice/+bug/577038/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp