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