16 Mar
2007
16 Mar
'07
5:45 p.m.
On Thu, 2007-03-15 at 14:28 +0100, Michal Soltys wrote:
- imap process creates .temp file (descriptor 0x7 is returned)
- hardlink is created to that .temp file, as dovecot.index.log.newlock
- .temp file is removed
- attempt to open dovecot.index.log is being made (file doesn't exist)
- imap writes some data to 0x7
- dovecot.index.log.newlock is renamed to dovecot.index.log
- 0x7 is flocked
- dovecot.index.log is opened (descriptor 0x8)
- attempt to flock 0x8 is made, blocking imap forever
Fixed: http://dovecot.org/list/dovecot-cvs/2007-March/008217.html