Hi Torsten,
I just installed another package of slapd. In fact it was the first
package installed after I followed your advice to use "echo FSET
slapd/dump_database_destdir seen false|debconf-communicate". So I was
asked whether I wanted an automatic dump, and I was asked the question
about the destination directory. I just pressed enter since the default
destination directory is fine for me. Installation aborted since
postinst could not backup slapd.conf to directory ''.
Well, I am too tired now to figure out whether this is a result of my
manual setting of dump_database_destdir or it is because I accepted with
enter and actually there is no default.
Anyway, the following simple patch should be correct in both cases,
postinst ran smoothly after applying.
Thanks,
Thomas
--- slapd.postinst.orig 2005-05-28 23:07:58.094412590 +0200
+++ slapd.postinst 2005-05-28 23:20:04.867191684 +0200
@@ -83,6 +83,9 @@
local dir
db_get slapd/dump_database_destdir
+ if [ -z "$RET" ]; then
+ RET=/var/backups/slapd-VERSION
+ fi
dir=`echo "$RET"|sed -e "s/VERSION/$OLD_VERSION/"`
mkdir -p -m 700 "$dir"
echo $dir
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]