Problem with NFS locking after upgrade 9.2.1.7

Status
Not open for further replies.

meku

Dabbler
Joined
May 4, 2014
Messages
34
I have share that is available by NFS and CIFS with Apply Default Permissions so ACLs are enabled.
Code:
$ getfacl .
# file: .
# owner: user
# group: Users
  owner@:rwxpDdaARWcCos:fd----:allow
  group@:rwxpDdaARWcCos:fd----:allow
  everyone@:r-x---a-R-c---:fd----:allow


After upgrade from 9.2.1.6->9.2.1.7 I get errors when creating file locks on the NFS share
For example:
Code:
$ vim somefile
E325: ATTENTION
Found a swap file by the name ".somefile.swp"
  owned by: user  dated: Fri Sep  5 17:12:15 2014
  [cannot be read]
While opening file "somefile"

$ ls -la
-rwxrwxr-x  1 user Users  0 Sep  5 17:12 .somefile.swo
-rwxrwxr-x  1 user Users  0 Sep  5 17:12 .somefile.swp


I have no problem copying/writing/deleting files so it seems it is just related to locks.

If I remove ACLs the problem no longer happens. Is this a bug?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
No, you aren't reading the big warning in the manual. You aren't supposed to share the same files with 2 different protocols at the same time. It causes file locking problems and will result in data corruption.
 
Status
Not open for further replies.
Top