[clc-devel] [CRUX] #28: OpenOffice.org 2.0.x file locking and NFS
#28: OpenOffice.org 2.0.x file locking and NFS -----------------------------+---------------------------------------------- Id: 28 | Status: new Component: ports | Modified: Thu Dec 22 21:46:29 2005 Severity: normal | Milestone: Priority: normal | Version: 2.0 Owner: sip@varlock.com | Reporter: jdolan -----------------------------+---------------------------------------------- OOo 2.0.x now uses file locking by default, which is kindof nice, but does not currently work with CRUX's nfs ports, even when lockd is running on both client and server machines. Others (Debain) users have noticed the same behaviour. Some report limited success in reading/writing files over NFS in OOo by downgrading their NFS server's protocol to version2, but this is an undesirable solution for one application. Another option is to disable file locking via the soffice startup script, as this was the default in OOo 1.x: --- /usr/bin/soffice 2005-10-15 10:02:19.000000000 -0400 +++ soffice 2005-12-22 15:38:44.000000000 -0500 @@ -35,13 +35,13 @@ #************************************************************************* # -# STAR_PROFILE_LOCKING_DISABLED=1 -# export STAR_PROFILE_LOCKING_DISABLED +STAR_PROFILE_LOCKING_DISABLED=1 +export STAR_PROFILE_LOCKING_DISABLED # # file locking now enabled by default SAL_ENABLE_FILE_LOCKING=1 -export SAL_ENABLE_FILE_LOCKING +#export SAL_ENABLE_FILE_LOCKING # the following test is needed on Linux PPC with IBM j2sdk142 if [ `uname -s` = "Linux" -a "`uname -m`" = "ppc" ] ; then See http://www.openoffice.org/issues/show_bug.cgi?id=54586 -- Ticket URL: <http://crux.nu/cgi-bin/trac.cgi/ticket/28> CRUX <http://crux.nu/> CRUX
#28: OpenOffice.org 2.0.x file locking and NFS -----------------------------+---------------------------------------------- Id: 28 | Status: closed Component: ports | Modified: Sat Dec 24 09:40:46 2005 Severity: normal | Milestone: Priority: normal | Version: 2.0 Owner: sip@varlock.com | Reporter: jdolan -----------------------------+---------------------------------------------- Changes (by sip): * resolution: => fixed * status: new => closed Comment: I opted for simply putting a note on the README since I believe OO locking is something one would want as a default behaviour, and we cannot know for sure at build time if the user will access OO files on a NFS share (even if nfs is active/installed) -- Ticket URL: <https://crux.nu/cgi-bin/trac.cgi/ticket/28> CRUX <http://crux.nu/> CRUX
#28: OpenOffice.org 2.0.x file locking and NFS -----------------------------+---------------------------------------------- Id: 28 | Status: reopened Component: ports | Modified: Sat Dec 24 09:41:21 2005 Severity: normal | Milestone: Priority: normal | Version: 2.0 Owner: sip@varlock.com | Reporter: jdolan -----------------------------+---------------------------------------------- Changes (by sip): * resolution: fixed => * status: closed => reopened -- Ticket URL: <https://crux.nu/cgi-bin/trac.cgi/ticket/28> CRUX <http://crux.nu/> CRUX
#28: OpenOffice.org 2.0.x file locking and NFS --------------------+------------------------------------------------------- Id: 28 | Status: new Component: ports | Modified: Sat Dec 24 09:42:26 2005 Severity: normal | Milestone: Priority: normal | Version: 2.0 Owner: sip | Reporter: jdolan --------------------+------------------------------------------------------- Changes (by sip): * status: reopened => new * owner: sip@varlock.com => sip Comment: Sorrry for the noise, I reopened and reassigned to the user so the email is not visible. -- Ticket URL: <https://crux.nu/cgi-bin/trac.cgi/ticket/28> CRUX <http://crux.nu/> CRUX
#28: OpenOffice.org 2.0.x file locking and NFS --------------------+------------------------------------------------------- Id: 28 | Status: closed Component: ports | Modified: Sat Dec 24 09:42:41 2005 Severity: normal | Milestone: Priority: normal | Version: 2.0 Owner: sip | Reporter: jdolan --------------------+------------------------------------------------------- Changes (by sip): * resolution: => fixed * status: new => closed -- Ticket URL: <https://crux.nu/cgi-bin/trac.cgi/ticket/28> CRUX <http://crux.nu/> CRUX
#28: OpenOffice.org 2.0.x file locking and NFS --------------------+------------------------------------------------------- Id: 28 | Status: closed Component: ports | Modified: Thu Dec 29 17:06:07 2005 Severity: normal | Milestone: Priority: normal | Version: 2.0 Owner: sip | Reporter: jdolan --------------------+------------------------------------------------------- Comment (by jdolan): Okay, I can live with that. From what I've found OOo 2.x is not yet stable, anyway. We're reverting to 1.1.5. Bugger :/ -- Ticket URL: <https://crux.nu/cgi-bin/trac.cgi/ticket/28> CRUX <http://crux.nu/> CRUX
#28: OpenOffice.org 2.0.x file locking and NFS --------------------+------------------------------------------------------- Id: 28 | Status: closed Component: ports | Modified: Wed Feb 15 04:57:16 2006 Severity: normal | Milestone: Priority: normal | Version: 2.0 Owner: sip | Reporter: jdolan --------------------+------------------------------------------------------- Comment (by anonymous): Thank you! I was experiencing the same failure mode with OO-2 under FreeBSD-5.4. Works fine now. -- Ticket URL: <http://crux.nu/cgi-bin/trac.cgi/ticket/28> CRUX <http://crux.nu/> CRUX
participants (1)
-
CRUX