Kern Sibbald [Sun, 12 Nov 2006 11:08:07 +0000 (11:08 +0000)]
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.
Robert Nelson [Sun, 5 Nov 2006 12:34:59 +0000 (12:34 +0000)]
Fixed problems with encryption when combined with compression or sparse files. Unfortunately because of this bug all previous encrypted backups can't be restored.
Fixed problem in bfgets with Windows and Mac end of lines.
Fixed bug in Windows version of close_bpipe() that caused programs like bsmtp() to hang waiting for the pipe to be closed.
Fixed binary file type problems in open_bpipe().
Fixed a number of bugs in the Windows version of the mysql DB scripts.
Robert Nelson [Wed, 1 Nov 2006 04:53:27 +0000 (04:53 +0000)]
Ignore UTF-8 marker at the start of .conf files.
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.
Robert Nelson [Tue, 24 Oct 2006 23:28:49 +0000 (23:28 +0000)]
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.
Fixed restore on Windows so that backslashes as path separators works.
Kern Sibbald [Fri, 13 Oct 2006 09:01:26 +0000 (09:01 +0000)]
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.
Robert Nelson [Wed, 11 Oct 2006 22:40:53 +0000 (22:40 +0000)]
Send M_ERROR_TERM and M_ABORT messages to stdout on Windows.
Fix cleanup of spool files on Windows.
Fix Windows 9x compatibility.
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.
Add new /debug option. This option enables the message boxes that previously were suppressed by the /silent option. In addition the daemons will open a console window if this option is used.
Fix bug with service not being removed on migrated installs.
Kern Sibbald [Wed, 11 Oct 2006 16:50:41 +0000 (16:50 +0000)]
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.
Kern Sibbald [Sat, 7 Oct 2006 21:09:43 +0000 (21:09 +0000)]
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.
Kern Sibbald [Mon, 2 Oct 2006 11:42:21 +0000 (11:42 +0000)]
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.