Hi Thomas, 

On Wed, Apr 13, 2005 at 03:12:17PM +0200, Thomas Prokosch wrote:
> Yesterday I upgraded from slapd 2.1 to version 2.2. I was asked where I
> wanted to store the database dump. However I misinterpreted the question,
> the "VERSION" hint made me think that I was asked for a filename template
> within an already existing directory. Later I realized that I was asked for
> a directory name only, without the filename part.

Do you have a suggestion how to improve the wording so this isn't
interpreted wrongly?

> So I want to change the directory location to which the backups are made
> but I did not find any other way than calling dpkg-reconfigure, which is

... which you don't want to do since it will create a new LDAP database
from scratch. Maybe that's something to change as well.

> kind of cumbersome since I do not want to set the other options again (such
> as passwords or organization name etc).

They default to the old value so it shouldn't be too hard but you'll
lose your data. So don't do it. :)

> So it would be really nice when those options could be set via a shell
> snippet in /etc/default, or alternatively the slapd/dump_database_destdir

Hmm, did not want to do that since I don't want to repeat configuration
settings all around. Maybe I'll add the option to overwrite it from
there which will stop debconf from ever asking it. Let's see...

> setting is asked each time when an upgrade is performed (which would make
> sense anyway since free space on the partitions is probably subject to
> change). Calling "db_fset slapd/dump_database_destdir seen false || true"

It will also annoy users so I don't want to got along that route. The
question is mostly there anyway so that the backup is on the same
partition as the mv command will then be very quick. 

> after the database upgrade has been finished would probably be enough to
> solve this problem.

Quick work around for you:

  echo FSET slapd/dump_database_destdir seen false|debconf-communicate

Thanks for your reports!

        Torsten

Attachment: signature.asc
Description: Digital signature

Reply via email to