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