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