OOo needs mount.cifs to default to nobrl if possible

Bug #582925 reported by Chris Cheney
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Invalid
Undecided
Unassigned
Lucid
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: samba

This doesn't affect me directly but I maintain OpenOffice.org for Ubuntu.

It appears after getting numerous reports that OOo does not save properly to cifs mounted filesystems that the cause is due to the fact the 'nobrl' option is not being used. The root cause of this bug may be a problem in OOo itself but according to the man page of mount.cifs it sounds like it would probably be a good idea to use this option in any case.

nobrl
       Do not send byte range lock requests to the server. This is
       necessary for certain applications that break with cifs style
       mandatory byte range locks (and most cifs servers do not yet
       support requesting advisory byte range locks).

Some of the OOo bugs, I may have missed some, are bug 486443, and bug 578402. Also upstream bug http://qa.openoffice.org/issues/show_bug.cgi?id=93957 among 10 other cifs related bugs, probably all caused by lack of nobrl.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: smbfs 2:3.4.7~dfsg-1ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic x86_64
Architecture: amd64
CIFSMounts: Error: command ['mount', '|', 'grep', 'cifs'] failed with exit code 1: mount: only root can do that
Date: Wed May 19 11:26:35 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100128)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SambaClientRegression: No
SourcePackage: samba

Revision history for this message
Chris Cheney (ccheney) wrote :
Changed in samba (Ubuntu):
importance: Undecided → High
description: updated
Changed in samba (Ubuntu Lucid):
milestone: none → ubuntu-10.04.1
importance: Undecided → High
Chris Cheney (ccheney)
description: updated
Revision history for this message
Chris Cheney (ccheney) wrote :

I found that we do have a way to disable locking entirely for cifs in OOo that we can use if this bug isn't considered good or safe to fix by enabling nobrl.

Revision history for this message
Chris Cheney (ccheney) wrote :

The workaround for OOo required updating coreutils to detect cifs which I have added a patch for in bug 582980.

Chris Cheney (ccheney)
Changed in samba (Ubuntu Lucid):
status: New → Invalid
Changed in samba (Ubuntu):
status: New → Invalid
Changed in samba (Ubuntu Lucid):
milestone: ubuntu-10.04.1 → none
Changed in samba (Ubuntu):
importance: High → Undecided
Changed in samba (Ubuntu Lucid):
importance: High → Undecided
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.