Debian Patches

Status for bacula/9.6.7-3

Patch Description Author Forwarded Bugs Origin Last update
upstream/fix-update_sqlite3_tables Fix sqlite3 update script Carsten Leonhardt <leo@debian.org> yes upstream 2017-09-10
upstream/relative-dirs-for-reproduceability Use only relative paths to make build reproducible See also https://tests.reproducible-builds.org/debian/issues/unstable/gcc_captures_build_path_issue.html Sven Hartge <sven@svenhartge.de> yes upstream
upstream/fix-pkg-config-autoconf-macro Use PKG_PROG_PKG_CONFIG macro to search for pkg-config. It is cross-compile safe. Sven Hartge <sven@svenhartge.de> yes upstream 2018-02-27
upstream/fix-8bit-encoding Fix 8bit encoding by converting to UTF-8 Carsten Leonhardt <leo@debian.org> yes upstream 2020-09-08
upstream/fix-make_db-scripts_easier_to_use Make variables in database scripts easier to manually override Sven Hartge <sven@svenhartge.de> no 2020-09-30
upstream/fix-memory-overflow-access alist: Fix for memory overflow access.
Upstream commit 5ce0d3ff70d34dd05bb303d3d696f31c1785960c

diff --git a/src/lib/alist.c b/src/lib/alist.c
index 30914152c..81f60aba7 100644
Radosław Korzeniewski <radekk@inteos.pl> not-needed 2020-12-24
upstream/btraceback-verbose Backport btraceback from 11.0.1 to improve btraceback output
Fix org#2587 Improve btraceback output

Reported by Carsten

At Debian we had bug reports because of the emails that btraceback sends.
Apparently the users were confused because of a lack of explanation in the email.
Eric Bollengier <eric@baculasystems.com> yes debian upstream 2021-01-06
debian/fix-default-config Change default configs for correct processing by postinst script Debian Bacula Team <pkg-bacula-devel@lists.alioth.debian.org> not-needed 2018-11-20
debian/fix-default-dbtype Change default dbtype for possibility to install correct files in packages for different dbtype. Alexander Golovko <alexandro@ankalagon.ru> not-needed 2012-07-24
debian/fix-sql-bindir Fix SQL BINDIR Jan Hauke Rahm <jhr@debian.org> not-needed 2012-06-28
debian/unescape-mysql-syntax fix unnecessary escaping Since we use this code directly by dbconfig, not from sh-script as upstream,
there is no need to escape symbols.
Scott Moser <smoser@ubuntu.com> not-needed
debian/remove-upstream-autoconf-log Remove unused files from upstream sources (found by lintian) Alexander Golovko <alexandro@ankalagon.ru> not-needed 2012-06-01
debian/fix-libbaccats-rpath Remove RPATH from libbaccats*.so (found by lintian) Alexander Golovko <alexandro@ankalagon.ru> not-needed 2012-06-02
debian/fix-paths-examples-devices fix @scriptdir@ in examples/devices/*.conf Arne Wichmann <arnew-reportbug@rasentrimmer.org> not-needed debian upstream 2015-12-08
debian/enable-hardening-for-qmake Enable hardening for QMake We need to use a combination of the hardening notes for QMake and CMake Carsten Leonhardt <leo@debian.org> not-needed debian https://wiki.debian.org/Hardening#Notes_for_packages_using_QMake 2015-11-15
debian/customize-systemd-units Adapt upstream systemd units to Debian packaging Sven Hartge <sven@svenhartge.de> not-needed
debian/customize-systemd-240-units Use Type=exec for systemd-240+ Sven Hartge <sven@svenhartge.de> not-needed
debian/fix-qmake-binary-source-path change binary source path after compilation Thomas Beierlein <tomjbe@gentoo.org> not-needed
debian/make-buildoutput-verbose Unhide the compiler output so the build log scanner works Sven Hartge <sven@svenhartge.de> not-needed
debian/use-debian-path-for-interpreter Fix Lintian error about the interpreter path Sven Hartge <sven@svenhartge.de> not-needed 2018-12-27
debian/fix-desktop-in-files Fix some lintian and validator warnings in FreeDesktop files Sven Hartge <sven@svenhartge.de> not-needed
debian/non-silent-build Make build non-silent Remove flag "--silent" from libtool invocations to make the build log
scanner work
Carsten Leonhardt <leo@debian.org> not-needed 2018-11-12
debian/fix-usr_libexec_paths Fix libexec path in man-pages Sven Hartge <sven@svenhartge.de> not-needed
debian/fix-mysql-racecondition Bug in database locking code causes concurrency problems and job failures (patch attached)
In Bacula 9.6.4, the following code change was made at src/dird/dird.c:1268 :

- strncpy(catalog->db_driver, BDB_db_driver, db_driver_len);
+ bstrncpy(catalog->db_driver, BDB_db_driver, db_driver_len);

It was not noticed at the time that this introduced an off-by-one error that
led to a bug in DB driver definition which prevents reuse of the BDB object,
leading to unexpected concurrency between jobs, leading in turn to job failures
due to race conditions writing to the database.

The fix is to change that line to:

bstrncpy(catalog->db_driver, BDB_db_driver, db_driver_len+1);
Martin Simmons <martin@lispworks.com> not-needed 2021-01-19

All known versions for source package 'bacula'

Links