1 Technical notes on version 1.39
8 - Implement first cut of Migration.
10 - Apply user supplied patch for more readable rate output
12 - Continue implementing migration.
13 - Implement support for removable filesystems in SD.
14 - Ensure that btraceback scripts can be read by anyone.
15 - Replace dvd-freespace and dvd-writepart by dvd-handler.
16 - Correct bug where canceling restore before the FD contacts
17 the SD causes the drive to be left in read mode.
18 - Move ofline_or_rewind into DEVICE::close().
19 - Eliminate close_device.
20 - Convert several dev subroutines to methods (e.g. bsf,
22 - Eliminate force_close_device().
23 - Implement Device Type directive in Device resource that
24 can have values File, Tape, Fifo, DVD, or Prog.
25 - Add has_cap() method to Device.
28 - Add patch from bug #527 to allow RedHat user to specify
29 options/user/group for starting each daemon in
32 - Add two new queries to query.sql provided by Arno. One
33 list volumes known to the Storage device, and the other
34 lists volumes possibly needing replacement (error, ...).
36 - Add periodic (every 24 hours) garbage collection of memory
37 pool by releasing free buffers.
39 - Correct bug counting sized (for display only) in smartall.c
40 - Print FD mempool stats if debug > 0 rather than 5.
42 - Make db_lock() mutex error fail the job rather than abort
43 Bacula. Canceling the job caused the mutex to fail.
44 - Correct bug in alist.c that re-allocated the list if the
45 number of items goes to zero.
46 - Move the reservation system thread locking to the top level
47 so that one job at a time tries all possible drives before
49 - Implement a reservation 'fail' message queue that is built
50 and destroyed on each pass through the reservation system.
51 These messages are displayed in a 'Jobs waiting to reserve
52 a drive' list during a 'status storage='. Note, multiple
53 messages will generally print for each JobId because they
54 represent the different problems with either the same drive
55 or different drives. If this output proves too confusing
56 of voluminous, I will display it only when debug level 1
57 or greater is enabled in the SD.
59 - Add enable/disable job=<job-name>. This command prevents
60 the specified job from being scheduled. Even when disabled,
61 the job can be manually started from the console.
62 - During 'update slots' clear all InChanger flags where the
63 StorageId is zero (old Media records).
67 - Fix autochanger code to strip leading spaces from returned
68 slots number. Remove bc from chio-changer.
69 - Back port a bit of 1.39 crypto code to reduce diffs.
70 - Fix first call to autochanger that missed close()ing the
71 drive. Put close() just before each run_program(). Fixes
74 - Add PoolId to Job record when updating it at job start time.
76 - Pull in more code from 1.39 so that there are fewer file
77 differences (the new ua_dotcmds.c, base64.h, crypto.h
78 hmac.c jcr.c (dird and lib) lib.h md5.h parse_conf.c
79 util.c. Aside from ua_dotcmds.c these are mostly crypto
81 - Implement new method of walking the jcr chain. The
82 incr/dec of the use_count is done within the walking
83 routines. This should prevent a jcr from being freed
84 from under the walk routines.
89 - Start implementing Verify list output.
90 - Move the suitable_drive flag to a better place to prevent
91 premature termination of the reservation if all drives
92 are busy -- should fix Arno's diff/inc pool failures.
94 - Add mutex to single thread VSS code in Win32.
96 - Simplify code in askdir.c that waits for creating an appendable
97 volume so that it can handle multiple returns from the wait
99 - Modify the wait code to permit multiple returns.
100 - Return a zero when "autochanger drives" is called and
101 it is not an autochanger.
102 - Make rewind_dev() a method taking a DCR as an argument.
103 This permits closing and reopening the drive if the
104 rewind fails as happens if the drive was loaded while the
105 file descriptor was open. This refreshes the file descriptor.
106 - Remove the ST_OPENED flag and always rely on fd < 0 for knowing
107 if the device is open or not. This should eliminate
109 - Return error if reserve cannot find at least one suitable device.
110 - Make wait_for_sysop() return correct state information.
111 - Fix Win32 state file problem. write was not using compat
112 code. This should fix bug #500.
114 - Modify gui on command to set only GUI mode and not batch.
115 - Modify .messages command to always print messages regardless
117 - If GUI mode is on, suppress automatic printing of
119 - Delete old bnet packet code.
120 - Ignore new BNET_START_SELECT and BNET_END_SELECT signals in
122 - Modify restore command in wx-console to set gui on and to use
123 only .messages instead of messages. Hopefully this fixes bug
125 - Fix seg fault in exit of acquire when canceling a job --
126 reported by Wolfgang Denk
127 - Pull in latest reservation system changes from 1.38
128 - Make .messages command always print messages regardless
129 of the automessages flag.
131 - Fix seg fault if user labels a drive directory bug #513
132 - Remove quotes around Version as it breaks things.
134 - Merge in Aleksandar Milivojevic's mods to the spec file.
135 - Apply sparse code fix for raw drives and fifos. Bug 506
136 - Thorsten fixed Unicode cd problem with wx-console bug 505.
138 - Correct reservation system to do a last ditch try
139 for any mounted volume, then anyone anywhere.
140 - Add quotes around table Version because of
141 error in MySQL 4.1.15 -- bug report submitted.
142 - Correct some minor problems with btape in the fill
144 - Updates to ssh-tunnel from Joshua Kugler.
145 - Added a report.pl program from Jonas Bjorklund.
146 - Simplify the O_NONBLOCK open() code for tape drives,
147 and always open nonblocking.
148 - Do not wait for open() if EIO returned (shouldn't happen).
149 - Eliminate 3 argument to tape open().
150 - Correct the slot # edited in the 3995 Bad autochanger unload
152 - With -S on bscan (show progress) do not divide by zero.
154 - Make cancel pthread_cond_signal() pthread_cond_broadcast().
155 - When dcr is freed, also broadcast dev->wait_next_vol signal.
156 - Remove unused code in wait_for_device.
157 - Make wait_for_device() always return after 60 seconds of wait.
161 - Add stubs for non-crypto build.
163 - Use localhost if no network configured
165 - Eliminated duplicate MaxVolBytes in cat update -- bug 509.
166 - Remove debug print.
167 - Add bail_out in error during state file reading.
169 - Merge changes made to 1.38.3 into HEAD
170 - Add stubs for pygtk-console code
171 - Create Makefile.in for pygtk-console code
173 - Merge updates into 1.38 branch
174 - Update specs to include mysql4 define.
175 - Fix when attributes are sent, must be after binit().
176 - Stop read_record() if status not ok in second loop.
177 - Return rec->FileIndex in dcr->VolLastIndex for normal
178 and partial records in read_record(). This allows bscan
179 to get FileIndex at EOT correct.
180 - Fix butil.c to correctly set dcr -- fixes seg fault in bls.
182 - Fix Win32 built to work with new crypto code.
183 - Apply patch supplied by user (slightly modified) to fix
184 correct detection of holes in block devices and FIFOs.
186 - Apply patch supplied by user (slightly modified)
187 to fix SD hang with multiple pools and bad client
190 - Add nagios plugin to the examples directory. Submitted by
192 - Remove warning message about multiple saves of hardlinked files
193 from find_one.c as it can generate too many warning messages.
194 - Modify most restore error messages to be queued so that they
195 appear at the end of the job rather than mixted with the restore
196 listing where they could be "lost".
198 - Reset timeout values before select() per patch from
199 Frank Sweetser for problems with non-blocking sockets.
200 - Unlink the state file if either reading or writing it gets
201 errors. Hopefully this will fix Win32 exit problems.
202 - Add sanity check in append.c to ensure that dcr is not NULL.
203 This can happen if multiple drive autochanger SCSI control
204 channel and drive indicies do not correspond.
206 - Get next volume from Scratch pool before creating a volume.
207 - Set new Pool defaults in Vol when moved from Scratch Pool.
208 - Remove argument from create_bacula_database for SQLite as it
210 - Add back index code so that two drive autochangers can get
212 - Change a bunch of debug levels to aid debugging autochangers.
213 - Fix reservation so that mutexes are properly applied.
214 - Rework reservation algorithm so that two drives can be used
217 - Landon merged his data encription changes into the HEAD
218 - Apply days keyword patch from Alexander.Bergolth at wu-wien.ac.at
219 If this patch is applied, the number of days can be specified with
220 "list nextvol days=xx"
223 My use case is to be able to preview the next scheduled job (and the
224 next tape to be used) on fridays if there are no scheduled jobs during
228 - Fix font code in gnome2 console user patch. Fixes bug #501.
229 - Fix malformatted bnet error message that caused seg fault
231 - Applied user patch to improve README.vc8 in src/win32.
233 - Add Migrate, Copy, Archive Job types (some where there)
234 - Correct some more editing of JobId's (for 64 bit compatibility).
235 - Ensure that StorageId is stored in Media record when ever possible.
236 - Add Migration Job to Job.
237 - Add Migration Time, Migration High Bytes, Migration Low Bytes
238 Next Pool to Pool resource.
239 - Add more code to mac.c (migration archive copy).
240 - Change Start Storage daemon job to require read and write storage
242 - Pass read storage data to SD as well as write storage data.
243 - Remove old code from winservice.cpp
244 - Break on error in scan.
245 - Fix typo in signal.c
246 - Separate read/write DCR in SD. Add jcr->read_dcr.
247 - Cleanup how find_device() works.
248 - Add read output to Status in SD.
251 - Add red-black btree routines
253 - Remove abs() in bfile.c so that it compiles on Solaris.
256 - Fix crash in tray-monitor when daemon disconnects. Bug #479.
257 - Fix bnet-server bug found on OpenBSD. Bug #486
258 - Fix cancel failure bug. Bug #481
259 - Fix failure when Pool name has spaces. Bug #487
260 - Fix SD crash in autochanger code. Mutex failure. Bug #488
261 - Fix a couple of free()s in src/filed/acl.c
262 - Fix memory overrun in bfile.c in building OS X resource
263 fork filename. Bug #489
264 - Add Pool name to SD status output.
266 - Apply SunOS patch for ACLs submitted by David Duchscher.
267 - Make sure to set storage before trying to set drive.
268 - Add bacula_mail_summary.sh to examples directory. It makes
269 a single email summary of any number of jobs. Submitted
271 - Make sure when we do a mount to unblock the device even
272 if the drive could not be opened.
274 - Remove the USE_WIN32STREAMEXTRACTION #defines (always on)
275 and correct a few minor problems to make it build on Linux.
277 - Remove delete of CVS from all Makefiles
278 - Fix seg fault when clicking on Add button in wx-console
279 restore panel. Bug #470.
280 - Fix copyright date and URL typo -- bug #468.
281 - Change autostart install for FreeBSD to look for rc.conf
282 rather than rc.local as suggested fix for bug #466.
283 - Apply patch supplied by Eric Bollinger to fix PostgreSQL
284 grant on status. Bug #465
285 - Apply patch supplied by Eric Bollinger to fix PostgreSQL
286 update script. Bug #464
287 - Tweak #ifdefing a bit in new Win32 stream code.
288 - Fix #ifdeffing for FD_NO_SEND_TEST.
289 - Add documentation of performance #defines