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