Bug#658915: upgrade-db prematurely deletes $CONFIG_DIR/db

Ondřej Surý ondrej at sury.org
Mon Feb 6 19:24:13 UTC 2012


Hi Andres,

thanks for the bug report.  Can you please send a patch, so I can see
what you are
actually talking about?

Ondrej.

On Mon, Feb 6, 2012 at 20:06, Andres Freund <andres at anarazel.de> wrote:
> Package: cyrus-common
> Version: 2.4.13-1
>
> While upgrading a cyrus environment from 2.2 (manually upgraded package built
> ages ago) I found upgrade-db failing in the midst of the upgrade. Looking at
> the script the issue seems to be that it removes $CONFIG_DIR/db when finding
> any non-bdb backed database which then will cause it failing for further bdb
> databases. Removing the deletion of that dir fixes the issue for me.
>
> The solution seems to be to move the removal of the directory outside the loop
> in upgradealldb which iterates over the individual databases. Am I missing
> something?
>
> Andres
>
> PS: I hit this issue in a backported (to squeeze) version but I doubt that
> actually changes anything...
>
>
>
> _______________________________________________
> Pkg-Cyrus-imapd-Debian-devel mailing list
> Pkg-Cyrus-imapd-Debian-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-cyrus-imapd-debian-devel



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





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