Hi Steve, On Sun, Apr 17, 2005 at 06:16:34PM -0700, Steve Langasek wrote: > On Sun, Apr 17, 2005 at 10:28:06PM +0000, Wichert Akkerman wrote: > > It seems the default value for slapd/dump_database_destdir is set > > incorrectly: I just hit enter in debconf to accept the default value > > and as a result it is now set to the empty string:
I've already seen the problem here with the readline debconf frontend.
It does not use the default value but set the empty string when you hit
return it seems.
> I can't reproduce this problem when upgrading from 2.1.30-3 to 2.2.23-1,
> using either the readline or the dialog frontend; so I don't think it's RC,
> though the package should have better handling of invalid debconf input.
Agreed.
> > dpkg-reconfiger slapd does not ask that question again which means that
> > I'm now effectively with a broken slapd package.
>
> echo slapd slapd/dump_database_destdir /var/backups/slapd-VERSION |
> debconf-set-selections
Hmm, did not know that command. I always use debconf-communicate for
that :)
> I agree that this should be configurable using dpkg-reconfigure.
Problem is that I have no idea how to implement that. dpkg-reconfigure
runs the config script of the installed package. But how can I insert
that template into slapd 2.1.30-3?
Greetings
Torsten
signature.asc
Description: Digital signature

