]> git.sur5r.net Git - bacula/bacula/blob - bacula/kes-1.37
Implement Maximum Job Spool Size (actually DCR based)
[bacula/bacula] / bacula / kes-1.37
1               Technical notes on version 1.37  
2                         Kern Sibbald
3
4 General:
5
6 Changes to 1.37.20:
7 27May05
8 - Implement Maximum Job Spool Size (actually DCR based)
9 26May05
10 - Use light weight non-recursive locking on jcr chain.
11 - Make JCR a class and implement inc_use_count() and
12   dec_use_count() methods that ensure that the jcr is
13   locked when inc/dec the use count.
14 - Remove the global jcr lock when traversing the jcr
15   chain.   
16 - Use dlist to implement the jcr chain rather than hand
17   crafted next and prev links.
18 - Lock the jcr chain inside each function that modifies
19   the chain.
20
21 Changes to 1.37.19:
22 26May05
23 - Fix compile problem of ua_restore.c on broken compilers.
24 - Apply patch from bug 326 to permit bacula status by any user.
25 - Fix bug 325 -- conversion of 12:30pm to 24hour time.
26 25May05
27 - Put Dmsg() on inside if() to avoid calling subroutine.
28 - Make restore.bsr have unique name.
29 - Allow user to define bsr filename on restore command line
30   with bootstrap=xxx.bsr
31 - Add limit=nnn to "list jobs" command.
32 - Remove old restore code that did not use .bsr file.
33 - unlink automatically generated bsr file.
34 - Cleanup heartbeat code so that duped fd is almost sure
35   to be released. Previously under certain conditions, the
36   memory was not released due to race conditions.
37 - Shorten copyright.
38 20May05
39 - Unify the reserve_device() for a single device into one subroutine.
40 18May05
41 - Modify wait during use_device to happen only after all devices
42   have been examined rather than in the reserve_device code.  
43 - Correct updating count of number of Volumes in a pool.
44
45 Changes to 1.37.18:
46 16May05
47 - Add more debug to SD for Autochangers + status output.
48 - Add Scratch to PoolType in PostgreSQL make...tables and do not
49   permit NULL PoolTypes. Fix for bug 319 reported by Eric.
50 - Update LICENSE.
51 - Add quotes around filename in parse_config error message. Bug
52   reported by Eric.
53 15May05
54 - Change nested \include to \input so that sections are properly
55   included in the pdf manual -- update the Web site.
56 - Set reconnect flag in MySQL packet to 1 to ensure that connection
57   is re-established.  MySQL 5 changed default to 0. Fixes bug report.
58 - Fix Scratch pool handling as reported in a bug by Eric Bollengier
59   by applying his patch.
60 - Remove delete job in favor of delete jobid.
61 - Add = NULL to configfile definitions as reported by Eric in a bug
62   report.
63 - Update winbacula.nsi.in to reflect new manual file structure.
64 10May05
65 - Correct a minor build problem with wx-console.
66 - Add cancel() to Dir Python scripting.
67 - Re-correct bug in parse-config error handling.
68 - Reorganization of use_command in SD to permit
69   waiting and multiple drive autochanger support.
70 09May05
71 - Correct bug in parse_config error handling.
72 - Where ever possible mark a volume in error or not   
73   InChanger in mount.c
74 - Fix bug in changing tape pools after first backup. Reported
75   by Peter Sjoberg.
76 - Enhance mtx-changer to use Working Directory as temp.
77 - Remove all but initial setup locking of Res in SD.
78 08May05
79 - Add Client OS type to Job report.
80 - Add version to manual 
81 - Update the Web site to have a single page for
82   the documentation links.
83
84 Changes to 1.37.18 release 08May05:
85 08May05
86 - Correct attribute definition compile error in 1.37.17
87 - Correct inverted order of CreateTime and MD5 pointed out
88   by a user in a bug report in FileSet db routine causing
89   the MD5 to print in the output instead of the time/date.
90
91 Changes to 1.37.17:
92 07May05
93 - Implement cstrlen() in sql list routines.
94 - Implement caching of attributes to add the        
95   signature so that only one DB call will be made
96   per file. Not yet turned on.
97 - Fix Win32 build for TLS.
98 - Optimize File pruning to eliminate one database call. 
99 - Fix bug that prevented File pruning from working.
100 - Implement a cstrlen() which returns the character
101   length of a UTF-8 string.
102 06May05
103 - Move test for MaxStartDelay as suggested by Peter.
104 - Implement Python methods (I had to read the Python source
105   code).
106 - Implement run() method in Director.
107 - Add Priority and Scheduled time to Job report.
108 - Add JobInit and JobRun events.
109 - Add Priority as Python read/write attribute to Job.
110 - Correct typo in bsmtp reported by Jo.
111
112 Changes to 1.37.16 released 05May05
113 03May05
114 - Make a few tls ifdef tweaks.
115 - Fix create_file.c Win32 problem pointed out by
116   Peter Sjoberg.
117 - Fix really ugly bstrncpy() but found by Thorsten.
118 - Move winapi.h/c from findlib to lib for inclusion in 
119   multiple places.
120 02May05
121 - Thorsten Engel finished his work on Win32 Unicode. We
122   now have a single executable that runs on all Win32 machines.
123 - Move job initialization code after job scheduling so that
124   Verify jobs check for the prior JobId after they are really
125   started rather than before.
126 - Fix lib/fnmatch.c so that it does proper testing before folding.
127 - More documentation -- at tls and ansi labels chapters.
128 - Fix fileset_convert.pl to handle empty Exclude statements.
129 - Turn regex back off in Win32
130 01May05
131 - Fix sign extension problem in lex.c that reads UTF-8 
132   with Chinese characters incorrectly.
133
134 Changes to 1.37.14:
135 30Apr05
136 - Remove a few HAVE_TLS #ifdefs
137 - Implement final Python style interface. More implemention to
138   be done, but the interface should change little if at all.
139 28Apr05
140 - Make default no tls support. You must add 
141   --with-openssl to get tls support.
142 27Apr05
143 - Update Web header to include google search in the search
144   box -- thanks to input from Michel Meyers.
145 - Fix md5sum so that it builds with the new openssl stuff.
146 - Take some enhancements to the md5sum test program proposed
147   by a user.
148 26Apr05
149 - Make option 2 of restore work better (list last 20
150   locations for a file).
151 - Make SD re-open a device with the right permissions if
152   it was previously opened with something different.  This
153   should allow reading read-only Volumes under all circumstances.
154 - Implement restore of a single directory.
155 - Apply Tru64 patch supplied by Pascal Pederiva <freebsd@paped.com>
156 - Apply Unicode fixes for Win32 from "Thorsten Engel" 
157   <thorsten.engel@matrix-computer.com>
158 - More work on Python read feature in FD.
159 22Apr05
160 - Fix (hopefully) the ftello() overflow reported by Peter.
161 - Landon Fuller committed his TLS patch.
162 - Fixed two minor warnings in console.c with TLS turned off.
163 - Updated the Makefile.in for wx-windows and tray-monitor
164   to handle TLS. I can only build the tray-monitor.
165 - Fix bscan to open tape in read-only mode (actually fix
166   it so that it doesn't use the standard open routine).
167 - Correct what appears to be an error in setting the
168   return value in dvd.c
169 21Apr05
170 - Get FD Python running -- design Python backup interface.
171 - Fix seg fault in SD when referencing Alert Command.
172 - More documentation.
173 - Fix one more thing in Win32 build.
174 20Apr05
175 - Doc updates
176 - Fix Win32 build
177 - Put in production here
178
179 Changes to 1.37.13:
180 19Apr05
181 - Fix SQLite and PostgreSQL table creation script syntax
182   problems.
183 - Fix new Python code to work for Director.
184 - Move lib/python.c to lib/pythonlib.c so that debug output
185   is easier to read (can distinguish lib from dird, ...).
186 - Cleanup Python build so that Python is not dragged
187   into programs that don't use it.
188
189 Changes to 1.37.12:
190 18Apr05
191 - Make Bacula build without Python
192 - Drop Status table in drop_ scripts -- bug 283.
193 17Apr05
194 - First cut of new Python implementation.
195 - Doc updates
196 - Correct SuSE autostart installation directory name --
197   supplied by a user.
198 - Fix director crash if Name directive not supplied
199   in a Job.
200 - More cleanup of changing %u to %s for DB IDs.
201 - Replace dev_can_write(dev) with dev->can_write().
202 11Apr05
203 - Make fsr_dev() a method dev->fsr()
204 - Remove Created new FileSet message as it always comes out in
205   the daemon messages.
206 - eliminate dev_is_tape() in favor of method dev->is_tape()
207 - Turn on disk seeking during restore for Disk Volumes. This
208   required some changes to bscan -- they seem a bit suspect as
209   they are not symmetrical for tape/files.
210 - Remove some of the recursion in stored/parse_bsr.c
211 - Move rescue out to a new Bacula project.
212 08Apr05
213 - Update of web site to replace old released doc with LaTeX 
214   version.
215 - Replace logo in doc with new bat logo.
216 - Make a good number of updates to the manual.
217 - Implement Python scripting using a Python object.
218   This makes interfacing with Bacula cleaner (object
219   oriented).
220 - Add Phil's Status table to the database -- used
221   for getting a text description of the status     
222   codes.
223 - Modify FileSet so that an empty Options (no
224   pattern matching) with an exclude will exclude
225   all files.                       
226 - Modify FileSet so that no top level included File
227   item can be excluded by a matching pattern.
228 - Suppress Created new FileSet record in daemon output.
229 - Implement Python in FD.
230 - Turn off old bfile reader code -- to be replaced
231   by Python.
232 05Apr05
233 - Remove more recursion in src/dird/bsr.c as pointed out
234   by Peter.
235 04Apr05
236 - Increase the index width of Filename and Path entries
237   to 255 chars -- suggestion of Meno Abels.
238 - Change remaining VARCHARS to TINYBLOBs.
239 - Remove recursion from is_volume_selected() following
240   bug report from Peter.
241 - Implement mostly correct handling of use_storage in the
242   SD with full lists, ...
243 02Apr05
244 - Reset NumVols in Pool record from database on every update
245   Pool.
246 - Modify DB to support multiple simultaneous copies and
247   RAIT stiping.
248 - Pass copy and stripe between DIR and SD and put into
249   the JobMedia DB record.
250 - Update and test SQLite and MySQL datebase creation and
251   update scripts.
252 - Implement version 9 of the DB.
253 31Mar05
254 - Convert more atoi to str_to_int64() for DB.
255 - Implement filling in NumVols by querying DB rather
256   than trying to keep track of it.
257 - Add storage name to string passed to in use storage=
258 - Fix newVolume() so that the Python script is always
259   called.
260 - Fix handling of pool,PoolId, and storage in ua_output.
261 - Same fix in ua_status.c
262 - Remove required locking of resources
263 - Replace pthread_cond_signal() by pthread_cond_broadcast()
264   hoping to fix the /lib/tls hang problems (lost signal).
265 - Move resource locking seaching from parse_conf.c to res.c
266   in src/lib.
267 - Modify end of volume handling so that fixup_... does not
268   redo what block.c has already done -- writing Vol info to
269   DIR. This fixes a bug with bad numbers of files on a tape
270   when it filled as reported by Peter.
271 - In release_device() do not update the DIR on the Volume
272   info if the the information was already written at the
273   end of the tape.
274 28Mar05
275 - NOTE!!!! This version has a new DIR <--> SD protocol. Both 
276   must be updated at the same time.
277 - Begin implementation of passing all the Storage and Device
278   possibilities to the SD for examination during the reserve 
279   phase.
280 - Modify the reserve and acquire code in the SD to make a 
281   job wait if the device is not available.
282 - Implement New Volume Each Job in DIR and pass to SD, not yet
283   used.
284 - Remove init/update of the Device resource in DIR
285 - Remove passing PoolId to SD and back.
286 26Mar05
287 - Remove \a and -e from error echos in most Makefiles.
288 - Add more debug code when there are errors on the tape 
289   to try to find Peter's tape problem.
290 - Add wait.c (oops forgot previously).
291 - Move all the reserve/acquire_device_for_read/append to have
292   only a DCR as the argument.
293 - Rework the reserve_device_for_append() in stored to wait
294   if the drive is not available.  Note! This is a short
295   term solution.
296 25Mar05
297 - Comment out Multiple Connections in the document.
298 - Move the P() and V() to subroutines so that they can be accessed
299   from class methods. The reference to strerror() caused problems.
300 - Implement new DEVICE class methods block() and unblock() that
301   do what was previously done in 3 lines of code.
302 - Implement wait_for_device(), which will wait for any device
303   to be released then return. This requires a new global mutex
304   and condition variable, and is implemented in src/stored/wait.c
305 - Change the code in reserve_device_for_read(), which previously
306   failed the job to use the new device wait code.
307 22Mar05
308 - Apply reschedule patch to 1.37 code.
309 - Add copyright to title page of manual so it is clear.
310 - Create patch for rescheduling problem found by Ludovic. Storage
311   pointers were lost during rescheduling.
312 - Attempt to fix 2.6 rescue disk -- failed!
313 - Start working on adding a wait routine in the SD.
314 - Cleanup some old invalid doc in watchdog.
315 - Convert a number of references to dev->dev_name to dev->print_name().
316 - Add new wait.c file to SD.
317 - Add a few more methods to DEVICE in SD to cleanup code a
318   bit -- implement a few of the methods.
319 18Mar05
320 - Fix more print_name()s for printing device name.
321 - Modify open_dev to try 10 times every 6 seconds to
322   open the device if it gets an I/O error (meaning no
323   volume mounted). This gives a bit of settling in time
324   for an autochanger and avoids spurious messages.
325 - Change all yes/no to yes|no in the manual.
326 - Fix win32 create_file.c typo.
327 - Fix a typo in an error message.
328 17Mar05
329 - Detect if fseeko exists with autoconf. If so, use it 
330   and ftello.
331 - Remove old bacula-*.conf from examples directory (out
332   of date).
333 - Remove latex-fr index files from CVS.
334 - Rewrite code that stops reading the tape so that the
335   tape is marked at EOT, then once the work is done,
336   the EOT flag is removed.
337 - Flush output to file after every send in console.
338 - Make setting VolFiles to smaller number fatal.
339 - Disable Multiple Connections code.
340 - Add patch from user for NetBSD statvsfs() fix to
341   fstype.c
342 - Take more care with errors in acquire.c
343 - Don't run through dvd code in append.c if bad status
344   returned.
345 - Modify code so that an autochanger fault is fatal.
346 - Use dev->print_name() in more places.
347 - Implement dev->can_steal_lock() to simplify code.
348 - Make btape re-read first 10000 records on fill command.
349 - Check error return and fail job from fseeko and ftello
350   in spool.c.  Don't let a -1 slip in as size.
351
352 Changes to 1.37.7:
353 15Mar05
354 - Apply NetBSD patch from kardel in bug 258.
355 14Mar05
356 - Add a second job and a second client to the default
357   bacula-dir.conf file.
358 - Remove old style Include/Excludes.
359 - Fix ANSI labels to put EOF1 and EOF2 after each file mark.
360 - Add Python to SD and FD.
361 12Mar05
362 - Implement IBM labels
363 - Implement EOF and EOV labels at the end of a volume.
364 - Fix a rather ugly problem with the PoolId not getting
365   passed correctly. Now the DIR passes the Pool name and
366   Media Type to the SD, who passes them back when requesting
367   the next Volume. The DIR then looks up the correct PoolId.
368   This takes more time, but always works, AND allows wild
369   card Media Types (i.e. the SD can decide).
370 - The DIR <==> SD protocol has changed.
371
372 Changes to 1.37.6:
373 11Mar05
374 - Fix scanf of PoolId in catreq to handle 64 bit Ids.
375 10Mar05
376 - Add new ua_update.c file and move update_cmd there.
377 - Modify "update slots" to obtain actual number of slots.
378 - Tweak autochanger code to handle new slots request.
379 - Modify autochanger code to lock/unlock around slots and
380   update slots code.
381 09Mar05
382 - Patch the FD so that it does not issue an error message if
383   it attempts to restore the permissions on a Win32 drive.
384 - Edit "Resource-name" (physical-name) for the device name
385   everywhere in the SD.
386 - Remove .linked.tex files in preparation for cutover to
387   using .tex in place of .wml.
388 08Mar05
389 - Copy latest config.sub and config.guess from autoconf.
390 - Try new way of identifying drives with:
391    "resource-name" (physical-name)
392   More work need to a complete conversion.
393 07Mar05
394 - Rework some of the autochanger data so that the DIR has   
395   the number of drives.
396 - Modify the way the Device info is returned so that it comes
397   back as a special message type and can be sent anytime the
398   Device status changes.
399 - Copy the change name and changer command into the device
400   record if none is specified.
401 - Require the change command and changer name to be specified in
402   and AutoChanger resource.
403 - Force all the Media Type records of all devices in an Autochanger
404   to be the same.
405 06Mar05
406 - Add new "run" command to Job resource in DIR. This permits
407   cloning a job as many times as you want.
408 - Pass PoolId to SD on Query request. It is now used in the
409   Find_media catalog request.
410 - Reworked the Device resource in the DIR. Eliminated num_waiting
411   and use_count, but added max_writers, reserved, and PoolId.
412 - This DIR is nolonger compatible with previous SDs.
413 - Add since and cloned keywords to the Console run command
414   to support cloning.
415 - Implemented store_alist_str() to allow multiple string items
416   to be specified in a .conf file.
417 - Added %s (since time) to Job code editing.
418 - Reworked reserving drives in the SD. It now does it much simpler
419   and correctly. 
420 05Mar05
421 - Integrate HP-UX patch from  Olivier Mehani <olivier.mehani@linbox.com>
422 - Fix FD job.c to test correctly for no level.
423
424 Changes to 1.37.4:
425 04Mar05
426 - Change Developers to Developer's Guide as requested by Michael.
427 - Fix developers link in manual
428 - Add additional dcr changes in SD to allow multiple dcrs.
429 02Mar05
430 - Fix a few problems with the MySQL table create in 1.37.
431 - Delete the new tables in the table delete files.
432 - Increase the number of items permitted in a conf table.
433 - Make Director loop over alternative Devices specified in the
434   Storage resource until one is reserved by SD.
435 - Fix storing of StorageId in Media records.
436 - Add AutoSelect = yes|no in bacula-sd.conf
437 - Add Autochanger support to Label command.
438 - Do not autoselect devices with autoselect set false 
439 01Mar05
440 - Implement setting DIR Storage device to Autochanger
441   name. 
442 - Select first available device in Autochanger.
443 - Pass back actual device name used.
444 - Allow Query of AutoChanger.
445 - Modify Query to include name of AutoChanger if 
446   Device belongs to one.
447 - Remove old Pool code in jobq.c
448 - Add Autoselect flag to query and DEVICE class (still
449   need Directive).
450 28Feb05
451 - Lock autochanger script when running.
452 - Mark Volume not InChanger if correct volume is not     
453   autoloaded.
454 - Corrected some typos in the make_xxx_tables.in files.
455 - Made preliminary split of pre-run and run code for each
456   job type. This will permit early opening of SD for reserving
457   drives.
458 - Add offline and autochanger fields to Device Query record.
459 - Correct pthread_mutex_init() for autochanger in SD.
460 - Tweak Makefile for LaTeX manual, plus add nav buttons.
461 26Feb05
462 - Clean up drive reservation system. Add more sanity checks.
463 - Implement a few more methods for the DEVICE class in SD.
464 - Add latex directories to make clean
465 - move DEV_BSIZE to B_DEV_BSIZE to avoid conflicts with
466   certain header files (FreeBSD).
467 24Feb05
468 - Fix an ASSERT that was triggering in stored/acquire.c
469   attempt to fix a bug report.
470 23Feb05
471 - Corrected SunOs to SunOS in btraceback (user submitted).
472 - Applied patch from Roger HÃ¥kansson <hson@ludd.luth.se>
473   to warn the user of defective AWKs during ./configure.
474 20Feb05
475 - Add some changes submitted by a user for HP client build.
476   Not all changes accepted.
477 - Rework code in filed/backup.c to ease #ifdefing and make
478   program flow more obvious.
479 - Split DVD code out of dev.c into dvd.c
480 - Tweak #ifdefing to add back all the performance measurement
481   #defines in version.h
482 - Put most of MTIOCGET code in a subroutine to simplify the
483   mainline code.
484 - Make clean remove old CVS files
485 - Remove unnecessary image files from Latex directory
486 - Implement remaining parts of Storage DB record and
487   its use in the Director.
488 - Implement
489   FullMaxWaitTime, Differential Max Wait Time, and               
490   Incremental Max Wait time in Job resource.
491 - Start work on SD Autochanger code.
492 19Feb05
493 - Add back JobId index for MySQL as default -- speeds up 
494   pruning.
495 - Add more database fields and fix the update scripts to
496   include the new items.
497 - Pass actual level to FD so that ClientRun editing can reflect
498   correct level -- ditto for job status. This makes the DIR
499   incompatible with older clients!
500 - Move jobq.c acquire resources to static subroutine so that
501   the code logic becomes clearer. This is in preparation for
502   actually using the new Device resources.
503 - Fix some lower case problems in sql_cmds.c reported by
504   Debian.
505 - Correct a seg fault in the SD reported by a user. Occurred
506   only when a high debug level was set.
507 - Modify init_dev() in dev.c to take JCR as first arg so that
508   proper error messages can be reported in next item.
509 - Modify the query and use device SD commands to attempt to
510   open the device if it could not previously be opened.
511 - Correct error message for Could not reserve device.
512 - Correct some minor details with Autochanger resource in SD.
513 18Feb05
514 - Fix seg fault if debug level 900 set in SD.
515 - Truncate Win32 child return code to 8 bits.
516 - Remove some old lld's.
517
518 Changes to 1.37.3:
519 16Feb05
520 - Make another attempt at fixing the ClientRunXXX return code 
521   bug on Win32 machines.
522 - Apply ua_status patch from Carsten Paeth <calle@calle.in-berlin.de>
523   which enforces console ACLs in the status command for Jobs.
524 15Feb05
525 - Fix Media LabelDate and FirstWritten to be correctly set.
526 - Fix deadlock in multiple simultaneous jobs.
527 - Fix tape "truncation"/"number of files" after restore bug.
528 10Feb05
529 - Ensure that correct error messages are returned when
530   reading an ANSI label.
531 09Feb05
532 - Modified ANSI label code to preserve any ANSI label 
533   already found by skipping over it rather than rewriting
534   it.
535 - Split the ANSI label code into ansi_label.c
536 - Do not let user relabel an ANSI labeled tape.
537 - Applied a patch for the console help command supplied
538   in a bug report. 
539 - Added some new dev methods. Most notably was
540   set_eof(), which handles setting all the dev variables
541   when an EOF is just read. This is now used most everywhere
542   in the code.
543 07Feb05
544 - Added code to detect that no files were inserted into the 
545   tree for a restore. If a specific JobId was specified, the
546   user has the option of restoring everything.
547 - More progress in implementing 64 bit DB Ids.
548 - Modified the daemon start messages for RH.
549 - Implement update scripts for all database types.
550 - First cut at implementing restore directory (it will not
551   recurse).
552 04Feb05
553 - OK, I think ANSI labels work.
554 - Added Label Type = ANSI|IBM|Bacula to Device resource in SD.
555   If this is set, it will force writing of the appropriate
556   label type.
557 - Added Check Labels = yes|no to Device resource in SD. If this
558   is set, Bacula will check for ANSI labels and accept them,      
559   otherwise, ANSI labels will not be accepted when the tape
560   is first mounted.
561 02Feb05
562 - Second cut ANSI labels.
563 01Feb05
564 - Merge Preben's patch for ACLs and for Mac OS X resource forks.
565 - Some doc updates.
566 - Display more informative message when a device was not
567   found or could not be opened.
568 - Add the sqlite3 database scripts. 
569 - Add some patches for 1.36.1 (note, I have now prepared
570   a 1.36.2 with all the patches and some new features --
571   to be documented).
572 - Some minor doc updates.
573 - Add Arno's baculareport.pl script to the examples directory.
574 29Jan05 -- after vacation
575 - Add support for SQLite3 (it seems to run at 1/2 the speed
576   of SQLite2).  Use --with-sqlite3 instead of --with-sqlite
577   to get SQLite3.
578 - Add target for running qemu to boot Rescue CDROM
579 - Add code to support kernel 2.6 in Rescue CDROM -- does NOT yet
580   boot correctly.
581 - Implement ANSI labels -- not yet tested.
582   This required changes to DB format. No upgrade script yet.
583   Note, more work needed to modify "update" command to handle
584   changing label types, also must restrict volume name lengths
585   to 6 characters.
586 - Add new Device, Storage, and MediaType records to DB. No
587   upgrade script yet.
588 - Add MediaType to bsr file record types. Not yet used in SD.
589 - Permit multiple device specifications in Storage resource in 
590   Dir conf file.
591 - Implement Device resources. Director requests Device resource
592   info from SD on startup. 
593 - Note!!!! DIR->SD incompatible with previous versions.
594 - Remove multiple Storage definitions in Job resource.  One can
595   still specify multiple Storage resources, but they all go into
596   a single alist, and imply sending data to each Storage daemon 
597   simultaneously.
598 - Implement Device query command between DIR and SD.
599 - Allow DIR to "reserve" a Device. It will then be acquired
600   when the FD connects to the SD.
601 - Turn all DIR resources into classes, and implement a few class
602   methods -- more to come.
603 - Turn DEVICE in SD into a class, and implement a number of inline
604   class methods -- more to come.
605 - I had serious problems with ACL errors on my Laptop, and so had
606   to add the following patch:
607   @@ -181,7 +181,7 @@
608       }
609       /***** Do we really want to silently ignore errors from acl_get_file
610         and acl_to_text?  *****/
611   -   return -1;
612   +   return 0;
613    }
614 - Added edit_int64()
615 - Reworked and tested a bit the htable routines.
616 - Major changes to SD acquire.c -- DIR can now reserve devices. Needs
617   lots of testing!!!!
618 - Made a special state code for DVD -- this simplifies the logic
619   of the code, but I probably broke it. Testing needed!!!!
620 - Add AutoChanger resource to SD, but not yet used.
621
622 Changes to 1.37.2:
623 12Jan05
624 - Integrate Preben 'Peppe' Guldberg <peppe@wielders.org>'s
625   acl patch. Fix case where configured but no ACL exists.
626   Rework calling arguments to be shorter and positioned
627   more typically in Bacula usage.
628 11Jan05
629 - Fix scripts/bacula.in to have awk on an environment variable
630   and add comments for Solaris users.
631 - Turn off inet_aton in src/lib/address_conf.c for Win32
632 - Add new files to win32 build and eliminate a compiler warning.
633 - Add sample DVD Device resource to bacula-sd.conf
634 08Jan05
635 - Integrate Nicolas' patch for direct DVD support.        
636 07Jan05
637 - Fix fstype error returns.
638 - Apply Preben's cleanup.patch which puts back much of the
639   cleanup code in src/filed/restore.c
640 06Jan05
641 - Apply all of Preben's patches, but revert to old backup.c
642   and old restore.c in filed. Also turn off code in new
643   acl.c because of errors.  The new code, when fully implemented
644   moves platform specific code into acl.c.
645   One of the patches also implements WildFile and WildDir -- thanks.
646 01Jan05
647 - Implement Python in the SD (no events yet though).
648 - Fix some typos in the previous commit.
649 30Dec04
650 - Enhance CDROM boot to include some documentation at boot time.
651 - NOTE!!!!! The CDROM will not boot 2.6 kernels because the
652     boot sequence has changed significantly. Updates to come
653     later.
654 - Add memtest option to CDROM boot.
655 - Include Nicolas' changes to fix llist JobMedia records.
656 - Make sure that ClientRunBefore/After messages from the program
657   are terminated with a newline. Add strerror to output error
658   messages.
659 - Return program exit status code in Win32.
660 29Dec04
661 - Add memtest86 to Bacula Rescue disk
662 - Enhance Rescue disk startup screen
663 24Dec04
664 - Move some variables to eliminate Solaris 2.6 compiler warnings.
665 - Fix the seg fault at the end of a job in the FD when using
666   old style include/excludes.
667 22Dec04
668 - Apply Preben's ACL patch.
669 - Integrate Preben's restore patch.
670 - Integrate Preben's verify teaks.
671 - Fix doc/latex/Makefile to copy/remove .eps files when building
672   html and web outputs.
673 21Dec04
674 - Fix Bacula so that it does not exit if there is a syntax error
675   in its conf file during a reload command. Bug 182.
676 - Apply fixes suggested for old Solaris networking.
677   Fixes bug 190.
678 - Apply Preben 'Peppe' Guldberg <peppe@wielders.org>
679   three patches that clean up white space:
680   ws.patch.02.strings:
681     Breaks strings that span lines into concatenated strings. I am not sure
682     if you like this one. Other code works with concatenated strings, though.
683   ws.patch.03.trailing:
684     This removes trailing whitespace. No changes resulted from this for
685     my setup.
686   ws.patch.04.leading:
687     This replaces space runs at the start of line with tabs. No changes
688     again.
689 - Fix overriding storage specification to be done
690   through a subroutine.
691 - Fix autoconf so it runs with FC3. 
692 - Add Python4.3 to configure search paths.
693 - Always copy and delete storage definitions into jcr.
694 - Check that VolumeName supplied by Python is valid. 
695   Return 0 if not.
696 19Dec04
697 - Fix undefined in non-Python build.
698 - Update rescue disk to include mkinitrd
699 - Fix umount_drives in rescue disk (only one arg to umount)
700 - Ensure that if SD is manually set in Console, it is used.
701 - Put generate_event on pointer and plug it in init. This
702   permits using it in /lib
703 - Correct despooling size reported to be Job specific rather
704   than for the whole drive.
705 18Dec04
706 - Fix bug 207. jcr use count off by one when manually
707   scheduling jobs.
708 - Remove FNMATCH test in configure.in and always use
709   the one in our library to get the FN_CASEFOLD GNU
710   extensions on all platforms.
711 - While using the rescue CDROM after my computer would not
712   boot, I realized that it would be very useful to have
713   a umount_disks. So, it is not implemented, along with
714   updates to the READMEs and some minor tweaks.
715 - Moved mounting the CDROM in the rescue boot from /cdrom
716   to /mnt/cdrom (more standard location).
717 - Reboot in CDROM rescue should now work -- requires -d
718   option (no write) to work.
719 - Hopefully fixed all the IPV6/4 problems and buffer
720   problems with networking in lib. Bugs 190 and 204.
721   Cleaned up a lot of #ifdefing problems by using routines
722   in address_conf.c
723 17Dec04
724 - Apply Preben 'Peppe' Guldberg <peppe@wielders.org>
725   alist fix patch.
726 - Remove duplicate code from chksum.h (mentioned by Preben).
727 13Dec04
728 - Integrate Tim Oberfoell <oberfoell@web.de> patch to ACLs
729   to handle both the "standard" and "default" ACLs.
730 12Dec04
731 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
732   three cleanup patches (btest, verify, find).
733 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
734   three cleanup patches (backup, chksum, and verify)
735 09Dec04
736 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
737   patch to avoid doing MTIOCGET on OSes that do not support
738   it such as OpenBSD.
739 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
740   patch to add filesystem type matching to FileSets in the
741   Options resource.
742 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
743   patch to add Mac OSX resource fork support (save/restore)
744   to Bacula -- HFS Plus support.
745 - Add FileSet to client Job listing query.
746 06Dec04
747 - Integrated Preben 'Peppe' Guldberg <peppe@wielders.org>
748   patch to backup directories skipped (due to no file system
749   changes or no recursion), and to add a slash to the end
750   of the directory name during the match process.
751 - Implement Jamie ffolliott <jamieff@inline.net>
752   patch to dird_conf.c that enables Multiple Connections and
753   fixes a typo in show. The rest of his patch awaits my suggested
754   changes.
755 05Dec04 
756 - Implement run command in Python
757 04Dec04 
758 - Implement conversion of the manual, and some minor
759   tweaks to the script tags.
760 - Apply a patch supplied by Preben 'Peppe' Guldberg that implements
761   ignore case in wild cards and regexes.
762 - Fix a truncated line in the above patch due to my cut and paste.
763 03Dec04
764 - Fix it so that the InChanger flag is only changed for Volumes
765   in the same Pool.
766 - Add PIDOF configuration path and apply to bacula.in
767 - Add user supplied patch to add inet_aton() of old Solaris
768   systems.
769 - Require pools to match before allowing multiple simultaneous
770   accesses to same storage resource.
771 - Add patch supplied by Martin to correct buffer overrun in
772   bsnprintf() with no library snprintf().
773 02Dec04
774 - Apply user supplied patch that implements No Hard Links.
775 - Document Python interface
776 - Add hardlink keyword patch supplied by David R Bosso <dbosso@lsit.ucsb.edu>
777 01Dec04
778 - Fix non-python prototypes in dummy routines.
779 - Add python 2.3 to config search list (user submitted patch)
780 - Add JobStatus to Python variables.
781 28Nov04
782 - Add "python restart" command in Console.
783 - Make built-in variables table driven.
784 - First cut of Python Events for Bacula. Director only.
785   StartJob, EndJob, NewVolume events.
786
787 Version 1.36.1 Released 26Nov04:
788 24Nov04
789 - Take Dan's fix to the fix_postgresql_tables (thanks Dan)
790 - Increase Maximum Concurrent Jobs to 20 in SD and FD!
791 - Fix improper handling of autochanger Volumes that are not
792   marked InChanger. Bug 170.
793 22Nov04
794 - Update authentication failure message to indicate possible
795   problem with Maximum Concurrent Jobs. Add to doc too.
796 - Commit PostgreSQL BIGINT fix -- apparently some people didn't
797   get it.
798 - Do not use a slot unless it is InChanger in the autochanger
799   code, otherwise autochanger gets upset not finding the Volume.
800   Bug 170 (need fix above too).
801 21Nov04
802 - Make authentication timeout compile time configurable.
803   The value is set in src/baconfig.h
804 - Fix removing items from watchdog queue, which apparently
805   screwed up if there was more than one item.
806 - Rework mediaformat part of manual to separate out old
807   tape format for easier reading.
808 - Add a lot of debug code to the authentication code.
809 - Add seconds to the start/end times printed in the job report.
810 19Nov04
811 - Fix mutex deadlock in dequeue of messages.
812 - Add debug code to FD authorization.
813 18Nov04
814 - Increase authentication timeouts to 10 minutes.  
815 15Nov04
816 - Fix cancel bug in FD on /lib/tls with zero pid in 
817   pthread_kill.
818 - Add date/time to all messages.
819 - Make Qmsg use time message was queued rather than time
820   printed.
821 - Indent job output two spaces.
822 13Nov04
823 - Fix web page links for new manual.
824 - Grant postgresql permission to cdimages.
825 - Correct crash after "list nextvol" "list media" bug 160
826 12Nov04
827 - Fix scripts/Makefile.in missing ;\  -- thanks Martin
828 - A bit of work on btape to keep if from going into infinite
829   loops when things do not work well, and to print a bit
830   better info.
831 11Nov04
832 - JobDefs Storage resource completely overrode anything
833   specified in Job resource -- bug 159 -- fixed.
834 - Fix syntax of renaming postgresql per Dan.
835 - Add working_directory to be /tmp for wx_console.
836 10Nov04
837 - Allow both a JobId and a filename or list of files to be
838   specified on a restore command line.
839 - Save old mtx-changer before installing new one: bug 156
840 - Fix errors in CDROM file pointed out by Scott.
841 09Nov04
842 - Fix exepath when Bacula executed without path.
843 - Move test for socket libraries for Solaris in configure.in
844   before tcp wrapper tests so that linking works.
845 - Add "make copy-static-fd" to makefile in CDROM file to
846   copy existing static fd to CDROM rather than building it.
847 08Nov04
848 - More doc updates
849 - Fix ps command for OpenBSD
850 - Rework the creation of indexes for SQL -- fall back
851   to the old code, but document what can be added.
852 06Nov04
853 - Add new Daemon message handler in default DIR conf.
854 05Nov04
855 - Fix Seg Fault with -D100 in bpipe.c.    
856 - Fix Seg Fault in run specifying a JobId.
857 - Make mail from daemon with a Messages Resource use
858   the MailCommand with editing rather than the default
859   sendmail.
860 - Replace Jmsg in dispatch_message() with Qmsg.
861 - Make edit_job_codes handle NULL jcr.
862 04Nov04
863 - Add M_ALERT class and put tape alerts into it.
864 - Fix Verify count vs found by not double counting files
865   that are split across files/Volumes.
866 30Oct04
867 - Fix count returned from write_bsr_file() to handle multiple
868   volumes. This fixes most cases of the Verify VolumeToCatalog.
869 - Cleanup a bit the make clean for the rescue cdrom and remove
870   unneeded files from the CVS.
871 28Oct04
872 - Fixed acquiring a tape so that it does not block all acquires
873   when operator intervention is needed.
874 - Platform build script updates from Scott
875 - Doc updates
876 - Add patch to force Linux LD_ASSUME_KERNEL to avoid using the
877   new /lib/tls. This is done in the startup scripts.
878 - Modify mtx-changer so that it checks for ONLINE while
879   waiting.
880 - Modify make_postgresql_tables.in so that EndBlock is stored
881   as a bigint. Prevents job failures when a disk volume is
882   larger than 2GB.
883 24Oct04
884 - Add grep ONLINE to wait_for_drive() in mtx-changer.in
885 - More doc.
886 - Rebuild Scott's new configure