[Dovecot] new crashes: is the index/mail cache endian neutral?

Timo Sirainen tss at iki.fi
Tue Mar 6 16:29:54 EET 2007


On Mon, 2007-03-05 at 01:21 -0800, Dan Price wrote:
> Part of our migration plan takes our users from one endianness to
> another (big to little).  Will the index and mail cache files survive?

It should rebuild the index files silently and automatically.

> I'm
> seeing some new core dumps as the first test user is migrated, which makes me
> think... not.  

Looks like the endianess check was done a bit too late. This should fix
it: http://dovecot.org/list/dovecot-cvs/2007-March/007927.html

> What about if we want to build dovecot 64 bit in the future?
> Will that cause problems too?

No, the index files will survive that change. If sizeof(off_t) changes
then dovecot.index.cache file gets rebuilt, but the default is to use
64bit offsets also with 32bit machines (at least with Linux and
Solaris).

> dovecot: Mar 01 09:20:44 Warning: IMAP(foobar): fscking index file /home/foobar/
> Mail/imapd-indices/Mail/.imap/NDMP/dovecot.index
> dovecot: Mar 01 09:20:44 Error: child 111112 (imap) killed with signal 11

http://dovecot.org/list/dovecot-cvs/2007-March/007929.html should fix
this.

-------------- 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/20070306/492f86fa/attachment.pgp 


More information about the dovecot mailing list