On Mon, Apr 18, 2005 at 08:51:48AM +0200, Torsten Landschoff wrote: > 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. Hmm, I wonder why I couldn't reproduce it here... Differing versions of debconf? > > > 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 :) Yah, either should work... :) > > 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? Yep, no way to do that since the error happens in the preinst. Then again, making the preinst script more robust against missing debconf should also fix this problem. :) -- Steve Langasek postmodern programmer
signature.asc
Description: Digital signature