bacula-director does not start, dummy libbaccats
Bug #929523 reported by
Scott Moser
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bacula (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On 5.2.3-0ubuntu3, reported from bug 897303.
The latest package installed
When attempting to start the bacula-director the following error is logged, and the service does not start.
08-Feb 18:59 bacula-dir JobId 0: Fatal error: Please replace this dummy libbaccats library with a proper one.
08-Feb 18:59 bacula-dir JobId 0: Fatal error: Could not open Catalog "MyCatalog", database ";".
08-Feb 18:59 bacula-dir ERROR TERMINATION
Related branches
To post a comment you must log in.
bacula has mulitple implementors of the libbaccats.so (pgsql, sqlite3, mysql).
It seems like the right place for this library is in the bacula- common- <variant> package.
After one change to get the correct libbaccats- <variant> -<version> .so copied in, I have layout like: lib/bacula/ libbaccats- 5.2.3.so -> libbaccats- mysql-5. 2.3.so lib/bacula/ libbaccats- mysql-5. 2.3.so lib/bacula/ libbaccats- mysql.so -> libbaccats- mysql-5. 2.3.so lib/bacula/ libbaccats. so -> libbaccats-5.2.3.so
/usr/
/usr/
/usr/
/usr/
However, doing that results in dpkg-shlibeps complaining and failing as :
| dh_shlibdeps -pbacula-sd-mysql -Lbacula- common- mysql bacula- common- mysql/usr/ lib/bacula/ libbaccats- 5.2.3.so has an unexpected SONAME (libbaccats- mysql-5. 2.3.so) bacula- common- mysql/usr/ lib/bacula/ libbaccats- 5.2.3.so (used by debian/ bacula- sd-mysql/ usr/bin/ bscan). bacula- sd-mysql. substvars -Sdebian/ bacula- common- mysql debian/ bacula- sd-mysql/ usr/bin/ bcopy debian/ bacula- sd-mysql/ usr/bin/ bscan debian/ bacula- sd-mysql/ usr/sbin/ btape returned exit code 2 arch-common] Error 2
| dpkg-shlibdeps: warning: debian/
| dpkg-shlibdeps: error: no dependency information found for debian/
| dh_shlibdeps: dpkg-shlibdeps -Tdebian/
| make: *** [binary-
| dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
I'm not sure how to work around this, because bacula is certainly intending to provide the file libbaccats- mysql-5. 2.3.so as libbaccats- 5.2.3.so.