Hello list, I've recently upgraded Bacula on an openSUSE Leap 42.3 system from release 5.2.13 to the release 7.4.4 packages from https://build.opensuse.org/package/show/home%3AXimi1970%3AopenSUSE%3AExtra/bacula I hope it's not offtopic here to ask about a problem that looks like specific to that packaging.
Those packages use openSUSE's alternatives mechanism to configure the DMBS to use for the catalog - in my case, MySQL. Unfortunately, the implementation is a bit buggy. After installation of the bacula-director and bacula-mysql packages, the symlinks for the libbaccats library in /usr/lib64 look like this: libbaccats.so -> /etc/alternatives/libbaccats.so libbaccats-mysql.so -> libbaccats-mysql-7.4.4.so libbaccats-stub.so -> libbaccats-7.4.4.so libbaccats-7.4.4.so -> libbaccats-stub-7.4.4.so The last two are obviously nonsense and cause any attempts to run the director or the dbcheck utility to fail with the error message: Fatal error: Please replace this null libbaccats library with a proper one. This is of course easily fixed by issuing the commands: ln -sf libbaccats-stub-7.4.4.so libbaccats-stub.so ln -sf /etc/alternatives/libbaccats-7.4.4.so libbaccats-7.4.4.so to produce the desired result: libbaccats.so -> /etc/alternatives/libbaccats.so libbaccats-7.4.4.so -> /etc/alternatives/libbaccats-7.4.4.so libbaccats-mysql.so -> libbaccats-mysql-7.4.4.so libbaccats-stub.so -> libbaccats-stub-7.4.4.so which allows the symlinks in /etc/alternatives: libbaccats.so -> /usr/lib64/libbaccats-mysql.so libbaccats-7.4.4.so -> /usr/lib64/libbaccats-mysql-7.4.4.so to correctly direct references to libbaccats to the MySQL variant. Regrettably, though, that solution won't last. Every other day or so, "something" resets the libbaccats-7.4.4.so symlink to the incorrect value libbaccats-stub-7.4.4.so. The director continues to run since it is already done following the symlinks, but catalog backups fail with the "null libbaccats library" error because make_catalog_backup.pl runs dbcheck to find the catalog configuration. So far I have failed to find out what does this or how to prevent it. Any ideas? advTHANKSance, Tilman -- Tilman Schmidt til...@imap.cc
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users