cyrus-imapd-2.2 and libdb

Sven Mueller sven at debian.org
Fri Apr 17 14:40:43 UTC 2009


There are two issues here:
1) The BDB version to be used in future cyrus-imapd packages is yet
   undecided because there have been issues with various versions
   between 4.2 and 4.6. OpenLDAP and Cyrus IMAPd & SASL are the
   software packages that trigger the most BDB bugs. But we tend
   to follow the OpenLDAP maintainers on their decision (whichever it
   is).
2) If you upload an NMU, you must make sure that the existing BDB
   databases are not simply discarded, but are converted to whatever
   you are intending to use. Make sure your upgrading scripts also
   work with non-standard configurations.

The second issue (and a serious lack in time of the old pack of
maintainers - those you originally Cc'd: benjamin, hmh, ondrej and me)
is the main reason why there isn't already a newer package of
cyrus-imapd which actually uses a newer BDB version. We maintainers are
quite sure that we do not want a package update to break any previously
working installation on the users site, so whatever the update does, it
must make sure that it somehow parses /etc/imapd.conf, checking the *_db
settings (falling back to the defaults if one isn't found) for any
"berkeley" entries, and upgrades those if there are any. Note that the
user might also have changed some paths (actually, I think that it is
more common to do so than not) to the databases.

The following databases (check pathes on an actual installation) are
berkeleydb by default:
duplicate_db (berkeley-nosync)
ptscache_db (berkeley)
tlscache_db (berkeley-nosync)
(where the last one might actually be purged on upgrades and re-created)

Note also that some of the databases are per user, some per partition...

As you see, the upgrade is far from being trivial. So help is greatly
appreciated, but simply using the Ubuntu patch(es) and rebuilding will
not do it.

Regards,
Sven

Barry deFreese schrieb:
> Benjamin Seidenberg wrote:
>> We would object to an NMU. Please see the discussion of BDB versions on
>> the project mailing list -
>> http://lists.alioth.debian.org/pipermail/pkg-cyrus-imapd-debian-devel/
>>
>> Further discussion should happen on-list.
>>
>> Thanks,
>> Benjamin
>>
>>
>> Barry deFreese wrote:
>>  
>>> Hi folks,
>>>
>>> I am working to get rid of any libdb versions prior to libdb4.6.  Are
>>> any of you actively working on cyrus-imapd-2.2?  If not, would you mind
>>> an NMU based on some of the changes made in Ubuntu?
>>>
>>> Thank you!
>>>
>>> Barry deFreese
>>> Debian QA
>>>     
> Benjamin,
> 
> Thanks for the quick reply but I don't see much discussion on the list
> unless I'm missing something.  I see a thread about 4.3 vs 4.2 but that
> won't do it as 4.3 is already gone.  How long ago was the discussion?
> 
> Thanks,
> 
> Barry



More information about the Pkg-Cyrus-imapd-Debian-devel mailing list