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

2012-02-06 Thread Ondřej Surý
Thanks, you're right, the whole block should be outside while cycle. Will upload it right away. O. On Mon, Feb 6, 2012 at 20:51, Andres Freund wrote: > Hi Ondrey, > > On Monday, February 06, 2012 08:24:13 PM Ondřej Surý wrote: >> thanks for the bug report.  Can you please send a patch, so I can

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

2012-02-06 Thread Andres Freund
Hi Ondrey, On Monday, February 06, 2012 08:24:13 PM Ondřej Surý wrote: > thanks for the bug report. Can you please send a patch, so I can see > what you are > actually talking about? My patch currently is total crap, thats why I didn't send it so far ;) Its attached now. Andres --- /tmp/cyrus-u

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

2012-02-06 Thread Ondřej Surý
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 wrote: > Package: cyrus-common > Version: 2.4.13-1 > > While upgrading a cyrus environment from 2.2 (manually upgraded packag

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

2012-02-06 Thread Andres Freund
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 data