]> git.sur5r.net Git - bacula/bacula/blob - bacula/kes-1.39
8570c3da75bd53bd6f9a9f6e0562c43556825071
[bacula/bacula] / bacula / kes-1.39
1               Technical notes on version 1.39  
2                         Kern Sibbald
3
4 General:
5 22Jun06
6 - Update some very old licenses in src/cats.
7 - Modify the database format for handling Migration jobs:
8    Add PriorJobId, RealEndTime to Job table
9    Delete MAC table
10    Remove Stripe from JobMedia record (not used, wasting space)
11    Add ScratchPoolId, RecyclePoolId, Enabled to Media record
12    Add Cost to Location table.
13 - Delete mac_record subroutines.
14 - Add new table values to create/update/get routines as appropriate.
15 - Update the update_tables and make_tables scripts.
16 - Make a first cut in using a union where multiple pointers (actually
17   pointers to pointers) are stored.
18 - Make some changes to base64.c suggested by Robert and others and add
19   a small amount of documentation.
20 - Add some changes suggested by Peter for Solaris (bregex...)
21 - Make runscript.h always built because it needs to be pulled into
22   more places.  In particular its RES was left out of a union.
23 - Renumber the enum{} list in runscript.h to avoid starting from zero.
24   This makes it slightly easier to detect uninitialized variables.
25 14Jun06
26 - Remove xpg4 lib from FreeBSD build as it is no longer needed and
27   sometimes creates install problems.
28 - Change a couple of %T in strftime to %H:%M:%S as seen in Robert
29   Nelson's code.  More to do.
30 - Convert a few store_bit to store_bool in filed_conf.c.    
31 - DVD tweak to block.c as supplied by Uwe Muessel.
32 04Jun06
33 - Modify configure.in to check for typeof().
34 - In findlib/attribs.c use typeof instead of templates if possible.
35 01Jun06
36 - Implement partial error messages for src/filed/acl.c
37 - Fix return code to fail when doing update barcodes and
38   Pool resource is not found. This previously caused Volumes
39   to be labeled as cleaning tapes.
40 - Small updates to projects.
41 27May06
42 - Add Eric Bollengier patch for new RunScript directive. It breaks
43   compatibility between dird and fd.
44 26May06
45 - Prevent DVD code from rewriting label if the device cannot be
46   opened read/write.
47 - Used __GNUC__ to detect GNU g++ as suggested by John Goerzen to
48   fix Debian build bug.
49 - Fix Dir/SD run race in migrate.c, verify.c, and restore.c
50 - Integrate manpages contributed by Jose Luis.
51 - Update projects file.
52 - Add manpages Makefile.in to configure.in
53 - Remove installation of bacula.8 in scripts directory.
54 24May06
55 - Implement patch submitted by cesarb in bug #606 to implement O_NOATIME
56   support.
57     O_NOATIME is a open() flag which makes it possible to read a file without
58     updating the inode atime (and also without the inode ctime update which
59     happens if you try to set the atime back to its previous value). It also
60     prevents a race condition when two programs are reading the same file, but
61     only one does not want to change the atime. It's most useful for backup
62     programs and file integrity checkers (and bacula can fit on both
63     categories).
64
65     Recent versions of the Linux kernel and glibc have support for it (the
66     glibc support being mostly copying the O_NOATIME definition to
67     bits/fcntl.h). If there's no support for it on the kernel, trying to use
68     it does nothing (since the kernel ignores unknown flags).
69
70     If the kernel has support for it, trying to use it either works, fails
71     silently (mostly in remote filesystems), or returns errno=EPERM (if you
72     are not either the owner of the file or root). A simple way to prevent the
73     failure is to open the file without the flag and set it later with
74     fcntl(F_SETFL), ignoring any EPERM errors.
75 - Applied patch posted by Jaime Ventura to bug #570 to correct failure
76   of restarted jobs to complete (due to a destroyed pthreads conditional
77   variable used by the message thread).
78 - Fixed bug #619 where Bacula would not restart jobs with MaxRestartTimes
79   set to zero. 
80 - Apply patch from John Goerzen bug #611 to fix bad manual links in the code.
81 - Apply patch from Rudolf Cejka bug #614 to removed trailing
82   colons in query.sql file.
83 - Apply patch from Rudolf Cejka bug #613 to correct prunning of files
84   not to create orphans.
85 - Apply patch from Rudolf Cejka bug #617 to use mtime instead of ctime
86   in restore long listing.
87 - Apply patch from Rudolf Cejka bug #609 to use MarkId in verify.c instead
88   of incorrect MarkedId.
89 - Apply patch from adioso bug #616 to correct text in manual (replace
90   Director with File daemon).
91 - Rework a few of the zlib changes so that they build properly.
92
93 21May06
94 - Move DIR "run" command to SD before starting the message thread
95   as suggested by Cristopher Hull to avoid a race deadlock from
96   two threads using the bsock structure.
97 - Modify LICENSE to correct some problems pointed out by Debian.
98 05May06
99 - Correct EOF with no \n lex.c problem.
100 - Tweak compat.h compat.cpp and merge with apcupsd
101 - Add additional INFO messages if autochanger cannot be used.
102
103 02May06
104 - Simplify Win32 Makefile
105 - Correct count of buffers/bytes used by smartall.c
106 - Updated compat.h after porting apcupsd to MinGW.
107 01May06
108 - Work on getting wx-console building on MinGW. wxWidgets now builds
109   started adding Makefile ...
110 - Moved MinGW library objects to src/win32/lib to reduce clutter.
111 30Apr06
112 - Reloading a bad configuration file doesn't kill director any more.
113   Thanks to fix from Eric Bollengier.
114 29Apr06
115 - Fix problem of accents with new Win32 code.
116 - Integrate Howard's VSS patch. Tweak it a bit. VSS now
117   works in the MinGW build with the exception that there
118   is a problem with accented characters -- i.e. there is
119   some mapping problem with wide characters.
120 - The code no longer compiles with Microsoft VC++.
121 28Apr06
122 - Start implementing Christopher's St.Bernard code.
123 - Add Christopher's mods for opening files.
124 - Strip \r \n from Win32 error messages (Christopher)
125 - Add more info about Win32 system if unknown (Christopher)
126 - Use bstrn(cpy, cat) routines to avoid overrun in compat.cpp
127 - Fix a number of incorrect strings marked for translation, when
128   they should not be (e.g. commands).
129 - Fix StartTime bug reported for ClientRunBeforeJob and RunBeforeJob
130   Patches supplied by user in bugs #608 and #599.
131 - Use most recent of st_ctime and st_mtime in restore tree DIR
132   listing. This fixes some problems with Win32 printing incorrect
133   values.
134 - Correct the clock shift comm time calculation between the DIR
135   and the FD. It was added rather than subtracted.
136 - Strip all backslashes in filenames to be restored on Win32
137   machines -- the names should all be in Unix format, and if
138   there are any backslashes it is most likely due to an improper
139   FileSet definition, and the files will not otherwise be 
140   restorable.
141 - Remove lib/regex.c (replaced by bregex.c).
142 - Delete src/win32/License.txt
143 - Modify installer to install LICENSE
144 26Apr06
145 - Fix bug in build-win32-cross-tools script reported by Howard
146 - Implement cross compiled bconsole
147 25Apr06
148 - Fix barcode test, eliminate BOOL (doesn't exist on Linux).
149 - Write first cut of README.mingw32
150 - Add back ua_label barcode fix from Rufolf Cejka.
151 - Integrate the majority of the Mingw cross-tools submission
152   made by Howard Thomson. Everything compiles, with zlib, openssl,
153   and VSS turned off. Linking needs a pthreads library ...
154 23Apr06
155 - Add 'Dir Status' button to the gnome console.
156 - More work on migration.
157 - Restore non-compatible base64 coding to permit compatibility.
158 - Display heap stats in Storage daemon without debug level.
159 22Apr06
160 - Integrate most of the MinGW changes -- more to do.
161 21Apr06
162 - Implement using pg_config for finding PostgreSQL files.
163   Fixes bug #600. Patch supplied by user.
164 - Remove -t option from mktemp in mtx_changer.in and use
165   working directory. Fixes bug #578.
166 - Update job start time after the any run before job so that
167   files created by the script are only backed up once. Fixes
168   bug #599.
169 - Strip trailing newline only from filenames entered in
170   the restore command when reading a file. This permits
171   the user to enter filenames with trailing spaces. Fixes
172   bug #549. The user supplied a patch that I modified slightly.
173 - Use the most recent time (st_mtime, st_ctime) in the dir
174   command in restore. This gives the user a better idea of what
175   the newest file really is. This fixes bug #574. The fix
176   was suggested by the user.
177 - Implement a compatible version of base64. This permits external
178   programs to duplicate Bacula's base64 algorithm using standard
179   routines. This fixes bugs #296, and 565. Patch submitted by   
180   author of bug #565.  
181   ================= Note ========================
182   Previous Signatures stored in the database are no longer
183   compatible with this. The main downside is for Verify jobs,
184   and doing an InitCatalog run will fix the problem. Also, the
185   authentication between the deamons is changed, so all daemons
186   must be simultaneously upgraded.
187   ==============================================
188   If you don't like this fix, set:
189     const bool compatible = true;
190   to
191     const bool compatible = false;
192   in src/lib/base64.c
193 20Apr06
194 - Ensure that DB signature is never NULL.
195 - Ensure that DB table names are not translated.
196 - Fix scheduler to handle time skew (eg daylight savings).
197 - Fix scheduler to use lock_jobs() to avoid most problems
198   with reload. Window is now milliseconds.
199 19Apr06
200 - Apply patch from Christopher Hull
201   - Allow multiple connections to database with different
202     parameters.
203   - Invalidate the scheduler when doing a reload. Fixes seg
204     fault, but still 60 second window.
205   - Additional info in Reschedule message.
206   - Use set_jcr_job_status() everywhere to prevent loss of
207     cancel, error.
208   - Display peer IP in FD if error from connecting DIR.
209   - Don't increment file count for DIRBEGIN.
210   - Replace illegal characters in Win32 filename by _.
211   - Add SE_CREATE_PERMANENT_NAME privilege in Win32.
212   - Hash hard link filenames rather than linked list.
213   - Fix for security failure in chdir on Win32.
214   - Add CreateDirectoryA/W win32 API entry points.
215 - Add /silent option to Win32 FD for Install/Remove service.
216 - Always print Heap statistics in FD.
217 18Apr06
218 - Remove the -f option from the chown in Makefile.in for more
219   portability.
220 - Change setting the group in Makefile.in to use chgrp for
221   more portability.
222 - Implement a write_store and read_store to replace
223   dirstore in reserve.c
224 - Implement a Bacula read/write lock for Python rather
225   than using the Python lock to avoid recursive problems.
226 - Correct the uninstall directory names in filed/Makefile.in
227   as reported by a user.
228 17Apr06
229 - Correct some problems with database creation (new tables).
230 - Replace a bunch of old 0x%x by %p.
231 - Get first cut of Migration with Job selection working.
232 16Apr06
233 - Change store_bit() to store_bool() for the Spooling in 
234   dird_conf.c -- bug reported by Robert Nelson.
235 15Apr06
236 - Correct Makefile bug found by Dan Langille.
237 14Apr06
238 - Correct Makefile for Solaris /bin/sh
239 - Correct mtx-changer.in for Solaris /bin/sh
240 - Abort if a conf resource does not have a Name =
241 12Apr06
242 - Change the name of the regex program to bregex.
243 - Add the bwild program to the tools directory. It is similar
244   to the bregex program.
245 - Implement create bregex.h and bregex.c in src/lib from the
246   Python regexp program.  
247 - Use the new bregex.c to implement Regex expressions on Win32.
248 11Apr06
249 - More work on migration.
250 - Implement wild program in tools directory for testing
251   wild-cards. Almost identical to the regex program.
252 - Up port VSS single thread locking code.
253 - Replace N_(..) by NT_(...) to inhibit translation of
254   commands.
255 - Modify Makefile to change the permissions on Working Directory
256   to 770 if the directory is created.
257 - Do not fail the Makefile if changing the permissions or 
258   owner/group on WorkingDir fails.
259 - Remove early selection of Scratch Volumes in the recycling
260   algorithm.
261 - Correct the old recycling algorithm so that Scratch Volumes
262   are selected when looking for a Volume in the changer.
263 - Correct a typo in the Verify SQL reported by Joe Park.
264 10Apr06
265 - Remove automatic case folding on Windows FDs. You must
266   explictly use the 'Ignore Case = yes' option.
267 - Remove the code added to 1.38.6 and 1.38.7 that pulls a
268   scratch volume in an Autochanger early in the 'recycling'
269   algorithm.  
270 09Apr06
271 - Make weof() and clrerror() methods of class DEVICE.
272 08Apr06
273 - Tweak license to include Microsoft restrictions.
274 - Move mysql.reconnect to after real_connect().  Thanks to
275   Frank Sweetser for the patch.
276 - Disallow a backslash in a File = directive (Windows junk)
277   unless the string is quoted.                     
278 - Apply Eric's patch to ua_label.c so that daemon protocol
279   is not translated.
280 - Add NT_ definition for strings that should not be translated.
281 - Apply NT_() to ua_label.c
282
283 - Remove timed wait for VSS on Win2K3 as it is not yet
284   implemented.
285 - Correct bacula.in script to reference bacula-ctl-xx in the
286   sysconfig directory rather than the bin directory.
287 26Mar06
288 - Fix a long standing bug in the bacula start/stop scripts.
289 - Attempt to add the new bacula-ctl-* files to the rpm.
290 - Switch to using typeof() for list traversing to avoid
291   as many FC5 g++ compiler warnings as possible.
292 25Mar06
293 - Split the bacula start/start script into four files:
294    bacula         -- starts and stops calling other scripts
295    bacula-ctl-dir -- starts/stops the director
296    bacula-ctl-fd  -- starts/stops the File daemon
297    bacula-ctl-sd  -- starts/stops the Storage daemon
298 24Mar06
299 - Create datestyle fix for PostgreSQL. Fixes bug #574.
300 - Correct editing of JobId from int to int64 in fd_cmds.c
301 - Eliminate FileSet name race with bash_spaces() and multiple
302   threads by bashing in a local.
303 - Fix error return from 'use storage' to print a correct error
304   message rather than nothing.
305 - Correct false re-read last block error message when two jobs 
306   are simultaneously writing at the end of a tape.
307 - Simplify exit conditions in the reserve.c code to avoid  
308   possible non-release of reservation_lock().
309 - Suffle lock order in reserve to avoid deadlock between
310   reservation lock and device mutex.
311 21Mar06
312 - Initialize jcr mutex before first use. Thanks to Thorsten for
313   tracking this down for me !!!! as it broke the Win32 build.
314 20Mar06
315 - Integrate addition of line count limitation to bsmtp -l from
316   Sebastian Stark <stark at tuebingen.mpg.de>
317 17Mar06
318 - Implement regex test program in tools directory.
319 - Attempt to fix time problem with bsmtp with foreign langs.
320 - Add strip_trailing_newline() submitted by user.
321 - Implement regex matching in migrate.c
322 16Mar06
323 - Fix bug #537 to allow arbitrary time to mount a volume for
324   restore, if polling is turned on.     
325 - If dir_user or dir-group is specified in ./configure apply it to
326   the working-dir. Fixes bug #533.
327 - If rescheduling a job cancel the previous incarnation with the SD.
328   Fixes bugs #566 and 557.
329 - Fix bug #567 do_message() definition type conflict.
330
331 14Mar06
332 - Add more jcr methods and make mutex and use_count private.
333 - Create lock/unlock methods for jcr.
334 - Fix PostgreSQL bug doing sql_data_seeek() by explicitly reading
335   records to get to seek position.
336 - Integrate patch from bug #561 to correct conio.c signal definitions.
337 - Fix Rescheduling failed Jobs. Ensure that SD message thread 
338   terminates correctly by doing pthread_kill(). Do not destroy
339   SD cond wait variable between executions of the job. Use local
340   mutex for cond variable to avoid blocking jcr chain. Fix poor 
341   use of jcr use count in jobq.c for restarted jobs.
342 - Fix obsolete usage of foreach_dlist() to use foreach_jcr() in
343   lib/jcr.c -- prevents locking the jcr chaing.
344 - Apply patch from bug #564, which corrects listing volumes with
345   multiple autochangers. Apply same fix to next volume list.
346 - Fix bug #562 where restore bootstrap file is not unique.
347 - More details in implementing David's migration syntax proposal.
348 - Save and restore dcr when swapping drives so that if we have
349   a write dcr it is not lost.
350 - Use new routine lock_reservations() to lock the reservations
351   system, and call it while looking for a volume in askdir.c.
352   This could possibly fix bug #543.
353 - Stop SD command loop if job is canceled.
354
355 08Mar06
356 - Remove old code from findlib/create_file.c
357 - Rename mac.c migrate.c
358 - Add user friendly display of VolBytes in job report.
359 - Rename target... to previous... to make it a bit easier to
360   understand.
361 - Add selection type and selection pattern to Migration (idea
362   given by David Boyes). 
363
364 04Mar06
365 - The po files should now be current.
366 - Fix new sql_use_result() code to properly release the
367   buffers in all cases.
368 - Use the keyword ujobid to mean the unique job id; job or jobname
369   to mean the Job name given on the Name directive, and jobid to
370   be the numeric (non-unique) job id.
371 - Allow listing by any of the above.
372 - Add the user friendly job report code for reporting job elapsed time
373   and rates with suffexes from John Kodis <kodis at comcast.net>.
374 - Add Priority and JobLevel as Python settable items.
375 - Use TEMPORARY table creation where the table is created by
376   Bacula.
377 - Add new code submitted by Eric for waiting on specific jobid.
378 - Add ACL checking for the dot commands.
379 - Fix restore of writable FIFOs.
380 - Fix a bug in bpipe where the string was freed too early.
381 27Feb06
382 - Modify the Python class examples to inherit object -- new way
383   of defining classes. Patch from Felix Schwarz.
384 - Implement jobuid to replace old usage of job in keywords as
385   suggested by Eric Bollengier.
386 - Apply patch for enhancing wait from Eric Bollengier. On can now:
387    wait  (wait for all jobs to stop)
388    wait jobid=nn
389    wait jobuid=unique id
390    wait job=job-name
391 - Implement write variables for Python to set Priority (anytime), and
392   Job Level, only during JobInit event.
393 26Feb06
394 - Fix the block listing bug pointed out by Arno.
395 - Update the po files at Eric's request.
396 24Feb06
397 - Fix Maximum Changer Wait, Maximum Open Wait, Maximum Rewind Wait to 
398   accept time qualifiers.
399 - Make catalog respect ACL.
400 - Add recycle count to Media record.
401
402 Changes to 1.39.6-beta1 24Feb04
403 23Feb06
404 - Add Rudolf Cejka's new rc-chio-changer.
405 - Implement pulling Volume from Scratch Pool if the
406   Volume is in the autochanger.
407 - Implement additional command arguments for update Volume.
408
409 Changes to 1.39.5 
410 22Feb06
411 - Back port changes to 1.38.5
412 - Fix recycle SQL for StorageId.
413 - Fix misplaced quote in mtx-changer script.
414 20Feb06
415 - Note. Your database must be updated, or you must create 
416   a new database. I have not yet incremented the database level.
417 - Add Location table. 
418 - Add LocationId, DeviceId, and MediaTypeId to Media record.
419 18Feb06
420 - Implement create/get mac record in database for adding extended
421   Migration data to the job record.
422 - Add new MAC table to update/make database scripts.
423 - Return Storage name used when getting VolumeNames for a job.
424 - Change bsr file keyword Storage to Device, which is more accurate.
425 - Ensure that Mac records are pruned/purged.
426 - Tweak SD tools to deal with changing media type.
427 - Integrate more dev.c subroutines as methods (e.g. strerror, bsr, ...)
428 - Pass pointer to dcr pointer to acquire_device_for_read() so
429   that the subroutine can switch devices, and hence dcrs.
430 - Modify the multiple MediaType read code to re-use the same
431   dcr when switching devices. This makes the code much more
432   robust.
433 - Integrate patch from Karl Hakimian that reads JobIds, FileIndexes
434   from a table for restore.
435 - Add Storage name to VolParams, but it really should be Device.
436 14Feb06
437 - Add disk-changer to scripts directory + configure/Makefile
438 - Eliminate PoolId from jcr -- it is in jcr->jr.PoolId
439 - Implement store_bit scanner to replace store_yesno.  Mostly done.
440 - Implement new store_bool that stores in a bool. 
441 - Add true/false to yes/no conf directives.
442 - Make first cut at changing appropriate store_yesno to store_bool.
443 - Complete implementation of Pool storage devices.
444 - Move starting clones to job.c
445 - Move create_restore_bootstrap_file() to job.c
446 - Make copy_storage() more general to be able to handle
447   Pool storage.
448 - Cleanup a lot of migration code for manual running, including
449   using Pool storage.
450 - Move getting a scratch Volume into a subroutine.
451 - Make all places a Volume that is added to a pool to 
452   respect max vols.
453 - Fix bug in autochanger recycle code (improper edit 64 bit).
454 - Fix segfault in restore command when no value specified.
455 - Start adding code to handle multiple MediaTypes in restore.
456 - Eliminate race condition in getting Volume name for
457   two drive autochanger.
458 - More debug code in autochanger.
459 - Add storage keyword to bootstrap file, add parsing.
460 - Move slot in bsr file into Volume record as there will be
461   a different slot for each Volume.
462 - Create reserve.h
463 07Feb06
464 - Implement Pool storage overrides.
465 06Feb06
466 - Implement first cut of Migration.
467 - Implement mysql_use_result() from patch by Karl Hakimian.
468   This reduces significantly the memory consumption during
469   the restore tree building, and hence runs faster too.
470 - Implement StorageId patch supplied by user (reggie) in bug
471   #536.  This should permit Bacula to work correctly with two
472   autochangers.
473 - Implement Job listing variations suggested by a user.
474 - Move updating bootstrap code in backup.c to subroutine
475   update_bootstrap_file().
476 - Add new job status elapsed time and bytes written user
477   friendly job report output patch sent by John Kodis
478   <kodis at comcast.ne>.
479 - Implement a storage list in Pools.
480 - Separate out setup_job() code from run_job().
481 - Get migration working -- lots of changes in mac.c in both
482   DIR and SD.
483 - Apply patch from user (Eric Bollengier I think) that fixes a  
484   DIR crash when no arguments are supplied to a dot command.
485 - Fix typo (strcpy->strcmp) in ua_prune.c as reported by Martin.
486 - Fix command arg name->volume in label command of gnome-console.
487 - Fix SD acquire.c to release correct DCR by explicitly testing
488   on the dcr address rather than trying to devine if it is a read
489   or write dcr.  This failed in error conditions when the device was
490   not fully setup.
491  
492 30Jan06
493 - Apply user supplied patch for more readable rate output
494   in job report.
495 - Continue implementing migration.
496 - Implement support for removable filesystems in SD.
497 - Ensure that btraceback scripts can be read by anyone.
498 - Replace dvd-freespace and dvd-writepart by dvd-handler.
499 - Correct bug where canceling restore before the FD contacts
500   the SD causes the drive to be left in read mode.
501 - Move ofline_or_rewind into DEVICE::close().
502 - Eliminate close_device.
503 - Convert several dev subroutines to methods (e.g. bsf,
504   eod, ...)
505 - Eliminate force_close_device().
506 - Implement Device Type directive in Device resource that
507   can have values File, Tape, Fifo, DVD, or Prog.
508 - Add has_cap() method to Device.
509 Changes to 1.39.4
510 17Jan06
511 - Add patch from bug #527 to allow RedHat user to specify
512   options/user/group for starting each daemon in      
513   /etc/sysconf/bacula.
514 16Jan06
515 - Add two new queries to query.sql provided by Arno. One
516   list volumes known to the Storage device, and the other
517   lists volumes possibly needing replacement (error, ...).
518 15Jan06
519 - Add periodic (every 24 hours) garbage collection of memory 
520   pool by releasing free buffers.
521 14Jan06
522 - Correct bug counting sized (for display only) in smartall.c
523 - Print FD mempool stats if debug > 0 rather than 5.
524 12Jan06
525 - Make db_lock() mutex error fail the job rather than abort
526   Bacula.  Canceling the job caused the mutex to fail.
527 - Correct bug in alist.c that re-allocated the list if the
528   number of items goes to zero.
529 - Move the reservation system thread locking to the top level
530   so that one job at a time tries all possible drives before
531   waiting.
532 - Implement a reservation 'fail' message queue that is built         
533   and destroyed on each pass through the reservation system.
534   These messages are displayed in a 'Jobs waiting to reserve
535   a drive' list during a 'status storage='.  Note, multiple
536   messages will generally print for each JobId because they
537   represent the different problems with either the same drive
538   or different drives.  If this output proves too confusing
539   of voluminous, I will display it only when debug level 1
540   or greater is enabled in the SD.
541 11Jan06
542 - Add enable/disable job=<job-name>.  This command prevents
543   the specified job from being scheduled. Even when disabled,
544   the job can be manually started from the console.
545 - During 'update slots' clear all InChanger flags where the
546   StorageId is zero (old Media records).
547
548 Beta release 1.38.4:
549 09Jan06
550 - Fix autochanger code to strip leading spaces from returned
551   slots number. Remove bc from chio-changer.
552 - Back port a bit of 1.39 crypto code to reduce diffs.
553 - Fix first call to autochanger that missed close()ing the
554   drive. Put close() just before each run_program().  Fixes
555   Arno's changer bug.
556 07Jan06
557 - Add PoolId to Job record when updating it at job start time.
558 06Jan06
559 - Pull in more code from 1.39 so that there are fewer file
560   differences (the new ua_dotcmds.c, base64.h, crypto.h
561   hmac.c jcr.c (dird and lib) lib.h md5.h parse_conf.c 
562   util.c. Aside from ua_dotcmds.c these are mostly crypto
563   upgrades.
564 - Implement new method of walking the jcr chain. The
565   incr/dec of the use_count is done within the walking
566   routines.  This should prevent a jcr from being freed
567   from under the walk routines.
568
569
570 Changes to 1.39.3:
571 04Jan06
572 - Start implementing Verify list output.
573 - Move the suitable_drive flag to a better place to prevent
574   premature termination of the reservation if all drives
575   are busy -- should fix Arno's diff/inc pool failures.
576 26Dec05
577 - Add mutex to single thread VSS code in Win32.
578 22Dec05
579 - Simplify code in askdir.c that waits for creating an appendable
580   volume so that it can handle multiple returns from the wait
581   code.
582 - Modify the wait code to permit multiple returns.
583 - Return a zero when "autochanger drives" is called and
584   it is not an autochanger.
585 - Make rewind_dev() a method taking a DCR as an argument.
586   This permits closing and reopening the drive if the
587   rewind fails as happens if the drive was loaded while the
588   file descriptor was open. This refreshes the file descriptor.
589 - Remove the ST_OPENED flag and always rely on fd < 0 for knowing
590   if the device is open or not.  This should eliminate
591   Arnos problem.
592 - Return error if reserve cannot find at least one suitable device.
593 - Make wait_for_sysop() return correct state information.
594 - Fix Win32 state file problem. write was not using compat
595   code. This should fix bug #500.
596 21Dec05
597 - Modify gui on command to set only GUI mode and not batch.
598 - Modify .messages command to always print messages regardless
599   of the mode.
600 - If GUI mode is on, suppress automatic printing of 
601   You have messages. 
602 - Delete old bnet packet code.
603 - Ignore new BNET_START_SELECT and BNET_END_SELECT signals in
604   wx-console.
605 - Modify restore command in wx-console to set gui on and to use
606   only .messages instead of messages.  Hopefully this fixes bug
607   #514.
608 - Fix seg fault in exit of acquire when canceling a job --
609   reported by Wolfgang Denk
610 - Pull in latest reservation system changes from 1.38
611 - Make .messages command always print messages regardless
612   of the automessages flag.
613 17Dec05
614 - Fix seg fault if user labels a drive directory bug #513
615 - Remove quotes around Version as it breaks things.
616 16Dec05
617 - Merge in Aleksandar Milivojevic's mods to the spec file.
618 - Apply sparse code fix for raw drives and fifos. Bug 506
619 - Thorsten fixed Unicode cd problem with wx-console bug 505.
620 14Dec05
621 - Correct reservation system to do a last ditch try
622   for any mounted volume, then anyone anywhere.
623 - Add quotes around table Version because of
624   error in MySQL 4.1.15 -- bug report submitted.
625 - Correct some minor problems with btape in the fill
626   command.
627 - Updates to ssh-tunnel from Joshua Kugler.
628 - Added a report.pl program from Jonas Bjorklund.            
629 - Simplify the O_NONBLOCK open() code for tape drives,
630   and always open nonblocking.
631 - Do not wait for open() if EIO returned (shouldn't happen).
632 - Eliminate 3 argument to tape open().
633 - Correct the slot # edited in the 3995 Bad autochanger unload
634   message.
635 - With -S on bscan (show progress) do not divide by zero.
636 13Dec05
637 - Make cancel pthread_cond_signal() pthread_cond_broadcast().
638 - When dcr is freed, also broadcast dev->wait_next_vol signal.
639 - Remove unused code in wait_for_device.  
640 - Make wait_for_device() always return after 60 seconds of wait.
641
642 Changes to 1.39.2:
643 13Dec05
644 - Add stubs for non-crypto build.
645 12Dec05
646 - Use localhost if no network configured
647 11Dec05
648 - Eliminated duplicate MaxVolBytes in cat update -- bug 509.
649 - Remove debug print.
650 - Add bail_out in error during state file reading.
651 10Dec05
652 - Merge changes made to 1.38.3 into HEAD
653 - Add stubs for pygtk-console code
654 - Create Makefile.in for pygtk-console code
655 09Dec05
656 - Merge updates into 1.38 branch
657 - Update specs to include mysql4 define.
658 - Fix when attributes are sent, must be after binit().
659 - Stop read_record() if status not ok in second loop.
660 - Return rec->FileIndex in dcr->VolLastIndex for normal
661   and partial records in read_record().  This allows bscan
662   to get FileIndex at EOT correct.
663 - Fix butil.c to correctly set dcr -- fixes seg fault in bls.
664 08Dec05
665 - Fix Win32 built to work with new crypto code.
666 - Apply patch supplied by user (slightly modified) to fix
667   correct detection of holes in block devices and FIFOs. 
668   Bug # 506.
669 - Apply patch supplied by user (slightly modified) 
670   to fix SD hang with multiple pools and bad client
671   IP. Fixes bug # 508.
672 07Dec05
673 - Add nagios plugin to the examples directory. Submitted by
674   Christian Masopust.
675 - Remove warning message about multiple saves of hardlinked files
676   from find_one.c as it can generate too many warning messages.
677 - Modify most restore error messages to be queued so that they
678   appear at the end of the job rather than mixted with the restore
679   listing where they could be "lost".
680 06Dec05
681 - Reset timeout values before select() per patch from 
682   Frank Sweetser for problems with non-blocking sockets.
683 - Unlink the state file if either reading or writing it gets
684   errors.  Hopefully this will fix Win32 exit problems.
685 - Add sanity check in append.c to ensure that dcr is not NULL.
686   This can happen if multiple drive autochanger SCSI control
687   channel and drive indicies do not correspond.
688 05Dec05
689 - Get next volume from Scratch pool before creating a volume.
690 - Set new Pool defaults in Vol when moved from Scratch Pool.
691 - Remove argument from create_bacula_database for SQLite as it
692   caused an error.
693 - Add back index code so that two drive autochangers can get
694   a second tape.
695 - Change a bunch of debug levels to aid debugging autochangers.
696 - Fix reservation so that mutexes are properly applied.
697 - Rework reservation algorithm so that two drives can be used
698   at the same time.
699 04Dec05
700 - Landon merged his data encription changes into the HEAD
701 - Apply days keyword patch from Alexander.Bergolth at wu-wien.ac.at 
702   If this patch is applied, the number of days can be specified with
703   "list nextvol days=xx"
704   or
705   "status dir days=xx"
706   My use case is to be able to preview the next scheduled job (and the 
707   next tape to be used) on fridays if there are no scheduled jobs during 
708   the weekend.
709 Changes to 1.39.1:
710 03Dec05
711 - Fix font code in gnome2 console user patch. Fixes bug #501.
712 - Fix malformatted bnet error message that caused seg fault
713   fixes bug 502
714 - Applied user patch to improve README.vc8 in src/win32.
715 29Nov05
716 - Add Migrate, Copy, Archive Job types (some where there)
717 - Correct some more editing of JobId's (for 64 bit compatibility).
718 - Ensure that StorageId is stored in Media record when ever possible.
719 - Add Migration Job to Job.
720 - Add Migration Time, Migration High Bytes, Migration Low Bytes
721   Next Pool to Pool resource.
722 - Add more code to mac.c (migration archive copy).
723 - Change Start Storage daemon job to require read and write storage
724   pointers.
725 - Pass read storage data to SD as well as write storage data.
726 - Remove old code from winservice.cpp
727 - Break on error in scan.
728 - Fix typo in signal.c
729 - Separate read/write DCR in SD.  Add jcr->read_dcr.
730 - Cleanup how find_device() works.
731 - Add read output to Status in SD.
732 Changes to 1.39.0:
733 23Nov05
734 - Add red-black btree routines
735 21Nov05
736 - Remove abs() in bfile.c so that it compiles on Solaris. 
737   Bug #491.
738 20Nov05
739 - Fix crash in tray-monitor when daemon disconnects. Bug #479.
740 - Fix bnet-server bug found on OpenBSD. Bug #486
741 - Fix cancel failure bug. Bug #481
742 - Fix failure when Pool name has spaces. Bug #487   
743 - Fix SD crash in autochanger code. Mutex failure. Bug #488
744 - Fix a couple of free()s in src/filed/acl.c
745 - Fix memory overrun in bfile.c in building OS X resource
746   fork filename. Bug #489 
747 - Add Pool name to SD status output.
748 14Nov05
749 - Apply SunOS patch for ACLs submitted by David Duchscher.                  
750 - Make sure to set storage before trying to set drive.
751 - Add bacula_mail_summary.sh to examples directory. It makes
752   a single email summary of any number of jobs. Submitted
753   by Adrew J. Millar.
754 - Make sure when we do a mount to unblock the device even
755   if the drive could not be opened.  
756 13Nov05
757 - Remove the USE_WIN32STREAMEXTRACTION #defines (always on)
758   and correct a few minor problems to make it build on Linux.
759 10Nov05
760 - Remove delete of CVS from all Makefiles
761 - Fix seg fault when clicking on Add button in wx-console
762   restore panel.  Bug #470.
763 - Fix copyright date and URL typo -- bug #468.
764 - Change autostart install for FreeBSD to look for rc.conf  
765   rather than rc.local as suggested fix for bug #466.
766 - Apply patch supplied by Eric Bollengier to fix PostgreSQL    
767   grant on status. Bug #465
768 - Apply patch supplied by Eric Bollengier to fix PostgreSQL
769   update script. Bug #464
770 - Tweak #ifdefing a bit in new Win32 stream code.
771 - Fix #ifdeffing for FD_NO_SEND_TEST.
772 - Add documentation of performance #defines