[pkg-bacula-devel] Bug#923444: Bug#923444: Bug#923444: bacula: autopkgtest regressed in buster
Sven Hartge
sven at svenhartge.de
Thu Feb 28 13:38:09 GMT 2019
Um 13:30 Uhr am 28.02.19 schrieb Paul Gevers:
> Ack. So for whatever reason the order used to work, but now it doesn't
> anymore. There is no mechanism to force the order. So, how to fix this
> in the autopkgtest? Could you check if the database exists and if not,
> trigger reconfig of bacula at the start of your test? Would that solve
> the issue?
Sort of.
I now have the following code prepending the other tests:
echo "--------- reinstalling Database -----------"
DBPKG=$(dpkg-query --list 'bacula-director-*' | grep '^ii' | awk '{print
$2}')
echo "${DBPKG} ${DBPKG}/dbconfig-reinstall boolean true" |
debconf-set-selections
dpkg-reconfigure ${DBPKG}
[.....]
This kind of works, but not totally, because it generates a new password
which no longer matches the already written bacula-dir.conf and it again
falls all apart later.
More tests are needed.
Grüße,
Sven.
More information about the pkg-bacula-devel
mailing list