[pkg-bacula-devel] 11.0.0 has been released

Sven Hartge sven at svenhartge.de
Thu Dec 17 18:34:35 GMT 2020


On 17.12.20 17:52, Mario Pranjic wrote:

> Not sure if this one got through due to attachments, so I am re-sending 
> without them.

The DB being different between 9.6.7 and 11.0.0 is known.

The interesting part is if there are differences between a freshly 
installed 11.0.0 DB and one upgraded from 9.6.7

The schemas have to be identical.

If they are not, then there is a bug in the upgrade scripts that needs 
to be fixed upstream.

And the same test needs to be one once we (as in Debian) have done the 
packaging to verify we didn't break something.

Currently the install-dbconfig helper script uses awk to extract the SQL 
commands to create or upgrade the DB from upstreams upgrade scripts and 
putts them into files to be used by dbconfig for the same purpose

This worked for the past upgrades, but those were linear.

The current upgrade script has conditions in it which the awk script 
can't parse and thus extracts the wrong upgrade statements.

There are several mitigations for this that I can see, but all involve 
manually massaging the code instead of having this done automatically.

Grüße,
Sven.



More information about the pkg-bacula-devel mailing list