Subject: Re: pkg/32738: db4 upgrade to 4.4 breaks 4.3-based apps like cyrus-imapd
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: John Kohl <jtk@kolvir.arlington.ma.us>
List: pkgsrc-bugs
Date: 02/05/2006 04:50:02
The following reply was made to PR pkg/32738; it has been noted by GNATS.
From: John Kohl <jtk@kolvir.arlington.ma.us>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
Subject: Re: pkg/32738: db4 upgrade to 4.4 breaks 4.3-based apps like cyrus-imapd
Date: Sat, 4 Feb 2006 23:46:02 -0500 (EST)
OK, some more info:
default cyrus-imapd config has only a couple of berkeley DB files,
they're all in /var/imap.
But there's also some weird interaction between berkeley DB and the
cyrus-unique skiplist database used for other databases.
to convert the berkeley DBs:
from 4.2 to 4.3 and 4.3 to 4.4, only the log file format changed, so you
only need to run 'db4_recover -h /var/imap' with the *OLD db4 package*.
Then for the skiplist files, it looks like you need to move /var/imap/db
out of the way, recreate it (mode 0700, owner cyrus:mail).
--
==John Kohl <jtk@kolvir.arlington.ma.us>, <john_kohl@alum.mit.edu>
Home page: <http://home.comcast.net/~john.kohl/>