X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2FChangeLog;h=c3a3c6afeeb03b5bb54b28ca6ec7916343017c7c;hb=e6da9c56320fa0ec04a4b88d95cd9e007444b048;hp=50b688fe106e043b817caca9417a986d83878a0f;hpb=07caede3098ad9ba6bb1b25fb357ffd91b6c48dc;p=bacula%2Fbacula diff --git a/bacula/ChangeLog b/bacula/ChangeLog index 50b688fe10..c3a3c6afee 100644 --- a/bacula/ChangeLog +++ b/bacula/ChangeLog @@ -1,6 +1,436 @@ - Technical notes on version 1.39 + Technical notes on version 2.1 General: + Technical notes on version 2.0 + +General: +12Jan07 +kes Return JobId in db_get_job_record() when JobId==0. This should + fix bug #741. +kes Do not release source pointers when restarting a failed job. +11Jan07 +kes Add dynamic dll entry point for SHGetFolderPath to Win32 code. + This *should* fix bug #747. +kes Modify winbacula.nsi to substitute with g bin_dir_cmd. Should fix + bug #742. +09Jan07 +kes Modify USTORE constructor to set an empty store_source string, + and don't copy the store_source string in a cancel. Hopefully + this will fix Arno's seg fault, bug #744. +kes Add back code to disable conio in configure. Fixes bug #743. +kes Correct the Options scanner in the FD to correctly handle + SHA1 option, which was eating the next option. Reported by + Sebastien Guilbaud. +kes Add code to indicate when the SD is spooling, spool wait, and + despooling as requested by Alan Brown. + + + +Version 2.0.0 released: 4 January 2007 +03Jan07 +kes Apply Eric's fix for client name editing on RunScripts. +kes Fix an incorrect dbcheck reference to Id. + +Version 1.39.34 Released: +28Dec06 +kes Convert dbcheck to use 64 bit DB IDs. +kes Update projects +kes Make rescue work. +kes Clarify Volume migration error message. +kes Look for Job keyword when opening DB in console. +23Dec06 +kes Add code in catreq.c to reject volumes not marked Enabled. +kes Add a few more ACL access checks. +kes Add \n in gnome2-console restore command so that output prints + nicer -- i.e. lines do not run together. +kes Fix autolabeling so that it will not mark a volume in error + if the volume was not actually opened. This should fix bugs + #737 and 738. +kes Require tape drive to be open before autolabeling. +kes Require explicit mount command on non-tapes before autolabeling. +kes Implement an open_client_db() that searches the keywords for + either a catolg or client, and opens the appropriate catalog. + This makes Bacula adjust better to multiple catalogs. +kes Use more name() methods for resources rather than hdr.name. +22Dec06 +kes Fix code to check for two resources of same name. It forgot + to check the last entry. Fixes bug #734. +kes Apply scanvolume patch from Richard Mortimer that fixes bug + #738. +kes Apply Eric's patch for recycling the Scratch pool. +kes Note, for the tray-monitor (or almost any restricted console_ + to work, in version 1.39.x you must add CatalogACL = catalog-name +kes Add appropriate new #undefs to autoconf/acconfig.h so that + configure works correctly. +kes Implement configure code to allow the user to disable IPv6 with + --disable-ipv6 +kes Apply Richard Mortimer's patch to prevent seg fault if mount point + not specified -- SD refuses to start. +kes Add magic.bacula from bug #715 to the scripts directory along with + Arno's explanation of how to install it. +kes Convert a bunch of hdr.name into name() method calls. +kes Fix the code to remove .bsr files. Fixes bug #736 -- Martin. + +Version 1.39.32 released: +20Dec06 +kes Take first catalog if gui is set, or if using dotcmd. +kes Fix a couple of compiler warnings in wx-console +kes Apply the immutable patch for FreeBSD hardlinked files supplied + by Olivier Lehmann. +kes Add Volume name to Forward spacing message. +kes Update migration job start time (so it is not zero) to prevent + immediate recycling of the job. This *should* fix bug #733. +19Dec06 +ebl Fix runscript configuration parsing bug. +17Dec06 +kes Add ENABLE_NLS (as suggested by Eric) to correct NLS problems. + Remove NLS kludge from baconfig.h. This fixes bug #729. +kes Allow seeking on DVD. +kes Add additional messages when Job canceled automatically for + max run time or max start wait exceeded. This fixes bug #621. +kes Update maxruntime-test in regression script to properly test + max run time -- from info given in bug #621. +kes Simplify automatic cancel code. +kes Add check for job_canceled() in FD when contacting SD so that if + job is canceled from max runtime, it terminates faster. +16Dec06 +kes Save and restore volume name in stored/mount.c fixed bug #712 + where wrong tape was requested in a mount. +kes Implement cleaner orphan buffer dumping with buf address. +kes Fix orphaned buffer when canceling job waiting on op intervention. +kes Update projects file for next vote. +kes Implement a fix (more could be done) for bug #728 where a double + EOF is writing on the Volume when spooling is enabled and the + connection with the FD fails (FD crash, comm error). +kes Disable attempting to autolabel when polling and device is not + a tape. This fixes bug #730 where polling with a removable disk + not mounted caused lots of new Volumes to be created then marked + in error. +15Dec06 +kes Enable VSS by default. + +Version 1.39.30 released: +14Dec06 +kes Complete hopefully the last of the copyright transfer changes. +kes Separate NumVolumes in SD to NumReadVolumes and NumWrite volumes so + that migration writing to multiple volumes doesn't mess up reading + Volumes. This should fix bug #720 -- multivol migration fails. +kes Make migration SQL look only for Type='B' jobs to migrate. This should + fix bug #724 jobs getting migrated twice. +kes Convert remaining dev_cap(dev, ...) to use dev->has_cap(). +kes Implement dev->clear_cap() and dev->set_cap() methods. +kes Turn off disk seeking on restore for DVDs since I am not 100% + sure it works. +13Dec06 +kes Implement code that should properly set that a job was migrated, + if the migration was successful even if there were no file to + migrate. +kes Apply Richard's patch to fix building or filed/restore.c without + OpenSSL support. +kes Ensure that at least one block is written by the SD even if the + FD dies or fails -- should fix bug #728. +kes Convert stored/record.c ASSERT into a soft fail if the length of + a record is too insanely long. This should fix bug #??? +12Dec06 +kes Fix automatic labeling of File volumes, which was broken by new + removable device code. +10Dec06 +kes Remove typedef uLong for HP in baconfig.h. It broke things. +lf Fix job byte reporting -- the digest code runs in verify.c and + increases this value. The better solution is to digest the + stream as we receive it, thus removing the need to re-read + from disk at all, but that requires more extensive and + potentially destabilizing changes. +lf This commit fixes backup and restore of HFS+ resource forks. +lf Add a long-missing 'break' statement in HFS+ attribute + handling that resulted in restore failures. +09Dec06 +ebl Fix runscript to always execute command after all job type. + +Version 1.39.30 released: +08Dec06 +kes Mark build-depkgs-mingw3 executable in configure process. +kes Update autoconf/config.h.in to include LOCALEDIR +kes Undefine NLS settings for wxWidgets as there is a conflict with + their way of doing things. +kes Implement a rpool and rpool_source in jcr.h for Migration jobs. +kes Change a bunch of ->hdr.name to ->name() +kes Straighten out handling of read and write pools for Migration, including + getting the code in the proper order. +kes Improve migration error messages and debug output. +kes Shorten code path in migration if nothing found to do. +kes Implement read/write pool in migration job report. +kes Move ua_run.c select_job_level code into a subroutine (readability). +kes Move ua_run.c display_job_parameters into a subroutine. +kes Do not bash dcr->VolumeName in get_volume_info() because it makes + restore dependent on a valid catalog containing the Volume name. +06Dec06 +kes Put make_catalog_backup SQL_BINDIR in an environment variable to + make it easier for the user to change. +kes Fail any backup job that tries to use encryption and sparse options. + Hopefully this is a temporary change. +kes Correct the EndJob return string for non-backup jobs. +kes Review the encryption restore code. +kes Implement a new encryption regression test with compression. +kes Modify migrate not to fail if nothing found to migrate. +kes Add #undef HAVE_OPENSSL, HAVE_TLS, HAVE_CYRPTO to autoconf/config.h.in + because they were not always set correctly. +05Dec06 +kes Update configure.in to include python 2.5 search. +kes Back out unwanted migration change reported by Richard Mortimer. +04Dec06 +kes Make migration with no files to migrate set normal termination. +kes Change message when job manually started to say Job queued. ... +kes Add job report indication of whether or not VSS and Encryption were + used by the FD. +kes Modify sparseBlock variable name to make the code clearer. +kes Add more sparse tests to regress using gigaslam sparse file + generator. +kes Enable data encryption code. +kes Add gigaslam.c to src/tools. It creates a 1GB file that contains + only two blocks -- i.e. it is a real sparse file. +03Dec06 +kes Enable disk seeking on restore. +kes Implement the SD 'Block Positioning = yes|no' directive. This + allows the user to turn off block level seeking, but restores + will be much slower. +kes Change the word illegal to read invalid in a few places. +kes Fix Win32 build, which broke when I added parse_args_only in + lib. I'm not sure I got the entry point right for msvc. +kes Turn off data encryption. It can be enabled by defining + DATA_ENCRYPTION in src/version.h and recompiling. +kes Implement flag to turn off data encryption feature. +kes Move unserial code in restore.c to a subroutine. Add a bit of debug + code. +kes Rework a bit of code in backup.c to handle sparse blocks correctly. + The main problem was that signatures were being generated on blocks + of zeros, which is unnecessary. +02Dec06 +kes Fix scanner (next_arg) to handle leading double quote correctly. +kes Modify cd command in restore tree to look at full argument without + keywords. This fixes bug #716. +01Dec06 +kes Do not update Migrated Job type if migration does not terminate + normally. This fixes bug #719. +kes Update ReleaseNotes +kes Purge Job records from the catalog for Migration. This was + not properly done previously. This fixes bug #718. +28Nov06 +kes Initialize msg_type to M_INFO in migration. Pointed out by + Robert Nelson. +kes Add some fflush() statements for debug output. This should not + really be necessary and defeats buffering but users continue + to complain. +27Nov06 +kes More copyright changes. +kes Make sure we don't detach from the despool read device since it + is a temporary structure where the condition variables are not + initialized. Bug #711. +26Nov06 +kes Add Bacula version+date to Client record. This is a very minor + security problem in that passing the version facilitates a hacker's + life, but it will make support easier. +kes Implement fixes to make disk seeking work. Currently turned + off in version.h pending reserch on what problems it will cause + because of the previous bsnprinf() sign extension bug. +25Nov06 +kes Add Landon's refactor of restore Feature request to the + projects file. +kes Tweak debug levels and messages for examining the disk + seek problem. +22Nov06 +kes Cleanup some of the error termination code in migration. +kes Separate read/write source strings to keep track of where + storage devices are used in a job. +kes Implement a new method of keeping track of which storage + device is used in a Job. USTORE keeps both a pointer to the + resource and to the source string. +kes Modify all code to use new storage set subroutines in job.c +kes Modify migrate.c so that the definitive selection of the storage + resource is done in the do_migration_init() routine prior to + the job going into the job queue. This permits accurate + deadlock detection (same read and write storage resource). +kes Remove bfill from btape (I think it was a left over stub). +22Nov06 +kes Make sure that the storage for a job is pulled first from + the Pool and if not from the Job. +kes Ensure that either the Pool or the Job specifies a Storage + resource. +21Nov06 +kes Start applying new FSFE copyright. +20Nov06 +kes Add additional error messages in acquiring a drive for read. +kes Make WritePartAfterJob the default so that the last DVD part + always gets written to the DVD by default. +kes Add additional error messages in migration. +kes Suppress redundant error messages in migration (possibly more to do). +kes Apply Martin's fix (updated to 1.39) that takes into account + run storage overrides in the Director status display. +kes Implement, but turn off the submitted code that sets the EOT + model on FreeBSD machines. Turning on this code is too risky at + this point in the development. +19Nov06 +kes Implement unique dbid routine for migration to prevent the same + JobId from being migrated twice. This should fix bug #709. +18Nov06 +kes Apply Jaime Ventura's 'mail on success' patch. +kes Add a SMALLOC_SANITY_CHECK for Arno, which aborts Bacula + if memory usage gets too big. +kes Tweak migration to ensure that read/write devices are different. +17Nov06 +kes Create an AUTHORS file to list Bacula contributors. +kes Add Richard Stallman's four GPL freedoms to LICENSE +kes Require the conf file to have a valid NextPool for writing the + migration output. +16Nov06 +ebl Enable RecycleCount in catalog. +ebl Fix "echo python | bconsole" segfault +14Nov06 +kes Implement code to pass the MediaId to the SD. The SD then uses + this MediaId when creating JobMedia records. This fixes a bug + with Migration where the MediaId got set to the second Volume + read rather than the write Volume. Possibly (unlikely) fixes + bug #709. +kes Remove NextPool from Job resource. +kes Edit a few numbers in the restore dialog with commas. +kes Note, the DIR<->SD protocol has changed. +13Nov06 +kes Replace () by {} in configure.in for proper HP configuration. +kes Shorten some lines over 80 characters in filed/backup.c +kes Cast sizeof() in filed/backup.c to avoid compiler warning. + +Version 1.39.28 released: +12Nov06 +kes Change error message 'illegal' to 'invalid' -- bug #707 +kes Add rather primitive device resource deadlock detection in + the job queue handler. It detects the same read and write device + for migration and cancels the job. +kes Start adding a unique_dbid_hander() routine in migration to avoid + duplicate mediaids and duplicate jobids. +kes Add patch from bug #708 to permit relative paths such as ../xxx + in the restore tree routine. +kes Add Eric Bollengier's patch to reduce locking time in the SD after + despooling, and thus many jobs finish faster. +kes Correct locking order of reservations lock and device mutex in + reserve.c -- this should correct Arno's deadlock that occurred + when doing mount/unmount at the same time a job is reserving a + drive. +05Nov06 +rbn Fixed problems with encryption when combined with compression + or sparse files. Unfortunately this means that all previous + encrypted backups can't be restored. +rbn Fixed problem in bfgets with Windows and Mac end of lines. +rbn Fixed bug in Windows version of close_bpipe() that cause programs + like bsmtp() to hang waiting for the pipe to be closed. Fixed + binary file type problems in open_bpipe(). +rbn Fixed a number of bugs in the mysql DB scripts. +03Nov06 +ebl Fix broken runscript on director. (RunBefore, RunAfter) +ebl Use M_ERROR instead of M_FATAL in runscript.c +31Oct06 +ebl Small fix src/dird/job.c to add JobErrors count to catalog. +rbn Ignore UTF-8 marker at the start of .conf files. +rbn Add stab2cv to 3rd party dependencies. This is a utility I + wrote that is licensed under the GPL and available on SourceForge. + It converts the stab debugging info generated by gcc into Codeview + format. Currently it just translates function names to global + symbols. This is sufficient to get reasonable stack traces from + Dr Watson and to look at minidumps. +rbn Fix bug # 699 - winbacula client crashes whilerunning bat scripts. +rbn Enable Windows XP look and feel for the tray icons and wx-console. +rbn Add Windows specific FileSet example to bacula-dir.conf. +rbn Reorganize Start menu so that documentation and configuration are + in subfolders. +21Oct06 +rbn Change daemons and utilities so that if -c is omitted from the + command line AND there is no configuration file in the current + directory then the 'standard' configuration file (eg + /etc/bacula/bacula-*.conf) will be used. If the argument to -c + doesn't contain any path separators AND there is no configuration + file by that name in the current directory then the 'standard' + configuration file directory will be searched for a file by that + name. +rbn Fixed restore on Windows so that backslashes as path separators works. +rbn Add missing query.sql file to Windows installer. +rbn Fixed Windows versions of catalog backup scripts. +20Oct06 +kes Fix optional files in Makefile.in of src/filed that caused + a syntax error when using no optional files. +15Oct06 +lf Fix a cosmetic bug in filed.c that caused spurious OpenSSL error + messages; there is no reason to attempt to load a private key. + from master key files. + +Version 1.39.26 released: +12Oct06 +kes Apply the three patches from Richard Mortimer. + bacula-reposition.patch, bacula-tape-reopen.patch, and + bacula-eod.patch. This corrects tape positioning on older devices, + and also a problem with btape. +kes Apply fix from bug report #696 where writing to a FIFO does not + work due to a dumb typo. +kes Unlock the tape door before the file descriptor is released. This + should fix lots of somewhat subtle failures when using an autochanger. +11Oct06 +kes Correct mtx-changer bug that I introduced in a recent commit, and + pointed out by Robert Nelson -- thanks. +rbn Fix Windows' daemons so that messages print to stdout if not + running as a service. +rbn Add daemon name to trace file name (eg bacula-dir.trace). +rbn Fix environment variable expansion in directory names on Windows. +rbn Fix autochanger support in fill command. +rbn Update SQL scripts to match Unix versions. +rbn Fix daemon usage displays. +rbn Cleanup bacula-dir.conf template. +rbn Install openssl.cnf so that the openssl.exe installed in the + Bacula\bin directory can be used to generate keys and + certificates for TLS and encryption. +rbn Fix cleanup of spool files on Windows. +rbn Remove /silent option from daemons on Windows. The new default + is the same as the old /silent. To enable the message boxes that + previously were suppressed by /silent you must add /debug instead. + NOTE: As a result of this change, the first time you upgrade from + a previous version of 1.39.x you will receive the message + boxes when the remove of the old services succeeds. This + is the same behaviour as when migrating from a version prior + to 1.39.0. + However, going forward, these message boxes will not appear on + upgrades or new installs. +rbn Add new /debug option. This option enables the message boxes that + previously were suppressed by the /silent option. In addition the + daemons running as services will open a console window if this + option is used. +rbn Fix bug with service not being removed on migrated installs. This + should correct those cases where the file daemon install was failing + when upgrading from versions prior to 1.39.x. + +08Oct06 +kes Turn on heap reporting in Dir with zero debug level. +kes Send a message to the sys log when Bacula forces a SEG FAULT, and + send the same message to stdout. +07Oct06 +kes Begin work on new GUI "console". +kes Make configure look in non-standard MySQL library directory + for Solaris. +kes Make mtx-changer automatically configure the autochanger wait + procedure for Solaris, FreeBSD, and Linux. Previously, only Linux + was implemented. +kes Correct drop_sqlite_tables.in script to not delete the database. +kes When writing to a log file, close and reopen the file descriptor + if there is an error writing the file. +kes Modify the autochanger loaded?, load, and unload commands to print + the full text of any mtx output if there is an error. Helps to + ease diagnosis of autochanger problems. +kes Correct a few Win32 errno returns in the VSS code so that hopefully + a resonable Win32 error message will be printed. +kes Convert a few strcat()... to bstrncat() in the Win32 code. +06Oct06 +rbn Added Windows version of bsmtp. +rbn Fixed path search for Windows so that Bacula\bin is automatically + searched for programs and scripts. +rbn Fixed bugs in mtx-changer.cmd and made template bacula-sd.conf + Windows specific. + Version 1.39.24 beta released: 02Oct06 rbn Fix restore problem with c:\ prefix bug #676.