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