Bacula-users

[Bacula-users] Fedora - RHEL/CentOS rpm repository 5.2.8

2012-06-11 11:33:52
Subject: [Bacula-users] Fedora - RHEL/CentOS rpm repository 5.2.8
From: Simone Caronni <negativo17 AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 11 Jun 2012 15:03:56 +0200
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).

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] Fedora - RHEL/CentOS rpm repository 5.2.8, Simone Caronni <=