- Technical notes on version 2.1
+ Technical notes on version 2.2.x
General:
+Beta Release Version 2.2.10-b2
+03May08
+kes Rework SD acquire for read to handle autochanger Volume
+ swapping.
+kes Implement regression that explicitly tests swapping a Volume
+ from one drive to another.
+kes Enhance disk-changer to detect most error conditions.
+kes Fix SD code so that it properly swaps a Volume between drives.
+ This fixes bug #1083.
+01May08
+kes Prevent a Volume that is being swapped from being freed from
+ the volume list. This will most likely fix, at least partially,
+ bug #1083.
+kes Fix strippath so that it does not get a buffer overrun and crash FD.
+ This fixes bug #1078.
+kes Make inability to change owner/group when creating a dir only a
+ warning rather than an error.
+28Apr08
+ebl Fix SQL query in migration code
+19Apr08
+kes Force unload of volume when wrong volume mounted in SD.
+17Apr08
+kes Fix bat seg fault at termination.
+kes Add Bacula generated version to bat about box.
+
+
+Beta Release Version 2.2.10-b1
+16Apr08
+kes Permit multiple simultaneous restores -- experiment.
+15Apr08
+kes Backport development stream SD reservation system changes.
+ See below:
+===
+16Apr08
+kes Move final volume swapping code to DCR method and
+ call it from acquire_for_read().
+kes When wrong volume is mounted during read, unload_autochanger.
+14Apr08
+kes Stop searching for Volumes in SD askdir if DIR returns the
+ same volume name twice in a row.
+13Apr08
+kes Tweak the swap Volume from one drive to another code so that
+ it now seems to work.
+kes Resolve several problems with recycling that broke the new
+ code (these problems are in 2.2.9 as well).
+kes Remove the volume lock when calling the sysop code.
+kes Don't mark a reserved volume with no writers as unused otherwise
+ jobs fail.
+12Apr08
+kes Rework class structures for VOLRES, DCR, and DEVICE to make
+ the method names a bit more logical, and for more logically
+ handling the responsibilities.
+11Apr08
+kes Remove redundant code in terminating the scheduler that just
+ causes a seg fault in many cases.
+kes Cleanup releasing a volume and make it a DCR method.
+kes Improve algorithm for detecting pre-reserved volume and
+ swapping volumes.
+10Apr08
+kes Tweak volume swapping code so it works.
+kes Correct name overloading in mount.c
+kes Replace released flag in VOLRES with reserved and add access
+ methods for the VOLRES class.
+kes Prevent volume from being released while being swapped.
+kes Refactor parts of stored/mount.c
+09Apr08
+ebl Add sanity checks for VolWriteTime and VolReadTime
+ebl Take care of bad clock changes while computing VolWriteTime
+ and VolReadTime. This should fix or limit #1066
+kes Correct error string numbers in dird/catreq.c
+kes Restructure reserving, acquiring, and mounting volumes. Calls to
+ autochanger are deferred for mount.c -- simplifes the code.
+08Apr08
+kes Do not prune any running job. It just fails the job.
+kes Lock the volumes when changing dev->reserved_device and marking
+ the volume unused otherwise the device can get reserved by
+ another job before the volume is released, thus blocking it.
+===
+
+Beta Release Version 2.2.9-b7
+14Apr08
+kes Close bat console windows first to eliminate error message
+ from the notifier.
+kes Remove useless code in Scheduler that causes seg fault on
+ termination.
+kes Correct some SD catalog request error messages.
+kes Don't allow pruning of any running job.
+kes Turn off code in read_record that causes a seg fault in the SD
+ when reading past an EOS_LABEL.
+kes Turn off unloading the autochanger in reserve.c as it just
+ causes problems.
+kes Lock volumes when unreserving a device.
+kes Do not mark volume unused when recycling.
+kes When acquiring, don't mark volume unused if it is reserved (busy).
+
+Beta Release Version 2.2.9-b6
+06Apr08
+kes Eliminate ./configure warning on po directory
+kes Fix bug #1063, reuse of freed ptr in list nextvol.
+kes Release regex compile buffer in filed/job.c
+kes Add proper type of const char in sql_create.c
+kes Turn off debug in daemon termination routines
+kes Move free_volume_list() before devices are freed in stored.c
+kes Fix reference to uninitalized stack variables in bregex.c.
+ This should correct bug #1067.
+04Apr08
+kes Fix possible seg fault in SD when freeing a volume entry.
+02Apr08
+kes Apply patch from bug #1069 that corrects spurious error messages
+ when ACLs enabled on SGI but no ACL exists.
+ebl Fix a storage deamon segfault at debug level 500.
+
+Beta Release Version 2.2.9-b5 -- not released
+
+Beta Release Version 2.2.9-b4
+01Apr08
+kes Re-enable code to remember last volume mounted on a non-tape
+ Autochanger.
+kes Add patch supplied in bug #1068 that fixes a SD crash when using
+ a Virtual autochanger.
+kes Generate correct JobMedia records during spooling/despooling when
+ running concurrent jobs. Thanks to Tom Ivar Helbekkmo
+ <tih@hamartun.priv.no> for excellent analysis and testing.
+
+Beta releae version 2.2.9-b3
+27Mar08
+kes Rework certain SD locking based on gdb tracebacks of deadlocks
+ sent by Eric. This code now uses only the volume_lock() rather
+ than the reservations lock when at EOM and acquiring a new
+ volume.
+kes Ensure only one exit point in several subroutines.
+
+Beta release version 2.2.9-b2
+24Mar08
+kes Fix to initial tape drive open to release the volume name
+
+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
+ ClientId to zero.
+kes Fixed important spelling error in doc -- bug #1045.
+23Jan08
+kes Move initialization of read/write res lock earlier in the code.
+ This fixes the crash with a null conf file. This fixes bug
+ #1030.
+kes Redefine CURES in lib/parse_conf to be URES and move it all
+ into lib/parse_conf.c -- this responds to bug #1042, but does
+ not fix it. The fix is not to compile with FORTIFY_SOURCE.
+kes Backport fix de-referencing a NULL pointer in the scanner from
+ the trunk SVN. I don't think this was reported as a bug.
+
+Beta release Version 2.2.8
+09Jan08
+kes Re-enable the new job code editing (%f).
+08Jan08
+kes Fix bsnprintf for float point numbers. I broke recently when
+ parameterizing some variables.
+03Jan08
+kes Move Heartbeat documentation from Job to Director resource.
+ This fixes bug #1033.
+02Jan08
+kes Fix existing switch drive SD code to call autochanger to release
+ any old volume. This must be done to keep the autochanger from
+ releasing subsequently newly reserved volumes in doing a close().
+ This should possibly fix bugs #1032 and #1018.
+kes Apply big backport of current SVN SD code that corrects a number
+ of race conditions. This is a first step in fixing bug #1018.
+29Dec07
+ebl Fixes bug #1028 where "Selection Type" option was not usable
+ with JobDefs.
+
+
+Release Version 2.2.7
+24Dec07
+kes Partial back out (disabled) %f job code editing because it
+ does not build on Win32.
+kes Fix seg fault Frank Sweetser reports in regression testing
+ on his systems. The problem was that the original author of
+ bsnprintf.c did not take into account the side effects of
+ using ++x in the argument to a #define.
+14Dec07
+kes Apply patch from Michael Stapelberg <michael@stapelberg.de>
+ that implements double quoting include names in conf files,
+ and also allows piping input by having the first character
+ be a vertical bar (|).
+kes Apply patch from Bastian Friedrich <bastian.friedrich@collax.com>
+ that implement %f in RunScripts to pass the FileSet name.
+kes Skip leading | when lex input comes from a pipe as suggested
+ by Michael Stapelberg <michael@stapelberg.de>.
+13Dec07
+kes Apply patch for bsmtp Win32 daylight savings time fix supplied by
+ Nerijus Baliunas <nerijus@users.sourceforge.net>
+10Dec07
+kes This patch corrects a problem where the maximum concurrent storage
+ jobs counter gets out of sync during restore jobs causing jobs to
+ 'wait on max Storage jobs'. This patch fixes bug #1009.
+08Dec07
+kes Add new include to postgresql.c suggested by Marc Cousins so
+ that it compiles correctly with pgre version 8.3. Also fix
+ misuse of %x with pointer (should be %p).
+03Dec07
+kes This patch fixes bcopy so that it produces correct Volumes.
+ It fixes bug #1022.
+kes This patch eliminates spurious output to the console during a VerifyVolume
+ job that contains encrypted data. It fixes bug #1024.
+02Dec07
+kes This patch prevents the 'status dir' command from trying to use a scratch
+ volume and possibly moving it from one pool to another. This patch fixes
+ bug #1019.
+30Nov07
+kes Fix --archivedir addition to configure. Replace it with
+ --with-archivedir in configure.in This fixes the regression
+ test builds.
+kes This patch fixes bug #1012 where the job is canceled because
+ of Max Run Time exceeded when the job has not yet started.
+29Nov07
+ebl Apply Richard Mortimer patch that fixes #1016 when there are more than
+ one 'part' to write. Instead of each part being stored on disk,
+ written to DVD, then deleted from disk, all parts are written to disk,
+ and only the last is written and deleted from disk.
+27Nov07
+kes Correct typos in disk-changer.in
+25Nov07
+kes This patch fixes the status command to include the formating string for
+ JS_AttrInserting. It fixes bug #1021.
+kes This patch should fix the Mac OS X build problem on the latest
+ Darwin, where sys/types.h was not included correctly (apparently
+ due to a change in the Mac headers). The solution was to explicitly
+ ensure that it is defined for the ./configure.
+ This patch also has a rebuild of configure that includes the Debian
+ qt4 patch to check for qmake-qt4. This patch fixes bug #1020.
+kes This patch should ensure that queued messages to the console are
+ displayed as soon as possible. It should fix bug #1007, but has been
+ reported not to work.
+14Nov07
+kes This patch fixes the infinite loop when trying to increase the
+ maximum number of volumes in a Pool during the add command.
+ This patch fixes bug #1008.
+
+Release Version 2.2.6
+09Nov07
+kes Get fix for joblist bug in bat from trunk.
+04Nov07
+kes This patch fixes bug #1003 where putting the message output from
+ a Verify job into the catalog results in a recursive loop. The problem
+ seems to show up only with postgresql (to be verified).
+02Nov07
+kes Fix bug #942 where lots of emails where generated when the heartbeat
+ interval was low and Bacula wanted a different tape from the one in
+ the drive.
+26Oct07
+ebl Apply 2.2.5-lastwritten.patch to fix the LastWritten field
+ which was updated during a restore (or a reading migration) bug #982
+24Oct07
+ebl Use qmake-qt4 instead of qmake when available (debian system).
+22Oct07
+kes Add a security warning to src/cats/make_catalog_backup.in indicating
+ that passing the password via the command line (arg 3) is insecure.
+ This responds to bug #990 (it doesn't fix it).
+kes Apply 2.2.5-postgresql-errors.patch
+kes Remove unneeded File table index on JobId, which is already
+ present as the first index of another multi-index.
+19Oct07
+kes Set default debug_level to zero. This corrects bugs #991 and #993.
+kes Fix a crash in bat when it cannot connect to the Director for example
+ if the Director is not running.
+16Oct07
+kes Activate Close button on tray-monitor window. This fixes
+ bug #986.
+12Oct07
+kes Fix spurious warning message printed when creating a volume with
+ a LabelFormat. This fixes bug #976.
+
+Release Version 2.2.5
+09Oct07
+kes Add JobId in place of Job name in all the Jmsg() output.
+kes Correct the APP_DESC for the Win32 storage service (remove an e).
+06Oct07
+kes Add new SD despooling attributes and Dir inserting attributes
+ job status codes. This fixes bug #961.
+kes Fix Win32 drive display in bat version browser. Fixes bug #962.
+05Oct07
+kes Fix doc issue. This fixes bug #963.
+kes Fix listing performance problems in bat. Pointed out by
+ Chris Howells.
+ebl Fix replace on restore. This fixes bug #969
+kes Fix bat code that tests for Win32. This should fix bug #968
+kes Query 5 list wrong Vol after migration. This fixes bug #960
+04Oct07
+kes Correct lib/Makefile.in to include enh_fnmatch.o that was removed
+ in back porting from 2.3.x
+03Oct07
+kes Backport almost 4000 lines of 2.3 code that fixes a number of bugs.
+ The details are included in the notes in this file.
+28Sep07
+kes Backport 2.3 code that fixes: it fixes incorrect or incomplete error
+ messages; it fixes a problem opening the SQLite3 database when multiple
+ simultaneous jobs were running; it fixes a bug with certain versions of
+ MySQL where batch inserts failed because of table name character case
+ (upper/lower) differences.
+kes Fix race condition that drops final block written to volume.
+ This happens in rare cases with multiple simultaneous jobs
+ when the Volume fills. This fixes bug #964. May be related
+ to bug #935 and possibly #903.
+27Sep07
+kes Fix FD->SD authorization failure, which was due to spurious
+ wakeups from a pthread_cond_timedwait(). Simply check the
+ predicate before continuing. This fixes bug #953
+dvl Add new configuration item --archivedir
+dvl Adjust regression tests to use tmp not /tmp. This will allow
+ multiple concurrent runs of the regression tests.
+28Sep07
+kes Fix race condition that drops final block written to volume.
+ This happens in rare cases with multiple simultaneous jobs
+ when the Volume fills. This fixes bug #964. May be related
+ to bug #935 and possibly #903.
+kes Eliminate more strerror() and replace with bstrerror().
+kes Remove BSD getopt and replace with unrestricted IBM version.
+kes Fix Win32 build for changed calling sequences.
+27Sep07
+kes Fix FD->SD authorization failure, which was due to spurious
+ wakeups from a pthread_cond_timedwait(). Simply check the
+ predicate before continuing. This fixes bug #953.
+kes Add const char where needed (more to do).
+26Sep07
+kes Setup SQLite busy handler before doing queries. Fixes bug #967.
+kes Don't overwrite error message in check_tables_version.
+ Fixes bug #966.
+kes Unlock batch insert tables with same calls used elsewhere.
+kes Allow starting 59 jobs a second.
+kes Make SD session key more random.
+kes Add retry for SQLite opening db if it fails. Probably helps
+ for bug #967.
+kes Suppress extra error messages during batch insert failure.
+ Fixes bug #966.
+kes Put some FD auth code on dbglvl rather than fixed.
+kes Return insert attributes error message in db msg buffer to avoid
+ false error messages. Helps fix bug #966.
+kes Separate batch init error messages. Probably helps fix bug #966.
+kes If Dir gets an error during inserting attributes, cancel SD.
+ This reduces unnecessary error messages.
+24Sep07
+ebl Cleanup batch insert code. Probably fixes bug #965.
+23Sep07
+kes Turn off some code when batch insert not enabled.
+kes Edit FD name in connect error messages.
+22Sep07
+kes Add code to handle tray monitor separated from Win32 FD.
+kes Fix display of Win32 tray monitor after reboot. Fixes bug #952.
+20Sep07
+kes Fix ANSI tape labeling. This fixes bug #954.
+kes Increase the max block size to 4MB fixes bug #957.
+kes Apply 2.2.4-poll-mount fix, that resolves bug #908 where a tape
+ is not properly mounted (recognized) during a poll.
+kes Apply 2.2.4-verify patch that resolves bug #958. A Verify catalog
+ Job that has differences reports Verify OK.
+
+Release Version 2.2.4
+14Sep07
+kes Increase size of name string when FD making connection to SD.
+ May fix bug #953.
+13Sep07
+kes Add code to try to fix bug #908.
+kes Add waits to multiple exit detection code to try to force pid
+ file to always be deleted.
+kes Restore good dev.tar.gz to rescue set appropriate binary property.
+ This fixes bug #950.
+kes Fix seg fault in error exit of acquire_for_read after unsuccessfully
+ trying to switch drives by checking for blocking before unblocking.
+ Fixes bug #906.
+kes Cancel storage daemon in all cases where FD reports error. This
+ should fix virtually all cases of bug #920.
+12Sep07
+kes Fix error message that was clobbered when Dir tells SD it does not
+ have write permission on Volume. This should fix a minor point
+ in bug #942, but not the main problem.
+kes Add code to cancel job in SD if FD connection fails. This should
+ fix bug #920.
+kes Add code in FD exit to prevent loops and a crash on FreeBSD.
+kes Fix migration code to get correct Volume name with multiple volumes
+ by skipping |. Fixes bug #936.
+kes Implement patch supplied by Landon to fix bug #944 where using
+ TLS with bconsole uses 99+% of the CPU.
+kes Note, you need GTK >= 2.10 to be able to link the Tray Monitor
+ program.
+kes Move patches into patches directory.
+11Sep07
+ebl Fix bug #946 about "bacula-dir -t" which doesn't works
+ as expected.
+09Sep07
+ebl Using "m" in bconsole will show messages like before,
+ and not memory usage.
+
+Release Version 2.2.3
+kes Note, you need GTK >= 2.10 to be able to link the Tray Monitor
+ program.
+09Sep07
+kes Fix bug #935, and probably also bug #903 where files were not
+ restored. MediaId was not properly set in JobMedia record after
+ a Volume change.
+07Sep07
+kes Add ./configure search in qwt-qt4 for qwt package
+kes Apply Martin Simmons patch that should turn off the new API usage
+ when batch insert is turned off allowing building on older
+ PostgreSQLs.
+
+Release Version 2.2.2
+04Sep07
+ebl Detect if new PosgreSQL batch insert API is present.
+kes Correct incorrect mempool call causing Director crash.
+sb Update spec files for 2.2.1 release
+
+Release Version 2.2.1
+30Aug07
+kes Update POTFILES.in
+kes Cleanup a few underquoted AC_DEFUNs in configure
+kes Apply patch from Martin Simmons that adds a test for va_copy to
+ ./configure
+29Aug07
+kes Fix bug 921 by increasing the number of tries to create a new volume
+ from 11 to 100.
+kes Rework bmsg in ua_output to use va_copy() so that bvsnprintf()
+ can be called multiple times. Implement a version for machines
+ without va_copy() that gets a big buffer.
+25Aug07
+kes Integrate more portable zone offset code into bsmtp.c
+ Submitted by Attila Fülöp.
+24Aug07
+kes Fix bad SD->FD return status reported by
+ (James Harper) <james.harper@bendigoit.com.au>
+ebl Fix a bug in read_close_session which return random status
+ thanks to James Harper
+23Aug07
+kes Fix (hopefully) bug #930 by doing a db_escape_string() on file
+ and directory names during restore of single file/directories.
+kes Add sanity checks to .sql command when string is empty. Hopefully
+ that will resolve Dirks Director crash.
+22Aug07
+kes Apply patch submitted by Martin Simmons that corrects a seg fault
+ in the bsmtp chat subroutine when debug is >= 10.
+21Aug07
+kes Fix Director crash when running bat SQL queries.
+kes Add David's notes on Item 8: Copy pools.
+18Aug07
+kes Rework projects file to be current and ready for a vote.
+kes Enhance lex scanner error message.
+17Aug07
+kes Tweak LICENSE file to mention BSD code.
+kes Fix bat.pro.in so that it includes the OpenSSL libraries only
+ if specified on the ./configure.
+kes Add first (not yet tested) cut of bcomm to the qt-console directory.
+ This class is intended to allow us to open a second bsock to the
+ Director while in the restore subdialog.
+16Aug07
+kes Fix configure to create bat Makefile before creating dependencies.
+kes Eliminate the egg files from the tray-monitor. Use gtk calls.
+kes Add a tooltip to the tray monitor.
+dvl Set the Director's PID file before dropping privs. This fixes
+ bug #923.
+15Aug07
+kes Update AUTHORs file
+kes Increase the default max concurrent jobs to 20 in FD and SD to
+ correspond with the default .conf files.
+kes Rewrite the Win32 service routines. This eliminates the 3 copies
+ some different, of the same file created by RN when porting the
+ Win32 SD and Dir.
+kes Rearrange some of the Win32 directories and the placement of the files
+ in them.
+kes Set DEVELOPER flag in version.h
+
+========================================================================
+Release Version 2.2.0
+09Aug07
+kes Apply a second doc patch from Marc.
+kes Apply a doc patch from Marc Schiffbauer <marc@schiffbauer.net> that
+ improves the tips section that discusses how to setup multiple
+ simultaneous jobs.
+08Aug07
+kes Update bat README file.
+kes Apply patch from Allan Black <Allan.Black@btconnect.com> that
+ corrects a typo in the Recycle status check in db_find_next_volume().
+ This will probably fix a number of annoying problems with multiple
+ Recycled volumes.
+kes Modify most of dird/msgchan.c to use bsock class calls rather than
+ bnet calls -- no functionality change.
+07Aug07
+kes Modify the Verify output to specify if files are missing on
+ the Volume(s) or disk. Fixes confusion in bug #916.
+kes When more than one Volume is read in a migration job, the last
+ Volume bytes reported are from the last read volume rather than
+ the last written volume. Fixed. This fixes bug #910.
+kes Fix display of Recycle flag after update volume=foo recycle=yes.
+ It previously printed New Recyle flag is: no. This fixes bug
+ #917.
+06Aug07
+kes Correct seg fault when switching tape drives during restore.
+kes Commit uid_gid_name.c (replacement for idcache.c), but will not
+ be used until after 2.2.0 release.
+04Aug07
+kes Remove fnmatch() in SD that permitted wild card specifications.
+ This fixes bug #914.
+31Jul07
+kes Fix %g in filename returned by SQL for browse tree reported by
+ Dirk.
+kes Fix configure so that it puts config.out in the cwd rather than
+ in src/qt-console
+kes Attempt to fix the locking problem reported by Eric in bug #906.
+kes Make berrno class to leave errno unchanged after constructor call.
+kes Make bnet_server use the heap rather than the stack to allocate
+ its socket fd pointers to avoid a crash at termination. Problem
+ reported by Ryan Novosielski and bugs pointed out by Martin Simmons.
+30Jul07
+kes Create new depkgs and depkgs-qt separating the qwt out of depkgs
+ and putting it in depkgs-qt along with Qt4.3.
+29Jul07
+kes Rework code in acquire.c that switches drives for reading when
+ the Media Type does not match. This should fix bug #906
+28Jul07
+ebl Fix a director segfault during job setup #907
+kes Correct seg fault in postgresql when first operation returns no
+ rows. Fixes Dirks File browser problem seg fault with bat.
+25Jul07
+kes Apply patch from Felix Schwarz <Felix.Schwarz@web.de> that allows
+ building wxconsole on Fedora 7 with wxWidgets 2.8 (it works with
+ 2.6 as well).
+24Jul07
+kes Implement PopUp YES/NO dialog for bat.
+23Jul07
+ebl Fix a compilation bug when using #define BACL_WANT_NUMERIC_IDS
+22Jul07
+kes Correct RunScript to terminate job in FD on failure.
+kes Change abort_on_error and AbortJobOnError to fail_on_error
+ and FailJobOnError in RunScripts.
+kes Minor tweaks of code formating in RunScripts, principally to
+ avoid depassing 80 columns.
+21Jul07
+kes Eliminate one #ifdef Win32 in bsmtp
+kes Implement grow tool to grow a file for testing very large databases.
+kes Add big-vol-test to test Bacula seeking with > 5GB.
+Release 2.1.28 beta
+19Jul07
+kes Modify find_next_volume() to return all values in Media record.
+kes Ensure that we keep Recycle Pool when moving Scratch volumes.
+
+Release 2.1.28 beta
+18Jul08
+kes Update Release notes
+17Jul07
+ebl fix a bug in get_scratch_volume() report by Andreas Helmcke
+ Warning, in previous beta version, all media get from scratch keep their
+ old retention.
+16Jul07
+kes Tweaked Win32 installer to remove temp conf files at uninstall time.
+ This should fix bug #842. Made a note to look at removing the temp
+ files at the end of the install.
+kes Add ability to mount and unmount a file device providing it is
+ marked as being removable and has the appropriate mount and unmount
+ commands defined in the Device resource. This fixes bug #830.
+kes When applying a storage override, release all previous storage
+ definitions rather than just prepending the new storage.
+ This should prevent a good deal of confusion.
+14Jul07
+kes Implement ./configure search for qwt libraries.
+13Jul07
+kes Disable posting the WM_CLOSE message in KillRunningCopy of the
+ Win32 FD. This should fix bug #893.
+kes Remove an unnecessary beep in Win32 init code.
+kes Update copyright dates in Win32 executable about boxes.
+kes Replace the FSF copyrighted getopt.c and getopt.h in the Win32
+ code with a BSD getopt.c and getopt.h.
+kes Remove sched.h from the Win32 compat directory -- not used.
+kes Remove the Exit menu item from the Win32 tray monitor. If you really
+ need to shut it down, do it through the services panel or the command
+ line.
+kes Remove some inappropriate Bacula FSFE copyrights.
+ebl Tweak status client=xxx to be more easy to parse (more like in 2.0.x)
+kes Fix regress config non-portable test as pointed out by
+ Florian Heigl <florian.heigl@gmail.com>
+kes Fix PSCMD for HP-UX in configure.in to have proper syntax.
+ as pointed out by Florian Heigl <florian.heigl@gmail.com>
+12Jul07
+kes Fix missing rctx. prefixes on the Darwin code in src/filed/restore.c
+ Reported by Frank Sweetser.
+
+Release 2.1.26 beta
+12Jul07
+kes Fix client-only build.
+kes Integrate client-only fixes for bsys (initgroups) and conio from
+ Sergey Svishchev <svs@ropnet.ru> for the AIX platform.
+kes Make arguments to get_scratch_volume() in same order as other
+ such calls.
+kes Rework the prune_volumes() subroutine so that after purging and
+ no volume found in desired pool, it will check for a scratch
+ volume. This prevents recycling the whole scratch pool.
+kes Add code to status storage to print boffset_t (largefile support).
+11Jul07
+kes Move qwt (Graphics libarary for Qt4) to depkgs.
+kes You now need a --with-qwt=<dir> to be able to build bat.
+kes Update src/win32/cats/bacula_cats.def to include the new
+ db_get_query_dbids() call on Win32.
+07Jul07
+kes Correct a problem when selecting a scratch volume and moving
+ it to another pool that lost some columns.
+kes Tweak some code in ua_update.c to use POOL_MEM instead of POOLMEM.
+kes Enhance Autochanger error messages to include Volume and device name.
+kes Rework prune_volumes() code to take account of InChanger flag,
+ and to handle recycling volumes going to the Scratch pool and
+ current pool because the RecyclePool directive.
+kes Implement a better and more efficient db_get_query_dbids() to
+ handle creating and passing back a list of DBIds.
+
+Release 2.1.24 beta
+03Jul07
+kes Start work on new more efficient DBId subroutine. First use
+ will be for recycling volume to Scratch inchanger.
+kes Increase number of JobIds in pruning from 1000 to 10000.
+ This to be replaced by above routine.
+kes Begin implementation of building Qt4 on Win32.
+kes Correct typo in fix I added for bad TLS shutdown.
+kes Pull 2.0.3 patches into patches directory.
+kes Update Release notes. Include qt-console in line count.
+kes Update Projects file.
+30Jun07
+kes Integrate patch from Sergey Svishchev <svs@ropnet.ru> that fixes
+ bug in migration code where a job that spanned two volumes
+ was migrated twice.
+29Jun07
+kes Implement new BST_DESPOOLING blocked state. Change from locking
+ during despooling in SD to blocking. This means that other threads
+ can work with the device structure, in particular the reservations
+ system while despooling.
+28Jun07
+kes Fix return in reservation message queue that missed clearing
+ the jcr lock (implemented 26Jun07 below).
+kes Rename a number of dev methods to make locking function names
+ a bit clearer.
+kes Document locking in lock.c. Move lock structures to new file
+ lock.h.
+26Jun07
+kes Move reservations message lock to lock jcr only this
+ fixes bug #861.
+kes Move main SD locking code into lock.c (new file).
+kes Update Win32 build to include lock.c
+
+Release 2.1.22 beta
+26Jun07
+kes Dirk committed the qwt library code for drawing graphs in bat.
+kes Tweak install of qwt so that it is integrated with ./configure.
+25Jun07
+kes Fix HAVE_BATCH_INSERT to be HAVE_BATCH_FILE_INSERT, pointed
+ out by Eric (my typo).
+ebl Fix configure.in to get batch mode enable
+kes Return correct string from authenticate.cpp in bat when connecting
+ to Dir.
+kes Apply patch suggested by Frank Sweetser to fix bug #888 --
+ spurious line drops when using TLS.
+kes Do not file reparse points when restoring a file that already
+ exists -- Win32.
+24Jun07
+kes Implement Windows reparse points -- similar to directories, but
+ we do not descend into it. This is a first cut. They seem to
+ be backed up, but restore is not yet tested.
+kes Remove restore_blocking in tls code when shutting a socket to leave
+ it in blocking mode. Hopefully this will fix the encryption bug
+ reported by Frank Sweetser.
+kes When opening a file for backup, tell the OS that we are going to
+ read it sequentially -- optimization.
+kes Change variable names in authenticate_director() to not conflict
+ with member names in bat. Caused great confusion with compiler,
+ but no warnings.
+23Jun07
+kes Queue openssl error messages in case of comm problem.
+kes Do shutdown() call if socket terminated.
+kes Remove some duplicated code in tls.c
+kes Move more of the bsock member variables into private and access
+ them with methods.
+kes Add Frank Sweetser's tls-test to the regression suite.
+22Jun07
+kes Add Swedish sv.po file
+21Jun07
+kes Don't print clock skew message in FD if less than 3 seconds diff.
+kes Add a bit of VSS info to status client.
+kes Implement a first cut of Vista VSS, using Win2003 code.
+
+
+Release: 2.1.20 beta
+20Jun07
+kes Fixed bug #886 (multidrive autochanger: SD doesn't use drive with
+ loaded tape but uses first drive).
+kes Fixed bug #807 Restore encrypted backup failed on Windows 2003
+ This was indeed a Win32 issue.
+19Jun07
+kes Simplify search of autochanger for in-use Volume.
+kes Fix exit condition of check for in-use volume. kes Remove
+ inappropriate my_postgresql_free_result() in db_close()
+ routine.
+kes Fix bad return in FD when encryption signature not found.
+ Probably caused a crash.
+kes Inhibit missing encryption signature error messages for
+ file types where no signature computed.
+kes Correct inverted check on autochanger in reservation system.
+kes Tweak debug code in autochanger reservation.
+18Jun07
+kes Add some additional locking in the cats directory in subroutines
+ that modify packet variables called from batch insert.
+kes Rework how dcrs are allocated. new_dcr() can now be called
+ with an existing pointer, and it will simply clean it up.
+ This allows the reservation system to test various different
+ devices, and will permit easy device changes.
+kes A bunch of changes all over to handle new new_dcr() calling
+ sequence.
+kes Work more on the Volume management in the SD. Remember Volumes
+ for tape drives and for autochangers (even virtual disk changers).
+kes When looking at the Volume list to reserve a drive, handle
+ autochanger names correctly by interating through the changer
+ devices. Also call the Director to see if a Volume is suitable
+ for the current job.
+kes Fix some bugs in bscan. Make sure all media records are written.
+ Make sure that valid JobMedia records are written for disk files.
+ Previously they were completely wrong.
+kes Move source tar files for depkgs-mingw32 to www.bacula.org so
+ that the URLs don't change and so that the developers will all
+ work off the same copy. Rebuild from scrach.
+kes Upgrade Win32 SQLite3 from 3.3.8 to 3.3.17.
+
+Release: 2.1.18 beta
+16Jun07
+kes Fix seg fault in FD from incorrect digest size.
+kes Fix argument to non-OpenSSL crypto.c subroutine.
+
+Release: 2.1.16 beta
+16Jun07
+kes Remove a few malloc()s from the encryption code.
+kes Use the class calls to bsock in filed/backup.c and restore.c in
+ place of the old bnet_xxx code.
+kes Implement code that does an on the fly calculation of the
+ signing digest during restore of encrypted files. It makes
+ a best guess at the algorithm, and if it is not correct, will
+ then revert to the old code which reads the file after it is
+ restored.
+kes Implement at least one missing crypto stream in stream_to_ascii()
+kes Apply patch from William <chowmeined@gmail.com> that fixes bug
+ #877 where a reload with bad syntax causes Dir to exit.
+
+Cut: 2.1.14 beta (not released)
+14Jun07
+kes Do not free a volume on a tape drive until another volume is
+ mounted and read, or the autochanger unloads the volume.
+ This should help the SD re-use volumes that are already mounted,
+ and should fix bug #886.
+kes Apply patch from user brettedgar that allows gnome2-console include
+ the OpenSSL libraries, and hence work with SSL. Fixes bug #885.
+kes Apply patch from Lucien Weller that fixes day of week calculation
+ because of DST flag problem. Fixes bug #887.
+10Jun08
+kes Move find_next_appendable_volume() to after acquiring a valid device
+ in reserve.c. This fixes bug #864 -- confirmed by reporter.
+09Jun07
+kes Unable to reproduce bug 872. However added additional testing for
+ integer.
+kes Bug #874 resolved by documenting SQLite limitations.
+kes Bug #882 resolved by documenting mtx-changer script for new drive code.
+kes Bug #881 resolved by removing typo in mtx-changer script.
+kes Made Frank Sweetser's wiki the official Bacula wiki with his
+ approval. Added a link to the wiki on the web page, and implemented
+ a backup from http://paramount.ind.wpi.edu
+08Jun07
+kes Fix update allfrompool to pass pool name.
+07Jun07
+kes Convert to pure GPL v2 license.
+kes Fix sscanf problems reported by Peter Buschman that caused
+ a bus error on Solaris.
+kes Rework (simplify) the select prompt in bat.
+kes Move get_jobid_from_tid() into lib and create a
+ get_jcr_from_tid().
+kes Use get_jcr_from_tid() to conver all tls Emsg() to Jmsg(). This
+ should definitely fix the problem of lost error messages in the
+ encryption code.
+kes Remove over zellous addition of FSFE copyright in a few eggxxx files.
+kes Eliminate tcpd.h from the project. Enclose the #include from the
+ library with extern C ...
+kes Add print of signal name when a signal is trapped.
+
+Release: 2.1.12 beta
+04Jun07
+kes Fix a seg fault in the PostgreSQL driver dereferencing a NULL pointer.
+03Jun07
+kes Implement SQLITE3_INIT_QUERY in version.h that can do an initial
+ query for SQLite3. Use it to set PRAGMA synchronous = OFF. This
+ makes SQLit3 run 30 times faster, though a bit less safe.
+kes Implement --with-batch-insert in configure and detection of thread
+ safe libraries. It is on by default, but turned off if no thread
+ safe library (e.g. SQLite 2) is available.
+02Jun07
+kes Fix Bacula PostgreSQL buffer overruns.
+kes Do better checking for NULL results returned from PostgreSQL;
+ implement retry for failed queries; clear results buffer after
+ failed query. Hopefully this will correct the PostgreSQL failures.
+01Jun07
+kes Implement algorithm to handle only one appendable volume with
+ Prefer Mounted Volumes = no.
+kes Fix a Bacula PostgreSQL bug dereferencing a NULL pointer
+ returned from a query.
+kes Make volume lock recursive.
+kes Implement an additional volume reservation algorithm that
+ starts by considering all reserved volumes then uses the
+ old brute force algorithm of searching the resources to
+ find a suitable device.
+kes Add new reservations debug code and refine the old code.
+kes Update the win32/dll/bacula.defs file.
+29May07
+kes Tweak reservations algorithm to permit a few more cases, i.e.
+ volume reserved, but on different drive, ...
+kes Enhance SD status to include Pool and Media Type for drive in a
+ more readable format (a bit longer).
+kes Fix PostgreSQL double free.
+28May07
+kes Minor refactoring of restore decryption code.
+kes Add code to smartall.c to detect double free of a buffer.
+27May07
+kes Add < > around %r in from field on mail command of bacula-dir.conf.in
+ so that bsmtp will create a correct email address (mailbox only).
+kes Modify 'memory' command so that the buffers are listed as 'In use'
+ to avoid confusion with Orphaned buffers.
+kes I reworked the OpenSSL include/lib flags to be handled in
+ the standard Bacula way, which should fix bug #863 concerning
+ non-standard OpenSSL libraries.
+26May07
+kes Implement Help Browser window for bat.
+kes Fix reload bug that reset StorageId to zero.
+25May07
+kes Fix TLS #ifdefing when TLS turned off.
+kes Ensure that when labelling a tape with Slot=0 that InChanger
+ is not set.
+kes Use DISTINCT to make MySQL and PostgreSQL uar_list_temp query
+ the same.
+kes Add StartTime to final uar_sel_jobid_temp query so that we can
+ add DISTINCT (required by PostgreSQL).
+kes Implement BSOCK authenticate_director() method. Eventually will
+ authenicate all daemons.
+kes Move several more functions into the BSOCK class.
+24May07
+kes Add code to tell the OS that we no longer need a cached
+ file that we were reading. In findlib/bfile.c. Also,
+ only cache files that we are reading. Thanks to
+ Tobias Oetiker <tobi@oetiker.ch> for the idea.
+kes Tweak to bsmtp to eliminate compiler warnings on Win32.
+kes Implement script to automatically generate cats and dll .def
+ files for Win32 dll.
+kes Update README.mingw32 to include new .def file generation.
+kes Correct typo in UTF-8 error message as reported by:
+ jhernandez <julianhernandez@gmail.com>
+kes Add additional sm_check() code on debug level 1.
+kes Set default debug level to 1.
+kes Trap SIGABRT in attempt to get traceback.
+23May07
+kes Reduce bat connect timeout from 30 to 15 seconds.
+kes More restructuring and implementing BSOCK class in place of
+ old bnet.c code.
+kes Remove a few unnecessary malloc() tests in crypto code.
+kes Turn off crypto calls for > 128 bits in crypto.c if HAVE_SHA2
+ not defined. Bug reported by Allan Black <Allan.Black@btconnect.com>
+kes Remove duplicate HAVE_CRYPTO definition in config.h.in
+22May07
+kes Fix Verify InitCatalog mysql_escape_string() trashing memory.
+ Make buffer bigger.
+kes Fix Verify InitCatalog. The attributes were not pointing to the
+ correct saved location.
+kes Implement message callback so that GUI is sure to get all
+ daemon messages. Currently displayed in a dialog in bat.
+kes Ignore SIGUSR2 (Bacula timer) in bat.
+kes Apply regress patch from bug #859 to allow regress to work
+ with Solaris compiler.
+21May07
+kes Begin adding TLS support to bat.
+kes Apply UTF-8/16 patch from Yves Orton <demerphq@gmail.com> to
+ clean up lex.c and make it more readable.
+20May07
+kes Move more bnet functions into the BSOCK class.
+kes Fix tray-monitor by not requiring a timer interval in bnet_connect()
+kes Complete change of berrno strerror() method to bstrerror()
+
+Release: 2.1.10 beta
+18May07
+kes Cleanup incorrect email addresses in bsmtp.
+kes Make bat display initial messages rather than discard them.
+16May07
+kes First cut of adding .mod to the run command.
+kes Implement auto display of messages in bat.
+kes Enhanced preferences to allow all Bacula output to be
+ displayed in bat.
15May07
kes Fixed bug #856 autochanger documentation.
kes Rework bsmtp date editing for Win32. This fixes bug #854.