Comment 23 for bug 577038

Revision history for this message
Xeelee (alex-gaponline) wrote : Re: [regression] hard lock in openoffice when opening files from a remote NFS volume

The removing of the following lines in /usr/lib/openoffice/program/soffice will prevent a deadlock. I know that isn't a permanent solution...

--- soffice-orig 2010-06-03 06:37:49.000000000 +0200
+++ soffice 2011-01-26 14:50:23.000000000 +0100
@@ -90,42 +90,6 @@

 # adjust environment

-if [ -z "$SAL_ENABLE_FILE_LOCKING" ]; then
- case "$FILE_LOCKING" in
- auto)
- home_on_nfs "$@"
- if [ $? = 0 ]; then
- STAR_PROFILE_LOCKING_DISABLED=1
- export STAR_PROFILE_LOCKING_DISABLED
- fi
- file_on_nfs "$@"
- if [ $? = 0 ]; then
- SAL_ENABLE_FILE_LOCKING=0
- export SAL_ENABLE_FILE_LOCKING
- # for safety
- STAR_ENABLE_FILE_LOCKING=0
- export STAR_ENABLE_FILE_LOCKING
- else
- # file locking now enabled by default
- SAL_ENABLE_FILE_LOCKING=1
- export SAL_ENABLE_FILE_LOCKING
- fi
- ;;
- yes)
- SAL_ENABLE_FILE_LOCKING=1
- export SAL_ENABLE_FILE_LOCKING
- ;;
- no)
- SAL_ENABLE_FILE_LOCKING=0
- export SAL_ENABLE_FILE_LOCKING
- # for safety
- STAR_ENABLE_FILE_LOCKING=0
- export STAR_ENABLE_FILE_LOCKING
- STAR_PROFILE_LOCKING_DISABLED=1
- export STAR_PROFILE_LOCKING_DISABLED
- esac
-fi
-
 if [ -z "$SAL_NOOPENGL" ]; then
     case "$OPENGL_SUPPORT" in
  auto)