[Dovecot] rmdir() warnings with 1.1.rc1

Timo Sirainen tss at iki.fi
Sun Feb 24 02:57:32 EET 2008


On Sat, 2008-02-23 at 13:17 -0500, Dean Brooks wrote:
> Hi,
> 
> Looks like there are still some Solaris rmdir() warnings being
> logged to syslog in 1.1.rc1 in nfs_flush_file_handle_cache_dir():
> 
>    Feb 23 13:09:51 sx3 dovecot: [ID 107833 mail.error] IMAP(ran04): \
>    nfs_flush_file_handle_cache_dir: rmdir(/var/mail) failed: Device busy
> 
> Manual for rmdir on Solaris states:
> 
>      EBUSY The directory to be removed is the mount point  for  a
>            mounted file system.
> 
> We are using /var/mail mounted from NFS, which explains the EBUSY
> return code.  

So you have mbox INBOXes in /var/mail?

> Not sure how you would be able to get the cache flushed
> in this situation.

rmdir() is the only possibility and EBUSY doesn't flush it. But I'm
beginning to think that maybe this can be fixed for mboxes without
flushing the parent dir cache. mbox files in general don't get deleted,
so the flushing is probably pretty useless.

-------------- 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/20080224/7ba7127d/attachment.bin 


More information about the dovecot mailing list