From: Kern Sibbald Date: Wed, 13 Jul 2005 10:38:26 +0000 (+0000) Subject: I finally found and squashed the elusive SD crash. X-Git-Tag: Release-7.0.0~8638 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fe1f0d16f93ae192623e9c5027d81d1f8aa51cd8;p=bacula%2Fbacula I finally found and squashed the elusive SD crash. I needed to initialize the used volume list before firing off the device initialization thread. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2193 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/kernstodo b/bacula/kernstodo index 918d932f65..d498f229de 100644 --- a/bacula/kernstodo +++ b/bacula/kernstodo @@ -1,5 +1,5 @@ Kern's ToDo List - 04 July 2005 + 13 July 2005 Major development: Project Developer @@ -56,6 +56,10 @@ Document: (probably not this version) For 1.39: +- For Windows disaster recovery see http://unattended.sf.net/ +- regardless of the retention period, Bacula will not prune the + last Full, Diff, or Inc File data until a month after the + retention period for the last Full backup that was done. - update volume=xxx --- add status=Full - Remove old spool files on startup. - Exclude SD spool/working directory. diff --git a/bacula/kes-1.37 b/bacula/kes-1.37 index 10716a5828..ab43533f58 100644 --- a/bacula/kes-1.37 +++ b/bacula/kes-1.37 @@ -3,6 +3,11 @@ General: +Changes to 1.37.29: +13Jul05 +- I finally found and squashed the elusive SD crash. + I needed to initialize the used volume list before + firing off the device initialization thread. Changes to 1.37.28: 11Jul05 - Make sure that bpipe results are zapped even on diff --git a/bacula/src/lib/bsys.c b/bacula/src/lib/bsys.c index 8b640dd0ba..be6582b355 100644 --- a/bacula/src/lib/bsys.c +++ b/bacula/src/lib/bsys.c @@ -11,19 +11,14 @@ Copyright (C) 2000-2005 Kern Sibbald This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of - the License, or (at your option) any later version. + modify it under the terms of the GNU General Public License + version 2 as amended with additional clauses defined in the + file LICENSE in the main source directory. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received a copy of the GNU General Public - License along with this program; if not, write to the Free - Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, - MA 02111-1307, USA. + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + the file LICENSE for additional details. */ diff --git a/bacula/src/stored/stored.c b/bacula/src/stored/stored.c index 42bf1e1747..b91718ed48 100644 --- a/bacula/src/stored/stored.c +++ b/bacula/src/stored/stored.c @@ -221,11 +221,11 @@ int main (int argc, char *argv[]) /* * Start the device allocation thread */ + create_volume_list(); /* do before device_init */ if (pthread_create(&thid, NULL, device_initialization, NULL) != 0) { Emsg1(M_ABORT, 0, _("Unable to create thread. ERR=%s\n"), strerror(errno)); } - create_volume_list(); start_watchdog(); /* start watchdog thread */ init_jcr_subsystem(); /* start JCR watchdogs etc. */ diff --git a/bacula/src/version.h b/bacula/src/version.h index aa03b383a5..5a583a6384 100644 --- a/bacula/src/version.h +++ b/bacula/src/version.h @@ -1,8 +1,8 @@ /* */ #undef VERSION #define VERSION "1.37.29" -#define BDATE "11 July 2005" -#define LSMDATE "11Jul05" +#define BDATE "13 July 2005" +#define LSMDATE "13Jul05" /* Debug flags */ #undef DEBUG