From: Eric Bollengier Date: Fri, 20 Feb 2009 08:24:27 +0000 (+0000) Subject: ebl Fix #1233 X-Git-Tag: Release-3.0.0~208 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6c482aaa055f9d1cbacaaf622b922ce0cbee0c32;p=bacula%2Fbacula ebl Fix #1233 git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8484 91ce42f0-d328-0410-95d8-f526ca767f89 --- 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);