]> git.sur5r.net Git - bacula/bacula/commitdiff
Final changes
authorKern Sibbald <kern@sibbald.com>
Tue, 25 Mar 2008 13:32:15 +0000 (13:32 +0000)
committerKern Sibbald <kern@sibbald.com>
Tue, 25 Mar 2008 13:32:15 +0000 (13:32 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.2@6684 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/ChangeLog
bacula/ReleaseNotes
bacula/po/bacula.pot
bacula/po/de.po
bacula/po/fr.po
bacula/src/stored/mount.c
bacula/src/stored/stored.c
bacula/src/version.h
bacula/technotes-2.1

index 47ac66bfa1fb7a7e03d1980e8dbdd6c31e6a708a..8967e9bcb801a6fa2e76612aedc0e55ce876e870 100644 (file)
@@ -1,6 +1,41 @@
               Technical notes on version 2.2.x
 
 General:
+Beta Release Version 2.2.9-b1
+22Mar08
+kes  Fix to JobMedia fix.
+kes  Fix bug pointed out by Peter Much that causes the StorageId to
+     be updated when reading a tape (during migration, it could have
+     been incorrectly set to the write StorageId).
+21Mar08
+kes  Implement autostart scripts for Debian 
+20Mar08
+kes  Fix mtx-changer.in for broken Debian mt program.
+19Mar08
+kes  Massive commit of all fixes and back ports to create 2.2.9
+18Mar08
+kes  Apply doc fix from bug #1062.
+kes  Resolve crash and improper restore wx-console Win32 restore
+     GUI. Fixes bug #1065.
+kes  Update Win32 wxWidgets to latest version.
+kes  Attempt to do correct handling of Win32 mount points. Should
+     fix bug #1046.
+kes  Fix Win32 FD backup/restore memory leak due to improper termination
+     of BackupRead/Write. This fixes bug# 1038.
+kes  Add const to AIX prototype for initgroups()
+27Feb08
+kes  Undo bug #1047 heap overrun fix as it is not correct.
+14Feb08
+kes  Fix creating first JobMedia record during Migration to include
+     proper index. This caused slow restores of migrated jobs.
+10Feb08
+kes  Fix bug #1047, which had a heap overrun when stripping certain paths,
+     and do not strip paths on symbolic links.
+kes  Set catalog backup database and user name from values specified on 
+     the ./configure line.
+ebl  Apply patch to correct bug #1031, about wrong pool source information
+     in job report.
+
 Release Version 2.2.8
 25Jan08
 kes  Apply patch from Martin to correct bug #1040, bscan sets existing
index dc8afc8c6de251517b9739dbbab0f9ce8c2a10a7..3652d33ea0bb037d66e96f3cd6528f90b042eb70 100644 (file)
@@ -1,5 +1,5 @@
 
-          Release Notes for Bacula 2.2.8 
+          Release Notes for Bacula 2.2.9 
 
   Bacula code: Total files = 498 Total lines = 167,596 (*.h *.c *.in)
   82 new files, 41,221 new lines of code, 208,380 lines of change from 2.0.3
@@ -10,6 +10,32 @@ use some of the new features that affect the FD.  In other words, you should
 not have to upgrade all your File daemons when you upgrade. There is
 no database upgrade needed from version 2.0.x to 2.2.0.
 
+Version 2.2.9 is a bug fix to version 2.2.8:
+- *Massive* commit of all fixes and back ports to create 2.2.9
+  Mostly SD reservations enhancements.
+- Fix Win32 FD backup/restore memory leak due to improper termination
+  of BackupRead/Write. This fixes bug# 1038.
+- Fixes a StorageId problem with volumes after migration.
+- Implements autostart scripts for Debian 
+- Fix mtx-changer.in for broken Debian mt program.
+- Apply doc fix from bug #1062.
+- Resolve crash and improper restore wx-console Win32 restore
+  GUI. Fixes bug #1065.
+- Update Win32 wxWidgets to latest version.
+- Attempt to do correct handling of Win32 mount points. Should
+  fix bug #1046.
+- Add const to AIX prototype for initgroups()
+- Undo bug #1047 heap overrun fix as it is not correct.
+- Fix to the JobMedia patch, which introduced a new problem.
+- Fix creating first JobMedia record during Migration to include
+  proper index. This caused slow restores of migrated jobs.
+- Fix bug #1047, do not strip paths on symbolic links.
+- Set catalog backup database and user name from values specified on 
+  the ./configure line.
+- Apply patch to correct bug #1031, about wrong pool source information
+  in job report.
+
+
 Version 2.2.8 is a bug fix to version 2.2.7:
 - It fixes bugs: 1036, 1033(doc), 1028, 1040, 1045(doc), 1030,
   1042(partially), and possibly bugs 1018 and 1032.
index 4ae0870a680dad351cb361f35bd62142d1344249..c44dbe2e6dcd2e19181dfcea9e9bac7b24782e78 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: bacula-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2008-03-25 10:09+0100\n"
+"POT-Creation-Date: 2008-03-25 14:31+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -7458,7 +7458,7 @@ msgstr ""
 msgid "Could not open device %s\n"
 msgstr ""
 
-#: src/stored/stored.c:510
+#: src/stored/stored.c:511
 #, c-format
 msgid "Could not mount device %s\n"
 msgstr ""
@@ -10264,7 +10264,7 @@ msgstr ""
 msgid "Read block=%u, VolBytes=%s rate=%.1f KB/s\n"
 msgstr ""
 
-#: src/stored/btape.c:2757 src/stored/mount.c:636
+#: src/stored/btape.c:2757 src/stored/mount.c:637
 #, c-format
 msgid "Cannot open Dev=%s, Vol=%s\n"
 msgstr ""
@@ -10550,14 +10550,14 @@ msgstr ""
 msgid "Marking Volume \"%s\" in Error in Catalog.\n"
 msgstr ""
 
-#: src/stored/mount.c:570
+#: src/stored/mount.c:571
 #, c-format
 msgid ""
 "Autochanger Volume \"%s\" not found in slot %d.\n"
 "    Setting InChanger to zero in catalog.\n"
 msgstr ""
 
-#: src/stored/mount.c:589
+#: src/stored/mount.c:590
 msgid "Hey!!!!! WroteVol non-zero !!!!!\n"
 msgstr ""
 
index bdb56ee4657de5a113aa7da6921db05d663b4888..9ea2e07114b76369bd89dc98228cfc63a75edaf7 100644 (file)
@@ -10,7 +10,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: de\n"
 "Report-Msgid-Bugs-To: bacula-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2008-03-25 10:09+0100\n"
+"POT-Creation-Date: 2008-03-25 14:31+0100\n"
 "PO-Revision-Date: 2007-06-25 20:38+0200\n"
 "Last-Translator: Philipp Storz <philipp.storz@dass-it.de>\n"
 "Language-Team: \n"
@@ -7734,7 +7734,7 @@ msgstr ""
 msgid "Could not open device %s\n"
 msgstr ""
 
-#: src/stored/stored.c:510
+#: src/stored/stored.c:511
 #, c-format
 msgid "Could not mount device %s\n"
 msgstr ""
@@ -10599,7 +10599,7 @@ msgstr ""
 msgid "Read block=%u, VolBytes=%s rate=%.1f KB/s\n"
 msgstr ""
 
-#: src/stored/btape.c:2757 src/stored/mount.c:636
+#: src/stored/btape.c:2757 src/stored/mount.c:637
 #, c-format
 msgid "Cannot open Dev=%s, Vol=%s\n"
 msgstr ""
@@ -10885,14 +10885,14 @@ msgstr "TLS ben
 msgid "Marking Volume \"%s\" in Error in Catalog.\n"
 msgstr ""
 
-#: src/stored/mount.c:570
+#: src/stored/mount.c:571
 #, c-format
 msgid ""
 "Autochanger Volume \"%s\" not found in slot %d.\n"
 "    Setting InChanger to zero in catalog.\n"
 msgstr ""
 
-#: src/stored/mount.c:589
+#: src/stored/mount.c:590
 msgid "Hey!!!!! WroteVol non-zero !!!!!\n"
 msgstr ""
 
index de222d098e7325738ec1d71e48a81d2ca030268f..b07c13e2779410b2f825e53a39b037300292d8cc 100644 (file)
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Bacula 1.38\n"
 "Report-Msgid-Bugs-To: bacula-devel@lists.sourceforge.net\n"
-"POT-Creation-Date: 2008-03-25 10:09+0100\n"
+"POT-Creation-Date: 2008-03-25 14:31+0100\n"
 "PO-Revision-Date: 2008-01-24 22:54+0100\n"
 "Last-Translator: Eric Bollengier <eric@eb.homelinux.org>\n"
 "Language-Team: French <bacula-devel-fr@lists.sourceforge.net>\n"
@@ -7962,7 +7962,7 @@ msgstr "Impossible d'initialiser %s\n"
 msgid "Could not open device %s\n"
 msgstr "Impossible d'ouvrir le device %s\n"
 
-#: src/stored/stored.c:510
+#: src/stored/stored.c:511
 #, c-format
 msgid "Could not mount device %s\n"
 msgstr "Impossible de monter le device %s\n"
@@ -10896,7 +10896,7 @@ msgstr "Le volume 
 msgid "Read block=%u, VolBytes=%s rate=%.1f KB/s\n"
 msgstr ""
 
-#: src/stored/btape.c:2757 src/stored/mount.c:636
+#: src/stored/btape.c:2757 src/stored/mount.c:637
 #, c-format
 msgid "Cannot open Dev=%s, Vol=%s\n"
 msgstr ""
@@ -11205,14 +11205,14 @@ msgstr ""
 msgid "Marking Volume \"%s\" in Error in Catalog.\n"
 msgstr "Le volume « %s » est marqué en Erreur dans le catalogue.\n"
 
-#: src/stored/mount.c:570
+#: src/stored/mount.c:571
 #, c-format
 msgid ""
 "Autochanger Volume \"%s\" not found in slot %d.\n"
 "    Setting InChanger to zero in catalog.\n"
 msgstr ""
 
-#: src/stored/mount.c:589
+#: src/stored/mount.c:590
 msgid "Hey!!!!! WroteVol non-zero !!!!!\n"
 msgstr ""
 
index 0feccef48971fb9efd1344860ae2b91101c673f9..08381715bdb4563fd4e910d17ccb9ea26c4c099d 100644 (file)
@@ -557,6 +557,7 @@ void mark_volume_in_error(DCR *dcr)
    bstrncpy(dev->VolCatInfo.VolCatStatus, "Error", sizeof(dev->VolCatInfo.VolCatStatus));
    Dmsg0(150, "dir_update_vol_info. Set Error.\n");
    dir_update_volume_info(dcr, false, false);
+   volume_unused(dcr);
 }
 
 /*
index 74c69e08c15fa120359fef2fc75146f6deefe6b9..cb2c5544da67bb2d87a31e3703049c76e9da6585 100644 (file)
@@ -505,6 +505,7 @@ void *device_initialization(void *arg)
          switch (read_dev_volume_label(dcr)) {
          case VOL_OK:
             memcpy(&dev->VolCatInfo, &dcr->VolCatInfo, sizeof(dev->VolCatInfo));
+            volume_unused(dcr)              /* mark volume "released" */
             break;
          default:
             Jmsg1(NULL, M_WARNING, 0, _("Could not mount device %s\n"), dev->print_name());
