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