Bug#655845: Bug#628237: proposed fix for slapd upgrades

Ondřej Surý ondrej at sury.org
Sun Mar 4 08:38:24 UTC 2012


Thanks to all of you.

Fixed cyrus-sasl2 was uploaded.

O.

2012/3/4 Helmut Grohne <helmut at subdivi.de>:
> reassign 628237 libsasl2-2
> reassign 655845 libsasl2-2
> found 628237 2.1.25.dfsg1-3
> found 655845 2.1.25.dfsg1-3
> tags 628237 + patch
> tags 655845 + patch
> thanks
>
> Most of the work on understanding these issues was already done by Ralph
> Rößner[1] and Steve Langasek[2]. Thank you both for your excellent work.
>
> I can not explain precisely how 628237 happened. However I did try
> upgrading slapd from squeeze to sid and encountered both of these issues
> in different ways.
>
> The first event was that libsasl2-2 changed its ABI without bumping the
> soname. If you upgrade libsasl2-2 on from squeeze to sid and the upgrade
> slapd, you will see that the dumping of the database (preinst) will fail
> with the error message shown in #655845. Later Steve Langasek rebuilt[3]
> slapd against the changed libsasl2. Now this rebuilt slapd fails to work
> with squeeze libsasl2-2. This can be seen by upgrading just slapd (and
> everything it pulls which does not include libsasl2-2) from squeeze to
> sid. Interestingly this gives an error (postinst) very similar to the
> one shown in #628237, which looks like a time loop, but is what I
> observe.
>
> Now Steve Langasek already observed[2] that libsasl2-2 needs to break
> the squeeze version of slapd (or bump soname, but it is too late for
> this move). On the other hand slapd needs to depend on the changed ABI
> of libsasl2-2. The preferred way of doing this is by libsasl2-2
> providing a shlibs dependency. I attached a debdiff to cyrus-sasl2 that
> applies both changes. Of course this also requires a rebuild of openldap
> against the fixed libsasl2-2. Using these new packages the upgrade from
> squeeze to sid works as expected.
>
> Helmut
>
> [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628237#80
> [2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628237#129
> [3] version 2.4.25-4, closing #628237, see
>    http://packages.debian.org/changelogs/pool/main/o/openldap/current/changelog#version2.4.25-4
>
> _______________________________________________
> Pkg-cyrus-sasl2-debian-devel mailing list
> Pkg-cyrus-sasl2-debian-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-cyrus-sasl2-debian-devel



-- 
Ondřej Surý <ondrej at sury.org>





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