Bug#458861: cyrus-sasl2: Please build against db4.6

Roberto C. Sánchez roberto at connexer.com
Thu Jan 3 14:31:39 UTC 2008


On Thu, Jan 03, 2008 at 12:14:21PM +0100, Martin Pitt wrote:
> Package: cyrus-sasl2
> Version: 2.1.22.dfsg1-16
> Tags: patch
> User: ubuntu-devel at lists.ubuntu.com
> Usertags: origin-ubuntu hardy ubuntu-patch
> 
> Hi!
> 
Hi Martin,

> In the interest of cleaning up old db4.x versions it would be great if
> you could move cyrus-sasl2 to the latest libdb4.6. I attach a patch
> for this.
> 
This has been seomthing which has been brought to our attention in the
past.  The version of cyrus-sasl2 which shipped with Etch builds against
db4.2.  Since then, we have updated to db4.4.  If I recall correctly,
there were concerns expressed by people about db4.5 (poor performance)
and also db4.6 (possible performance issues, though I am not certain,
and also lack of maturity).

> Two things which should be considered:
> 
>  * I did not do any performance tests. Performance does not seem
>    overly crucial to me for an authentication database.
> 
I seem to receall mention by someone on the list of using cyrus-sasl2 to
maintain an authentication of database of ~50,000 credentials.  Now, I
forget if that posting came from one of the group members or from
someone who was just an interested user.  However, with no perofmrance
testing, I am reluctant to apply the patch.

Unfurtonately, I am not capable to doing that testing myself either,
since I do not personally use the db features of cyrus-sasl2.

>  * The data format between the various db4.x did not change, and
>    cyrus-sasl does not use on-disk transactions (in fact it does not
>    use any transactions at all, check grep -r DB_TXN). Thus the
>    upgrade in the postinst is not necessary. However, in the spirit of
>    the existing 4.2->4.4 upgrade I updated this code for 4.4->4.6,
>    too. You need to adapt the package version number in the patch.
> 
This might ease things somewhat.  I will try and look into it.  However,
I would feel better if one of the group members who is more familiar
with DB could chime in.

> Thanks for considering,
> 

Regards,

-Roberto

-- 
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-cyrus-sasl2-debian-devel/attachments/20080103/e693c8aa/attachment.pgp 


More information about the Pkg-cyrus-sasl2-debian-devel mailing list