[Pkg-openldap-devel] Bug#595464: slapd: migration to new setup fails

Steve Langasek vorlon at debian.org
Mon Sep 13 06:54:32 UTC 2010


retitle 595464 move_old_database=false set with no explanation, error message unclear
thanks

On Wed, Sep 08, 2010 at 10:15:55PM +0200, Vincent Danjean wrote:
> On 08/09/2010 21:40, Steve Langasek wrote:
> > Hmm, that's strange.  Your bug report also didn't include the debconf
> > settings for this system;

> The system did not have mail nor reportbug, so I used my laptop (without
> slapd installed) and manually corrected generated info (dependencies, ...)
> but I forgot to add debconf entries

> > can you please provide a copy of the full entry
> > for move_old_database in /var/cache/debconf/config.dat?

> Name: slapd/move_old_database
> Template: slapd/move_old_database
> Value: true
> Owners: slapd

> Note that I manually edited this file to change the value of "Value" from
> false to true.
> Looking at other entry around, the "seen" flags is *not* set for
> slapd/move_old_database.

Hmm, then I have no explanation for why this value was set the way it was.
:(  I'll leave this bug report open for a while then in case you happen to
find the reason, or in case someone else has the same problem.

> > I'm saying that you need to move the *contents* of the directory, and
> > leave the *directory* in place.  The error message does say this: it
> > tells you that the problem is "leftover files in <directory>" and to
> > "move away stuff in there" (hmm, not a well-worded message, but it's
> > accurate).

> Ok, I did not really understand the error message. Moreover, the line
> before tell me "Moving old database directories to /var/backups:", so I
> was thinking it tried to move the directory itself and (for an unknown
> reason) failed and asked me to move it manually.

Yes, since you didn't understand the error message, it seems there is room
for improving this text.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/attachments/20100912/1efa23ea/attachment.pgp>


More information about the Pkg-openldap-devel mailing list