Kern Sibbald [Fri, 1 Dec 2006 07:51:55 +0000 (07:51 +0000)]
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.
Landon Fuller [Tue, 28 Nov 2006 07:07:42 +0000 (07:07 +0000)]
Fix a logic error that resulted in blank md5 sums and encryption signatures to be saved for non-file entities, eg, directories.
This was non-fatal, but obviously incorrect, in addition to being a waste of cycles and space.
Landon Fuller [Tue, 28 Nov 2006 07:02:34 +0000 (07:02 +0000)]
Fixed two bugs, the first of which is mine:
- If a signed digest was incorrectly written for a non-file, do not leak or attempt to validate the digest -- ignore it.
- If no new data is encrypted, but the output buffer is not empty, there is still data that needs to be written -- don't exit.
Kern Sibbald [Mon, 27 Nov 2006 10:03:06 +0000 (10:03 +0000)]
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.
Kern Sibbald [Sun, 26 Nov 2006 16:01:26 +0000 (16:01 +0000)]
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.
Kern Sibbald [Sun, 26 Nov 2006 09:26:55 +0000 (09:26 +0000)]
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.
Kern Sibbald [Fri, 24 Nov 2006 09:58:28 +0000 (09:58 +0000)]
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).
Kern Sibbald [Wed, 22 Nov 2006 15:48:29 +0000 (15:48 +0000)]
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.
Kern Sibbald [Mon, 20 Nov 2006 08:02:15 +0000 (08:02 +0000)]
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.
Kern Sibbald [Sun, 19 Nov 2006 09:43:51 +0000 (09:43 +0000)]
9Nov06
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.
Kern Sibbald [Sat, 18 Nov 2006 10:57:21 +0000 (10:57 +0000)]
18Nov06
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.
Kern Sibbald [Tue, 14 Nov 2006 20:57:51 +0000 (20:57 +0000)]
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.