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