From c0e8c877ef1c51f46bedb1a70c4a7774ef8e6eb9 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 20 Feb 2009 08:24:27 +0000 Subject: [PATCH] ebl Fix #1233 git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8484 91ce42f0-d328-0410-95d8-f526ca767f89 --- .../testing/fix_1233_bootstrap_name.patch | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 bacula/patches/testing/fix_1233_bootstrap_name.patch diff --git a/bacula/patches/testing/fix_1233_bootstrap_name.patch b/bacula/patches/testing/fix_1233_bootstrap_name.patch new file mode 100644 index 0000000000..35d26d8b00 --- /dev/null +++ b/bacula/patches/testing/fix_1233_bootstrap_name.patch @@ -0,0 +1,40 @@ + This patch fixes a bootstrap creation file problem when + all daemons have the same name. It fixes bug #1233. + + Apply it to trunk with: + + cd + patch -p0 < fix_1233_bootstrap_name.patch + ./configure + make + ... + make install + + + +Index: src/filed/job.c +=================================================================== +--- src/filed/job.c (révision 8483) ++++ src/filed/job.c (copie de travail) +@@ -1190,7 +1190,7 @@ + free_bootstrap(jcr); + P(bsr_mutex); + bsr_uniq++; +- Mmsg(fname, "%s/%s.%s.%d.bootstrap", me->working_directory, me->hdr.name, ++ Mmsg(fname, "%s/%s.%s.%d.fd.bootstrap", me->working_directory, me->hdr.name, + jcr->Job, bsr_uniq); + V(bsr_mutex); + Dmsg1(400, "bootstrap=%s\n", fname); +Index: src/stored/fd_cmds.c +=================================================================== +--- src/stored/fd_cmds.c (révision 8483) ++++ src/stored/fd_cmds.c (copie de travail) +@@ -344,7 +344,7 @@ + } + P(bsr_mutex); + bsr_uniq++; +- Mmsg(fname, "%s/%s.%s.%d.bootstrap", me->working_directory, me->hdr.name, ++ Mmsg(fname, "%s/%s.%s.%d.sd.bootstrap", me->working_directory, me->hdr.name, + jcr->Job, bsr_uniq); + V(bsr_mutex); + Dmsg1(400, "bootstrap=%s\n", fname); -- 2.39.5