Bacula-users

[Bacula-users] forward port of lenny's bacula to lucid

2010-06-02 02:55:51
Subject: [Bacula-users] forward port of lenny's bacula to lucid
From: Corey Wright <undefined AT pobox DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 2 Jun 2010 01:53:34 -0500
summary: attached is a patch that allows compiling debian lenny's bacula
packages on ubuntu lucid, as lucid's bacula-fd 5.0.1 is not compatible with
lenny's bacula-director 2.4.4 (ie "Fatal error: File daemon at
"${FD_HOSTNAME}:9102" rejected Hello command").

my bacula server (director & sd) is 2.4.4 running on lenny.  my bacula
clients (fd) are lenny (2.4.4), hardy (2.2.8), and now lucid (5.0.1).  the
hardy 2.2.8 fds have worked fine with lenny's 2.4.4 director & sd, but upon
my first client upgrade from hardy to lucid with its 5.0.1 fd, the director
began reporting the aforementioned "fatal error".  an internet search
pointed to an fd-director version mismatch and somebody in the #bacula
freenode irc channel confirmed it (ie WORKS: director >= fd; DOESN'T: fd >
director), so i set about building lenny's bacula source package for lucid
as it is guaranteed to be compatible with the lenny bacula server and will
be supported by debian for just as long.

yes, debian-backports contains bacula 5.0.1 for lenny, but it's not
officially supported and the bacula server (director & sd) is the most
important piece, so i won't take chances with it.

distro release - bacula version - components used
 * hardy - 2.2.8 - fd, console
 * lenny - 2.4.4 - director, sd, fd, console
 * lucid - 5.0.1 - fd, console

instructions
 * wget -Nv
http://http.us.debian.org/debian/pool/main/b/bacula/{bacula_2.4.4-1.dsc,bacula_2.4.4.orig.tar.gz,bacula_2.4.4-1.diff.gz}
 * dpkg-source -x bacula_2.4.4-1.dsc
 * cd bacula-2.4.4/
 * patch -p1 <../bacula_2.4.4-1lucid1.patch
 * apt-get install apt-get install autotools-dev debhelper po-debconf
zlib1g-dev libreadline5-dev libjconv-dev libsqlite0-dev libsqlite3-dev
libmysqlclient15-dev libpq-dev postgresql-server-dev-8.4 libwrap0-dev
python-dev libgtk2.0-dev libgnome2-dev libwxgtk2.6-dev libacl1-dev
libkrb5-dev libgnomeui-dev libx11-dev mtx bc libxt-dev dpkg-dev libqt4-dev
libqwt5-qt4-dev
 * dpkg-buildpackage -D -us -uc
 * dpkg -i bacula-{client,fd,console,common}_2.4.4-1lucid1_*.deb

i've only tested the fd & console applications (as that's all i need
client-side).

hopefully this helps some sysadmin with the same problem.

corey
-- 
undefined AT pobox DOT com

Attachment: bacula_2.4.4-1lucid1.patch
Description: Text Data

------------------------------------------------------------------------------

_______________________________________________
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] forward port of lenny's bacula to lucid, Corey Wright <=