[Dovecot] More AFS maildir debugging
Timo Sirainen
tss at iki.fi
Wed Jan 24 20:12:40 UTC 2007
On Wed, 2007-01-24 at 18:53 +0000, pod wrote:
>
> TS> - create tmp file
> TS> - link() to .lock file
> TS> - unlink tmp file
> TS> - write to .lock file
> TS> - rename() to destination file
>
> I think the problem here is that the rename will return EXDEV in a
> cross-directory situation if the file in question is also being held
> open.
Except that Dovecot doesn't do cross-directory link()s or rename()s
here. They're all in the same directory and they still apparently don't
work.
If anything returned EXDEV, it would be logged as error and Dovecot
would give internal failure. Now it's just silently creating empty files
without any syscalls giving errors.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070124/23649355/attachment.pgp
More information about the dovecot
mailing list