This also happens when using ldap backend. I'm suspecting that the slapd.preinst is the culprit to this bug:
dump_databases() { # {{{
# If the user wants us to dump the databases they are dumped to the
# configured directory.
local db suffix file dir failed slapcat_opts
database_dumping_enabled || return 0
dir=`database_dumping_destdir`
echo >&2 " Dumping to $dir: "
for suffix in `get_suffix`; do file="$dir/$suffix.ldif" echo -n " - directory $suffix... " >&2
# Need to support slapd.d migration from preinst
if [ -f "${SLAPD_CONF}" ]; then slapcat_opts="-f ${SLAPD_CONF}" else slapcat_opts="-F ${SLAPD_CONF}"
fi slapcat ${slapcat_opts} -b "$suffix" > "$file" || failed=1
if [ "$failed" ]; then rm -f "$file" echo failed. >&2 exit 1
fi echo "done." >&2
done
}
This also happens when using ldap backend. I'm suspecting that the slapd.preinst is the culprit to this bug:
dump_databases() { # {{{
# If the user wants us to dump the databases they are dumped to the
# configured directory.
local db suffix file dir failed slapcat_opts
echo >&2 " Dumping to $dir: "
for suffix in `get_suffix`; do
# Need to support slapd.d migration from preinst
if [ -f "${SLAPD_CONF}" ]; then
fi
if [ "$failed" ]; then
fi
done
}