-Changes to 1.37.12:
-02Apr05
-- Reset NumVols in Pool record from database on every update
- Pool.
-- Modify DB to support multiple simultaneous copies and
- RAIT stiping.
-- Pass copy and stripe between DIR and SD and put into
- the JobMedia DB record.
-- Update and test SQLite and MySQL datebase creation and
- update scripts.
-- Implement version 9 of the DB.
-31Mar05
-- Convert more atoi to str_to_int64() for DB.
-- Implement filling in NumVols by querying DB rather
- than trying to keep track of it.
-- Add storage name to string passed to in use storage=
-- Fix newVolume() so that the Python script is always
- called.
-- Fix handling of pool,PoolId, and storage in ua_output.
-- Same fix in ua_status.c
-- Remove required locking of resources
-- Replace pthread_cond_signal() by pthread_cond_broadcast()
- hoping to fix the /lib/tls hang problems (lost signal).
-- Move resource locking seaching from parse_conf.c to res.c
- in src/lib.
-- Modify end of volume handling so that fixup_... does not
- redo what block.c has already done -- writing Vol info to
- DIR. This fixes a bug with bad numbers of files on a tape
- when it filled as reported by Peter.
-- In release_device() do not update the DIR on the Volume
- info if the the information was already written at the
- end of the tape.
-28Mar05
-- NOTE!!!! This version has a new DIR <--> SD protocol. Both
- must be updated at the same time.
-- Begin implementation of passing all the Storage and Device
- possibilities to the SD for examination during the reserve
- phase.
-- Modify the reserve and acquire code in the SD to make a
- job wait if the device is not available.
-- Implement New Volume Each Job in DIR and pass to SD, not yet
- used.
-- Remove init/update of the Device resource in DIR
-- Remove passing PoolId to SD and back.
-26Mar05
-- Remove \a and -e from error echos in most Makefiles.
-- Add more debug code when there are errors on the tape
- to try to find Peter's tape problem.
-- Add wait.c (oops forgot previously).
-- Move all the reserve/acquire_device_for_read/append to have
- only a DCR as the argument.
-- Rework the reserve_device_for_append() in stored to wait
- if the drive is not available. Note! This is a short
- term solution.
-25Mar05
-- Comment out Multiple Connections in the document.
-- Move the P() and V() to subroutines so that they can be accessed
- from class methods. The reference to strerror() caused problems.
-- Implement new DEVICE class methods block() and unblock() that
- do what was previously done in 3 lines of code.
-- Implement wait_for_device(), which will wait for any device
- to be released then return. This requires a new global mutex
- and condition variable, and is implemented in src/stored/wait.c
-- Change the code in reserve_device_for_read(), which previously
- failed the job to use the new device wait code.
-22Mar05
-- Apply reschedule patch to 1.37 code.
-- Add copyright to title page of manual so it is clear.
-- Create patch for rescheduling problem found by Ludovic. Storage
- pointers were lost during rescheduling.
-- Attempt to fix 2.6 rescue disk -- failed!
-- Start working on adding a wait routine in the SD.
-- Cleanup some old invalid doc in watchdog.
-- Convert a number of references to dev->dev_name to dev->print_name().
-- Add new wait.c file to SD.
-- Add a few more methods to DEVICE in SD to cleanup code a
- bit -- implement a few of the methods.
-18Mar05
-- Fix more print_name()s for printing device name.
-- Modify open_dev to try 10 times every 6 seconds to
- open the device if it gets an I/O error (meaning no
- volume mounted). This gives a bit of settling in time
- for an autochanger and avoids spurious messages.
-- Change all yes/no to yes|no in the manual.
-- Fix win32 create_file.c typo.
-- Fix a typo in an error message.
-17Mar05
-- Detect if fseeko exists with autoconf. If so, use it
- and ftello.
-- Remove old bacula-*.conf from examples directory (out
- of date).
-- Remove latex-fr index files from CVS.
-- Rewrite code that stops reading the tape so that the
- tape is marked at EOT, then once the work is done,
- the EOT flag is removed.
-- Flush output to file after every send in console.
-- Make setting VolFiles to smaller number fatal.
-- Disable Multiple Connections code.
-- Add patch from user for NetBSD statvsfs() fix to
- fstype.c
-- Take more care with errors in acquire.c
-- Don't run through dvd code in append.c if bad status
- returned.
-- Modify code so that an autochanger fault is fatal.
-- Use dev->print_name() in more places.
-- Implement dev->can_steal_lock() to simplify code.
-- Make btape re-read first 10000 records on fill command.
-- Check error return and fail job from fseeko and ftello
- in spool.c. Don't let a -1 slip in as size.
+02May06
+kes Simplify Win32 Makefile
+kes Correct count of buffers/bytes used by smartall.c
+kes Updated compat.h after porting apcupsd to MinGW.
+01May06
+kes Work on getting wx-console building on MinGW. wxWidgets now builds
+ started adding Makefile ...
+kes Moved MinGW library objects to src/win32/lib to reduce clutter.
+30Apr06
+kes Reloading a bad configuration file doesn't kill director any more.
+ Thanks to fix from Eric Bollengier.
+29Apr06
+kes Fix problem of accents with new Win32 code.
+kes Integrate Howard's VSS patch. Tweak it a bit. VSS now
+ works in the MinGW build with the exception that there
+ is a problem with accented characters -kes i.e. there is
+ some mapping problem with wide characters.
+kes The code no longer compiles with Microsoft VC++.
+28Apr06
+kes Start implementing Christopher's St.Bernard code.
+kes Add Christopher's mods for opening files.
+kes Strip \r \n from Win32 error messages (Christopher)
+kes Add more info about Win32 system if unknown (Christopher)
+kes Use bstrn(cpy, cat) routines to avoid overrun in compat.cpp
+kes Fix a number of incorrect strings marked for translation, when
+ they should not be (e.g. commands).
+kes Fix StartTime bug reported for ClientRunBeforeJob and RunBeforeJob
+ Patches supplied by user in bugs #608 and #599.
+kes Use most recent of st_ctime and st_mtime in restore tree DIR
+ listing. This fixes some problems with Win32 printing incorrect
+ values.
+kes Correct the clock shift comm time calculation between the DIR
+ and the FD. It was added rather than subtracted.
+kes Strip all backslashes in filenames to be restored on Win32
+ machines -kes the names should all be in Unix format, and if
+ there are any backslashes it is most likely due to an improper
+ FileSet definition, and the files will not otherwise be
+ restorable.
+kes Remove lib/regex.c (replaced by bregex.c).
+kes Delete src/win32/License.txt
+kes Modify installer to install LICENSE
+26Apr06
+kes Fix bug in build-win32-cross-tools script reported by Howard
+kes Implement cross compiled bconsole
+25Apr06
+kes Fix barcode test, eliminate BOOL (doesn't exist on Linux).
+kes Write first cut of README.mingw32
+kes Add back ua_label barcode fix from Rufolf Cejka.
+kes Integrate the majority of the Mingw cross-tools submission
+ made by Howard Thomson. Everything compiles, with zlib, openssl,
+ and VSS turned off. Linking needs a pthreads library ...
+23Apr06
+kes Add 'Dir Status' button to the gnome console.
+kes More work on migration.
+kes Restore non-compatible base64 coding to permit compatibility.
+kes Display heap stats in Storage daemon without debug level.
+22Apr06
+kes Integrate most of the MinGW changes -kes more to do.
+21Apr06
+kes Implement using pg_config for finding PostgreSQL files.
+ Fixes bug #600. Patch supplied by user.
+kes Remove -t option from mktemp in mtx_changer.in and use
+ working directory. Fixes bug #578.
+kes Update job start time after the any run before job so that
+ files created by the script are only backed up once. Fixes
+ bug #599.
+kes Strip trailing newline only from filenames entered in
+ the restore command when reading a file. This permits
+ the user to enter filenames with trailing spaces. Fixes
+ bug #549. The user supplied a patch that I modified slightly.
+kes Use the most recent time (st_mtime, st_ctime) in the dir
+ command in restore. This gives the user a better idea of what
+ the newest file really is. This fixes bug #574. The fix
+ was suggested by the user.
+kes Implement a compatible version of base64. This permits external
+ programs to duplicate Bacula's base64 algorithm using standard
+ routines. This fixes bugs #296, and 565. Patch submitted by
+ author of bug #565.
+ ================= Note ========================
+ Previous Signatures stored in the database are no longer
+ compatible with this. The main downside is for Verify jobs,
+ and doing an InitCatalog run will fix the problem. Also, the
+ authentication between the deamons is changed, so all daemons
+ must be simultaneously upgraded.
+ ==============================================
+ If you don't like this fix, set:
+ const bool compatible = true;
+ to
+ const bool compatible = false;
+ in src/lib/base64.c
+20Apr06
+kes Ensure that DB signature is never NULL.
+kes Ensure that DB table names are not translated.
+kes Fix scheduler to handle time skew (eg daylight savings).
+kes Fix scheduler to use lock_jobs() to avoid most problems
+ with reload. Window is now milliseconds.
+19Apr06
+kes Apply patch from Christopher Hull
+ kes Allow multiple connections to database with different
+ parameters.
+ kes Invalidate the scheduler when doing a reload. Fixes seg
+ fault, but still 60 second window.
+ kes Additional info in Reschedule message.
+ kes Use set_jcr_job_status() everywhere to prevent loss of
+ cancel, error.
+ kes Display peer IP in FD if error from connecting DIR.
+ kes Don't increment file count for DIRBEGIN.
+ kes Replace illegal characters in Win32 filename by _.
+ kes Add SE_CREATE_PERMANENT_NAME privilege in Win32.
+ kes Hash hard link filenames rather than linked list.
+ kes Fix for security failure in chdir on Win32.
+ kes Add CreateDirectoryA/W win32 API entry points.
+kes Add /silent option to Win32 FD for Install/Remove service.
+kes Always print Heap statistics in FD.
+18Apr06
+kes Remove the -f option from the chown in Makefile.in for more
+ portability.
+kes Change setting the group in Makefile.in to use chgrp for
+ more portability.
+kes Implement a write_store and read_store to replace
+ dirstore in reserve.c
+kes Implement a Bacula read/write lock for Python rather
+ than using the Python lock to avoid recursive problems.
+kes Correct the uninstall directory names in filed/Makefile.in
+ as reported by a user.
+17Apr06
+kes Correct some problems with database creation (new tables).
+kes Replace a bunch of old 0x%x by %p.
+kes Get first cut of Migration with Job selection working.
+16Apr06
+kes Change store_bit() to store_bool() for the Spooling in
+ dird_conf.c -kes bug reported by Robert Nelson.
+15Apr06
+kes Correct Makefile bug found by Dan Langille.
+14Apr06
+kes Correct Makefile for Solaris /bin/sh
+kes Correct mtx-changer.in for Solaris /bin/sh
+kes Abort if a conf resource does not have a Name =
+12Apr06
+kes Change the name of the regex program to bregex.
+kes Add the bwild program to the tools directory. It is similar
+ to the bregex program.
+kes Implement create bregex.h and bregex.c in src/lib from the
+ Python regexp program.
+kes Use the new bregex.c to implement Regex expressions on Win32.
+11Apr06
+kes More work on migration.
+kes Implement wild program in tools directory for testing
+ wild-cards. Almost identical to the regex program.
+kes Up port VSS single thread locking code.
+kes Replace N_(..) by NT_(...) to inhibit translation of
+ commands.
+kes Modify Makefile to change the permissions on Working Directory
+ to 770 if the directory is created.
+kes Do not fail the Makefile if changing the permissions or
+ owner/group on WorkingDir fails.
+kes Remove early selection of Scratch Volumes in the recycling
+ algorithm.
+kes Correct the old recycling algorithm so that Scratch Volumes
+ are selected when looking for a Volume in the changer.
+kes Correct a typo in the Verify SQL reported by Joe Park.
+10Apr06
+kes Remove automatic case folding on Windows FDs. You must
+ explictly use the 'Ignore Case = yes' option.
+kes Remove the code added to 1.38.6 and 1.38.7 that pulls a
+ scratch volume in an Autochanger early in the 'recycling'
+ algorithm.
+09Apr06
+kes Make weof() and clrerror() methods of class DEVICE.
+08Apr06
+kes Tweak license to include Microsoft restrictions.
+kes Move mysql.reconnect to after real_connect(). Thanks to
+ Frank Sweetser for the patch.
+kes Disallow a backslash in a File = directive (Windows junk)
+ unless the string is quoted.
+kes Apply Eric's patch to ua_label.c so that daemon protocol
+ is not translated.
+kes Add NT_ definition for strings that should not be translated.
+kes Apply NT_() to ua_label.c
+kes Remove timed wait for VSS on Win2K3 as it is not yet
+ implemented.
+kes Correct bacula.in script to reference bacula-ctl-xx in the
+ sysconfig directory rather than the bin directory.
+26Mar06
+kes Fix a long standing bug in the bacula start/stop scripts.
+kes Attempt to add the new bacula-ctl-* files to the rpm.
+kes Switch to using typeof() for list traversing to avoid
+ as many FC5 g++ compiler warnings as possible.
+25Mar06
+kes Split the bacula start/start script into four files:
+ bacula -kes starts and stops calling other scripts
+ bacula-ctl-dir -kes starts/stops the director
+ bacula-ctl-fd -kes starts/stops the File daemon
+ bacula-ctl-sd -kes starts/stops the Storage daemon
+24Mar06
+kes Create datestyle fix for PostgreSQL. Fixes bug #574.
+kes Correct editing of JobId from int to int64 in fd_cmds.c
+kes Eliminate FileSet name race with bash_spaces() and multiple
+ threads by bashing in a local.
+kes Fix error return from 'use storage' to print a correct error
+ message rather than nothing.
+kes Correct false re-read last block error message when two jobs
+ are simultaneously writing at the end of a tape.
+kes Simplify exit conditions in the reserve.c code to avoid
+ possible non-release of reservation_lock().
+kes Suffle lock order in reserve to avoid deadlock between
+ reservation lock and device mutex.
+21Mar06
+kes Initialize jcr mutex before first use. Thanks to Thorsten for
+ tracking this down for me !!!! as it broke the Win32 build.
+20Mar06
+kes Integrate addition of line count limitation to bsmtp -l from
+ Sebastian Stark <stark at tuebingen.mpg.de>
+17Mar06
+kes Implement regex test program in tools directory.
+kes Attempt to fix time problem with bsmtp with foreign langs.
+kes Add strip_trailing_newline() submitted by user.
+kes Implement regex matching in migrate.c
+16Mar06
+kes Fix bug #537 to allow arbitrary time to mount a volume for
+ restore, if polling is turned on.
+kes If dir_user or dir-group is specified in ./configure apply it to
+ the working-dir. Fixes bug #533.
+kes If rescheduling a job cancel the previous incarnation with the SD.
+ Fixes bugs #566 and 557.
+kes Fix bug #567 do_message() definition type conflict.