Kern Sibbald [Sat, 3 May 2008 09:03:33 +0000 (09:03 +0000)]
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.
Kern Sibbald [Thu, 1 May 2008 16:33:28 +0000 (16:33 +0000)]
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.
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 cause 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).
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.
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.
Kern Sibbald [Thu, 27 Mar 2008 09:57:54 +0000 (09:57 +0000)]
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.
Kern Sibbald [Sat, 22 Mar 2008 09:34:20 +0000 (09:34 +0000)]
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).
Kern Sibbald [Wed, 23 Jan 2008 19:46:04 +0000 (19:46 +0000)]
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