From: Kern Sibbald Date: Tue, 25 Mar 2008 13:32:15 +0000 (+0000) Subject: Final changes X-Git-Tag: Release-2.2.9-b7~40 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=46eb9400a0a1d2819b72f94dbf0bfe79a9a04812;p=bacula%2Fbacula Final changes git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.2@6684 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/ChangeLog b/bacula/ChangeLog index 47ac66bfa1..8967e9bcb8 100644 --- a/bacula/ChangeLog +++ b/bacula/ChangeLog @@ -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 diff --git a/bacula/ReleaseNotes b/bacula/ReleaseNotes index dc8afc8c6d..3652d33ea0 100644 --- a/bacula/ReleaseNotes +++ b/bacula/ReleaseNotes @@ -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. diff --git a/bacula/po/bacula.pot b/bacula/po/bacula.pot index 4ae0870a68..c44dbe2e6d 100644 --- a/bacula/po/bacula.pot +++ b/bacula/po/bacula.pot @@ -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 \n" "Language-Team: LANGUAGE \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 "" diff --git a/bacula/po/de.po b/bacula/po/de.po index bdb56ee465..9ea2e07114 100644 --- a/bacula/po/de.po +++ b/bacula/po/de.po @@ -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 \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 "" diff --git a/bacula/po/fr.po b/bacula/po/fr.po index de222d098e..b07c13e277 100644 --- a/bacula/po/fr.po +++ b/bacula/po/fr.po @@ -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 \n" "Language-Team: French \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 "" diff --git a/bacula/src/stored/mount.c b/bacula/src/stored/mount.c index 0feccef489..08381715bd 100644 --- a/bacula/src/stored/mount.c +++ b/bacula/src/stored/mount.c @@ -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); } /* diff --git a/bacula/src/stored/stored.c b/bacula/src/stored/stored.c index 74c69e08c1..cb2c5544da 100644 --- a/bacula/src/stored/stored.c +++ b/bacula/src/stored/stored.c @@ -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()); diff --git a/bacula/src/version.h b/bacula/src/version.h index 179e9a3d80..9ff870d571 100644 --- a/bacula/src/version.h +++ b/bacula/src/version.h @@ -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) diff --git a/bacula/technotes-2.1 b/bacula/technotes-2.1 index 6e7a22eb01..b7dcdbeb15 100644 --- a/bacula/technotes-2.1 +++ b/bacula/technotes-2.1 @@ -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