|
From: Simone C. <neg...@gm...> - 2012-06-11 13:04:08
|
I updated the repository to 5.2.8.
I introduced a change in the spec file that checks for the obsolete
symlinks for bacula-dir, bacula-sd (>=F16) and
libbaccats-backend-version.so (=F17) and sets the new one accordingly
so the change should not be done manually.
So even an upgrade from F16 to F17 or RHEL 6 bundled Bacula to this
one should be safe and retain the preferences.
Excerpt from the spec file:
# Fix for automatic selection of backends during upgrades
if readlink /etc/alternatives/libbaccats.so | grep --silent mysql || \
readlink /etc/alternatives/bacula-dir | grep --silent mysql || \
readlink /etc/alternatives/bacula-sd | grep --silent mysql; then
/usr/sbin/alternatives --set libbaccats.so %{_libdir}/libbaccats-mysql.so
elif readlink /etc/alternatives/libbaccats.so | grep --silent sqlite || \
readlink /etc/alternatives/bacula-dir | grep --silent sqlite || \
readlink /etc/alternatives/bacula-sd | grep --silent sqlite; then
/usr/sbin/alternatives --set libbaccats.so %{_libdir}/libbaccats-sqlite3.so
else
/usr/sbin/alternatives --set libbaccats.so
%{_libdir}/libbaccats-postgresql.so
fi
Regards,
--Simone
--
You cannot discover new oceans unless you have the courage to lose
sight of the shore (R. W. Emerson).
|