[pkg-bacula-devel] Bug#923444: bacula: autopkgtest regressed in buster

Carsten Leonhardt leo at debian.org
Sat Mar 2 14:34:37 GMT 2019


Hi,

maybe using a trigger can help us:

In bacula-director-psql/mysql postinst, pseudo code:

1 if (database server is being installed in the same run)
2   then (install trigger to postpone database setup)
3   else (setup database now)
4 if triggered: (setup database now)

Thoughts/explanations:
Step 1: I haven't researched yet if it's possible to reliably detect
        that
Step 3: set up now as we won't get triggered later
Step 4: But what to trigger on exactly? 


An simple but stupid and unelegant alternative would be to generate meta
packages "bacula-director-local-psql/mysql" that _depend_ on the database
server packages.

 - Carsten



More information about the pkg-bacula-devel mailing list