]> git.sur5r.net Git - bacula/bacula/blob - bacula/ReleaseNotes
Update 2.4.1-b1 notes
[bacula/bacula] / bacula / ReleaseNotes
1
2        Release Notes for Bacula 2.4.1-b1
3
4   Bacula code: Total files = 500 Total lines = 188,654 (*.h *.c *.in)
5
6
7 ==================   Warning !!!!!! ==========================
8 As of Version 2.4.0, the Win32 FD should not descend into 
9 any reparse point directory or reparse mount points unless the  
10 specified directory is explicitly mentioned at the top level of   
11 FileSet (as with Unix). A file that is linked to another file will
12 be backed up, much like Unix hardlinked files.  If you want 
13 reparse directories backed up, you must explicitly include them
14 in your FileSet.
15 ==============================================================
16
17 This release consists of a number of bug fixes since version 2.4.0.
18 Important sections of the Storage daemon mount system have been
19 enhanced to correctly loading autochanger volumes when the drive
20 is empty and to handle manual tape changes.  Hopefully this will
21 resolve all the manual mount problems.
22
23 Bugs Fixed (hopefully -- not all confirmed):
24  1103, 1100, 1105, 1094, 1109, 1106, 1101, 1102, 1112               
25
26 Release Beta version 2.4.1-b1
27 -  Back out bad src/lib/base64.c change.
28 -  Generally clean up the manual tape loading code. The main
29      conceptial change is that when a volume is marked to be unloaded,
30      its volume name is retained, and it is only marked as unloaded
31      when either the autoloader says it is unloaded or another tape
32      is read on that drive.
33 -  Fix a recycling problem with two autochangers reported in bug
34      #1106. This may also (unlikely) fix a second recycling bug as
35      reported in #1103.
36 -  Fix a SD lock volumes deadlock problem reported in bug #1100.
37 -  Fix format problem in bscan output reported in bug #1105.
38 -  Copy more data when restarting a job so that run
39      overrides are kept. This should fix bug #1094.
40 -  Backport updates to jobq.c where possible.
41 -  Fix bug where SD did not ask operator if the device could not
42      be opened. Reported by Eric.
43 -  Add dbuser to DIR conf file (replaces user).
44 -  Add --with-db-password to ./configure
45 -  Fix regress to handle db_password.
46 -  Fix a couple of pedantic compiler warnings.
47 -  Fix bug when starting a restore on a storage that doesn't
48      have the requested MediaType.
49 -  More work on word alignments -- eliminate all ints from
50      the configuration routines.
51 -  Fix bug reported by Scott Barninger where the bacula script
52      refers to scripts in the wrong directory. Needed to meet the
53      requirements of recent FHS location changes.
54 -  Fix word alignment problem on non-Intel 64 bit machines
55      such as Solaris.  This should fix bug #1097 -- bus error in SD.
56 -  Add missing win32/patches/wxWidgets.patch to 2.4 repository.
57
58 =====================
59
60 Release 2.4.0
61 This Director and Storage daemon must be upgraded at the same time,
62 but they should be compatible with all 2.0.x File daemons, unless you
63 use some of the new features that affect the FD.  In other words, you should
64 not have to upgrade all your File daemons when you upgrade. There is
65 no database upgrade needed from version 2.0.x to 2.2.0 nor from version
66 2.2.x to version 2.4.0
67
68 This release consists mainly of a number of bug fixes since 2.2.x
69 but most importantly, a rewrite of significant portions of the 
70 Storage daemon reservation and autochanger code. This rewritten
71 code is simpler, more stable, and works much better, particularly
72 with multiple drive autochangers than the prior code did.  That 
73 said, there are still a number of issues to be resolved. Note,
74 the new code has not been tested in manual volume mount situations.
75
76 Bugs fixed:
77  1095, 1086, 1091, 1070, 1041, 1083, 1078, 1066, 1068, 1038
78  1062, 1065, 1046, 1047, 1031
79
80 New features:
81 - You can now build bat without the QWT libraries. Use
82   --without-qwt as a ./configure option. 
83
84 Release Version 2.4.0
85 - Update version to 2.4.0 to reflect the magnitude of the SD changes.
86 - Make sure to clear JS_WaitMedia when operator mounts a Volume.
87   This fixes bug #1095.
88 - Add create_postgresql_database.sql to Win32 installer. Should 
89   fix problem reported by Juilio Monteiro.
90 - Get correct slot when auto unloading a device. This fixes bug
91   #1086.
92 - Fix possible seg fault if SQL error.
93 - Fix renaming a Volume, which used the wrong Volume name. 
94 - If operator has rewind tape, print warning, release tape and
95   try once more. If tape is positioned somewhere, something went
96   wrong, so mark the tape in error and try once more. Previously
97   this error was fatal, now it produces an error message.
98 - Ensure correct volume name displayed during restore
99 - Fix a few more Coverity reported problems.
100 - Fix #1091 about bad output in estimate command.
101 - Modify autochanger locking to attempt to avoid race
102   conditions.
103 - Make sure device not busy before doing label command.
104 - Display open() errors except when polling. Previously too
105   many were suppressed.  This should fix bug #1070.
106 - Fix Win32 reparse points. Bacula will not recurse into any
107   reparse point directory, including mount points, unless the
108   directory is explicitly mentioned at the top level (same as
109   with Unix).  A file that is linked to another file will be
110   backed up -- much as Unix does for hardlinked files.
111   This fixes bug #1041.
112 - Remove StorageId test when pruning and recycling (Eric's changes).
113 - Fix buffer overruns detected by Coverity.
114 - Implement --without-qwt
115 - Fix layout of restore tree dialog
116 - Add configure bat QWT libraries, so that bat can be built
117   with or without the QWT libaries.
118 - Implement regression that explicitly tests swapping a Volume
119   from one drive to another.
120 - Enhance disk-changer to detect most error conditions.
121 - Fix SD code so that it properly swaps a Volume between drives.
122   This fixes bug #1083.
123 - Prevent a Volume that is being swapped from being freed from
124   the volume list. This will most likely fix, at least partially,
125   bug #1083.
126 - Fix strippath so that it does not get a buffer overrun and crash FD.
127   This fixes bug #1078.
128 - Make inability to change owner/group when creating a dir only a
129   warning rather than an error.
130 - Fix SQL query in migration code
131 - Fix bat seg fault at termination.
132 - Add Bacula generated version to bat about box.
133 - Backport development stream SD reservation system changes.
134 - When wrong volume is mounted during read, unload_autochanger.
135 - Stop searching for Volumes in SD askdir if DIR returns the
136   same volume name twice in a row.
137 - Rework class structures for VOLRES, DCR, and DEVICE to make
138   the method names a bit more logical, and for more logically
139   handling the responsibilities.
140 - Remove redundant code in terminating the scheduler that just
141   causes a seg fault in many cases.
142 - Improve algorithm for detecting pre-reserved volume and
143   swapping volumes.
144 - Prevent volume from being released while being swapped.
145 - Refactor parts of stored/mount.c
146 - Add sanity checks for VolWriteTime and VolReadTime
147 - Take care of bad clock changes while computing VolWriteTime
148   and VolReadTime. This should fix or limit #1066
149 - Correct error string numbers in dird/catreq.c
150 - Restructure reserving, acquiring, and mounting volumes. Calls to
151   autochanger are deferred for mount.c -- simplifes the code.
152 - Do not prune any running job. It just fails the job.
153 - Lock the volumes when changing dev->reserved_device and marking
154   the volume unused otherwise the device can get reserved by
155   another job before the volume is released, thus blocking it.
156 - Correct some SD catalog request error messages.
157 - Turn off code in read_record that causes a seg fault in the SD
158   when reading past an EOS_LABEL.
159 - Turn off unloading the autochanger in reserve.c as it just
160    causes problems.
161 - Lock volumes when unreserving a device.
162 - Do not mark volume unused when recycling.
163 - Fix bug #1068 fixes a SD crash when using Virtual autochanger.
164 - Generate correct JobMedia records during spooling/despooling when
165   running concurrent jobs.  Thanks to Tom Ivar Helbekkmo
166   <tih@hamartun.priv.no> for excellent analysis and testing.
167 - *Massive* commit of all fixes and back ports to create 2.2.9
168   Mostly SD reservations enhancements.
169 - Fix Win32 FD backup/restore memory leak due to improper termination
170   of BackupRead/Write. This fixes bug# 1038.
171 - Fixes a StorageId problem with volumes after migration.
172 - Implements autostart scripts for Debian 
173 - Fix mtx-changer.in for broken Debian mt program.
174 - Apply doc fix from bug #1062.
175 - Resolve crash and improper restore wx-console Win32 restore
176   GUI. Fixes bug #1065.
177 - Update Win32 wxWidgets to latest version.
178 - Attempt to do correct handling of Win32 mount points. Should
179   fix bug #1046.
180 - Add const to AIX prototype for initgroups()
181 - Fix to the JobMedia patch, which introduced a new problem.
182 - Fix creating first JobMedia record during Migration to include
183   proper index. This caused slow restores of migrated jobs.
184 - Fix bug #1047, do not strip paths on symbolic links.
185 - Set catalog backup database and user name from values specified on 
186   the ./configure line.
187 - Apply patch to correct bug #1031, about wrong pool source information
188   in job report.
189
190
191 =========================================================================
192
193 Version 2.2.8 is a bug fix to version 2.2.7:
194 - It fixes bugs: 1036, 1033(doc), 1028, 1040, 1045(doc), 1030,
195   1042(partially), and possibly bugs 1018 and 1032.
196   Bugs 1018 and 1032 involve problems with multiple-drive autochangers,
197   and are difficult to reproduce.   
198   See the ChangeLog for more details.
199
200 Version 2.2.7 has several new features and several important bug fixes
201   since version 2.2.6:
202 - It fixes bugs: 1009, 1022, 1024, 1019, 1012, 1021, 1020
203   1007, 1008.  For more details, please see the technotes-2.1 file.
204 - Fixed a seg fault reported by Frank Sweetser that depended on
205   exact path lengths, but the problem was in bsnprintf.c
206 - Double quoting include filenames (@xxx) in Bacula conf files is now
207   possible, thanks to a patch by Michael Stapelberg.
208 - You can pipe input to include filenames (@|prog) by using a vertical
209   bar, thanks to the above patch.
210 - A daylight savings time bug in the Win32 bsmpt was fixed by a patch from 
211   Nerijus Baliunas.
212 - Marc Cousins submitted a patch that permits building the PostgreSQL
213   driver with version 8.3.
214 - The configure option --archivedir has been changed to --with-archivedir
215
216 Version 2.2.6 is a minor bug fix release to version 2.2.5
217 - It fixes bugs: #1003, 942, 982, 990(response only), 991,   
218   993, 986, 976.
219 - Fix bat crash wen it cannot connect to Director.
220 - Fix joblist failure bug in bat.
221
222 Version 2.2.5 is a major bug fix release to version 2.2.4 
223 - It fixes the following bugs: #961, 962, 963, 969, 968, 960,
224   964, (possibly 935 and 903), 953, 953, 967, 966, 965, 954, 
225   957, 908, 958, and 955.
226 - It also improves listing performance problems in bat pointed
227   out by Chris Howells.
228
229 Version 2.2.4 is a minor bug fix release to version 2.2.3
230 - Possible fix for authorization problems bug #953.
231 - Possible fix for bug #908.
232 - Add waits to multiple exit detection code to try to force pid
233   file to always be deleted.
234 - Restore good dev.tar.gz to rescue set appropriate binary property.
235   This fixes bug #950.
236 - Fix seg fault in error exit of acquire_for_read after unsuccessfully
237   trying to switch drives by checking for blocking before unblocking.
238   Fixes bug #906.
239 - Cancel storage daemon in all cases where FD reports error. This
240   should fix virtually all cases of bug #920 and will ensure that Devices
241   are released as soon as possible.
242 - Fix error message that was clobbered when Dir tells SD it does not
243   have write permission on Volume.  This should fix a minor point
244   in bug #942, but not the main problem.
245 - Fix migration code to get correct Volume name with multiple volumes 
246   by skipping |.  Fixes bug #936.
247 - Implement patch supplied by Landon to fix bug #944 where using
248   TLS with bconsole uses 99+% of the CPU.
249 - Fix bug #946 about 'bacula-dir -t' which doesn't works
250   as expected.
251 - Using 'm' in bconsole will show messages as in prior versions
252   and not memory usage.
253
254 - Note, you need GTK >= 2.10 to be able to link the Tray Monitor
255   program.
256
257 Version 2.2.3 is a critical bug fix release to version 2.2.2
258 - Fix bug #935, and possibly also bug #903 where files were not
259   restored. MediaId was not properly set in JobMedia record after 
260   a Volume change. This bug is known to affect all versions from 
261   2.0.0 on, and probably versions prior to that.  A detailed analysis
262   of the bug can be found at:
263     
264    http://www.bacula.org/downloads/bug-395.txt
265    
266 - Add ./configure search in qwt-qt4 for qwt package
267 - Apply Martin Simmons patch that should turn off the new API usage
268   when batch insert is turned off allowing building on older
269   PostgreSQLs.
270 - Note, you need GTK >= 2.10 to be able to link the Tray Monitor 
271   program.
272
273 Version 2.2.2 is a minor bug fix release to 2.2.1
274 - Detect if new PosgreSQL batch insert API is present.
275 - Correct incorrect mempool call causing Director crash on older
276   systems that do not have va_copy().
277 - Update spec files for 2.2.1 release
278
279 Version 2.2.1 is mainly a minor bug fix release to version 2.2.0,
280   the main changes since 2.2.0 are:
281 - Fixed bugs #921, 930, and 923.
282 - More portable timezone offset in bsmtp thaks to Attila Fülöp.
283 - Fix several bat issues.                     
284 - Use GTK+ calls instead of egg files in tray-monitor.
285 - Win32 service routines rewritten
286 - Updated projects file
287 Please see the ChangeLog for details.
288
289 Notes on 2.2.0 release follow:
290
291 Areas requiring caution or testing:
292 - You must have the thread safe version of MySQL client libraries loaded
293   to build with MySQL enabled.
294 - Volumes are pruned only when absolutely necessary -- this may cause
295   your database to grow compared to prior Bacula versions.
296 - Solaris door and even port files are no longer restored (equivalent
297     to what we do with sockets).
298 - SQLite is no longer supported for Solaris -- it fails too often with
299   bus errors.  SQLite3 should work on Solaris.
300 - The default setting for SQLite3 is now 'PRAGMA synchronous=OFF'.
301   This makes it run 30 times faster, but increases the possiblity
302   of a corrupted database if your server shuts down unexpectedly.
303   The default behavior can be changed in src/version.h
304 - Restore on Win32, and in particular on Vista is untested. Please
305   test before relying on it.  It should backup and restore reparse
306   points.
307 - Win32 servers are untested, and very likely not to work.
308
309 The major new features are:
310 - Much faster insertion of attributes (somewhere around 10 times),
311   many thanks to Eric Bollengier and Marc Cousin. 
312 - First release of bat (Bacula Administration Tool).  Note to build
313   bat you must explicitly enable it on the ./configure line, you
314   must have the Qt4 version 4.2 or later libraries loaded, the qwt
315   (Qt Graphics) package loaded, and qmake and the other Qt4 tools 
316   must be available. Most of the implementation was done by Dirk Bartley.
317 - Red/Black restore in memory tree (500 times faster loading).
318 - The Regex Where code to allow easier relocation of restored files 
319   thanks to Eric.
320 - Socket level heartbeat for all connections (untested).
321 - posix_fadvise() use in the FD to improve performance reduces
322   swapping due to opening/reading lots of files. Win32 equivalent
323   implemented.
324 - Much improved Volume reservation code that should eliminate most
325   conflicts experienced in multiple drive autochangers.
326 - Simpler locking in the SD in the reservation system.
327 - Detection of file size/date change during backup if enabled.
328 - New Recycle Pool feature -- thanks to Eric.
329 - Efficient implementation of very large include/exclude lists.
330 - Volumes are no longer pruned during 'status dir'
331 - Pruning is now more efficient, and if a Volume is purged,
332   during pruning, it is immediately discovered.
333 - License is now GPL v2 without modifications, fix a few copyright
334   mistakes made when adding FSFE copyright notice.
335
336 New ./configure options:
337 - --enable-bwx-console    
338 - --enable-bat
339 - --with-qwt=
340 - --with-db-name=
341 - --with-db-user=
342 - --enable-batch-insert
343
344 New bconsole commands:
345 - exec
346 - memory
347 - update recyclepool
348 - .sql
349 - .api
350 - .pwd (in restore tree)
351 - restoreclient (keyword)
352 - backupclient  (keyword)
353 - regexwhere    (keyword)
354 - update jobid  (new command)
355 - recyclepool   (keyword) 
356
357 New directives:
358 - Heartbeat Interval (bconsole.conf)
359 - Heartbeat Interval (bacula-dir.conf in Director, Client, Storage)
360 - TLS Allowed CN  (bacula-dir.conf in Client)
361 - Regex Where  (bacula-dir.conf in Job)
362 - Strip Prefix    (bacula-dir.conf in Job)
363 - Add Prefix   (bacula-dir.conf in Job)
364 - Add Suffex   (bacula-dir.conf in Job)
365 - Recycle Pool    (bacula-dir.conf in Pool)
366 - FailJobOnError  (bacula-dir.conf in RunScript)
367 - CheckFileChanges   (bacula-dir.conf in FileSet)
368 - StripPath    (bacula-dir.conf in FileSet)
369
370 Other features or bug fixes:
371 - Fixed bugs: 916, 910, 917, 914, 906, 907, 
372   842, 830, 893, 861, 888, 886, 807, 877, 872
373   885, 887, 864, 874, 882, 881, 863, 859, 
374   856, 854, 845, 847, 846, 809, 772, 
375   822, 825, 824, 808, 802, 797, 798, 795, 789, 791, 
376   788, 780, 763, 782, 612, 767, 775, 621, 772, 764, 
377   766, 621, 761, 755, 750, 741, 747, 742, 744, and 743.
378 - Configure bat with --enable-bat. Define qwt libraries with
379   --with-qwt=<dir>. See Installation chapter of manual for details.
380 - Create a depkgs-qt package that has both Qt4 and qwt, which are
381   needed to build bat. Most modern Linux systems will have both
382   these packages in the distro.
383 - Storage overrides delete all previous storage definitions instead
384   of prepending.
385 - One should be able to mount and unmount removable devices if the
386   Device resource has Removeable Media set and the mount and unmount
387   directives are defined.
388 - ./configure will do a better job of searching for qwt libraries.
389 - The Win32 version can no longer be shutdown from the tray monitor.
390   Use the command line or the Services panne.
391 - Keep prune_volumes() from pruning the whole Scratch pool.
392 - More debug output in status storage.
393 - Correct moving a Scratch volume from pool to pool (some
394   critical columns were lost).
395 - Different locking in reservations and despooling systems,
396   which means more micro-locking and less macro-locking, which
397   should give a lot more concurrency at the expense of slightly
398   (<0.1%) more overhead due to more locking/unlocking, but  
399   concurrent jobs should run much faster.
400 - Additional drive reservation algorithm that should solve a lot of
401   the problems experienced with multiple drive autochangers.
402 - Storage daemon status command enhanced to more clearly show Volume,
403   pool and media type when a job is waiting.
404 - Made bsmtp work with more strict SMTP servers.
405 - Detect doubly freed buffers in smartall.c
406 - wx-console renamed to bwx-console (Fedora request)
407 - gnome-console renamed to bgnome-console (Fedora request)
408 - Migration preserves original job's FileSetId
409 - Spooling implemented for migration jobs.
410 - Config files can be read through a pipe, by specifying a leading |
411   in front of the configuration path/filename.
412 - New memory command (bconsole) that will print the current Director's
413   memory usage, and an in use buffer dump.
414 - Console name changed from *Console* to -Console- to accomodate Win32
415   filename restrictions.  
416 - Corrected the Win32 ftruncate bug.
417 - Additional version information added to Job reports.
418 - New -8 option for bsmtp to specify UTF-8 encoding type.
419 - bsmtp will no longer add < > to target (from, to, cc) if there
420   is already a < in the target.
421 - Prefer Mounted Volumes extended to mean a volume that is being
422   mounted by another job.
423 - Runscript timing set to same as version 1.38.11
424 - New TLS Allowed CN directive(s) permitted.
425 - New bconsole 'exec' command to run external script/command.
426 - Turn on FreeBSD/OpenBSD code to set EOT model on tape.
427 - Drop from root done before database is opened.
428 - Database user and name can be configured with:
429   --with-db-name=name --with-db-user=user
430 - Turn on wait_for_drive in mtx-changer script.
431 - Rework how bar codes are handled in mtx-changer script.
432   This appears to have been an unreported bug.
433 - Updated nagios plugin supplied by Christian Masopust
434 - Better restricted console ACL checking.
435 - New Client Connect Wait directive in Storage daemon so that
436   users can configure how long SD waits for FD connection.
437 - Bacula will no longer permit pruning of the currently running
438   job (note, if other jobs are running, they may be pruned).
439 - Sockets are no longer restored.
440 - dbcheck works in 300K chunks so will typically run faster.
441 - Include/Exclude lists can now be efficiently handled for quite
442   large sizes -- tens of thousands of entries.
443 - Several memory leaks in migration and database usage were fixed.
444 - New console keyword restoreclient, which specifies the client to
445   which the restore will be sent. The client keyword specifies 
446   the backup client. The restoreclient keyword is optional if it is
447   not specified, the backup client will also be the restore client.
448 - The disk file size is now checked to ensure that it agrees with the
449   catalog value before Bacula will append to the disk (same as tape
450   and DVD).