1 Technical notes on version 1.39
8 - Add disk-changer to scripts directory + configure/Makefile
9 - Eliminate PoolId from jcr -- it is in jcr->jr.PoolId
10 - Implement store_bit scanner to replace store_yesno. Mostly done.
11 - Implement new store_bool that stores in a bool.
12 - Add true/false to yes/no conf directives.
13 - Make first cut at changing appropriate store_yesno to store_bool.
14 - Complete implementation of Pool storage devices.
15 - Move starting clones to job.c
16 - Move create_restore_bootstrap_file() to job.c
17 - Make copy_storage() more general to be able to handle
19 - Cleanup a lot of migration code for manual running, including
21 - Move getting a scratch Volume into a subroutine.
22 - Make all places a Volume that is added to a pool to
24 - Fix bug in autochanger recycle code (improper edit 64 bit).
25 - Fix segfault in restore command when no value specified.
26 - Start adding code to handle multiple MediaTypes in restore.
27 - Eliminate race condition in getting Volume name for
28 two drive autochanger.
29 - More debug code in autochanger.
30 - Add storage keyword to bootstrap file, add parsing.
31 - Move slot in bsr file into Volume record as there will be
32 a different slot for each Volume.
35 - Implement Pool storage overrides.
37 - Implement first cut of Migration.
38 - Implement mysql_use_result() from patch by Karl Hakimian.
39 This reduces significantly the memory consumption during
40 the restore tree building, and hence runs faster too.
41 - Implement StorageId patch supplied by user (reggie) in bug
42 #536. This should permit Bacula to work correctly with two
44 - Implement Job listing variations suggested by a user.
45 - Move updating bootstrap code in backup.c to subroutine
46 update_bootstrap_file().
47 - Add new job status elapsed time and bytes written user
48 friendly job report output patch sent by a user.
49 - Implement a storage list in Pools.
50 - Separate out setup_job() code from run_job().
51 - Get migration working -- lots of changes in mac.c in both
53 - Apply patch from user (Eric Bollinger I think) that fixes a
54 DIR crash when no arguments are supplied to a dot command.
55 - Fix typo (strcpy->strcmp) in ua_prune.c as reported by Martin.
56 - Fix command arg name->volume in label command of gnome-console.
57 - Fix SD acquire.c to release correct DCR by explicitly testing
58 on the dcr address rather than trying to "devine" if it is a read
59 or write dcr. This failed in error conditions when the device was
63 - Apply user supplied patch for more readable rate output
65 - Continue implementing migration.
66 - Implement support for removable filesystems in SD.
67 - Ensure that btraceback scripts can be read by anyone.
68 - Replace dvd-freespace and dvd-writepart by dvd-handler.
69 - Correct bug where canceling restore before the FD contacts
70 the SD causes the drive to be left in read mode.
71 - Move ofline_or_rewind into DEVICE::close().
72 - Eliminate close_device.
73 - Convert several dev subroutines to methods (e.g. bsf,
75 - Eliminate force_close_device().
76 - Implement Device Type directive in Device resource that
77 can have values File, Tape, Fifo, DVD, or Prog.
78 - Add has_cap() method to Device.
81 - Add patch from bug #527 to allow RedHat user to specify
82 options/user/group for starting each daemon in
85 - Add two new queries to query.sql provided by Arno. One
86 list volumes known to the Storage device, and the other
87 lists volumes possibly needing replacement (error, ...).
89 - Add periodic (every 24 hours) garbage collection of memory
90 pool by releasing free buffers.
92 - Correct bug counting sized (for display only) in smartall.c
93 - Print FD mempool stats if debug > 0 rather than 5.
95 - Make db_lock() mutex error fail the job rather than abort
96 Bacula. Canceling the job caused the mutex to fail.
97 - Correct bug in alist.c that re-allocated the list if the
98 number of items goes to zero.
99 - Move the reservation system thread locking to the top level
100 so that one job at a time tries all possible drives before
102 - Implement a reservation 'fail' message queue that is built
103 and destroyed on each pass through the reservation system.
104 These messages are displayed in a 'Jobs waiting to reserve
105 a drive' list during a 'status storage='. Note, multiple
106 messages will generally print for each JobId because they
107 represent the different problems with either the same drive
108 or different drives. If this output proves too confusing
109 of voluminous, I will display it only when debug level 1
110 or greater is enabled in the SD.
112 - Add enable/disable job=<job-name>. This command prevents
113 the specified job from being scheduled. Even when disabled,
114 the job can be manually started from the console.
115 - During 'update slots' clear all InChanger flags where the
116 StorageId is zero (old Media records).
120 - Fix autochanger code to strip leading spaces from returned
121 slots number. Remove bc from chio-changer.
122 - Back port a bit of 1.39 crypto code to reduce diffs.
123 - Fix first call to autochanger that missed close()ing the
124 drive. Put close() just before each run_program(). Fixes
127 - Add PoolId to Job record when updating it at job start time.
129 - Pull in more code from 1.39 so that there are fewer file
130 differences (the new ua_dotcmds.c, base64.h, crypto.h
131 hmac.c jcr.c (dird and lib) lib.h md5.h parse_conf.c
132 util.c. Aside from ua_dotcmds.c these are mostly crypto
134 - Implement new method of walking the jcr chain. The
135 incr/dec of the use_count is done within the walking
136 routines. This should prevent a jcr from being freed
137 from under the walk routines.
142 - Start implementing Verify list output.
143 - Move the suitable_drive flag to a better place to prevent
144 premature termination of the reservation if all drives
145 are busy -- should fix Arno's diff/inc pool failures.
147 - Add mutex to single thread VSS code in Win32.
149 - Simplify code in askdir.c that waits for creating an appendable
150 volume so that it can handle multiple returns from the wait
152 - Modify the wait code to permit multiple returns.
153 - Return a zero when "autochanger drives" is called and
154 it is not an autochanger.
155 - Make rewind_dev() a method taking a DCR as an argument.
156 This permits closing and reopening the drive if the
157 rewind fails as happens if the drive was loaded while the
158 file descriptor was open. This refreshes the file descriptor.
159 - Remove the ST_OPENED flag and always rely on fd < 0 for knowing
160 if the device is open or not. This should eliminate
162 - Return error if reserve cannot find at least one suitable device.
163 - Make wait_for_sysop() return correct state information.
164 - Fix Win32 state file problem. write was not using compat
165 code. This should fix bug #500.
167 - Modify gui on command to set only GUI mode and not batch.
168 - Modify .messages command to always print messages regardless
170 - If GUI mode is on, suppress automatic printing of
172 - Delete old bnet packet code.
173 - Ignore new BNET_START_SELECT and BNET_END_SELECT signals in
175 - Modify restore command in wx-console to set gui on and to use
176 only .messages instead of messages. Hopefully this fixes bug
178 - Fix seg fault in exit of acquire when canceling a job --
179 reported by Wolfgang Denk
180 - Pull in latest reservation system changes from 1.38
181 - Make .messages command always print messages regardless
182 of the automessages flag.
184 - Fix seg fault if user labels a drive directory bug #513
185 - Remove quotes around Version as it breaks things.
187 - Merge in Aleksandar Milivojevic's mods to the spec file.
188 - Apply sparse code fix for raw drives and fifos. Bug 506
189 - Thorsten fixed Unicode cd problem with wx-console bug 505.
191 - Correct reservation system to do a last ditch try
192 for any mounted volume, then anyone anywhere.
193 - Add quotes around table Version because of
194 error in MySQL 4.1.15 -- bug report submitted.
195 - Correct some minor problems with btape in the fill
197 - Updates to ssh-tunnel from Joshua Kugler.
198 - Added a report.pl program from Jonas Bjorklund.
199 - Simplify the O_NONBLOCK open() code for tape drives,
200 and always open nonblocking.
201 - Do not wait for open() if EIO returned (shouldn't happen).
202 - Eliminate 3 argument to tape open().
203 - Correct the slot # edited in the 3995 Bad autochanger unload
205 - With -S on bscan (show progress) do not divide by zero.
207 - Make cancel pthread_cond_signal() pthread_cond_broadcast().
208 - When dcr is freed, also broadcast dev->wait_next_vol signal.
209 - Remove unused code in wait_for_device.
210 - Make wait_for_device() always return after 60 seconds of wait.
214 - Add stubs for non-crypto build.
216 - Use localhost if no network configured
218 - Eliminated duplicate MaxVolBytes in cat update -- bug 509.
219 - Remove debug print.
220 - Add bail_out in error during state file reading.
222 - Merge changes made to 1.38.3 into HEAD
223 - Add stubs for pygtk-console code
224 - Create Makefile.in for pygtk-console code
226 - Merge updates into 1.38 branch
227 - Update specs to include mysql4 define.
228 - Fix when attributes are sent, must be after binit().
229 - Stop read_record() if status not ok in second loop.
230 - Return rec->FileIndex in dcr->VolLastIndex for normal
231 and partial records in read_record(). This allows bscan
232 to get FileIndex at EOT correct.
233 - Fix butil.c to correctly set dcr -- fixes seg fault in bls.
235 - Fix Win32 built to work with new crypto code.
236 - Apply patch supplied by user (slightly modified) to fix
237 correct detection of holes in block devices and FIFOs.
239 - Apply patch supplied by user (slightly modified)
240 to fix SD hang with multiple pools and bad client
243 - Add nagios plugin to the examples directory. Submitted by
245 - Remove warning message about multiple saves of hardlinked files
246 from find_one.c as it can generate too many warning messages.
247 - Modify most restore error messages to be queued so that they
248 appear at the end of the job rather than mixted with the restore
249 listing where they could be "lost".
251 - Reset timeout values before select() per patch from
252 Frank Sweetser for problems with non-blocking sockets.
253 - Unlink the state file if either reading or writing it gets
254 errors. Hopefully this will fix Win32 exit problems.
255 - Add sanity check in append.c to ensure that dcr is not NULL.
256 This can happen if multiple drive autochanger SCSI control
257 channel and drive indicies do not correspond.
259 - Get next volume from Scratch pool before creating a volume.
260 - Set new Pool defaults in Vol when moved from Scratch Pool.
261 - Remove argument from create_bacula_database for SQLite as it
263 - Add back index code so that two drive autochangers can get
265 - Change a bunch of debug levels to aid debugging autochangers.
266 - Fix reservation so that mutexes are properly applied.
267 - Rework reservation algorithm so that two drives can be used
270 - Landon merged his data encription changes into the HEAD
271 - Apply days keyword patch from Alexander.Bergolth at wu-wien.ac.at
272 If this patch is applied, the number of days can be specified with
273 "list nextvol days=xx"
276 My use case is to be able to preview the next scheduled job (and the
277 next tape to be used) on fridays if there are no scheduled jobs during
281 - Fix font code in gnome2 console user patch. Fixes bug #501.
282 - Fix malformatted bnet error message that caused seg fault
284 - Applied user patch to improve README.vc8 in src/win32.
286 - Add Migrate, Copy, Archive Job types (some where there)
287 - Correct some more editing of JobId's (for 64 bit compatibility).
288 - Ensure that StorageId is stored in Media record when ever possible.
289 - Add Migration Job to Job.
290 - Add Migration Time, Migration High Bytes, Migration Low Bytes
291 Next Pool to Pool resource.
292 - Add more code to mac.c (migration archive copy).
293 - Change Start Storage daemon job to require read and write storage
295 - Pass read storage data to SD as well as write storage data.
296 - Remove old code from winservice.cpp
297 - Break on error in scan.
298 - Fix typo in signal.c
299 - Separate read/write DCR in SD. Add jcr->read_dcr.
300 - Cleanup how find_device() works.
301 - Add read output to Status in SD.
304 - Add red-black btree routines
306 - Remove abs() in bfile.c so that it compiles on Solaris.
309 - Fix crash in tray-monitor when daemon disconnects. Bug #479.
310 - Fix bnet-server bug found on OpenBSD. Bug #486
311 - Fix cancel failure bug. Bug #481
312 - Fix failure when Pool name has spaces. Bug #487
313 - Fix SD crash in autochanger code. Mutex failure. Bug #488
314 - Fix a couple of free()s in src/filed/acl.c
315 - Fix memory overrun in bfile.c in building OS X resource
316 fork filename. Bug #489
317 - Add Pool name to SD status output.
319 - Apply SunOS patch for ACLs submitted by David Duchscher.
320 - Make sure to set storage before trying to set drive.
321 - Add bacula_mail_summary.sh to examples directory. It makes
322 a single email summary of any number of jobs. Submitted
324 - Make sure when we do a mount to unblock the device even
325 if the drive could not be opened.
327 - Remove the USE_WIN32STREAMEXTRACTION #defines (always on)
328 and correct a few minor problems to make it build on Linux.
330 - Remove delete of CVS from all Makefiles
331 - Fix seg fault when clicking on Add button in wx-console
332 restore panel. Bug #470.
333 - Fix copyright date and URL typo -- bug #468.
334 - Change autostart install for FreeBSD to look for rc.conf
335 rather than rc.local as suggested fix for bug #466.
336 - Apply patch supplied by Eric Bollinger to fix PostgreSQL
337 grant on status. Bug #465
338 - Apply patch supplied by Eric Bollinger to fix PostgreSQL
339 update script. Bug #464
340 - Tweak #ifdefing a bit in new Win32 stream code.
341 - Fix #ifdeffing for FD_NO_SEND_TEST.
342 - Add documentation of performance #defines