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