index 179e9a3d80c5078d075bf54c7aeaf3fb94306e09..9ff870d571b689d3214b29379b391bfbe7b63a42 100644 (file)
@@ -3,7 +3,7 @@
  */
 
 #undef  VERSION
-#define VERSION "2.2.9-b1"
+#define VERSION "2.2.9-b2"
 #define BDATE   "24 March 2008"
 #define LSMDATE "24Mar08"
 
@@ -46,7 +46,7 @@
 #define TRACE_FILE 1
 
 /* If this is set stdout will not be closed on startup */
-/* #define DEVELOPER 1 */
+#define DEVELOPER 1
 
 /*
  * SMCHECK does orphaned buffer checking (memory leaks)
index 6e7a22eb01da0f9588315a2683a20607e3e2c394..b7dcdbeb155f16599c05de254980f5c8d4e3a29d 100644 (file)
@@ -2,6 +2,7 @@
 
 General:
 22Mar08
+kes  Fix to JobMedia fix.
 kes  Fix bug pointed out by Peter Much that causes the StorageId to
      be updated when reading a tape (during migration, it could have
      been incorrectly set to the write StorageId).
@@ -31,7 +32,7 @@ kes  Fix bug #1047, which had a heap overrun when stripping certain paths,
      and do not strip paths on symbolic links.
 kes  Set catalog backup database and user name from values specified on 
      the ./configure line.
-ebl  Apply patch to corrent bug #1031, about wrong pool source information
+ebl  Apply patch to correct bug #1031, about wrong pool source information
      in job report.
 
 Release Version 2.2.8