+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 released:
+02Oct06
+kes Apply dvd find volume patch from Richard Mortimer.
+kes Eliminate the dvd specific mount routines using only the
+ dev->mount/unmount.
+kes Make update_free_space a method of DEVICE and rename
+ update_freespace.
+01Oct06
+kes Require a messages command acl to be able to receive messages
+ in a console.
+kes Add console, system, and scan job types in util.c.
+28Sep06
+kes Print the Volume purged message only for real jobs to keep
+ from cluttering up the daemon messages.
+kes Lock the tape drive door while Bacula is using the device.
+kes Add back the 'No Jobs running' message to FD and SD status because
+ my regression script depends on it, and I'm too lazy to change the
+ scripts.
+kes Start using structure assignments (not too happy about it ...).
+kes Fix a bug in the tools Makefile that broke on Solaris.
+kes Unload any autochanger drive during a 'release' command.
+26Sep06
+kes Enhance error message when restoring without bootstrap file.
+kes Check restored size only for regular files.
+kes Store Python job level in job record in Dir.
+kes Add back code to open tape device nonblocking, but if rewind fails
+ release file descriptor.
+kes Modify acquire.c to first try autoloading the device. Also, ask operator
+ to mount tape if drive cannot be opened.
+rbn Made Windows service tray status windows resizable.
+rbn Fixed horizontal scrolling of text in status window.
+rbn Preserve horizontal and vertical scroll position while
+ updating. This prevents the display being reset to the
+ top line every 5 seconds.
+rbn Fix Windows cross-compile compatibilty problems with
+ *nix variants such as OS X without the zic command.
+rbn Eliminate dependency on man2html.
+25Sep06
+kes Update src/win32/dll/bacula.def for change in BPIPE definition for
+ Win32 build.
+kes Fix a compiler warning in compat.cpp
+kes Change strcpy to bstrncpy in compat.cpp
+kes Remove some broken code in bdb_list.c
+kes Fix, hopefully the last, ACL problem in the restore command.
+kes Update the README.mingw32
+kes Add new version of upgrade-win32-client.txt to examples directory.
+ Submitted by Michel Meyers.
+kes Print an INFO message in the job report when a Volume is marked Purged.
+rbn Fixed handling of external program and script execution
+ so that the format of the command line is more flexible.
+ Now executable path names containing spaces are translated
+ to the equivalent short name automatically. The result is
+ passed to cmd.exe with the quotes removed.
+24Sep06
+kes Apply the recycle patch from Richard Mortimer.
+kes Convert a few if statements in dev.c to switch statements.
+kes Start using print_errmsg instead of bstrerror().
+kes Print a job message in SD when a job is marked to be canceled.
+23Sep06
+kes All code added back. Fixed block.c read/write to loop only 3
+ times. This apparently keeps the OS from crashing (at least
+ most of the time).
+kes The kernel bug still persists. Backup something then immediately
+ do a bscan on the same tape, and the kernel will crash.
+kes Simplifed tape open(). It no longer uses nonblocking mode, which
+ means that opening with no tape loaded will probably take at least
+ 6 minutes before an error is reported.
+kes Do not use MTSETDRVBUFFER if not running as root. Do a MTRESET
+ when doing set_os_device_parameters.
+kes Report open error in mount.c
+kes Remove all .exe files from the installer directory on make clean.
+20Sep06
+kes Start adding back removed code.
+kes Back out a number of changes because backups to tape crash my
+ system.
+kes Remove the inetd code from the File daemon.
+18Sep06
+kes Add -c option to pg_dump so that it initializes tables when
+ restored.
+kes Fix FirstWritten time on Volume to be obtained from SD so that
+ it is the actual time the volume was first written.
+kes Minor Makefile changes.
+kes Handle EBUSY during read(). Improve how EBUSY is handled in write().
+ebl Add yes keyword to prune/purge command
+16Sep06
+kes Correct a test in block.c that prevented restore of a DVD from
+ looking at the last part in the spool directory.
+kes Make some error messages clearer mostly by using the word DVD
+ in the message. Improve infor message in read_record for DVDs.
+kes Remove DVD kludges in dircmd.c label/relabel.
+kes Move the dvd relabel code from dircmd.c into
+ write_new_volume_label_to_dvd() adding a relabel argument.
+kes Rewrite the truncate_dvd() code to be much simpler and
+ more logical. First blow away any spool part, then create a
+ new empty part and write to the DVD.
+kes Rewrite the can_write_on_non_blank_dvd() code making it
+ only ensure that no valid data is on the DVD -- i.e. it
+ can be overwritten.
+15Sep06
+kes Minor Makefile fixes.
+kes Put attach_dcr_to_dev in a subroutine.
+kes Make attaching/detaching to/from a device use a flag and
+ only detach if actually attached.
+kes Add dvd-simulator.in to scripts directory and add to configure.
+kes Fix code in acquire.c that checks fd != 0 to use dev->is_open().
+ This could be a cause of a number of drive reservation problems.
+ Note, this code is now in attach_dcr_to_dev().
+kes Suppress doing Volume updates if it is a system job. This should
+ prevent the DVD label blocking.
+kes Clear the freespace ok flag in a couple of strategic places.
+14Sep06
+kes Put removing zero sized spool part file in subroutine and
+ call from release_device().
+kes Add Richard's patch for relabel to dircmd.c, but save and restore
+ dev Volume name.
+kes Rework a lot of subroutines in dev.c to take dcr as an
+ argument. This is done to eliminate the usage of attached_dcrs
+ in lseek().
+kes Change truncated_dvd to blank_dvd, which seems more suitable.
+kes Apply most of Richard Mortimer's truncate patch.
+kes Create lseek() method for DEVICE that takes dcr as an
+ argument. This is to eliminate the use of attached_dcrs in
+ lseek(). The calls to lseek_dev() must still be changed.
+13Sep06
+kes Apply Richard Mortimer's patches for printing an error
+ message in btape when a DVD is used, and to initialize traceback.
+kes Added error message to btape when trying to access a file.
+kes Move prototype of update_slots() to protos.h.
+12Sep06
+kes Add JobErrors, JobFiles, SDJobFiles, SDJobErrors, SDJobStatus,
+ and FDJobStatus to the Director Python variables.
+kes Make sure valid argument passed to str_to_utime() where Arno
+ had a seg fault.
+kes Apply Richard Mortimer's patch for bcopy, bextract, and bscan.
+ I.e. part of two different patches.
+11Sep06
+kes Modify disk changer to simulate some of the error conditions
+ of mtx-changer.
+kes Make sure the close() call in the SD tools is just before the
+ getchar() call.
+kes Implement dir_get_volume_info() in bls using the patch from
+ Richard Mortimer but call find_num_dvd_parts().
+kes Implement find_num_dvd_parts() that mounts and scans a DVD
+ and counts the parts.
+kes Move the omode code in open_dvd() up so that the cannot
+ write on blank disk can check can be bypassed for read mode.
+ Not yet implemented.
+10Sep06
+kes Disable normal data spooling for DVD writing which uses
+ a different spooling mechanism.
+kes Apply patch from Richard Mortimer to ensure that the number
+ of DVD parts is correctly updated.
+rbn Save installer details log in the Bacula directory as
+ install.log.
+rbn Add installer generation of client and storage templates
+ suitable for @inclusion on the director.
+rbn Mark previously installed Win32 components read-only since
+ deselection doesn't do anything.
+
+Version 1.39.22 beta released:
+08Sep06
+kes Fix logic error in handling error return from mtx-changer
+ script.
+kes Make status from SD aware of -1 (unknown) Slot status.
+kes At Eric's suggestion make both the 'slots' and 'drive' commands
+ to the Storage daemon work even if the drive is busy.
+kes Make two separate Win32 menu links for starting bconsole and
+ wx-console in winbacula.nsi
+kes Apply DVD part_spooled patch from Richard Mortimer
+ richm@oldelvet.org.uk
+kes Put installer/Readme.txt into Win32 EOL format for Notebook.
+rbn Fixed problems migrating settings from previous releases in
+ Win32 installer. Add Readme.txt with an option to show it on
+ the installer Finish page.