[Dovecot] Bug? 1.0.0-test28 NFS locking problems

Timo Sirainen tss at iki.fi
Wed Jul 21 15:30:35 EEST 2004


On 21.7.2004, at 01:09, Tim Southerwood wrote:

>>> 2) O_CREAT | O_EXCL are documented not to work over NFS properly
>>> (see man open(2) on linux). So I knocked out the O_EXCL and combined
>>> with (1) dovecot will talk over NFS to remote mbox files.
>>
>> I don't think it breaks even if it's used, it just doesn't do
>> anything? Dovecot doesn't rely on it, it's just for extra safety in
>> case it works.
>>
>
> Not sure - it does seem to do what it's supposed according to man open
> (fail), according to strace. But before I make those changes, the code
> has problems with my setup. After it works. The test28 works perfectly
> in this repsect at home where I don't use NFS for mail.

What problems? Does it print error messages? I browsed google for a 
while and it looks like that the O_EXCL problem is gone with NFSv3, 
except with Linux.

Would be nice if there was a summary of different NFS problems with 
different NFS clients and servers..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20040721/8177880c/attachment-0001.bin>


More information about the dovecot mailing list