1 2006-09-27 Jean-Louis Martineau <martineau@zmanda.com>
2 * Amanda 2.5.1p1 released.
3 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1p1).
4 * NEWS: Update for 2.5.1p1
6 2006-09-27 Jean-Louis Martineau <martineau@zmanda.com>
7 * restore-src/restore.c: Improve debugging.
8 * server-src/changer.c: Make sure to dup the fd out of the 0..2 range.
10 2006-09-27 Jean-Louis Martineau <martineau@zmanda.com>
11 * restore-src/amfetchdump.c: Pass new prompt_in parameter to
13 * restore-src/restore.c (search_tapes, load_manual_tape): New prompt_in
15 * restore-src/restore.h (search_tapes): New prompt_in parameter.
16 * restore-src/amidxtaped.c: Set new 'FILE *' instead of reusing stdin
18 * server-src/amindexd.c: Set new 'FILE *' instead of reusing stdin
21 2006-09-27 Jean-Louis Martineau <martineau@zmanda.com>
22 Patch by Orion Poplawski <orion@cora.nwra.com>
23 * server-src/planner.c: Add a skip_quoted_line() on error.
25 2006-09-23 Jean-Louis Martineau <martineau@zmanda.com>
26 * server-src/amstatus.pl.in: Fix parsing of 'taper: wrote label' line.
27 * server-src/amtoc.pl.in: Fix parsing of 'START taper' line.
29 2006-09-22 Jean-Louis Martineau <martineau@zmanda.com>
31 * client-src/sendsize.c: Fix #endif for AIX.
33 2006-09-22 Jean-Louis Martineau <martineau@zmanda.com>
34 * common-src/packet.c: Fix use of arglist_start/arglist_end.
35 * server-src/amindexd.c: Fix use of vsnprintf (for IRIX).
36 * server-src/logfile.c: Fix use of arglist_start/arglist_end.
38 2006-09-21 Jean-Louis Martineau <martineau@zmanda.com>
39 * server-src/amcheck.c: Don't assert if holding use is set to 0.
41 2006-09-21 Jean-Louis Martineau <martineau@zmanda.com>
42 * common-src/util.c: Declare keytable.
43 * common-src/util.h: Declare keytable as extern.
45 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
46 * contrib/sst: Removed
47 * Makefile.am (EXTRA_DIST): Remove sst files.
49 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
50 * server-src/find.c (search_logfile): Count 'PARTIAL taper line'.
52 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
54 * server-src/amcheck.c: Print "tapelist" instead of "tapefile".
56 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
57 * common-src/dgram.c (dgram_bind): Remove unused variables.
59 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
60 * common-src/dgram.c (dgram_bind): Don't set SO_REUSEADDR on socket.
62 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
63 * common-src/util.c (connect_port): Make EHOSTUNREACH and ENETUNREACH
66 2006-09-18 Jean-Louis Martineau <martineau@zmanda.com>
67 * common-src/util.c(dump_sockaddr): Convert from network to machine
68 bytes order before printing.
69 * common-src/dgram.c (dgram_recv): Print the fromaddr.
71 2006-09-15 Jean-Louis Martineau <martineau@zmanda.com>
72 * amandad-src/amandad.c: Correct order of close/dup.
74 2006-09-12 Jean-Louis Martineau <martineau@zmanda.com>
75 * common-src/bsdtcp-security.c: Use AMANDA_SERVICE_NAME.
77 2006-09-12 Jean-Louis Martineau <martineau@zmanda.com>
78 * server-src/amstatus.pl.in: Check that $dumpers_active is defined.
80 2006-09-12 Jean-Louis Martineau <martineau@zmanda.com>
81 * common-src/util.c (conftoken_getc): Return an int.
83 2006-09-11 Jean-Louis Martineau <martineau@zmanda.com>
84 * client-src/sendbackup-dump.c: Works if rundump is not used.
86 2006-09-05 Jean-Louis Martineau <martineau@zmanda.com>
87 * Amanda 2.5.1 released.
88 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1).
89 * NEWS: Change in amanda-2.5.1
91 2006-08-30 Jean-Louis Martineau <martineau@zmanda.com>
92 * server-src/dumper.c: Typo in error message.
94 2006-08-29 Jean-Louis Martineau <martineau@zmanda.com>
95 * client-src/selfcheck.c: Print error message to stdout before
98 2006-08-28 Jean-Louis Martineau <martineau@zmanda.com>
99 * server-src/dumper.c (log_msgout): Seek to begining of file.
101 2006-08-28 Jean-Louis Martineau <martineau@zmanda.com>
102 * server-src/reporter.c: Report if a dump was successfully retried.
104 2006-08-28 Jean-Louis Martineau <martineau@zmanda.com>
105 * server-src/amstatus.pl.in: Correct size for retried dump.
107 2006-08-25 Jean-Louis Martineau <martineau@zmanda.com>
108 * client-src/runtar.c: Check that strcmp(argv[3], "--create") == 0.
110 2006-08-24 Jean-Louis Martineau <martineau@zmanda.com>
111 * common-src/statfs.c (scale): Macro replaced by a function.
113 2006-08-24 Jean-Louis Martineau <martineau@zmanda.com>
114 * server-src/chunker.c: Use STREAM_BUFSIZE for stream_accept.
115 * server-src/taper.c: Use STREAM_BUFSIZE for stream_accept.
117 2006-08-24 Maitreyee Karmarkar <maitreyee.zmanda.com>
118 * man/xml-source/amcheck.8.xml: amcheck xml man page change
120 2006-08-23 Kevin Till <ktill@zmanda.com>
121 * server-src/driver.c: fix typo
123 2006-08-23 Jean-Louis Martineau <martineau@zmanda.com>
124 * server-src/driver.c (dumper_result): Decrement pendings_aborts.
125 * server-src/driver.c (handle_dumper_result): Don't send duper result
126 to chunker if we aborted it.
127 * server-src/driverio.c (dumper_cmd, chunker_cmd): Don't close the fd
129 * server-src/dumper.c: Accept ABORT command.
131 2006-08-23 Jean-Louis Martineau <martineau@zmanda.com>
132 * restore-src/restore.c (restore): Set bytes_read to the return value
135 2006-08-22 Jean-Louis Martineau <martineau@zmanda.com>
136 * tape-src/output-tape.c: Works if EOVERFLOW is not defined.
138 2006-08-21 Jean-Louis Martineau <martineau@zmanda.com>
139 * amandad-src/amandad.c, common-src/rsh-security.c,
140 common-src/ssh-security.c, restore-src/restore.c,
141 server-src/changer.c, server-src/dumper.c: Fix sentinel warning.
143 2006-08-21 Jean-Louis Martineau <martineau@zmanda.com>
144 * example/amanda.conf.in: Typo.
146 2006-08-21 Jean-Louis Martineau <martineau@zmanda.com>
147 * server-src/driverio.c: Fix bogus "(unsigned long)-1".
149 2006-08-21 Jean-Louis Martineau <martineau@zmanda.com>
150 * server-src/driver.c (start_some_dumps): Remove bogus free_assignedhd.
152 2006-08-21 Maitreyee Karmarkar <maitreyee.zmanda.com>
153 * server-src/amcheck.c: Check specific clients
154 * man/amcheck.8: add the multiple client check format
156 2006-08-18 Ian Turner <ian@zmanda.com>
157 * tape-src/amtapetype.c: Don't crash on exit
159 2006-08-17 Paddy Sreenivasan <paddy@zmanda.com>
160 * server-src/driverio.c:
161 * server-src/changer.c:
162 * restore-src/amfetchdump.c:
163 * recover-src/extract_list.c:
164 * oldrecover-src/extract_list.c:
166 * common-src/stream.c:
168 * common-src/dgram.c: Fix warnings
170 2006-08-17 Kevin Till <ktill@zmanda.com>
171 * common-src/stream.c: Loop 5 times (ntries > 5) on select error
173 2006-08-14 Paddy Sreenivasan <paddy@zmanda.com>
174 * client-src/sendsize.c: Fix warning
175 * server-src/reporter.c: Fix warnings
177 2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
178 * Amanda 2.5.1b2 released.
179 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1b2).
181 2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
182 * server-src/driver.c (find_diskspace): Make sure size > 0.
184 2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
185 * server-src/planner.c: Don't check new disk.
187 2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
188 * server-src/planner.c: Always log if full size estimate is larger
189 than the available tape space.
191 2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
192 * server-src/planner.c: Always log if the latest full dump will be
195 2006-07-27 Jean-Louis Martineau <martineau@zmanda.com>
196 * common-src/clock.c (timesub): Don't make a negative time.
198 2006-07-27 Jean-Louis Martineau <martineau@zmanda.com>
199 * man/xml-source/amanda.conf.5.xml: Tell which file are loaded.
200 * man/xml-source/amanda-client.conf.5.xml: Ditto.
202 2006-07-26 Jean-Louis Martineau <martineau@zmanda.com>
205 2006-07-26 Jean-Louis Martineau <martineau@zmanda.com>
206 * common-src/util.h (CONFTYPE_HOLDING): New conftype.
207 * common-src/util.c (conf_init_holding, conf_set_holding,
208 get_conftype_hold): New fonction.
209 * example/amanda.conf.in: Example of new holdingdisk value.
210 * man/xml-source/amanda.8.xml: Example.
211 * man/xml-source/amanda.conf.5.xml: Document it.
212 * server-src/amadmin.c (disklist_one): Print holdingdisk value.
213 * server-src/conffile.c: Parse new CONF_HOLDING type.
214 * server-src/conffile.h (dumptype_get_to_holdingdisk): Change macro.
215 * server-src/diskfile.c (parse_diskline): dumptype_get_to_holdingdisk.
216 * server-src/driver.c: Use new CONFTYPE_HOLDING value.
218 2006-07-26 Jean-Louis Martineau <martineau@zmanda.com>
219 * client-src/selfcheck.c: Fix bug found by coverity.
220 * common-src/debug.c: Fix bug found by coverity.
222 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
223 * server-src/amflush.c: Typo.
225 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
226 * server-src/amflush.c: Correct test for driver_stream.
228 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
229 * client-src/clientconf.c: Default CLN_AMANDATES to /etc/amandates.
230 * common-src/util.c (conf_init_size): Type is CONFTYPE_SIZE.
231 * server-src/conffile.c (getconf_taperalgo): New function.
232 * server-src/conffile.h (getconf_taperalgo): Prototype.
233 * server-src/driver.c: Use getconf_taperalgo.
235 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
236 * client-src/clientconf.c (client_getconf_boolean): New function.
237 * client-src/clientconf.h (client_getconf_boolean): Prototype.
238 * server-src/conffile.c (getconf_boolean): New function.
239 * server-src/conffile.h (getconf_boolean): Prototype.
240 * restore-src/amidxtaped.c: Use getconf_boolean.
241 * server-src/amflush.c: Use getconf_boolean.
242 * server-src/planner.c: Use getconf_boolean.
244 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
245 * server-src/getconf.c: Don't print BUGGY.
246 * changer-src/chg-chio.pl.in: Don't parse BUGGY.
247 * changer-src/chg-iomega.pl.in: Don't parse BUGGY.
248 * changer-src/chg-zd-mtx.sh.in: Don't parse BUGGY.
249 * man/xml-source/amgetconf.8.xml: Don't parse BUGGY.
250 * server-src/amverifyrun.sh.in: Don't parse BUGGY.
251 * server-src/amverify.sh.in: Don't parse BUGGY.
253 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
254 * restore-src/restore.c: Cleanup.
255 * restore-src/amrestore.c: Don't fsf if the last read return 0.
257 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
258 * client-src/selfcheck.c: Fix bug found by klocwork.
259 * common-src/rsh-security.c: Fix bug found by klocwork.
260 * common-src/ssh-security.c: Fix bug found by klocwork.
261 * server-src/planner.c: Fix bug found by klocwork.
263 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
264 * tape-src/output-tape.c (tape_tape_open): mt is declared inside #ifdef.
266 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
267 * server-src/amcheck.c: Fix quoting.
269 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
270 * client-src/clientconf.c: client_getconf* validate the type.
271 * common-src/util.c (get_conftype_*): New function.
272 * common-src/util.h (get_conftype_*): Prototype.
273 * server-src/conffile.c: getconf* validate the type.
274 * server-src/conffile.h: Use get_conftype_* function.
276 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
277 * client-src/clientconf.c: New AMANDATES client config option.
278 * client-src/clientconf.h: New AMANDATES client config option.
279 * client-src/amandates.c: Use AMANDATES.
280 * client-src/amandates.h: Use AMANDATES.
281 * client-src/selfcheck.c: Use AMANDATES.
282 * client-src/sendbackup-gnutar.c: Use AMANDATES.
283 * client-src/sendsize.c:: Use AMANDATES.
284 * common-src/util.h : New CONF_AMANDATES.
285 * man/xml-source/amanda-client.conf.5.xml: Document it.
287 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
288 * client-src/clientconf.c: New GNUTAR_LIST_DIR client config option.
289 * client-src/clientconf.h: New GNUTAR_LIST_DIR client config option.
290 * client-src/selfcheck.c: Use GNUTAR_LIST_DIR.
291 * client-src/sendbackup-gnutar.c: Use GNUTAR_LIST_DIR.
292 * client-src/sendsize.c: Use GNUTAR_LIST_DIR.
293 * common-src/util.h: New CONF_GNUTAR_LIST_DIR.
294 * man/xml-source/amanda-client.conf.5.xml: Document it.
296 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
297 * client-src/calcsize.c, client-src/killpgrp.c,
298 client-src/rundump.c, client-src/runtar.c,
299 client-src/selfcheck.c, client-src/sendbackup.c,
300 client-src/sendsize.c, common-src/amanda.h,
301 common-src/debug.c, oldrecover-src/amrecover.c,
302 recover-src/amrecover.c, restore-src/amfetchdump.c,
303 restore-src/amidxtaped.c, server-src/amadmin.c,
304 server-src/amcheck.c, server-src/amcleanupdisk.c,
305 server-src/amflush.c, server-src/amindexd.c,
306 server-src/amlabel.c, server-src/amlogroll.c,
307 server-src/amtape.c, server-src/amtrmidx.c,
308 server-src/amtrmlog.c, server-src/chunker.c,
309 server-src/driver.c, server-src/dumper.c,
310 server-src/getconf.c, server-src/planner.c,
311 server-src/reporter.c, server-src/taper.c: dbrename ot the config dir.
313 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
314 * common-src/amanda.h: Define DBG_SUBDIR_SERVER, DBG_SUBDIR_CLIENT
315 and DBG_SUBDIR_CLIENT.
316 * amandad-src/amandad.c, changer-src/chg-scsi.c,
317 changer-src/chg-scsi-chio.c, client-src/calcsize.c,
318 client-src/killpgrp.c, client-src/rundump.c, client-src/runtar.c,
319 client-src/selfcheck.c, client-src/sendbackup.c,
320 client-src/sendsize.c,
321 oldrecover-src/amrecover.c, recover-src/amrecover.c,
322 restore-src/amfetchdump.c, restore-src/amidxtaped.c,
323 restore-src/amrestore.c, server-src/amadmin.c,
324 server-src/amcheck.c, server-src/amcleanupdisk.c,
325 server-src/amflush.c, server-src/amindexd.c,
326 server-src/amlabel.c, server-src/amlogroll.c,
327 server-src/amtape.c, server-src/amtrmidx.c,
328 server-src/amtrmlog.c, server-src/chunker.c,
329 server-src/diskfile.c, server-src/driver.c,
330 server-src/dumper.c, server-src/getconf.c,
331 server-src/infofile.c, server-src/planner.c,
332 server-src/reporter.c (dbopen): Use DBG_SUBDIR_SERVER,
333 DBG_SUBDIR_CLIENT or DBG_SUBDIR_CLIENT.
335 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
336 * client-src/calcsize.c: Get config on argument.
337 * client-src/killpgrp.c: Get config on argument.
338 * client-src/rundump.c: Get config on argument.
339 * client-src/runtar.c: Get config on argument.
340 * client-src/sendbackup.c: Call program with config as argument.
341 * client-src/sendbackup-dump.c: Call program with config as argument.
342 * client-src/sendbackup-gnutar.c: Call program with config as argument.
343 * client-src/sendbackup.h: Add global g_options.
344 * client-src/sendsize.c: Call program with config as argument.
346 2006-07-23 Jean-Louis Martineau <martineau@zmanda.com>
347 * client-src/sendbackup-gnutar.c: Fix bug found by splint.
348 * client-src/sendsize.c: Fix bug found by splint.
350 2006-07-22 Jean-Louis Martineau <martineau@zmanda.com>
351 * server-src/taper.c: Fix amfree(mem_splitbuf).
353 2006-07-22 Jean-Louis Martineau <martineau@zmanda.com>
354 * server-src/diskfile.c, server-src/taper.c: Fix memory leak found
357 2006-07-22 Jean-Louis Martineau <martineau@zmanda.com>
358 * server-src/taper.c: Fix split_buffer allocation problem.
360 2006-07-22 Jean-Louis Martineau <martineau@zmanda.com>
361 * client-src/selfcheck.c, common-src/security-util.c,
362 restore-src/restore.c, server-src/diskfile.c: Fix memory leak found
365 2006-07-20 Jean-Louis Martineau <martineau@zmanda.com>
366 * changer-src/chg-scsi.c, changer-src/scsi-changer-driver.c,
367 client-src/amandates.c, client-src/calcsize.c,
368 client-src/selfcheck.c, client-src/sendbackup.c,
369 client-src/sendsize.c, common-src/security-util.c,
370 recover-src/extract_list.c, restore-src/restore.c,
371 server-src/amindexd.c, server-src/diskfile.c,
372 server-src/driver.c, server-src/reporter.c,
373 server-src/tapefile.c, server-src/taper.c: Fix memory leak found
376 2006-07-19 Jean-Louis Martineau <martineau@zmanda.com>
377 * client-src/selfcheck.c : Read client config file.
378 * client-src/sendbackup.c: Read client config file.
379 * client-src/sendsize.c : Read client config file.
381 2006-07-19 Jean-Louis Martineau <martineau@zmanda.com>
382 * amandad-src/amandad.h (g_option_t): Add 'char *config';
383 * amandad-src/amandad_util.c (parse_g_options): Parse 'config='.
384 * common-src/amfeatures.h (fe_req_options_config): New amfeature.
385 * common-src/amfeatures.c (am_init_feature_set):
386 set fe_req_options_config.
387 * server-src/amcheck.c: Send 'config=' in global options.
388 * server-src/dumper.c: Send 'config=' in global options.
389 * server-src/planner.c: Send 'config=' in global options.
391 2006-07-19 Jean-Louis Martineau <martineau@zmanda.com>
392 * amandad-src/amandad.c: Call dbopen("amandad").
393 * changer-src/chg-scsi.c: Call dbopen("server").
394 * changer-src/chg-scsi-chio.c: Call dbopen("server").
395 * client-src/calcsize.c: Call dbopen("client").
396 * client-src/getfsent.c: Call dbopen(NULL).
397 * client-src/killpgrp.c: Call dbopen("client").
398 * client-src/rundump.c: Call dbopen("client").
399 * client-src/runstar.c: Call dbopen("client").
400 * client-src/runtar.c: Call dbopen("client").
401 * client-src/selfcheck.c: Call dbopen("client").
402 * client-src/sendbackup.c: Call dbopen("client").
403 * client-src/sendsize.c: Call dbopen("client").
404 * common-src/amanda.h (dbopen, debug_open): Take a 'char * subdir'
406 * common-src/bsd-security.c: Call dbopen(NULL).
407 * common-src/debug.c (debug_open): Call debug_setup_1(subdir)
408 * common-src/debug.c (debug_setup_1): Take a subdir argument,
410 * common-src/file.c: Call dbopen(NULL).
411 * common-src/statfs.c: Call dbopen(NULL).
412 * common-src/token.c: Call dbopen(NULL).
413 * oldrecover-src/amrecover.c: Call dbopen("client").
414 * recover-src/amrecover.c: Call dbopen("client").
415 * restore-src/amfetchdump.c: Call dbopen("server").
416 * restore-src/amidxtaped.c: Call dbopen("server").
417 * restore-src/amrestore.c: Call dbopen("server").
418 * server-src/amadmin.c: Call dbopen("server").
419 * server-src/amcheck.c: Call dbopen("server").
420 * server-src/amcleanupdisk.c: Call dbopen("server").
421 * server-src/amflush.c: Call dbopen("server").
422 * server-src/amindexd.c: Call dbopen("server").
423 * server-src/amlabel.c: Call dbopen("server").
424 * server-src/amlogroll.c: Call dbopen("server").
425 * server-src/amtape.c: Call dbopen("server").
426 * server-src/amtrmidx.c: Call dbopen("server").
427 * server-src/amtrmlog.c: Call dbopen("server").
428 * server-src/chunker.c: Call dbopen("server").
429 * server-src/diskfile.c: Call dbopen("server").
430 * server-src/driver.c: Call dbopen("server").
431 * server-src/dumper.c: Call dbopen("server").
432 * server-src/getconf.c: Call dbopen("server").
433 * server-src/infofile.c: Call dbopen("server").
434 * server-src/planner.c: Call dbopen("server").
435 * server-src/reporter.c: Call dbopen("server").
436 * server-src/taper.c: Call dbopen("server").
438 2006-07-17 Jean-Louis Martineau <martineau@zmanda.com>
439 * server-src/chunker.c: Fix rt computation.
440 * server-src/dumper.c: Fix dumptime computation.
441 * server-src/taper.c: Fix rt computation.
443 2006-07-17 Jean-Louis Martineau <martineau@zmanda.com>
444 * NEWS: Klocwork defects fixed.
445 * NEWS: Coverity defect fixed.
447 2006-07-14 Jean-Louis Martineau <martineau@zmanda.com>
448 * Makefile.am (pkgdata_DATA): add ReleaseNotes.
450 2006-07-14 Jean-Louis Martineau <martineau@zmanda.com>
451 * Amanda 2.5.1b1 released.
452 * configure.in: Remove -Werror.
454 2006-07-14 Jean-Louis Martineau <martineau@zmanda.com>
455 * client-src/sendsize.c: Use read/write to copy tar snapshot file.
456 * client-src/sendbackup-gnutar.c: Ditto.
458 2006-07-13 Jean-Louis Martineau <martineau@zmanda.com>
459 * common-src/stream.c (stream_accept): Loop 5 times on select error.
461 2006-07-13 Jean-Louis Martineau <martineau@zmanda.com>
462 * server-src/dumper.c: The datafd is not scheduled at start,
464 * common-src/stream.c (tcpm_recv_token): Set error_msg.
466 2006-07-12 Jean-Louis Martineau <martineau@zmanda.com>
467 * common-src/util.c (free_new_argv): Move out of
468 #ifndef HAVE_LIBREADLINE.
470 2006-07-12 Jean-Louis Martineau <martineau@zmanda.com>
471 * server-src/amadmin.c (tape): Report the number of new tapes instead
472 of "a new tape" for each tapes.
473 * server-src/reporter.c (output_tapeinfo): Ditto.
475 2006-07-12 Jean-Louis Martineau <martineau@zmanda.com>
476 * server-src/taperscan.c (changer_taper_scan): Report error from
479 2006-07-11 John Franks jrfranks@zmanda.com
480 * configure.in: Fix multiple definition of readline during cygwin
483 2006-07-11 Paddy Sreenivasan <paddy@zmanda.com>
484 * common-src/pipespawn.c : Fixed compiler warning
486 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
487 * man/xml-source/amtapetype.8.xml: No default value for -e.
489 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
490 * common-src/util.c: Don't conftoken_ungetc(ch) if ch == EOF.
491 * server-src/reporter.c: Check tp == NULL.
493 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
494 * tape-src/tapetype.c: Make -e an needed argument.
495 * man/xml-source/amtapetype.8.xml: Update man page.
497 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
498 * changer-src/chg-zd-mtx.sh.in: Remove .conf from changerfile.
500 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
501 * recover-src/extract_list.c (check_file_overwrite): Renamed from
503 * recover-src/extract_list.c (check_file_overwrite): Do the path check
504 in the correct order (from left ro right).
506 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
507 * common-src/file.c (debug_agets): Remove call to dbprintf.
509 2006-07-10 Jean-Louis Martineau <martineau@zmanda.com>
510 * recover-src/extract_list.c (add_to_unlink_list, do_unlink_list,
511 free_unlink_list): New function to manage unlink_list.
512 * recover-src/extract_list.c (check_file_overwite): Check all
513 component of an EXTRACT_LIST_ITEM, if a component is not a
514 directory, add it to the unlink_list.
515 * recover-src/extract_list.c (extract_files): Call do_unlink_list and
516 free_unlink_list, rename buf to cwd.
518 2006-07-10 Jean-Louis Martineau <martineau@zmanda.com>
519 * common-src/pipespawn.c (pipespawnv_passwd): Add prototype.
520 * common-src/pipespawn.c (pipespawn, pipespawn): Remove 2 NULL
521 parameters to the pipespawnv_passwd call.
522 * common-src/pipespawn.c (pipespawnv_passwd): Remove passwdvar and
523 passwdfd parameters, add passwdvar and local variable.
524 Don't use memcpy to set passwdfd.
525 * common-src/pipespawn.h (pipespawnv_passwd): Remove prototype.
527 2006-07-07 Jean-Louis Martineau <martineau@zmanda.com>
528 * common-src/security-util.c (stream_read_sync_callback): Remove bogus
531 2006-07-07 Kevin Till <ktill@zmanda.com>
532 * common-src/bsd-security.c: use STREAM_BUFSIZE instead of -1
533 * common-src/bsdtcp-security.c: ditto
534 * common-src/krb4-security.c: ditto
535 * common-src/security-util.c: ditto
536 * restore-src/amidxtaped.c: ditto
538 2006-07-07 Jean-Louis Martineau <martineau@zmanda.com>
539 * common-src/util.c (get_conftoken): Remove duplicate conftoken_ungetc.
541 2006-07-07 Jean-Louis Martineau <martineau@zmanda.com>
542 * common-src/security-util.c: Validate and report big packet size.
544 2006-07-07 Jean-Louis Martineau <martineau@zmanda.com>
545 * oldrecover-src/Makefile.am: Typo.
547 2006-07-07 Jean-Louis Martineau <martineau@zmanda.com>
548 * client-src/sendsize.c: Typo.
550 2006-07-06 John Franks <jrfranks@zmanda.com>
551 * common-src/genversion.c:
552 Remove reference to error(). This causes a compile
555 2006-07-06 Jean-Louis Martineau <martineau@zmanda.com>
556 Klocwork bug 128, 170, 182, 470, 517
557 * changer-src/chg-scsi.c: Validate drivenum, check count_file.
558 * client-src/sendsize.c: Validate level.
559 * oldrecover-src/amrecover.c: Use tm.
560 * recover-src/amrecover.c: Use tm.
561 * server-src/infofile.c (delete_txinfofile): Use local variable.
563 2006-07-06 Jean-Louis Martineau <martineau@zmanda.com>
564 * server-src/taper.c: Check for cur_filename.
565 * tape-src/output-file.c: Use vstrextend.
566 * tape-src/tapeio.c: Check for r.
568 2006-07-06 Jean-Louis Martineau <martineau@zmanda.com>
570 * oldrecover-src/extract_list.c (clean_tape_list): Cleanup for splint.
571 * recover-src/extract_list.c (clean_tape_list): Cleanup for splint.
572 * server-src/amindexd.c: Add a /*@i@*/.
573 * server-src/conffile.c: Cast to off_t for conf_init_am64.
574 * server-src/driver.c: Cast to unsigned to print pid_t.
575 * server-src/find.c (strip_failed_chunks): Cleanup for splint.
577 2006-07-06 Jean-Louis Martineau <martineau@zmanda.com>
579 * server-src/amindexd.c: Free their_feature_string.
581 * restore-src/amrestore.c: Test maximum value for rst_flags->blocksize.
583 * common-src/genversion.c: Check NULL result of malloc.
585 * client-src/selfcheck.c: Check NULL result of fdopen.
586 Klocwork bug 539, 542
587 * oldrecover-src/extract_list.c: Fix pfn2->next = fn2.
588 * recover-src/extract_list.c : Ditto
589 Klocwork bug 268, 272, 543, 544
590 * oldrecover-src/extract_list.c: Check for cmd != NULL.
591 * recover-src/extract_list.c : Ditto
593 * restore-src/amidxtaped.c: Check for argv != NULL.
595 * changer-src/scsi-linux.c: Make buffer one larger.
597 * changer-src/scsi-changer-driver.c (OpenDevice): Validate parameters.
599 * changer-src/chg-scsi.c (clean_tape): Check usagetime != NULL.
601 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
603 * regex-src/regcomp.c (allocset): Check for p->g->sets
606 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
607 Klocwork bug 169, 170, 181
608 * changer-src/chg-scsi.c: Validate input.
610 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
612 * common-src/file.c (rmpdir): Check for p == NULL.
614 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
616 * common-src/dgram.c (dgram_send_addr): Set addr_save earlier.
618 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
620 * server-src/taper.c (file_reader_side): Maximum value for
623 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
625 * recover-src/display_commands.c: Check for cmd != NULL.
626 * oldrecover-src/display_commands.c: Ditto
628 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
630 * restore-src/restore.c (restore): Check for tmp_filename.
632 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
634 * server-src/driver.c: Check for h and activehd >= 0.
636 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
637 Klocwork bug 338 and 390
638 * server-src/reporter.c (handle_partial, handle_strange): Check result
641 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
643 * client-src/selfcheck.c (check_options, check_disk): Check for
646 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
648 * client-src/clientconf.c (add_client_conf): Check result of realloc.
650 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
651 Klocwork bug 447 and 449
652 * restore-src/restore.c: Check for valid sendbackup request.
654 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
656 * restore-src/restore.c (restore): Set statinfo.st_size.
658 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
660 * common-src/file.c (sanitise_filename): Never return NULL.
662 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
663 * amandad-src/Makefile.am: Remove tape-src and libamtape.
664 * client-src/Makefile.am: Remove tape-src and libamtape.
665 * man/Makefile.am: Cleanup.
666 * oldrecover-src/Makefile.am: Remove tape-src and libamtape.
667 * recover-src/Makefile.am: Remove tape-src and libamtape.
669 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
671 * server-src/driver.c (handle_dumper_result): Check for
672 dumper->ev_read != NULL.
674 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
676 * restore-src/restore.c (search_a_tape): Check for desired_tape == NULL.
678 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
679 Klocwork bug 556 and 557
680 * common-src/security-util.c (bsd_recv_security_ok): Check result of
681 strtok, check service == NULL.
683 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
685 * client-src/calcsize.c (calc_load_file): Return NULL if fopen fail.
686 * client-src/calcsize.c (main): check NULL result from calc_load_file.
688 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
690 * server-src/amflush.c (main): Check return of lookup_disk.
692 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
693 Klocwork bug 62, 85, 459, 463, 466, 469, 555, 559
694 * common-src/security-util.c: Check result of fdopen.
695 * client-src/sendsize.c : Ditto.
696 * server-src/amcheck.c : Ditto.
697 * server-src/amflush.c : Ditto.
699 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
700 Klocwork bug 159, 375, 377, 379, 508, 509, 513, 519
701 * common-src/bsd-security.c: Replace malloc by alloc.
702 * common-src/bsdudp-security.c: Ditto
703 * common-src/genversion.c: Ditto
704 * recover-src/amrecover.c: Ditto
705 * restore-src/amidxtaped.c: Ditto
706 * server-src/reporter.c: Ditto
708 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
709 Klocwork bug 562 and 475
710 * recover-src/set_commands.c (cd_dir): Check result of rindex.
711 * oldrecover-src/set_commands.c (cd_dir): ditto.
713 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
715 * restore-src/restore.c (load_manual_tape): Alloc space for cur_tapedev.
717 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
719 * restore-src/restore.c (restore): Check for final_filename.
721 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
723 * server-src/list_dir.c (add_dir_list_item): Check for cur_list->next.
725 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
727 * server-src/amadmin.c (disklist_one): Check localtime return NULL.
728 * server-src/amadmin.c (info_one) : Ditto.
730 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
731 Klocwork bug 2, 83, 128, 384, 478, 504, 505, 506, 517, 566, 567
732 * server-src/amadmin.c (seqdatestr): Check localtime return NULL.
733 * common-src/util.c (construct_datestamp, construct_timestamp,
735 * oldrecover-src/amrecover.c (main): Ditto.
736 * oldrecover-src/uscan.l (ll_parse_date): Ditto.
737 * recover-src/amrecover.c (main): Ditto.
738 * recover-src/uscan.l (ll_parse_date): Ditto.
739 * server-src/amflush.c (main): Ditto.
740 * server-src/reporter.c (handle_success): Ditto.
742 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
744 * client-src/sendsize.c (add_diskest): Check for level value.
746 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
748 * server-src/reporter.c (nicedate): Check month value.
750 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
752 * server-src/amadmin.c (tape): Limit nb_days to 10000.
754 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
756 * server-src/amadmin.c (balance): Test 'later' after it is set.
758 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
759 * common-src/alloc.c (internal_vstralloc): Don't return NULL.
761 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
762 * server-src/infofile.c (open_txinfofile): Use local variable.
764 2006-06-29 Jean-Louis Martineau <martineau@zmanda.com>
765 * restore-src/restore.c (label_of_current_slot): Close the tapefd if
768 2006-06-29 Jean-Louis Martineau <martineau@zmanda.com>
769 * server-src/find.c (strip_failed_chunks):
770 - Get a **output_find as parameter.
771 - Check the label before remove a valid chunk.
772 - Memory management fix.
774 2006-06-28 Jean-Louis Martineau <martineau@zmanda.com>
775 * common-src/security-util.c: Improve message for .amandahosts.
777 2006-06-27 Ian Turner <ian@zmanda.com>
778 * common-src/fileheader.c: Fix a bug where spanned dumps would
781 2006-06-27 Jean-Louis Martineau <martineau@zmanda.com>
782 * server-src/amcheck.c: Fix test for holdingdisk negative size.
784 2006-06-27 Jean-Louis Martineau <martineau@zmanda.com>
785 * configure.in: Don't set DEFAULT_TAPE_DEVICE if it is not set.
786 * client-src/clientconf.c: Work DEFAULT_TAPE_DEVICE not set.
787 * common-src/genversion.c: Work DEFAULT_TAPE_DEVICE not set.
788 * recover-src/amrecover.c: Work DEFAULT_TAPE_DEVICE not set.
789 * server-src/getconf.c: Work DEFAULT_TAPE_DEVICE not set.
791 2006-06-27 Jean-Louis Martineau <martineau@zmanda.com>
792 Patch by Paul Bijnens
793 * server-src/amcheck.c: Check for access(hdp->diskdir, X_OK).
795 2006-06-27 Jean-Louis Martineau <martineau@zmanda.com>
796 * server-src/conffile.c (getconf_byname): Check for kt->keyword != NULL.
797 * client-src/clientconf.c (client_getconf_byname): Ditto
799 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
800 * recover-src/extract_list.c: check_file_overwite.
802 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
803 * recover-src/extract_list.c: Do the cleanup of the extract list
804 at the extraction time
805 * oldrecover-src/extract_list.c: Ditto.
807 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
808 * NEWS: Add new features.
809 * ReleasesNotes: New files.
811 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
812 * docs/Makefile.am (pkgdata_DATA): Add amaespipe.8.txt amcrypt.8.txt
813 amcrypt-asym-ossl.8.txt amcrypt-ossl.8.txt amfetchdump.8.txt
814 * docs/amaespipe.8.txt: New file.
815 * docs/amcrypt.8.txt: New file.
816 * docs/amcrypt-asym-ossl.8.txt: New file.
817 * docs/amcrypt-ossl.8.txt: New file.
818 * docs/amfetchdump.8.txt: New file.
820 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
821 * docs/Makefile.am (pkgdata_DATA): Add howto-auth.txt.
822 * docs/howto-auth: Documentation on auth.
823 * docs/*.txt: Update from xml-docs
825 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
826 * man/xml-source/amanda.conf.5.xml: Add notes about bsdudp and bsdtcp.
827 * man/xml-source/amanda-client.conf.5.xml: Ditto.
829 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
830 * recover-src/extract_list.c (is_empty_dir): New function.
831 * recover-src/extract_list.c: Print a warning if cwd is not empty.
833 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
834 * server-src/amadmin.c: Allow 'p' and 'P' in --sort argument.
836 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
837 * server-src/amadmin.c: Print errstr returned by match_disklist.
838 * server-src/amcheck.c: Print errstr returned by match_disklist.
839 * server-src/amflush.c: Print errstr returned by match_disklist.
840 * server-src/diskfile.c (match_disklist): Return an error str.
841 * server-src/diskfile.h (match_disklist): New prototype.
842 * server-src/planner.c: Print errstr returned by match_disklist.
843 * server-src/reporter.c: Accept host/disk as arguments.
845 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
846 * server-src/amindexd.c (uncompress_file): Set LC_ALL=C before
849 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
850 * server-src/driver.c (wait_children, kill_children): New function.
851 * server-src/driver.c (wait_for_children): Use wait_children and
853 * server-src/driver.c (main): Use wait_children.
854 * server-src/driverio.c (taper_cmd, chunker_cmd): Close socket on QUIT
857 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
858 * common-src/amfeatures.c (am_init_feature_set): Set
859 fe_amrecover_feedme_tape.
860 * common-src/amfeatures.h (fe_amrecover_feedme_tape): New amfeatures.
861 * common-src/fileheader.c (print_header): Fix.
862 * recover-src/extract_list.c: Use fe_amrecover_feedme_tape.
863 * restore-src/amfetchdump.c: Print error if get_lock == 0.
864 * restore-src/amidxtaped.c: Call send_message if get_lock == 0.
865 * restore-src/restore.c: Split search_tapes in 5 functions.
866 * restore-src/restore.h (send_message): prototype.
868 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
869 * man/xml-source/amfetchdump.8.xml: Document -O and new -o.
870 * restore-src/amfetchdump.c: Replace -o by -O
872 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
873 * client-src/clientconf.c (parse_client_conf): Fix segmentation fault.
874 * server-src/conffile.c (parse_server_conf): Fix segmentation fault.
876 2006-06-21 Kevin Till <ktill@zmanda.com>
877 * changer-src/chg-juke.sh.in
878 * changer-src/chg-manual.sh.in
879 * changer-src/chg-mcutil.sh.in
880 * changer-src/chg-multi.sh.in
881 * changer-src/chg-mtx.sh.in
882 * changer-src/chg-rait.sh.in
883 * changer-src/chg-disk.sh.in
884 * changer-src/chg-zd-mtx.sh.in
885 * changer-src/chg-null.sh.in
886 * changer-src/chg-chs.sh.in
887 * client-src/patch-system.sh.in
888 * amplot/amplot.sh.in
889 * server-src/amcrypt-ossl.sh.in
890 * server-src/amrmtape.sh.in
891 * server-src/amcleanup.sh.in
892 * server-src/amverifyrun.sh.in
893 * server-src/amaespipe.sh.in
894 * server-src/amdump.sh.in
895 * server-src/amcrypt.sh.in
896 * server-src/amcrypt-ossl-asym.sh.in
897 * server-src/amcheckdb.sh.in
898 * server-src/amfreetapes.sh.in
899 * server-src/amverify.sh.in
900 change /bin/sh to @SHELL@ for configure to pick up the correct
901 shell. Sourceforge bug 1466655
902 * man/xml-source/amcrypt-ossl-asym.8.xml: it's backup-privkey.pem
904 2006-06-20 Kevin Till <ktill@zmanda.com>
905 * common-src/security-util.c: ignore EINTR in net_writev
906 patch by Jean-Louis Martineau.
908 2006-06-20 John Franks <jrfranks@zmanda.com>
909 * server-src/conffile.c:
910 Remove Duplicate keyword table entries and alphabetize
911 to make future duplicates easier to spot...
913 * server-src/taper.c:
914 Fix compiler warnings when no mmap function is present.
916 2006-06-20 John Franks <jrfranks@zmanda.com>
917 * server-src/diskfile.c:
918 Default boolean values without parameters to yes if
919 no value is present in configuration file. This
920 maintains backward compatibility and is logical since
921 a value such as "index" reads as an assertion of fact.
923 2006-06-19 Jean-Louis Martineau <martineau@zmanda.com>
924 * docs/wishlist.txt: Remove features done in 2.5.0/2.5.1
926 2006-06-19 Jean-Louis Martineau <martineau@zmanda.com>
927 * man/xml-source/amanda.conf.5.xml: amrecover_check_label and
928 amrecover_do_fsf default to yes.
929 * server-src/conffile (init_dumptype_defaults): DUMPTYPE_INDEX set to 1.
930 * server-src/diskfile.c (parse_diskline): index set from
933 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
934 * server-src/amstatus.pl.in: Match quotes in DONE line.
936 2006-06-16 Kevin Till <ktill@zmanda.com>
937 * example/amanda-client.conf.in:
938 correct DEFAULT_TAPE_SERVER/DEFAULT_SERVER
939 * server-src/amcrypt-ossl-asym.sh.in:
940 set RANDFILE for openssl to place entropy file.
941 * server-src/amcrypt-ossl.sh.in: ditto
943 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
944 * amandad-src/amandad.c : Use strcasecmp to compare auth.
945 * client-src/selfcheck.c : Ditto
946 * client-src/sendbackup.c : Ditto
947 * restore-src/amidxtaped.c: Ditto
948 * server-src/amindexd.c : Ditto
950 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
951 * server-src/amindexd.c (reply, lreply, fast_lreply): Correct use
952 of arglist_start and arglist_end..
953 * server-src/amindexd.c (lreply_backend): Remove function.
955 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
956 * common-src/bsd-security.c (stream_read_callback): Send error to the
959 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
960 * recover-src/extract_list.c: Typo.
961 * restore-src/restore.c: Typo.
963 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
964 * client-src/clientconf.c: Allow include.
965 * client-src/clientconf.c (read_confline): Don't crash.
966 * server-src/conffile.c (read_confline): Don't crash.
967 * recover-src/amrecover.c: Exit if error in conf file.
969 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
970 * common-src/arglist.h: Typo.
971 * recover-src/extract_list.c: handle MESSAGE from amidxtaped.
973 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
974 * common-src/amfeatures.c (am_init_feature_set): Set
975 fe_amrecover_message.
976 * common-src/amfeatures.h (am_feature_e): Add fe_amrecover_message.
977 * common-src/arglist.h (printf_arglist_function3): Prototype.
979 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
980 * restore-src/restore.c (send_message): New function that send message
981 to stderr and/or amrecover.
982 * restore-src/restore.c: Call send_message on some error path.
984 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
985 * common-src/event.c (event_loop_wait, event_wait): Take an
986 event_handle_t * as parameter.
987 * common-src/event.h: New prototype.
988 * common-src/bsd-security.c: Call event_wait(bs->ev_read).
989 * common-src/krb4-security.c: Call event_wait(ks->ev_read).
990 * common-src/krb5-security.c: Call event_wait(ks->ev_read).
991 * common-src/security-util.c: Call event_wait(ss->ev_read).
993 2006-06-15 Kevin Till <ktill@zmanda.com>
994 * man/xml-source/amcrypt-ossl-asym.8.xml: it's .am_passphrase
995 * server-src/amcrypt-ossl-asym.sh.in: export PATH
996 * server-src/amcrypt-ossl.sh.in: export PATH
999 2006-06-15 Jean-Louis Martineau <martineau@zmanda.com>
1000 * server-src/amcheck.c: -w doesn't change the test selection.
1001 * man/xml-source/amcheck.8.xml
1003 2006-06-15 Jean-Louis Martineau <martineau@zmanda.com>
1004 * server-src/planner.c: Log empty disklist and no DLE selected.
1006 2006-06-14 Jean-Louis Martineau <martineau@zmanda.com>
1007 * common-src/bsd-security.c: Use %u to print in_port_t data.
1008 * common-src/bsdudp-security.c: Ditto.
1010 2006-06-14 Jean-Louis Martineau <martineau@zmanda.com>
1011 * changer-src/chg-disk.sh.in: Return the number of slot in output of
1013 * changer-src/chg-zd-mtx.sh.in: Ditto.
1015 2006-06-14 Jean-Louis Martineau <martineau@zmanda.com>
1016 * changer-src/chg-zd-mtx.sh.in: Accept changerfile that already
1017 have the .conf suffix.
1019 2006-06-13 Jean-Louis Martineau <martineau@zmanda.com>
1020 * amandad-src/amandad.c (s_ackwait): Resend the REP on receive of a
1023 2006-06-13 Jean-Louis Martineau <martineau@zmanda.com>
1024 * common-src/security-util.c (bsd_recv_security_ok): Set error only
1027 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
1028 * server-src/driver.c: usetimestamps is a warning.
1030 2006-06-12 Kevin Till <ktill@zmanda.com>
1031 * common-src/security-util.c: if host is 127.0.0.1 and either
1032 localhost or localhost.domain is in .amandahost, hostmatch passes.
1033 * common-src/security-util.h: update check_user_amandahosts prototype
1035 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
1036 * amandad-src/amandad.c (process_writenetfd): Close the pipe if the
1037 security_stream is closed.
1038 * recover-src/extract_list.c: Improve message if we don't get thei
1039 FEATURE line from amidxtaped.
1041 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
1042 * recover-src/amrecover.c: Read amanda-client.conf and
1043 <conf>/amanda-client.conf.
1045 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
1046 * common-src/security-util.c, common-src/tapelist.c,
1047 restore-src/restore.c, server-src/amcheck.c, server-src/amindexd.c,
1048 server-src/amtape.c, server-src/changer.c, server-src/driver.c,
1049 server-src/planner.c, server-src/taper.c,
1050 server-src/taperscan.c: Fix memory leak.
1052 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
1053 * restore-src/restore.c: Fix Adding at end of list.
1055 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
1056 * server-src/taper.c (syncpipe_putstr): Don't crash if str is NULL.
1058 2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
1059 * server-src/holding.c (pick_datestamp): Fix reading user input.
1061 2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
1062 * recover-src/amrecover.c (sigint_handler): Call send_command only if
1065 2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
1066 * common-src/util.c (connect_port): ETIMEDOUT is a fatal error.
1068 2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
1069 * common-src/stream.c (stream_client_internal): Get errno set
1071 * server-src/driver.c (handle_chunker_result): Don't assert(0) on
1072 receive of a TRYAGAIN from a chunker, but set
1074 * server-src/dumper.c: Try gethostbyname("localhost") before calling
1075 stream_client and log appropriate message.
1077 2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
1078 * server-src/amcheck.c: Report ERROR if gethostbyname("localhost")
1081 2006-06-08 Jean-Louis Martineau <martineau@zmanda.com>
1082 * client-src/clientconf.c (add_client_conf): New function to map
1083 normal option to their
1085 * client-src/clientconf.h (add_client_conf): Prototype.
1086 * man/xml-source/amrecover.8.xml: Document -o.
1087 * recover-src/amrecover.c: Also read <config>/amanda-client.conf
1089 2006-06-08 Jean-Louis Martineau <martineau@zmanda.com>
1090 * server-src/diskfile.c (parse_diskline): Only return 0 or -1.
1092 2006-06-08 Jean-Louis Martineau <martineau@zmanda.com>
1093 * amandad-src/amandad.h (g_option_t): Add auth.
1094 * amandad-src/amandad_util.c (init_g_options): Set auth to NULL.
1095 * amandad-src/amandad_util.c (parse_g_options): Parse auth.
1096 * amandad-src/amandad_util.c (free_g_options): Free auth.
1097 * client-src/sendbackup.c: Get amandad_auth from command line and
1098 compare with REQ packet.
1099 * common-src/amfeatures.h (fe_amindexd_options_hostname,
1100 fe_amindexd_options_features,
1101 fe_amindexd_options_auth,
1102 fe_amidxtaped_options_hostname,
1103 fe_amidxtaped_options_features,
1104 fe_amidxtaped_options_auth): New amfeatures.
1105 * common-src/amfeatures.c (am_init_feature_set): Set new amfeatures.
1106 * recover-src/amrecover.c: Send auth in OPTIONS of req packet.
1107 * recover-src/extract_list.c: Send auth in OPTIONS of req packet.
1108 * restore-src/amidxtaped.c: Parse amandad_auth from command line.
1109 Get auth from OPTIONS line.
1111 * server-src/amindexd.c: Parse amandad_auth from command line.
1112 Get auth from OPTIONS line.
1115 2006-06-08 Jean-Louis Martineau <martineau@zmanda.com>
1116 * common-src/util.c(connect_port): Return -2 on ECONNREFUSED error
1119 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
1120 * amandad-src/amandad.c: exec the service with the auth as parameter.
1121 * amandad-src/amandad.c(writebuf): Do no close fd.
1122 * client-src/selfcheck.c: Read the auth for the command line and
1123 compare with the option string.
1124 * client-src/selfcheck.c(main): Do no close 0,1,2 fd.
1126 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
1127 * man/xml-source/amanda.8.xml(CONFIGURATION OVERWRITE): New section.
1128 * man/xml-source/amadmin.8.xml, man/xml-source/amcheck.8.xml,
1129 man/xml-source/amdump.8.xml, man/xml-source/amflush.8.xml,
1130 man/xml-source/amgetconf.8.xml, man/xml-source/amlabel.8.xml,
1131 man/xml-source/amreport.8.xml,
1132 man/xml-source/amrestore.8.xml: Add -o option.
1134 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
1135 * common-src/util.c(get_conftoken): Merge from zmanda.
1137 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
1138 * common-src/util.c(get_conftoken): Remove a conftoken_ungetc.
1140 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
1141 * common-src/bsd-security.c (stream_read_callback): Merge with zmanda.
1143 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
1144 * amandad-src/amandad.c(process_writenetfd): Call security_stream_read
1147 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
1148 * server-src/conffile.c (lookup_interface): Fix merge error.
1150 2006-06-07 John Franks <jrfranks@zmanda.com>
1151 * common-src/amanda.h:
1152 Fix isnormal() replacement macro to indirectly
1153 check if a floating point value is != 0.0.
1154 This prevents compiler warnings.
1156 2006-06-07 John Franks <jrfranks@zmanda.com>
1158 Put in "/* NOTREACHED */" comments after error() calls.
1159 * server-src/diskfile.c
1160 Change disktype index default to yes for backward compatibility.
1162 2006-06-06 John Franks <jrfranks@zmanda.com>
1163 * amandad-src/amandad.c common-src/bsd-security.c:
1164 Correct fix for infinite amandad loop.
1166 2006-06-06 John Franks <jrfranks@zmanda.com>
1167 * common-src/stream.c common-src/util.c:
1169 * server-src/conffile.c:
1170 Remove replicated line
1172 2006-06-06 Jean-Louis Martineau <martineau@zmanda.com>
1173 * common-src/util.c (conftoken_ungetc): Return the character.
1174 * common-src/util.c (get_conftoken): Merge to allow escape character.
1175 * common-src/util.c (read_block): Allow STRING as IDENT.
1176 * server-src/conffile.c (getconf_long, getconf_size): New function.
1177 * server-src/conffile.c: Cleanup after Merge.
1179 2006-06-06 Jean-Louis Martineau <martineau@zmanda.com>
1180 * server-src/amadmin.c, server-src/amcheck.c, server-src/amflush.c,
1181 server-src/amlabel.c, server-src/amlogroll.c, server-src/amtrmidx.c,
1182 server-src/amtrmlog.c, server-src/getconf.c,
1183 server-src/reporter.c: Usage -o
1184 * server-src/amflush.c, server-src/amlogroll.c, server-src/amtrmidx.c,
1185 server-src/amtrmlog.c, server-src/chunker.c, server-src/driver.c,
1186 server-src/dumper.c, server-src/getconf.c, server-src/planner.c,
1187 server-src/reporter.c,
1188 server-src/taper.c: Add call to report_bad_conf_arg.
1189 * server-src/conffile.c(get_comprate, get_compress): Parse CONF_END.
1191 2006-06-06 John Franks <jrfranks@zmanda.com>
1193 Increase checking level from 1 to 2 for SUN lint.
1194 * client-src/amandates.c client-src/clientconf.c
1195 common-src/security-util.c recover-src/amrecover.c
1196 recover-src/extract_list.c regex-src/regcomp.c server-src/amcheck.c
1197 server-src/amlabel.c server-src/chunker.c server-src/conffile.c
1198 server-src/conffile.h server-src/diskfile.c server-src/diskfile.h
1199 server-src/driver.c server-src/holding.c server-src/reporter.c
1200 server-src/tapefile.c server-src/taper.c tape-src/amdd.c:
1202 * common-src/util.h common-src/util.c:
1204 Add missing conftype size.
1205 * common-src/bsd-security.c
1206 Fix infinte loop which consumes all /tmp space and 1/2
1207 the CPU time when EOF is reached on socket.
1209 2006-06-05 Paddy Sreenivasan <paddy@zmanda.com>
1210 * common-src/util.c: Fix warning
1212 2006-06-05 Jean-Louis Martineau <martineau@zmanda.com>
1213 * restore-src/amfetchdump.c, server-src/amcheck.c,
1214 server-src/amcheckdb.sh.in, server-src/amcleanup.sh.in,
1215 server-src/amdump.sh.in, server-src/amflush.c,
1216 server-src/amlabel.c, server-src/amlogroll.c,
1217 server-src/amtrmidx.c, server-src/amtrmlog.c,
1218 server-src/chunker.c, server-src/conffile.c,
1219 server-src/diskfile.c, server-src/driver.c,
1220 server-src/driverio.c, server-src/dumper.c,
1221 server-src/getconf.c, server-src/planner.c,
1222 server-src/reporter.c, server-src/taper.c,
1223 server-src/taperscan.c: Allow -o options and some memory fix.
1224 * server-src/conffile.c(lookup_dumptype, lookup_tapetype,
1225 lookup_interface): Use strcasecmp.
1227 2006-06-02 Jean-Louis Martineau <martineau@zmanda.com>
1228 * common-src/stream.c (stream_client_internal): Use connect_portrange.
1229 * common-src/util.c (connect_portrange): First, try to connect with a
1231 * common-src/util.c (connect_port): Try to connect with a specific port.
1232 * common-src/util.h: Cleanup.
1234 2006-06-02 Jean-Louis Martineau <martineau@zmanda.com>
1235 * server-src/reporter.c: Remove empty if.
1237 2006-06-02 Jean-Louis Martineau <martineau@zmanda.com>
1238 * common-src/util.c (read_block): Don't read CONF_NL aftre the '{'.
1239 * server-src/conffile.c(get_holdingdisk, get_tapetype, get_interface):
1240 Read a CONF_NL after the call to read_block.
1241 * server-src/conffile.c(read_dumptype): Read a CONF_NL if we are not
1242 called from diskfile.
1243 * server-src/diskfile.c: Don't loop on empty line after read_dumptype.
1245 2006-06-01 Kevin Till <ktill@zmanda.com>
1246 * server-src/amcrypt-ossl.sh.in: symmetric encrypt script using openSSL.
1247 Thanks to Ben Slusky.
1248 * server-src/amcrypt-ossl-asym.sh.in: public-ley encrypt script using openSSL.
1249 * man/xml-source/amcrypt-ossl.8.xml: man page
1250 * man/xml-source/amcrypt-ossl-asym.8.xml: man page
1251 * configure.in: ditto
1252 * man/Makefile.am: ditto
1253 * man/entities/global.entities: ditto
1254 * server-src/Makefile.am: ditto
1256 2006-06-01 John Franks <jfranks@zmanda.com>
1257 Eliminate Cygwin compile warnings.
1258 * client-src/getfsent.c: Quiet unused parameter warnings.
1259 * client-src/selfcheck.c: Quiet unused parameter warnings.
1260 * common-src/security-util.h: Make hostname const char *.
1262 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
1263 * server-src/amcheck.c: holdingdisk_get_disksize() return an off_t.
1264 * server-src/find.c: result should be ssize_t.
1266 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
1267 * common-src/amanda.h: Remove am64_t.
1268 * client-src/clientconf.c, client-src/clientconf.h, common-src/util.c,
1269 common-src/util.h, server-src/conffile.c, server-src/conffile.h:
1270 Second pass of config cleanup, add function to parse -o argument.
1271 * recover-src/amrecover.c: -o command argument.
1272 * restore-src/restore.c: Use off_t instead of am64_t.
1273 * server-src/amadmin.c: New config subcommand. -o command argument.
1274 * server-src/amlabel.c: Fix memory leak.
1275 * server-src/diskfile.c: Fix memory leak.
1276 * server-src/diskfile.h: Rename no_hold to to_holdingdisk.
1277 * server-src/driver.c: Many.
1278 * server-src/planner.c: am64_t to off_t.
1280 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
1281 This is the first pass of a general rewrite of configuration file
1282 parsing, It will now use array to store all options.
1284 * client-src/clientconf.c:
1285 * client-src/clientconf.h:
1286 * server-src/conffile.c:
1287 * server-src/conffile.h:
1288 * common-src/util.c: Many new functions.
1289 * common-src/util.h:
1291 * restore-src/amidxtaped.c, server-src/amcheck.c,
1292 server-src/amcleanupdisk.c, server-src/amlabel.c,
1293 server-src/diskfile.c, server-src/driver.c, server-src/driverio.c,
1294 server-src/find.c, server-src/holding.c, server-src/planner.c,
1295 server-src/reporter.c,
1296 server-src/taper.c: Use new macro to get configuration option.
1298 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
1299 * amandad-src/amandad.c, client-src/amandates.c, client-src/noop.c,
1300 client-src/selfcheck.c, client-src/sendsize.c,
1301 common-src/bsd-security.c, common-src/bsdtcp-security.c,
1302 common-src/bsdudp-security.c, common-src/fileheader.c,
1303 common-src/rsh-security.c, common-src/security-util.c,
1304 common-src/security-util.h, common-src/ssh-security.c,
1305 recover-src/extract_list.c, server-src/amcheck.c,
1306 server-src/amindexd.c, server-src/amlogroll.c,
1307 server-src/diskfile.c, server-src/driver.c, server-src/dumper.c,
1308 server-src/find.c, server-src/logfile.c, server-src/planner.c,
1309 server-src/reporter.c,
1310 server-src/tapefile.c: Fix memory and fd leak.
1312 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
1313 * server-src/find.c (search_holding_disk): Take the datestamp from the
1314 file, not the directory name, otherwise usetimestamps=no doesn't
1317 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
1318 * common-src/stream.c (stream_server): New priv parameter if we want
1319 a reserved port. Don't try to
1320 get a reserved port if priv==0.
1321 * common-src/stream.h (stream_server): New prototype.
1322 * common-src/bsd-security.c: Call stream_server with priv==0.
1323 * common-src/krb4-security.c: Call stream_server with priv==1.
1324 * common-src/security-util.c: Call stream_server with priv==0.
1325 * restore-src/amidxtaped.c: Call stream_server with priv==0.
1326 * server-src/chunker.c: Call stream_server with priv==0.
1327 * server-src/taper.c: Call stream_server with priv==0.
1329 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
1330 * server-src/diskfile.c: Return -1 if open of diskfile failed.
1331 * server-src/driver.c: Change message if didn't get a DATE line.
1332 * server-src/reporter.c: Ignore faillure in reading amanda.conf
1333 disklist and tapelist.
1335 2006-05-29 Jean-Louis Martineau <martineau@zmanda.com>
1336 * man/xml-source/amanda.8.xml: Documents service in .amandahosts.
1338 2006-05-29 Jean-Louis Martineau <martineau@zmanda.com>
1339 Previous patch doesn't work because 'make -j2' will use fd 3.
1340 * amandad-src/Makefile.am: Use a temporary file for output of
1342 * changer-src/Makefile.am: Ditto.
1343 * client-src/Makefile.am: Ditto.
1344 * common-src/Makefile.am: Ditto.
1345 * oldrecover-src/Makefile.am: Ditto.
1346 * recover-src/Makefile.am: Ditto.
1347 * restore-src/Makefile.am: Ditto.
1348 * server-src/Makefile.am: Ditto.
1349 * tape-src/Makefile.am: Ditto.
1351 2006-05-29 Jean-Louis Martineau <martineau@zmanda.com>
1352 * amandad-src/Makefile.am: 'make listlibsrc' send it's ouput to fd 3.
1353 * changer-src/Makefile.am: Ditto.
1354 * client-src/Makefile.am: Ditto.
1355 * common-src/Makefile.am: Ditto.
1356 * oldrecover-src/Makefile.am: Ditto.
1357 * recover-src/Makefile.am: Ditto.
1358 * restore-src/Makefile.am: Ditto.
1359 * server-src/Makefile.am: Ditto.
1360 * tape-src/Makefile.am: Ditto.
1362 2006-05-28 Paddy Sreenivasan <paddy@zmanda.com>
1363 * tape-src/tapeio.c : Fixed warnings
1364 * tape-src/output-rait.c : Fixed warnings
1365 * tape-src/output-null.c : Fixed warnings
1366 * tape-src/output-file.c : Fiexed warnings
1367 * recover-src/amrecover.c: Fixed warnings
1368 * recover-src/extract_list.c : Fixed warnings
1369 * server-src/amadmin.c : Fixed warnings
1370 * server-src/driver.c : Fixed warnings
1371 * server-src/infofile.c : Fixed warnings
1373 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
1374 * server-src/conffile.c (read_dumptype): Parse SSH_KEYS.
1376 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
1377 * common-src/security-util.c (udp_inithandle): Remove bad merge.
1378 * server-src/amindexd.c: Improve error message.
1379 * server-src/planner.c: Add a space in output.
1381 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
1382 * server-src/conffile.c: Set dpcur.no_hold correctly,
1383 Fix for conffile program.
1385 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
1386 Allow many services to share the same tcp connection for
1388 Add a security_close_connection to the security-api.
1389 * amandad-src/amandad.c (wait_30s, exit_on_qlength): New variable to
1390 control auth specific behaviour.
1391 * common-src/bsd-security.c: Add sec_close_connection_none.
1392 * common-src/bsdudp-security.c: Add sec_close_connection_none.
1393 * common-src/krb4-security.c: Add sec_close_connection_none.
1394 * common-src/krb5-security.c: Add sec_close_connection_none.
1395 * common-src/security.h (security_close_connection): Prototype.
1396 * common-src/security-util.h (sec_close_connection_none,
1397 tcpm_close_connection): Prototype.
1398 * common-src/security-util.h (struct tcp_conn): Add toclose.
1399 * common-src/security-util.h (struct sec_stream): Add closed_by_me and
1401 * common-src/security-util.c (sec_close_connection_none,
1402 tcpm_close_connection): New function.
1403 * common-src/security-util.c: Handle many services on one connection.
1404 * common-src/bsdtcp-security.c: Handle many services on one connection.
1405 * common-src/rsh-security.c: Handle many services on one connection.
1406 * common-src/ssh-security.c: Handle many services on one connection.
1407 * recover-src/amrecover.c: Add call security_close_connection.
1408 * recover-src/extract_list.c: Add call security_close_connection.
1409 * server-src/amcheck.c: Add call security_close_connection.
1410 * server-src/dumper.c: Add call security_close_connection.
1412 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
1413 * common-src/security-util.c (bsd_prefix_packet): We need the username
1414 of the getuid() user.
1416 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
1417 * common-src/fileheader.c: Parse datestamp on F_TAPEEND.
1418 * restore-src/amrestore.c: Set read_result to the result of
1420 * restore-src/restore.c (read_file_header): Return a ssize_t.
1421 Rename bytes_read by read_result.
1422 Set read_result to the result of read_file_header.
1423 * restore-src/restore.h (read_file_header): New prototype.
1425 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
1426 * server-src/taperscan.c: Replace bogus newvstralloc by vstrextend.
1428 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
1429 * client-src/getfsent.c (print_entry): Add prototype.
1430 * common-src/token.c (main): Shut up compiler warning.
1431 * server-src/infofile.c (dump_rec, dump_db): Add prototype.
1433 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
1434 * amandad-src/amandad.c, common-src/bsd-security.c,
1435 common-src/bsdtcp-security.c, common-src/bsdudp-security.c,
1436 common-src/event.c, common-src/krb5-security.c,
1437 common-src/protocol.c, common-src/rsh-security.c,
1438 common-src/security-util.c, common-src/ssh-security.c,
1439 common-src/util.c, server-src/driver.c: comment debugging.
1441 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
1442 * common-src/security-util.c: typo.
1443 * server-src/amcheck.c: Make sure all check are done.
1445 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
1446 Fix for program not compiled by default.
1447 make bsdsecurity still not compile.
1448 * common-src/bsd-security.c(bind_portrange): prototype change.
1449 * common-src/Makefile.am (STANDARD_COMMON_STUFF_NOT_FILE): Add match.o.
1450 * server-src/conffile.c: Many typo.
1451 * tape-src/tapeio.c: Use OFF_T_FMT and SSIZE_T_FMT when needed, typo.
1453 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
1454 * common-src/fileheader.c (validate_datestamp): Works for 8 characters
1456 * common-src/security-util.c (tcpm_send_token): netlength must be
1458 * common-src/security-util.c (bsd_prefix_packet): Fix typo.
1459 * common-src/util.c (get_time): Don't do computation for starttime.
1460 * server-src/conffile.c (read_dumptype): Do computation for starttime.
1462 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
1463 * common-src/krb5-security.c (krb5_sendpkt, krb5_stream_read_sync,
1464 recv_token): Return ssize_t.
1465 * common-src/krb5-security.c (krb5_accept, krb5_stream_accept,i
1466 krb5_stream_auth): Shut up compiler.
1467 * tape-src/output-file.c: Use SSIZE_MAX instead of SSIZE_T_MAX.
1469 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
1470 * configure.in(AM_INIT_AUTOMAKE): Fix.
1472 2006-05-25 John Franks <jrfranks@zmanda.com>
1473 Pass user CFLAGS correctly to machine generated code and do not
1474 enforce code quality checks on them.
1476 Put compiler code check flags into existing, but previously
1477 unused, AM_CFLAGS for Makefiles to pick up. CFLAGS should
1478 now only contain mandatory flags.
1480 * recover-src/Makefile.am oldrecover-src/Makefile.am:
1481 Use CFLAGS for compiling C code generated from uparse.y and uscan.l
1483 2006-05-24 John Franks <jrfranks@zmanda.com>
1484 Add support for binary path names on disk and in configuration files.
1485 (Allow spaces in filenames.)
1487 Allow quoted strings for disklist entries.
1489 Lint clean code using sun lint, splint and strict GCC warnings.
1490 Type / size clean, dead code removal, portibility checks, etc.
1491 Many checks are still turned off. See configure.in for lint flags used.
1493 Increase debug output in /tmp/amanda/*debug files.
1495 Set SO_REUSEADDR on sockets help avoid running out of ports.
1498 Added lint program discovery with specific targets for SUN lint and splint.
1499 Check each compiler option to see if GCC supports it.
1500 Enable more code quality warnings.
1501 Change missing xsltproc to warning rather than error.
1502 Define _GNU_SOURCES to build flags.
1503 Make size_t and time_t printf format macros.
1504 Check for isnormal() availability.
1505 Don't install man pages if they are not built.
1506 Fix man pages to not attempt build or install if
1507 --without-built-manpages is set.
1509 * Makefile.am amandad-src/Makefile.am changer-src/Makefile.am
1510 client-src/Makefile.am common-src/Makefile.am
1511 oldrecover-src/Makefile.am recover-src/Makefile.am
1512 restore-src/Makefile.am server-src/Makefile.am tape-src/Makefile.am:
1515 * common-src/amanda.h common-src/dgram.c common-src/stream.c
1517 Keep checking for ports on all bind errors.
1518 Delay and retry a few times if all ports are busy.
1519 Retry bind failures after all methods fail.
1520 increase bind checking timeout to 30 minutes.
1522 * client-src/amandad.c
1523 Issue wait when any child exits. (Get rid of defunct processes)
1524 Stat() index file before using system command.
1525 (shell is not reporting failure if index is not present)
1527 * recover-src/extract_list.c:
1528 Fix problem of 'add *' not adding directories.
1529 Fix problem of freeing pointer not obtained through malloc.
1530 Touch up file addition to actually use the file names
1531 retrieved when adding a directory and not the directory itself.
1533 * server-src/taper.c
1534 Strenghten error recovery for broken syncpipes and writer errors.
1536 * changer-src/chg-scsi-chio.c client-src/amandates.c
1537 client-src/client_util.c client-src/findpass.c client-src/getfsent.c
1538 client-src/selfcheck.c client-src/sendbackup-gnutar.c
1539 client-src/sendbackup-star.c client-src/sendbackup.c
1540 client-src/sendsize.c common-src/bsd-security.c common-src/file.c
1541 common-src/krb5-security.c server-src/amcheck.c server-src/amindexd.c
1542 server-src/diskfile.c server-src/driver.c server-src/dumper.c
1543 server-src/holding.c server-src/infofile.c server-src/logfile.c
1544 server-src/tapefile.c:
1545 allow empty lines in input streams.
1547 * recover-src/uparse.y
1548 print message when input is garbage.
1550 * server-src/getconf.c:
1551 Define HOSTNAME_INSTANCE if it was not already defined
1554 * configure.in: Make readline warning less specific. Readline is
1555 used by all input from terminal now.
1557 2006-05-24 Kevin Till <ktill@@zmanda.com>
1558 * client-src/sendbackup.c: ignore SIGINT
1559 * common-src/ssh-security.c: add to total only when n > 0
1560 * common-src/ssh-security.c: add ssh to error,
1561 retry writev when EINTR, EAGAIN is seen
1562 to STDOUT. exit when options is chosen in template mode.
1563 * server-src/driver.c: make sure timestamp is not null
1564 * amanda/configure.in: remove template.d/amanda.conf which is a dup
1565 of amanda-harddisk.conf
1566 * example/Makefile.am: add template.d/README
1567 * amanda-harddisk.conf.in: set tapedev
1568 * recover-src/amrecover.c: aclose socket before exit.
1569 * recover-src/extract_list.c: ditto
1570 * amanda_enterprise.spec: remove template.d/amanda.conf, add template.d/README
1571 in the failure cases. <> user input field.
1572 * server-src/amcheck.c: no quoted text is a warning
1573 * server-src/driver.c: no need to amfree qname
1574 argument. Search mtx in PATH too.
1575 * example/template.d/advanced.conf.in: fix comment for autoflush
1576 * example/template.d/advanced.conf.in: add usetimestamps
1577 * server-src/diskfile.c: to catch unsupported compress-encryption
1578 combination and abort amdump gracefully.
1579 * man/xml-source/amanda.conf.5.xml: fix syntax, add
1580 dumptype references.
1581 * man/xml-source/amanda.8.xml: fix syntax
1582 * configure.in: ditto
1583 * man/Makefile.am: ditto
1584 * example/amanda.conf.in: tidy up
1585 * man/xml-source/amaespipe.8.xml: add uuencode as requirement
1586 * man/xml-source/amcrypt.8.xml: add uuencode as requirement
1587 * server-src/amcheck.c: catch dumptype misconfiguration
1588 * server-src/diskfile.c: ditto
1589 * server-src/driverio.c: ditto
1590 * server-src/planner.c: ditto
1591 * server-src/conffile.c: check includefile before calling
1592 read_conffile_recursively
1593 * example/amanda.conf.in: add public-key encryption dumptype example
1594 * man/xml-source/amanda.8.xml: fix some formatting
1595 * server-src/planner.c: adjust setuid() calling sequences so that ssh can work
1596 * server-src/dumper.c: ditto
1597 * configure.in: add LOW_TCPPORTRANGE for amrecover
1598 * common-src/stream.c: use LOW_TCPPORTRANGE
1599 * server-src/amdump.sh.in: check if config is supplied
1600 * man/xml-source/amrestore.8.xml: add notes on "-f" option
1602 2006-05-24 Ian Turner <ian@zmanda.com>
1603 * configure.in: Properly document --without-xsltproc as itself,
1604 and not the (nonexistant) option --without-built-manpages.
1606 2006-05-16 John Franks <jrfranks@zmanda.com>
1607 * amandad-src/amandad.c client-src/clientconf.c common-src/bsd-security.c
1608 common-src/bsdudp-security.c common-src/dgram.c common-src/krb4-security.c
1609 common-src/krb5-security.c common-src/match.c common-src/packet.c
1610 common-src/security-util.c common-src/security-util.h
1611 common-src/security.h common-src/util.c oldrecover-src/Makefile.am
1612 oldrecover-src/set_commands.c recover-src/amrecover.c
1613 recover-src/extract_list.c server-src/conffile.c server-src/driver.c
1614 server-src/dumper.c server-src/planner.c server-src/reporter.c:
1615 Minimal changes to get tree to compile along with some more
1618 2006-05-15 Jean-Louis Martineau <martineau@zmanda.com>
1619 * server-src/amadmin.c (disklist_one): print spindle.
1621 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
1622 * commmon-src/bsd-security.c: Typo.
1624 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
1625 * common-src/Makefile.am (noinst_HEADERS): Add security-util.h.
1627 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
1628 Build a big tok_t enum for server and client config.
1629 * client-src/clientconf.c: Move many things to util.c.
1630 * client-src/clientconf.h: Remove extern variable.
1631 * common-src/util.c: Add common part of clientconf.c and conffile.c
1632 * common-src/util.h: Prototype.
1633 * server-src/conffile.c: Move many things to util.c.
1634 * server-src/diskfile.c(disk_parserror): Rename from parserror.
1635 * server-src/taper.c: Make many variable static.
1637 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
1638 * restore-src/restore.c: Fix use of possibly NULL input.
1640 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
1641 * common-src/ssh-security.c (ssh_connect): Retrieve ssh_keys from
1643 * server-src/amadmin.c(disklist_one): Print ssh_keys.
1644 * server-src/conffile.c(SSH_KEYS): Parse new dumptype option.
1645 * server-src/conffile.h(dumptype_t): Add ssh_keys.
1646 * server-src/diskfile.c(parse_diskline): Copy new field.
1647 * server-src/diskfile.h(disk_t) Add ssh_keys.
1648 * server-src/driverio.c(dumper_cmd): Send dp->ssh_keys in a PORT_DUMP
1649 command to the dumper.
1650 * server-src/dumper.c: Parse ssh_keys in a PORT_DUMP command.
1651 * server-src/dumper.c(dumper_get_security_conf): Return the ssh_keys.
1652 * server-src/server_util.c(amhost_get_security_conf): Return the
1655 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
1656 * amandad-src/amandad.c: Set allow_many_services to 0 if auth=bsdtcp.
1657 * common-src/bsd-security.c: Use security-util.c.
1658 * common-src/bsdtcp-security.c: New security-api.
1659 * common-src/bsdudp-security.c: New secutity-api.
1660 * common-src/krb4-security.c: Use security-util.c.
1661 * common-src/krb5-security.c: Use security-util.c.
1662 * common-src/Makefile.am (libamanda_la_SOURCES): Add bsdtcp-security.c,
1664 and security-util.c.
1665 * common-src/protocol.c: Debuging cleanup.
1666 * common-src/rsh-security.c Use security-util.c.
1667 * common-src/security.c: Use bsdtcp_security_driver
1668 and bsdudp_security_driver.
1669 * common-src/security.h(accept): New prototype.
1670 * common-src/security-util.c: Many common function for security-api.
1671 * common-src/security-util.h: many prototype for security-api.
1672 * common-src/ssh-security.c Use security-util.c.
1673 * common-src/stream.c (stream_client_internal): Call connect_portrange.
1674 * common-src/util.c (make_socket): Make a socket.
1675 * common-src/util.c (connect_portrange): Make a socket, bind it and
1677 * common-src/util.h (connect_portrange): Prototype.
1678 * configure.in: new --with-bsdtcp-security and --with-bsdudp-security.
1680 2006-05-10 Jean-Louis Martineau <martineau@zmanda.com>
1681 Patch by <amanda@inventivetechnology.at>
1682 * man/xml-source/amrecover.8.xml: Document listhost command.
1684 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
1685 Patch by <amanda@inventivetechnology.at>
1686 * server-src/amindexd.c: new LISTHOST command.
1687 * recover-src/set_commands.c (list_host): New function.
1688 * recover-src/amrecover.h (list_host): Prototype.
1689 * recover-src/help.c (list_host): Print help.
1690 * recover-src/uscan.l: Parse listhost command.
1691 * recover-src/uparse.y: LISTHOST command.
1692 * oldrecover-src/set_commands.c (list_host): New function.
1693 * oldrecover-src/amrecover.h (list_host): Prototype.
1694 * oldrecover-src/help.c (list_host): Print help.
1695 * oldrecover-src/uscan.l: Parse listhost command.
1696 * oldrecover-src/uparse.y: LISTHOST command.
1698 2006-05-08 Ian Turner <ian@zmanda.com>
1699 * server-src/amcheck.c: Make it an error when the expected new
1700 tape cannot be found. Thanks to Paul Bijnens
1701 <paul.bijnens@xplanation.com> for the patch and to Jason L
1702 Tibbitts III <tibbs@math.uh.edu> for noticing this problem.
1704 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
1705 * driverio.h (shed_s): Add est_nsize, est_csize, degr_nsize, degr_csize
1706 for nativa and compressed estimate size.
1707 * planner.c: Send the native and compressed estimate size to the driver.
1708 * driver.c: log with L_STATS the estimate of a successful dump.
1709 * reporter.c: Parse the L_STATS.
1710 * reporter.c(generate_bad_estimate): New function that will put in the
1711 NOTES section all bad estimate.
1713 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
1714 * configure.in (AC_CONFIG_FILES): Add oldrecover-src/Makefile.
1715 * Makefile.am (RECOVER_SUBDIRS): Add oldrecover-src.
1716 * oldrecover-src/amrecover.c: Copy of old recover-src/amrecover.c
1717 * oldrecover-src/amrecover.h: Copy of old recover-src/amrecover.h
1718 * oldrecover-src/display_commands.c: Copy of old
1719 recover-src/display_commands.c
1720 * oldrecover-src/extract_list.c: Copy of old recover-src/extract_list.c
1721 * oldrecover-src/help.c: Copy of old recover-src/help.c
1722 * oldrecover-src/Makefile.am: Copy of old recover-src/Makefile.am
1723 * oldrecover-src/set_commands.c: Copy of old recover-src/set_commands.c
1724 * oldrecover-src/uparse.y: Copy of old recover-src/uparse.y
1725 * oldrecover-src/uscan.l: Copy of old recover-src/uscan.l
1726 * recover-src/amrecover.c: Works with security-api.
1727 * recover-src/amrecover.h: Works with security-api.
1728 * recover-src/extract_list.c: Works with security-api.
1730 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
1731 * amandad-src/amandad.c: Fixup.
1733 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
1734 * common-src/packet.h: pkt_t.body is now a char*.
1735 * common-src/packet.c (pkt_init): Return an alloced pkt.body.
1736 * common-src/packet.c (pkt_cat): Increade pkt.body size if needed.
1737 * common-src/protocol.c: Free allocated pkt.body.
1738 * common-src/dgram.c (dgram_cat): Return int.
1739 * common-src/dgram.h (dgram_cat): New prototype.
1740 * common-src/krb5-security.c: Work with dynamicaly allocated packet
1742 * common-src/rsh-security.c: Work with dynamicaly allocated packet
1744 * common-src/ssh-security.c: Work with dynamicaly allocated packet
1746 * amandad-src/amandad.c: Work with dynamicaly allocated packet body.
1747 * server-src/amcheck.c: Don't limit packet size.
1748 * server-src/planner.c: Don't limit packet size.
1750 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
1751 * amandad-src/amandad.c (service_new): Apply the correct patch.
1753 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
1754 * server-src/taper.c: Fix compiler warning.
1755 * common-src/match.c: Many function get const parameters.
1756 * common-src/amanda.h: Prototype change.
1758 2006-05-07 Jean-Louis Martineau <martineau@zmanda.com>
1759 * amandad-src/amandad.c (service_new): Make sur that the 3 data_read[]
1760 and the 3 data_write[] fd are not in the range DATA_FD_OFFSET to
1761 DATA_FD_OFFSET+DATA_FD_COUNT-1.
1763 2006-05-05 Jean-Louis Martineau <martineau@zmanda.com>
1764 * common-src/tapelist.c (append_to_tapelist): Remove bad amfree.
1766 2006-05-05 Nikhil Bandiwadekar <nikhil@zmanda.com>
1767 * server-src/conffile.c: fix to correctly handle am64 datatype
1769 2006-05-04 Jean-Louis Martineau <martineau@zmanda.com>
1770 * server-src/taper.c: Write the slot number in the
1771 'taper: wrote label' line.
1772 * server-src/amverifyrun.sh.in: Parse that line.
1774 2006-05-02 Jean-Louis Martineau <martineau@zmanda.com>
1775 * amstatus.pl.in: Limit characters for hostname in setup_estimate line.
1777 2006-04-27 Jean-Louis Martineau <martineau@zmanda.com>
1778 * common-src/rsh-security.c: Pass "amdump amindexd amidxtaped" option
1780 * common-src/ssh-security.c: Ditto.
1782 2006-04-27 Jean-Louis Martineau <martineau@zmanda.com>
1783 * amandad-src/amandad.c: Accept a list of services on the command line.
1785 2006-04-27 Jean-Louis Martineau <martineau@zmanda.com>
1786 * common-src/tapelist.c (append_to_tapelist): Fix memory leak.
1788 2006-04-27 Jean-Louis Martineau <martineau@zmanda.com>
1789 * amandad-src/amandad.c: Fix memory leak.
1790 * amandad-src/amandad.h (free_g_options): Prototype.
1791 * amandad-src/amandad_util.c (free_g_options): New function to free a
1793 * server-src/amcleanupdisk.c: Fix memory leak.
1794 * server-src/reporter.c: Fix memory leak.
1795 * server-src/tapefile.c: Fix memory leak.
1796 * server-src/taperscan.c: Put message in error_message.
1798 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
1799 * server-src/amcheck.c (start_server_check): Memory leak.
1801 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
1802 * amandad-src/Makefile.am (noinst_HEADERS): Add amandad.h.
1803 * client-src/Makefile.am (noinst_HEADERS): Add clientconf.h.
1805 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
1806 * man/xml-source/amanda-client.conf.5.xml: New file.
1808 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
1809 * common-src/amanda.h (check_user_ruserok, check_user_amandahosts):
1811 * common-src/bsd-security.c: Pass the service name across check_user*
1812 function and validate it from the .amandahosts file.
1814 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
1815 * restore-src/amidxtaped.c: Can be launched by amandad.
1816 * server-src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/amandad-src
1817 * server-src/Makefile.am (amidxtaped__LDADD): Link with libamandad.
1818 * restore-src/restore.c: Fix indentation.
1820 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
1821 * server-src/amindexd.c: Can be launched by amandad
1822 * server-src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/amandad-src
1823 * server-src/Makefile.am (amindexd_LDADD): Link with libamandad.
1825 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
1826 * amandad-src/amandad.c: New file.
1827 * amandad-src/amandad.h: New file.
1828 * amandad-src/amandad_util.c: New file, add function init_g_options
1830 * amandad-src/Makefile.am: New file.
1831 * client-src/amandad.c: Removed file.
1832 * client-src/amandad.h: Removed file.
1833 * client-src/client_util.c (init_g_options, parse_g_options): Remove.
1834 * client-src/client_util.h (init_g_options, parse_g_options): Remove.
1835 * client-src/Makefile.am (INCLUDES): -I$(top_srcdir)/amandad-src
1836 * client-src/Makefile.am (libexec_PROGRAMS): Remove amandad.
1837 * client-src/Makefile.am (LDADD): Add
1838 ../amandad-src/libamandad.$(LIB_EXTENSION).
1839 * client-src/selfcheck.c: #include "amandad.h".
1840 * client-src/sendsize.c: #include "amandad.h".
1841 * configure.in (AC_CONFIG_FILES): amandad-src/Makefile.
1842 * Makefile.am (SUBDIRS): amandad-src.
1844 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
1845 * docs/security-api.txt: Document security_read_sync.
1846 * common-src/security.h: Typo.
1848 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
1849 * client-src/amandad.c (service_new): Pass the "amandad" argument to
1852 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
1853 * common-src/bsd-security.c: Allow to run many services on the same
1855 * common-src/rsh-security.c: Ditto.
1856 * common-src/ssh-security.c: Ditto.
1858 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
1859 * common-src/security.h (security_stream_read_sync): Prototype.
1860 * common-src/bsd-security.c (bsd_stream_read_sync): New function.
1861 * common-src/krb4-security.c (krb4_stream_read_sync): New function.
1862 * common-src/krb5-security.c (krb5_stream_read_sync): New function.
1863 * common-src/rsh-security.c (rsh_stream_read_sync): New function.
1864 * common-src/ssh-security.c (ssh_stream_read_sync): New function.
1866 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
1867 * client-src/amandad.c: Open pipe in both direction to the services.
1868 * client-src/sendbackup.c: Deal with the newer pipe.
1870 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
1871 * client-src/clientconf.c: New file to read the client configuration
1873 * client-src/clientconf.h: Header.
1874 * client-src/Makefile.am: Link clientconf into libamclient.
1875 * configure.in (AC_CONFIG_FILES): example/amanda-client.conf.
1876 * docs/amanda-client.conf.5.txt: New documentation.
1877 * docs/Makefile.am (pkgdata_DATA): amanda-client.conf.5.txt.
1878 * example/amanda-client.conf.in: exemple.
1879 * example/Makefile.am (noinst_DATA): amanda-client.conf.
1880 * man/entities/global.entities: amclientconf.
1881 * man/Makefile.am (COMMON_MAN5_PAGES): amanda-client.conf.5.
1882 * man/xml-source/amanda.8.xml (SEE ALSO): amanda-client.conf(5).
1883 * man/xml-source/amanda.conf.5.xml (SEE ALSO): amanda-client.conf(5).
1884 * man/xml-source/amrecover.8.xml (SEE ALSO): amanda-client.conf(5).
1886 2006-04-26 K. K. George<kkg@zmanda.com>
1887 * server-src/reporter.c: Fix to untaint the mailto parameter.
1888 * server-src/amcheck.c: Fix to untaint the mailto parameter
1889 * changer-src/chg-scsi.c: Fix to untaint the mailto parameter.
1890 * changer-src/chg-scsi-chio.c: Fix to untaint the mailto parameter.
1891 * common-src/util.h: Added function to check if the mailto
1892 parameter is untainted
1893 * common-src/util.c: Added function to check if the mailto
1894 parameter is untainted
1896 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
1897 * common-src/event.c(event_wait): New function.
1898 * common-src/event.h(event_wait): prototype.
1899 * docs/eventapi.txt: Document event_wait.
1901 2006-04-24 Jean-Louis Martineau <martineau@zmanda.com>
1902 * server-src/planner.c: Fix divide by zero if runtapes==0.
1904 2006-04-24 K. K. George<kkg@zmanda.com>
1905 * server-src/reporter.c: Fix to make the mailto parameter in
1906 amanda.conf optional. Added two more commandline options
1908 * server-src/amcheck.c: Fix to make the mailto parameter in
1909 amanda.conf optional.
1910 * man/xml-source/amreport.8.xml: Modified to document the
1911 -i & -Maddress commandline parameters
1912 * docs/amreport.8.txt: Modified to document the
1913 -i & -Maddress commandline parameters
1914 * changer-src/chg-scsi.c: Fix to make the mailto parameter in
1915 amanda.conf optional.
1916 * changer-src/chg-scsi-chio.c: Fix to make the mailto parameter in
1917 amanda.conf optional.
1919 2006-04-23 Jean-Louis Martineau <martineau@zmanda.com>
1920 * server-src/driver.c (handle_chunker_result): make sure that
1921 est_size > act-size.
1923 2006-04-21 Jean-Louis Martineau <martineau@zmanda.com>
1924 * server-src/changer.c (changer_command): Make sure fd[0] != 1.
1926 2006-04-19 Jean-Louis Martineau <martineau@zmanda.com>
1927 * restore-src/amidxtaped.c: Cleanup.
1929 2006-04-19 Ian Turner <ian@zmanda.com>
1930 * tape-src/output-tape.c: Do a more thourough check to ensure
1931 that we actually got a tape device, before proceeding to use
1934 2006-04-18 Ian Turner <ian@zmanda.com>
1935 * changer-src/chg-disk.sh.in: Check that the virtual device is a
1936 directory with proper permissions.
1937 * server-src/changer.c: Do the right thing (failure) if there is
1938 a problem with the changer.
1940 2006-04-18 Ian Turner <ian@zmanda.com>
1941 * recover-src/uscan.l: Accept setdate of the form
1942 yyyy-MM-dd-hh-mm in addition to yyyy-MM-dd-hh-mm-ss.
1943 * man/xml-source/amrecover.8.xml: Document this change.
1945 2006-04-14 Jean-Louis Martineau <martineau@zmanda.com>
1946 * recover-src/help.c: Document setdate YYYY-MM-DD-HH-MM-SS format.
1947 * man/xml-source/amrecover.8.xml: Ditto.
1949 2006-04-14 Jean-Louis Martineau <martineau@zmanda.com>
1950 * client-src/amandad.c: Use %p to printf pointer.
1952 2006-04-14 Jean-Louis Martineau <martineau@zmanda.com>
1953 * server-src/amtape.c: Add update command.
1955 2006-04-11 Jean-Louis Martineau <martineau@zmanda.com>
1956 * server-src/taper.c: log_add(L_WARNING) the output of taper_scan if
1957 no valid tape are found.
1959 2006-04-11 Jean-Louis Martineau <martineau@zmanda.com>
1960 * server-src/amcheck.c: Call taper_scan with
1961 (..., FILE_taperscan_output_callback,outf) arguments.
1962 * server-src/amtape.c: Call taper_scan with
1963 (..., FILE_taperscan_output_callback,stderr) arguments.
1964 * server-src/taper.c: Call taper_scan with
1965 (..., CHAR_taperscan_output_callback, &error_msg) arguments.
1966 * server-src/taperscan.h(FILE_taperscan_output_callback,
1967 CHAR_taperscan_output_callback): Protoype.
1968 * server-src/taperscan.h(taper_scan): New protoype, remove
1969 error_message arg, add taperscan_output_callback and data arg.
1970 * server-src/taperscan.c(FILE_taperscan_output_callback): Callback
1971 that print the msg to it's arg, which is FILE*.
1972 * server-src/taperscan.c(CHAR_taperscan_output_callback): Callback
1973 that append the msg to it's arg, which is char*.
1974 * server-src/taperscan.c(taper_scan): Fix for new arguments.
1975 * server-src/taperscan.c(changer_taper_scan): Fix for new arguments.
1977 2006-04-11 Jean-Louis Martineau <martineau@zmanda.com>
1978 * man/xml-source/amanda.conf.5.xml: Document amandad_path and
1979 client_username dumptype option.
1981 2006-04-11 Jean-Louis Martineau <martineau@zmanda.com>
1982 * common-src/krb4-security.c: Increase timeout to 60 seconds.
1983 * common-src/rsh-security.c: Increase timeout to 60 seconds.
1984 * common-src/ssh-security.c: Increase timeout to 60 seconds.
1986 2006-04-07 Jean-Louis Martineau <martineau@zmanda.com>
1987 * server-src/conffile.c: New configuration option usetimestamps.
1988 * server-src/conffile.h: New configuration option usetimestamps.
1989 * example/amanda.conf.in: Document new usetimestamps options.
1990 * man/xml-source/amanda.conf.5.xml: Document new usetimestamps options.
1991 * server-src/amflush.c: Use datestamp or timestamp depending of
1993 * server-src/planner.c: Use datestamp or timestamp depending of
1995 * server-src/driver.c: Log an ERROR if many run a day and
1996 usetimestamps us set to no.
1998 2006-04-07 Ian Turner <ian@zmanda.com>
1999 * server-src/changer.c: Don't crash if we go to taperscan "Plan
2002 2006-04-07 Ian Turner <ian@zmanda.com>
2003 * server-src/changer.c: Only print changer debug messages if
2004 there was a problem.
2006 2006-04-07 Ian Turner <ian@zmanda.com>
2007 * recover-src/amrecover.c: Print a more helpful command if mount
2008 point autodetection fails.
2009 * recover-src/display_commands.c: Print a more helpful message
2010 if the user tries to ls without having setdisk earlier.
2012 2006-04-07 Jean-Louis Martineau <martineau@zmanda.com>
2013 * server-src/amadmin.c: Fix use of datestamp as int.
2014 * server-src/find.c: Ditto.
2015 * server-src/reporter.c: Ditto.
2016 * server-src/tapefile.c: Ditto.
2018 2006-04-07 Jean-Louis Martineau <martineau@zmanda.com>
2019 * common-src/Makefile.am: Fix dependency between genversion and
2022 2006-04-07 Jean-Louis Martineau <martineau@zmanda.com>
2023 * recover-src/amrecover.c: Change initialization of server_name and
2026 2006-04-07 Jean-Louis Martineau <martineau@zmanda.com>
2027 * restore-src/amrestore.c: reset count_error to 0 on a restore.
2029 2006-04-06 Kevin Till <ktill@zmanda.com>
2030 * server-src/Makefile.am: always install planner/dumper setuid-root
2031 * server-src/amcheck.c: check planner/dumper for setuid-root
2032 * server-src/dumper.c: drop privilege asap. Switch between bsd
2033 and ssh auth is now possible with the same installation.
2034 * server-src/planner.c: ditto
2036 2006-04-06 Jean-Louis Martineau <martineau@zmanda.com>
2037 * server-src/taperscan.c (changer_taper_scan): Pass a pointer to the
2038 changer_loadslot call.
2040 2006-04-06 Jean-Louis Martineau <martineau@zmanda.com>
2041 * server-src/tapefile.c (lookup_last_reusable_tape): Fix a datestamp
2044 2006-04-06 Ian Turner <vectro@vectro.org>
2045 * recover-src/amrecover.c (main): Check AMANDA_SERVER and
2046 AMANDA_TAPE_SERVER environment variables before falling back
2047 to compiled-in defaults. Document this new behavior. Thanks to
2048 Malcolm Locke <malc@hoodee.co.uk> for the idea and patch.
2050 2006-04-06 Jean-Louis Martineau <martineau@zmanda.com>
2051 * server-src/reporter.c (handle_chunk): CHUNK line always have the
2054 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2055 * server-src/krb5-security.c: Fix for krb5_connect call in
2058 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2059 * server-src/driver.c (start_some_dumps): Recover correctly if the
2060 chunker reply with something that is not a PORT command.
2061 * server-src/driver.c (dump_to_tape): remove duplicate free_serial.
2062 * server-src/driverio.c: Improve debugging.
2064 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2065 * common-src/tapelist.c(unmarshal_tapelist_str): Fix
2066 "value computed is not used" compiler warning.
2068 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2069 * common-src/bsd-security.c (bsd_connect): New datap argument.
2070 * common-src/krb4-security.c (krb4_connect): New datap argument.
2071 * common-src/krb5-security.c (krb5_connect): New datap argument.
2072 * common-src/rsh-security.c (rsh_connect): New datap argument,
2073 retrieve amanda_path and client_username from configuration.
2074 * common-src/ssh-security.c (ssh_connect): New datap argument,
2075 retrieve amanda_path and client_username from configuration.
2076 * common-src/protocol.c: Pass new datap argument to security_connect.
2077 * common-src/security.h(connect): New prototype.
2078 * common-src/security.h(security_connect): Add datap to macro.
2079 * server-src/amadmin.c(disklist_one): Print amandad_path and
2081 * server-src/conffile.c(AMANDAD_PATH, CLIENT_USERNAME): Parse new
2083 * server-src/conffile.h(dumptype_t): Add amandad_path and
2085 * server-src/diskfile.c(parse_diskline): Copy new field.
2086 * server-src/diskfile.h(disk_t) Add amandad_path and client_username.
2087 * server-src/driverio.c(dumper_cmd): Send dp->amandad_path and
2088 dp->client_username in a PORT_DUMP command to the dumper.
2089 * server-src/dumper.c: Parse amandad_path and client_username in a
2091 * server-src/dumper.c(dumper_get_security_conf): New function to return
2092 configuration option to the security-api.
2093 * server-src/dumper.c: Use dumper_get_security_conf for the callback
2094 to protocol_sendreq.
2095 * server-src/planner.c Use amhost_get_security_conf for the callback
2096 to protocol_sendreq.
2097 * server-src/amcheck.c: Use amhost_get_security_conf for the callback
2098 to protocol_sendreq.
2099 * server-src/server_util.c(amhost_get_security_conf): New function to
2100 return configuration option to the security-api,
2101 it expect an am_host_t arg.
2102 * server-src/server_util.h(amhost_get_security_conf): Prototype.
2104 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2105 * server-src/amstatus.pl.in: Remove duplicate instruction.
2107 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2108 * server-src/amindexd.c: Remove all code that set str_buffer_size,
2109 rename str_buffer_size to reply_buffer_size,
2110 rename buf to reply_buffer,
2111 * server-src/amindexd.c(reply, lreply_backend): Increase reply_buffer
2114 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2115 * common-src/amfeatures.h: Add fe_amrecover_timestamp amfeature.
2116 * common-src/amfeatures.c (am_init_feature_set):
2117 Add fe_amrecover_timestamp.
2118 * server-src/amindexd.c(opaque_ls_one): New function.
2119 * server-src/amindexd.c(disk_history_list,opaque_ls_one): Send only a
2120 datestamp if client doesn't have fe_amrecover_timestamp.
2122 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2123 * recover-src/uscan.l: Parse "setdate YYYY-MM-DD-HH-MM-SS".
2124 * server-src/amindexd.c (cmp_date): New function to cmp datestamp with
2125 timestamp, use it where needed.
2126 * server-src/amindexd.c (amindexd_nicedate): Fix for timestamp.
2127 * server-src/amtrmidx.c: Fix for timestamp.
2128 * server-src/disk_history.h (DUMP_ITEM): Increase size of date.
2130 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2131 * server-src/amflush.c: Send DATE line to driver, use timestamp.
2132 * server-src/amindex.c (getindexfname): Increase datebuf size.
2133 * server-src/amtrmlog.c: Fix bug with date_keep computation if
2135 * server-src/amtrmlog.c: rotate timestamped log file.
2136 * server-src/chunker.c: Receive START cmd, use timestamp.
2137 * server-src/driver.c: Receive DATE line, send START cmd to chunker,
2139 * server-src/driverio.c (startup_dump_processes): Send START cmd to
2141 * server-src/driverio.c (dumper_cmd, chunker_cmd): Send START command.
2142 * server-src/driverio.h (startup_dump_processes): Prototype change,
2144 * server-src/dumper.c: Receive START cmd, use timestamp.
2145 * server-src/find.c (find_nicedate): Fix for timestamp.
2146 * server-src/planner.c: Send DATE line to driver, use timestamp.
2147 * server-src/server_util.c (cmdstr): Add START.
2148 * server-src/server_util.h (cmd_t): Add START.
2149 * server-src/taper.c: Get timestamp from TAPER_START command.
2151 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2152 * server-src/amindexd.c (amindexd_nicedate): New function.
2153 * server-src/find.h (struct find_result_s): Remove datestamp and
2154 datestamp_aux field, only timestamp will be used.
2155 * restore-src/amfetchdump.c: Convert datestamp to 'char *'.
2156 * restore-src/restore.c: Convert datestamp to 'char *'.
2157 * server-src/amindexd.c: Convert datestamp to 'char *'.
2158 * server-src/amlabel.c: Convert datestamp to 'char *'.
2159 * server-src/amtrmidx.c: Convert datestamp to 'char *'.
2160 * server-src/find.c: Convert datestamp to 'char *'.
2161 * server-src/reporter.c: Convert datestamp to 'char *'.
2162 * server-src/tapefile.c: Convert datestamp to 'char *'.
2163 * server-src/tapefile.h: Convert datestamp to 'char *'.
2164 * server-src/taper.c: Convert datestamp to 'char *'.
2166 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2167 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1b1).
2169 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2170 * server-src/driver.c: Change expression to remove overflow.
2172 2006-03-29 Jean-Louis Martineau <martineau@zmanda.com>
2173 * client-src/calcsize.c: Don't use declaration after instruction,
2174 older compiler don't accept it.
2176 2006-03-23 Jean-Louis Martineau <martineau@zmanda.com>
2177 * Amanda 2.5.0 released.
2178 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0).
2179 * NEWS: Update for 2.5.0
2181 2006-03-22 Jean-Louis Martineau <martineau@zmanda.com>
2182 * server-src/dumper.c: wait for compress/index/encryp subprocess.
2184 2006-03-22 Jean-Louis Martineau <martineau@zmanda.com>
2185 * server-src/amstatus.pl.in: Parse PARTIAL reply.
2187 2006-03-22 Jean-Louis Martineau <martineau@zmanda.com>
2188 * server-src/driver.c: Put '#define HOLD_DEBUG' in comment.
2190 2006-03-21 Jean-Louis Martineau <martineau@zmanda.com>
2191 * server-src/chunker.c: Don't loop on startup_chunker.
2192 * server-src/dumper.c: Don't wait for all children, some process (ssh)
2193 might not terminate.
2195 2006-03-17 Ian Turner <ian@zmanda.com>
2196 * server-src/taper.c (read_file): When finished flushing a
2197 chunked dump, print information about the whole dump, not just
2198 the last chunk. Also, fix some memory leaks.
2200 2006-03-16 Kevin Till <ktill@zmanda.com>
2201 * server-src/amverify.sh.in: check for EOI. amrestore only
2202 reports EOI for some tapetypes.
2204 2006-03-15 Jean-Louis Martineau <martineau@zmanda.com>
2205 * server-src/conffile.c: Fix heritage of auth.
2207 2006-03-14 Kevin Till <ktill@@zmanda.com>
2208 * example/amanda.conf.in: add dumptype custom-compress.
2209 add ssh,krb5 as valid input for auth.
2210 * man/xml-source/amanda.conf.5.xml: give reference to
2211 custom-compress, encrypt-fast dumptypes.
2213 2006-03-14 Jean-Louis Martineau <martineau@zmanda.com>
2214 * common-src/amfeatures.h: Rename fe_amidxtaped_FEEDME to
2216 * common-src/amfeatures.c (am_init_feature_set): Set
2217 fe_amrecover_FEEDME.
2218 * restore-src/restore.h (search_tapes): Add their_features parameter.
2219 * restore-src/amfetchdump.c: Add NULL pointer to search_tapes call.
2220 * restore-src/amidxtaped.c: Add their_features to search_tapes call.
2221 * restore-src/restore.c (search_tapes): Send FEEDME only if client
2224 2006-03-11 Jean-Louis Martineau <martineau@zmanda.com>
2225 * server-src/driverio.c : Fix errors found using Coverity tools.
2227 2006-03-10 Jean-Louis Martineau <martineau@zmanda.com>
2228 * server-src/taperscan.c: Fix Coverity fix.
2230 2006-03-10 Jean-Louis Martineau <martineau@zmanda.com>
2231 * changer-src/scsi-changer-driver.c:
2232 Fix errors found using Coverity tools.
2233 * server-src/diskfile.c: Fix errors found using Coverity tools.
2234 * server-src/planner.c: Fix errors found using Coverity tools.
2235 * server-src/taperscan.c: Fix errors found using Coverity tools.
2237 2006-03-10 Jean-Louis Martineau <martineau@zmanda.com>
2238 * server-src/driverio.c: Undo my bad fix.
2239 * server-src/infofile.c: Fix errors found using Coverity tools.
2240 * tape-src/tapetype.c: Fix errors found using Coverity tools.
2242 2006-03-09 Jean-Louis Martineau <martineau@zmanda.com>
2243 * restore-src/restore.c: Fix errors found using Coverity tools.
2245 2006-03-09 Jean-Louis Martineau <martineau@zmanda.com>
2246 * server-src/holding.c: Fix errors found using Coverity tools.
2248 2006-03-09 Jean-Louis Martineau <martineau@zmanda.com>
2249 * server-src/driverio.c: Fix errors found using Coverity tools.
2250 * server-src/planner.c: Fix errors found using Coverity tools.
2252 2006-03-09 John Franks <jrfranks@zmanda.com>
2253 * changer-src/chg-scsi.c: Fix errors found using Coverity tools.
2254 * changer-src/scsi-changer-driver.c:
2255 Fix errors found using Coverity tools.
2256 * changer-src/sense.c: Fix errors found using Coverity tools.
2257 * client-src/sendbackup-dump.c: Fix errors found using Coverity tools.
2258 * client-src/sendbackup.c: Fix errors found using Coverity tools.
2259 * recover-src/display_commands.c:Fix errors found using Coverity tools.
2260 * regex-src/regcomp.c: Fix errors found using Coverity tools.
2261 * restore-src/restore.c: Fix errors found using Coverity tools.
2262 * server-src/amindexd.c: Fix errors found using Coverity tools.
2263 * server-src/diskfile.c: Fix errors found using Coverity tools.
2264 * server-src/driver.c: Fix errors found using Coverity tools.
2265 * server-src/driverio.c: Fix errors found using Coverity tools.
2266 * server-src/infofile.c: Fix errors found using Coverity tools.
2267 * server-src/planner.c: Fix errors found using Coverity tools.
2268 * server-src/taper.c: Fix errors found using Coverity tools.
2269 * server-src/taperscan.c: Fix errors found using Coverity tools.
2270 * server-src/conffile.c: Change report default to use at least
2271 one space between every column.
2273 2006-03-08 Jean-Louis Martineau <martineau@zmanda.com>
2274 * client-src/amandad.c: Fix coverity bug.
2275 * client-src/calcsize.c: Fix coverity bug.
2276 * client-src/client_util.c: Fix coverity bug.
2277 * client-src/sendbackup.c: Fix coverity bug.
2278 * client-src/sendsize.c: Fix coverity bug.
2279 * common-src/bsd-security.c: Fix coverity bug.
2280 * common-src/file.c: Fix coverity bug.
2281 * common-src/fileheader.c: Fix coverity bug.
2282 * common-src/pipespawn.c: Fix coverity bug.
2283 * recover-src/extract_list.c: Fix coverity bug.
2284 * restore-src/restore.c: Fix coverity bug.
2285 * server-src/amindexd.c: Fix coverity bug.
2286 * server-src/conffile.c: Fix coverity bug.
2287 * server-src/diskfile.c: Fix coverity bug.
2288 * server-src/driverio.c: Fix coverity bug.
2289 * server-src/dumper.c: Fix coverity bug.
2290 * server-src/planner.c: Fix coverity bug.
2291 * server-src/reporter.c: Fix coverity bug.
2293 2006-03-07 Paddy Sreenivasan <paddy@zmanda.com>
2294 * man/xml-source/amanda.8.xml: added amaespipe and amcrypt.
2296 2006-03-07 Jean-Louis Martineau <martineau@zmanda.com>
2297 * server-src/taper.c: Don't log a multi-line message in no-tape case.
2299 2006-03-06 John Franks <jrfranks@zmanda.com>
2300 * recover-src/extract_list.c:
2301 1) Don't add '.' directory twice to tar extract list.
2302 2) Don't prepend extra '/' to extract patterns starting with '/'.
2303 3) Convert "/" extract pattern to "*" equivalent.
2305 2006-03-06 Jean-Louis Martineau <martineau@zmanda.com>
2306 * server-src/taperscan.c (scan_slot): append slotstr to
2308 * server-src/taperscan.c: Add a '\n' after each slot error message.
2310 2006-03-06 Jean-Louis Martineau <martineau@zmanda.com>
2311 * server-src/reporter.c (handle_error): Handle error from taper.
2313 2006-03-06 Jean-Louis Martineau <martineau@zmanda.com>
2314 * server-src/taper.c (label_tape): Set errstr and return 0 if no
2315 valid tape are available.
2317 2006-03-03 Ian Turner <ian@zmanda.com>
2318 * common-src/amanda.h: New macros MAX_TAPE_LABEL_LEN and
2320 * common-src/amfeatures.h: New amfeature fe_amidxtaped_FEEDME
2321 * recover-src/extract_list.c: Accept port number with CONNECT;
2322 implement fe_amidxtaped_FEEDME.
2323 * restore-src/amidxtaped.c: Introduce port number with CONNECT.
2324 (closes SF bug 1431623)
2325 * restore-src/restore.c: Implement fe_amidxtaped_FEEDME.
2326 (closes SF bug 1421433)
2327 * restore-src/restore.h: Properly name rst_flags.
2329 2006-02-28 Jean-Louis Martineau <martineau@zmanda.com>
2330 * common-src/bsd-security.c (bsd_connect, netfd_read_callback, main):
2331 Set bh->proto_handle to NULL after allocating bh.
2332 * common-src/bsd-security.c (bsd_close): Donothing if
2333 bh->proto_handle == NULL.
2335 2006-02-28 Jean-Louis Martineau <martineau@zmanda.com>
2336 * common-src/protocol.c (s_repwait): Decrease p->timeout on receive
2339 2006-02-28 Jean-Louis Martineau <martineau@zmanda.com>
2340 * server-src/driver.c: Print dumper TRY_AGAIN message.
2342 2006-02-28 Jean-Louis Martineau <martineau@zmanda.com>
2343 * server-src/planner.c: Don't print estimate size if estimate failed.
2345 2006-02-25 Ian Turner <ian@zmanda.com>
2346 * man/Makefile.am: Don't use static patterns (as they are not
2347 portable), use implicit rules instead.
2349 2006-02-20 Kevin Till <ktill@zmanda.com>
2350 * common-src/krb4-security.c: changes needed for krb4/5 to compile. Thanks to
2352 * common-src/krb5-security.c: ditto.
2354 2006-02-16 Kevin Till <ktill@zmanda.com>
2355 * example/amanda.conf.in: dumptype option is "encrypt"
2356 * man/xml-source/amanda.conf.5.xml: ditto
2357 * server-src/holding.c: util.h is include'd twice
2358 * common-src/ssh-security.c: set correct debug print
2360 2006-02-10 Kevin Till <ktill@zmanda.com>
2361 * man/xml-source/amanda.8.xml: replace informaltable with literallayout
2363 2006-02-13 John Franks <jrfranks@zmanda.com>
2364 * server-src/driver.c: Pring a more precise message when taper
2365 returns an error. Include error message from taper in log.
2366 Print out "protocol error" if taper returns a bogus command.
2368 2006-02-10 Kevin Till <ktill@zmanda.com>
2369 * man/xml-source/amanda.conf.5.xml: add note about first character of a
2370 tapetype string must be alphabet
2372 2006-02-10 John Franks <jrfranks@zmanda.com>
2373 * server-src/taper.c: Call error() if an invalid string is read
2374 by syncpipe_getstr().
2376 2006-02-09 John Franks <jrfranks@zmanda.com>
2377 * Makefile.am, */Makefile.am: Corrections generated by David Braun
2378 dustybird@users.sourceforge.net to properly set source directories
2379 for remote (VPATH) builds.
2380 * man/Makefile.am: Fixed man page builds to use proper source and
2382 * autogen: Force rebuilding everything and print only syntax errors.
2383 (Errors are seen occasionally in system autogen files...)
2384 * configure.in: Eliminate possibility of empty string in shell tests.
2385 fix quoting of '[' and ']' characters in help messages.
2386 Fix default value for DUMPER_DIR to pick up EPREFIX correctly.
2388 2006-02-08 Ian Turner <ian@zmanda.com>
2389 * server-src/driver.c (handle_taper_result): Properly handle
2390 SPLIT_NEEDNEXT case. Thanks to Josef Wolf for finding this bug.
2393 2006-02-06 Kevin Till <ktill@zmanda.com>
2394 * restore-src/restore.c: fix comment formatting on version 1.2.1
2396 2006-02-06 Kevin Till <ktill@zmanda.com>
2397 * configure.in: Bug 1423731, SSH_SECURITY set only when --with-ssh-security used
2398 * server-src/Makefile.am:: not to install planner/dumper setuid-root --with-ssh-security
2399 * server-src/amcheck.c: ditto
2400 * server-src/dumper.c: ditto
2401 * restore-src/restore.c: add missing "}"
2403 2006-02-06 Ian Turner <ian@zmanda.com>
2404 * restore-src/amidxtaped.c: Properly handle changers,
2405 tape-label checking, and tape prompting in amrecover,
2406 amindexd, and amidextaped. Thanks to Paul Bijnens
2407 <pbijnens@users.sourceforge.net> for the patch.
2408 * restore-src/restore.c: ditto.
2409 * server-src/amindexd.c: ditto.
2411 2006-02-04 Paddy Sreenivasan <paddy@zmanda.com>
2412 * man/xml-source/amfetchdump.8.xml
2413 * man/xml-source/amcrypt.8.xml
2414 * man/xml-source/amanda.conf.5.xml
2415 * man/xml-source/amanda.8.xml
2416 * man/xml-source/amaespipe.8.xml
2417 * man/entities/global.entities: Merged changes from xml-docs tree
2419 2006-02-03 John Franks <jrfranks@zmanda.com>
2420 * server-src/taper.c: Fix null string printout in CHUNKERSUCCESS log line.
2422 2006-02-03 Ian Turner <ian@zmanda.com>
2423 * server-src/amadmin.c (main): Don't free conf_tapelist too
2424 early. Thanks to Cédric Lucantis
2425 <cedric-lucantis@users.sourceforge.net> for the patch.
2427 2006-02-02 Kevin Till <ktill@zmanda.com>
2428 * man/xml-source/amanda.8.xml: fix formatting. <informaltable> problem
2430 * man/xml-source/amrecover.8.xml: add note on client-encrypted tapes.
2432 2006-02-02 Ian Turner <ian@zmanda.com>
2433 * recover-src/extract_list.c (extract_files_child): Run tar with
2434 --numeric-owner if we are extracting a non-sambafied tar file.
2435 Thanks to Paul Bijnens <pbijnens@users.sourceforge.net> for
2436 the patch. Thanks also to Mark Schaefer for suggesting this
2439 2006-02-01 Jean-Louis Martineau <martineau@zmanda.com>
2440 * restore-src/restore.c: Use OFF_T_FMT to printf off_t variable,
2441 cast size_t to am64_t and use AM64_FMT to printf them.
2443 2006-01-31 Jean-Louis Martineau <martineau@zmanda.com>
2444 * server-src/driver.c (dumper_result): Reset sched(dp)->attempted to 0
2445 before adding it to tapeq.
2447 2006-01-27 Ian Turner <ian@zmanda.com>
2448 * configure.in: Add new option --without-xsltproc (and
2449 --with-xsltproc), which turns off (or forces) the use of xsltproc to
2450 build manpages. Thanks to Paul Bijnens
2451 <pbijnens@users.sourceforge.net> for suggesting this feature.
2453 2006-01-27 Ian Turner <ian@zmanda.com>
2454 * restore-src/amfetchdump.c: Properly clean up logfiles. Also,
2455 run as user amanda even if we are started as some other user.
2456 Thanks to Paul Bijnens <pbijnens@users.sourceforge.net> for the
2459 2006-01-25 Paddy Sreenivasan <paddy@zmanda.com>
2460 * common-src/amanda.h: Removed unnecessary header include files.
2462 2006-01-25 Kevin Till<ktill@zmanda.com>
2463 * server-src/amadmin.c: fix for sourceforge bug 1412698
2464 add missing parameters to "amadmin x disklist"
2465 * server-src/amstatus.pl.in: untaint user input, enforce known path.
2466 * server-src/amoverview.pl.in: untaint user input (bug 1353481)
2468 2006-01-25 Kevin Till<ktill@zmanda.com>
2469 * man/xml-source/amanda.conf.5.xml: fix formatting (<para> is not compatible
2470 with some tag) add supported auth types.
2472 2006-01-25 Kevin Till<ktill@zmanda.com>
2473 * common-src/bsd-security.c: move check_security to bsd_security.c,
2475 Thanks to Paul Bijnens
2476 * restore-src/amidxtaped.c: ditto
2477 * server-src/amindexd.c: ditto and no need to tell client
2478 about reason for denial
2479 * common-src/amanda.h: add proto of check_security
2480 * server-src/conffile.c: don't list CRYPT in the summary report
2482 * restore-src/restore.c: set outfd correctly for amfetchdump cases
2483 Thanks to Paul Bijnens
2485 2006-01-24 Ian Turner <ian@zmanda.com>
2486 * man/xml-source/amanda.conf.5.xml: Put documentation of
2487 split-dump options in the right place. Thanks to Paul Bijnens
2488 <pbijnens@users.sourceforge.net> for the fix.
2489 * man/xml-source/amanda.8.xml: ditto.
2491 2006-01-23 Ian Turner <ian@zmanda.com>
2492 * server-src/taperscan.c (find_brand_new_tape_label): Start
2493 brand new tape labels at 1 instead of 0. Thanks to Paul
2494 Bijnens <pbijnens@users.sourceforge.net> for the fix.
2496 2006-01-18 Jean-Louis Martineau <martineau@zmanda.com>
2497 * Amanda 2.5.0b2 released.
2498 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0b2).
2499 * NEWS: Update for 2.5.0b2
2501 2006-01-15 Jean-Louis Martineau <martineau@zmanda.com>
2502 * server-src/disk_history.c: Fix memory leak.
2504 2006-01-15 Jean-Louis Martineau <martineau@zmanda.com>
2505 * common-src/bsd-security.c: Fix memory leak.
2506 * common-src/tapelist.c: Fix memory leak.
2507 * restore-src/amidxtaped.c: Fix memory leak.
2508 * restore-src/restore.c: Fix memory leak.
2509 * server-src/amindexd.c: Fix memory leak.
2510 * server-src/conffile.c: Fix memory leak.
2511 * server-src/disk_history.c: Fix memory leak.
2512 * server-src/find.c: Fix memory leak.
2514 2006-01-13 John Franks <jrfranks@zmanda.com>
2515 * client-src/amandad.c: Remove SO_LINGER and TCP_NDELAY.
2516 Loop on I/O if EINTR or EAGAIN.
2517 * client-src/noop.c: Loop on I/O if EINTR or EAGAIN.
2518 * client-src/sendbackup.c: Remove SIGPIPE handler.
2519 Loop on I/O if EINTR or EAGAIN.
2520 Check for EPIPE on writes.
2521 * common-src/bsd-security.c: Loop on I/O if EINTR or EAGAIN.
2522 * common-src/stream.c: Remove SO_LINGER and TCP_NDELAY.
2523 * common-src/util.c: Loop on I/O if EINTR or EAGAIN.
2524 * recover-src/amrecover.c: Write commanda atomically in sigint handler
2525 * recover-src/extract_list.c:Remove SIGPIPE handler.
2526 Loop on I/O if EINTR or EAGAIN.
2527 Check for EPIPE on writes.
2528 Remove shutdown functions.
2529 * restore-src/amfetchdump.c: Remove SIGPIPE handler.
2530 * restore-src/amidxtaped.c: Remove SO_LINGER and TCP_NDELAY.
2531 Remove SIGPIPE handler.
2532 read_file_header does not return if it
2533 Fix infinite loop on EOF or error and
2534 fail if memory reallocation failure in
2536 * restore-src/restore.c: Remove SIGPIPE handler.
2537 Loop on I/O if EINTR or EAGAIN.
2538 Remove shutdown functions.
2540 * restore-src/restore.h: Change read_file_header to return void
2541 * server-src/amcheck.c: Use fullread() to handel EINTR etc.
2542 Remove unused variable.
2543 * server-src/changer.c: Remove SO_LINGER and TCP_NDELAY.
2544 Use fullwrite on socket.
2545 * server-src/driverio.c: Remove SO_LINGER and TCP_NDELAY.
2546 * server-src/taper.c: Use fullwrite() to write data.
2547 Use fullread() to read data.
2548 * tape-src/output-file.c; Use fullwrite() to write data.
2550 2006-01-13 Jean-Louis Martineau <martineau@zmanda.com>
2551 * server-src/amcheck.c (start_server_check): Remove unused variable
2553 * restore-src/restore.c (restore): Remove unused variable s, l and
2556 2006-01-12 Jean-Louis Martineau <martineau@zmanda.com>
2557 * recover-src/extract_list.c (send_to_tape_server): Do only on write.
2558 * restore-src/amidxtaped.c (get_client_line_fd): New function to read
2559 one complete line from an fd.
2561 2006-01-09 John Franks <jrfranks@zmanda.com>
2562 * common-src/amanda.h: Include tcp.h
2563 * client-src/amandad.c: Set TCP_NODELAY and SO_LINGER on sockets.
2564 * common-src/dgram.c: No linger on datagrams
2565 * common-src/stream.c: Set TCP_NODELAY and SO_LINGER on sockets.
2566 * common-src/util.c: Fix fullwrite to return # of bytes written
2568 * example/amanda.conf.in: Cleanup exclude list template.
2569 Use configure directlries instead of /usr/local
2570 * recover-src/extract_list.c: Cleanup read loops.
2571 Use real fullwrite instead of inline versions.
2572 Remove extra setting of LINGER on socket.
2573 * restore-src/amidxtaped.c: Set TCP_NODELAY and SO_LINGER on sockets.
2574 * restore-src/restore.c:Use real fullwrite instead of inline versions.
2575 * server-src/changer.c: Set TCP_NODELAY and SO_LINGER on sockets.
2576 * server-src/chunker.c: Use real fullwrite instead of inline versions.
2577 * server-src/driverio.c:Set TCP_NODELAY and SO_LINGER on sockets.
2578 * server-src/dumper.c: Use real fullwrite instead of inline versions.
2580 2006-01-09 Ian Turner <ian@zmanda.com>
2581 * changer-src/scsi-changer-driver.c: If there is a problem opening
2582 the device during GenericRewind, don't retry for 201 minutes; give
2583 up after only 200 seconds.
2585 2006-01-09 Ian Turner <ian@zmanda.com>
2586 * server-src/taperscan.c: When doing taper-scan algorithm, properly
2589 2006-01-09 Ian Turner <ian@zmanda.com>
2590 * tape-src/tapeio.c: Generate a more reasonable message when
2591 reading an empty tape label on brand-new tapes.
2593 2006-01-09 Ian Turner <ian@zmanda.com>
2594 * server-src/amcheck.c: Actually do what the documentation for
2595 amcheck -w says; that is, overwrite labels on tapes.
2597 2006-01-06 Kevin Till<ktill@zmanda.com>
2598 * server-src/amcheck.c: check if encrypt or compress program is
2599 executable. Check encrypt/compress configuration.
2600 * server-src/dumper.c: kill encrypt child when dump is stopped
2601 * server-src/amcrypt.sh.in: check for aespipe
2602 * server-src/amaespipe.sh.in: adjust PATH
2603 * man/xml-source/amtapetype.8.xml: fix format problem.
2605 2006-01-06 Jean-Louis Martineau <martineau@zmanda.com>
2606 * recover-src/extract-list.c: Remove 'U' argument for gtar extraction.
2608 2006-01-06 Jean-Louis Martineau <martineau@zmanda.com>
2609 * restore-src/restore.c (flush_open_outputs): Another shutdown is
2612 2006-01-05 John Franks <jrfranks@zmanda.com>
2613 * recover-src/extract_list.c: Extend linger timeouts to 60 seconds.
2614 Use shutdown() on sockets.
2615 Retry reads in case of EINTR or EAGAIN.
2616 * common-src/stream.c: set linger on correct socket.
2617 Extend linger timeouts to 60 seconds.
2618 * restore-src/restore.c: Fix compiler warnings.
2619 * Call shutdown in more cases.
2621 2006-01-05 John Franks <jrfranks@zmanda.com>
2622 * client-src/amandad.c: Set SO_LINGER on sockets.
2623 * common-src/dgram.c: Set SO_LINGER on sockets.
2624 * common-src/stream.c: Set SO_LINGER on sockets.
2625 * common-src/util.c: Return any bytes already read on error or EOF.
2626 * recover-src/extract_list.c: Set SO_LINGER on data socket.
2627 Fix printf of unterminated string data.
2628 Check return codes on socket header reads.
2629 * restore-src/amidxtaped.c: Set SO_LINGER on sockets.
2630 Check return codes on socket header reads.
2631 * restore-src/restore.c:
2632 Flush newline after operator prompt.
2633 * common-src/debug.c:
2634 Fix memory leak when debug file name already exists.
2635 Print error text upon hard open() error.
2636 Allow group members read only access to log files.
2638 2006-01-05 Kevin Till<ktill@zmanda.com>
2639 * restore-src/restore.c: handle sigpipe. Some program (e.g. bzip2) closes reading pipe
2640 early when it sees trailing garbage after EOF.
2642 2006-01-02 Jean-Louis Martineau <martineau@zmanda.com>
2643 * common-src/amanda.h: Add a FD_COPY macro.
2644 * recover-src/extract_list.c (writer_intermediary): Don't use
2645 writer_intermediary, do the select locally.
2647 2006-01-02 Jean-Louis Martineau <martineau@zmanda.com>
2648 * restore-src/restore.c (flush_open_outputs): Call shutdown before
2651 2005-12-30 John Franks <jrfranks@zmanda.com>
2652 * recover-src/extract_list.c:
2653 Fix double clearing of buffer during normal read path.
2654 * restore-src/amidxtaped.c
2655 Actually initialize changer if it is needed. (Set use_changer
2656 before checking it...)
2657 * Fix control messages being sent down the data pipe when
2658 restoring to client that does not support split dumps.
2659 * Print error and exit if a split dump is needed during restore
2660 and client can not handle it.
2662 2005-12-30 Ian Turner <ian@zmanda.com>
2663 * common-src/fileheader.c: Remove xx/UNKNOWN split-dump header
2664 syntax, in favor of xx/-1.
2666 2005-12-29 John Franks <jrfranks@zmanda.com>
2667 * recover-src/display_commands.c
2668 Fix list deletion which did not update list root with NULL pointer.
2669 Make free_dir_item() a non-recursive function to prevent stack bloat.
2670 Fix list insertion code which inserts item in list initializes entry.
2671 * recover-src/extract_list.c
2672 Fix to initialize lditem before using it...
2673 Prevent multiple frees of cmd string.
2674 Do not free err which is only initialized with static string pointers.
2675 Fix typo which caused newstralloc() to free the wrong memory.
2676 * server-src/amindexd.c
2677 Fix Compiler warning of unused variable.
2678 * server-src/taperscan.c
2679 Fix Compiler warning of bogus format specifier.
2681 2005-12-29 Kevin Till<ktill@zmanda.com>
2682 * man/xml-source/amcrypt.8.xml: add new amcrypt man page
2683 * man/xml-source/amaespipe.8.xml: add new amaespipe man page
2685 2005-12-29 Ian Turner <ian@zmanda.com>
2686 * man/xml-source/amanda.conf.5.xml: Document label_new_tapes
2689 2005-12-28 Ian Turner <ian@zmanda.com>
2690 * recover-src/amrecover.h: Use dynamic strings in struct DIR_ITEM.
2691 * recover-src/display_commands.c: ditto
2692 * recover-src/extract_list.c: ditto. Also use dynamic strings in
2693 struct EXTRACT_LIST and struct EXTRACT_LIST_ITEM.
2695 2005-12-28 Ian Turner <ian@zmanda.com>
2696 * common-src/amfeatures.h: Add three new amfeatures:
2697 fe_amindexd_marshall_in_OLSD, fe_amindexd_marshall_in_ORLD,
2698 fe_amindexd_marshall_in_DHST.
2699 * common-src/amfeatures.c: ditto.
2700 * server-src/amindexd.c: Talk well to older clients.
2702 2005-12-23 Ian Turner <ian@zmanda.com>
2703 * server-src/taperscan.c: Don't crash if find_brand_new_tape_label
2704 returns NULL. Also, don't return NULL from
2705 find_brand_new_tape_label without a good excuse.
2707 2005-12-23 Kevin Till <ktill@zmanda.com>
2708 * client-src/client_util.c: change server_decrypt_option to
2709 server-decrypt-option
2710 * client-src/sendbackup.c: change client_decrypt_option to
2711 client-decrypt-option
2712 * server-src/dumper.c: ditto
2713 * common-src/amfeatures.c: add crypt related amfeaturs
2714 * common-src/amfeatures.h: ditto
2715 * server-src/diskfile.c: amfeatures checking and warns on
2718 2005-12-23 Paddy Sreenivasan <paddy@zmanda.com>
2719 * restore-src/restore.c:
2720 * server-src/amtape.c:
2721 * server-src/taperscan.c : Make scan_init static function
2723 2005-12-23 John Franks <jrfranks@zmanda.com>
2724 * server-src/taper.c: Reduce I/O's system call overhead by 30%
2725 in main read / write loop.
2727 2005-12-23 John Franks <jrfranks@zmanda.com>
2728 * recover-src/restore.c Remove inapproriate aclose which caused
2729 broken restore pipe.
2730 * recover-src/extract_list.c Fix and cleanup read_buffer()
2731 mainly to fix hole that drops parital buffer of data if end
2732 of file is reached or an error occured.. Touched up calling
2733 functions to make sure EOF/timeouts are handled correctly.
2734 Increased normal path read timeout value from on second to
2735 whatever READ_TIMEOUT is set to.
2737 2005-12-22 Jean-Louis Martineau <martineau@zmanda.com>
2739 * restore-src/restore.c (restore): Remova an aclose.
2741 2005-12-22 Jean-Louis Martineau <martineau@zmanda.com>
2743 * restore-src/amidxtaped.c (cleanup): Function registered with atexit
2744 to remove the log file.
2746 2005-12-20 Jean-Louis Martineau <martineau@zmanda.com>
2748 * server-src/Makefile.am (noinst_HEADERS): Add taperscan.h.
2750 2005-12-20 John Franks <jrfranks@zmanda.com>
2752 * restore-src/restore.c: Remove unused variables.
2753 Fix uninitialize reference to bytes_read.
2754 * server-src/amcheck.c: Remove unused variables.
2755 Include taperscan.h for missing prototype.
2756 * server-src/amtape.c: Remove unused variables.
2757 Include taperscan.h for missing prototype.
2758 * server-src/taper.c: Remove unused variables.
2759 Minor indenting changes.
2760 * server-src/taperscan.c:Remove unused variables.
2761 Fix typo which assigns NULL rather than
2763 Commented out reference to auto_pos which
2764 is assigned but never used...
2766 2005-12-20 Jean-Louis Martineau <martineau@zmanda.com>
2768 * common-src/fileheader.c (parse_file_header): Parse '/' in part.
2769 * common-src/fileheader.c (build_header): Add space ' ' before "part".
2771 2005-12-20 Jean-Louis Martineau <martineau@zmanda.com>
2773 * server-src/reporter.c: Fix report of output size.
2775 2005-12-19 Ian Turner <ian@zmanda.com>
2776 * server-src/taperscan.c: Check that automatic tape labels satisfy
2779 2005-12-19 Ian Turner <ian@zmanda.com>
2780 * server-src/fileheader.c: Fix broken split-dump file headers.
2782 2005-12-18 Jean-Louis Martineau <martineau@zmanda.com>
2783 Patch by Paul Bijnens
2785 * server-src/amcheck.c: Tapelist file is regular file.
2787 2005-12-17 Jean-Louis Martineau <martineau@zmanda.com>
2789 * restore-src/restore.c (get_block): Return a ssize_t.
2790 * restore-src/restore.c: convert ssize_t to long for printing.
2791 * restore-src/restore.c (restore>): Remove unused variable, outpipe,
2794 2005-12-17 John R. Franks <jrfranks@zmanda.com>
2796 * restore-src/restore.h (read_file_header, restore): Return a ssize_t
2797 instead of using a global variable bytes_read.
2798 * restore-src/restore.c: Use local variable instead of global
2799 bytes_read. Many memory management fixe. Fixe pipe handling,
2800 * restore-src/amrestore.c: Use new read_file_header and restore.
2801 * restore-src/amfetchdump.c: Use new read_file_header and restore.
2803 2005-12-17 Jean-Louis Martineau <martineau@zmanda.com>
2804 With Kevin Till <ktill@zmanda.com>
2806 * common-src/fileheader.c (parse_file_header): Fix parsing of first
2808 * common-src/fileheader.c (build_header): Print crypt after programi
2809 and only if it is needed.
2811 2005-12-14 Ian Turner <ian@zmanda.com>
2813 * common-src/alloc.c: Add new function vstrextend, which extends an
2815 * common-src/amanda.h: Define vstrextend.
2816 * example/amanda.conf.in: Document new option
2817 label_new_tapes. Change default labelstr.
2818 * man/xml-source/amcheck.8.xml: Emphasize the destructiveness of
2820 * restore-src/restore.c: Use the new changer_find interface.
2821 * server-src/Makefile.am: Add new file taperscan.c
2822 * server-src/amcheck.c: Use the taper-scan algorithm in taperscan.c,
2823 instead of the previous separate amcheck implementation.
2824 * server-src/amtape.c: Use the taper-scan algorithm in taperscan.c,
2825 instead of the previous separate amtape implementation. Also, use
2826 the new changer_find interface for other kinds of tape finding.
2827 * server-src/changer.c: Eliminate changer_scan. Change the API to
2828 changer_find, so that callers can pass a user-data object, instead
2830 * server-src/changer.h: Declare and document new changer_find
2832 * server-src/conffile.c: Add new config option label_new_tapes.
2833 * server-src/conffile.h: ditto.
2834 * server-src/taper.c: Use the taper-scan algorithm in taperscan.c,
2835 instead of the previous separate taper implementation. Also,
2836 combine tape-label-reading for ZFTAPE and non-ZFTAPE drives (the
2837 difference only matters on writing).
2838 * server-src/taperscan.c: Refactor the taper-scan algorithm from
2839 taper, amtape, and amcheck. Implement label_new_tapes feature.
2840 * server-src/taperscan.h: Declare and document new taperscan
2842 * tape-src/tapeio.c: Notice the difference between a non-Amanda tape
2843 and some other tape-reading problem.
2844 * tape-src/tapeio.h: New declarations.
2846 2005-12-13 Jean-Louis Martineau <martineau@zmanda.com>
2848 * server-src/reporter.c (handle_success): On a taper line, the outsize
2849 should only count dump to tape, not flush.
2851 2005-12-13 Jean-Louis Martineau <martineau@zmanda.com>
2853 * server-src/amstatus.pl.in: Parse chunker DONE line to set output size.
2855 2005-12-09 John Franks <jrfranks@zmanda.com>
2857 * client-src/Makefile.am: Do not include tape library if
2858 configuring with --without-server option.
2859 * recover-src/Makefile.am: Do not include tape library if
2860 configuring with --without-server option.
2862 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
2864 * configure.in: Move the size detection after detection of large
2865 file support. That change the size of off_t.
2867 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
2869 * common-src/amanda.h: Set OFF_T_FMT to printf format of a off_t.
2870 * server-src/taper.c: Use OFF_T_FMT.
2872 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
2874 * configure.in: Set LL_FMT correctly.
2875 * server-src/conffile.c: Use LL_FMT.
2877 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
2879 * server-src/conffile.c: Maxdumpsize is a AM64.
2880 * server-src/planner.c: conf_maxdumpsize, total_size, tape_length and
2881 tape_mark are am64_t.
2883 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
2885 * configure.in: Check for sizeof of many type. Check printf format of
2887 * common-src/amanda.h: Typedef am64_t to a 64 bits signed type,i
2888 set AM64_FMT to the printf format of a am64_t variable.
2889 * server-src/conffile.c: New AM64 type.
2890 * server-src/conffile.h(getconf_am64): Prototype.
2892 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
2894 * client-src/Makefile.am: Remove amqde.
2895 * client-src/sendsize.c: Remove code to call amqde.
2896 * client-src/amqde.c: Remove file.
2897 * configure.in: Remove '--with-qde' option.
2899 2005-12-05 Jean-Louis Martineau <martineau@zmanda.com>
2901 * server-src/amindexd.c (reply, lreply, fast_lreply): Must use
2902 str_buffer_sizebuf instead of sizeof(bug).
2904 2005-12-05 Jean-Louis Martineau <martineau@zmanda.com>
2906 * server-src/planner.c: Print the time in the FINISH line.
2907 * server-src/reporter.c: The estimate time is based on the planner
2910 2005-12-05 Jean-Louis Martineau <martineau@zmanda.com>
2912 * common-src/Makefile.am (bsdsecurity_LDADD): Add ssh-security.
2914 2005-12-05 Jean-Louis Martineau <martineau@zmanda.com>
2916 * server-src/holding.c (scan_holdingdisk): Static function.
2917 * server-src/taper.c (signal_handler, install_signal_handlers): Ditto.
2918 * server-src/reporter.c (output_strange,do_postscript_output): Ditto.
2920 2005-12-04 Jean-Louis Martineau <martineau@zmanda.com>
2922 * server-src/logfile.c (logtype_str): Add important ','.
2924 2005-12-03 Jean-Louis Martineau <martineau@zmanda.com>
2926 * server-src/planner.c (setup_estimate): Fix wrong order for argument.
2928 2005-12-03 Jean-Louis Martineau <martineau@zmanda.com>
2930 * server-src/driver.c (start_some_dumps): Don't test for
2931 cur_idle == NOT_IDLE.
2933 2005-12-03 Jean-Louis Martineau <martineau@zmanda.com>
2935 * server-src/driverio.c (check_unfree_serial): New fonction to check
2936 unfreed serial number.
2937 * server-src/driverio.c (free_serial_dp): Set stable[s].dp to NULL.
2938 * server-src/driverio.h (check_unfree_serial): Prototype.
2939 * server-src/driver.c (main): Call check_unfree_serial.
2941 2005-12-02 Jean-Louis Martineau <martineau@zmanda.com>
2942 Patch by Franz Fischer
2944 * config/acinclude.m4i: Fix for __alpha.
2946 2005-12-02 Jean-Louis Martineau <martineau@zmanda.com>
2948 * common-src/util.c: Debug must end with '\n'.
2950 2005-12-01 Jean-Louis Martineau <martineau@zmanda.com>
2952 * configure.in: Amanda support x86_64-unknown-linux-gnu.
2954 2005-11-30 Jean-Louis Martineau <martineau@zmanda.com>
2956 * common-src/rsh-security.c (rsh_sendpkt): buf is a char array.
2957 * common-src/ssh-security.c (rsh_sendpkt): buf is a char array.
2958 * config/acinclude.m4i (AX_CREATE_STDINT_H): Newer macro.
2960 2005-11-30 Jean-Louis Martineau <martineau@zmanda.com>
2962 * client-src/rundump.c: undef USE_RUNDUMP before define.
2964 2005-11-30 Jean-Louis Martineau <martineau@zmanda.com>
2965 Patch by Franz Fischer
2967 * client-src/amqde.c: Fix compiler warning.
2969 2005-11-30 Jean-Louis Martineau <martineau@zmanda.com>
2970 Patch by Franz Fischer
2972 * common-src/event.h: Fix compiler warning.
2973 * server-src/conffile.h: Fix compiler warning.
2975 2005-11-30 Kevin Till <ktill@zmanda.com>
2977 * client-src/client_util.c add server-side, client-side encryption
2978 as well as custom compression. Custom compression patch is
2979 orginally created by Matthieu Lochegnies.
2980 * client-src/client_util.h Ditto
2981 * client-src/selfcheck.c Ditto
2982 * client-src/sendbackup-dump.c Ditto
2983 * client-src/sendbackup-gnutar.c Ditto
2984 * client-src/sendbackup.c Ditto
2985 * client-src/sendbackup.h Ditto
2986 * common-src/fileheader.c Ditto
2987 * common-src/fileheader.h Ditto
2988 * common-src/util.h Ditto
2989 * example/amanda.conf.in Ditto
2990 * man/xml-source/amanda.conf.5.xml Ditto
2991 * restore-src/amrestore.c Ditto
2992 * restore-src/restore.c Ditto
2993 * server-src/conffile.c Ditto
2994 * server-src/conffile.h Ditto
2995 * server-src/diskfile.c Ditto
2996 * server-src/diskfile.h Ditto
2997 * server-src/dumper.c Ditto
2999 2005-11-29 Jean-Louis Martineau <martineau@zmanda.com>
3001 * config/libtool.m4i: libtool 1.5.20
3002 * config/ltmain.sh: libtool 1.5.20
3004 2005-11-29 Jean-Louis Martineau <martineau@zmanda.com>
3005 Patch by Franz Fischer
3007 * common-src/fileheader.c (build_header): Declation before instruction.
3008 * restore-src/amfetchdump.c: Don't use C++ style comment.
3009 * restore-src/restore.c: Don't use C++ style comment.
3010 * server-src/amindexd.c (reply, lreply, fast_lreply): buf must be
3011 dynamicaly allocated.
3012 * server-src/logfile.h: Don't use C++ style comment.
3013 * server-src/taper.c (free_split_buffer): Test splitbuf against NULL.
3015 2005-11-22 Paddy Sreenivasan <paddy@zmanda.com>
3016 * common-src/rsh-security.c: Fix x86_64 compile warnings.
3017 * common-src/ssh-security.c: Fix x86_64 compile warnings.
3018 * man/Makefile.am: Added EXTRA_XML files.
3019 * man/xml-source/amanda.8.xml: Added spanning patch variables.
3020 * man/xml-source/amrecover.8.xml: Added amfetchdump to SEE ALSO.
3021 * xslt/global.entities: Removed file.
3023 2005-11-20 Jean-Louis Martineau <martineau@zmanda.com>
3024 Patch by Jon H. LaBadie
3026 * changer-src/chg-disk.sh.in: Check permission on file access.
3028 2005-11-17 Paddy Sreenivasan <paddy@zmanda.com>
3029 * man/entities/global.entities: New file. Added man page entities.
3030 * man/entities/xinclude.dtd: New file.
3031 * man/xslt/man.xsl: Correct include path for settings.xsl.
3033 2005-11-15 John R. Franks <jrfranks@zmanda.com>
3034 * changer-src/scsi-changer-driver.c: Fix IA-64 compile warnings.
3035 * common-src/rsh-security.c: Fix IA-64 compile warnings.
3036 * common-src/ssh-security.c: Fix IA-64 compile warnings.
3037 * regex-src/engine.c: Fix IA-64 compile warnings.
3038 * regex-src/regexec.c: Fix IA-64 compile warnings.
3040 2005-11-15 Paddy Sreenivasan <paddy@zmanda.com>
3042 * configure.in: Changed defaults for tape_dev and nr_tape_dev.
3043 * example/amanda.conf.in: Leave only changerfile definition
3045 * man/xml-source/amanda.conf.5.xml: Updated defaults for
3046 tapedev and rawtapedev
3048 2005-11-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3050 * server-src/planner.c: Fix incronly.
3052 2005-11-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3054 * man/Makefile.am: Set man_MANS,
3056 2005-11-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3058 * man/Makefile.am: Set man5_MANS and man8_MANS,
3059 install-data-hook use them.
3061 2005-11-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3062 Patch by Olivier Cherrier
3064 * man/Makefile.am (install-data-hook): Set protection correclty
3067 2005-10-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3069 * common-src/util.c (bind_portrange): Increase port in all case.
3071 2005-10-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3073 * server-src/conffile.c: Allow runtapes==0.
3074 * server-src/driver.c: Use a global conf_runtapes. Don't start a
3075 taper if runtapes==0.
3076 * server-src/reporter.c: Don't print The next tapes if runtapes==0.
3079 2005-10-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3081 * Amanda 2.5.0b1 released.
3082 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0b1).
3083 * NEWS: Update for 2.5.0b1.
3085 2005-10-25 Ian Turner <ian@zmanda.com>
3087 * man/Makefile.am: include amfetchdump.8.
3088 * man/xml-source/amadmin.8.xml: Add spanning-patch documentation.
3089 * man/xml-source/amanda.8.xml: ditto
3090 * man/xml-source/amrecover.8.xml: ditto
3091 * man/xml-source/amfetchdump.8.xml: ditto (new file)
3092 * man/xslt/global.entities: Add myself, Zmanda Inc.
3094 2005-10-24 Jean-Louis Martineau <martineau@zmanda.com>
3096 * client-src/sendsize.c (getsize_wrapper): Add a NULL at the end of
3097 the argvchild array.
3099 2005-10-20 Jean-Louis Martineau <martineau@zmanda.com>
3101 * server-src/server_util.c (getcmd): Print DEBUG to stderr.
3103 2005-10-20 Ian Turner <ian@zmanda.com>
3105 * configure.in: Check for xsltproc.
3106 * man/Makefile.am: Properly build, clean, and distribute generated
3107 manpages from XML source.
3108 * man/amadmin.8: Remove from CVS
3109 * man/amanda.8: Remove from CVS
3110 * man/amanda.conf.5: Remove from CVS
3111 * man/amcheck.8: Remove from CVS
3112 * man/amcheckdb.8: Remove from CVS
3113 * man/amcleanup.8: Remove from CVS
3114 * man/amdd.8: Remove from CVS
3115 * man/amdump.8: Remove from CVS
3116 * man/amflush.8: Remove from CVS
3117 * man/amgetconf.8: Remove from CVS
3118 * man/amlabel.8: Remove from CVS
3119 * man/ammt.8: Remove from CVS
3120 * man/amoverview.8: Remove from CVS
3121 * man/amplot.8: Remove from CVS
3122 * man/amrecover.8: Remove from CVS
3123 * man/amreport.8: Remove from CVS
3124 * man/amrestore.8: Remove from CVS
3125 * man/amrmtape.8: Remove from CVS
3126 * man/amstatus.8: Remove from CVS
3127 * man/amtape.8: Remove from CVS
3128 * man/amtapetype.8: Remove from CVS
3129 * man/amtoc.8: Remove from CVS
3130 * man/amverify.8: Remove from CVS
3131 * man/amverifyrun.8: Remove from CVS
3132 * man/xml-source/amadmin.8.xml: Add from xml-docs
3133 * man/xml-source/amanda.8.xml: Add from xml-docs
3134 * man/xml-source/amanda.conf.5.xml: Add from xml-docs
3135 * man/xml-source/amcheck.8.xml: Add from xml-docs
3136 * man/xml-source/amcheckdb.8.xml: Add from xml-docs
3137 * man/xml-source/amcleanup.8.xml: Add from xml-docs
3138 * man/xml-source/amdd.8.xml: Add from xml-docs
3139 * man/xml-source/amdump.8.xml: Add from xml-docs
3140 * man/xml-source/amflush.8.xml: Add from xml-docs
3141 * man/xml-source/amgetconf.8.xml: Add from xml-docs
3142 * man/xml-source/amlabel.8.xml: Add from xml-docs
3143 * man/xml-source/ammt.8.xml: Add from xml-docs
3144 * man/xml-source/amoverview.8.xml: Add from xml-docs
3145 * man/xml-source/amplot.8.xml: Add from xml-docs
3146 * man/xml-source/amrecover.8.xml: Add from xml-docs
3147 * man/xml-source/amreport.8.xml: Add from xml-docs
3148 * man/xml-source/amrestore.8.xml: Add from xml-docs
3149 * man/xml-source/amrmtape.8.xml: Add from xml-docs
3150 * man/xml-source/amstatus.8.xml: Add from xml-docs
3151 * man/xml-source/amtape.8.xml: Add from xml-docs
3152 * man/xml-source/amtapetype.8.xml: Add from xml-docs
3153 * man/xml-source/amtoc.8.xml: Add from xml-docs
3154 * man/xml-source/amverify.8.xml: Add from xml-docs
3155 * man/xml-source/amverifyrun.8.xml: Add from xml-docs
3156 * man/xslt/expand-sambadoc.xsl: Add from xml-docs
3157 * man/xslt/global.entities: Add from xml-docs
3158 * man/xslt/man.xsl: Add from xml-docs
3159 * man/xslt/settings.xsl: Add from xml-docs
3161 2005-10-20 Jean-Louis Martineau <martineau@zmanda.com>
3163 * server-src/amstatus.pl.in: a FLUSH command can't be in an estimate
3165 * server-src/driver.c: Start autoflush while waiting for estimate.
3166 * server-src/planner.c: Write FLUSH line before estimate.
3168 2005-10-17 Jean-Louis Martineau <martineau@zmanda.com>
3169 Patch by John R. Franks <jrfranks@zmanda.com>
3171 * server-src/taper.c (create_split_buffer): Should not use sizeof().
3173 2005-10-17 Jean-Louis Martineau <martineau@zmanda.com>
3175 * server-src/taper.c (read_file): Move the putresult(DONE) to the
3176 right place, some cleanup.
3178 2005-10-17 Jean-Louis Martineau <martineau@zmanda.com>
3180 * server-src/planner.c: Increase DEFAULT_DUMPRATE to 1024 K/s.
3182 2005-10-17 Ian Turner <ian@zmanda.com>
3184 * Changelog: Fix line breaks.
3185 * restore-src/restore.c: Give more useful FSF error messages.
3186 * recover-src/extract_list.c: Do better error checking on passed port
3188 * common-src/tapelist.c: Do proper memory management of strings.
3189 Otherwise really bad stuff happens.
3191 2005-10-17 Jean-Louis Martineau <martineau@zmanda.com>
3193 * server-src/taper.c: Set SIGPIPE to SIG_IGN, the code already
3194 handle it correctly.
3196 2005-10-16 Jean-Louis Martineau <martineau@zmanda.com>
3198 * server-src/taper.c (signal_handler): Don't REMOVE_SHARED_MEMORY, it
3201 2005-10-16 Jean-Louis Martineau <martineau@zmanda.com>
3203 * server-src/driverio.c (serial2disk): Print str if error.
3205 2005-10-15 Paddy Sreenivasan <paddy@zmanda.com>
3207 * server-src/taper.c: Shared memory need not be removed in normal paths.
3208 Done as part of atexit.
3210 2005-10-15 Jean-Louis Martineau <martineau@zmanda.com>
3211 Patch by John R. Franks <jrfranks@zmanda.com>
3213 * changer-src/scsi-aix.c: calls to open/openx guages success by
3214 checking for a file descriptor greater than 0. 0 is also a valid
3215 descriptor so the check should be >= 0.
3216 Calls to SCSI_OpenDevice does not check for error return.
3217 Calls to SCSI_OpenDevice does not check for error return.
3218 Calls to SCSI_OpenDevice does not check for error return.
3219 Call to opendir() does not check for error.
3220 * changer-src/scsi-hpux_new.c: Ditto.
3221 * changer-src/scsi-irix.c: Ditto.
3222 * changer-src/scsi-linux.c: Ditto.
3223 * changer-src/scsi-solaris.c: Ditto.
3224 * client-src/selfcheck.c: Call to open() does not check for error.
3225 * client-src/sendbackup.c: Call to freopen() does not check for error.
3226 * client-src/sendsize.c: Call to open() does not check for error.
3227 * common-src/bsd-security.c: Call to open() does not check for error.
3228 * common-src/file.c: Call to open() does not check for error.
3229 * restore-src/amrestore.c: Calls to tape_open() do not always check
3230 return code. open() is called with open flags set to 0
3231 (Call always fails with an EINVAL)
3232 * restore-src/restore.c: fopen() return error check is "fopen() < 0".
3233 fopen returns a pointer and the proper check should be
3235 Call to open() does not check for error.
3236 * tape-src/tapeio.c: tape_open() is called here and other places with a
3237 variable number of arguments, and yet is not defined as a varargs
3239 * tape-src/tapeio.h: Prototype for tape_open.
3241 2005-10-15 Jean-Louis Martineau <martineau@zmanda.com>
3242 Patch by Paddy Sreenivasan <paddy@zmanda.com>
3244 * client-src/sendsize.c: Log message changes.
3245 * server-src/taper.c: And an atexit function to detach shared memory.
3246 Trap some signal and detach shared memory.
3248 2005-10-14 Jean-Louis Martineau <martineau@zmanda.com>
3250 * regex-src/regcomp.c (findmust): Initialized start to NULL.
3252 2005-10-14 Jean-Louis Martineau <martineau@zmanda.com>
3253 Patch by John R. Franks <jrfranks@zmanda.com>
3255 * regex-src/cclass.h: Fixed to add missing braces and reformat long
3256 strings to fix in 80 columns.
3257 * regex-src/cname.h: Fixed by adding braces and tidying up code a bit.
3258 * regex-src/regcomp.c (p_ere): Initialized prevback and prevfwd to 0.
3259 ifdef out unused mcsub, mcin and mcfind functions.
3260 (findmust) Initialized newstart to NULL.
3261 * regex-src/regerror.c: Adds missing braces.
3262 * regex-src/regexec.c (nope): Use only in assert, so it is not only
3263 defined if NDEBUG is not defined.
3265 2005-10-14 Jean-Louis Martineau <martineau@zmanda.com>
3266 Patch by John R. Franks <jrfranks@zmanda.com>
3268 * common-src/krb4-security.c (krb4_security_dummy): Rename from dummy,
3269 it is not static int.
3270 * common-src/krb5-security.c (krb5_security_dummy): Rename from dummy,
3271 it is not static int.
3273 2005-10-13 Jean-Louis Martineau <martineau@zmanda.com>
3275 * common-src/util.c (bind_portrange): New argument proto.
3276 Check for reserved port.
3277 * common-src/util.h (bind_portrange): New prototype.
3278 * common-src/bsd-security.c (bind_portrange): New prototype.
3279 * common-src/dgram.c: Add "udp" as argument to bind_portrange.
3280 * common-src/stream.c: Add "tcp" as argument to bind_portrange.
3282 2005-10-12 Jean-Louis Martineau <martineau@zmanda.com>
3284 * restore-src/amidxtaped.c (check_security_buffer): i is a socklen_t.
3285 * restore-src/amidxtaped.c (main): Remove i, fd, amrestore_path, pid,
3286 isafile, stat_tape, tapename, s, fp, ch and errstr variable.
3288 2005-10-11 Ian Turner <ian@zmanda.com>
3289 Patch by Jean-Louis Martineau <martineau@zmanda.com>
3291 * restore-src/amfetchdump.c: Remove unused variable debug.
3292 * restore-src/amidxtaped.c: Remove lock_logfile(), which is also
3294 * restore-src/Makefile.am: Include libamanda twice, to fix build
3297 2005-10-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3299 * restore-src/Makefile (noinst_HEADERS): Add restore.h.
3300 * restore-src/restore.c (search_tapes): Add the fourth argument to
3303 2005-10-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3305 * server-src/conffile.c: dpcur.s_split_diskbuffer must be initialize
3307 * server-src/reporter.c (handle_partial): Set repdata to the result
3309 * server-src/taper.c: Set the first-file.
3311 2005-10-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3313 * client-src/client_util.c, server-src/amcheck.c,
3314 server-src/reporter.c: Add missing type for arguments.
3316 2005-10-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3318 * server-src/taper.c (tape_writer_side): detach_buffers on normal exit.
3320 2005-10-10 Ian Turner <ian@zmanda.com>
3322 * server-src/amtape.h: Apply tape-spanning patch by John Stange
3323 <building@cs.umd.edu> as ported to 2.5.0 by Ian Turner, with
3324 contributions by Christopher Pascoe <c.pascoe@itee.uq.edu.au>.
3325 * configure.in: Ditto
3326 * amplot/Makefile.am: Ditto
3327 * changer-src/Makefile.am: Ditto
3328 * client-src/Makefile.am: Ditto
3329 * common-src/Makefile.am: Ditto
3330 * common-src/amanda.h: Ditto
3331 * common-src/amfeatures.c: Ditto
3332 * common-src/amfeatures.h: Ditto
3333 * common-src/fileheader.c: Ditto
3334 * common-src/fileheader.h: Ditto
3335 * common-src/match.c: Ditto
3336 * common-src/tapelist.c: Ditto
3337 * common-src/tapelist.h: Ditto
3338 * example/amanda.conf.in: Ditto
3339 * man/Makefile.am: Ditto
3340 * recover-src/amrecover.c: Ditto
3341 * recover-src/amrecover.h: Ditto
3342 * recover-src/display_commands.c: Ditto
3343 * recover-src/extract_list.c: Ditto
3344 * restore-src/Makefile.am: Ditto
3345 * restore-src/amfetchdump.c: Ditto
3346 * restore-src/amfetchdump.h: Ditto
3347 * restore-src/amidxtaped.c: Ditto
3348 * restore-src/amrestore.c: Ditto
3349 * restore-src/restore.c: Ditto
3350 * restore-src/restore.h: Ditto
3351 * server-src/Makefile.am: Ditto
3352 * server-src/amadmin.c: Ditto
3353 * server-src/amindexd.c: Ditto
3354 * server-src/amoverview.pl.in: Ditto
3355 * server-src/amtoc.pl.in: Ditto
3356 * server-src/amverify.sh.in: Ditto
3357 * server-src/changer.c: Ditto
3358 * server-src/conffile.c: Ditto
3359 * server-src/conffile.h: Ditto
3360 * server-src/disk_history.c: Ditto
3361 * server-src/disk_history.h: Ditto
3362 * server-src/diskfile.c: Ditto
3363 * server-src/diskfile.h: Ditto
3364 * server-src/driver.c: Ditto
3365 * server-src/driverio.c: Ditto
3366 * server-src/find.c: Ditto
3367 * server-src/find.h: Ditto
3368 * server-src/holding.c: Ditto
3369 * server-src/holding.h: Ditto
3370 * server-src/logfile.c: Ditto
3371 * server-src/logfile.h: Ditto
3372 * server-src/planner.c: Ditto
3373 * server-src/reporter.c: Ditto
3374 * server-src/server_util.c: Ditto
3375 * server-src/server_util.h: Ditto
3376 * server-src/taper.c: Ditto
3378 2005-10-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3380 * server-src/taper.c: Change message: on new tape due to
3382 2005-10-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3383 Patch by John R. Franks
3385 * common-src/amflock.c (main): Don't call safe_fd, it's not needed
3387 * configure.in: '#include <sys/types.h>' in the check
3388 'for Linux like scsi support (sg)'
3390 2005-10-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3392 * client-src/amandad.c (writebuf): Call waitpid in the parent.
3394 2005-10-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3396 * client-src/amandad.c (service_delete): Remove call to sleep.
3397 * common-src/bsd-security.c: Add bsdprintf. Add more debug.
3398 The handle is used as a string, instead of 2 int.
3400 2005-10-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3402 * common-src/rsh-security.c: rshprintf should call dbprint.
3403 * common-src/ssh-security.c: rshprintf should call dbprint, add many
3405 * common-src/event.c: Add eventprintf, use it. Add debug_prefix_time
3408 2005-10-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3410 * common-src/stream.c: len is a socklen_t.
3411 * server-src/amindexd.c: Add socklen as a socklen_t.
3412 * restore-src/amidxtaped.c: Add socklen as a socklen_t.
3413 * tape-src/tapetype.c: Change printf format.
3414 * server-src/amlabel.c: Add a variable isa_zftape. init fd to -1.
3415 * server-src/dumper.c: Init outfd to -1.
3416 * common-src/file.c (areads_getbuf): First argument is const.
3418 2005-10-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3420 * server-src/reporter.c: Don't trunk hostname/diskname in
3421 'FAILURE AND STRANGE DUMP SUMMARY' section.
3423 2005-10-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3425 * server-src/chunker.c (main): Remove outfd.
3427 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3429 * server-src/conffile.c, server-src/diskfile.c, server-src/infofile.c,
3430 client-src/getfsent.c, common-src/statfs.c, common-src/token.c
3431 (main): Remove fd declaration.
3433 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3435 * client-src/runtar.c: 'e' and 'bdf' are only needed if GNUTAR.
3437 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3439 * common-src/sl.c (insert_sort_sl). Typo.
3441 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3443 * config/config.guess: Update from automake 1.9.5.
3444 * config/config.sub: Update from automake 1.9.5.
3445 * config/depcomp: Update from automake 1.9.5.
3446 * config/install-sh: Update from automake 1.9.5.
3447 * config/missing: Update from automake 1.9.5.
3448 * config/mkinstalldirs: Update from automake 1.9.5.
3449 * config/ltmain.sh: Update from libtool-1.5.16.
3450 * config/libtool.m4i: Update from libtool-1.5.16.
3452 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3454 * common-src/bsd-security.c: Fix small bug.
3456 2005-09-22 John R. Jackson <jrj@purdue.edu>
3458 * configure.in: If --without-server is specified, either on the
3459 command line or via config.site, make sure --without-restore
3460 is also in effect. Avoids compilation errors if mismatched.
3461 * example/config.site: Document above.
3463 2005-09-21 John R. Jackson <jrj@purdue.edu>
3465 * server-src/getconf.c: Allow CLIENT_LOGIN to be retrieved via
3466 "amgetconf build.CLIENT_LOGIN".
3468 2005-09-21 John R. Jackson <jrj@purdue.edu>
3470 * server-src/amlabel.c: 'int fd' is only needed if HAVE_LINUX_ZFTAPE_H
3473 2005-09-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3475 * server-src/amlabel.c: 'int fd' is needed.
3477 2005-09-20 John R. Jackson <jrj@purdue.edu>
3479 * server-src/reporter.c: Fix minor typo noticed by Scott R. Burns
3480 <Scott.Burns@Netcontech.Com>.
3482 2005-09-20 John R. Jackson <jrj@purdue.edu>
3484 * common-src/file.c: Create safe_fd() to do common file descriptor
3485 safety operations at the start of every program. In addition
3486 to closing everything from three on up that used to be done
3487 with explicit code, make sure stdin, stdout and stderr are
3488 open per a potential (but unlikely) security report from Ben
3489 Schwarz <bschwarz@EECS.berkeley.EDU>.
3490 * common-src/amanda.h: Ditto.
3491 * client-src/amandad.c: Ditto.
3492 * client-src/calcsize.c: Ditto.
3493 * client-src/getfsent.c: Ditto.
3494 * client-src/killpgrp.c: Ditto.
3495 * client-src/rundump.c: Ditto.
3496 * client-src/runtar.c: Ditto.
3497 * client-src/selfcheck.c: Ditto.
3498 * client-src/sendbackup.c: Ditto.
3499 * client-src/sendsize.c: Ditto.
3500 * client-src/versionsuffix.c: Ditto.
3501 * common-src/amflock.c: Ditto.
3502 * common-src/rsh-security.c: Ditto.
3503 * common-src/ssh-security.c: Ditto.
3504 * common-src/statfs.c: Ditto.
3505 * common-src/token.c: Ditto.
3506 * recover-src/amrecover.c: Ditto.
3507 * restore-src/amidxtaped.c: Ditto.
3508 * restore-src/amrestore.c: Ditto.
3509 * server-src/amadmin.c: Ditto.
3510 * server-src/amcheck.c: Ditto.
3511 * server-src/amcleanupdisk.c: Ditto.
3512 * server-src/amflush.c: Ditto.
3513 * server-src/amindexd.c: Ditto.
3514 * server-src/amlabel.c: Ditto.
3515 * server-src/amlogroll.c: Ditto.
3516 * server-src/amtape.c: Ditto.
3517 * server-src/amtrmidx.c: Ditto.
3518 * server-src/amtrmlog.c: Ditto.
3519 * server-src/chunker.c: Ditto.
3520 * server-src/conffile.c: Ditto.
3521 * server-src/diskfile.c: Ditto.
3522 * server-src/driver.c: Ditto.
3523 * server-src/getconf.c: Ditto.
3524 * server-src/infofile.c: Ditto.
3525 * server-src/planner.c: Ditto.
3526 * server-src/reporter.c: Ditto.
3527 * server-src/taper.c: Ditto.
3528 * server-src/dumper.c: Ditto plus remove incorrect chdir to hard
3529 coded "/tmp/amanda".
3531 2005-09-20 John R. Jackson <jrj@purdue.edu>
3533 * client-src/calcsize.c: Fix format string.
3534 * server-src/diskfile.c: Fix compiler warnings.
3535 * server-src/planner.c: Fix compiler warnings.
3537 2005-09-20 John R. Jackson <jrj@purdue.edu>
3539 * common-src/amanda.h: Add dbreopen() so debug file can be closed
3540 and then reopened if needed.
3541 * common-src/debug.c: Ditto.
3542 * client-src/runtar.c: Close the debug file (fd 10) around the
3543 exec of GNU tar. Newer versions complain about stray file
3545 * server-src/getconf.c: Use dbreopen() to create the debug file.
3546 Do not try to open config file unless needed (allows clients to
3547 use build.XXX/dbopen.XXX/dbclose.XXX).
3549 2005-09-20 John R. Jackson <jrj@purdue.edu>
3551 * client-src/sendbackup-dump.c: Ignore a new message from Solaris
3554 2005-09-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3556 * common-src/bsd-security.c: Generate a unique event_id, thei
3557 proto_handle is not always unique.
3559 2005-09-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3561 * server-src/amverify.sh.in: Don't check for EOI, it's buggy.
3563 2005-09-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3565 * server-src/driverio.c: Don't save history with size < 0.
3567 2005-09-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3568 Patch by Geert Uytterhoeven <geert@linux-m68k.org>
3570 * server-src/planner.c: Don't use history with size < 0.
3572 2005-09-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3573 Patch Paul Bijnens <paul.bijnens@xplanation.com>
3575 * server-src/planner.c(delay_dumps): Delay incremental dump also
3578 2005-09-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3579 Patch by Orion Poplawski <orion@cora.nwra.com>
3581 * server-src/amoverview.pl.in: Add options -last, -num0 and -togo0.
3582 * man/amoverview.8: Document -last, -num0 and -togo0.
3584 2005-09-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3585 Patch by Orion Poplawski <orion@cora.nwra.com>
3587 * server-src/driver.c: Make tape_length and tape_left unsigned long.
3589 2005-07-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3590 Patch by Stefan G. Weichinger <monitor@oops.co.at>
3592 * client-src/sendbackup-gnutar.c: Added RE for new Samba-releases.
3594 2005-07-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3596 Bug found by John E Hein <jhein@timing.com>.
3597 * server-src/amadmin.c: Fix of by one with NB_HISTORY.
3598 * server-src/infofile.c:x: Fix of by one with NB_HISTORY.
3600 2005-06-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3601 Patch by Jay Fenlason <fenlason@redhat.com>
3603 * client-src/sendsize.c: Fix dbprintf call.
3605 2005-06-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3606 Stefan G. Weichinger <monitor@oops.co.at>
3608 * example/amanda.conf.in: edited the default-value for the
3609 holdingdisk-usage to "use -100 Mb".
3610 The old value "use 290 Mb" didn't make much
3613 2005-06-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3615 * server-src/amverifyrun.sh.in: Remove buggy space.
3617 2005-05-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3619 * server-src/amadmin.c: Add [--days <num>] argument to tape subcommand.
3621 2005-05-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3623 * example/amanda.conf.in: Update from 2.4.5.
3625 2005-05-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3627 * docs/*: New documentation from xml-docs.
3628 * docs/Makefile.am (pkgdata_DATA): Update for new files.
3630 2005-05-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3632 * man/Makefile.am (COMMON_MAN_PAGES): Add amanda.conf.5.
3634 2005-05-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3636 * man/*: Use man pages form xml-docs.
3637 * configure.in (AC_CONFIG_FILES): Remove all man pages.
3638 * man/Makefile.am (EXTRA_DIST): Add amadmin.8 amanda.8 amanda.conf.5
3639 amcheck.8 amcheckdb.8 amcleanup.8 amdump.8 amflush.8 amgetconf.8
3640 amlabel.8 amoverview.8 amreport.8 amrecover.8 amrmtape.8 amstatus.8
3641 amtapetype.8 amtoc.8 amverify.8 amverifyrun.8
3643 2005-05-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3645 * common-src/rsh-security.c (net_read_fillbuf): Read only a packet,
3647 * common-src/ssh-security.c (net_read_fillbuf): Read only a packet,
3649 * common-src/rsh-security.c (conn_put): Don't kill the process, only do
3650 a wait with WNOHANG.
3651 * common-src/ssh-security.c (conn_put): Don't kill the process, only do
3652 a wait with WNOHANG.
3654 2005-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3656 * changer-src/chg-zd-mtx.sh.in: Improve handling of
3657 "Unknown Storage Element Loaded".
3659 2005-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3660 - https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=144052
3662 * server-src/amverifyrun.sh.in: Filter changer log file.
3664 2005-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3666 * server-src/amcheck.c: Improve messages.
3668 2005-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3670 * client-src/sendsize.c (generic_calc_estimates): Use amname instead
3671 of dirname in message.
3673 2005-03-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3675 * server-src/conffile.h: Rename getcont_unit_divisor to
3676 getconf_unit_divisor.
3677 * server-src/amadmin.c: Use getconf_unit_divisor.
3678 * server-src/amcheck.c: Use getconf_unit_divisor.
3679 * server-src/conffile.c: Use getconf_unit_divisor.
3680 * server-src/conffile.c (unit_divisor): Init to 1.
3681 * server-src/reporter.c: Use getconf_unit_divisor. The mb macro always
3682 divide by 1024. Add the du macro. Use mb or du where appropriate.
3684 2005-03-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3686 * server-src/infofile.h (history_t): Add secs field.
3687 * server-src/infofile.c (read_txinfofile): Parse info file with secs
3689 * server-src/infofile.c (write_txinfofile): Write secs in history.
3690 * server-src/driverio.c (update_info_dumper): Update secs in history.
3692 2005-03-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3694 * server-src/planner.c: Improve server estimate.
3695 * server-src/planner.c: Write server estimate like others estimate.
3697 2005-02-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3699 * server-src/amstatus.pl.in: last_level is negative, on new disk.
3701 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3703 * server-src/amstatus.pl.in: Use '-?' to match negative values
3706 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3707 Patch by Orion Poplawski <orion@cora.nwra.com>
3709 * server-src/amoverview.pl.in: Print the total number of level 0
3710 dumps for each disk and the number of runs until the last level 0
3711 dump will be overwritten.
3713 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3714 Patch by Phil Homewood <pdh@snapgear.com>
3716 * server-src/amoverview.pl.in: Add -skipmissed option.
3718 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3720 * server-src/driver.c: Print the chunksize to the log.
3722 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3724 * client-src/calcsize.c: Print estimate to STDERR.
3725 * client-src/sendsize.c (generic_calc_estimates): Read calcsize result,
3726 and send it to amandad. Write debuging message.
3728 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3729 Patch by Franz G. Fischer
3731 * server-src/conffile.c: Adds a value type LONG and a val_t.l long
3732 union member and changes get_number() to return long and
3733 get_simple() to fill val_t.l if called for a long value. The
3734 get_simple() calls have been changed to LONG for typetype_t.blocksize
3735 typetype_t.length, typetype_t.filemark, holdingdisk_t.disksize and
3736 holdingdisk_t.chunksize.
3738 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3740 * server-src/amdump.sh.in: Redirect in append mode.
3741 * server-src/driver.c: Set stdout and stderr to not buffered.
3742 * server-src/planner.c: Set stderr to not buffered.
3743 Print 'setup_estimate:' on one line.
3744 * server-src/amstatus.pl.in: Parse new 'setup_estimate:' line.
3746 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3748 * client-src/calcsize.c: Improve estimate for sparse file and count
3749 space for filenames.
3751 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3753 * server-src/planner.c: Improve message if no incremental estimate.
3755 2004-12-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3756 Patch by Christopher Pascoe <c.pascoe@itee.uq.edu.au>
3758 * common-src/match.c (match_glob, match_tar): Don't amfree(regex)
3759 before calling error().
3761 2004-11-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3763 * server-src/driver.c (startaflush): Use ALGO_SMALLEST if nothing fit.
3765 2004-11-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3767 * server-src/driver.c: Typo.
3769 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3771 * restore-src/amrestore.c: Should now work correctly with empty file.
3772 * server-src/amverify.sh.in: Parse "End-of-Information detected."
3773 message from amrestore.
3775 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3777 * server-src/driver.c: tape_left should not become negative.
3779 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3780 Patch by Orion Poplawski <orion@cora.nwra.com>
3782 * server-src/diskfile.c: Parse negative spindle (-1).
3784 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3786 * server-src/amadmin.c: Balance subcommand use displayunit.
3787 * server-src/amcheck.c: Small cleanup.
3789 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3791 * restore-src/amrestore.c: Undo patch from 2004-11-11, it break
3794 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3796 * server-src/amstatus.pl.in: Remove trace.
3798 2004-11-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3800 * server-src/diskfile.c: Compilation fix.
3802 2004-11-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3804 * server-src/conffile.c: Parse displayunit,
3805 new fonction getcont_unit_divisor().
3806 * server-src/conffile.h: Prototype of getcont_unit_divisor().
3807 * server-src/amcheck.c: Use displayunit to display holding disk size.
3808 * server-src/amstatus.pl.in: Use displayunit to display dump size.
3809 * server-src/reporter.c: use displayunit to display dump size.
3810 * Document displayunit.
3812 2004-11-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3814 * server-src/reporter.c: Change 'Daily' for 'Incr.'.
3816 2004-11-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3818 * server-src/amstatus.pl.in Fix for level -1.
3820 2004-11-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3821 Patch by Daniel Widyono <widyono@seas.upenn.edu>
3823 * changer-src/chg-zd-mtx.sh.in: Fix for library with barcode.
3825 2004-11-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3827 * restore-src/amrestore.c: Read empty file.
3829 2004-11-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3831 * tape-src/tapetype.c: Use new tape.
3833 2004-11-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3835 * server-src/amstatus.pl.in: Display partial estimate.
3837 2004-11-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3839 * server-src/diskfile.c (read_diskline): A spindle must be numerical.
3841 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3843 * server-src/holding.c (rename_tmp_holding): Always rename files.
3845 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3847 * server-src/driver.c: Print message when too many retry.
3848 * server-src/amstatus.pl.in: Detect a failed dump after too many retry.
3849 * amplot/amplot.awk: Parse these message.
3851 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3853 * server-src/driver.c (dump_to_tape): Don't retry a dump indefinitely
3854 if dumper returns DONE and taper returns TRYAGAIN.
3856 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3858 * server-src/driver.c (dump_to_tape): Don't retry a dump indefinitely
3859 if dumper returns TRYAGAIN and taper returns DONE.
3861 2004-10-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3863 * server-src/amflush.c: Don't start a driver if nothing to flush.
3865 2004-10-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3866 Patch by Eric Siegerman <erics@telepres.com>
3868 * example/3hole.ps: Fix for multiple tape.
3870 2004-10-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3872 * server-src/amverify.sh.in: Terminate if no tape online.
3874 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3876 * server-src/amadmin.c (main): Call check_dumpuser() as soon as posible.
3878 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3880 * server-src/conffile.c (getconf_byname): Special case for typ == BOOL.
3882 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3884 * server-src/planner.c (promote_hills): Use dumpcycle instead of
3886 * example/amanda.conf.in: Remove warning for tapecyle set to inf.
3888 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3890 * server-src/amadmin.c (balance): Don't core dump if DUMPCYLE is too
3893 2004-09-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3895 * tape-src/tapetype.c: New -o option, doesn't overwrite amanda
3897 * man/amtapetype.8.in: Document new -o option.
3899 2004-09-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3901 * server-src/amstatus.pl.in: Works with failed dump to tape.
3903 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3905 * client-src/sendbackup-gnutar.c (end_backup): Write warning message
3907 * server-src/dumper.c (process_dumpline): Parse warning message.
3908 * server-src/reporter.c (handle_strange): Print warning message in
3909 the STRANGE summary.
3911 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3913 * server-src/driverio.c (free_serial): Set stable[s].dp to NULL.
3914 * server-src/driverio.c (disk2serial): Check that stable[s].dp == NULL.
3916 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3917 Patch by Joe Rhett <jrhett@isite.net>
3919 * common-src/alloc.c (safe_env): Keep SYSTEMROOT if __CYGWIN__.
3921 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3922 Patch by Orion Poplawski <orion@cora.nwra.com>
3924 * server-src/conffile.c (copy_dumptype): Copy maxpromoteday.
3926 2004-08-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3928 * client-src/selfcheck.c (check_disk): More check for CALCSIZE.
3930 2004-08-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3932 * common-src/amfeatures.h (fe_selfcheck_calcsize): New feature.
3933 * common-src/amfeatures.c (am_init_feature_set): Set
3934 fe_selfcheck_calcsize.
3935 * client-src/selfcheck.c: Check if calcsize binary is available if
3937 * server-src/amcheck.c (start_host): Call selfcheck with CALCSIZE
3938 if it support fe_selfcheck_calcsize.
3940 2004-08-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3942 * man/amanda.8.in: Document 'estimate' dumptype option.
3944 2004-08-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3946 * server-src/amrmtape.sh.in: Understand history info.
3948 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3950 * server-src/driver.c: Typo.
3952 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3954 * server-src/amstatus.pl.in: Parse CONTINUE and RQ-MORE-DISK line,
3955 print if a dump is waiting for holding disk space (roomq).
3957 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3959 * server-src/driver.c (handle_dumper_result, handle_chunker_result):
3960 Don't call free_serial().
3961 * server-src/driver.c (dumper_result): Call free_serial_dp(dp).
3962 * server-src/driverio.c (dumper_cmd): Remove CONTINUE cmd.
3963 * server-src/driverio.c (chunker_cmd): Print serial number for CONTINUE
3965 * server-src/driverio.c (disk2serial): Try to find a 'dp' before
3966 allocating a new serial.
3967 * server-src/driverio.c (free_serial_dp): New function to remove the
3969 * server-src/driverio.h (free_serial_dp): Prototype.
3970 * server-src/chunker.c (databuf_flush): Read serial number for CONTINUE
3973 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3975 * server-src/planner.c (getsize): Do SERVER estimate, call sendsize with
3978 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3980 * client-src/calcsize.c: Support exclude and include like gnutar,
3981 change in program argument.
3982 * client-src/sendsize.c: Execute calcsize as requested.
3983 * common-src/amfeatures.h (fe_calcsize_estimate): New feature.
3984 * common-src/amfeatures.c (am_init_feature_set): set
3985 fe_calcsize_estimate.
3986 * server-src/amcheck.c (start_host): Check if client support CALCSIZE
3989 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3991 * server-src/conffile.h (ES_CLIENT, ES_SERVER, ES_CALCSIZE): New define
3993 * server-src/conffile.h (dumptype_t): Add 'estimate' and 's_estimate'
3994 * server-src/conffile.c (get_estimate): New function to parse estimate
3996 * server-src/diskfile.c (read_diskline): Copy 'estimate'.
3997 * server-src/diskfile.h (disk_t): Add 'estimate'.
3998 * server-src/amadmin.c (disklist_one): Print estimate type.
4000 2004-08-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4002 * common-src/match.c (match_tar, tar_to_regex): New fonction similar
4003 to the exclude option of tar.
4004 * common-src/amanda.h (match_tar, tar_to_regex): Prototype.
4006 2004-08-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4008 * server-src/infofile.h (history_t): new struct.
4009 * server-src/infofile.h (info_t): Add a history_t.
4010 * server-src/infofile.c (read_txinfofile): Parse history data.
4011 * server-src/infofile.c (write_txinfofile): Print history data.
4012 * server-src/amadmin.c (export_one): export history data.
4013 * server-src/amadmin.c (import_one): import history data.
4014 * server-src/driverio.c (update_info_dumper): update history data.
4016 2004-05-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4017 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
4019 * server-src/planner.c: Log L_DISK for autoflush disk.
4021 2004-05-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4023 * server-src/planner.c (handle_result): Add dp to pestq at the
4026 2004-04-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4028 * common-src/amanda.h: #include "amanda-int.h" only if !CONFIGURE_TEST.
4030 2004-04-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4032 * config/acinclude.m4i (AX_CREATE_STDINT_H) : New macro.
4033 * configure.in: Use AX_CREATE_STDINT_H(common-src/amanda-int.h).
4034 * common-src/amanda.h: include "common-src/amanda-int.h".
4035 * changer-src/scsi-cam.c: Change u_int32_t for uint32_t.
4037 2004-04-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4039 * configure.in: Fix for automake 1.8.4.
4040 * config/acinclude.m4i: Fix for automake 1.8.4.
4042 2004-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4044 * configure.in: Result of autoupdate.
4046 2004-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4048 * config/config.guess: Update from automake 1.8.
4049 * config/config.sub: Update from automake 1.8.
4050 * config/depcomp: Update from automake 1.8.
4051 * config/install-sh: Update from automake 1.8.
4052 * config/missing: Update from automake 1.8.
4053 * config/mkinstalldirs: Update from automake 1.8.
4054 * config/ltmain.sh: Update from libtool-1.5.6.
4055 * config/libtool.m4i: Update from libtool-1.5.6.
4057 2004-04-26 Marc Mengel <mengel@fnal.gov>
4059 * tape-src/output-rait.c: Verify reads correctly.
4061 2004-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4063 * server-src/driver.c (continue_dumps): Fix deadlock if holding disk
4064 fill up when in degraded mode.
4066 2004-04-23 Eric Siegerman <eric_97@pobox.com>
4068 Bug fix: amflush would run, and consume a tape, even if there
4069 were no Amanda directories waiting to be flushed:
4070 * common-src/sl.c (is_empty_sl): New function to test
4071 whether a list is empty.
4072 * common-src/sl.h (is_empty_sl): Prototype.
4073 * server-src/amflush.sh (main): Use is_empty_sl(),
4074 rather than ==NULL, to test emptiness of datestamp_list.
4076 2004-04-23 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4078 * server-src/planner.c (setup_estimate): Typo.
4080 2004-04-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4082 Allow bumpsize, bumppercent, bumpdays and bumpmult to be in a dumptype.
4083 * server-src/conffile.c: Parse.
4084 * server-src/conffile.h: Define.
4085 * server-src/amadmin.c (disklist_one): Use.
4086 * server-src/diskfile.c (read_diskline): Initialize.
4087 * server-src/diskfile.h: Define.
4088 * server-src/planner.c: Use.
4089 * man/amanda.8.in: Document.
4091 2004-04-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4092 Fix by Paul Bijnens <paul.bijnens@xplanation.com>
4094 * server-src/planner.c (setup_estimate): Only ask for level 0 estimate
4095 if strategy is noinc.
4097 2004-04-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4098 Documentation from Paul Bijnens <paul.bijnens@xplanation.com>
4100 * man/amoverview.8.in: Document results.
4102 2004-04-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4103 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
4105 * server-src/amoverview.pl.in: Print last two characters.
4107 2004-04-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4109 * changer-src/chg-disk.sh.in: Fix for sh compatibility.
4111 2004-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4112 Fix by John Koyle <jkoyle@rfpdepot.com>
4114 * common-src/dgram.c: Fix EAGAIN on Linux.
4116 2004-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4118 * server-src/amadmin.c (bumpsize): Typo.
4120 2004-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4122 New bumppercent global option.
4123 * example/amanda.conf.in: Document it.
4124 * man/amanda.8.in: Document it.
4125 * server-src/amadmin.c (bumpsize): Write it.
4126 * server-src/conffile.c: Parse it.
4127 * server-src/conffile.h: Define It.
4128 * server-src/planner.c (bump_thresh): New size_level_0 parameter,
4129 use the new bumppercent option.
4131 2004-04-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4133 * server-src/amadmin.c: Rename host_t to amhost_t.
4134 * server-src/amcheck.c: Ditto.
4135 * server-src/amindexd.c: Ditto.
4136 * server-src/diskfile.c: Ditto.
4137 * server-src/diskfile.h: Ditto.
4138 * server-src/driver.c: Ditto.
4139 * server-src/planner.c: Ditto.
4141 2004-03-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4143 * amplot/amplot.awk: Parse "driver: tape size" line.
4145 2004-03-22 Stefan G. Weichinger <monitor@oops.co.at>
4147 * server-src/amcheck.c (start_host): Added warning for hostname
4149 * docs/TOP-TEN-QUESTIONS: added note about localhost-warning.
4151 2004-03-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4153 * docs/Makefile.am (pkgdata_DATA): Add TOP-TEN-QUESTIONS.
4155 2004-03-18 Stefan G. Weichinger <monitor@oops.co.at>
4157 * docs/TOP-TEN-QUESTIONS: New file.
4159 2004-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4161 * server-src/reporter.c (handle_success): Set stats[i].coutsize
4163 * server-src/taper.c: Do not subtract tt_blocksize_kb from filesize.
4165 2004-03-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4167 * common-src/ssh-security.c: New ssh security driver.
4168 * common-src/Makefile.am (libamanda_la_SOURCES): Add ssh-security.c.
4169 * common-src/security.c: Add ssh security driver.
4170 * configure.in: Add --with-ssh-security. Define SSH_SECURITY.
4172 2004-03-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4174 * server-src/amcheck.c: Do labelstr check in correct order.
4176 2004-03-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4178 Use only one time event for all dumpers, no wait event.
4179 start_some_dumps is called everytime a dumper or taper finish.
4180 * server-src/driver.c (dumpers_ev_time): New global event.
4181 * server-src/driver.c (start_some_dumps): Remove dumper argument,
4182 can start many dump.
4183 * server-src/driver.c (dumper_result): Call start_some_dumps instead
4185 * server-src/driver.c (handle_idle_wait): Remove function.
4186 * server-src/driver.c (handle_dumpers_time): new handle for
4187 dumpers_ev_time, it call start_some_dumps.
4188 * server-src/driverio.h (dumper_t): Remove ev_wait.
4189 * server-src/driverio.c (startup_dump_process): Don't set ev_wait.
4191 2004-03-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4193 * common-src/fileheader.c (print_header): Fix fprintf use.
4194 * client-src/amqde.c (parse_exclude_path): Fix = by ==.
4195 * common-src/protocol.c (s_repwait): Fix compiler warning.
4196 * common-src/rsh-security.c (runrsh): Fix compiler warning.
4198 2004-03-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4200 * common-src/pipespawn.c (pipespawn): Remove passwdvar and passwdfd.
4202 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4203 Reported by Allen Liu <allen@bellglobal.com>
4205 * server-src/amverifyrun.sh.in: Replace '-e' test by '-f'.
4207 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4209 * server-src/amcheck.c: Verify the tape is listed in the tapelist file.
4210 * server-src/taper.c: Ditto
4212 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4214 * server-src/driver.c (dump_schedule): Print complete name.
4216 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4218 The estimate send a PREP (partial REP) packet after each estimate.
4219 * client-src/amandad.c: Send PREP packet if sendsize.
4220 * common-src/amfeatures.c (am_init_feature_set): Add
4221 fe_partial_estimate.
4222 * common-src/amfeatures.h (am_feature_e): Add fe_partial_estimate.
4223 * common-src/packet.c (pktypes[]): Add PREP.
4224 * common-src/packet.h (pktype_t): Add P_PREP.
4225 * common-src/protocol.c (action_t): Add A_CONTPEND.
4226 * common-src/protocol.c: Handle P_PREP packet.
4227 * server-src/amstatus.pl.in: Parse "got partial result" line.
4228 * server-src/planner.c: Handle P_PREP packet.
4230 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4231 Reported by Jason Brooks <jason.brooks@windriver.com>
4233 * server-src/reporter.c: Remove duplicate setting of cd to
4236 2004-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4237 Patch by Philippe Charnier <charnier@xp11.frmug.org>
4239 * server-src/amtrmidx.c: Add '\n'.
4241 2004-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4243 * recover-src/set_commands.c (cd_glob): Fix memory leak.
4245 2004-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4247 * recover-src/set_commands.c (cd_dir, set_directory): Fix memory leak.
4248 * recover-src/uscan.l: Fix double amfree.
4250 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4252 * server-src/driver.c: Build holding disk name with timestamp.
4253 * server-src/holding.c (is_datestr): Check also for timestamp.
4254 * server-src/planner.c: Flush today's dump with autoflush.
4255 * server-src/find.c: Find holding disk with timestamp.
4256 * server-src/find.h (find_result_t): Add timestamp field.
4258 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4260 * changer-src/chg-zd-mtx.sh.in: Works if all slot and tape are full.
4262 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4264 * server-src/amverifyrun.sh.in: Do not execute amverify if no tape
4267 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4269 * server-src/amdump.sh.in: Do not redirect to /dev/null.
4271 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4273 * config/acinclude.m4i: Define CF_WAIT_INT.
4274 * configure.in: Call CF_WAIT_INT.
4275 * common-src/amanda.h: Try to make waitpid doesn't warn.
4277 2004-01-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4279 * Makefile.am (EXTRA_DIST): Add contrib/mkamandisk.
4281 2004-01-29 Christoph Pospiech <pospiech@de.ibm.com>
4283 * configure.in (AC_CONFIG_FILES): Add changer-src/chg-iomega.pl.
4284 * changer-src/Makefile.am (libexec_SCRIPTS) Add chg-iomega.
4285 * changer-src/chg-iomega.pl.in: New changer script.
4286 * docs/TAPE.CHANGERS: Document chg-iomega.
4287 * contrib/mkamandisk: Script to format iomega disk.
4289 2004-01-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4291 * restore-src/amidxtaped.c (scan_init): Remove the log file if it exit.
4293 2004-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4295 * configure.in: Set GNUTAR_LISTED_INCREMENTAL_DIRX.
4296 * example/amanda.conf.in: Update record documentation.
4297 * man/amanda.8.in: Update record documentation.
4299 2004-01-14 Stefan G. Weichinger <monitor@oops.co.at>
4301 * docs/INSTALL: Add config for xinetd.
4303 2004-01-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4305 * server-src/planner.c (handle_result): Detect bad estimate (-1).
4306 * server-src/planner.c (analyze_estimate): Don't schedule level
4307 if the estimate is bad.
4309 2003-12-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4311 * docs/HOWTO-FILE-DRIVER: New file.
4312 * docs/TAPE.CHANGERS: Explain chg-disk.
4313 * docs/Makefile.am (pkgdata_DATA): add HOWTO-FILE-DRIVER.
4315 2003-12-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4317 * docs/SYSTEM.NOTES: Add a note about sendsize coredump on AIX.
4319 2003-11-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4320 Patch by Jean-Christian SIMONETTI <simonetti@echo.fr>
4322 * changer-src/chg-disk.sh.in: New changer script.
4323 * changer-src/Makefile.am (libexec_SCRIPTS): Add chg-disk.
4324 * configure.in (AC_CONFIG_FILES): Add changer-src/chg-disk.sh.
4326 2003-11-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4328 * tape-src/tapetype.c: extern int optind.
4329 * tape-src/tapeio.c: extern int optind.
4331 2003-11-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4332 Patch by C.Scheeder <christoph.scheeder@scheeder.de>
4334 * changer-src/sense.c (SenseType): Add "DAT AutoChanger" and "C1537A".
4336 2003-11-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4338 * server-src/driver.c: Print the tape size.
4339 * server-src/amstatus.pl.in: print % of tape use.
4341 2003-11-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4343 * server-src/conffile.c (copy_dumptype): Copy in/exclude only if seen.
4345 2003-11-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4347 * server-src/reporter.c (output_tapeinfo): Fix printing of new tape.
4349 2003-11-25 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4351 * server-src/amcheck.c (taperscan_slot): Deal with label not in
4353 * server-src/amtape.c (taperscan_slot): Ditto.
4354 * server-src/taper.c (taperscan_slot): Ditto.
4356 2003-11-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4358 * server-src/driver.c (handle_taper_result): Always call
4359 continue_dumps() in TRYAGAIN case.
4361 2003-11-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4363 * changer-src/chg-chio.pl.in (getTapeStatus): Set $drives[$num] to 0
4364 if no tape in drive.
4366 2003-11-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4368 * docs/Makefile.am (pkgdata_DATA): Add HOWTO-AFS.
4370 2003-11-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4371 Patch by Mitch Collinsworth <mitch@ccmr.cornell.edu>
4373 * client-src/selfcheck.c: Skip accessibility check for AFS entries.
4374 * docs/HOWTO-AFS: New file.
4376 2003-11-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4378 * server-src/amadmin.c (tape): Display the next new tapes.
4379 * server-src/reporter.c (output_tapeinfo): Ditto.
4381 2003-10-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4383 * docs/Makefile.am (pkgdata_DATA): Add chg-scsi.notes.
4385 2003-10-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4387 * server-src/amcheck.c (taperscan_slot): Set found=3 if new tape.
4388 * server-src/amcheck.c (taper_scan): Handle found==3.
4389 * server-src/amtape.c (taperscan_slot): Set found=3 if new tape.
4390 * server-src/amtape.c (taper_scan): Handle found==3.
4391 * server-src/taper.c (taperscan_slot): Set found=3 if new tape.
4392 * server-src/taper.c (taper_scan): Handle found==3.
4394 2003-10-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4396 * server-src/amcheck.c: Use stralloc(optarg).
4397 * tape-src/ammt.c: Use stralloc(optarg).
4398 * tape-src/tapetype.c: Use stralloc(optarg).
4400 2003-10-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4401 Patch by Jay Fenlason <fenlason@redhat.com>
4403 * server-src/dumper.c: Don't set SIGCHLD to SIG_IGN.
4405 2003-10-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4406 Patch by Andrew Rucker Jones <arjones@simultan.dyndns.org>
4408 * client-src/sendbackup-gnutar.c (AM_SIZE_RE): Fix regex for samba3.
4410 2003-10-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4412 * server-src/amadmin.c (find): Call find_dump to allow dynamic disklist.
4413 * server-src/amindexd.c: Call find_dump to allow dynamic disklist.
4414 * server-src/amtrmidx.c: Call find_dump to allow dynamic disklist.
4415 * server-src/diskfile.c (add_disk): Set device and todo.
4416 * server-src/find.c: Build disklist dynamicaly from log files.
4417 * server-src/find.h (find_dump): New prototype.
4419 2003-10-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4421 * server-src/amlogroll.c: set_pname("amlogroll").
4423 2003-10-24 Todd M. Kover <kovert@omniscient.com>
4425 * add amqde for "quick and dirty estimates" under gnutar (program
4426 that will traverse the filesystem rather than invoke gnutar).
4427 controlled via configure option --with-qde. This really wants to
4428 be configured in the server.
4430 2003-10-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4432 * server-src/amverify.sh.in: Fix usage message.
4433 * common-src/fileheader.c (print_header): fprintf to outf.
4434 * server-src/tapefile.c (lookup_last_reusable_tape): Check for
4436 * server-src/amadmin.c (disklist_one): Don't print ':' on device line.
4438 2003-10-23 Todd Kover <kovert@omniscient.com>
4440 * make amrecover link against readline rather than libamanda so
4441 only amrecover would require the shared library (if it's found)
4443 2003-10-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4444 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
4446 * client-src/amandates.c (finish_amandates): Call error() if the
4448 * common-src/amflock.c (create_lock): Return -1 if the close of f fail.
4449 * common-src/amflock.c (read_lock): Don't set f to NULL if the close
4451 * server-src/tapefile.c (write_tapelist): Return 1 if the close of
4454 2003-10-14 John R. Jackson (jrj@purdue.edu)
4456 * docs/SYSTEM.NOTES: Add FreeBSD 5.1 note about setting the UDP packet
4457 size, compliments of Nicolas Ecarnot <nicolas.ecarnot@accim.com>.
4459 2003-10-14 John R. Jackson (jrj@purdue.edu)
4461 * client-src/sendsize.c: Handle case where PID's get re-used.
4463 2003-10-14 John R. Jackson (jrj@purdue.edu)
4465 * configure.in: Need to check for sys/gscdds.h on AIX to enable
4468 2003-10-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4470 * common-src/genversion.c (prundefvar): New function to print an
4472 * common-src/genversion.c: Print undefined variable.
4473 * server-src/amcheck.c: Improve message for no LPRCMD defined.
4475 2003-07-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4477 * restore-src/amidxtaped.c: Don't clea re_label before checking
4480 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4481 Patch by Scott Mcdermott <smcdermott@questra.com>
4483 * changer-src/chg-zd-mtx.sh.in (initial_poll_delay): New config
4484 variable to add a pause after a tape loading.
4486 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4487 Fix by John E. Hein <jhein@timing.com>
4489 * changer-src/chg-manual.sh.in: Quote @EGREP@.
4490 * changer-src/chg-null.sh.in: Quote @EGREP@.
4492 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4494 * amplot/amplot.sh.in: Remove files before runnig amplot.awk.
4495 * amplot/amplot.awk: Parse 'flush line', fix tape_wait line.
4496 * server-src/driver.c (read_flush): Write a 'flush size' to the
4499 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4501 * changer-src/chg-chio.pl.in: Fix next/prev command.
4503 2003-07-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4504 patch by Paul Bijnens <paul.bijnens@xplanation.com>
4506 * client-src/client_util.c (add_include): Count include with 2 /,
4507 Fix descriptor leak.
4509 2003-06-25 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4511 * server-src/amstatus.pl.in: Fix print spacing for idle dumpers.
4513 2003-06-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4515 * server-src/holding.c: Fix compiler error.
4516 * server-src/planner.c: Use snprintf.
4518 2003-06-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4519 patch by Paul Bijnens <paul.bijnens@xplanation.com>
4521 * tape-src/tapetype.c: Avoid a numerical overflow for large tape
4524 2003-06-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4526 * server-src/amstatus.pl.in: Fix to failed tape.
4528 2003-06-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4530 * server-src/planner.c (delay_dumps): Delay not delay forced full
4533 2003-06-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4535 * changer-src/chg-zd-mtx.sh.in: Log the changer file used.
4537 2003-06-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4539 * server-src/amverify.sh.in: Do not advance to next tape.
4541 2003-06-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4542 patch by Eric Siegerman <eric_97@pobox.com>
4544 * server-src/planner.c: Make promote_hills() honour maxpromotedays.
4546 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4548 * changer-src/scsi-bsd.c: Use pDev[DeviceFD].fd instead of DeviceFD.
4549 * changer-src/scsi-hpux_new.c:Use pDev[DeviceFD].fd instead of DeviceFD.
4550 * changer-src/scsi-linux.c: Use pDev[ip].fd instead of DeviceFD.
4552 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4554 * client-src/noop.c: #include "util.h".
4556 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4558 * server-src/amflush.c: Implement new -b and -s options.
4559 * man/amflush.8.in: Document it.
4561 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4563 * server-src/driver.c (dump_to_tape): Don't go in degraded mode if
4566 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4568 * tape-src/output-rait.c: Don't call waitpid if we didn't fork.
4570 2003-06-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4572 * server-src/amverify.sh.in: Use @MAXTAPEBLOCKSIZE@ instead of 32.
4574 2003-06-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4575 Bug reported by Sven Rudolph <rudsve@drewag.de>
4577 * server-src/holding.c (mkholdingdir): New function to create a holding
4579 * server-src/holding.h (mkholdingdir): Prototype.
4580 * server-src/driver.c: Use mkholdingdir;
4581 * server-src/chunker.c: Call mkholdingdir before opening a file for
4584 2003-06-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4585 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
4587 * server-src/amstatus.pl.in: Fix for missing amdump.1 or amflush.1.
4589 2003-06-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4590 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
4592 * server-src/amstatus.pl.in: If nothing is active, it now gives the
4593 status of the last run (amdump or amflush).
4594 * man/amstatus.8.in: Document it.
4596 2003-05-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4598 * tape-src/output-file.c (check_online): Write error if opendir failed.
4600 2003-05-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4601 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
4603 * server-src/amoverview.pl.in: Use 'amadmin <conf> disklist' instead
4604 of parsing the disklist file.
4606 2003-05-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4608 * server-src/tapefile.c (read_tapelist,parse_tapeline): Fix for
4611 2003-05-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4613 * common-src/versuff.c.in: Use @VERSION_SUFFIX@.
4615 2003-05-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4617 * example/amanda.conf.in: Add more amrecover_changer doc.
4618 * man/amanda.8.in: Add more amrecover_changer doc.
4619 * man/amrecover.8.in: Add more amrecover_changer doc.
4621 2003-05-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4623 * server-src/tapefile.c (read_tapelist): Ignore blank line.
4624 * server-src/tapefile.c (parse_tapeline): Newer status parameter, set
4625 it to '1' when reading blank line.
4627 2003-04-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4629 * configure.in (AC_CHECK_HEADERS): Enleve linux/ftape-header-segment.h,
4630 linux/ftape-vendors.h et linux/ftape.h.
4632 2003-04-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4633 Patch by Darin Dugan <dddugan@iastate.edu>
4635 * server-src/amcheck.c: Change subject in email if no error.
4637 2003-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4639 * common-src/error.c (output_error_message): Always prepend program
4642 2003-04-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4644 * server-src/amstatus.pl.in: Fix for estimate disk.
4646 2003-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4648 * server-src/taper.c: Read holding file correctly if blocksize != 32k.
4650 2003-04-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4651 New file by Robert C Dege <RDege@northropgrumman.com>
4653 * configure.in: Find mcutil binary.
4654 * configure.in (AC_CONFIG_FILES): Add changer-src/chg-mcutil.sh and
4655 example/chg-mcutil.conf.
4656 * changer-src/Makefile (libexec_SCRIPTS): Add chg-mcutil.
4657 * changer-src/chg-mcutil.sh.in: New file.
4658 * example/Makefile (EXTRA_DIST): Add chg-mcutil.conf
4659 * example/chg-mcutil.conf.in: New file.
4661 2003-04-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4663 * man/amanda.8.in (blocksize): Document the --with-maxtapeblocksize
4666 2003-04-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4668 * server-src/amverifyrun.sh.in: Run the amverify command.
4670 2003-04-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4671 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
4673 * server-src/reporter.c: Get the filenumber correct.
4675 2003-04-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4676 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
4678 * server-src/reporter.c: Print a postscript label for each tape used.
4680 2003-03-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4682 * configure.in (*-sco3.2v4*): It is not like *-sco3.2v5*,
4683 define DEV_PREFIX and RDEV_PREFIX.
4685 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4687 * configure.in: Typo.
4689 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4690 Patch by Gert Doering <gert@greenie.muc.de>
4692 * client-src/getfsent.c (get_fstab_nextentry): Compile on *-sco3.2v4*.
4694 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4696 * configure.in: Compile on *-sco3.2v4*
4698 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4700 * configure.in: Use '=' instead of '=='.
4702 2003-03-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4704 * recover-src/set_commands.c (set_tape): Recognize null:, rait:,
4705 file: and tape: as driver, not host name.
4707 2003-03-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4709 * server-src/amrmtape.sh.in: Print better output.
4711 2003-03-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4713 * changer-src/Makefile.am (libexec_SCRIPTS): Missing \.
4715 2003-03-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4717 * client-src/client_util.c (add_include): If include contain 2 '/' then
4718 use at asis, don't try to match it.
4720 2003-03-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4722 * server-src/changer.h (changer_label): Return an int.
4723 * server-src/changer.h (changer_label): First parameter is char *.
4725 2003-03-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4727 * file tape-src/output-rait.c (rait_open): Call tapefd_set_master_fd();
4728 * file tape-src/tapeio.c (struct tape_info): Add master_fd field.
4729 * file tape-src/tapeio.c (tape_info_init): Set master_fd to -1;
4730 * file tape-src/tapeio.c (tapefd_getinfo_host, tapefd_getinfo_disk,
4731 tapefd_getinfo_level): Return info of master_fd.
4732 * file tape-src/tapeio.c (tapefd_set_master_fd): New function to set
4734 * file tape-src/tapeio.h (tapefd_set_master_fd): Prototype.
4736 2003-03-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4738 * tape-src/output-file.c (file_tapefd_can_fork): New function that
4739 return 1 if the file: can be run under a forked process.
4740 * tape-src/output-file.h (file_tapefd_can_fork): Prototype.
4741 * tape-src/output-null.c (null_tapefd_can_fork): New function that
4742 return 1 if the null: can be run under a forked process.
4743 * tape-src/output-null.h (null_tapefd_can_fork): Prototype.
4744 * tape-src/output-rait.c (rait_close, rait_tapefd_ioctl): Fork only if
4745 * tapefd_can_fork() return 1.
4746 * tape-src/output-rait.c (rait_tapefd_can_fork): New function that
4747 return 1 if the rait: can be run under a forked process.
4748 * tape-src/output-rait.h (rait_tapefd_can_fork): Prototype.
4749 * tape-src/output-tape.c (tape_tapefd_can_fork): New function that
4750 return 1 if the tape: can be run under a forked process.
4751 * tape-src/output-tape.h (tape_tapefd_can_fork): Prototype.
4752 * tape-src/tapeio.c (struct virtualtape): Add xxx_tapefd_can_fork and
4753 initialize vtable[];
4754 * tape-src/tapeio.c (tapefd_can_fork): New function to can the driver
4755 xxx_tapefd_can_fork function.
4756 * tape-src/tapeio.h (tapefd_can_fork): Prototype.
4758 2003-03-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4760 * tape-src/output-file.c (file_tapefd_write): Call file_release(fd)
4761 before opening the file for writing.
4763 2003-03-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4765 * changer-src/chg-zd-mtx.sh.in: Default for driveslot is 0.
4767 2003-03-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4769 * amplot/amplot.sh.in: New -b option for b/w postscript.
4770 * amplot/amplot.awk: Add 'color' to command if bw is set.
4771 * amplot/amplot.g: Change line 6 to line 8.
4772 * man/amplot.8: Document -b option.
4774 2003-03-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4776 * recover-src/extract_list.c: Fix the name of the
4777 amidxtaped.<timestamp>.debug file.
4779 2003-02-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4780 Patch by Eric Doutreleau <Eric.Doutreleau@int-evry.fr>
4782 * restore-src/amidxtaped.c: Use the device sent by the changer.
4784 2003-02-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4786 * restore-src/amidxtaped.c: Remove lock 'unlink(conf_logfile)' on
4789 2003-02-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4791 * server-src/changer.c: Sync with 2.4.4.
4793 2003-02-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4795 * client-src/client_util.c: Print error except ENOENT for
4796 exclude/include files.
4798 2003-02-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4800 * tape-src/tapetype.c: Use %ld to print some variable.
4802 2003-02-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4804 * server-src/conffile.c (init_defaults): conf_printer.s must be set
4807 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4808 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
4810 * tape-src/tapetype.c: Document -c option.
4812 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4814 * changer-src/chg-zd-mtx.sh.in:Print "are you sure your drive slot is n"
4816 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4818 * server-src/tapefile.c (read_tapelist): return 1 if can't open the
4821 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4823 * man/amtapetype.8.in: Add doc from a mail by John R. Jackson.
4825 2003-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4827 * server-src/amcheck.c: New -a option.
4828 * man/amcheck.8.in: Document it.
4830 2003-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4832 * server-src/amindexd.c (build_disk_table): Compare the level.
4834 2003-02-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4835 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
4837 * tape-src/tapetype.c: New -c argument to do only the compression test.
4838 Better detection of compression.
4839 * man/amtapetype.8.in: Document -c argument.
4841 2003-02-09 John R. Jackson (jrj@purdue.edu)
4843 * tape-src/tapetype.c: Allocate the I/O buffers on page boundaries.
4844 This helps performance on some OS's.
4846 2003-02-08 John R. Jackson (jrj@purdue.edu)
4848 * restore-src/amrestore.c: Clean up strtol() argument processing.
4850 2003-02-08 John R. Jackson (jrj@purdue.edu)
4852 * docs/INSTALL: Clean up supporting package versions and URL's.
4854 2003-02-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4856 * docs/Makefile.am (pkgdata_DATA): Add HOWTO-CYGWIN.html.
4858 2003-02-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4859 Patch by Christophe Kalt <kalt@taranis.org>
4861 * client-src/sendbackup-dump.c: New AM_SIZE_RE for NetApp.
4862 * client-src/sendsize.c: New re_size for NetApp.
4864 2003-02-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4865 Fix by Colin Henein <cmh@>
4867 * common-src/amanda.h: Fix for the where S_ISDIR is not defined.
4869 2003-02-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4870 Patch by Doug Kingston <dpk@randomnotes.org>
4872 * configure.in (NEED_SETUID_CLIENT): Set to false on *-pc-cygwin.
4873 * configure.in (WANT_SETUID_CLIENT): Set if NEED_SETUID_CLIENT != false.
4874 * client-src/Makefile.am: Don't chmod u+s if WANT_SETUID_CLIENT.
4876 2003-02-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4877 Patch by Andrew Rucker Jones <arjones@simultan.dyndns.org>
4879 * man/amtapetype.8.in: Fix example.
4881 2003-01-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4883 * common-src/amanda.h: #define S_ISDIR if not already defined.
4885 2003-01-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4886 File from Doug Kingston <dpk@randomnotes.org>
4888 * docs/HOWTO-CYGWIN.html: New file.
4890 2003-01-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4892 * configure.in: Define WANT_RUNTIME_PSEUDO_RELOC on cygwin
4893 * client-src/Makefile.am: AM_LDFLAGS="-Wl,-enable-runtime-pseudo-reloc"
4894 if WANT_RUNTIME_PSEUDO_RELOC.
4895 * recover-src/Makefile.am: Ditto.
4897 2003-01-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4899 * tape-src/output-rait.h: #define stralloc strdup
4900 * tape-src/output-rait.c: Revert patch of 2003-01-26, we don't have
4901 vstralloc in standalone.
4903 2003-01-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4904 Reported by Doug Kingston <dpk@randomnotes.org>
4906 * recover-src/Makefile.am: Set AM_YFLAGS instead of YFLAGS.
4908 2003-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4910 * tape-src/output-rait.c (tapeio_next_devname): Use vstralloc.
4912 2003-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4914 * changer-src/chg-scsi-chio.c: Change strdup to stralloc.
4915 * changer-src/chg-scsi.c: Ditto.
4916 * changer-src/scsi-aix.c: Ditto.
4917 * changer-src/scsi-bsd.c: Ditto.
4918 * changer-src/scsi-cam.c: Ditto.
4919 * changer-src/scsi-changer-driver.c: Ditto.
4920 * changer-src/scsi-hpux_new.c: Ditto.
4921 * changer-src/scsi-irix.c: Ditto.
4922 * changer-src/scsi-linux.c: Ditto.
4923 * changer-src/scsi-solaris.c: Ditto.
4924 * changer-src/sense.c: Ditto.
4925 * tape-src/output-rait.c: Ditto.
4927 2003-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4929 * server-src/taper.c (read_file): Don't count header in filesize.
4931 2003-01-25 John R. Jackson (jrj@purdue.edu)
4933 * tape-src/tapeio.c: Fix tape_access() and tape_stat() problem caused
4934 by indeterminate compiler order of evaluation.
4936 2003-01-25 John R. Jackson (jrj@purdue.edu)
4938 * restore-src/amidxtaped.c: Log errno when tape_stat fails.
4939 * restore-src/amrestore.c: Ditto.
4940 * tape-src/output-rait.c: Ditto.
4942 2003-01-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4944 * server-src/amstatus.pl.in: print an usage by tape.
4946 2003-01-23 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4948 * recover-src/extract_list.c (add_extract_item, delete_extract_item):
4949 Check also for level when comparing label.
4951 2003-01-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4953 Do not build chg-scsi-chio, it is buggy.
4954 * changer-src/Makefile.am (libexec_PROGRAMS): remove $(CHIO_SCSI).
4955 * changer-src/Makefile.am (EXTRA_PROGRAMS): add $(CHIO_SCSI).
4957 2003-01-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4959 * configure.in: disable amrestore if --without-server is set.
4961 2003-01-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4963 * client-src/amandad.c: Use the dbfd macro instead of the external
4965 * client-src/selfcheck.c: Ditto.
4966 * client-src/sendbackup.c: Ditto.
4967 * client-src/sendsize.c: Ditto.
4968 * client-src/sendbackup-gnutar.c: Use save_errno instead of errno.
4969 * common-src/debug.c: Move most declaration inside #ifdef DEBUG_CODE.
4970 * server-src/amindexd.c: dup db_fd() to stderr.
4971 * server-src/conffile.c: Don't call error() if the config file does not
4972 exist, just write to stderr and set got_parserror.
4974 2003-01-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4976 * recover-src/amrecover.c: Fix memory leak.
4978 2003-01-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4980 Add new maxpromoteday option in a dumptype.
4981 * example/amanda.conf.in: Give an example
4982 * man/amanda.8.in: Document it.
4983 * server-src/amadmin.c: Print it in the disklist subcommand.
4984 * server-src/conffile.c: read it.
4985 * server-src/conffile.h (dumptype_t): Add maxpromoteday and
4987 * server-src/diskfile.c (read_diskline): Copy maxpromoteday from
4988 dumptype_t to disk_t.
4989 * server-src/diskfile.h (disk_t): Add maxpromoteday.
4990 * server-src/planner.c (promote_highest_priority_incr): Don't promote
4991 a disk if est(dp)->next_level0 > dp->maxpromoteday.
4993 2003-01-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4994 Reported by Josh More <jmore@remote-print.com>
4996 * client-src/client_util.c (add_exclude, add_include): Remove the
4997 need for MAXPATHLEN.
4999 2003-01-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5000 Fix by Josh More <jmore@remote-print.com>
5002 * tape-src/output-tape.c: Add a ; after f = MT_UNLOAD
5004 2003-01-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5005 Undo patch of 2002-11-27. That doesn't work well for the planner.
5007 * common-src/amanda.h (days_diff): Revert to old macro.
5008 * server-src/amadmin.c: Undo Fix for newer days_diff.
5009 * server-src/planner.c: Undo Fix for newer days_diff.
5011 2003-01-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5013 * client-src/client_util.c: Fix memory leak reported by valgrind.
5014 * client-src/selfcheck.c: Ditto.
5015 * client-src/sendbackup.c: Ditto.
5016 * client-src/sendsize.c: Ditto.
5017 * common-src/amfeatures.c: Ditto.
5018 * common-src/debug.c: Ditto.
5019 * recover-src/amrecover.c: Ditto.
5020 * recover-src/extract_list.c: Ditto.
5021 * recover-src/set_commands.c: Ditto.
5022 * recover-src/uparse.y: Ditto.
5023 * recover-src/uscan.l: Ditto.
5024 * server-src/amindexd.c: Ditto.
5025 * server-src/amlabel.c: Ditto.
5026 * server-src/amtape.c: Ditto.
5027 * server-src/amtrmidx.c: Ditto.
5028 * server-src/amtrmlog.c: Ditto.
5029 * server-src/changer.c: Ditto.
5030 * server-src/conffile.c: Ditto.
5031 * server-src/driver.c: Ditto.
5032 * server-src/driverio.c: Ditto.
5033 * server-src/dumper.c: Ditto.
5034 * server-src/find.c: Ditto.
5035 * server-src/holding.c: Ditto.
5036 * server-src/logfile.c: Ditto.
5037 * server-src/planner.c: Ditto.
5038 * server-src/reporter.c: Ditto.
5039 * server-src/tapefile.c: Ditto.
5040 * server-src/taper.c: Ditto.
5042 2002-12-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5044 * amplot/amplot.awk: Many fix.
5046 2002-12-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5048 * server-src/planner.c (promote_highest_priority_incremental): Promote
5049 a disk > balanced size if no full today. Do not promote a disk it's
5050 the only disk due that day and no full today.
5052 2002-12-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5053 Patch by Brad Roberts <braddr@puremagic.com>
5055 * server-src/amflush.c: Remove 2 redundant amfree call after remove_sl.
5056 * server-src/holding.c (get_flush): Ditto.
5058 2002-12-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5060 * server-src/conffile.c: New taperalgo configuration keyword.
5061 * server-src/conffile.h: Ditto.
5062 * man/amanda.8.in: Document it.
5063 * server-src/driver.c (startaflush): New function to start a flush to
5066 2002-12-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5068 * server-src/diskfile.c (parse_diskline): Allow skip in dumptype.
5070 2002-12-23 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5072 * server-src/amstatus.pl.in: Parse features from PORT-WRITE line.
5074 2002-12-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5076 Don't use the G flag for samba backup restore by tar.
5077 * recover-src/extract_list.c (enum dumptypes): Add IS_SAMBA_TAR.
5078 * recover-src/extract_list.c (extract_files_child): Set dumptype to
5079 IS_SAMBA_TAR if it's a SAMBA backup. Don't pass the G flag to tar
5080 if it's IS_SAMBA_TAR.
5082 2002-12-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5084 * amplot/amplot.awk: Parse line with features, parse ENDFLUSH line.
5086 2002-12-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5088 * server-src/planner.c (promote_highest_priority_incremental): Newer
5089 algorithm that reduce the number of level 0 by hosts on a single day.
5091 2002-12-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5093 * amplot/amplot.awk: Parse newer log lines.
5095 2002-12-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5096 * server-src/reporter.c (output_stats): Typo.
5098 2002-12-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5100 * server-src/reporter.c: Print an usage by tape.
5102 2002-12-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5104 * tape-src/tapeio.c (do_read): Init count to 0.
5106 2002-12-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5108 * tape-src/Makefile.am: Install tapetype program as amtapetype.
5109 * docs/TAPETYPES: Change for amtapetype.
5110 * man/amtapetype.8.in: New man page
5111 * man/Makefile.am: Install it.
5112 * configure.in (AC_CONFIG_FILES): Add man/amtapetype.8.
5114 2002-12-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5116 * tape-src/ammt.c (optind): Add prototype.
5117 * tape-src/amdd.c (optind): Add prototype.
5119 2002-12-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5121 * common-src/arglist.h (printf_arglist_function,
5122 printf_arglist_function1, printf_arglist_function2): Define if
5123 STDC_HEADERS is not defined.
5125 2002-12-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5127 * server-src/amstatus.pl.in: New --date option to display datestamp.
5128 * server-src/amstatus.pl.in: Increase some field size.
5129 * server-src/amstatus.pl.in: The host field adjust it's length to the
5132 2002-11-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5134 * common-src/amanda.h (days_diff): Don't add a half day.
5135 * server-src/amadmin.c: Fix for newer days_diff.
5136 * server-src/planner.c: Fix for newer days_diff.
5138 2002-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5140 * client-src/amandad.c: Fix compiler warning.
5141 * common-src/Makefile.am (bsdsecurity): Link with file.o.
5142 * common-src/bsd-security.c: Fix compiler warning.
5143 * common-src/bsd-security.c (construct_datestamp, construct_timestamp):
5144 Add function if TEST.
5145 * server-src/chunker.c: Fix compiler warning.
5146 * server-src/dumper.c: Fix compiler warning.
5148 2002-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5150 * tape-src/tapetype.c: Cast time_t to long for printing.
5152 2002-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5154 * server-src/amflush.c: Write a "amflush: start at ???" line.
5155 * server-src/amstatus.pl.in: parse the "amflush: start at ???" line.
5157 2002-11-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5159 * server-src/planner.c (delay_dumps): Use snprintf.
5161 2002-11-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5163 * common-src/debug.c: Most of the code must in #ifdef DEBUG_CODE.
5164 * client-src/client_util.c: Use AMANDA_TMPDIR instead of AMANDA_DBGDIR.
5166 2002-11-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5168 * docs/TAPE.CHANGERS: Sync with 2.4.3.
5170 2002-11-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5172 * server-src/amadmin.c: Cleanup.
5174 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5176 * man/amadmin.8.in: Document new --days option of balance subcommand.
5178 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5180 * server-src/amadmin.c (days_diff): Make next_level0 more acurate.
5181 * server-src/amadmin.c (balance): Improve output.
5183 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5185 * recover-src/extract_list.c: Add Retry and Skip command to amrecover.
5187 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5189 * tape-src/output-tape.c (tape_tapefd_fsf): Must not be static.
5191 2002-11-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5193 * server-src/reporter.c: Fix for LPRCMD not defined.
5195 2002-11-14 Marc Mengel <mengel@fnal.gov>
5197 New changer scripts for use with rait: code, run several other
5198 changers in tandem and return a rait: tape device. Makes fake
5199 amanda.conf files under AMANDA_DEBUGDIR for each changer used,
5202 * changer-src/chg-rait.sh.in: New file. Multi-changer script.
5203 * changer-src/chg-null.sh.in: New File. Null-device changer script.
5204 * docs/TAPE.CHANGERS: Descriptions of above.
5205 * configure.in: added above files.
5206 * changer-src/Makefile.am: Likewise.
5208 2002-11-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5209 Patch by Orion Poplawski <orion@colorado-research.com>
5211 * server-src/planner.c (delay_dumps): Add the estimate size to all call
5214 2002-11-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5216 * server-src/reporter.c: Increase width of some field.
5218 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5220 * changer-src/scsi-solaris.c (SCSI_ExecuteCommand): Init ret to 0.
5222 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5224 * recover-src/extract_list.c (delete_file): j is int.
5225 * changer-src/scsi-defs.h (B, B1): Check if already defined.
5226 * server-src/taper.c: Some cast to int.
5227 * tape-src/amdd.c (read_func, write_func): Complete prototype.
5228 * tape-src/tapeio.h (tapefd_read, tapefd_write): return ssize_t,
5229 third argument is size_t.
5230 * tape-src/tapeio.c: Ditto.
5231 * tape-src/output-file.h (file_tapefd_read, file_tapefd_write): return
5232 ssize_t, third argument is size_t.
5233 * tape-src/output-file.c: Ditto.
5234 * tape-src/output-null.h (null_tapefd_read, null_tapefd_write): return
5235 ssize_t, third argument is size_t.
5236 * tape-src/output-null.c: Ditto.
5237 * tape-src/output-rait.h (rait_read, rait__write): return ssize_t,
5238 third argument is size_t.
5239 * tape-src/output-rait.c: Ditto.
5240 * tape-src/output-tape.h (tape_tapefd_read, tape_tapefd_write): return
5241 ssize_t, third argument is size_t.
5242 * tape-src/output-tape.c: Ditto.
5244 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5246 * configure.in: socklen_t default to int.
5247 * common-src/dgram.c (dgram_recv): addrlen is socklen_t.
5248 * common-src/stream.c (stream_server): len is socklen_t.
5249 * recover-src/extract_list.c (add_file): j is int.
5251 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5253 * client-src/client_util.c (test_name_len) Remove variable.
5254 * common-src/match.c (len_prefix): Change type to int.
5255 * server-src/taper.c: Use %p to print pointer.
5256 * tape-src/amdd.c (read_func, write_func):Change return type to ssize_t.
5257 * tape-src/amdd.c (debug): Renamed to debug_amdd.
5258 * tape-src/ammt.c (debug): Renamed to debug_ammt.
5260 2002-11-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5262 * restore-src/amidxtaped.c: Fix restore from file.
5264 2002-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5266 * restore-src/amidxtaped.c: Fix newline in string literal.
5268 2002-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5270 * server-src/conffile.c (maxdumpsize): New option.
5271 * server-src/conffile.h: Ditto.
5272 * server-src/planner.c: Use maxdumpsize if set.
5273 * example/amanda.conf.in: Document it.
5274 * man/amanda.8.in: Document it.
5276 2002-11-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5278 * common-src/amfeatures.h (fe_amidxtaped_fsf, fe_amidxtaped_label,
5279 fe_amidxtaped_device, fe_amidxtaped_host, fe_amidxtaped_disk,
5280 fe_amidxtaped_datestamp, fe_amidxtaped_header, fe_amidxtaped_nargs,
5281 fe_amidxtaped_config): New features.
5282 * common-src/amfeatures.c (am_init_feature_set): Set new features.
5283 * recover-src/extract_list.c: Send new protocol data to amidxtaped.
5284 * restore-src/Makefile.am: amidxtaped.c need libamserver.
5285 * restore-src/amidxtaped.c: Read new protocol data from amrecover.
5286 * restore-src/amidxtaped.c: Use new configuration options.
5287 * server-src/conffile.c (conf_amrecover_do_fsf,
5288 conf_amrecover_check_label, conf_amrecover_changer): New config.
5289 * server-src/conffile.h: New config options.
5290 * example/amanda.conf.in: Document them.
5291 * man/amanda.8.in: Document them.
5293 2002-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5295 * autogen: touch config/config.h.in
5296 * configure.in: Patch from autoupdate-2.53 and LIBOBJS.
5297 * common-src/Makefile.am: Build versuff.o before version.o
5298 * recover-src/Makefile.am: Remove work around for automake-1.2
5300 2002-11-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5302 * configure.in: Remove --disable-libtool.
5303 * */Makefile.am: Remove WANT_LIBTOOL.
5305 2002-11-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5307 * changer-src/chg-scsi.c (config_name, config_dir): Remove declaration.
5308 * server-src/amadmin.c: Ditto.
5309 * server-src/amcheck.c: Ditto.
5310 * server-src/amcleanupdisk.c: Ditto.
5311 * server-src/amflush.c: Ditto.
5312 * server-src/amindexd.c: Ditto.
5313 * server-src/amlabel.c: Ditto.
5314 * server-src/amlogroll.c: Ditto.
5315 * server-src/amtape.c: Ditto.
5316 * server-src/amtrmidx.c: Ditto.
5317 * server-src/amtrmlog.c: Ditto.
5318 * server-src/chunker.c: Ditto.
5319 * server-src/diskfile.c: Ditto.
5320 * server-src/driver.c: Ditto.
5321 * server-src/dumper.c: Ditto.
5322 * server-src/getconf.c: Ditto.
5323 * server-src/planner.c: Ditto.
5324 * server-src/reporter.c: Ditto.
5325 * server-src/taper.c: Ditto.
5326 * server-src/conffile.c (config_name, config_dir): Add declaration.
5328 2002-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5330 * man/amrestore.8: Amrestore doesn't use a changer.
5332 2002-11-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5334 * configure.in (SHELL): Don't set it, libtool do it.
5336 2002-10-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5338 * config/ltmain.sh, config/libtool.m4i: Update from libtool 1.4.3.
5340 2002-10-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5342 * restore-src/amrestore.c: New '-l <label>' flag, Do a rewind and
5343 check the label before restoring.
5344 * man/amrestore.8: Document -l flag.
5346 2002-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5348 * configure.in (AM_HAVE_MT_FLAGS, AM_HAVE_MT_FILENO, AM_HAVE_MT_BLKNO,
5349 AM_HAVE_MT_DSREG,AM_HAVE_MT_ERREG): Rename to HAVE_MT_FLAGS,
5350 HAVE_MT_FILENO, HAVE_MT_BLKNO, HAVE_MT_DSREG and HAVE_MT_ERREG.
5351 * tape-src/output-tape.c: Ditto.
5353 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5354 Undo patch of 2002-10-24. They are needed by amrecover.
5356 * client-src/getfsent.h (open_fstab, close_fstab, get_fstab_nextentry,
5357 is_local_fstype): Add Prototype.
5358 * client-src/getfsent.c (open_fstab, close_fstab, get_fstab_nextentry,
5359 is_local_fstype): remove Prototype.
5361 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5362 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
5364 * tape-src/tapetype.c: Detects and warns the user if the tape drive
5365 has hardware compression enabled.
5367 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5369 * restore-src/amrestore.c: New '-f <fileno>' flag, Do a rewind and
5370 'fsf <fileno>' if -f is set.
5371 * man/amrestore.8: Document -f flag.
5373 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5375 * common-src/amfeatures.h (fe_amindexd_fileno_in_OLSD,
5376 fe_amindexd_fileno_in_ORLD): New amfeatures.
5377 * common-src/amfeatures.c (am_init_feature_set): Set
5378 fe_amindexd_fileno_in_OLSD and fe_amindexd_fileno_in_ORLD.
5379 * recover-src/amrecover.h (struct DIR_ITEM): Add fileno.
5380 * recover-src/display_commands.c (add_dir_list_item): Set fileno
5382 * recover-src/display_commands.c (suck_dir_list_from_server): Read
5383 fileno if fe_amindexd_fileno_in_OLSD is set.
5384 * recover-src/extract_list.c (struct EXTRACT_LIST): Add fileno.
5385 * recover-src/extract_list.c (add_file): Read fileno if
5386 fe_amindexd_fileno_in_ORLD is set.
5387 * recover-src/extract_list.c (delete_file): Read fileno if
5388 fe_amindexd_fileno_in_ORLD is set.
5389 * server-src/amindexd.c (opaque_ls): Write fileno if
5390 fe_amindexd_fileno_in_OLSD or fe_amindexd_fileno_in_ORLD are set.
5392 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5393 patch by Doug Kingston <dpk@pobox.com>
5395 * configure.in (NEED_PATH_ENV, IGNORE_UID_CHECK, IGNORE_FSTAB,
5396 DONT_SUID_ROOT): Defined if on *-pc-cygwin.
5397 * client-src/Makefile.am: Fix for cygwin.
5398 * client-src/getfsent.c: Don't use fstab if IGNORE_FSTAB.
5399 * client-src/killpgrp.c: Don't suid(0) if DONT_SUID_ROOT.
5400 * client-src/rundump.c: Don't suid(0) if DONT_SUID_ROOT.
5401 * client-src/runtar.c: Don't suid(0) if DONT_SUID_ROOT.
5402 * client-src/selfcheck.c (check_suid): Don't check uid if
5404 * common-src/alloc.c (safe_env): Add PATH to ENV if NEED_PATH_ENV.
5405 * recover-src/amrecover.c: Don't check uid if IGNORE_UID_CHECK.
5407 2002-10-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5409 * client-src/getfsent.h (open_fstab, close_fstab, get_fstab_nextentry,
5410 is_local_fstype): Remove Prototype.
5411 * client-src/getfsent.c (open_fstab, close_fstab, get_fstab_nextentry,
5412 is_local_fstype): Add Prototype.
5414 2002-10-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5416 * server-src/amindexd.c: New FEATURES command that read the features
5417 set from the client and reply the features set of the server.
5418 * recover-src/amrecover.h: include "amfeatures.h"
5419 * recover-src/amrecover.c: Send the FEATURES command to the server
5420 and read it's features set.
5422 2002-10-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5424 * client-src/Makefile.am: Work around for CYGWIN.
5425 * server-src/Makefile.am: Ditto.
5427 2002-10-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5429 * configure.in: Remove empty command from $program_transform_name.
5431 2002-10-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5433 * recover-src/extract_list.c (READ_TIMEOUT): Increased to 240*60.
5435 2002-09-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5437 * client-src/getfsent.c (open_fstab): Check if MNTTAB is defined.
5439 2002-09-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5441 * server-src/amverifyrun.sh.in: New program.
5442 * man/amverifyrun.8.in: Man page for amverifyrun.
5443 * configure.in (AC_OUTPUT): add man/amverifyrun.8 and
5444 server-src/amverifyrun.sh.
5445 * man/Makefile.am (SERVER_MAN_PAGES): Add amverifyrun.8.
5446 * man/amanda.8.in: Add amdd, ammt and amverifyrun in SEE ALSO.
5447 * man/amverify.8.in: Add amverifyrun(8) in SEE ALSO.
5448 * server-src/Makefile.am (sbin_SCRIPTS): Add amverifyrun.
5450 2002-09-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5452 * server-src/amverify.sh.in: Accept runtapes as a third argument.
5453 * man/amverify.8.in: Document it.
5455 2002-09-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5457 * config/missing: Updated from automake-1.5.
5459 2002-09-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5461 * config/config.guess: Updated from ftp://ftp.gnu.org/gnu/config/
5462 * config/config.sub: Updated from ftp://ftp.gnu.org/gnu/config/
5464 2002-09-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5466 * client-src/sendsize.c (getsize_dump): Print the fstype.
5467 * client-src/sendbackup-dump.c (start_backup): Print the fstype.
5469 2002-09-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5470 Patch by Florian Hars <hars@bik-gmbh.de>
5472 * changer-src/chg-zd-mtx.sh.in: Fix default value for cleancycle.
5474 2002-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5476 * recover-src/extract_list.c (extract_files): print tape drive
5477 and host before asking to load tape.
5479 2002-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5481 * server-src/taper.c (read_file): Initialize file,
5482 stat(file.cont_filename) before opening it.
5484 2002-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5486 * server-src/amverify.sh.in: Don't check that the device is
5487 a character device, it could be a file: or rait:
5489 2002-09-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5491 * common-src/amfeatures.c (am_set_default_feature_set):
5492 fe_rep_options_sendbackup_options is a default feature.
5494 2002-09-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5496 * server-src/amstatus.pl.in: Sort a disk in datestamp order.
5498 2002-09-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5499 Text by Jean-Francois Malouin <Jean-Francois.Malouin@bic.mni.mcgill.ca>
5501 * docs/EXCLUDE: Improve documentation.
5503 2002-09-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5505 * server-src/reporter.c: Fix compilation error if LPRCMD is not defined.
5507 2002-08-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5508 Patch by Jason Brooks <jason0@mail.wrs.com>
5510 * docs/chg-scsi.notes: New document.
5511 * changer-src/chg-scsi.c: Adding printout of "emubarcode" values
5513 * changer-src/scsi-changer-driver.c: Added dlt8000 and L500 to
5515 * changer-src/sense.c: Added dlt8000 and L500 to SenseType[].
5517 2002-08-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5519 * tape-src/output-null.c (null_tape_stat, null_tape_access): Use
5520 "/dev/null" instead of filename.
5522 2002-08-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5524 * changer-src/chg-mtx.sh.in: Sync with 2.4.3 branch.
5525 * changer-src/chg-scsi-chio.c: Ditto.
5526 * changer-src/chg-scsi.c: Ditto.
5527 * changer-src/scsi-aix.c: Ditto.
5528 * changer-src/scsi-bsd.c: Ditto.
5529 * changer-src/scsi-cam.c: Ditto.
5530 * changer-src/scsi-changer-driver.c: Ditto.
5531 * changer-src/scsi-defs.h: Ditto.
5532 * changer-src/scsi-hpux_new.c: Ditto.
5533 * changer-src/scsi-irix.c: Ditto.
5534 * changer-src/scsi-linux.c: Ditto.
5535 * changer-src/scsi-solaris.c: Ditto.
5536 * tape-src/tapeio.c: Ditto.
5538 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5540 * recover-src/uparse.y: Fix compiler warning.
5542 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5544 * server-src/amtrmidx.c: Continue if a directory doesn't exist.
5546 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5548 * man/amanda.8.in (tapecycle): Improve documentation.
5550 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5552 * server-src/amstatus.pl.in: Works with features.
5554 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5556 * common-src/amfeatures.c (am_feature_to_string): Return the string
5557 "UNKNOWNFEATURE" if no features.
5558 * common-src/amfeatures.c (am_string_to_feature): Return NULL if the
5559 string is "UNKNOWNFEATURE".
5561 2002-08-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5563 * common-src/file.c (debug_agets): line_free was badly set when
5564 the buffer size in increased.
5566 2002-07-19 John R. Jackson (jrj@purdue.edu)
5568 * common-src/amanda.h: Fix bad #define.
5570 2002-07-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5572 David Munro <D.Munro@surrey.ac.uk>
5574 * common-src/sl.c (new_sl): Alloc (sl_t) instead of (sl_t *).
5576 2002-06-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5578 Jonathan R. Johnson <Jonathan.Johnson@MinnetonkaSoftware.com>
5580 * server-src/reporter.c: Fix psfname filename.
5582 2002-05-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5584 * client-src/sendbackup.c: Don't do compression if it is server side.
5585 * client-src/sendbackup-dump.c: Ditto.
5586 * client-src/sendbackup-gnutar.c: Ditto.
5588 2002-05-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5589 Patch by Manuel Bouyer <bouyer@antioche.lip6.fr>
5591 * server-src/taper.c (detach_buffers): Fix compilation with mmap.
5593 2002-04-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5595 * recover-src/extract_list.c (extract_files): Set dump_device_name
5596 after the call of okay_to_continue.
5598 2002-04-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5600 New features to describe the OPTIONS line of a REP packet.
5601 * common-src/amfeatures.h: Add fetures fe_rep_options_maxdumps,
5602 fe_rep_options_hostname, fe_rep_options_features and
5603 fe_rep_options_sendbackup_options.
5604 * common-src/amfeatures.c (am_init_feature_set): Add
5605 fe_rep_options_features.
5606 * client-src/selfcheck.c: Write REP packet according to server features. * client-src/sendbackup.c: Ditto.
5607 * client-src/sendsize.c: Ditto.
5609 2002-04-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5611 * common-src/amfeatures.h:
5612 Rename fe_g_options_maxdump to fe_req_options_maxdumps
5613 Rename fe_g_options_hostname to fe_req_options_hostname
5614 Rename fe_g_options_features to fe_req_options_features
5615 * common-src/amfeatures.c: Ditto
5616 * server-src/amcheck.c: Ditto
5617 * server-src/dumper.c: Ditto
5618 * server-src/planner.c: Ditto
5620 2002-04-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5622 * server-src/amcheck.c: Check if it can send features, hostname or
5623 maxdumps on the global options line. Don't send hostname and
5624 maxdumps for a noop service.
5625 * server-src/dumper.c: Ditto.
5626 * server-src/planner.c: Ditto.
5628 2002-04-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5630 * client-src/sendbackup.c: (optionstr): Add srvcomp-best and
5631 srvcomp-fast options.
5633 2002-04-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5635 * server-src/amcheck.c (start_host): Check the todo bit before
5638 2002-04-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5640 * client-src/client_util.c (parse_options, parse_g_options): Check
5641 for duplication options.
5642 * client-src/client_util.h (COMPR_SERVER_FAST, COMPR_SERVER_BEST):
5644 * client-src/selfcheck.c: Check for COMPR_FAST or COMPR_BEST.
5646 2002-04-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5648 * client-src/selfcheck.c (host):Remove variable,use g_options->hostname.
5649 * client-src/sendbackup.c: Ditto.
5650 * client-src/sendsize.c: Ditto.
5652 2002-04-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5654 * client-src/client_util.c (parse_g_options) New function to parse
5655 the global options string.
5656 * client-src/client_util.h (parse_g_options): Prototype.
5657 * client-src/selfcheck.c: use parse_g_options.
5658 * client-src/sendbackup.c: use parse_g_options.
5659 * client-src/sendsize.c: use parse_g_options.
5661 2002-04-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5663 * server-src/diskfile.c: Improve message for missing features.
5665 2002-04-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5668 * common-src/amfeatures.c (am_set_default_feature_set): New function
5669 to set the default features set.
5670 * common-src/amfeatures.h (am_set_default_feature_set): Prototype.
5671 * common-src/amfeatures.h: Rename amanda_feature_auth_keyword to
5673 * client-src/client_util.c: Check features.
5674 * server-src/amcheck.c: Ditto.
5675 * server-src/diskfile.c: Ditto.
5676 * server-src/driverio.c: Ditto.
5677 * server-src/planner.c: Ditto.
5678 * server-src/diskfile.h (optionstr): Change prototype.
5679 * client-src/sendsize.c: Fix compiler warning.
5681 2002-04-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5683 * common-src/amfeatures.c: Include "amfeatures.h"
5684 * common-src/rsh-security.c: Don't assert on undefined variable.
5686 2002-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5688 * common-src/amfeatures.c: Renamed from features.c
5689 * common-src/amfeatures.h: Renamed from features.h
5690 * common-src/Makefile.am: Rename features to amfeatures.
5691 * client-src/amandad.c: Ditto.
5692 * client-src/client_util.h: Ditto.
5693 * client-src/selfcheck.c: Ditto.
5694 * client-src/sendbackup.c: Ditto.
5695 * client-src/sendsize.c: Ditto.
5696 * server-src/amcheck.c: Ditto.
5697 * server-src/chunker.h: Ditto.
5698 * server-src/diskfile.h: Ditto.
5699 * server-src/dumper.c: Ditto.
5700 * server-src/planner.c: Ditto.
5701 * server-src/taper.c: Ditto.
5703 2002-04-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5705 * server-src/conffile.c: Default dumporder set to "ttt".
5706 * server-src/driver.c: If dumporder is too short, use t and T.
5707 * man/amanda.8.in: Default dumporder set to "ttt".
5709 2002-04-13 John R. Jackson (jrj@purdue.edu)
5711 * common-src/features.c: Add amanda_feature_auth_keyword feature so
5712 authorization in the OPTIONS string is backward compatible.
5713 * common-src/features.h: Ditto.
5714 * client-src/client_util.c: Ditto.
5715 * client-src/client_util.h: Ditto.
5716 * client-src/selfcheck.c: Ditto.
5717 * client-src/sendbackup.c: Ditto.
5718 * client-src/sendsize.c: Ditto.
5719 * server-src/diskfile.c: Ditto.
5720 * server-src/planner.c: Fix compiler warning.
5722 2002-04-13 John R. Jackson (jrj@purdue.edu)
5724 * server-src/diskfile.c: Fix memory leak.
5726 2002-04-13 John R. Jackson (jrj@purdue.edu)
5728 * server-src/amcheck.c: Fix error parsing in packet.
5730 2002-04-13 John R. Jackson (jrj@purdue.edu)
5732 * common-src/features.c: New file. Add support for feature sets so
5733 different Amanda versions can work together.
5734 * common-src/features.h: Ditto.
5735 * common-src/Makefile.am: Ditto. Add "features" test program.
5736 * client-src/amandad.c: Add "noop" service to return the feature set.
5737 * client-src/selfcheck.c: Accept and return a feature set in OPTIONS.
5739 * client-src/sendbackup.c: Ditto.
5740 * client-src/sendsize.c: Ditto.
5741 * common-src/bsd-security.c: Minor message change.
5742 * common-src/error.c: Use strcasecmp.
5743 * common-src/protocol.c: Use dbprintf for PROTO_DEBUG and improve
5745 * restore-src/amidxtaped.c: Improve parsing.
5746 * server-src/amcheck.c: Ask for client features via "noop" before
5747 doing the real "selfcheck" service requests. Improve parsing.
5748 * server-src/amflush.c: Minor coding format cleanup.
5749 * restore-src/amindexd.c: Improve parsing.
5750 * server-src/chunker.c: Deal with features string in commands. Improve
5752 * server-src/diskfile.c: Initialize the features hosttype field.
5753 * server-src/diskfile.h: Add the features hosttype field.
5754 * server-src/driver.c: Save the features from the schedule. Clean
5755 up some error messages.
5756 * server-src/driverio.c: Add features string to several commands.
5757 * server-src/dumper.c: Deal with features string in commands. Improve
5759 * server-src/planner.c: Ask for client features via "noop" before
5760 doing the real "sendsize" service requests. Improve parsing.
5761 * server-src/server_util.c: Minor coding cleanup.
5762 * server-src/server_util.h: Increase the number of args allowed on
5764 * server-src/taper.c: Deal with features string in commands. Improve
5767 2002-04-12 John R. Jackson (jrj@purdue.edu)
5769 * server-src/driver.c: Fix crash when only processing a tape queue
5772 2002-04-11 John R. Jackson (jrj@purdue.edu)
5774 * server-src/driver.c: Protect against crash when taper has died.
5776 2002-04-11 John R. Jackson (jrj@purdue.edu)
5778 * common-src/stream.c: Clean up an error message.
5780 2002-04-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5782 * docs/DUMPER-API: Remove the section about USER and GROUP.
5784 2002-04-09 John R. Jackson (jrj@purdue.edu)
5786 * server-src/driver.c: Fix send of QUIT to taper when it is down.
5788 2002-04-07 John R. Jackson (jrj@purdue.edu)
5790 * server-src/dumper.c: Change sendbackup response parsing to handle
5791 2.4 changes. Improve packet parse error processing. Make packet
5792 logging conditional on an #ifdef instead of commented out.
5794 2002-04-07 John R. Jackson (jrj@purdue.edu)
5796 * client-src/amandad.c: Fix FORCE_USERID to run the service as the
5797 client user if amandad was started as root.
5799 2002-04-07 John R. Jackson (jrj@purdue.edu)
5801 * common-src/clock.c: Move definition of amanda_gettimeofday() macro
5802 to the header file so it could be used other places. Use new
5803 amanda_timezone macro to avoid some #ifdef's.
5804 * common-src/clock.h: Ditto.
5805 * common-src/bsd-security.c: Fix compatibility problems with pre-2.5
5806 servers trying to talk to 2.5 clients. The HANDLE value was not
5807 being properly handled, and the sequence number was being ignored.
5809 2002-04-07 John R. Jackson (jrj@purdue.edu)
5811 * server-src/reporter.c: Move column routines to conffile.c so amcheck
5812 can use them in its tests. Do not abort on several failures, but
5813 generate messages in the FAILURE AND STRANGE DUMP SUMMARY section.
5814 * server-src/conffile.c: Move column routines to here.
5815 * server-src/conffile.h: Ditto.
5816 * server-src/amcheck.c: Add several config file tests.
5817 * server-src/logfile.c: Change "reporter" to "amreport".
5819 2002-04-07 John R. Jackson (jrj@purdue.edu)
5821 * configure.in: Add /usr/local/sbin to LOCPATH.
5823 2002-03-31 John R. Jackson (jrj@purdue.edu)
5825 * server-src/amcheck.c: Send maxdumps and hostname in packet OPTIONS.
5827 2002-03-31 John R. Jackson (jrj@purdue.edu)
5829 * changer-src/scsi-defs.h: Fix compiler warning and bug it was hiding.
5830 * changer-src/scsi-solaris.c: Ditto.
5832 2002-03-31 John R. Jackson (jrj@purdue.edu)
5834 * client-src/amandad.c: Fix arguments to pkt_cat.
5835 * common-src/bsd-security.c: Ditto.
5837 2002-03-31 John R. Jackson (jrj@purdue.edu)
5839 * client-src/amandad.c: Add relative timestamps to a lot of debug
5840 file messages, and add more messages, to better track what is
5841 going on. Various general cleanup.
5842 * client-src/calcsize.c: Ditto.
5843 * client-src/client_util.c: Ditto.
5844 * client-src/selfcheck.c: Ditto.
5845 * client-src/sendbackup-dump.c: Ditto.
5846 * client-src/sendbackup-gnutar.c: Ditto.
5847 * client-src/sendbackup.c: Ditto.
5848 * client-src/sendbackup.h: Ditto.
5849 * client-src/sendsize.c: Ditto.
5850 * common-src/amanda.h: Ditto.
5851 * common-src/bsd-security.c: Ditto.
5852 * common-src/clock.c: Ditto.
5853 * common-src/clock.h: Ditto.
5854 * common-src/debug.c: Ditto.
5855 * common-src/dgram.c: Ditto.
5856 * common-src/error.c: Ditto.
5857 * common-src/file.c: Ditto.
5858 * common-src/pipespawn.c: Ditto.
5859 * common-src/stream.c: Ditto.
5860 * common-src/util.c: Ditto.
5861 * man/amanda.8.in: Ditto.
5862 * restore-src/amidxtaped.c: Ditto.
5863 * restore-src/amrestore.c: Ditto.
5864 * server-src/amindexd.c: Ditto.
5865 * server-src/getconf.c: Ditto.
5866 * server-src/planner.c: Ditto.
5868 2002-03-31 John R. Jackson (jrj@purdue.edu)
5870 * client-src/sendsize.c: Pay attention to the spindle number.
5872 2002-03-30 John R. Jackson (jrj@purdue.edu)
5874 * server-src/planner.c: General delay_dumps code cleanup.
5876 2002-03-30 John R. Jackson (jrj@purdue.edu)
5878 * server-src/planner.c: Make sure individual dumps larger than a tape
5879 are not added back into the schedule. Found by Uncle George
5880 <gatgul@voicenet.com>.
5882 2002-03-29 John R. Jackson (jrj@purdue.edu)
5884 * man/amanda.8.in: Move "comment" in tapetype after inclusion of
5885 previous definition. Found by Uncle George <gatgul@voicenet.com>.
5887 2002-03-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5889 * client-src/client_util.c (fixup_relative): New function to prepend
5890 the dirname if relative.
5891 * client-src/client_util.c (build_exclude, build_include): Use
5893 * client-src/client_util.c (parse_options): Do not prepend the dirname.
5894 * client-src/selfcheck.c (check_options): Don't generate ERROR for samba
5897 2002-03-24 John R. Jackson (jrj@purdue.edu)
5899 * common-src/debug.c: Change dbopen() message slightly to match what
5900 amdump generates, making it easier to parse.
5902 2002-03-24 John R. Jackson (jrj@purdue.edu)
5904 * common-src/Makefile.am: Move clock routines to common-src so
5905 everyone may use them.
5906 * server-src/Makefile.am: Ditto.
5908 2002-03-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5910 * client-src/sendbackup-gnutar.c: Fix use of no_record.
5912 2002-03-24 John R. Jackson (jrj@purdue.edu)
5914 * client-src/amandad.c: Make sure argv[0] is valid before using it.
5915 * restore-src/amidxtaped.c: Ditto.
5916 * server-src/amindexd.c: Ditto.
5918 2002-03-24 John R. Jackson (jrj@purdue.edu)
5920 * client-src/client_util.c: Use the Amanda memory allocation code.
5921 * client-src/sendbackup-gnutar.c: Ditto.
5922 * client-src/sendsize.c: Ditto.
5923 * common-src/match.c: Ditto.
5924 * recover-src/amrecover.c: Ditto.
5925 * recover-src/display_commands.c: Ditto.
5926 * recover-src/extract_list.c: Ditto.
5927 * restore-src/amidxtaped.c: Ditto.
5928 * server-src/amflush.c: Ditto.
5929 * server-src/disk_history.c: Ditto.
5930 * server-src/driver.c: Ditto.
5931 * server-src/dumper.c: Ditto.
5932 * common-src/amanda.h: Always pass the source file and line number
5933 to the memory routines to make it easier to debug.
5934 * common-src/alloc.c: Ditto.
5935 * common-src/file.c: Ditto.
5937 2002-03-23 John R. Jackson (jrj@purdue.edu)
5939 * changer-src/chg-scsi-chio.c: Use agets instead of fgets.
5940 * changer-src/chg-scsi.c: Use agets instead of fgets.
5941 * client-src/client_util.c: Use agets instead of fgets.
5942 * recover-src/amrecover.c: Clean up output on EOF.
5943 * recover-src/extract_list.c: Use agets instead of direct stdio.
5944 Clean up output on EOF. Add '?' help.
5945 * recover-src/set_commands.c: Quote the new device in the verify
5946 output to make it stand out.
5947 * server-src/amflush.c: Clean up output on EOF. Clean up output
5948 when multiple holding disk areas selected. Clean up parsing.
5949 Loop until valid user response.
5950 * server-src/find.c: Do not complain if log file is missing for
5951 a new (datestamp == 0) tape.
5952 * server-src/holding.c: Use agets instead of fgets. Clean up
5953 interactive input and output.
5955 2002-03-23 John R. Jackson (jrj@purdue.edu)
5957 * client-src/selfcheck.c: Fix a compiler warning.
5958 * client-src/sendbackup.c: Ditto.
5959 * client-src/sendsize.c: Ditto.
5961 2002-03-23 John R. Jackson (jrj@purdue.edu)
5963 * client-src/getfsent.c (close_fstab()): Call endfsent() instead
5964 of fclose(), if available.
5966 2002-03-23 John R. Jackson (jrj@purdue.edu)
5968 * common-src/dbprintf (debug_printf): Make sure errno is preserved
5969 across dbprint() calls.
5971 2002-03-23 John R. Jackson (jrj@purdue.edu)
5973 * configure.in: Add -R$dir as well as -L$dir on Solaris when processing
5974 --with-libraries to support shared libraries of support products.
5976 2002-03-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5978 * server-src/chunker.c: Get result from dumper.
5979 * server-src/driver.c: Send dumper result to chunker.
5980 * server-src/driverio.c (chunker_cmd): Send DONE and FAILED command.
5981 * server-src/driverio.h (chunker_t): New down field.
5982 * server-src/dumper.c: Cleanup.
5983 * server-src/logfile.c (logtype_str): Add "PARTIAL".
5984 * server-src/logfile.h (logtype_e): Add L_PARTIAL log.
5985 * server-src/reporter.c: Handle PARTIAL log.
5986 * server-src/server_util.c (cmdstr): Add "PARTIAL".
5987 * server-src/server_util.h (cmd_t): Add PARTIAL command.
5988 * server-src/taper.c (read_file): Result is PARTIAL if dumper
5991 2002-03-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5993 * server-src/tapefile.c (write_tapelist): Write to a temp file and
5995 * server-src/amlabel.c: Do not rename the tapelist file.
5996 * server-src/taper.c (label_tape): Do not rename the tapelist file.
5998 2002-03-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6000 * client-src/client_util.c (parse_options): Do not check if the
6001 exclude file exist, it's done later.
6003 2002-03-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6005 * client-src/client_util.c (parse_options): Parse exclude-optional and
6007 * client-src/client_util.h (option_t): New exclude_optional and
6008 include_optional field.
6009 * man/amanda.8.in: Document optional.
6010 * server-src/amadmin.c (disklist_one): Display optional.
6011 * server-src/conffile.c: Parse optional keyword.
6012 * server-src/conffile.h (dumptype_t): New exclude_optional and
6013 include_optional field.
6014 * server-src/diskfile.c (read_diskline): Copy optional bits.
6015 * server-src/diskfile.c (optionstr): Print optional bits.
6016 * server-src/diskfile.h (disk_t): New exclude_optional and
6017 include_optional field.
6018 * server-src/planner.c (getsize): Use new sendsize format if optional
6021 2002-03-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6023 * server-src/driver.c (dump_to_tape): Call start_degraded_mode() if
6026 2002-03-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6028 * recover-src/extract_list.c (extract_files_setup): Add ^$ to host.
6030 2002-03-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6031 Patch from Michael Frankowski <mfrankow@winternet.com>
6033 * client-src/sendbackup-gnutar.c: Test for subdir before dbprintf.
6035 2002-03-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6037 * client-src/client_util.c (init_options): New function.
6038 * client-src/client_util.h (init_options): Prototype.
6039 * client-src/sendsize.c (main): Use init_options.
6041 2002-03-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6043 * client-src/client-util.c: Check for include and exclude files.
6045 2002-03-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6047 * server-src/amstatus.pl.in: Fix.
6048 * server-src/conffile.c(get-compress): Change message for bad
6051 2002-03-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6053 * server-src/amstatus.pl.in: Fix.
6054 * client-src/client_util.c (parse_options): Parse auth= option.
6055 * client-src/client_util.h (option_t): Add auth field.
6056 * client-src/sendbackup.c: Use auth instead of bsd-auth.
6057 * client-src/sendsize.c: Init auth.
6059 2002-03-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6061 * client-src/sendbackup-dump.c: use amdevice as argument to
6063 * client-src/sendsize.c: Use amdevice as argument to amname_to_dirname.
6064 * server-src/dumper.c: clear device if it is set to NODEVICE.
6066 2002-03-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6068 * server-src/amindexd.c: Compilation fix.
6070 2002-03-07 John R. Jackson (jrj@purdue.edu)
6072 * changer-src/chg-zd-mtx.sh.in: Allow whitespace on a VolumeTag line.
6073 Compliments of Christopher McCrory <chrismcc@pricegrabber.com>.
6075 2002-03-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6077 * recover-src/amrecover.h (list_disk): Prototype.
6078 * recover-src/set_commands.c (list_disk): New function.
6079 * recover-src/uparse.y: parse LISTDISK.
6080 * recover-src/uscan.l: listdisk keyword.
6081 * recover-src/help.c: help for listdisk.
6082 * man/amrecover.8.in: Doc for listdisk.
6083 * server-src/amindexd.c: New LISTDISK command.
6084 * docs/INDEXING: Document LISTDISK command.
6086 2002-03-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6088 * server-src/amstatus.pl.in: Better output for autoflush.
6090 2002-03-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6092 * server-src/amstatus.pl.in: Fix.
6094 2002-03-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6096 * server-src/amadmin.c (disklist_one): Print dp->device.
6097 * server-src/amcheck.c (start_host): Send device if specified.
6098 * server-src/amstatus.pl.in: Parse line with device.
6099 * server-src/diskfile.c (parse_diskline): Parse device.
6100 * server-src/diskfile.c (match_disklist): Match on device.
6101 * server-src/diskfile.h (disk_t): New field device.
6102 * server-src/driverio.c: (dumper_cmd): Send device.
6103 * server-src/dumper.c (main): Parse device in request.
6104 * server-src/dumper.c (start_dump): New device argument, send
6106 * server-src/planner.c (getsize): Send device to client.
6107 * server-src/server_util.h (MAX_ARGS): Set it to 12.
6108 * client-src/client_util.c (add_include, build_exclude, build_include,
6109 parse_options): New device argument.
6110 * client-src/client_util.h (build_exclude,build_include,parse_options):
6112 * client-src/selfcheck.c: Use device.
6113 * client-src/sendbackup-dump.c: Use device.
6114 * client-src/sendbackup-gnutar.c: Use device.
6115 * client-src/sendbackup.c: Use device.
6116 * client-src/sendbackup.h (start_backup): New device argument.
6117 * client-src/sendsize.c: Use device.
6118 * man/amanda.8.in: Document new disklist syntax.
6119 * example/disklist: Give example.
6121 2002-03-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6123 * server-src/amstatus.pl.in: Write "wait to flush" only if waittaper
6126 2002-03-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6128 * server-src/amstatus.pl.in: Fix for failed tape.
6130 2002-02-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6132 * man/amanda.8.in: Document multiple exclude.
6133 * man/amanda.8.in: Document include.
6135 2002-02-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6137 * client-src/client-util.c (add_include): Include are glob expression.
6139 2002-02-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6141 * common-src/debug.c (debug_open); Don't try to renmae an already
6144 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6146 * server-src/conffile.c (dump_configuration): Print multiple
6147 exclude and include.
6149 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6151 * client-src/client_util.c (add_exclude, add_include): Typo.
6153 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6155 * client-src/client_util.c (build_include, build_exclude): Fix for
6158 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6160 * client-src/client_util.c (get_name): Create a file name.
6161 * client-src/client_util.c (build_name): Remove old files,
6162 build an unused file name.
6163 * client-src/client_util.c (add_exclude): Add an exclude pattern to
6165 * client-src/client_util.c (add_include): Add an include to the
6167 * client-src/client_util.c (build_exclude): Concat all excludes in
6169 * client-src/client_util.c (build_include): Concat all includes in
6171 * client-src/client_util.h (build_exclude, build_include): Prototype.
6172 * client-src/selfcheck.c.diff (check_options): Call build_exclude
6174 * client-src/sendsize.c.diff: Call gtar with one
6175 exclude file/include file.
6176 * client-src/sendbackup-gnutar.c.diff: Call gtar with one
6177 exclude file/include file.
6179 2002-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6181 * common-src/amanda.h (amfree): Change e local variable to e__errno.
6182 * common-src/amanda.h (strappend): Change t local variable to t_t_t.
6184 2002-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6186 * client-src/sendsize.c: Set include_file and include_list to NULL
6187 when using old protocol.
6188 * client-src/sendbackup-gnutar.c: Include "." when using old protocol.
6190 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6192 * server-src/conffile.h (dumptype_t): Add include_file and include_list.
6193 * server-src/conffile.c: Read include.
6194 * server-src/diskfile.h (disk_t): Add include_file and include_list.
6195 * server-src/diskfile.c (optionstr): Add include to the optionstr.
6196 * server-src/amadmin.c (disklist_one): Print include.
6197 * server-src/planner.c: Use new protocol if include is used.
6198 * client-src/client_util.h (option_t): Add include_file and include_list
6199 * client-src/client_util.c (parse_options): Parse include.
6200 * client-src/selfcheck.c (check_options): Print ERROR if include are
6201 used for SAMBA or DUMP.
6202 * client-src/sendsize.c: Send include to gnutar.
6203 * client-src/sendbackup-gnutar.c: Send include to gnutar.
6205 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6207 * client-src/client_util.c (parse_options): Check that files from
6208 'exclude list' exist'.
6209 * client-src/selfcheck.c (check_options): Give ERROR if multiple
6210 exclude are used with samba or if exclude are used with DUMP.
6212 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6214 * client-src/sendbackup.h: Remove bad stuff introduced in previous
6216 * client-src/sendbackup-gnutar.c: Ditto.
6218 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6220 * client_src/client_util.c (parse_options): Function to parse
6222 * client_src/client_util.h (parse_options): Prototype.
6223 * client_src/client_util.h (option_t): Struct for options.
6224 * client_src/Makefile.am: Compile client_util.
6225 * client_src/selfcheck.c: Use new option_t and multiple exclude.
6226 * client_src/sendbackup.h: Use new option_t and multiple exclude.
6227 * client_src/sendbackup.c: Use new option_t and multiple exclude.
6228 * client_src/sendbackup-dump.c: Use new option_t and multiple exclude.
6229 * client_src/sendbackup-gnutar.c: Use new option_t and multiple exclude.
6230 * client_src/sendsize.c: Use new option_t and multiple exclude.
6231 * server-src/conffile.h: Use sl_t for exclude_file and exclude_list.
6232 * server-src/conffile.c: Multiple exclude.
6233 * server-src/diskfile.h: Use sl_t for exclude_file and exclude_list.
6234 * server-src/diskfile.c: Multiple exclude.
6235 * server-src/planner.c: Multiple exclude.
6237 2002-02-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6239 * common-src/pipespawn.c (pipespawnv): Typo, ap_snprintf -> snprintf.
6241 2002-02-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6243 * common-src/pipespawn.c (pipespawnv): New funtion taking an
6245 * common-src/pipespawn.h (pipespawnv): Prototype.
6247 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6249 * server-src/holding.h: Use sl_t instead of holding_t
6250 * server-src/holding.c: Ditto.
6251 * server-src/amcleanupdisk.c: Ditto.
6252 * server-src/amflush.c: Ditto.
6253 * server-src/find.c: Ditto.
6254 * server-src/planner.c: Ditto.
6256 2002-02-11 John R. Jackson (jrj@purdue.edu)
6258 * configure.in: AIX needs the "other" getconf argument to find out
6259 about large file support (XBS5_ILP32_OFFBIG instead of LFS).
6261 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6263 * common-src/sl.h: New header file
6264 * common-src/sl.c: New file for list of string struct.
6265 * common-src/Makefile.am: Compile sl.c
6267 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6269 * changer-src/chg-zd-mtx.sh.in: Don't use '^' in expr match argument.
6271 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6273 * common-src/fileheader.c (build_header): Typo.
6275 2002-02-10 John R. Jackson (jrj@purdue.edu)
6277 * configure.in: Add new file-pad tapetype option to take the place
6278 of a positive/negative blocksize. Blocksize may now only be
6279 positive. File-pad defaults to "true" which pads the last tape
6280 record like it always has.
6281 * man/amanda.8.in: Ditto.
6282 * server-src/amlabel.c: Ditto.
6283 * server-src/conffile.c: Ditto. Fix typo in conffile test program.
6284 * server-src/conffile.h: Ditto.
6285 * server-src/planner.c: Ditto.
6286 * server-src/taper.c: Ditto.
6288 2002-02-10 John R. Jackson (jrj@purdue.edu)
6290 * configure.in: Save the ./configure args and display them in the
6291 version string (e.g. amandad*debug and "amadmin xx version").
6292 * common-src/genversion.c: Ditto.
6294 2002-02-10 John R. Jackson (jrj@purdue.edu)
6296 * common-src/alloc.c: Fix type mismatch issues discovered by splint
6297 (www.splint.org). Compliments of jens persson <jens@persson.cx>.
6298 * common-src/bsd-security.c: Ditto.
6299 * common-src/debug.c: Ditto.
6300 * common-src/dgram.c: Ditto.
6301 * common-src/file.c: Ditto.
6302 * common-src/fileheader.c: Ditto.
6303 * common-src/fileheader.h: Ditto.
6304 * common-src/genversion.c: Ditto.
6305 * common-src/getcwd.c: Ditto.
6306 * common-src/match.c: Ditto.
6307 * common-src/stream.c: Ditto.
6308 * common-src/strstr.c: Ditto.
6309 * common-src/token.c: Ditto.
6310 * recover-src/amrecover.c: Ditto.
6311 * recover-src/display_commands.c: Ditto.
6312 * recover-src/extract_list.c: Ditto.
6313 * recover-src/set_commands.c: Ditto.
6314 * server-src/reporter.c: Ditto.
6316 2002-02-10 John R. Jackson (jrj@purdue.edu)
6318 * changer-src/chg-zd-mtx.sh.in: Major cleanup and general overhaul.
6319 * docs/TAPE.CHANGERS: Cleanup.
6321 2002-02-09 John R. Jackson (jrj@purdue.edu)
6323 * common-src/arglist.h: Clean up gcc detection of printf style variable
6324 argument list functions.
6325 * changer-src/scsi-changer-driver.c: Ditto.
6326 * common-src/debug.c: Ditto.
6327 * common-src/dgram.c: Ditto.
6328 * common-src/error.c: Ditto.
6329 * common-src/packet.c: Ditto.
6330 * common-src/packet.h: Ditto.
6331 * common-src/security.c: Ditto.
6332 * common-src/snprintf.c: Ditto.
6333 * common-src/token.c: Ditto.
6334 * common-src/token.h: Ditto.
6335 * server-src/amindexd.c: Ditto.
6336 * server-src/conffile.c: Ditto.
6337 * server-src/diskfile.c: Ditto.
6338 * server-src/logfile.c: Ditto.
6339 * server-src/logfile.h: Ditto.
6340 * server-src/server_util.c: Ditto.
6342 2002-02-09 John R. Jackson (jrj@purdue.edu)
6344 * configure.in: Must look in both strings.h and string.h when trying
6345 to find function declarations (strncasecmp was not found on AIX
6346 but is really there and our override caused a mismatch error).
6348 2002-02-09 John R. Jackson (jrj@purdue.edu)
6350 * configure.in: Add code to test for a type defined in other than the
6351 autoconf expected locations. Use it to look for socklen_t.
6353 2002-02-08 John R. Jackson (jrj@purdue.edu)
6355 * server-src/amadmin.c (check_dumpuser): Make it fatal to attempt to
6356 do an operation that would alter any files when run as someone other
6357 than the dump user from amanda.conf. This should prevent files from
6358 ending up with incorrect ownership.
6360 2002-02-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6362 * man/amrecover.8.in (settape): Document that the hostname is required
6363 if the protocol (tape:, file:, rait:, null:) is specified.
6364 * man/amrecover.8.in (settape): Document that it is posible to
6365 change the tape device when asked to load tape.
6367 2002-02-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6369 * server-src/holding.c (scan_holdingdir): Create the list in
6372 2002-02-02 John R. Jackson (jrj@purdue.edu)
6374 * configure.in: Add unistd.h to list of places to look for ruserok()
6375 declaration. Reported by John Koenig <jfkoenig@vipb.com> on ALPHA
6378 2002-02-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6379 Reported by Roland E. Lipovits <rel@lipo.at0.net>
6381 * server-src/amstatus.pl.in: Don't double-counts the failed
6382 estimate partitions.
6384 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6386 * configure.in: New --with-maxtapeblocksize with a default of 32.
6387 * common-src/amanda.h: MAX_TAPE_BLOCK_KB is defined in amanda.h
6389 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6391 * common-src/fileheader.c (build_header): Never write the
6393 * common-src/fileheader.c (parse_file_header): Do not parse the
6396 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6398 * common-src/fileheader.c (build_header): Write the BLOCKSIZE= line
6399 after the dd if=... line.
6401 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6403 * server-src/driver.c: Init code to 0.
6405 2002-01-29 John R. Jackson (jrj@purdue.edu)
6407 * tape-src/output-tape.c (tape_tapefd_fsf): Some systems cannot deal
6408 with large stack variables, so allocate tape I/O buffers dynamically.
6409 * tape-src/tapeio.c (tapefd_rdlabel): Ditto.
6411 2002-01-25 John R. Jackson (jrj@purdue.edu)
6413 * server-src/driver.c: Log non-zero exit codes and signals from all
6414 the dumpers and taper.
6416 2002-01-25 John R. Jackson (jrj@purdue.edu)
6418 * server-src/amindexd.c: Clean up reporting of errors by gethostby*()
6419 functions. Make sure they always report what they were trying to
6420 look up, and don't bother reporting errno (it would be h_errno).
6422 2002-01-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6424 * common-src/fileheader.h (dumpfile_t): Add blocksize field.
6425 * common-src/fileheader.h (build_header): Change prototype.
6426 * common-src/fileheader.c (fh_init): blocksize default to
6428 * common-src/fileheader.c (parse_file_header): Parse BLOCKSIZE= line.
6429 * common-src/fileheader.c (build_header): Remove blocksize parameter,
6430 write the BLOCKSIZE= line.
6431 * tape-src/tapeio.c: set file.blocksize, Change call to build_header.
6432 * restore-src/amrestore.c: Ditto.
6433 * server-src/dumper.c: Ditto.
6434 * server-src/taper.c: Ditto.
6435 * server-src/holding.c: Ditto.
6436 * server-src/chunker.c: Ditto.
6438 2002-01-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6440 * changer-src/scsi-changer-driver.c (SCSI_ReadElementStatus):
6443 2002-01-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6445 * server-src/planner.c: Check for dp->todo.
6447 2002-01-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6448 Patch by Harlan Stenn <Harlan.Stenn@pfcs.com>
6450 * changer-src/chg-scsi.c: Typo.
6452 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6454 * changer-src/Makefile.am: Run `perl -c' on perl script.
6455 * client-src/Makefile.am: Ditto.
6456 * dumper-src/Makefile.am: Ditto.
6457 * server-src/Makefile.am: Ditto.
6459 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6460 Reported by Geert Uytterhoeven <geert@linux-m68k.org>
6462 * README: Amanda compile on Linux/m68k.
6464 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6466 * changer-src/chg-rth.pl.in: Typo. fi -> }.
6468 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6469 Patch by Harlan Stenn <Harlan.Stenn@pfcs.com>
6471 * changer-src/chg-chio.pl.in: Typo. fi -> }.
6472 * changer-src/chg-chio.pl.in (prefix, exec_prefix): Set correctly.
6473 * changer-src/chg-chio.pl.in (max_picker): Init to -1.
6475 2002-01-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6477 * recover-src/extract_list.c (okay_to_continue_tape): Ignore \n
6480 2002-01-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6482 * server-src/amoverview.pl.in: Ignore some line from amadmin.
6484 2002-01-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6486 * common-src/event.c: Use ASSERTIONS not ASSERT.
6488 2002-01-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6490 * tape-src/output-tape.c (tape_tapefd_rewind, tape_tapefd_unload):
6492 * changer-src/scsi-irix.c (SCSI_OpenDevice): Cast to int.
6493 * common-src/match.c (clean_regex): Cast to int.
6495 2002-01-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6496 Reported by <ian.willis@sge.net>
6498 * common-src/rsh-security.c: Fix for RSH_DEBUG.
6500 2001-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6502 * config/ltconfig: Remove
6503 * config/ltmain.sh, config/libtool.m4i: Update from libtool 1.4.2.
6504 * config/config.guess: Update from
6505 ftp://ftp.gnu.org/gnu/config/config.guess
6506 * config/config.sub: Update from
6507 ftp://ftp.gnu.org/gnu/config/config.sub
6508 * config/depcomp, config/install-sh, config/missing,
6509 config/mkinstalldirs: Update from automake 1.5
6510 * config/Makefile.am (EXTRA_DIST): Remove ltconfig.
6512 2001-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6513 Patch by Harlan Stenn <Harlan.Stenn@pfcs.com>
6515 * configure.in: Add missing [.
6517 2001-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6518 Patch by Jason Thomas <jason@topic.com.au>
6519 and Eric Siegerman <erics@telepres.com>
6521 * common-src/bsd-security.c (check_user_amandahosts): improve message.
6523 2001-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6525 * server-src/driver.c: Do not go in degraded mode in nodump mode.
6526 * server-src/conffile.c:Check many options to be sure they are positive.
6528 2001-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6530 * changer-src/chg-scsi.c (get_relative_target): return -1;
6531 * changer-src/scsi-irix.c (SCSI_ExecuteCommand): Remove Zero variable.
6532 * common-src/amanda.h: include strings.h if HAVE_STRINGS_H is defined.
6533 * server-src/amadmin.c (info_one): Remove lev0date variable.
6534 * server-src/amadmin.c (import_db): Remove vers_comment variable.
6535 * server-src/amindexd.c (main): Remove arg_len variable.
6536 * server-src/amtrmidx.c (main): Remove level_position and
6537 datestamp_position variables.
6538 * server-src/changer.c (changer_current): Remove checked variable.
6539 * server-src/conffile.c (read_confline): Check value of RESERVE.
6540 * server-src/conffile.c (get_tapetype): Check value of LENGTH and
6542 * server-src/diskfile.h: bit field of 1 bit must be unsigned.
6543 * server-src/driver.c (main): Don't check the value of RESERVE.
6544 * server-src/driver.c (find_diskspace): Remove as_pref variable.
6545 * server-src/driverio.c (getresult): cast cmd_t.
6546 * server-src/chunker.c (databuf_flush): save_type is a filetype_t.
6547 * server-src/find.c (search_logfile): Remove host_undo_ch and
6548 disk_undo_ch variables.
6549 * server-src/holding.c (pick_datestamp): Remove result variable.
6550 * server-src/server_util.c (getcmd): Loop on a cmd_t variable.
6551 * server-src/taper.c (tape_writer_side): Remove out_open variable.
6552 * tape-src/tapeio.c (tapefd_close): Cast to (void *).
6554 2001-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6556 * client-src/selfcheck.c: Fix compiler warning.
6557 * changer-src/chg-scsi.c: Ditto.
6558 * changer-src/scsi-changer-driver.c: Ditto.
6559 * changer-src/scsi-defs.h: Ditto.
6560 * server-src/server_util.c: Ditto.
6561 * common-src/fileheader.c: Ditto.
6563 2001-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6565 * configure.in: Set MAX_TAPE_BLOCK_KB on linux
6567 2001-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6568 Patch by Blaz Zupan <blaz@amis.net>
6570 * changer-src/chg-zd-mtx.sh.in: typo.
6572 2001-12-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6574 * client-src/selfcheck.c (check_access): New function (old check_file
6576 * client-src/selfcheck.c (check_file): Check that the filename is a
6578 * client-src/selfcheck.c (check_dir): Check that dirname is a directory.
6580 2001-12-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6581 Patch by Henning Schmiedehausen <henning@forge.intermeta.de>
6583 * common-src/file.c (safe_cd): Create the AMANDA_DBGDIR and
6584 AMANDA_TMPDIR directory.
6586 2001-12-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6588 * server-src/amverify.sh.in: Check that @AMANDA_TMPDIR@ exist.
6589 * server-src/amrmtape.sh.in: Ditto.
6591 2001-12-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6593 * changer-src/Makefile.am: fix setting of libexec_PROGRAMS.
6595 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6597 * server-src/amstatus.pl.in: Work with amflush log.
6599 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6601 * server-src/driver.c (nodump): new argument, Don't start the dumpers
6603 * server-src/holding.c (get_flush): chdir to original cwd.
6604 * server-src/reporter.c: accept driver and amflush line in log.
6605 * server-src/amflush.c: exec driver to do the flushing.
6607 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6609 * server-src/amstatus.pl.in: Fixup for estimate, write flush line.
6611 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6613 * recover-src/extract_list.c: You can change the tape device
6616 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6618 * restore-src/amrestore.c (restore): try to find the next chunk
6619 in the current directory.
6621 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6623 * example/amanda.conf.in: typo.
6625 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6627 Patch by Roland E. Lipovits <rel@lipo.at0.net>
6628 * example/amanda.conf.in: typo.
6630 2001-12-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6632 * server-src/dumper.c, server-src/taper.c, server-src/chunker.c:
6633 Replace TRY_AGAIN by TRYAGAIN.
6635 2001-11-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6636 Patch by Michael D. Beynon <beynon@ll.mit.edu>
6638 * server-src/driver.c (main): Take care of empty tapeq.
6640 2001-11-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6642 * server-src/diskfile.c (lookup_host): Match must be exact.
6644 2001-11-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6646 * server-src/planner.c: Add host, disk, datestamp and level on
6647 FLUSH line. Add datestamp on DUMP line.
6648 * server-src/driver.c (read_flush): Read new format of FLUSH line.
6649 * server-src/driver.c (read_schedule): Read new format of DUMP line.
6650 * server-src/amflush.c: Write a datestamp on stderr.
6651 * server-src/amdump.sh.in: Write a datestamp on stderr.
6652 * server-src/amstatus.pl.in: Works with autoflush.
6654 2001-11-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6655 * server-src/conffile.c (autoflush): New configuration options.
6656 * server-src/conffile.h (autoflush): New configuration options.
6657 * man/amanda.8.in: Document it.
6658 * example/amanda.conf.in: Document it.
6659 * server-src/holding.h (get_flush, pick_datestamp, pick_all_datestamp,
6660 cleanup_holdingdisk): New prototype.
6661 * server-src/holding.c (scan_holdingdir, cleanup_holdingdisk,
6662 get_flush): New function.
6663 * server-src/holding.c (pick_datestamp, pick_all_datestamp): New
6665 * server-src/amcleanupdisk.c: Change call to pick_all_datestamp.
6666 * server-src/amflush.c: Change call to pick_all_datestamp.
6667 * server-src/find.c: Change call to pick_all_datestamp.
6668 * server-src/planner.c: Write FLUSH line to driver, the schedule
6669 line contain the keyword DUMP.
6670 * server-src/planner.c: Add datestamp to SUCCESS and FAIL line.
6671 * server-src/amstatus.pl.in: New parsing of DUMP line.
6672 * server-src/driverio.h: New datestamp field in sched_t;
6673 * server-src/driver.c (build_diskspace): New function to build a
6674 assignedhd_t from an holding file.
6675 * server-src/driver.c (read_flush): New function to read the list
6677 * server-src/driver.c (read_schedule): Parse the keyword DUMP.
6678 * server-src/driver.c: Add datestamp to FAIL line.
6679 * server-src/dumper.c: Add datestamp to FAIL line.
6680 * server-src/reporter.c (timedata_t, repdata_t) : Major change of
6682 * server-src/taper.c: Add datestamp to FAIL line.
6684 2001-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6686 * server-src/conffile.c: New dumporder configuration.
6687 * server-src/conffile.h: Likewise.
6688 * server-src/driver.c (start_some_dumps): Use dumporder to
6689 select the next disk to dump.
6690 * example/amanda.conf.in: Give an example of dumporder.
6691 * man/amanda.8.in: Document it.
6693 2001-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6695 * recover-src/amrecover.h (cd_glob, cd_regex, cd_dir): New prototypes.
6696 * recover-src/set_commands.c (cd_glob, cd_regex, cd_dir): New functions.
6697 * recover-src/uparse.y: Add new token CDX, call cd_glob instead
6698 of set_directory for cd command, call cd_regex for cdx command.
6699 * recover-src/uscan.l: On cdx string return CDX token.
6700 * recover-src/help.c: Document it.
6701 * man/amrecover.8.in: Document it.
6703 2001-09-26 John R. Jackson (jrj@purdue.edu)
6705 * server-src/reporter.c: Fix problem when column sizes are negative.
6707 2001-09-21 John R. Jackson (jrj@purdue.edu)
6709 * server-src/Makefile.am: Add -I../common-src so genversion.h can be
6710 found (since it is built on the fly). Only fails when build is done
6711 in a different directory than the sources.
6713 2001-09-17 John R. Jackson (jrj@purdue.edu)
6715 * server-src/getconf.c: Add capabilities to amgetconf to return
6716 build environment values and also to open and close a debug file
6718 * man/amgetconf.8.in: Ditto.
6719 * changer-src/chg-scsi.c: Ditto.
6720 * common-src/amanda.h: Ditto.
6721 * common-src/debug.c: Ditto.
6722 * common-src/error.c: Ditto.
6723 * server-src/dumper.c: Ditto.
6725 2001-09-17 John R. Jackson (jrj@purdue.edu)
6727 * server-src/planner.c: Make sure we do not attempt to bump beyond
6730 2001-09-16 Thomas Hepper (th@ant.han.de)
6731 * changer-src/chg-scsi.c: Added new config option autoinv,
6732 if not set no auto inventory will be done if the label db is out of
6733 sync. Reworked MapBarCode, now the parameters are passed as a struct
6734 and the result is returned in this struct (MBC_T),
6735 also removed some duplicate/nonsens code from MapBarCode
6736 Changed the definitions for slot_file. It was used duplicate,
6737 1. as the config file set by amanda.conf, and second set by the
6738 config option in the chg-scsi config file. Now the file from
6739 amanda.conf is called chg_scsi_conf. and changer_file is renamed
6741 Added check if cleanfile is not set, if true clean_file is set to NULL
6742 Now return if tape_device is not in the range 0-9.
6743 Added some checks if we have all informations like slot_file,
6744 devices etc. Fixed and error in the search function,
6745 if the searched vol is already loaded return the correct info
6746 and not 'label not found'. Fixed error in the parameter passing
6747 to get_relative_slot. If the option was -slot last we where
6748 1 above the end parameter..
6750 * changer-src/scsi-bsd.c: Fix compile problems.
6751 * changer-src/scsi-changer-driver.c: Fixed the last problems :-)
6752 for the label/barcode handling...
6753 * changer-src/scsi-defs.h: Added new struct MBC_T
6754 * changer-src/sense.c: Added some more messages for Exabyte 210 lib
6756 2001-09-01 John R. Jackson (jrj@purdue.edu)
6758 * client-src/sendsize.c: Fix memory allocation problem.
6760 2001-08-31 John R. Jackson (jrj@purdue.edu)
6762 * server-src/amindex.c: Fix memory leak. Compliments of Robert Minsk
6763 <egbert@centropolisfx.com>.
6764 * server-src/logfile.c: Fix memory leak. Compliments of Robert Minsk
6765 <egbert@centropolisfx.com>.
6767 2001-08-30 John R. Jackson (jrj@purdue.edu)
6769 * server-src/planner.c: Fix problem with maintenance of total level
6770 0 size when disk being brought back into the schedule was not doing
6771 a level 0. Compliments of Robert Minsk <egbert@centropolisfx.com>.
6773 2001-08-24 John R. Jackson (jrj@purdue.edu)
6775 * server-src/amverify.sh.in: Fix missing backtick error.
6777 2001-08-24 John R. Jackson (jrj@purdue.edu)
6779 * server-src/taper.c: Allocate buffers on page boundaries.
6781 2001-08-22 John R. Jackson (jrj@purdue.edu)
6783 * tape-src/Makefile.am: Add chown/chgrp rules for ammt/amdd install
6784 so they end up like all the other Amanda programs.
6786 2001-08-15 Thomas Hepper (th@ant.han.de)
6787 * changer-src/chg-scsi.c. Removed version 1 DB support from mapBarCode. Changed the way parameter
6788 are given to MapBarCode and returned from there. No a struct is passed where all infos
6789 will be returned to the calling function.
6790 If eject is set we will not call LogSense in chg-scsi because it is also called in the
6792 * changer-src/scsi-defs.h: Added struct MBC_T used by MapBarCode.
6793 * changer-src/scsi-changer-driver.c: Changed all calls to MapBarCode to the new way
6795 2001-08-14 John R. Jackson (jrj@purdue.edu)
6797 * docs/EXCLUDE: New document from Andrew Hall <ahall@secureworks.net>
6798 describing how to set up and use GNU tar exclusions.
6799 * docs/Makefile.am: Added EXCLUDE and PORT.USAGE.
6801 2001-08-14 John R. Jackson (jrj@purdue.edu)
6803 * docs/PORT.USAGE: New document about how Amanda ports are used.
6805 2001-08-14 John R. Jackson (jrj@purdue.edu)
6807 * client-src/sendsize.c: Fix patch merge goof (ap_snprintf -> snprintf).
6809 2001-08-14 John R. Jackson (jrj@purdue.edu)
6811 * common-src/stream.c: Add stream_client_privileged() function to
6812 get a privileged port and fail if one is not available. The older
6813 stream_client() function gets a (non-privileged) port in the
6814 configured portrange, if set and possible, else anything available.
6815 * common-src/stream.h: Prototypes.
6816 * recover-src/amrecover.c: Use stream_client_privileged() instead of
6818 * recover-src/extract_list.c: Ditto.
6819 * configure.in: Added several more port range sanity checks. Added
6820 --with-tcpportrange as an alias for --with-portrange.
6822 2001-08-09 Thomas Hepper (th@ant.han.de)
6823 * changer-src/chg-scsi.c: Added check in MapBarCode if the labelfile
6824 parameter is empty, and if yes return.
6825 Added global variable do_inventory, and if set do an inventory before
6827 In MapBarCode changed the way the UPDATE_SLOT is done, now it uses
6828 the slot number passed to MapBarCode to find and update the record.
6829 * changer-src/scsi-changer-driver.c: Added def. for BreeceHill Q7
6830 Added global variables which are set by the tape_rdlabel function
6832 Reworked the way how the updates of the labelfile are done.
6834 2001-08-01 John R. Jackson (jrj@purdue.edu)
6836 * client-src/selfcheck.c: Fix typos I introduced into the PC subdir
6838 * client-src/sendbackup-gnutar.c: Ditto.
6839 * client-src/sendsize.c: Ditto.
6841 2001-08-01 Marko Injac <marko.injac@mail.insert.si> via John R. Jackson (jrj@purdue.edu)
6843 * client-src/findpass.c: Allow backup of subdirs of PC shares for
6844 amanda-2.4.1beta1 by Greg Shebert amanda-hackers list Tue Feb 1,
6845 2000. Ported to amanda-2.4.2p2 on debian potato by Marko Injac.
6846 * client-src/findpass.h: Ditto.
6847 * client-src/selfcheck.c: Ditto.
6848 * client-src/sendbackup-gnutar.c: Ditto.
6849 * client-src/sendsize.c: Ditto.
6850 * docs/SAMBA: Ditto.
6852 2001-08-01 John R. Jackson (jrj@purdue.edu)
6854 * client-src/sendsize.c: Prefix each debug line with sendsize process
6855 information to make picking out the output from a particular estimate
6856 run easier when maxdumps > 1.
6858 2001-08-01 John R. Jackson (jrj@purdue.edu)
6860 * server-src/amcheck.c: Unlink the temp files as soon as they are
6861 created so they always go away when amcheck terminates. Use
6862 pipespawn() instead of system() to call the MAILER program. Call
6863 dbopen()/dbclose() in main() to write to a debug file instead of
6866 2001-08-01 John R. Jackson (jrj@purdue.edu)
6868 * common-src/debug.c: Only rename files that end in ".debug".
6870 2001-08-01 John R. Jackson (jrj@purdue.edu)
6872 * common-src/pipespawn.c: Show empty pipespawn() args as "".
6874 2001-07-31 John R. Jackson (jrj@purdue.edu)
6876 * server-src/conffile.h: Add support for tapetype "blocksize" keyword.
6877 * server-src/conffile.c: Add tapetype "blocksize" keyword. Use
6878 DISK_BLOCK_KB where appropriate instead of TAPE_BLOCK_SIZE. Disallow
6879 negative tape length and tapemark size.
6880 * common-src/alloc.c: Add new amtable_free() function. Adjust args
6881 to amtable_alloc() to be consistent with amtable_free().
6882 * common-src/amanda.h: Add new am_round() and am_floor() macros.
6883 Define new DISK_BLOCK_KB, DISK_BLOCK_BYTES, MAX_TAPE_BLOCK_KB,
6884 MAX_TAPE_BLOCK_BYTES constants. Remove TAPE_BLOCK_SIZE and
6886 * common-src/bsd-security.c: TAPE_BLOCK_BYTES -> NETWORK_BLOCK_BYTES.
6887 Use -1 instead of DEFAULT_SIZE.
6888 * common-src/rsh-security.c: Ditto.
6889 * common-src/fileheader.c: Change write_header() to build_header().
6890 Add blocksize arg. Get rid of unused fill_buffer() function.
6891 * common-src/fileheader.h: Ditto.
6892 * common-src/stream.c: Use negative value to indicate default buffer
6894 * common-src/stream.h: Add NETWORK_BLOCK_BYTES and STREAM_BUFSIZE
6895 constants. Remove DATABUF_SIZE and DEFAULT_SIZE.
6896 * man/amanda.8.in: Document the new "blocksize" tapetype keyword.
6897 Document that "length" in tapetype has meaning to some output
6898 drivers. Fix "bumpdays" and "speed" defaults. Document new "file:"
6899 output driver record length data file.
6900 * man/amrestore.8: Add new "-b blocksize" arg. Add description of
6901 how to catalogue the images on a tape.
6902 * recover-src/amrecover.c: DEFAULT_SIZE -> -1.
6903 * recover-src/extract_list.c: DEFAULT_SIZE -> -1. Use DISK_BLOCK_BYTES
6904 instead of TAPE_BLOCK_BYTES for the header size.
6905 * restore-src/amrestore.c: Add new "-b blocksize" arg. Document how
6906 the header is handled. Deal with arbritrary tape record sizes.
6907 * server-src/amlabel.c: Use the tapetype blocksize.
6908 * server-src/chunker.c: Use DISK_BLOCK_BYTES and DISK_BLOCK_KB as
6909 appropropriate instead of older constants. Rewrite disk I/O buffer
6910 management. Never pad output stream (e.g. to holding disk). Use
6911 -1 for default stream buffer size.
6912 * server-src/driver.c: Use DISK_BLOCK_KB where appropriate instead of
6914 * server-src/driverio.c: Set chunker argv[0] to name based on which
6915 dumper it is working with.
6916 * server-src/dumper.c: Use DISK_BLOCK_BYTES and DISK_BLOCK_KB as
6917 appropropriate instead of older constants. Rewrite disk I/O buffer
6918 management. Never pad output stream (e.g. to holding disk). Use
6919 -1 for default stream buffer size.
6920 * server-src/holding.c: Change TAPE_BLOCK_BYTES to DISK_BLOCK_BYTES.
6921 Use fullread() instead of fill_buffer().
6922 * server-src/planner.c: Use tapetype blocksize instead of constant
6923 for tape length calculations.
6924 * server-src/taper.c: Support tapetype blocksize. Only pad writes if
6925 blocksize is negative. Reorganize shared memory buffers to put
6926 data on page boundaries. Try reducing tapebuf count if allocation
6928 * tape-src/output-file.c: Maintain record size information. Use mask
6929 and flags from caller.
6930 * tape-src/output-null.c: Use new amtable_alloc() arg order.
6931 * tape-src/output-rait.c: Use new amtable_alloc() arg order. Add
6932 private version of amtable_free() for standalone build. Fix off
6933 by one and other table allocation problems.
6934 * tape-src/output-rait.h: Maintain file descriptor count in the
6936 * tape-src/tapeio.c: Support tapetype blocksize. Use new
6937 amtable_alloc() arg order. Fix some error message text.
6938 * tape-src/tapeio.h: New prototypes with blocksize arg.
6939 * tape-src/tapetype.c: Add "-b blocksize" arg. Fix some end case
6942 2001-07-30 Ben Lewis (bhlewis@purdue.edu) via John R. Jackson (jrj@purdue.edu)
6944 * recover-src/amrecover.c: Improve the "Unexpected server end of file"
6947 2001-07-30 Ben Lewis (bhlewis@purdue.edu) via John R. Jackson (jrj@purdue.edu)
6949 * man/amanda.8.in: Document includefile.
6950 * man/amdump.8.in: Add note that local crontab documention should be
6951 checked for proper syntax.
6952 * man/amrecover.8.in: Document use of PAGER environment variable.
6953 * man/amrestore.8: Document that GNU tar must be used as some vendor
6954 tar programs cannot read GNU tar format.
6955 * docs/FAQ: Update location of online FAQ.
6957 2001-07-25 John R. Jackson <jrj@purdue.edu>
6959 * docs/TAPE.CHANGER: Changes from Ben Lewis (bhlewis@purdue.edu) to
6960 document the new (but optional) searchable features.
6962 2001-07-19 John R. Jackson <jrj@purdue.edu>
6964 * common-src/error.c: Fix function prototype error.
6966 2001-07-19 John R. Jackson <jrj@purdue.edu>
6968 * common-src/error.c: Add new function errordump() that acts like
6969 error() but calls abort() to (try to) drop core.
6970 * common-src/amanda.h: Prototype.
6971 * common-src/alloc.c: Call errordump() instead of error() for some
6972 memory allocation failures to aid traceback.
6974 2001-07-19 John R. Jackson <jrj@purdue.edu>
6976 * server-src/amadmin.c: Improve the error message when read_conffile()
6978 * server-src/amcheck.c: Ditto.
6979 * server-src/amcleanupdisk.c: Ditto.
6980 * server-src/amflush.c: Ditto.
6981 * server-src/amlabel.c: Ditto.
6982 * server-src/amlogroll.c: Ditto.
6983 * server-src/amtape.c: Ditto.
6984 * server-src/amtrmidx.c: Ditto.
6985 * server-src/amtrmlog.c: Ditto.
6986 * server-src/driver.c: Ditto.
6987 * server-src/dumper.c: Ditto.
6988 * server-src/getconf.c: Ditto.
6989 * server-src/planner.c: Ditto.
6990 * server-src/reporter.c: Ditto.
6991 * server-src/taper.c: Ditto.
6993 2001-07-19 John R. Jackson <jrj@purdue.edu>
6995 * server-src/driverio.c: Make the name "ps" reports match the dumper
6996 name (e.g. "dumper3").
6998 2001-07-18 John R. Jackson <jrj@purdue.edu>
7000 * changer-src/chg-chio.pl.in: Try to unload the drive before moving
7001 a tape back to a slot. Fixes a problem on Ecrix AutoPAK devices.
7002 Patch compliments of Sam Leffler <sam@errno.com>.
7004 2001-07-18 John R. Jackson <jrj@purdue.edu>
7006 * server-src/amverify.sh.in: Change to the Amanda temp directory
7007 instead of the config directory. In addition to making amverify
7008 act like most other Amanda programs, this gets around an
7011 2001-07-18 John R. Jackson <jrj@purdue.edu>
7013 * man/amanda.8.in: Describe the .amandahosts format better. Clean up
7014 a couple of minor typos.
7016 2001-07-13 John R. Jackson <jrj@purdue.edu>
7018 * common-src/dgram.h: Improve UDP datagram size calculation.
7019 * server-src/amcheck.c: Break up large requests into pieces.
7020 * server-src/planner.c: Break up large requests into pieces.
7022 2001-07-12 John R. Jackson <jrj@purdue.edu>
7024 * tape-src/amdd.c: Use tapefd_close() in amdd if the file was
7025 opened with tape_open(). This does any necessary output driver
7026 cleanup (such as moving the current file position for "file:").
7028 2001-07-12 John R. Jackson <jrj@purdue.edu>
7030 * Makefile.am: Fix automake warning.
7032 2001-07-11 John R. Jackson <jrj@purdue.edu>
7034 * tape-src/tapetype.c: Use tapefd_write() instead of write().
7036 2001-07-11 John R. Jackson <jrj@purdue.edu>
7038 * common-src/file.c: Fix a memory leak. Grab exponentially larger
7039 chunks of memory up to a point, then level out.
7041 2001-07-11 John R. Jackson <jrj@purdue.edu>
7043 * tape-src/tapetype.c: Only report a pass summary when stderr is not
7044 a tty. Deal with some obscure end cases.
7046 2001-07-10 John R. Jackson <jrj@purdue.edu>
7048 * changer-src/scsi-aix.c: Convert Tape_Eject to Tape_Ioctl.
7049 * changer-src/scsi-solaris.c: Ditto.
7051 2001-07-10 John R. Jackson <jrj@purdue.edu>
7053 * server-src/amcheck.c: Move user name check before attempt to create
7054 temp files so more appropriate error message is generated.
7056 2001-07-09 John R. Jackson <jrj@purdue.edu>
7058 * common-src/dgram.c: Fix error end case unitialized variable.
7060 2001-07-05 John R. Jackson <jrj@purdue.edu>
7062 * docs/TAPE.CHANGERS: Minor docs/TAPE.CHANGERS update to clarify
7063 that -slot and -eject unload and put the current tape away.
7065 2001-07-02 John R. Jackson <jrj@purdue.edu>
7067 * changer-src/chg-manual.sh.in: Add yet another ONLINEREGEX, this one
7068 compliments of Nick (n_hibma@qubesoft.com) for some FreeBSD variant.
7070 2001-06-29 John R. Jackson <jrj@purdue.edu>
7072 * tape-src/tapeio.c: Move the device name parsing routines from the
7073 RAIT module to tapeio and make them generic. This allows one
7074 module to open another, e.g. rait:{null:,z1,z2,z3}. Maintain
7075 both the original open flags and mask and use them on the real open.
7076 * tape-src/amdd.c: Make sure this compiles "stand-alone". To do so,
7077 use: gcc -Wall -DNO_AMANDA amdd.c output-rait.c output-tape.c.
7078 Abort as soon as one of the open calls fails instead of waiting
7079 for read/write to report a bad file descriptor.
7080 Pass a mask to the open function in case the output is created.
7081 * tape-src/ammt.c: Make sure this compiles "stand-alone". To do so,
7082 use: gcc -Wall -DNO_AMANDA ammt.c output-rait.c output-tape.c.
7083 * tape-src/output-file.c: Maintain both the original open flags and
7084 mask and use them on the real open.
7085 * tape-src/output-null.c: Ditto.
7086 * tape-src/output-file.h: Change to non-prototype declaration of
7087 file_tape_open() to deal with the optional mask parameter.
7088 * tape-src/output-null.h: Ditto.
7089 * tape-src/output-tape.h: Ditto.
7090 * tape-src/tapeio.h: Ditto. Add device name parsing prototypes.
7091 * tape-src/output-rait.c: Make sure this compiles "stand-alone".
7092 Maintain both the original open flags and mask and use them on the
7094 * tape-src/output-rait.h: Make sure this compiles "stand-alone".
7095 * tape-src/output-tape.c: Make this part of the "stand-alone" compile
7096 of ammt and amdd since it knows all the proper ioctl operations.
7097 Maintain both the original open flags and mask and use them on the
7100 2001-06-27 John R. Jackson <jrj@purdue.edu>
7102 * changer-src/chg-manual.sh.in: Add "bs=32k" to the dd command so
7103 some kernels would not complain about the tape block being larger
7105 * changer-src/chg-mtx.sh.in: Ditto.
7107 2001-06-21 John R. Jackson <jrj@purdue.edu>
7109 * server-src/planner.c: If the compression rate is very small (such
7110 as zero after some types of errors) and FORCE_FULL is set, a path
7111 is taken that (among other bad things) generates a schedule that
7112 driver cannot read (syntax errors).
7113 * server-src/conffile.c: Do not allow negative comprate values.
7115 2001-06-19 John R. Jackson <jrj@purdue.edu>
7117 * server-src/holding.c: Use fullread() instead of read() to read the
7120 2001-06-19 John R. Jackson <jrj@purdue.edu>
7122 * server-src/amtape.c: Document "slot advance" in the help output.
7124 2001-06-19 John R. Jackson <jrj@purdue.edu>
7126 * server-src/amindexd.c: Minor gethostbyaddr() argument change to be
7127 consistent with other Amanda usage.
7129 2001-06-19 John R. Jackson <jrj@purdue.edu>
7131 * server-src/amverify.sh.in: Better cross platform tar detection.
7133 2001-06-19 John R. Jackson <jrj@purdue.edu>
7135 * server-src/amverify.sh.in: More of the vrestore vs. 'b' flag change.
7137 2001-06-19 John R. Jackson <jrj@purdue.edu>
7139 * recover-src/amrecover.c: Add more debugging to guess_disk()
7140 function to better track how the disk is determined from the
7141 current working directory. Report current working directory in
7142 error message. Change "Trying" to "Trying disk" to distinguish
7143 this from host attempts.
7144 * recover-src/set_commands.c: Remove redundant amfree() call. Remove
7145 redundant "OISD /" exchange. Change "Trying" to "Trying host" to
7146 distinguish this from disk attempts.
7148 2001-06-19 Thomas Hepper <th@ant.han.de>
7149 * changer-src/chg-scsi.c: Made clean_slot a global var. Removed
7150 the label db update stuff from the COM_SLOT part (moved to unload
7151 in scsi-changer-driver.c)
7152 * changer-src/scsi-changer-driver.c: Do an unload if the tape is
7153 loaded in the Inventory function. Added an marker to avoid recursion
7154 in Inventroy function. Added label db check in unload function and
7155 call Inventroy if it indicates an out of sync db
7157 2001-06-18 John R. Jackson <jrj@purdue.edu>
7159 * recover-src/extract_list.c: Do not pass a 'b' (blocking) factor
7160 flag to vrestore. Some versions do not like it.
7162 2001-06-18 John R. Jackson <jrj@purdue.edu>
7164 * common-src/dgram.c: Use a sin_addr arg to inet_ntoa() like all the
7166 * common-src/stream.c: Ditto.
7168 2001-06-18 John R. Jackson <jrj@purdue.edu>
7170 * changer-src/chg-manual.sh.in: Add yet another online regex. Found
7171 by George Herson <gherson@snet.net>.
7173 2001-06-12 Thomas Hepper <th@ant.han.de>
7174 * changer-src/scsi-changer-driver.c (Inventory): Call Tape_Ready and let this function
7175 decide how to get the tape drive status.
7176 * changer-src/scsi-changer-driver.c (Tape_Ready): Now this function looks how to get
7177 the tape drive status.
7178 * changer-src/scsi-linux.c: changed some dbprintf to DebugPrint
7180 2001-06-10 Thomas Hepper <th@ant.han.de>
7181 * changer-src/chg-scsi.c: If get_current_slot gets an error from the fscanf function
7182 return also an error (-1) to the calling fucntion. (Fixes an error if the slot file
7183 is created with an touch)
7184 * changer-src/scsi-changer-driver.c: Fixed some NULL pointer errors in PrintConf
7185 Fixed an error in the unload function if the destination slot for the unload is not empty.
7186 (cut and paste error !!)
7188 2001-06-07 Thomas Hepper <th@ant.han.de>
7189 * changer-src/scsi-changer-driver.c: Change the type of TapeStatus from void to int.
7190 In PrintConf changed the loop variable for scan of pDev from 3 to CHG_MAXDEV.
7191 In PrintConf check if pDev[count].inquiry is a NULL pointer, and if yes skip.
7192 * changer-src/scsi-irix.c: Changed a lot, now it should work.
7193 * client-src/sendbackup-dump.c: Removed a { in the vxfsdump part.
7194 * tape-src/output-tape.c: Fixed the tape status checks, the structure elelemt
7195 is called buf.mt_dposn not buf.mt.dposn.
7197 2001-06-04 Thomas Hepper <th@ant.han.de>
7198 * changer-src/scsi-changer-driver.c: Renamed Tape_Eject to Tape_Ioctl
7199 incl. change of passwd parameter.
7201 2001-06-04 Thomas Hepper <th@ant.han.de>
7202 * changer-src/chg-scsi.c: include dmalloc.h for debugging of mem problems
7203 * changer-src/scsi-cam.c: Replaced Tape_Eject with a more generic
7204 function to send different ioctls (Tape_Ioctl)
7205 * changer-src/scsi-bsd.c: see above
7206 * changer-src/scsi-hpux_new.c: see above
7207 * changer-src/scsi-irix.c: If the device can be opened in SCSI_OpenDevice
7208 set pDev[ip].avail to 1.
7209 * changer-src/scsi-linux.c: include dmalloc.h for debugging of mem problems.
7210 Fixed an invalid free in SCSI_OpenDevice. Replaced Tape_Eject with Tape_Ioctl.
7211 * changer-src/scsi-changer-driver.c: include dmalloc.h for debugging of mem problems
7212 Eject the tape in the inventory function before the scan to get all
7213 barcode labels. Check in GenericEject if the device is able to receive
7214 SCSI commands, if not use the ioctl interface to eject the tape.
7215 Same for the GenericRewind function.
7216 Added the LogSense in the GenericEject function.
7217 * changer-src/scsi-defs.h: Added define for Tape_Ioctl commands, IOCTL_EJECT.
7219 2001-06-01 John R. Jackson <jrj@purdue.edu>
7221 * server-src/amindexd.c (build_disk_table): Make sure a holding disk
7222 image is used rather than a copy also on tape, if both exist.
7224 2001-06-01 Thomas Hepper <th@ant.han.de>
7225 * changer-src/scsi-changer-driver.c: Added an range check in the load
7226 function and abort if the requested slot is out of range.
7227 Fixed in incorrect pointer in the eject function if the ioctl
7230 2001-05-29 John R. Jackson <jrj@purdue.edu>
7232 * server-src/reporter.c: Fix PostScript output to only show what went
7233 on the tape, not what the total amount dumped. Compliments of
7234 Joshua Baker-LePain <jlb17@duke.edu>.
7236 2001-05-28 Thomas Hepper <th@ant.han.de>
7237 * changer-scsi/chg-scsi.c: Made the array for pDev configurable, #define CHG_MAXDEV
7238 * changer-scsi/scsi-defs.h: Added the define for CHG_MAXDEV
7239 * changer-src/scsi-cam.c: Set the flag pDev[x].avail to 1 if the device can be openend.
7240 Added debug message if the open fails. Implemented the function Tape_Status (not tested)
7241 * changer-src/scsi-changer-driver.c: Added the function DLT448ElementStatus, was lost
7242 during merge from 2.4.2. The difference to GenericElementStatus is that the DecodeModeSense
7243 needs an offset of 12, not 0 as in GenericElementStatus.
7244 Added an unload/GenericResetStatus in the Inventory function if an bar code reader is
7245 available. This is to get the label from the loaded tape.
7246 The function TapeStatus sets now the status regardless of the status of the tape.
7247 If the device is capable for sending SCSI commands use the SCSI interface to get
7248 the status of the tape.
7249 * docs/TAPE.CHANGERS: Added some notes about the debuglevel keyword and a short
7250 description on how to use the sgen interface on solaris 2.8
7252 2001-05-18 John R. Jackson <jrj@purdue.edu>
7254 * client-src/patch-system.sh.in: Missed a reference to kamanda in the
7255 last patch. Compliments of Tom Schutter <t.schutter@att.net>.
7257 2001-05-16 John R. Jackson <jrj@purdue.edu>
7259 * client-src/patch-system.sh.in: Go ahead and update /etc/services
7260 on a client even if the services themselves are not turned on to
7261 inetd. Compliments of Tom Schutter <t.schutter@att.net>. Add
7262 the TCP port for amandad for future use.
7264 2001-05-14 John R. Jackson <jrj@purdue.edu>
7266 * client-src/amandad.c: Fix hang when the incoming packet size is
7267 larger than the pipe buffer. Also, report back when too much
7268 data for a packet is returned by the service (this is not properly
7269 diagnosed back to, e.g., amcheck, but that's for another day).
7270 * common-src/bsd-security.c: Fix minor comment error.
7272 2001-05-11 John R. Jackson <jrj@purdue.edu>
7274 * common-src/util.c (bind_portrange): Log a debug message stating
7275 explicitly that all ports in the requested range were busy, or
7276 that a specific port failed bind() for an unexpected reason.
7278 2001-05-07 John R. Jackson <jrj@purdue.edu>
7280 * client-src/sendbackup-dump.c: Do not use full path to sed. Found by
7281 Roland E. Lipovits (rel@lipo.at0.net).
7283 2001-05-07 Thomas Hepper <th@ant.han.de>
7284 * changer-src/chg-scsi.c : Fixed NULL pointer in debug print of the config.
7285 * changer-src/scsi-canger-driver.c : Try to get and set the status of the tape drive in
7286 GenericElementStatus if there is an error condition. Move from tape to tape to get the
7287 tape loaded if it is only ejected.
7288 * changer-src/scsi-defs.h : New define for the Tape_Status fucntion, TAPE_NOT_LOADED
7289 * changer-src/scsi-linux.c : Added return type for tape not loaded
7290 * changer-src/scsi-solaris.c : In SCSI_ExecuteCommand force the direction to write if the
7291 databuffersize is 0, if the direction is input the ioctl returns with errno 22, invalid argument.
7292 The function Tape_Status will now return either tape loaded or not.
7293 * example/chg-scsi-solaris.conf.in : Added pointer to doc/TAPE.CHANGERS on how to configure
7295 * doc/TAPE.CHANGERS : Updated the description of the chg-scsi.conf options, short description on
7296 how to confgure the sgen driver on solaris 2.8
7298 2001-05-04 John R. Jackson <jrj@purdue.edu>
7300 * config/depcomp: Fix problem with argument* processing and update to
7303 2001-05-01 Thomas Hepper <th@ant.han.de>
7304 * changer-src/chg-scsi.c : Added patch for the slot advance command from John R. Jackson
7305 * changer-src/scsi-changer-driver.c : Renamed EXB120BarCode to EXB_BarCode. The currently
7306 known Exabyte libs handles the reader in the same way.
7308 2001-04-28 Thomas Hepper <th@ant.han.de>
7309 * changer-scsi/chg-scsi.c : Added missing break in MapBarCode
7310 Changed the way an tape label is read, use tape_open to open the
7311 device, not own open.
7312 * changer-src/scsi-changer-driver.c : Changed the way an tape label
7313 is read, use tape_open to open the device, not own open.
7314 * changer-src/scsi-linux.c : Fixed error on reopen of non SCSI devices
7315 (/dev/nst0 for example)
7317 2001-04-26 Thomas Hepper <th@ant.han.de>
7319 * changer-src/scsi-aix.c : Added more different ret values depending on the SCSI
7321 * changer-src/scsi-changer-driver.c: Split GenericElementStatus in GetElementStatus which
7322 reads the element Status, and GenericElementStatus which handles the errors.
7323 Removed DLT448ElementStatus. Rework the handling of some SCSI error conditions...
7324 * changer-src/scsi-defs.h: Added more defs for the debug SECTION types.
7325 * changer-src/scsi-linux.c: Fixed an bug in the non SCSI device handling in SCSI_OpenDevice
7326 * changer-src/sense.c: Added EXB-210 defs, added defs for READ_ELEMENT_STATUS error conditions.
7328 2001-04-25 John R. Jackson <jrj@purdue.edu>
7330 * changer-src/chg-rth.pl.in: Add exec_prefix back since it is usually
7331 used to define sbindir. Sigh. Include X=X assignments to get rid
7332 of the Perl warnings.
7333 * server-src/amoverview.pl.in: Ditto.
7335 2001-04-24 John R. Jackson <jrj@purdue.edu>
7337 * changer-src/chg-chio.pl.in: Remove unused exec_prefix to get rid of
7338 warning message. Patch from Nick Hibma <n_hibma@qubesoft.com>.
7340 2001-04-23 John R. Jackson <jrj@purdue.edu>
7342 * client-src/selfcheck.c: Allow Samba shares with no password.
7343 * client-src/sendbackup-gnutar.c: Ditto.
7344 * client-src/sendsize.c: Ditto.
7346 2001-04-15 Thomas Hepper <th@ant.han.de>
7347 * Makefile.am: Added contrib/gsc files to EXTRA_DIST
7349 2001-04-15 Thomas Hepper <th@ant.han.de>
7350 * changer-src/scsi-aix.c: Rework of the SCSI interface, support
7351 to talk to an device handled by the gsc driver (not tested yet)
7352 * changer-src/scsi-bsd.c (SCSI_ExecuteCommand): Fix error in
7353 device handling, Changed the return codes in case of an error
7354 * changer-src/scsi-cam.c (SCSI_ExecuteCommand): Fix error in
7355 device handling, Changed the return codes in case of an error
7356 * changer-src/scsi-changer-driver.c: Changed the way
7357 SCSI_ExecuteCommand passes error conditions back, error handling
7358 should now be done by the calling function, SCSI_Run for example.
7359 * changer-src/scsi-changer-driver.c (CheckMove): If the
7360 DeviceCapabilitiesPage is not set do not return an error, print
7361 an warning to the debug file.
7362 * changer-src/scsi-defs.h: New define for AIX_USE_GSC
7363 New defines for the return codes of SCSI_ExecuteCommand
7364 * changer-src/scsi-hpux_new.c: Fix error in device handling.
7365 Changed the return codes in case of an error
7366 * changer-src/scsi-irix.c: Fix error in device handling.
7367 Changed the return codes in case of an error
7368 * changer-src/scsi-solaris.c: Fix error in device handling.
7369 Changed the return codes in case of an error
7371 2001-04-15 Thomas Hepper <th@ant.han.de>
7372 *contrib/gsc: Generic SCSI interface for AIX, used by chg-scsi
7374 2001-04-13 John R. Jackson <jrj@purdue.edu>
7376 * example/amanda.conf.in: Fix multiple holding disks comment.
7378 2001-04-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7380 * client-src/getfsent.h (search_fstab): New prototype.
7381 * client-src/getfsent.c (search_fstab): New arg check_dev, skip
7382 entry if check_dev==1 and device stats failed.
7383 * client-src/getfsent.c (open_fstab for linux): Open MOUNTED.
7384 * client-src/getfsent.c (close_fstab for linux): close MOUNTED.
7385 * client-src/getfsent.c (get_fstab_nextentry for linux): parse MOUNTED.
7386 * client-src/getfsent.c (amname_to_devname, amname_to_dirname,
7387 amname_to_fstype): Call search_fstab sequentialy with 1 and 0
7390 2001-04-10 John R. Jackson <jrj@purdue.edu>
7392 * docs/INSTALL: Update location to GNUPLOT per Lars Hecking
7395 2001-04-09 Thomas Hepper <th@ant.han.de>
7396 * changer-src/scsi-changer-driver.c: More rework on the debug output.
7397 changed definition SENSE_NO_TAPE to SENSE_TAPE_NOT_ONLINE
7398 In function GenericRewind do an check before the rewind to see
7399 if the tape is loaded.
7400 * changer-src/scsi-defs.h: New #define for the debug, SECTION_TAPE
7401 * changer-src/sense.c: New definition for SENSE_RETRY, ASC=4, ASCQ=1
7403 2001-04-08 Alexandre Oliva <aoliva@redhat.com>
7405 * client-src/getfsent.c (search_fstab): Don't skip entry just
7406 because device stats failed.
7408 2001-04-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7410 * config/config.guess: Upgrade from ftp://ftp.gnu.org/pub/gnu/config
7411 * config/config.sub: Upgrade from ftp://ftp.gnu.org/pub/gnu/config
7412 * config/mkinstalldirs: Upgrade from automake CVS.
7414 2001-04-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7416 * config/depcomp: new file for automake.
7418 2001-04-03 John R. Jackson <jrj@purdue.edu>
7420 * Makefile.am: Remove *.test.c from the distribution.
7422 2001-04-02 John R. Jackson <jrj@purdue.edu>
7424 * NEWS: Update some of the 2.4.2 items.
7426 2001-03-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7428 * client-src/getfsent.c (search_fstab): If the device doesn't
7429 exist, it will take the entry from /etc/mtab.
7431 2001-03-26 John R. Jackson <jrj@purdue.edu>
7433 * server-src/amtape.c: Do not rewind for slot "advance". Do not report
7434 device name (which is bogus) for slot "advance".
7436 2001-03-23 John R. Jackson <jrj@purdue.edu>
7438 * example/amanda.conf.in: Add warning that the sample amanda.conf
7439 will not work as is and must be edited to match the installation.
7441 2001-03-21 John R. Jackson <jrj@purdue.edu>
7443 * recover-src/extract_list.c (extract_files_child): Fix problem that
7444 caused xfsrestore arg list to not be NULL terminated.
7446 2001-03-19 John R. Jackson <jrj@purdue.edu>
7448 * configure.in: Add --with-debug-days (default is 4) and remove
7449 --with-pid-debug-files.
7450 * common-src/Makefile.am: Clean up test program dependencies.
7451 * common-src/debug.c: Create timestamped debug file names and remove
7452 files older (based on file name) than --with-debug-days. Rename old
7453 style names to new style (based on modification time) the first time
7455 * common-src/file.c: Use construct_datestamp() instead of private code.
7456 * common-src/genversion.c: Display AMANDA_DEBUG_DAYS and remove
7457 DEBUG_FILE_WITH_PID.
7458 * common-src/util.c: Move construct_datestamp to here and add new
7459 function construct_timestamp. Change time used to build string to
7460 be an optional parameter instead of always getting it in the routine.
7461 * common-src/util.h: Add prototypes.
7462 * server-src/amcleanupdisk.c: Change construct_datestamp call to pass
7463 indication that it should get the current time.
7464 * server-src/amflush.c: Ditto.
7465 * server-src/chunker.c: Ditto.
7466 * server-src/driver.c: Ditto.
7467 * server-src/dumper.c: Ditto.
7468 * server-src/planner.c: Ditto.
7469 * server-src/server_util.c: Remove construct_datestamp (now in util.c).
7470 * server-src/server_util.h: Remove prototype.
7472 2001-03-15 John R. Jackson <jrj@purdue.edu>
7474 * server-src/planner.c (analyze_estimate): Do not do an incremental
7475 if FORCE_NO_BUMP is set and the last dump was a level 0.
7477 2001-03-14 John R. Jackson <jrj@purdue.edu>
7479 * server-src/amcheck.c: Change message from NOTE to WARNING when
7480 the hold file exists.
7481 * man/amcheck.8.in: Ditto.
7483 2001-03-14 John R. Jackson <jrj@purdue.edu>
7485 * client-src/selfcheck.c: Send smbclient via pipe instead of command
7486 line arg. Various minor cleanups. Use pipespawn instead of system()
7487 to clean up quoting problems and be consistent with sendsize and
7489 * client-src/sendbackup-dump.c: Send smbclient via pipe instead of
7490 line arg. Various minor cleanups.
7491 * client-src/sendbackup-gnutar.c: Send smbclient via pipe instead of
7492 line arg. Various minor cleanups. Clean up listed incremental file
7494 * client-src/sendbackup.c: Various minor cleanups.
7495 * client-src/sendsize.c: Send smbclient via pipe instead of command
7496 line arg. Various minor cleanups. Clean up listed incremental file
7498 * docs/SAMBA: Update and cleanup.
7499 * common-src/pipespawn.c: Import from 2.4.2 branch.
7500 * common-src/pipespawn.h: Import from 2.4.2 branch.
7501 * common-src/Makefile.am: Add pipespawn.[ch] references.
7503 2001-03-13 John R. Jackson <jrj@purdue.edu>
7505 * recover-src/extract_list.c (extract_files_child): Fix xfsrestore
7506 argument list processing.
7508 2001-03-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7510 * server-src/dumper.c (read_datafd): set errstr and return on
7511 databuf_write error.
7513 2001-03-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7515 * server-src/dumper.c (read_indexfd): Ignore error while writing
7516 to the index file. Log an L_INFO message.
7518 2001-03-09 John R. Jackson <jrj@purdue.edu>
7520 * server-src/taper.c: Initialize tape_fd to -1 and test in a couple
7521 more places. Run normal protocol after a tape startup error (e.g.
7522 "cannot overwrite") instead of just exiting to keep driver from
7523 reporting a broken pipe.
7525 2001-03-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7526 Reported by Eric Schnoebelen <eric@cirr.com>
7528 * server-src/changer.c (changer_command): Fix fd leak.
7530 2001-03-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7532 * server-src/server_util.c (cmdstr, getcmd, putresult): New.
7533 * server-src/server_util.h (cmdstr, getcmd, putresult): Prototype.
7534 * server-src/server_util.h (cmd_t): New.
7535 * server-src/driverio.c (cmdstr): Remove.
7536 * server-src/driverio.c: Use new cmdstr and cmd_t.
7537 * server-src/driverio.h: (tok_t): Remove.
7538 * server-src/amflush.c: Use new cmd_t.
7539 * server-src/driver.c: Use new cmd_t.
7540 * server-src/chunker.c (cmd_t, getcmd, putresult): Remove.
7541 * server-src/chunker.c: Use new cmd_t, getcmd and putresult.
7542 * server-src/dumper.c (cmd_t, getcmd, putresult): Remove.
7543 * server-src/dumper.c: Use new cmd_t, getcmd and putresult.
7544 * server-src/taper.c (cmd_t, getcmd, putresult): Remove.
7545 * server-src/taper.c: Use new cmd_t, getcmd and putresult.
7547 2001-03-05 John R. Jackson <jrj@purdue.edu>
7549 * common-src/util.c: The fullread() and fullwrite() functions should
7550 call read() and write(), not tapefd_read() and tapefd_write().
7552 2001-02-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7554 * server-src/planner.c (setup_estimate): Don't re-ask for level 0
7555 if last_level is 0 and FORCE_NO_BUMP is set.
7557 2001-02-27 John R. Jackson <jrj@purdue.edu>
7559 * common-src/stream.h: Move DATABUF_SIZE to stream.h.
7560 * client-src/sendbackup.c: Do not ask for a big receive buffer.
7561 * server-src/dumper.c: Ask for a bigger send buffer. Minor typos.
7562 * server-src/taper.c: Ask for a bigger receive buffer.
7563 * recover-src/amrecover.c: Use stream_client instead of specific
7564 (and incorrect) bind() code.
7565 * recover-src/extract_list.c: Ditto.
7567 2001-02-27 John R. Jackson <jrj@purdue.edu>
7569 * common-src/dgram.c: Add lots more error logging to help track down
7572 2001-02-27 John R. Jackson <jrj@purdue.edu>
7574 * common-src/stream.c: Add lots more error logging to help track down
7577 2001-02-27 John R. Jackson <jrj@purdue.edu>
7579 * server-src/amtape.c: Rewind after loading a slot either by slot
7582 2001-02-27 John R. Jackson <jrj@purdue.edu>
7584 * configure.in: Add some commentary about why pushdef/popdef are
7585 needed around AC_CHECK_TYPE.
7587 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7588 Patch by Alex Pilosov <alex@pilosoft.com>
7590 * changer-src/scsi-cam.c: Clean up some SCSI CAM code,
7591 and permit use of both bus:target:lun(btl) and a full
7592 device name (/dev/ch0) as changerdev.
7594 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7595 Patch by Joe Rhett <jrhett@isite.net>
7596 and Jason Hollinden <jhollind@sammg.com>
7598 * changer-src/chg-zd-mtx.sh.in: Added barcode reader support,
7599 >9 tape slot support, variable for 'offline' or 'ONLINE'
7600 return value of tape device, and multi-config support. Moved
7601 all user settable variables to 'changerfile'.conf in the
7602 amanda config directory. Added commented out example of .conf
7605 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7607 * server-src/amindexd.c (uncompress_file): remove uncompressed
7608 index file if the command failed.
7610 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7612 * restore-src/amrestore.c (main): init r to 0.
7614 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7616 * changer-src/scsi-defs.h (PrintConf): Add prototype.
7617 * changer-src/scsi-changer-driver.c (SCSI_Run): Add prototype.
7618 * changer-src/scsi-linux.c (ScanBus): remove btl variable, return 0.
7620 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7622 * man/Makefile.am (EXTRA_DIST): add amdd.8 and ammt.8.
7624 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7626 * server-src/planner.c (setup_estimate): ask for level 0 for
7627 a new disk if force-bump is set,
7628 log force-bump and force-nobump command.
7630 2001-02-17 Thomas Hepper <th@ant.han.de>
7632 * changer-scsi/chg-scsi.c: New Option -genconf to create an example config file
7633 based on the information found on the system, works for Linux and BSD with cam
7634 support. New config option debuglevel
7635 * changer-src/scsi-changer-deriver.c: Reworked the debug output, it is now possible
7636 to control the amount of information by the config option debuglevel in the config
7637 file (docs follow), not complete yet.
7638 * changer-src/scsi-changer-driver.c: New function PrintConf to create an example
7640 New function DebugPrint to print debug information based on the variable debuglevel.
7641 Replaced a lot of dbprintf with new Function DebugPrint
7642 * changer-src/scsi-aix.c: changed parameter for ScanBus
7643 * changer-src/scsi-irix.c: changed parameter for ScanBus
7644 * changer-src/scsi-solaris.c: changed parameter for ScanBus
7645 * changer-src/scsi-bsd.c: changed parameter for ScanBus
7646 * changer-src/scsi-cam.c: Implemented function ScanBus
7647 * changer-src/scsi-linux.c: Implemented function ScanBus
7649 2001-02-09 John R. Jackson <jrj@purdue.edu>
7651 * server-src/diskfile.c: Fix core dump in test program.
7653 2001-02-09 John R. Jackson <jrj@purdue.edu>
7655 * tape-src/output-file.c: Use a "data" subdirectory of the main
7656 file driver device directory to hold the tape "files". This
7657 allows the status file to be moved to the main directory.
7658 * man/amanda.8.in: Document these changes.
7660 2001-02-08 Thomas Hepper <th@ant.han.de>
7662 * changer-src/scsi-aix.c: Added dummy ScanBus function
7663 * changer-src/scsi-bsd.c: Added dummy ScanBus function
7664 * changer-src/scsi-cam.c: Added dummy ScanBus function
7665 * changer-src/scsi-hpux_new.c: Added dummy ScanBus function
7666 * changer-src/scsi-irix.c: Added dummy ScanBus function
7667 * changer-src/scsi-defs.h: Added prototype for ScanBus function
7669 2001-02-04 John R. Jackson <jrj@purdue.edu>
7671 * man/amanda.8.in: Fix mailto to space separated, not comma.
7673 2001-02-03 John R. Jackson <jrj@purdue.edu>
7675 * .cvsignore: Add entries to keep CVS quiet.
7676 * */.cvsignore: Ditto.
7678 2001-02-03 John R. Jackson <jrj@purdue.edu>
7680 * client-src/Makefile.am: Add CLEANFILES rule to remove *.test.c.
7681 * common-src/Makefile.am: Add more sources as needed to the test
7682 programs so they would compile.
7683 * server-src/Makefile.am: Create TEST_PROGS make variable ala the
7684 other Makefile.am files.
7685 * tape-src/Makefile.am: Add CLEANFILES rule to remove *.test.c.
7687 2001-02-03 John R. Jackson <jrj@purdue.edu>
7689 * server-src/diskfile.c: Fix test program compilation error and bug
7690 when just a config name was given on the command line.
7692 2001-02-02 John R. Jackson <jrj@purdue.edu>
7694 * server-src/reporter.c: Fix problem with enum being unsigned on
7697 2001-01-29 John R. Jackson <jrj@purdue.edu>
7699 * tape-src/tapeio.c (tape_fsf): Go back to using snprintf as this
7702 2001-01-29 John R. Jackson <jrj@purdue.edu>
7704 * tape-src/output-tape.c (tape_tapefd_status): Convert flag values
7705 to booleans (compliments of Marc W. Mengel <mengel@fnal.gov>).
7706 * tape-src/tapeio.c (tape_fsf): Use ap_snprintf instead of snprintf
7707 (also compliments of Marc).
7709 2001-01-26 John R. Jackson <jrj@purdue.edu>
7711 * changer-src/Makefile.am: Double up the references to libamanda to
7712 handle systems that put regex in strange places.
7713 * client-src/Makefile.am: Ditto.
7714 * recover-src/Makefile.am: Ditto.
7715 * restore-src/Makefile.am: Ditto.
7716 * server-src/Makefile.am: Ditto.
7717 * tape-src/Makefile.am: Ditto.
7719 2001-01-23 John R. Jackson <jrj@purdue.edu>
7721 * configure.in: Add tapeio switch from Marc Mengel <mengel@fnal.gov>,
7722 enhance and add "null" and "file" output drivers. Change all
7723 tape changers (except chg-scsi) to use amdd and ammt. Change all
7724 tape changers (except chg-scsi) to log and use a consistent
7725 error reporting scheme. Fix various bugs along the way. Add new
7726 chg-multi config option, posteject, which is an optional script
7727 to call after each "tape" is ejected (e.g. to use to start a
7728 CDROM writer). Remove special code for tapedev of /dev/null
7729 (now handled by the "null" output driver). Changed the taper
7730 protocol to pass the host/disk/level so the write can send that
7731 along to the output driver. Fairly major rework of amrestore
7732 to clean up tape/non-tape and other oddities.
7733 * changer-src/chg-chio.pl.in: Ditto.
7734 * changer-src/chg-chs.sh.in: Ditto.
7735 * changer-src/chg-manual.sh.in: Ditto.
7736 * changer-src/chg-mtx.sh.in: Ditto.
7737 * changer-src/chg-multi.sh.in: Ditto.
7738 * changer-src/chg-rth.pl.in: Ditto.
7739 * changer-src/chg-zd-mtx.sh.in: Ditto.
7740 * client-src/sendbackup.c: Ditto.
7741 * common-src/alloc.c: Ditto.
7742 * common-src/amanda.h: Ditto.
7743 * docs/INTERNALS: Ditto.
7744 * man/Makefile.am: Ditto.
7745 * man/amanda.8.in: Ditto.
7746 * man/amdd.8: Ditto.
7747 * man/ammt.8: Ditto.
7748 * restore-src/amrestore.c: Ditto.
7749 * server-src/amcheck.c: Ditto.
7750 * server-src/amlabel.c: Ditto.
7751 * server-src/amtape.c: Ditto.
7752 * server-src/amverify.sh.in: Ditto.
7753 * server-src/conffile.c: Ditto.
7754 * server-src/conffile.h: Ditto.
7755 * server-src/taper.c: Ditto.
7756 * tape-src/Makefile.am: Ditto.
7757 * tape-src/amdd.c: Ditto.
7758 * tape-src/ammt.c: Ditto.
7759 * tape-src/output-file.c: Ditto.
7760 * tape-src/output-file.h: Ditto.
7761 * tape-src/output-null.c: Ditto.
7762 * tape-src/output-null.h: Ditto.
7763 * tape-src/output-rait.c: Ditto.
7764 * tape-src/output-rait.h: Ditto.
7765 * tape-src/output-tape.c: Ditto.
7766 * tape-src/output-tape.h: Ditto.
7767 * tape-src/tapeio.c: Ditto.
7768 * tape-src/tapeio.h: Ditto.
7769 * tape-src/tests/amtapeio.test.000: Ditto.
7770 * tape-src/tests/amtapeio.test.001: Ditto.
7771 * tape-src/tests/amtapeio.test.002: Ditto.
7772 * tape-src/tests/amtapeio.test.003: Ditto.
7773 * tape-src/tests/amtapeio.test.004: Ditto.
7774 * tape-src/tests/amtapeio.test.005: Ditto.
7775 * tape-src/tests/amtapeio.test.006: Ditto.
7776 * tape-src/tests/amtapeio.test.007: Ditto.
7777 * tape-src/tests/amtapeio.test.008: Ditto.
7778 * tape-src/tests/amtapeio.test.009: Ditto.
7779 * tape-src/tests/amtapeio.test.010: Ditto.
7780 * tape-src/tests/amtapeio.test.011: Ditto.
7781 * tape-src/tests/amtapeio.test.012: Ditto.
7782 * tape-src/tests/amtapeio.test.013: Ditto.
7783 * tape-src/tests/amtapeio.test.014: Ditto.
7784 * tape-src/tests/amtapeio.test.015: Ditto.
7785 * tape-src/tests/amtapeio.test.016: Ditto.
7786 * tape-src/tests/amtapeio.test.017: Ditto.
7787 * tape-src/tests/amtapeio.test.018: Ditto.
7788 * tape-src/tests/cleartape: Ditto.
7789 * tape-src/tests/newtest: Ditto.
7790 * tape-src/tests/rerun: Ditto.
7791 * tape-src/tests/runtest: Ditto.
7792 * tape-src/tests/testdist: Ditto.
7793 * tape-src/tests/torture: Ditto.
7795 2001-01-24 John R. Jackson <jrj@purdue.edu>
7797 * client-src/amandad.c: Improve packet logging.
7799 2001-01-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7801 * server-src/driver.c (start_some_dumps): typo.
7803 2001-01-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7805 * server-src/driverio.h (sched_t): new field no_space.
7806 * server-src/driver.c (start_some_dumps): don't start a disk if
7808 * server-src/driver.c (continue_dumps): set no_space if it's the
7809 only active dumpers, case c.
7810 * server-src/driver.c (read_schedule): set no_space to 0.
7812 2001-01-23 John R. Jackson <jrj@purdue.edu>
7814 * configure.in: Test for setmntent.
7815 * client-src/getfsent.c: Add some support for Redhat 7 /etc/fstab
7816 changes that indirectly reference the device for a file system.
7818 2001-01-22 Marc W. Mengel <mengel@fnal.gov>
7820 * recover-src/extract_list.c: Added -U to tar recover options
7821 to reduce errors recovering shared libs and/or binaries on
7824 2001-01-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7826 * docs/INSTALL: Notes about tar-1.13.19
7828 2001-01-17 Thomas Hepper <th@ant.han.de>
7830 * changer-src/chg-scsi.c: Moved definitions for config_t and
7831 changer_t into scsi-defs.h
7832 * changer-src/chg-scsi.c: New config option havebarcode
7833 * changer-src/scsi-changer-driver.c: Changed GenericBarCode do handle
7834 the option havebarcode. Replaced NoBarCode with GenericBarCode.
7835 Fixed compile warnings from -Wshadow
7836 * changer-src/scsi-linux.c: New function ScanBus to scan the SCSI Bus.
7838 * changer-src/scsi-solaris.c: Changed the return value to
7839 Command.uscsi_status in SCSI_ExecuteCommand if the return from the
7842 2001-01-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7844 * man/amanda.8.in: New section "HOST & DISK EXPRESSION" and
7845 "DATESTAMP EXPRESSION".
7846 * man/amadmin.8.in: Document new usage.
7847 * man/amflush.8.in: Document new usage.
7848 * man/amcheck.8.in: Document new usage.
7849 * man/amdump.8.in: Document new usage.
7850 * man/amrestore.8: Document new usage.
7851 * server-src/amadmin.c: Fix usage.
7852 * server-src/amflush.c: Fix usage.
7853 * server-src/amcheck.c: Fix usage.
7855 2001-01-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7857 * server-src/diskfile.c (match_disklist): Return if no args.
7859 2001-01-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7861 * server-src/diskfile.c (match_disklist): Fix.
7863 2001-01-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7865 * server-src/diskfile.c (match_disklist): Updated for
7866 [host [disk]*]* syntax.
7868 2001-01-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7870 * common-src/match.c (match_datestamp): New function.
7871 * common-src/amanda.h (match_datestamp): Prototype.
7872 * server-src/amflush.c: Use match_datestamp.
7873 * restore-src/amrestore.c: Use match_datestamp.
7875 2001-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7877 * common-src/match.c (match_word): Support for leading ^ and
7880 2001-01-04 John R. Jackson <jrj@purdue.edu>
7882 * common-src/error.c (error): If the debug file pointer is set, log
7883 any fatal error message to it and close the file so it has a good
7884 trace of what happened and when.
7886 2001-01-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7888 * taper-src/am-dd.c: include "tapeio.h", fix debug warning.
7889 * taper-src/am-mt.c: include "tapeio.h", fix debug warning.
7890 * taper-src/output-rait.c: include "tapeio.h", new define for
7892 * taper-src/tapeio.c(many): Remove unused tfd variable.
7893 * taper-src/tapeio.h (tape_unload,tape_status): Prototype.
7895 2001-01-04 John R. Jackson <jrj@purdue.edu>
7897 * client-src/killpgrp.c: Calls to error() do not need a newline.
7899 2001-01-04 John R. Jackson <jrj@purdue.edu>
7901 * man/amanda.8.in: Try to make it clearer that dumpcycle and maxdumps
7902 changes in the main part of the config file must appear before any
7903 dumptype definitions, and also that inherited dumptypes must appear
7904 before their reference.
7906 2001-01-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7908 * server-src/driver.c (continue_dumps): Don't reduce est_size if
7909 it is already larger than holding space allocated.
7910 * server-src/dumper.c: Remove all code for FILE_DUMP command.
7911 * server-src/chunker.c: Better handling of ENOSPC from
7914 2001-01-04 John R. Jackson <jrj@purdue.edu>
7916 * server-src/conffile.c (main): Fix conffile test program so it builds
7919 2001-01-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7921 * changer-src/scsi-defs.h (ChangerCMD_T): replace array function
7922 pointer by enumerated pointers.
7923 * changer-src/scsi-changer-driver.c: Use new calling convention.
7925 2001-01-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7927 * server-src/amstatus.pl.in: Better support for TRY-AGAIN and
7928 ABORT-FINISHED result.
7930 2001-01-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7932 * server-src/amflush.c: Use getopt to parse argument.
7933 * server-src/amflush.c: New [-D date]* argument.
7934 * man/amflush.8.in: Document it.
7936 2001-01-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7937 Patch by Andreas F Mueller <afm@othello.ch>
7939 * server-src/amadmin.c (force_no_bump_one): Fix message.
7941 2001-01-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7943 * tape-src/am-dd.c: include "amanda.h"
7944 * tape-src/am-mt.c: include "amanda.h"
7945 * tape-src/am-mt.c (main): res is int.
7946 * tape-src/output-rait.c: include "amanda.h", do not define stderr.
7947 * tape-src/tapeio.c (xxx_tapefd_read, plain_tapefd_read): second
7948 argument should be "char *"
7949 * tape-src/tapeio.c (xxx_tapefd_write, plain_tapefd_write): second
7950 argument should be "const char *"
7952 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7954 * server-src/find.c (find_match): Use todo bit.
7955 * server-src/find.c (find_dump): No arguments.
7956 * server-src/find.h (find_dump): Change prototype.
7957 * server-src/amadmin.c (find): New [host disk]* pair arguments.
7958 * server-src/amindexd.c: Change call to find_dump().
7959 * server-src/amtrmidx.c: Change call to find_dump().
7961 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7963 * configure.in: Don't check krb5 include if krb5 is not selected.
7965 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7967 * tape-src/Makefile.am (noinst_HEADERS): Add output-rait.h
7969 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7971 * server-src/amadmin.c (diskloop): typo.
7973 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7975 * server-src/amadmin.c (diskloop): New [host disk]* pair arguments.
7976 * server-src/amadmin.c (diskloop, reuse, noreuse): use get_pname()
7979 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7981 * server-src/amflush.c (main):log DISK after checking if logfile exist.
7983 2000-12-30 John R. Jackson <jrj@purdue.edu>
7985 * common-src/bsd-security.c: Improve the .rhosts/.amandahosts messages
7986 when things go wrong. Add support for "bsdsecurity" test program
7988 * common-src/Makefile.am: Ditto.
7989 * common-src/amanda.h: Ditto.
7990 * restore-src/amidxtaped.c: Ditto.
7991 * server-src/amindexd.c: Ditto.
7993 2000-12-30 John R. Jackson <jrj@purdue.edu>
7995 * ChangeLog: Bring Jean-Louis into the right month :-).
7996 * changer-src/scsi-changer-driver.c: Untested changes to at least
7997 get the code to compile on Solaris and to remove some warnings.
7998 * changer-src/scsi-defs.h: Ditto.
7999 * changer-src/scsi-solaris.c: Ditto.
8001 2000-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8003 * server-src/diskfile.c (add_disk): New function.
8004 * server-src/diskfile.h (add_disk): Prototype.
8005 * server-src/logfile.h (logtype_e): add L_DISK.
8006 * server-src/logfile.c (logtype_str): add "DISK".
8007 * server-src/amflush.c (main): log DISK.
8008 * server-src/planner.c (main): log DISK.
8009 * server-src/reporter.c: use DISK if available.
8011 2000-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8013 * server-src/amcheck.c: New [host disk]* pair arguments.
8014 * server-src/amflush.c: Ditto.
8015 * server-src/planner.c: Ditto.
8016 * server-src/amdump.sh.in: Ditto.
8017 * server-src/amrestore.c: Use new host/disk matcher.
8018 * man/amcheck.8.in: Document new [host disk]* pair arguments.
8019 * man/amflush.8.in: Ditto.
8020 * man/amdump.8.in: Ditto.
8022 2000-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8024 * server-src/diskfile.c (match_disklist): new function.
8025 * server-src/diskfile.h (struct disk_s): new field todo.
8026 * server-src/diskfile.h (match_disklist): prototype.
8028 2000-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8030 * common-src/match.c (match_word, match_host, match_disk):
8032 * common-src/amanda.h (match_host, match_disk): prototype.
8034 2000-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8036 * server-src/planner.c (analyze_estimate): pick incremental level
8037 if no estimate of level 0.
8039 2000-12-28 Marc W. Mengel <mengel@fnal.gov>
8040 * changer-src/chg-juke.sh.in: New File
8041 * changer-src/Makefile.am: Added support for chg-juke.
8042 * docs/TAPE.CHANGERS: Likewise.
8043 * configure.in: Likewise.
8045 2000-12-24 John R. Jackson <jrj@purdue.edu>
8047 * server-src/getconf.c: Fix free() of static text string (BUGGY) when
8048 the parameter being looked up is bad.
8050 2000-12-23 David Wolfskill <dhw@whistle.com>
8052 * server-src/amcheck.c (start_server_check): Change directory
8053 writable check to be for the tapelist directory instead of
8054 the config file directory. Remove config file directory test.
8055 * man/amcheck.8.in: Add mention of tapelist directory and do
8056 some other directory writable cleanup.
8058 2000-12-12 John R. Jackson <jrj@purdue.edu>
8060 * client-src/sendbackup-gnutar.c: Fix regex pattern to accept blanks
8063 2000-12-12 John R. Jackson <jrj@purdue.edu>
8065 * Makefile.am: Work around problem with automake 1.4 not including
8067 * docs/Makefile.am: Include RAIT and VTAPE-API in distribution.
8068 Work around problem with automake 1.4 not including pkgdata_DATA.
8069 * tape-src/rait.h: Renamed to rait.h.
8070 * tape-src/rait.c: Renamed to rait.c.
8071 * tape-src/output-rait.h: Renamed from rait.h.
8072 * tape-src/output-rait.c: Renamed from rait.c.
8073 * tape-src/Makefile.am: Reflect the new rait.[ch] names.
8074 * tape-src/tapeio.c: Use output-rait.h name. Minor typo changes.
8076 2000-12-08 Marc Mengel <mengel@fnal.gov>
8078 * docs/RAIT: New file.
8079 * docs/VTAPE-API: New file.
8080 * tape-src/rait.c: New File providing RAIT virtual tape type.
8081 * tape-src/tapeio.c: Major Surgery.
8082 (vtable): New static table of virtual tape types.
8083 (fdtable): New static table mapping file descriptors.
8084 (tapefd_fsf_ioctl): Renamed tapefd_fsf, with added ioctl argument.
8085 (tapefd_rewind_ioctl): Likewise.
8086 (tapefd_unload_ioctl): Likewise.
8087 (tapefd_weof_ioctl): Likewise.
8088 (tapefd_status_ioctl): Likewise.
8089 (tape_open): Now is a virtual tape table lookup and call.
8090 (tape_access): Now is a switch through virtual tape table.
8091 (tape_stat): Likewise.
8092 (tapefd_close): Likewise.
8093 (tapefd_fsf): Likewise.
8094 (tapefd_read): Likewise.
8095 (tapefd_rewind): Likewise.
8096 (tapefd_resetofs): Likewise.
8097 (tapefd_unload): Likewise.
8098 (tapefd_status): Likewise.
8099 (tapefd_weof): Likewise.
8100 (tapefd_write): Likewise.
8101 (plain_tape_access): Rename of tape_access.
8102 (plain_tape_open): Likewise.
8103 (plain_tapefd_read): Likewise.
8104 (plain_tape_stat): Likewise.
8105 (plain_tapefd_write): Likewise.
8106 (plain_tapefd_close): Likewise.
8107 (plain_tapefd_fsf): Now calls tapefd_fsf_ioctl with &ioctl().
8108 (plain_tapefd_rewind): Likewise.
8109 (plain_tapefd_resetofs): Likewise.
8110 (plain_tapefd_unload): Likewise.
8111 (plain_tapefd_status): Likewise.
8112 (plain_tapefd_weof): Likewise.
8114 2000-12-04 John R. Jackson <jrj@purdue.edu>
8116 * server-src/amdump.sh.in: Temporary fix for $LOGNAME vs whoami
8119 2000-12-04 John R. Jackson <jrj@purdue.edu>
8121 * server-src/conffile.c (read_conffile_recursively): If the file name
8122 for the includefile directive is not absolute, make it relative to
8123 the configuration directory.
8125 2000-12-03 John R. Jackson <jrj@purdue.edu>
8127 * restore-src/amrestore.c: Fix header when compression is included.
8128 Use "fast" option for -c and add new -C option to get "best".
8129 * man/amrestore.8: Document the new option, the compression level,
8130 and clean up some nroff issues.
8132 2000-11-30 Marc Mengel <mengel@fnal.gov>
8134 * changer-src/chg-chio.pl.in: Use am-mt and am-dd versus mt and dd.
8135 * changer-src/chg-chs.sh.in: Likewise.
8136 * changer-src/chg-manual.sh.in: Likewise.
8137 * changer-src/chg-mtx.sh.in: Likewise.
8138 * changer-src/chg-multi.sh.in: Likewise.
8139 * changer-src/chg-rth.pl.in: Likewise.
8140 * changer-src/chg-zd-mtx.sh.in: Likewise.
8141 * tape-src/am-dd.c: New file. Replacement for dd.
8142 * tape-src/am-mt.c: New file. replacement for mt.
8143 * tape-src/Makefile.am: Add build for am-mt and am-dd.
8144 * tape-src/tapeio.c (tape_unload, tapefd_unload, tape_status,
8145 tapefd_status): New functions.
8146 (tape_rewind, tape_fsf, tape_rdlabel): Change error message
8147 for tape being offline so it matches online/offline regex
8149 (tape_open): Ifdef-out mode flag clearing, so you can pass
8150 O_TRUNC, etc. in for am-dd.
8152 2000-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8154 * common-src/util.c: #include "../tape-src/tapeio.h"
8155 * tape-src/tapeio.c(tapefd_write): second arg is const.
8156 * tape-src/tapeio.h(tapefd_write): Likewise.
8157 * common-src/event.c(event_loop): declare entry if ASSERT is defined.
8158 * changer-src/chg-scsi.c: Fix compiler warning.
8159 * changer-src/scsi-aix.c: Likewise.
8160 * changer-src/scsi-bsd.c: Likewise.
8161 * changer-src/scsi-cam.c: Likewise.
8162 * changer-src/scsi-changer-driver.c: Likewise.
8163 * changer-src/scsi-defs.h: Likewise.
8164 * changer-src/scsi-hpux.c: Likewise.
8165 * changer-src/scsi-hpux_new.c: Likewise.
8166 * changer-src/scsi-irix.c: Likewise.
8167 * changer-src/scsi-linux.c: Likewise.
8168 * changer-src/scsi-solaris.c: Likewise.
8169 * changer-src/sense.c: Likewise.
8171 2000-11-22 John R. Jackson <jrj@purdue.edu>
8173 * contrib/dbbackup.ksh: Deal with adm being a symlink.
8174 * contrib/dbbackup.tcl: Update for Tcl 8.3 and newer Oratcl versions.
8176 2000-11-22 John R. Jackson <jrj@purdue.edu>
8178 * Makefile.am: Forgot to add contrib/sst/README.Amanda to the list
8179 of files to put in a distribution.
8181 2000-11-21 John R. Jackson <jrj@purdue.edu>
8183 * recover-src/extract_list.c (extract_files_child): Add support for
8186 2000-11-21 John R. Jackson <jrj@purdue.edu>
8188 * server-src/amcheck.c: Minor message wording changes.
8190 2000-11-21 John R. Jackson <jrj@purdue.edu>
8192 * configure.in: Forgot to check in this part of new amgetconf.8.in.
8194 2000-11-21 John R. Jackson <jrj@purdue.edu>
8196 * contrib/sst/README.Amanda: New file of Amanda specific sst notes.
8197 * contrib/sst/sst.c: Attempt at letting gcc compile sst.
8199 2000-11-21 John R. Jackson <jrj@purdue.edu>
8201 * man/amgetconf.8.in: New man page.
8202 * man/Makefile.am: Add support for amgetconf.8.in.
8203 * man/amadmin.8.in: Update for 2.4.2 and do general cleanup.
8204 * man/amanda.8.in: Ditto.
8205 * man/amcheck.8.in: Ditto.
8206 * man/amcheckdb.8.in: Ditto.
8207 * man/amcleanup.8.in: Ditto.
8208 * man/amdump.8.in: Ditto.
8209 * man/amflush.8.in: Ditto.
8210 * man/amlabel.8.in: Ditto.
8211 * man/amrecover.8.in: Ditto.
8212 * man/amreport.8.in: Ditto.
8213 * man/amrestore.8: Ditto.
8214 * man/amrmtape.8.in: Ditto.
8215 * man/amstatus.8.in: Ditto.
8216 * man/amtape.8: Ditto.
8217 * man/amtoc.8.in: Ditto.
8218 * man/amverify.8.in: Ditto.
8220 2000-11-21 John R. Jackson <jrj@purdue.edu>
8222 * contrib/sst/sst.c (sst_ioctl): Allow non-root users to use sst.
8224 2000-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8226 * server-src/amdump.sh.in: exit if amgetconf exit with status != 0.
8227 * server-src/amcleanup.sh.in: ditto
8228 * server-src/amstatus.pl.in: ditto
8230 2000-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8232 * server-src/driver.c (start_some_dumps): don't check free_kps if
8234 * server-src/driver.c (free_kps): remove the kludge.
8236 2000-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8238 * server-src/conffile.c: It's an error to have a negative chunksize.
8239 * man/amanda.8.in: remove documentation of negative chunksize.
8240 * example/amanda.conf.in: ditto
8241 * example/amanda.conf.chg-scsi.in:ditto
8242 * NEWS: negative chunksize is no longer supported.
8244 2000-11-03 John R. Jackson <jrj@purdue.edu>
8246 * server-src/driver.c (handle_taper_result): the holding disk entry
8247 should not be removed just because taper could not write it out in
8248 the "too many taper retries" case. It should be left for amflush.
8250 2000-11-01 John R. Jackson <jrj@purdue.edu>
8252 * server-src/amverify.sh.in: use common form for getting the first
8253 line of a file/pipe. Sed is more portable than head.
8255 2000-10-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8257 * client-src/selfcheck.c (check_disk): Write an appropriate
8258 message if the disk name start with '//' and the program is DUMP
8259 or SAMBA is not compiled in.
8261 2000-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8263 * server-src/driver.c (handle_chunker_result): The dumpsize is
8264 the third argument, not the fourth.
8266 2000-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8268 * server-src/driver.c (handle_chunker_result): don't check
8269 pending_aborts, call event_release() ob ABORT-FINISHED.
8271 2000-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8273 * server-src/chunker.c (databuf_flush): workaround to prevent a
8274 hang on a ABORT command.
8276 2000-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8278 * server-src/driver.c (continue_dumps): set estimate to more than
8279 what is already use instead of setting no_hold=1 when a disk
8280 don't fit on holding disk.
8282 2000-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8284 * server-src/chunker.c: chunker was broken after RQ-MORE-DISK.
8286 2000-10-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8288 * server-src/amstatus.pl.in: add '&' when calling &usage()
8291 2000-10-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8292 reported by The Hermit Hacker <scrappy@hub.org>
8294 * changer-src/chg-chio.pl.in: remove unused $libexecdir.
8296 2000-10-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8297 reported by The Hermit Hacker <scrappy@hub.org>
8299 * changer-src/chg-chio.pl.in: remove comma after LOG,
8300 typo: r should be 0.
8302 2000-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8304 * docs/INDEXING: doc updated.
8306 2000-10-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8308 * AUTHORS: add Thomas Hepper.
8310 2000-10-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8312 * server-src/driverio.c (chunker_cmd): send ABORT command.
8314 2000-10-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8316 * server-src/amverify.sh.in: grep only the first line of the header.
8318 2000-10-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8320 * server-src/amverify.sh.in: verify with tar even if the
8321 server and the client are not configured with the same path.
8323 2000-10-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8325 * NEWS: A new `ctimeout' keyword in amanda.conf to replace
8326 the CHECK_TIMEOUT constant in amcheck.c.
8328 2000-10-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8330 * server-src/amlabel.c: Don't set tape_ok to 0 if
8331 tape_wrlabel is successful.
8333 2000-10-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8335 * server-src/taper.c: amfree(strclosing).
8337 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8339 * server-src/driver.c: typo.
8341 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8343 * configure.in: --with-samba-user is deprecated.
8344 * docs/SAMBA: the username is now on the amandapass file.
8345 * NEWS: the username is now on the amandapass file.
8346 * client-src/findpass.c (findpass): accept "*" as diskname.
8347 * client-src/selfcheck.c (check_disk): call to samba changed.
8348 * client-src/sendsize.c (getsize_smbtar): ditto.
8349 * client-src/sendbackup-gnutar.c (start_backup): ditto.
8350 * recover-src/extract_list.c (extract_files_child): ditto.
8352 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8354 * server-src/taper.c: give better message when failing
8357 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8359 * server-src/diskfile.c (headqueue_disk): new function to
8360 insert at the head of the queue.
8361 * server-src/diskfile.h (headqueue_disk): prototype.
8362 * server-src/driver.c (taper_queuedisk): insert with
8363 headqueue_disk() if disk already attempted.
8365 2000-10-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8367 * AUTHORS: fix my email address.
8369 2000-09-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8371 * server-src/amcheck.c: Don't accept -m or -M option if MAILER
8373 * server-src/reporter.c: Need a -f optionn if MAILER is not defined.
8375 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8376 patch by <jeg@time.ucsc.edu>
8378 * server-src/reporter.c (output_summary): check for tape_labels.
8380 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8382 * server-src/amindexd.c: use strcasecmp to compare hostname.
8384 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8386 * server-src/amstatus.pl.in: fix plural misuse.
8388 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8390 * man/amanda.8.in: add all pages in the SEE ALSO section.
8392 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8394 * man/amreport.8.in: amreport does not rotate the log.
8395 * man/amrestore.8: note on holdingdisk.
8396 * restore-src/amrestore.c: update usage.
8397 * server-src/amrmtape.sh.in: update usage.
8398 * server-src/amverify.sh.in.usage: update usage.
8400 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8402 * server-src/amoverview.pl.in: update usage information,
8403 -config is no longer needed for ccompatibility with other program.
8404 * man/amoverview.8.in: -config is no longer needed.
8406 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8408 * example/amanda.conf.in: chunk should not be larger than
8409 MAX_FILE_SIZE - 1Mb.
8411 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8413 * client-src/sendsize.c (getsize_smbtar): remove unused debug_level
8415 * server-src/amlabel.c (main): init errstr to NULL,
8416 fix compiler warning.
8418 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8419 patch by jason Thomas <jet@users.sourceforge.net>
8421 * tape-src/tapetype.c: fix help message.
8423 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8424 patch by Rudolf Cejka <cejkar@users.sourceforge.net>
8426 * common-src/file.c (mkpdir): check p != NULL
8427 * man/amstatus.8.in: typo
8429 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8430 patch by Rudolf Cejka <cejkar@users.sourceforge.net>
8432 * client-src/calcsize.c:sets correct program name,
8433 prevent coredumps and some improrer command line error mesages
8435 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8437 * common-src/amanda.h: prototype clean_regex().
8438 * common-src/match.c: new function clean_regex() that escape
8439 all non-alphanumeric character.
8440 * recover-src/extract_list.c (add_file, delete_file): use clean_regex().
8442 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8444 * server-src/amcheck.c: (start_server_check): check for the oldlog
8447 2000-09-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8449 * server-src/amtrmlog.c: better check of the oldlog directory.
8451 2000-09-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8453 * server-src/amcheck.c: (start_server_check): don't check the tape
8454 if tapedev is /dev/null.
8456 2000-09-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8458 * server-src/reporter.c (output_tapeinfo): test reversed for run_tapes.
8460 2000-07-31 Thomas Hepper <th@ant.han.de>
8461 * changer-src/chg-scsi.c: Rework of the device handling.
8462 Every device is opend for an operation and than closed.
8463 This will hopefully fix the problems with openening the tape device
8464 and the SCSI control device for the tape
8465 new option emubarcode (see docs/TAPE.CHANGERS)
8466 * changer-src/scsi-cam.c: Changed to work with the new device handling.
8467 * changer-src/scsi-hpux_new.c: Changed to work with the new device handling.
8468 * changer-src/scsi-irix.c: Changed to work with the new device handling. (Not tested)
8469 * changer-src/scsi-solaris.c: Changed to work with the new device handling. (Not tested)
8470 * changer-src/scsi-linux.c: Changed to work with the new device handling.
8471 * changer-src/scsi-changer-driver.c: Changed to work with the new device handling
8472 * changer-src/scsi-defs.h: Changed to work with the new device handling
8473 2000-07-18 John R. Jackson <jrj@purdue.edu>
8475 * changer-src/chg-chio.pl.in (do_time): fix chg-chio.pl timestamp
8476 function to return a string instead of writing to stdout.
8478 2000-07-18 John R. Jackson <jrj@purdue.edu>
8480 * server-src/taper.c (file_reader_side): detach and destroy shared
8481 memory areas on an error condition. Found by Patrik Andersin
8484 2000-07-17 Thomas Hepper <th@ant.han.de>
8485 * docs/TAPE.CHANGERS: Added some notes for the cam driver
8486 * changer-src/scsi-cam.c: New syntax for telling scsi ids
8488 SCSI_ExecuteCommand now returns the correct sense buffer.
8490 2000-07-17 Thomas Hepper <th@ant.han.de>
8491 * configure.in: Added check for BSD SCSI CAM Support
8492 * changer-src/scsi-cam.c: New, functions for SCSI CAM Support
8493 ( at the moment for FreeBSD 4.0)
8494 * changer-src/Makefile.am: added scsi-cam.s to the list of sources
8495 * changer-src/chg-scsi.c: The structs for the OpenFiles_T is now
8496 allocated in chg-scsi and passed to OpenDevice.
8497 * changer-src/scsi-changer-driver.c: New Parameter for OpenDevice
8500 2000-07-10 Marc Mengel <mengel@fnal.gov>
8501 * tape-src/tapeio.c -- add tape_{stat,access}, allow "plain:" prefix
8502 on tape device names
8503 * tape-src/tapeio.h -- add tape_{stat,access} prototypes
8504 * common-src/util.c -- call tape_{read,write}() in full{read,write}()
8505 * restore-src/amidxtaped.c -- use tape_stat() on tapename
8506 * restore-src/amrestore.c -- use tape_stat() on tapename
8507 * server-src/amcheck.c -- use tape_access() on tapename
8508 * client-src/Makefile.am -- now needs libamtape.a twice
8509 * server-src/Makefile.am -- now needs libamtape.a twice
8510 * recover-src/Makefile.am -- now needs libamtape.a twice
8511 * Makefile.am -- tape-src before client-src
8513 2000-07-05 Thomas Hepper <th@ant.han.de>
8514 * changer-src/chg-scsi.c: fixed an core dump if tapeident was set
8515 * changer-src/scsi-changer-driver.c (OpenFile):
8516 if the ident ist set in the config set this in the internal device
8518 * changer-src/scsi-changer-driver.c (GenerciSenseHandler):
8519 changed the type for the info text from char * to char ** which
8520 is passwd to Sense2Action
8521 * changer-src/scsi-changer-driver.c (ChangerStatus):
8522 fixed the bug which causes an core dump for chg-scsi -status robot
8523 if an bar code reader is detected. Fixed also the bug that the
8524 mapping Label -> Barcode was not displayed.
8525 * changer-src/scsi-defs.h: Changed the prototype for Sense2Action
8526 * changer-src/sense.c: Added the defs for the Spectra TreeFrog lib
8527 * changer-src/sense.c (Sense2Action); Fixed the handling if no match
8528 was found (fall back to the generic description)
8530 2000-06-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8532 * server-src/list_dir.c (add_dir_list_item): add at head of list.
8534 2000-06-24 Thomas Hepper <th@ant.han.de>
8535 * changer-src/chg-scsi-chio.c: Merged changes from 2.4.2
8536 * changer-src/chg-scsi.c: Merged changes from 2.4.2
8537 * changer-src/sense.c: New file. Contains an table and function for the
8538 mapping of sense/ASC/ASCQ conditions from the SCSI sense.
8539 * changer-src/scsi-changer-driver.c: Merged changes from 2.4.2
8540 Changed handling for the sense keys. Now there is only one function
8541 to decide what to do with an sense/ASC/ASCQ conditon (abort,retry ..)
8542 * changer-src/Makefile.am: Added sense.c to the source list.
8543 * changer-src/scsi-solaris.c: Merged changes from 2.4.2
8544 * changer-src/scsi-linux.c: Merged changes from 2.4.2
8545 * changer-src/scsi-irix.c: Merged changes from 2.4.2
8546 * changer-src/scsi-hpux_new.c: Merged changes from 2.4.2
8547 * changer-src/scsi-defs.h: Merged changes from 2.4.2
8549 2000-06-12 Jeroen Ruigrok van der Werven <asmodai@wxs.nl>
8551 * server-src/amlabel.c (main): Do not amfree(config_name).
8553 2000-06-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8555 * server-src/holding.c (pick_datestamp): convert ch to upper.
8557 2000-05-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8559 * server-src/driver.c (handle_dumper_result, handle_chunker_result):
8560 delay call to dumper_result().
8562 2000-05-28 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8564 * client-src/sendbackup-gnutar.c: Ignore `socket ignored' GNU tar
8567 2000-05-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8569 * chunker.c: allow chunk to be written on different holding disk.
8570 * server-src/driver.c: allow chunk to be written on different
8572 * server-src/conffile.c: make sure that disksize and chunksize
8573 are multiple of TAPE_BLOCK_SIZE.
8574 * server-src/conffile.h: disksize and chunksize are long.
8575 * server-src/diskfile.c (find_disk): new function to see if a
8576 given disk is contained in a list structure.
8577 * server-src/diskfile.h (find_disk): prototype.
8578 * server-src/driverio.h (RQ_MORE_DISK): Added message.
8579 * server-src/driverio.h (free_assignedhd): prototype.
8580 * server-src/driverio.h (assignedhd_t): new data structure.
8581 * server-src/driverio.c (cmdstr): added comamnd RQ-MORE-DISK.
8582 * server-src/driverio.c (free_assignedhd): new function to free an
8583 array of assignedhd_t.
8585 2000-05-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8587 * server-src/driver.c (chunker_program): new variable.
8589 2000-04-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8591 * server-src/amstatus.pl.in: handle chunker line.
8593 2000-04-20 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8595 * recover-src/Makefile.am (LDADD): Removed libamtape.
8596 Reported by Paul Yeatman <pyeatman@ucsd.edu>
8598 2000-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8600 * server-src/chunker.c: new file for the chunker program.
8601 * server-src/Makefile.am: compile it.
8602 * server-src/driver.c: many modification.
8603 * server-src/driverio.c: many modification.
8604 * server-src/driverio.c (startup_chunk_process, chunker_cmd):
8606 * server-src/driverio.h: prototype them.
8607 * server-src/driverio.h (struct chunker_s): new structure.
8608 * server-src/logfile.c: handle chunker log.
8609 * server-src/logfile.h: ditto.
8610 * server-src/reporter.c: ditto.
8611 * server-src/taper.c: size reduced by TAPE_BLOCK_SIZE.
8613 2000-04-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8615 * server-src/taper.c: don't crash if the tapelist file
8618 2000-04-09 Frank Wojcik <fwojcik@lucent.com>
8620 * server-src/taper.c (detach_buffers): Fixed typo in error message.
8622 * server-src/amrmtape.sh.in: Fix occurrence of `Infofile', that
8623 should have been `InfoFile'.
8625 2000-04-09 Davide Marchignoli <marchign@di.unipi.it>
8627 * server-src/conffile.h (confparm_t): Added CTIMEOUT.
8628 * server-src/conffile.c: Added ctimeout support. Default to 30.
8629 * example/amanda.conf.in: Likewise.
8630 * man/amanda.8.in: Documented it.
8631 * server-src/amcheck.c: Use ctimeout from configuration file instead
8634 2000-04-09 Stan Brown <stanb@awod.com>
8636 * recover-src/amrecover.c (guess_disk): Omit DEV_PREFIX only if
8637 it is actually a prefix of fsname.
8639 2000-04-09 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8641 * server-src/amlabel.c (main): Check label *after* writing end mark.
8643 2000-03-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8645 * server-src/amlabel.c: don't crash if the tapelist file
8648 2000-02-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8650 * server-src/amstatus.pl.in: "0 dumpers busy" should be "0 dumper busy".
8652 2000-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8654 * server-src/amadmin.c (force_one, force_bump_one): FORCE_FULL
8655 and FORCE_BUMP are mutually exclusive.
8657 2000-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8659 * server-src/driver.c (main): use the holding disk even if the
8660 datestamped directory already exist.
8662 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8664 * server-src/amstatus.pl.in (prefix, exec_prefix): Refer to them
8665 twice to avoid warnings of possible typo.
8667 * amplot/amplot.awk: Ignore dumper's RQ-MORE-DISK.
8668 Reported by David Wolfskill <dhw@whistle.com>
8669 * amplot/amplot.awk: Handle taper's TRY-AGAIN like TAPE-ERROR.
8671 * server-src/amstatus.pl.in: Compute and display TRY-AGAIN tape
8673 Reported by David Wolfskill <dhw@whistle.com>
8675 * man/amtoc.8.in: Document -w.
8677 2000-01-21 David Wolfskill <dhw@whistle.com>
8679 * server-src/amtoc.pl.in: Add `-w' to add new lines and form feeds.
8681 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8683 * man/amlabel.8.in: Tapes are no longer requested in reverse order
8685 Reported by Brad Guillory <round@baileylink.net>
8687 * server-src/amstatus.pl.in: New option --stats, to display
8688 statistics about dumpers and taper.
8689 * man/amstatus.8.in: Document it.
8691 2000-01-21 David Wolfskill <dhw@whistle.com>
8693 * server-src/amstatus.pl.in: Sort dumpers by number.
8695 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8697 * server-src/amstatus.pl.in: Remove bogus (?) line `$$host=1'.
8699 * configure.in (MAILER): Warn or print an error if not found,
8700 depending on whether server code is disabled or not.
8702 * server-src/reporter.c (output_tapeinfo): Report used tapes
8703 regardless of tape errors.
8705 * config/acinclude.m4i (CF_WAIT): Simplify the test. Declare wait()
8706 in the global scope.
8708 2000-01-21 Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
8710 * config/acinclude.m4i (CF_WAIT): Avoid warnings on systems
8711 where `union wait' works but is deprecated.
8713 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8715 * recover-src/uscan.l (settape): Recognize it.
8716 * recover-src/uparse.y: Parse it.
8717 * recover-src/amrecover.h (set_tape): Declare it.
8718 * recover-src/set_commands.c (set_tape): Implement it.
8719 * recover-src/help.c (help_list): Document it.
8720 * man/amrecover.8.in: Likewise.
8721 * recover-src/extract_list.c (extract_files): Warn if tape device is
8723 * recover-src/amrecover.c (tape_device_name): Default to
8724 server-determined default.
8726 2000-01-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8728 * configure.in: Recognize alpha*-*-linux-* and sparc*-*-linux-*.
8730 * tape-src/Makefile.am (../common-src/libamanda.$(LIB_EXTENSION)):
8731 Allow for `make tapetype' before libamanda is built.
8733 * server-src/amoverview.pl.in: Year doesn't take just 2 bytes.
8735 2000-01-06 David Wolfskill <dhw@whistle.com>
8737 * docs/TAPETYPES: Typo.
8739 2000-01-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8741 * docs/TAPETYPES: Removed all tapetype entries. Pointed to
8742 example/amanda.conf, to the mailing list archives and to the on-line
8743 tapetype list. Explained the meaning of length, filemark and speed,
8744 and how to build and use the tapetype utility.
8746 1999-12-12 John R. Jackson <jrj@purdue.edu>
8748 * configure.in: egrep was having trouble with quoting on some systems.
8749 Broke it apart into multiple unquoted statements. Also, changed the
8750 script to run the steps on all dump tests and added "Label" as another
8753 1999-12-12 John R. Jackson <jrj@purdue.edu>
8755 * tape-src/tapetype.c: tweak the algorithm to write files in both
8756 passes and compute the tape mark size as the difference. Never
8757 report a negative tape mark size. Various other minor cleanup.
8759 1999-11-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8761 * client-src/sendbackup-gnutar.c (re_table): #if out the debugging
8762 Samba messages unless SAMBA_VERSION < 2.
8764 1999-11-29 John E.P.Hynes <john@hytronix.ne.mediaone.net>
8766 * client-src/sendbackup-gnutar.c (re_table): Update for Samba 2.0.6.
8768 1999-11-25 John R. Jackson <jrj@purdue.edu>
8770 * server-src/amflush.c (main): conf_logdir should not be free'd
8771 (found by Espen H Wiborg <espenhw@infotek.no>).
8773 1999-11-10 John R. Jackson <jrj@purdue.edu>
8775 * recover-src/extract_list.c: report the tape server host in the
8776 message to check the amidxtaped.debug file. If extract_list_child
8777 fails (such as when amidxtaped fails to read the tape), ask if
8778 things should continue instead of aborting.
8780 1999-11-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8782 * server-src/driverio.c (update_info_dumper): Discard information on
8783 older same- or higher-level dumps.
8784 * server-src/driver.c (dump_to_tape): Add comment that _dumper must
8785 be called before _taper.
8787 * docs/FAQ: Sometimes FQDNs are wrong for amandahosts.
8789 1999-11-10 John R. Jackson <jrj@purdue.edu>
8791 * server-src/amindexd.c (build_disk_table): need to clear the old
8792 disk history list before building a new one.
8794 1999-11-10 John R. Jackson <jrj@purdue.edu>
8796 * server-src/taper.c (label_tape): issue a warning when tapedev is
8798 * server-src/amcheck.c (start_server_check): make warning message
8799 text the same for amcheck and taper when tapedev is /dev/null.
8801 1999-11-10 John R. Jackson <jrj@purdue.edu>
8803 * server-src/amcleanupdisk.c (main): try to remove empty holding disk
8805 * server-src/holding.c (scan_holdingdisk): do not automatically remove
8806 empty holding disk areas since this function is called by various
8807 utilities and a dump might be in progress.
8809 1999-11-10 James FitzGibbon <james@targetnet.com>
8811 * server-src/infofile.c (put_info): d.size should have been
8814 1999-11-09 John R. Jackson <jrj@purdue.edu>
8816 * server-src/amcheck.c (start_server_check): test tapedev for
8817 "/dev/null" and issue warning that dumps will be thrown away.
8819 1999-11-02 David M. Olsen <David.M.Olsen@boeing.com>
8821 * server-src/amadmin.c (main): Second occurrence of CNF_TAPELIST
8822 should have been CNF_INFOFILE; fixed.
8824 1999-11-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8826 * common-src/amflock.c (struct flock): Do not assume the fields are
8827 declared in any particular order.
8828 Reported by Sean Kelly <kelly@plutotech.com>
8830 * Makefile.am (EXTRA_DIST): Added contrib/set_prod_link.pl.
8831 * docs/INSTALL: Likewise.
8833 1999-11-02 Ricardo Malta <rmalta@bigfoot.com>
8835 * contrib/set_prod_link.pl: Create the links for a configuration
8838 1999-11-02 David M. Olsen <David.M.Olsen@boeing.com>
8840 * common-src/rsh-security.c (net_writev): The result of a cast is
8841 not an lvalue; fixed.
8843 1999-10-26 Nicolas Mayencourt <Nicolas.Mayencourt@cui.unige.ch>
8845 * server-src/amtoc.pl.in: Correct a bug for total report.
8847 1999-11-01 John R. Jackson <jrj@purdue.edu>
8849 * server-src/amcleanupdisk.c (main): do not free the config name (it
8852 1999-10-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8854 * common-src/debug.c: Do not assume stderr is a compile-time
8855 constant. On glibc 2.2 (RedHat Linux 6.1), it is not.
8857 1999-10-11 Nicolas Mayencourt <Nicolas.Mayencourt@cui.unige.ch>
8859 * server-src/amtoc.pl.in: Add new options -i and -t. Print original
8860 size, instead of size on tape.
8862 1999-10-07 John R. Jackson <jrj@purdue.edu>
8864 * common-src/stream.c (stream_server): remove reference to portrange
8865 variable. Compliments of Randy Dees <rrd@amherst.com>.
8867 1999-10-03 John R. Jackson <jrj@purdue.edu>
8869 * server-src/driver.c (main): now that multiple results can come back
8870 from taper and dumper without a handshake (e.g. NO-ROOM), we need to
8871 process them all rather than just the first one. Call the new
8872 areads_dataready() function to peek and see if more data is ready.
8873 * common-src/amanda.h: declare areads_dataready().
8874 * common-src/file.c: define areads_dataready(). Fix some variable
8875 types. Fix a buffer expansion problem. Add code to the test
8876 program to force buffer expansion to be checked out.
8878 1999-10-03 John R. Jackson <jrj@purdue.edu>
8880 * common-src/file.c (areads_getbuf): fix a buffer allocation problem.
8882 1999-10-03 John R. Jackson <jrj@purdue.edu>
8884 * common-src/amflock.c (main): do not use aclose() in the configure
8885 test case. During configure we do not have areads_relbuf()
8886 available and it makes configure think all the tests have failed.
8888 1999-10-03 John R. Jackson <jrj@purdue.edu>
8890 * common-src/amanda.h: protect the close macros and areads* from
8891 out of range file descriptors.
8892 * common-src/file.c: ditto.
8894 1999-10-02 John R. Jackson <jrj@purdue.edu>
8896 * server-src/amindexd.c (build_disk_table): only "OK" results from
8897 find_dump should be considered.
8899 1999-10-02 John R. Jackson <jrj@purdue.edu>
8901 * common-src/file.c (areads): when NO-ROOM became advisory and didn't
8902 participate in a full handshake, it exposed a problem in areads()
8903 where a static buffer was shared among all I/O. Changed it to use
8904 a separate buffer for each file descriptor. Enhanced the test
8905 program to check out the code.
8906 * common-src/amanda.h: ditto
8907 * restore-src/amidxtaped.c: minor areads/agets comment typo.
8908 * server-src/amindexd.c: ditto
8910 1999-10-02 John R. Jackson <jrj@purdue.edu>
8912 * server-src/amlogroll.c: fix minor memory leak.
8914 1999-09-29 John R. Jackson <jrj@purdue.edu>
8916 * server-src/dumper.c (do_dump): closed the dump messages file too
8919 1999-09-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8921 * recover-src/extract_list.c (samba_extract_method): Default to
8922 SAMBA_TAR, for similarity with other restore programs.
8923 (extract_files_child): If restore with SMBCLIENT is enabled, explain
8924 that Samba shares will be restored to the SMB share.
8926 1999-09-22 John R. Jackson <jrj@purdue.edu>
8928 * configure.in: wrong variable when processing LIBRARY_DIRS. Fix
8929 compliments of John M. Vogtle <jmvogtle@kodak.com>.
8931 1999-09-20 John R. Jackson <jrj@purdue.edu>
8933 * server-src/Makefile.am: use new amlogroll utility to rename the log
8934 file to the datestamped name.
8935 * server-src/amcheck.c: ditto.
8936 * server-src/amcleanup.sh.in: ditto and call all utilities with the
8937 config file name as an argument.
8938 * server-src/amdump.sh.in: ditto and call all utilities with the
8939 config file name as an argument.
8940 * server-src/amflush.c: ditto.
8941 * server-src/amlogroll.c: new utility.
8942 * server-src/driverio.c: ditto and call all utilities with the
8943 config file name as an argument.
8944 * server-src/reporter.c: ditto.
8946 1999-09-20 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8948 * amlogroll.c: It was missing; copied from the 2.4.2 branch.
8950 * configure.in (AMANDA_TMPDIR): Added comment for config.h.in.
8952 1999-09-19 John R. Jackson <jrj@purdue.edu>
8954 * server-src/amverify.sh.in: this script is important enough it should
8955 not depend on having perl installed. Clean up the AIX "mt status"
8956 code. Test for presense of other restore programs and check that
8957 they are executable during processing.
8959 1999-09-19 John R. Jackson <jrj@purdue.edu>
8961 * server-src/amverify.sh.in: put back an "mt status" wait loop I
8962 erroneously removed, but protect it from AIX.
8964 1999-09-19 John R. Jackson <jrj@purdue.edu>
8966 * common-src/util.c: fix math in bind_portrange so ports requested
8967 are between those the caller passed and make sure port 0 does not
8968 accidentally get requested, which returns a non-privileged port.
8969 * common-src/dgram.c: bind_portrange last port argument is inclusive.
8970 * common-src/stream.c: ditto.
8971 * recover-src/amrecover.c: ditto.
8972 * recover-src/extract_list.c: ditto.
8974 1999-09-19 John R. Jackson <jrj@purdue.edu>
8976 * server-src/driver.c: do not send a FILE_WRITE to the taper when the
8977 tape queue is empty during a TRYAGAIN (driver core dumped).
8979 1999-09-19 John R. Jackson <jrj@purdue.edu>
8981 * server-src/taper.c: fix protocol problems when out of tape. Add
8982 FAKE_TAPE_ERROR debugging code to simulate tape errors. Fix problem
8983 with command line argument processing.
8985 1999-09-18 John R. Jackson <jrj@purdue.edu>
8987 * configure.in: several compress/uncompress variables were not being
8990 1999-09-18 John R. Jackson <jrj@purdue.edu>
8992 * client-src/sendbackup.c: pclose returns a child exit status of the
8993 pipe, not an errno, so do not try to strerror it.
8994 Have the index child process exit with the pclose exit code.
8995 Treat index failures as strange rather than fatal so the dump gets
8996 fully processed. It's more important to have the dump image than
8997 to skip it just because indexing had a (possibly unrelated) problem.
8999 1999-09-15 John R. Jackson <jrj@purdue.edu>
9001 * server-src/amtoc.pl.in: handle an image failing on one tape and
9002 succeeding on the next.
9004 1999-09-15 John R. Jackson <jrj@purdue.edu>
9006 * server-src/amstatus.pl.in: generalize the "driver: state" parsing
9007 so it can handle current and future information.
9009 1999-09-15 John R. Jackson <jrj@purdue.edu>
9011 * common-src/bsd-security.c: if the user field is not present in the
9012 .amandahosts file, it should default to the local user, not the
9013 remote user. For our purposes, that is CLIENT_USER, not the user
9014 we are running as (although they should be the same).
9016 1999-09-14 John R. Jackson <jrj@purdue.edu>
9018 * configure.in: Add --with-tmpdir to ./configure and use it for
9019 all Amanda temporary files. Default --with-dbgdir to --with-tmpdir.
9020 Move libexec/getconf to sbin/amgetconf and add an optional
9021 config parameter. Add optional config parameter to several
9023 Add debugging to chg-chio.
9024 Call new safe_cd() function in most programs to cd to --with-tmpdir
9025 so if they drop core, it goes to a known spot. Rename existing
9026 core files so more than one failure may be tracked. Remove most
9027 chdir() and umask() calls (umask is set in safe_cd).
9028 * amplot/amplot.sh.in: ditto.
9029 * changer-src/chg-chio.pl.in: ditto.
9030 * changer-src/chg-chs.sh.in: ditto.
9031 * changer-src/chg-manual.sh.in: ditto.
9032 * changer-src/chg-mtx.sh.in: ditto.
9033 * changer-src/chg-multi.sh.in: ditto.
9034 * changer-src/chg-rth.pl.in: ditto.
9035 * changer-src/chg-scsi-chio.c: ditto.
9036 * changer-src/chg-scsi.c: ditto.
9037 * changer-src/chg-zd-mtx.sh.in: ditto.
9038 * client-src/amandad.c: ditto.
9039 * client-src/calcsize.c: ditto.
9040 * client-src/killpgrp.c: ditto.
9041 * client-src/rundump.c: ditto.
9042 * client-src/runtar.c: ditto.
9043 * client-src/selfcheck.c: ditto.
9044 * client-src/sendbackup-gnutar.c: ditto.
9045 * client-src/sendbackup.c: ditto.
9046 * client-src/sendsize.c: ditto.
9047 * common-src/alloc.c: ditto.
9048 * common-src/amanda.h: ditto.
9049 * common-src/amflock.c: ditto.
9050 * common-src/bsd-security.c: ditto.
9051 * common-src/debug.c: ditto.
9052 * common-src/file.c: ditto.
9053 * common-src/genversion.c: ditto.
9054 * restore-src/amidxtaped.c: ditto.
9055 * server-src/Makefile.am: ditto.
9056 * server-src/amadmin.c: ditto.
9057 * server-src/amcheck.c: ditto.
9058 * server-src/amcheckdb.sh.in: ditto.
9059 * server-src/amcleanup.sh.in: ditto.
9060 * server-src/amcleanupdisk.c: ditto.
9061 * server-src/amdump.sh.in: ditto.
9062 * server-src/amflush.c: ditto.
9063 * server-src/amfreetapes.sh.in: ditto.
9064 * server-src/amindex.c: ditto.
9065 * server-src/amindex.h: ditto.
9066 * server-src/amindexd.c: ditto.
9067 * server-src/amlabel.c: ditto.
9068 * server-src/amrmtape.sh.in: ditto.
9069 * server-src/amstatus.pl.in: ditto.
9070 * server-src/amtape.c: ditto.
9071 * server-src/amtrmidx.c: ditto.
9072 * server-src/amtrmlog.c: ditto.
9073 * server-src/amverify.sh.in: ditto.
9074 * server-src/changer.c: ditto.
9075 * server-src/changer.h: ditto.
9076 * server-src/conffile.c: ditto.
9077 * server-src/conffile.h: ditto.
9078 * server-src/diskfile.c: ditto.
9079 * server-src/driver.c: ditto.
9080 * server-src/driverio.c: ditto.
9081 * server-src/dumper.c: ditto.
9082 * server-src/find.c: ditto.
9083 * server-src/getconf.c: ditto.
9084 * server-src/holding.c: ditto.
9085 * server-src/infofile.c: ditto.
9086 * server-src/logfile.c: ditto.
9087 * server-src/planner.c: ditto.
9088 * server-src/reporter.c: ditto.
9089 * server-src/tapefile.c: ditto.
9090 * server-src/taper.c: ditto.
9092 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9094 * common-src/bsd-security.c (bsd_stream): fn should take an ssize_t.
9095 (bsd_stream_read): Likewise, declaration.
9096 * common-src/rsh-security.c (rsh_stream): Likewise.
9097 (rsh_stream_read): Likewise, declaration and definition.
9098 * common-src/krb4-security.c (dummy): Compile when disabled.
9099 * common-src/krb5-security.c (dummy): Likewise.
9101 * server-src/reporter.c (sDivZero): Change from float to double, to
9104 * configure.in: Get snapshot date from SNAPSHOT file, if it exists.
9105 (VERSION): Add the date to it.
9106 (SNAPSHOT_STAMP): AC_SUBST to the SNAPSHOT file, if it exists.
9107 * Makefile.am (EXTRA_DIST): Added $(SNAPSHOT_STAMP).
9108 (config.status): Depend on $(SNAPSHOT_STAMP).
9109 (SNAPSHOT): Dummy rule to allow reconfigure if it's removed.
9111 * config/Makefile.am: Remove all traces of acconfig.h.
9113 * server-src/changer.c (changer_command): Fix for amwait_t != int.
9115 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9117 * config/acinclude.m4i: Added comments for config/config.h.in to all
9119 * configure.in: Likewise.
9120 * config/acconfig.h: Deleted.
9123 1999-09-05 John R. Jackson <jrj@purdue.edu>
9125 * changer-src/chg-chio.pl.in: add -w to #! line to catch more errors.
9126 * recover-src/display_commands.c: fix some compiler warnings.
9127 * recover-src/extract_list.c: fix some compiler warnings.
9128 * restore-src/amrestore.c: fix some compiler warnings.
9129 * server-src/planner.c: fix some compiler warnings.
9131 1999-09-05 John R. Jackson <jrj@purdue.edu>
9133 * recover-src/extract_list.c: add VRESTORE and VXRESTORE support.
9135 1999-09-05 John R. Jackson <jrj@purdue.edu>
9137 * common-src/stream.c: make sure errno is returned properly from
9138 stream_client() and stream_server().
9139 * server-src/taper.c: report errors from stream_server() and
9141 * recover-src/extract_list.c: make sure errno is preserved.
9143 1999-09-05 John R. Jackson <jrj@purdue.edu>
9145 * configure.in: make sure the dump and restore programs are defined
9146 in pairs, do not allow just the dump program without restore.
9147 * client-src/sendbackup-dump.c: assume restore program is present
9149 * common-src/genversion.c: assume restore program is present if
9152 1999-09-05 John R. Jackson <jrj@purdue.edu>
9154 * common-src/genversion.c: CLIENT_LOGIN has to be defined so there
9155 is no point testing for it.
9156 * server-src/conffile.c: ditto.
9158 1999-09-05 John R. Jackson <jrj@purdue.edu>
9160 * server-src/amverify.sh.in: add SMBCLIENT, VRESTORE, VXRESTORE
9161 and XFSRESTORE support.
9163 1999-09-05 John R. Jackson <jrj@purdue.edu>
9165 * server-src/conffile.c: add several common abbreviations to config
9168 1999-09-01 John R. Jackson <jrj@purdue.edu>
9170 * server-src/amtoc.pl.in: allow multiple -s entries.
9172 1999-09-01 John R. Jackson <jrj@purdue.edu>
9174 * server-src/reporter.c: handle/report a common columnspec syntax
9175 error instead of dumping core.
9177 1999-09-01 John R. Jackson <jrj@purdue.edu>
9179 * man/amanda.8.in: typo in columnspec description.
9181 1999-09-01 John R. Jackson <jrj@purdue.edu>
9183 * common-src/dgram.h: expressions in #define should be protected by
9186 1999-08-25 Alexandre Oliva <oliva@dcc.unicamp.br>
9188 * changer-src/chg-chs.sh.in (changerdev): Pass it as -f flag to CHS.
9189 * docs/TAPE.CHANGERS: Document it.
9190 Reported by Mike Horansky <moho@stanford.EDU>
9192 * server-src/conffile.c (read_dumptype): Renamed from get_dumptype.
9193 Extended to support reading a named dumptype from a specified FILE.
9194 (get_dumptype): Use read_dumptype.
9195 (main): Read disklist, so that custom dumptypes are shown.
9196 * server-src/conffile.h (read_dumptype): Declare.
9197 * server-src/diskfile.c (parse_diskline): Get line_num and line by
9198 reference. New argument diskf. Use read_dumptype if dumptype
9201 * man/amanda.8.in (disklist): Document it.
9203 * example/disklist: Exemplify it.
9205 1999-08-23 John R. Jackson <jrj@purdue.edu>
9207 * recover-src/amrecover.c (main): fix test for IPPORT_RESERVED.
9208 * recover-src/extract_list.c (extract_files_setup): ditto.
9210 1999-08-23 John R. Jackson <jrj@purdue.edu>
9212 * server-src/reporter.c (copy_template_file): make sure all data is
9213 written to label template pipeline.
9215 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
9217 * common-src/Makefile.am: Replace .o with OBJEXT. List sources
9218 explicitly, instead of LDADDing the corresponding objects.
9219 (OBJ_EXTENSION): Wipe out, use OBJEXT.
9221 * configure.in: Call AC_OBJEXT.
9222 (LTLIBOBJS, LTALLOCA): Define, according to ac_objext.
9223 * common-src/Makefile.am (libamanda_la_LIBADD): Use them.
9224 (libamanda_a_LIBADD): Use LIBOBJS and ALLOCA.
9226 * common-src/Makefile.am (genversion.o): Revert last change, it was
9227 just a bug in automake's --disable-dependency-tracking.
9229 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
9231 * README (platforms): Added OpenBSD.
9232 Reported by Ian Darwin <ian@sq.com>
9233 (platforms): Added SunOS 5.7.
9235 1999-08-15 Derek Ney <derek@hipgraphics.com>, Alexandre Oliva <oliva@dcc.unicamp.br>
9237 * client-src/sendsize.c (SAMBA_DEBUG_LEVEL): New macro, "0" for
9238 Samba >= 2, "3" for older ones.
9239 (getsize_smbtar): Use `du' if SAMBA_VERSION >= 2, and the
9240 appropriate SAMBA_DEBUG_LEVEL.
9242 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
9244 * common-src/Makefile.am (genversion.o): Depend on genversion.c
9245 too. It seems that IRIX's make doesn't work without it.
9246 Reported by Brian Cuttler <brian@wadsworth.org>
9248 1999-08-15 Jon LaBadie <jon@jgcomp.com>
9250 * tape-src/tapetype.c: Speed it up by using larger sections in the
9253 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
9255 * man/amanda.8.in (skip-full, incronly): Document existing bugs.
9257 * server-src/conffile.c (init_defaults): Default disksize to 0.
9258 * man/amanda.8.in (holdingdisk use): Document it.
9259 Reported by Grant Beattie <Grant.Beattie@fulcrum.com.au>
9261 * server-src/planner.c (setup_estimate): Typo.
9262 (next_level0): Typo.
9264 * config/ltconfig, config/ltmain.sh: Update from libtool 1.3.3.
9266 * example/amanda.conf.in: Clarify holdingdisk::use 0.
9268 * config/missing: Update from automake 1.4a.
9270 1999-07-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9272 * man/amanda.8.in: typo.
9274 1999-06-29 Alexandre Oliva <oliva@dcc.unicamp.br>
9276 * man/amrestore.8: Document holding-file usage.
9278 1999-06-25 Alexandre Oliva <oliva@dcc.unicamp.br>
9280 * Makefile.am (pkgdata_DATA): Install COPYRIGHTs.
9281 (EXTRA_DIST): Remove docs/*.
9282 * docs/Makefile.am: New file.
9283 (pkgdata_DATA): Install all docs.
9284 * configure.in: Output docs/Makefile.
9285 Suggested by Paul L. Lussier <plussier@baynetworks.com>
9287 * docs/FAQ (selfcheck time-out): NIS services, inetd rebooting,
9288 keyboard time-out, lsof.
9290 * server-src/amverify.sh.in (HEADER): Use `sed 1q' instead of the
9291 not-that-portable `head -1'.
9292 Reported by Andrew Lare <lare@eos913c.gsfc.nasa.gov>
9294 1999-06-19 Alexander Zangerl <az@Austria.EU.net>
9296 * client-src/sendbackup-dump.c (re_table): Match Solaris vxdump
9299 1999-06-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9301 * server-src/dumper.c (read_indexfd): typo
9303 1999-06-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9305 * server-src/dumper.c (do_dump): Close the indexout fh and wait
9306 for the completion of the index compress process.
9307 * server-src/dumper.c (read_mesgfd,read_datafd): Call stop_dump only
9308 if the index fd is already shut down.
9309 * server-src/dumper.c (read_indexfd): On EOF, call stop_dump() if both
9310 the mesg and data fd are shut down.
9312 1999-06-15 Adam Hammer <hammer@math.purdue.edu>
9314 * server-src/amverify.sh.in: Wait until device becomes ready after
9317 1999-06-15 Björn Brezger <Bjoern.Brezger@uni-konstanz.de>, Alexandre Oliva <oliva@dcc.unicamp.br>
9319 * client-src/calcsize.c (ROUND): Rewrite, it was broken.
9320 Reported by Erik Lindahl <erik@theophys.kth.se>
9322 1999-06-15 Alexandre Oliva <oliva@dcc.unicamp.br>
9324 * server-src/conffile.h: Changed all `long's to `int's, as they
9325 broke get_number et al on 64bit platforms.
9326 Reported by Erik Lindahl <erik@theophys.kth.se>
9328 * configure.in (bcopy, bzero): Oops, ICE_CHECK_DECL already checks
9331 * configure.in (bcopy, bzero): Check whether they're available.
9332 * common-src/amanda.h (bcopy, bzero): If not, use memmove and
9334 Reported by Grant Beattie <Grant.Beattie@fulcrum.com.au>
9336 * server-src/amcheck.c (start_server_check): If info file does not
9337 exist, explain that it is supposed to be created on the next run.
9339 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
9341 * server-src/tapefile.c (lookup_last_reusable_tape): Fix order of
9342 arguments in match() invocation.
9343 From Anthony Worrall <Anthony.Worrall@reading.ac.uk>
9345 1999-06-08 Mike Grupenhoff <kashmir@munge.com>
9347 * restore-src/amrestore.c: second arg to restore() is a char *, not
9348 a string_t. Adjust prototype accordingly.
9350 1999-06-07 Mike Grupenhoff <kashmir@munge.com>
9352 * common-src/util.c (bind_portrange): function that attempts
9353 to bind a network connection to a port in a given range.
9354 * common-src/util.h: prototype bind_portrange().
9355 * common-src/dgram.c (bind_reserved): remove, superceeded by
9357 (dgram_bind): use bind_portrange() instead of bind_reserved(), and
9358 try user specified ports first, then reserved ports, then regular
9360 * common-src/dgram.h: remove prototype for bind_reserved().
9361 * common-src/stream.c (stream_server, stream_client): use
9362 bind_portrange() instead of bind_reserved(), and try user
9363 specified ports first, then reserved ports, then regular
9365 * recover-src/amrecover.c (main): use bind_portrange() instead
9366 of bind_reserved(), and verify that the port it gives us is
9368 * recover-src/extract_list.c (extract_files_setup): use
9369 bind_portrange() instead of bind_reserved(), and verify that
9370 the port it gives us is a reserved one.
9372 1999-06-07 Mark F. Vlems <mvlems@vbox.xs4all.nl>
9374 * server-src/amindexd.c (reply, lreply, fast_lreply): Return code 0
9375 of printf does not imply an error on some systems (Openstep) even if
9376 the number of written characters is more than 0. The weakened error
9377 check has no implication for the correct implementations of printf.
9379 1999-06-03 Alexandre Oliva <oliva@dcc.unicamp.br>
9381 * server-src/driver.c (dump_to_tape): Tell hard from soft
9382 (retryable) failures in both dumper and taper results, and behave
9385 * docs/SYSTEM.NOTES: On Trusted Solaris, the format of inetd.conf is
9387 Reported by Julian Stevens <julian.stevens@baedsl.co.uk>
9389 1999-06-02 Mike Grupenhoff <kashmir@munge.com>
9391 * common-src/util.c (fullread, fullwrite): versions of
9392 read()/write() that keep looping until the buffer is
9393 completely read/written, or an error occurs.
9394 * common-src/Makefile.am: build util.c/util.h
9395 * common-src/fileheader.c, common-src/fileheader.h
9396 (fill_buffer): remove, replaced with fullread()
9397 * server-src/holding.c: use fullread() instead of fill_buffer().
9398 * common-src/bsd-security.c, restore-src/amrestore.c,
9399 server-src/amcheck.c, server-src/driverio.c, server-src/dumper.c,
9400 server-src/logfile.c, server-src/taper.c: use fullread/fullwrite
9401 instead of doing the retry loops manually.
9403 1999-06-02 Mike Grupenhoff <kashmir@munge.com>
9405 * server-src/dumper.c (read_mesgfd, read_datafd): upon EOF,
9406 close the stream. If the other stream is also closed, shut
9409 1999-06-02 Mike Grupenhoff <kashmir@munge.com>
9411 * client-src/amandad.c (REP_TIMEOUT): bump up to six hours, for slow
9413 (exit_check): remove waitpid(), let the service reap its own
9415 (s_repwait): rename 'err' to 'errstr' to avoid conflict with
9416 function in some libcs.
9417 (s_ackwait): if no pipes were opened by this service, then shut
9419 (process_netfd): on EOF, be sure to also close the network
9420 stream. Also, if this is the last stream to be closed, shut
9422 (allocstream): correct a comment
9423 (service_delete): only close the security handle if it is still
9424 open. Reap our children here instead of in exit_check().
9426 1999-06-01 Mike Grupenhoff <kashmir@munge.com>
9428 * server-src/taper.c (write_buffer): assert properly
9430 1999-06-01 John Williams <williams@morinda.com>
9432 * changer-src/scsi-hpux.c (eject_tape): Enable it, it works.
9434 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
9436 * docs/INSTALL: Point to the patches page. Update version numbers.
9438 * example/config.site: Document UDPPORTRANGE.
9440 1999-06-01 Jens Persson <jens.persson@btj.se>
9442 * configure.in (UDPPORTRANGE): Set from --with-udpportrange.
9443 * config/acconfig.h: Add UDPPORTRANGE.
9444 * common-src/dgram.c: Implement it.
9446 1999-05-27 Mike Grupenhoff <kashmir@munge.com>
9448 * common-src/alloc.c (alloc, debug_alloc, newalloc, debug_newalloc):
9449 make the size argument a size_t.
9450 (alloc): if an allocation fails, in the error message print how
9451 many bytes we tried to alloc. This helps us determine if the
9452 alloc call was errant, or we really were out of memory.
9453 * common-src/amanda.h: update alloc/newalloc prototypes for
9456 1999-05-27 Alexandre Oliva <oliva@dcc.unicamp.br>
9458 * config/ltconfig, config/ltmain.sh, config/libtool.m4i: Updated
9459 to libtool 1.3.2 plus a few patches.
9460 * config/config.guess, config/config.sub: Ditto.
9462 1999-05-26 Mike Grupenhoff <kashmir@munge.com>
9464 * common-src/protocol.c: retry connection failures three times,
9465 waiting five seconds between each attempt. Also, fix a lot
9468 1999-05-26 Mike Grupenhoff <kashmir@munge.com>
9470 * client-src/amandad.c: add a lot more dbprintfs so we know what's
9472 (service_new): use error() instead of dbprintf(); exit()
9475 1999-05-25 Alexandre Oliva <oliva@dcc.unicamp.br>
9477 * docs/FAQ (tar-patch): Mention sparse file problem.
9479 * recover-src/uscan.l: #undef `ECHO' after #include amanda.h; some
9480 system header files may define it.
9481 Reported by Dan Lipofsky <danlip@cyc.com>
9483 * */Makefile.am: Do not define ACLOCAL_M4, COMPILE or
9485 * Makefile.am: Create acinclude.m4 in the top-level directory.
9486 * config/Makefile.am: Create link to acconfig.h in the top-level
9488 * configure.in: Add AMANDA_CFLAGS to CFLAGS. Set DUMPER_DIR without
9490 * common-src/Makefile.am: Create genversion.h with #defines, to
9491 avoid genversion-specific CPPFLAGS.
9492 * common-src/genversion.c: #include genversion.h
9494 1999-05-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9496 * server-src/amandad.c (state2str): string "s_processrep" is 13
9499 1999-05-24 Mike Grupenhoff <kashmir@munge.com>
9501 * server-src/amcheck.c (main): if we reap a bogus pid, print
9502 out the error message we generate, instead of whatever junk
9503 happens to be in the buffer.
9505 1999-05-24 Mike Grupenhoff <kashmir@munge.com>
9507 * common-src/bsd-security.c (bsd_stream_read): remove old
9508 code that was part of something that ended up not happening.
9509 (stream_read_callback): use ssize_t.
9511 1999-05-24 Mike Grupenhoff <kashmir@munge.com>
9513 * common-src/event.c (event_register): restructure asserts, and
9514 for EV_READFD/EV_WRITEFD, assert that the fd is < FD_SETSIZE.
9516 1999-05-24 Mike Grupenhoff <kashmir@munge.com>
9518 * common-src/queue.h: move the multiple-inclusion #defines
9519 into application namespace. #undef each macro before defining
9520 it, in case the OS has an identical macro.
9522 1999-05-23 Alexandre Oliva <oliva@dcc.unicamp.br>
9524 * server-src/amindex.h: Keep P macro expression in a single line.
9525 Reported by Patrick Harrold <patrickh@nasco-inc.com>
9527 * common-src/Makefile.am (statfs_LDADD): Added alloc.obj.
9529 * common-src/statfs.c (STATFS_SCALE, sys/statvfs.h): If f_frsize is
9530 zero, use f_bsize. It now works with GNU libc 2.1.
9531 Reported by Heikki Vatiainen <hessu@cs.tut.fi>
9533 1999-05-22 Alex Pilosov <alex@pilosoft.com>
9535 * server-src/amindexd.c (is_dump_host_valid): sanitize_name(host)
9536 before doing a stat.
9537 * server-src/tapefile.c (lookup_nb_tape): init pos to 0.
9539 1999-05-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9541 * server-src/reporter.c: take the orig size from the SUCCESS line.
9542 use value from the infofile only the datestamp are equal.
9543 Write all available value.
9545 1999-05-18 Mike Grupenhoff <kashmir@munge.com>
9547 * common-src/strerror.c (strerror): restructure so that it doesn't
9550 1999-05-17 Mike Grupenhoff <kashmir@munge.com>
9552 * common-src/genversion.c (prvar): prototype declared it static,
9553 but actual function was still extern.
9555 1999-05-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9557 * server-src/planner.c (pick_inclevel): check for base_level+1 if
9558 we don't have estimate for base_level. Needed for FORCE_BUMP.
9559 * server-src/planner.c (promote_highest_priority_incremental):
9560 Don't promote if we don't have level 0 estimate. No more need
9561 to check for skip_full, DS_NOFULL, DS_INCRONLY or FORCE_BUMP.
9563 1999-05-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9565 * server-src/amflush.c: ignore SIGPIPE
9566 * server-src/driver.c: ignore SIGPIPE
9567 * server-src/driverio.c (taper_cmd, dumper_cmd): return 0 on error,
9569 * server-src/driverio.h (taper_cmd, dumper_cmd): prototype.
9571 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
9573 * server-src/dumper.c: make prototypes consistent, (putresult):
9574 make first arg const.
9576 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
9578 * server-src/conffile.c (getconf_byname): islower takes an int
9580 * server-src/diskfile.c (upcase): islower takes an int for an
9582 * server-src/driver.c (update_failed_dump_to_tape): prototype.
9583 * server-src/holding.c (insert_dirname, scan_holdingdisk):
9584 prototype and make static, (is_datestr): isdigit takes an int
9587 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
9589 * client-src/calcsize.c (basename): make static, prototype, and
9590 only include if BUILTIN_EXCLUDE_SUPPORT is defined and
9591 HAVE_BASENAME is not defined.
9592 * client-src/getfsent.c (dev2rde, samefile): prototype and
9594 * client-src/sendbackup-dump.c, client-src/sendbackup-gnutar.c
9595 (start_backup, end_backup): prototype.
9596 * client-src/sendbackup.c (index_closed, save_fd): prototype
9598 * client-src/versionsuffix.c (main): prototype.
9599 * common-src/alloc.c (internal_vstralloc): prototype.
9600 * common-src/file.c (mk1dir): prototype, make static, and make
9602 * server-src/amadmin.c (check_dumpuser): prototype.
9603 * server-src/amflush.c (get_letter_from_user): prototype and make
9605 * server-src/amindexd.c: prototype and make static numerous local
9607 * server-src/amlabel.c (main): prototype.
9608 * server-src/amtrmidx.c (main): prototype.
9609 * server-src/changer.c (report_bad_resultstr, run_changer_command):
9611 * server-src/conffile.h: properly prototype getconf_holdingdisks()
9612 * server-src/driverio.h: properly prototype init_driverio().
9613 * server-src/find.c (find_compare, parse_taper_datestamp_log):
9615 * server-src/infofile.c (zero_info, open_txinfofile,
9616 close_txinfofile, read_txinfofile, write_txinfofile,
9617 delete_txinfofile): prototype and make static.
9618 * server-src/planner.c (main, askfor): prototype.
9620 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
9622 * server-src/server_util.c: include server_util.h for prototypes
9623 * server-src/tapefile.h: properly prototype lookup_nb_tape()
9624 * server-src/driverio.c (childstr): make static, make return
9627 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
9629 * server-src/find.h: properly prototype find_log()
9630 * server-src/amtrmlog.c (main): prototype. find_log() takes
9633 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
9635 * server-src/reporter.c: make all functions and globals
9636 static. Prototype all functions, and make them consistent wrt
9637 K&R. Place all prototypes together. Place data type
9638 declarations before the prototypes that use them. Remove
9639 unused sort_by_time().
9641 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
9643 * server-src/dumper.c (process_dumpline): clean up the error
9645 * server-src/dumper.c (log_msgout): no need to reuse errf global,
9646 it makes me nervous. Also, use amfree instead of free.
9648 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
9650 * common-src/packet.c (pkt_cat): remove a bogus assert - len is
9651 a size_t, which is unsigned, so it will always be >= 0.
9653 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
9655 * client-src/amandad.c (action_t): consolidate A_PKTTIMEOUT and
9656 A_REPTIMEOUT into just A_TIMEOUT.
9658 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
9660 * common-src/amanda.h, common-src/alloc.c, common-src/event.c,
9661 common-src/rsh-security.c, server-src/driver.c,
9662 server-src/dumper.c: (min, max): consolidate all min/max
9663 definitions into amanda.h
9665 1999-05-14 Alexandre Oliva <oliva@dcc.unicamp.br>
9667 * docs/TAPE.CHANGERS (chg-rth): URL for chs is no longer valid.
9669 1999-05-12 Mike Grupenhoff <kashmir@munge.com>
9671 * common-src/amanda.h, common-src/alloc.c, common-src/file.c:
9672 const the filename arg to all of the dbmalloc versions of
9673 alloc and io functions
9675 1999-05-11 Mike Grupenhoff <kashmir@munge.com>
9677 * common-src/protocol.c (proto_t): don't need prev and next ptrs
9680 1999-05-11 Mike Grupenhoff <kashmir@munge.com>
9682 * common-src/amanda.h, common-src/alloc.c: remove the static
9683 buffer manager - nothing uses it. It can be resurrected in
9684 the future if needed.
9686 1999-05-11 Mike Grupenhoff <kashmir@munge.com>
9688 * common-src/amanda.h: define stringconcat() macros that
9689 concatenate two const strings together
9690 * common-src/versuff.c.in (versionsuffix, version): generate
9691 data at compile time using stringconcat().
9692 * common-src/genversion.c: simplify, don't need to alloc anything
9693 * common-src/Makefile.am (genversion_LDADD): this doesn't need
9694 alloc.o or error.o anymore
9696 1999-05-11 Mike Grupenhoff <kashmir@munge.com>
9698 * common-src/security.c (security_handleinit, security_streaminit):
9699 change default error message "unknown error" to "unknown protocol
9700 error" or "unknown stream error" to help identify where an
9701 messageless error was triggered.
9703 1999-05-11 Mike Grupenhoff <kashmir@munge.com>
9705 * client-src/amandad.c (main): call initgroups(), and also set
9708 1999-05-10 Mike Grupenhoff <kashmir@munge.com>
9710 * server-src/driver.c (start_some_dumps): if a dumper is
9711 constrained, and some dumpers or the taper are active, register
9713 * server-src/driver.c (handle_taper_result,
9714 handle_dumper_result): wakeup constrained dumpers after we
9715 have freed some resources.
9717 1999-05-10 Mike Grupenhoff <kashmir@munge.com>
9719 * common-src/fileheader.c, common-src/fileheader.h: rework the
9720 fileheader parse and format code to remove a lot of duplicated
9721 code (in the F_DUMPFILE and F_CONT_DUMPFILE cases), consting
9722 arguments, and simplifying parse code.
9724 1999-05-10 Mike Grupenhoff <kashmir@munge.com>
9726 * client-src/sendsize.c (getsize_dump): print out the strerror
9727 if we can't exec killpgrp.
9729 1999-05-10 Mike Grupenhoff <kashmir@munge.com>
9731 * server-src/dumper.c (add_msg_data): first two arguments
9732 to memmove() were backwards.
9734 1999-05-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9736 * example/amanda.conf.in: typo
9738 1999-05-07 Mike Grupenhoff <kashmir@munge.com>
9740 * common-src/alloc.c (safe_env): allow DISPLAY into the
9741 environment for purify.
9742 * server-src/holding.c (rename_tmp_holding): if fill_buffer
9743 returns 0, don't try to parse a nonexistant header.
9744 * server-src/taper.c (file_reader_side): init datestamp to
9745 NULL, and don't try to free it if it's still NULL on exit.
9747 1999-05-06 Mike Grupenhoff <kashmir@munge.com>
9749 * server-src/driver.c (start_some_dumps): sleep_time is an
9750 offset, not an absolute. Leave it that way when we return from
9753 1999-05-05 Mike Grupenhoff <kashmir@munge.com>
9755 * server-src/amverify.sh.in (pecho): new function. Like echo
9756 but doesn't append newline, and supports \r, etc. Implemented
9758 * server-src/amverify.sh.in: use pecho where we used to use echo -n,
9759 etc. It's nearly impossible to figure out which echo needs what
9760 flags and also know if it supports \r. So we just punt and use
9763 1999-05-04 Mike Grupenhoff <kashmir@munge.com>
9765 * server-src/driver.c: convert to use event handler.
9766 (some_dumps_in_progress, lookup_dumper): nuke.
9767 (sleep_time): make a time_t and static.
9768 (IDLE_NO_DUMPERS): give a lower precedence than IDLE_START_WAIT.
9769 (start_some_dumps): make this work on one dumper instead of all.
9770 Call when a dumper is finished and needs more work.
9771 (handle_idle_wait): callback for dumpers waiting for delayed
9773 * server-src/driverio.c: initialize event handles for dumpers
9774 and the taper. Nuke addfd().
9775 * server-src/driverio.h: add event handles for each dumper, and
9776 one global one for the taper. Nuke maxfd and readset globals.
9778 1999-05-04 Mike Grupenhoff <kashmir@munge.com>
9780 * server-src/driver.c (taper_queuedisk): new function that takes
9781 a disk_t, and, if the taper is not busy, tells it to write it out,
9782 or else adds it to the tapeq. Make use_lffo global static.
9783 * server-src/driver.c (handle_taper_result, handle_dumper_result):
9784 call taper_queuedisk() instead of queueing ourself.
9786 1999-04-30 Mike Grupenhoff <kashmir@munge.com>
9788 * server-src/driver.c: make all local functions static.
9789 Exposed two prototypes for nonexistant functions
9790 (diskname2filename, driver_main), and one function (dump_state)
9791 that was never called. #if 0 out dump_state.
9792 Nuke inside_dump_to_tape global - it's value was never used.
9793 Make pending_aborts global a static local in handle_dumper_result.
9795 1999-04-30 Mike Grupenhoff <kashmir@munge.com>
9797 * server-src/driverio.h (dumper_t): merge infd and outfd into
9798 just 'fd'. Comment the other members of the struct.
9799 * server-src/driverio.c: infd/outfd -> fd
9800 * server-src/driver.c (handle_dumper_result): merge some common
9801 code between the FAILED and TRYAGAIN cases. Comment the
9802 ABORT_FINISHED case. Also infd/outfd -> fd.
9804 1999-04-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9806 * server-src/planner.c (when_overwrite): return a big number (1024)
9807 if the tape is not reusable.
9809 1999-04-29 Alexandre Oliva <oliva@dcc.unicamp.br>
9811 * config/ltconfig, config/ltmain.sh, config/libtool.m4i: Updated
9814 1999-04-29 Mike Grupenhoff <kashmir@munge.com>
9816 * server-src/driver.c (handle_dumper_result): remove FATAL_TRYAGAIN
9817 case, nothing uses it.
9818 * server-src/driverio.c, server-src/driverio.h: garbage collect
9819 FATAL_TRYAGAIN. static & const cmdstr.
9821 1999-04-28 Mike Grupenhoff <kashmir@munge.com>
9823 * server-src/diskfile.c (read_diskfile): rework to take a
9824 disklist_t * as an argument, and return -1 on error, or 0 on
9825 success. const the filename argument. Kill a few globals.
9826 * server-src/diskfile.c (lookup_host, lookup_disk): const
9828 * server-src/diskfile.h: adjust prototypes for above changes
9829 * server-src/amadmin.c, server-src/amcheck.c,
9830 server-src/amcleanupdisk.c, server-src/amflush.c,
9831 server-src/amindexd.c, server-src/amtrmidx.c,
9832 server-src/amtrmlog.c, server-src/driver.c,
9833 server-src/planner.c, server-src/reporter.c: adjust calls to
9834 read_diskfile() to deal with convention
9836 1999-04-28 Mike Grupenhoff <kashmir@munge.com>
9838 * server-src/dumper.c (read_mesgfd, read_indexfd): on EOF, just
9839 stop reading these streams. We let EOF on the data stream cause
9840 the entire dump to be stopped.
9842 1999-04-27 Mike Grupenhoff <kashmir@munge.com>
9844 * common-src/rsh-security.c (conn_read_callback): cast
9845 event_wakeup() arg to event_id_t.
9847 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
9849 * common-src/versuff.c.in: Adjust constness to match version.h.
9851 * docs/SYSTEM.NOTES: Recommend GNU tar for Linux.
9853 1999-04-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9855 * server-src/amdump.sh.in: execute amtrmlog.
9857 1999-04-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9859 * client-src/sendbackup.c: rename write_tapeheader to info_taperheader
9860 we already have a write_tapeheader function in dumper.c
9861 * client-src/sendbackup.h: ditto
9862 * client-src/sendbackup-dump.c: ditto
9863 * client-src/sendbackup-gnutar.c: ditto
9865 1999-04-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9867 * dumper-src/gnutar.pl.in: add debuging code.
9868 * server-src/planner.c (getsize): send optionstr() for estimate
9870 * client-src/selfcheck.c: init program_is_wrapper to 0.
9871 * client-src/sendsize.c: implement DUMPER-API, support only
9874 1999-04-22 John R. Jackson <jrj@purdue.edu>
9876 * configure.in: add --with-broken-fsf to use a read() loop instead
9877 of the fsf ioctl on some broken systems.
9878 * config/acconfig.h: ditto
9879 * tape-src/tapeio.c (tapefd_fsf): ditto
9881 1999-04-22 Alexandre Oliva <oliva@dcc.unicamp.br>
9883 * docs/SYSTEM.NOTES: Typo
9884 * docs/SAMBA: Update on samba-largefs patch.
9885 * docs/FAQ: New FAQ about promotion of full dumps.
9887 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
9889 * tape-src/tapeio.c (tape_open): Retry after EBUSY and EINTR too.
9890 Comment out test that would set filename to /dev/null.
9892 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
9894 * docs/WISHLIST: Global reformat. Removed fixed issues. Added
9897 1999-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9899 * server-src/server_util.c: use snprintf instead of ap_snprintf.
9901 1999-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9903 * server-src/server_util.c: new file for utility function.
9904 New function construct_datestamp.
9905 * server-src/server_util.h: ditto
9906 * server-src/Makefile.am: link server_util.c with libamserver.
9907 * amcleanupdisk.c (construct_datestamp): remove function.
9908 * server-src/driver.c: ditto
9909 * server-src/dumper.c: ditto
9910 * server-src/amflush.c: ditto
9911 * server-src/planner.c: ditto
9913 1999-04-17 Mike Grupenhoff <kashmir@munge.com>
9915 * common-src/bsd-security.c: this doesn't need queue.h
9917 1999-04-17 Mike Grupenhoff <kashmir@munge.com>
9919 * common-src/event.c: Insert new events at the head of the eventq,
9920 not the tail, so we don't loop forever if a newly registered
9921 event has the same type as the one currently firing. Noticed
9922 and diagnosed by Jean-Louis Martineau.
9923 Use a LIST for the eventq, instead of a TAILQ, since we don't need
9924 to do tail insertions anymore.
9925 Make the eventq_* functions take a queue name so we can also use
9926 them for the handle cache. Rename eventq_append() to eventq_add().
9928 1999-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9930 * dumper-src/gnutar.pl.in: add DUMPER_DIR to INC.
9932 1999-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9934 * client-src/selfcheck.c: Implement DUMPER-API.
9935 * dumper-src/gnutar.pl.in (command_selfcheck): print OK, the function
9937 * dumper-src/generic-dumper.pl.in (parse_options): option are
9940 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
9942 * server-src/dumper.c: make dumpsize and headersize static. Rename
9943 nb_header_block to headersize and also make it static. headersize
9944 now counts bytes instead of blocks, just like the other two.
9945 Use SEEK_SET in an lseek instead of hardcoding 0.
9947 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
9949 * configure.in: implement --with-cflags to allow turning on
9950 compiler warnings and optimizations
9952 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
9954 * common-src/event.c (gethandle, puthandle): new functions that
9955 keep a cache of handles to reduce calls to malloc/free.
9957 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
9959 * common-src/alloc.c (dbmalloc_caller_loc): const the file
9960 arg, use the queue macros to maintain the list.
9962 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
9964 * common-src/versuff.c.in: const the return str of version()
9965 and versionsuffix. Bump copyright to 1999.
9967 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
9969 * client-src/amandad.c, client-src/amandad.h,
9970 client-src/sendbackup-dump,c, client-src/sendbackup-gnutar.c,
9971 client-src/sendbackup.c, common-src/bsd-security.c,
9972 common-src/dgram,c, common-src/dgram.h, common-src/event.c,
9973 common-src/event.h, common-src/krb4-security.c,
9974 common-src/krb5-security.c, common-src/packet.c,
9975 common-src/packet.h, common-src/protocol.c, common-src/security.c,
9976 common-src/security.h, server-src/amcheck.c, server-src/conffile.c,
9977 server-src/conffile.h, server-src/dumper.c:
9978 update copyright to 1999 on things I've touched this year.
9980 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
9982 * common-src/amanda.h: remove version_info extern. Bump
9984 * common-src/genversion.c: constify version_info. Emit
9985 {KRB4,KRB5,RSH}_SECURITY. Bump copyright.
9986 * common-src/version.h: const VERSION_COMMENT and version_info.
9987 const return str and fully prototype versionsuffix() and version()
9988 prototypes. Bump copyright.
9989 * server-src/planner.c (main): iterate through version_info using
9990 an index instead of a pointer.
9992 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
9994 * server-src/conffile.c: explicitly give the seen_columnspec global
9995 an int type instead of letting the compiler default to it.
9997 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
9999 * common-src/event.h (event_id_t): a new typedef for the
10000 first arg to event_register. Should be wide enough to
10001 reasonably hold an int or a pointer (but it is ok to trunc
10002 the pointer if necessary). Update proto for event_register()
10003 and event_wakeup().
10004 * common-src/event.c: struct event_handle->data is now an
10006 (event_register, event_wakeup): adjust args for event_id_t)
10007 (event_register): event_id_t is unsigned, no need to assert
10008 positivity anymore.
10009 * common-src/rsh-security.c (rsh_stream_read): cast first arg to
10010 event_register() to event_id_t.
10013 1999-04-15 Mike Grupenhoff <kashmir@munge.com>
10015 * common-src/event.c (release): nuke, and inline into event_loop.
10016 * common-src/event.c (event_loop): flesh out the timeout comment.
10017 Combone the EV_WAIT and EV_DEAD empty cases in the post-select loop.
10018 * common-src/event.h: flesh out the event_type_t comment.
10020 1999-04-15 Mike Grupenhoff <kashmir@munge.com>
10022 * common-src/event.c (fire): inline this with a macro. Remove
10023 timestamp arg. eh->lastfired is now only valid for EV_TIME
10024 events. Removes several time() systems from the critical path.
10025 * common-src/event.c (event_wakeup): have this fire EV_WAIT events
10026 directly instead of deferring back to the event loop. Removes the
10027 sequencing restriction for event_wakeup.
10029 1999-04-15 Mike Grupenhoff <kashmir@munge.com>
10031 * server-src/planner.c (getsize): put the hosts disks on the waitq
10032 before sending the request, not after.
10034 1999-04-15 Alexandre Oliva <oliva@dcc.unicamp.br>
10036 * docs/UPGRADE: Update URL for archived message.
10038 1999-04-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10040 * server-src/amcheck.c (main): should not set real uid to 0.
10042 1999-04-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10044 * common-src/bsd-security.c (bsd_connect): dgram_bind return the port
10045 number, we don't need ntohs().
10047 1999-04-12 Mike Grupenhoff <kashmir@munge.com>
10049 * common-src/dgram.c,common-src/dgram.h: nothing uses dgram_alloc()
10052 1999-04-12 Mike Grupenhoff <kashmir@munge.com>
10054 * server-src/amindexd.c: dgram.h not needed
10056 1999-04-12 Mike Grupenhoff <kashmir@munge.com>
10058 * common-src/event.c: fix a bunch of inaccurate comments.
10059 * common-src/event.c (event_loop): prune dead events in the
10060 pre-select pass instead of in the EV_WAIT pass.
10061 * common-src/event.c (fire): factor out all code that fires
10062 events into a 'fire' function.
10063 * common-src/event.c (signal_handler): bounds check the signal
10064 number against the size of sigtable instead of assuming sigtable
10067 1999-04-10 Mike Grupenhoff <kashmir@munge.com>
10069 * client-src/amandad.c (allocstream): if security_stream_server()
10070 fails, dbprintf the error.
10072 1999-04-10 Mike Grupenhoff <kashmir@munge.com>
10074 * configure.in: implement --with-rsh-security
10075 * common-src/rsh-security.c: first attempt at using rsh or a rsh-like
10076 command for dump transport and authentication. Still has lots
10078 * common-src/Makefile.am: build rsh-security.c
10079 * common-src/security.c: add rsh_security_driver to the drivers array
10080 * config/acconfig.h: define RSH_SECURITY
10082 1999-04-10 Mike Grupenhoff <kashmir@munge.com>
10084 * server-src/dumper.c (runcompress): use the proper end of the pipe
10085 for writing and reading. Also, grab errno early on fork error
10086 before calling close.
10087 * server-src/dumper.c (sendbackup_response): make sure the client
10088 at least send us a mesgfd and datafd.
10090 1999-04-10 Mike Grupenhoff <kashmir@munge.com>
10092 * client-src/amandad.c (main): don't dup stdout to db_fd - it might
10093 be needed by the security driver
10094 * client-src/amandad.c (s_ackwait, allocstream,): on error, don't
10095 attempt to event_release a handle we haven't attached yet.
10097 1999-04-10 Mike Grupenhoff <kashmir@munge.com>
10099 * ap_snprintf -> snprintf, ap_vsnprintf -> vsnprintf
10101 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10103 * client-src/Makefile.am (noinst_HEADERS): add amandad.h
10105 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10107 * common-src/Makefile.am (libamanda_la_SOURCES): build
10110 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10112 * configure.in: implement --with-dbmalloc=[dir], where dir is
10113 where the dist is unpacked and built. This could be improved on,
10114 because it doesn't handle the case where it's installed.
10116 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10118 * client-src/sendbackup.c: security changes:
10119 remove krb4 code and NAUGHTY_BITS macros.
10120 (parse_options): don't look for krb4 options
10121 (main): don't close pipes that were handed to us from amandad.
10122 Don't open stream directly - just use the pipes given to us.
10123 * client-src/sendbackup-dump.c, client-src/sendbackup-gnutar.c:
10124 Remove krb4 code and NAUGHTY_BITS macros.
10126 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10128 * client-src/amandad.h: new file describing the pipes between
10129 amandad and children.
10130 * client-src/amandad.c: rewrite for security changes. Can
10131 now handle multiple requests simultaneously, and has a state
10132 machine to deal with each active request.
10133 This handles all network transmissions and authentication.
10134 Each child process (sendbackup, selfcheck) gets three general
10135 purpose pipes to amandad which it may allocate for anything.
10136 amandad relays these pipes to equivalent security_streams.
10137 Lots of other stuff.
10138 Finally, NEED_KEYPIPE stuff removed.
10140 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10142 * server-src/dumper.c: security changes:
10143 Remove krb4 includes and NAUGHTY_BITS macros.
10144 Remove no-longer-true comment about DATABUF_SIZE ==
10145 TAPE_BLOCK_BYTES for krb4
10146 Remove file descriptor and event handle from streams array. Add
10147 a security_stream_t.
10148 Remove global read buffer.
10149 (check_options): remove krb4 code.
10150 (service_ports_init): remove, now handled by individual security
10152 (main): remove dgram usage.
10153 (do_dump): remove DUMPER_SOCKET_BUFFERING - now handled in the
10154 bsd driver. schedule reads on the streams using
10155 security_stream_read.
10156 (read_mesgfd,read_datafd,read_indexfd): adapt to
10157 security_stream_read callback interface.
10158 (stop_dump): just call security_stream_close on all non-null
10160 (sendbackup_response): adapt to new protocol layer error return.
10162 (startup_dump): stinky hack to parse the security driver string out of
10163 the options passed to us from driver.
10164 Lookup the security driver with said string.
10166 Free request after calling protocol_sendreq().
10168 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10170 * server-src/planner.c: security changes:
10171 (main): Remove dgram usage. Call protocol_init(). Remove
10173 (getsize): remove krb4 code. Handle protocol layer api changes.
10174 Lookup security driver/complain if not found. Free request
10175 after calling sendreq. All hosts get put on the waitq since
10176 sendreq never returns an error.
10177 (handle_result): deal with new protocol layer error semantics.
10180 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10182 * server-src/conffile.c: remove INTERFACE undef hack. Our
10183 namespace isn't polluted by krb4 headers anymore, so it's
10186 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10188 * server-src/amcheck.c: security changes:
10189 (main): ignore SIGPIPE - some security drivers might get it.
10190 Remove all usages of dgram.
10191 Make our real uid root and our effective uid amanda so we can
10192 get back to root later (on most os's :()
10193 (start_client_checks): remove krb4 bits.
10194 The dump user check should check the effective uid.
10195 Get the name of the security driver for this host out of
10196 host->diskp->security_driver.
10197 Free req after calling protocol_sendreq() because it will internalize
10199 protocol_sendreq doesn't return any errors - they're all returned
10200 via handle_response.
10201 (handle_result): renamed from handle_response for consistency.
10202 The protocol layer doesn't pass us a proto_t anymore, so detect
10203 errors based on pkt being NULL.
10204 Remove krb4 bits - security violations will be indicated by a
10207 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10209 * common-src/protocol.[ch]: rewrite for security api. The entry
10210 points now have the 'protocol' prefix. See protocol.h for more
10212 * common-src/security.c: rewrite for security api. This now contains
10213 the functions for the 'base class' or some approximation of it.
10214 See security.h for the entry points, or docs/SECURITY-API.
10216 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10218 * common-src/amanda.h: rip out krb4 defines, headers, and
10219 prototypes. Also, make assert() abort() after calling error().
10220 * common-src/krb4-security.c: stub file that pulls in the real
10221 krb4-security out of amanda-krb-2 if KRB4_SECURITY is defined.
10223 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10225 * server-src/conffile.h: aggregate all of the compress defines
10226 (COMP_{NONE,FAST,BEST,...}) into an enum and typedef it to comp_t.
10227 Make dumptype_t->compress a comp_t.
10228 * server-src/dumper.c: make srvcompress global a comp_t.
10229 * server-src/dumper.c (runcompress): add a comp_t third arg
10230 that specifies the level of compression for this fd.
10231 * server-src/dumper.c (do_dump): always compress index files
10232 with COMP_BEST compression, as pointed out by Jean-Louis Martineau.
10233 * server-src/dumper.c (read_indexfd): read the indexfd, not the
10234 datafd. Also noted by Jean-Louis Martineau.
10236 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10238 * server-src/planner.c (main): ignore SIGPIPE. tcp based
10239 security drivers may get this while getting estimates.
10240 Set the real uid to root, and the effective uid to the amanda
10241 user, so we can get back to root later if needed.
10242 * server-src/planner.c (handle_result): rework error logic
10243 so we don't need to use p->state, which will eventually go
10246 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
10248 * server-src/dumper.c: rewrite to use the event handler instead
10249 of a select loop. Also, compress the index output using
10250 runcompress() instead of forking a compress ourselves.
10252 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
10254 * server-src/dumper.c (sendbackup_response): don't krb4 authenticate
10255 streams if krb4_auth if false.
10257 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
10259 * server-src/dumper.c (do_dump): some formatting cleanups. Nuke
10260 'killerr' - we can do without it.
10262 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
10264 * server-src/dumper.c (do_dump): store compresspid inside of
10267 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
10269 * server-src/dumper.c (parse_info_line): parse info lines
10270 from sendbackup directly into the 'file' global. Eliminate
10271 the backup_name, recover_cmd, and compress_suffix globals.
10272 * server-src/dumper.c (finish_tapeheader): nuke usage
10273 of above globals. Nuke unneeded explicit nul terminations (we
10274 memset the whole thing in fn_init).
10276 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
10278 * server-src/dumper.c (process_dumpline): rewrite to use strtok
10279 and const the argument.
10280 * server-src/dumper.c (make_tapeheader): rename to finish_tapeheader
10281 and prototype it. Remove the 'type' arg, since it's always
10282 F_DUMPFILE. Remove call to fn_init().
10283 * server-src/dumper.c (do_dump): call fh_init on 'file' while
10284 initializing globals. Call finish_tapeheader after getting info
10287 1999-04-07 John R. Jackson <jrj@purdue.edu>
10289 * tape-src/tapeio.c: allow tapedev to be /dev/null.
10290 * server-src/taper.c: allow tapedev to be /dev/null.
10291 * man/amanda.8.in: allow tapedev to be /dev/null.
10293 1999-04-07 Mike Grupenhoff <kashmir@munge.com>
10295 * server-src/dumper.c: collect got_info_endline, got_sizeline,
10296 got_endline, and header_done into one bitmask global, and make it
10297 static. Also, make 'file' static.
10299 1999-04-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10301 * server-src/reporter.c (TextRule): Fix to write the full string.
10303 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
10305 * configure.in: MIT krb5 has libk5crypto, Cygnus kerbnet 1.2
10306 calls it libcrypto. Check for both.
10308 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
10310 * common-src/bsd-security.c (check_user): if an .amandahosts
10311 file is missing or unreadable, log this fact to the debug file
10312 instead of claiming that a user doesn't have permission.
10313 * common-src/bsd-security.c (bsd_stream_client): if
10314 DUMPER_SOCKET_BUFFERING is defined, set the socket read buffer to
10315 be twice the size of our read buffer.
10317 1999-04-06 David Mankins <dm@k12-nis-2.bbn.com>
10319 * common-src/security.c (bsd_security_ok): if an .amandahosts
10320 file is missing or unreadable, log this fact to the debug file
10321 instead of claiming that a user doesn't have permission.
10323 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
10325 * server-src/dumper.c: put all of the streams (data,mesg,index)
10326 into an array with a name tag.
10327 * server-src/dumper.c (stop_dump): new function that cleans up
10328 and shuts down all of the streams.
10329 * server-src/dumper.c (sendbackup_response): make static, pass
10330 response_error through p->datap instead of making it global.
10331 Rewrite the parsing to use strtok() and take advantage of the
10332 streams array instead of repeading code for all three streams.
10334 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
10336 * server-src/dumper.c (main): keep our real uid as 0, and make
10337 our effective uid nonprivlidged, so we can get back to root
10338 later. Don't print what port we bound to. This info won't
10339 always be available or even applicable.
10340 * server-src/dumper.c (do_dump): create the stats line with one
10341 snprintf instead of a huge amount of code.
10343 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
10345 * server-src/dumper.c (startup_dump): make static, and const all
10347 * server-src/dumper.c (do_dump): make static
10349 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
10351 * server-src/dumper.c (do_dump): no need to have a separate buffer
10352 to read the mesgfd - just reuse the one we used for data reads.
10353 Gets rid of one more global. Also, we don't need to leave
10354 space for a NUL anymore.
10355 * server-src/dumper.c (main): wait for children after closing
10356 our fds. Some children may be blocked waiting for EOF on outfd,
10357 effectively causing deadlock between dumper and child.
10359 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
10361 * server-src/dumper.c (add_msg_data): now takes a 'len' arg, and
10362 doesn't expect the data to be nul terminated. Also, move
10363 the buffer from global scope into the function, and have a NULL
10364 arg flush it out if there is leftover data at the end. Finally,
10365 resize the buffer in 256 byte chunks.
10367 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
10369 * common-src/stream.c, common-src/stream.h (stream_client): add
10370 yet another arg - if nonzero, do a nonblocking connect
10371 * server-src/dumper.c: catch up with extra arg to stream_client()
10373 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
10375 * common-src/bsd-security.c, common-src/security.h: attempt
10376 to decouple security streams from security handles. Lots of
10377 other restructuring.
10379 1999-04-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10381 * server-src/amcheck.c: -t should read the tapelist to validate
10384 1999-03-30 Alexandre Oliva <oliva@dcc.unicamp.br>
10386 * patches/samba-largefs.patch: updated to patch that ended up
10387 installed in the Samba CVS tree
10389 * patches/tar-1.12.patch: patch the configure script so that it
10390 requires autoconf and autoheader to be run; improve the
10391 printf_long_long test so that it doesn't get false positives because
10394 * changer-src/scsi-chio.c: since we do not support FreeBSD 3's
10395 camlib.h interface, #ifdef out all the code
10396 Reported by Francis Lam <Francis.Lam@Leitch.com>
10398 * configure.in (VXSYSLOCPATH): apparently a complex path expression
10399 gets AC_PATH_PROGS confused; set the path beforehand
10400 Reported by Francis Lam <Francis.Lam@Leitch.com>
10402 1999-03-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10404 * server-src/reporter.c: compiler warning.
10406 1999-03-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10408 * server-src/amtrmlog.c: new program to move unused log
10410 * server-src/Makefile.am: install amtrmlog.
10411 * server-src/find.h: declare find_log().
10412 * server-src/find.c(find_log): new function to return an array of
10413 all the logfile name that are still needed.
10414 * server-src/find.c(search_logfile): special case if output_find==NULL,
10415 return 1 if it the logfile fir the label.
10417 1999-03-25 Neil Crellin <neil@wallaby.cc>
10419 * docs/TAPE.CHANGERS (chg-chs): URL for chs
10421 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>, Tom Schutter <tom@platte.com>, Cloyce D. Spradling <cloyce@headgear.org>
10423 * patches/samba-largefs.patch: updated for Samba 2.0.*
10425 1999-03-25 Charles Owens <owensc@enc.edu>
10427 * changer-src/chg-chio.pl.in (changeTape): do not print status to
10428 both stdout and stderr; this causes failures on FreeBSD
10430 1999-03-23 Mike Grupenhoff <kashmir@munge.com>
10432 * common-src/stream.c, common-src/stream.h (stream_client):
10433 const the hostname arg
10435 1999-03-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10437 * configure.in: AC_SUBST(GNUTAR_LISTED_INCREMENTAL_DIR)
10438 * dumper-src/gnutar.pl.in: use @GNUTAR_LISTED_INCREMENTAL_DIR@
10440 1999-03-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10442 * configure.in: default for DUMPER_DIR is $exec_prefix/dumper.
10443 * Makefile.am: make dumper-src directory
10444 * dumper-src: directory for program that implement the DUMPER-API.
10445 * dumper-src/Makefile.am:
10446 * dumper-src/generic-dumper.pl.in: first draft of a generic wrapper.
10447 * dumper-src/gnutar.pl.in: first draft of a gnutar wrapper.
10449 1999-03-21 Elmar Bartel <bartel@Informatik.TU-Muenchen.DE>
10451 * conffile.h, conffile.c: new columnspec option
10452 * reporter.c: use it
10453 * man/amanda.8.in: description and example
10454 * example/amanda.conf.in: ditto
10456 1999-03-20 Dahn Nilsson <dahn.nilsson@maxlab.lu.se>
10458 * configure.in: SAMBA_VERSION is not set correctly.
10460 1999-03-17 Alexandre Oliva <oliva@dcc.unicamp.br>
10462 * client-src/sendbackup-dump.c (re_table): generalize a bit some of
10463 the regular expressions, so as to make us more adaptable to future
10464 minor changes and bugfixes the the output format of some dumps
10466 1999-03-16 Thomas Hepper <th@ant.han.de>
10467 * changer-src/chg-scsi.c: If the open of the TapeDevice fails
10468 the programm is not terminated.
10469 * changer-src/scsi-aix.c: The wrong ident string was checked
10471 * changer-src/scsi-bsd.c: see scsi-aix.c
10472 * changer-src/scsi-linux.c: see scsi-aix.c
10473 * changer-src/scsi-solaris.c: see scsi-aix.c
10474 * changer-src/scsi-changer-driver.c: Added some more debug prints.
10475 Wrong fd passwd to LogSense.
10476 * docs/TAPE.CHANGERS: added note about linux and aha1542
10478 1999-03-15 Mike Grupenhoff <kashmir@munge.com>
10480 * common-src/packet.h: explicitly list the numeric values for
10481 the pktype_t enum, so we can use them on the wire
10483 1999-03-15 Alexandre Oliva <oliva@dcc.unicamp.br>
10485 * config/ltconfig, config/ltmain.sh: updated from libtool 1.2f
10486 * config/libtool.m4i, config/config.guess, config/config.sub: ditto
10487 * configure.in: dropped AC_PROG_RANLIB, as suggested by libtoolize
10489 1999-03-15 Mike Grupenhoff <kashmir@munge.com>
10491 * common-src/bsd-security.c (recv_security_ok): bring over
10492 increased verbosity change from common-src/security.c
10494 1999-03-14 Mathias Herberts <Mathias.Herberts@ago.fr>
10496 * man/amrecover.8.in: document mode and setmode
10498 1999-03-14 Jon Stevens <jon@clearink.com>
10500 * common-src/security.c (bsd_security_ok): increase the verbosity of
10501 failed authentication messages
10503 1999-03-14 Alexandre Oliva <oliva@dcc.unicamp.br>
10505 * configure.in (powerpc-*-linux-*): supported platform
10507 Reported by Jon Stevens <jon@clearink.com>
10509 1999-03-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10511 * configure.in: new option --with-dumperdir=DIR to specify the
10512 directory for the dumpers (dumper api).
10513 * config/acconfig.h: add def of DUMPER_DIR
10515 1999-03-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10517 * server-src/conffile.c: accept any string for the program.
10518 * server-src/amcheck.c: add the keyword DUMPER to the request if
10519 the program is not DUMP or GNUTAR.
10520 * server-src/planner.c: ditto
10521 * server-src/dumper.c: ditto
10523 1999-03-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10525 * server-src/dumper.c (startup_dump): rename dumpname to progname.
10526 the function will use the parameter progname instead of the
10529 1999-03-06 Alexandre Oliva <oliva@dcc.unicamp.br>
10531 * configure.in (openbsd): according to Ralf Gebhart
10532 <rgebhart@cybernet-ag.net>, sparc-unknown-openbsd2.3 is supported;
10533 I assume other openbsd platforms work too.
10535 1999-03-06 Thomas Hepper <th@ant.han.de>
10537 * client-src/sendbackup-gnutar.c: Replaced #fi with #endif
10538 * changer-src/: Get in sync with 2.4.2 Version
10540 1999-03-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10542 * configure.in: set SAMBA_VERSION
10543 * client-src/sendbackup-gnutar.c (start_backup): use -q flag
10544 if SAMBA_VERSION >= 2
10546 1999-03-05 Mathias Herberts <Mathias.Herberts@ago.fr>
10548 * recover-src/amrecover.h (set_mode, show_mode) declare new functions.
10549 * recover-src/amrecover.h (SAMBA_SMBCLIENT, SAMBA_TAR) define new
10551 * recover-src/extract_list.c: declare variable samba_extract_method.
10552 * recover-src/extract_list.c (extract_files_child): set dumptype
10553 according to samba_extract_method.
10554 * recover-src/help.c (help_list): print help for new command mode
10556 * recover-src/set_commands.c (set_mode, show_mode): new functions.
10557 * recover-src/uscan.l:
10558 * recover-src/uparse.y:
10560 1999-03-05 Mike Grupenhoff <kashmir@munge.com>
10562 * common-src/amanda.h: use ssize_t in writev return value
10563 * common-src/bsd-security.c (bsd_stream_write,bsd_stream_read):
10564 use ssize_t over int
10565 * common-src/file.c (areads): use ssize_t to hold read() return val
10566 * common-src/fileheader.c (fill_buffer): usse ssize_t to hold read()
10568 * common-src/security.h: stream_read's callback now takes a ssize_t
10569 as the third argument.
10570 * common-src/writev.c (writev): return a ssize_t
10572 1999-03-05 Mike Grupenhoff <kashmir@munge.com>
10574 * configure.in: check for ssize_t, make it int if not present
10575 * config/acconfig.h: add def for ssize_t
10577 1999-03-05 Mike Grupenhoff <kashmir@munge.com>
10579 * common-src/base64.c (base64encode): don't cast away a const
10582 1999-03-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10584 * common-src/bsd-security.c (stream_read_callback): change n to int
10585 since ssize_t doesn't exist on all OS.
10587 1999-03-03 Ralf Fassel <ralf@akutech.de>
10589 * common-src/conffile.h: bit field of length 1 should be unsigned int,
10592 1999-03-03 Ralf Fassel <ralf@akutech.de>
10594 * common-src/bsd-security.c (stream_read_callback): n should be ssize_t.
10596 1999-03-03 Ralf Fassel <ralf@akutech.de>
10598 * changer-src/scsi-changer-driver.c (CloseDevice): wrong assignment.
10600 1999-03-03 Ralf Fassel <ralf@akutech.de>
10602 * common-src/base64.c (base64encode): remove warning from sgi cc
10605 1999-03-03 Mike Grupenhoff <kashmir@munge.com>
10607 * common-src/bsd-security.c: use EV_WAIT events instead of
10608 maintaining a queue of listeners. Refcnt the dgram read event
10611 1999-03-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10613 * server-src/driverio.h: new parameter level to update_info_taper().
10614 * server-src/driverio.c (update_info_taper): use parameter instead
10615 of sched(dp)->level.
10616 * server-src/driver.c: call update_info_taper with level parameter.
10617 * server-src/amflush.c: call update_info_taper with level parameter.
10618 no longer need to create a sched_t struct.
10620 1999-03-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10622 * server-src/driverio.h: remove declaration of inparallel, cmdstr()
10623 and childstr(), declare init_driverio(), add inparallel parameter
10624 to startup_dump_processes().
10625 * server-src/driverio.c (init_driverio): new function to initialize
10626 dmptable and taper.
10627 * server-src/driverio.c (childstr): scan for all dumpers (MAX_DUMPERS)
10628 instead of only inparallel
10629 * server-src/driverio.c (startup_dump_processes): new parameter
10630 inparallel is used instead of global variable.
10631 * server-src/driver.c (main): call init_driverio.
10632 * server-src/driver.c (main): call startup_dump_processes with
10633 inparallel parameter.
10634 * server-src/amflush.c (main): call init_driverio.
10636 1999-03-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10638 * server-src/amrmtape.sh.in: work with "last_level" and
10639 "consecutive_runs" in the ouput of "amadmin export".
10641 1999-03-01 Mike Grupenhoff <kashmir@munge.com>
10643 * common-src/security.h: implement security_connect callback and
10644 security_status_t changes
10646 1999-03-01 Mike Grupenhoff <kashmir@munge.com>
10648 * common-src/bsd-security.c (bsd_connect): properly munge the uids
10649 to get a reserved port
10650 * common-src/bsd-security.c: adapt to the security_connect
10652 * common-src/bsd-security.c (bsd_sendpkt): dgram_cat is varargs now,
10653 so skip the vstralloc
10655 1999-03-01 Mike Grupenhoff <kashmir@munge.com>
10657 * common-src/event.c: implement EV_WAIT events. Implement macros
10658 for adding/removing/traversing the event queue
10659 * common-src/event.h: define EV_WAIT, and prototype event_wakeup()
10661 1999-02-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10663 * docs/WISHLIST: protocol between the driver and dumpers.
10665 1999-02-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10667 * server-src/amtoc.pl.in: output the datestamp of each dump, because
10668 amflush can flush the same disk multiple date.
10670 1999-02-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10672 * server-src/holding.h: declare struct holding_t. Remove
10673 declaration of insert_dirname, scan_holdingdisk. Declare
10674 new function free_holding_list. pick_datestamp and
10675 pick_all_datestamp now return (holding_t *).
10676 * server-src/holding.c (insert_dirname): new parameter holding_list
10677 where we add the name. Can add more than MAX_DIRS name.
10678 * server-src/holding.c (free_holding_list): new function to free
10680 * server-src/holding.c (scan_holdingdisk): new parameter holding_list.
10681 * server-src/holding.c (pick_all_datestamp, pick_datestamp): return
10682 a list instead of a (char **).
10683 * server-src/find.c (search_holding_disk): use the list return by
10684 pick_all_datestamp.
10685 * server-src/amflush.c: use the list return by pick_datestamp.
10686 * server-src/amcleanupdisk.c (check_disks): use the list return by
10687 pick_all_datestamp.
10689 1999-02-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10691 * server-src/driverio.c (addfd): bug fixe.
10693 1999-02-22 Alexandre Oliva <oliva@dcc.unicamp.br>
10695 * client-src/sendbackup-gnutar.c: new regexp for SAMBA
10696 Reported by Grzegorz Mucha <grzegorz.mucha@solidex.com.pl>
10698 1999-02-17 Alexandre Oliva <oliva@dcc.unicamp.br>
10700 * server-src/amtoc.pl.in: minor fixes for multi-tape runs
10702 1999-02-17 Nicolas Mayencourt <Nicolas.Mayencourt@cui.unige.ch>
10704 * server-src/amtoc.pl.in: complete, backward-incompatible rewrite;
10705 command-line arguments changed
10706 * man/amtoc.8.in: ditto
10708 1999-02-17 Alexandre Oliva <oliva@dcc.unicamp.br>
10710 * changer-src/chg-multi.sh.in: minor portability changes
10711 * docs/TAPE.CHANGERS: originally by James da Silva
10713 1999-02-17 Jean-Francois Dockes <dockes@cdkit.remcomp.fr>
10715 * changer-src/chg-multi.sh.in: various portability changes and
10716 general fixes, particularly for multieject; new cycle mode
10717 * docs/TAPE.CHANGERS: detailed description of chg-multi
10718 * example/chg-multi.conf: updated; added reference to
10719 docs/TAPE.CHANGERS for details
10721 1999-02-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10723 * server-src/driverio.h: remove declaration of addfd.
10724 * server-src/driverio.c (addfd): 2 new arguments, readset and maxfd,
10725 don't use global variable.
10726 * server-src/driverio.c (startup_tape_process, startup_dump_process):
10727 call addfd with new argument.
10729 1999-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10731 * server-src/driverio.c (startup_tape_process): new taper_program
10733 * server-src/driverio.h: remove declaration of taper_program.
10734 * server-src/driver.c (main): declare taper_program.
10735 * server-src/driver.c: call startup_tape_process with the new
10736 taper_program argument.
10737 * server-src/amflush.c (run_dumps): declare taper_program.
10738 * server-src/amflush.c (run_dumps): call startup_tape_process with
10739 the new taper_program argument.
10741 1999-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10743 * server-src/driverio.c (startup_dump_process, startup_dump_processes):
10744 new dumper_program argument.
10745 * server-src/driverio.h: remove declaration of dumper_program.
10746 * server-src/driver.c: declare dumper_program.
10747 * server-src/driver.c: call startup_dump_process and
10748 startup_dump_processes with the new dumper_program argument.
10750 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10752 * server-src/list_dir.h: remove global variable dir_list, declare
10753 new function get_dir_list.
10754 * server-src/list_dir.c (get_dir_list): new function to return dir_list.
10755 * server-src/amindexd.c (opaque_ls): use get_dir_list.
10757 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10759 * server-src/holding.h: remove declaration of get_letter_from_user()
10761 * server-src/holding.c: remove function get_letter_from_user() and
10763 * server-src/holding.c (pick_datestamp): return empty array instead
10764 of calling exit if no directory are found.
10765 * server-src/amflush.c (get_letter_from_user): new function copied
10767 * server-src/amflush.c (confirm): write a message and exit if no
10768 directory were found.
10770 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10772 * server-src/amflush.c (flush_holdingdisk): don't update the database
10773 when flushing a partial dump.
10775 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10777 * server-src/holding.h (get_dumpfile): new function
10778 * server-src/holding.c (get_dumpfile): new function to fill a
10779 dumpfile_t struct from a holding file.
10781 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10783 * server-src/amlabel.c: compiler warning: too many arguments for format
10785 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10787 * server-src/amlabel.c: remove the label from the tapefile in
10788 case it was already there (-f).
10790 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10792 * server-src/dumper.c: make sure holding files are not larger
10795 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10797 * server-src/amcleanupdisk.c: new program to scan and find temporary
10798 file on holding disks.
10799 * server-src/Makefile.am (libexec_PROGRAMS): add amcleanupdisk.
10800 * server-src/amcleanup.sh.in: call amcleanupdisk.
10802 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10804 * server-src/holding.c (pick_all_datestamp): new function to return
10805 all datestamp in the holding disks.
10806 * server-src/holding.h: declare pick_all_datestamp.
10808 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10810 * server-src/diskfile.h (host_t): new start_t field.
10811 * server-src/diskfile.c (read_diskline): set start_t to 0.
10812 * server-src/driver.c (start_some_dumps): Don't start a dump if
10813 the host->start_t > now.
10814 * server-src/driver.c (start_some_dumps): set host->start_t to 15 sec
10815 in the future when starting a FILE_DUMP.
10816 * server-src/driver.c (dump_to_tape): set host->start_t to 15 sec in
10817 the future when starting a PORT_DUMP.
10819 1999-02-10 Alexandre Oliva <oliva@dcc.unicamp.br>
10821 * server-src/amlabel.c (main): try to read just-written tape label
10822 back; if wrendmark overwrote the label, suggest using a
10823 non-rewinding device
10824 * tape-src/tapeio.c (tape_wrendmark): would not close tape device if
10827 1999-02-10 Paul Bijnens <Paul.Bijnens@lant.be>
10829 * server-src/amoverview.pl.in: Y2K fix in output to user
10830 * server-src/amtoc.pl.in (print_info): ditto
10832 1999-02-10 Alexandre Oliva <oliva@dcc.unicamp.br>
10834 * client-src/sendsize.c (getsize_dump): do not redirect standard
10835 output of estimator to /dev/null if we HAVE_DUMP_ESTIMATE
10837 1999-02-03 Alexandre Oliva <oliva@dcc.unicamp.br>
10839 * NEWS: fix description of incronly: it won't really perform full
10842 * NEWS: support for ufsdump -S, incronly strategy and new chunksize
10845 * server-src/conffile.c (init_holdingdisk_defaults, chunksize):
10847 * example/amanda.conf.in: ditto
10848 * man/amanda.8.in: ditto
10850 * configure.in (amanda_cv_dump_estimate): check for support for -S
10851 too, and define HAVE_DUMP_ESTIMATE as the estimate switch, if any
10852 * client-src/sendsize.c (re_size): new regexps for Solaris ufsdump
10853 -S and Samba `du'. Restrict regexp that matched Digital Unix'
10854 dump -E so that it doesn't match smbclient's output any more.
10855 Move some regexps around, and only define them if the corresponding
10856 dump program is available
10858 1999-02-01 Alexandre Oliva <oliva@dcc.unicamp.br>
10860 * example/amanda.conf.in: document the behavior of relative
10862 * man/amanda.8.in: ditto
10864 * man/amanda.8.in (exclude list): the GNU tar flag is
10865 --exclude-from, not --exclude-list
10866 Reported by Tom Schutter <tom@platte.com>
10868 * client-src/sendbackup-gnutar.c (re_table): ignore `session request
10869 to' message printed by Samba 2.0.0
10871 1999-01-28 Alexandre Oliva <oliva@dcc.unicamp.br>
10873 * man/amanda.8.in (comprate): it is not used when there is history
10874 information; useful for large disks that compress little
10875 Reported by job bogan <job@piquin.uchicago.edu>
10877 * Makefile.am: select which SUBDIRS to descend to here
10878 * client-src/Makefile.am: removed if WANT_CLIENT
10879 * tape-src/Makefile.am: removed if WANT_TAPE
10880 * server-src/Makefile.am: removed if WANT_SERVER
10881 * changer-src/Makefile.am: ditto
10882 * restore-src/Makefile.am: removed if WANT_RESTORE
10883 * recover-src/Makefile.am: removed if WANT_RECOVER
10884 * amplot/Makefile.am: removed if WANT_AMPLOT
10886 1999-01-27 Alexandre Oliva <oliva@dcc.unicamp.br>
10888 * NEWS: chg-scsi ports, Samba 2.0.0 support and SECURITY API
10890 * configure.in (USE_AMANDAHOSTS): enable by default
10891 * example/config.site: ditto
10892 * docs/INSTALL: ditto
10895 * docs/INSTALL: updated URLs for GNU packages and Samba
10896 * docs/SAMBA: note that Samba 2.0.0 is supported
10898 * docs/SYSTEM.NOTES (HP/UX): what does `Link severed' mean?
10900 1999-01-27 Thomas Hepper <th@ant.han.de>
10901 * changer-src/scsi-changer-driver.c SCSI_ReadElementStatus
10902 A while loop has to start with while, not if .....
10904 1999-01-27 Alexandre Oliva <oliva@dcc.unicamp.br>
10906 * Makefile.am (EXTRA_DIST): sst was added within contrib
10908 * ltmain.sh, ltconfig, libtool.m4i: updated from libtool CVS
10909 * configure.in: AC_SUBST LIBTOOL_DEPS
10910 * Makefile.am: regen libtool if neded
10912 * Makefile.am: declare that we want automake 1.4 and we're a foreign
10915 * configure.in: require autoconf 2.13, and use
10916 AC_VALIDATE_CACHED_SYSTEM_TUPLE instead of
10917 AC_VALIDATE_CACHE_SYSTEM_TYPE
10918 * config/acinclude.m4i: removed AC_VALIDATE_CACHE_SYSTEM_TYPE
10920 * configure.in (SAMBA_CLIENT): updated check for smbclient to
10921 support Samba 2.0.0
10923 1999-01-26 Alexandre Oliva <oliva@dcc.unicamp.br>
10925 * server-src/amdump.sh.in (runuser): set to LOGNAME if defined, and
10926 to the output of whoami otherwise
10927 Reported by Tom Schutter <tom@platte.com>
10929 1999-01-26 Thomas Hepper <th@ant.han.de>
10930 * Makefile.am Added sst driver files to EXTRA_DIST
10932 1999-01-26 Thomas Hepper <th@ant.han.de>
10933 * changer-src/Makefile.am added to LDADD
10934 ../tape-src/libamtape.$(LIB_EXTENSION)
10935 * changer-src/chg-scsi.c If statfile is not set try to get the info
10936 about the current loaded tape direct from the changer.
10937 Fixed debug output for the eject value if > 1
10938 * changer-src/libscsi.h Prototype for GetCurrentSlot
10939 * changer-src/scsi-aix.c If the Device we open is not a changer or tape
10940 return NULL, so that the above function can abort. New eject per mtio ioctl.
10941 * changer-src/scsi-bsd.c see scsi-aix.c
10942 * changer-src/scsi-linux.c see scsi-aix.c
10943 * changer-src/scsi-hpux_new.c see scsi-aix.c
10944 * changer-src/scsi-irix.c see scsi-aix.c
10945 * changer-src/scsi-solaris.c see scsi-aix.c and added a retry loop for
10946 the execution of SCSI commands.
10947 * changer-src/scsi-changer-driver.c New Function SCSI_ReadElementStatus
10948 split ReadElementStatus in device and device independed part
10949 New EXB120ElementStatus, renamed ReadElementStatus in GenericElementStatus
10950 added EXB 120 and DLT7000 to the devices list.
10951 Removed the linked list for the element status. Now every element
10952 type has its own array allocated in the *ElementStatus functions.
10953 Check in the functions which sends SCSI commands if the fd is able to
10954 receive SCSI commands.
10955 In GenericEject check which type of eject to use (ioctl/SCSI)
10956 New GetCurrentSlot, try to get the info about the loaded tape direct from
10958 * changer-src/scsi-chio.c Add function GetCurrentSlot (not well tested yet)
10959 * changer-src/scsi-defs.h Added missing decl. in MediumTransportElementDescriptor_T
10960 for LITTLE_ENDIAN_BITFIELDS
10961 new field from in ElementInfo_T
10962 * changer-src/sci-hpux.c EMpty function GetCurrentSlot, do we still need scsi-hpux.c ?
10963 * docs/TAPE.CHANGERS added some notes for HP-UX, expanded list of tested devices
10965 1999-01-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10967 * server-src/conffile.c (init_defaults): default value of runspercycle
10969 * server-src/amadmin.c (balance): use default value of runspercycle.
10970 * server-src/planner.c (main): use default value of runspercycle.
10972 1999-01-22 Martin Apel <apel@tecmath.de>
10974 * example/amanda.conf.in: explanation of incronly strategy.
10975 * man/amanda.8.in: explanation of incronly strategy.
10976 * server-src/amadmin.c: recognize incronly strategy
10977 * server-src/conffile.c: read the incronly strategy in the
10978 configuration file.
10979 * server-src/conffile.h: definition of DS_INCRONLY
10980 * server-src/planner.c: Do planning for incronly strategy:
10981 If the force flag is set perform a full dump, otherwise do
10982 normal incremental processing but avoid full dumps.
10983 * server-src/tapefile.c: Bugfix so only tapes which match
10984 the regular expression for tape labels in the current
10985 configuration are considered for writing.
10987 1999-01-22 Alexandre Oliva <oliva@dcc.unicamp.br>
10989 * common-src/bsd-security.c (check_user): there was no uid variable
10990 here; replace with getuid()
10992 1999-01-22 Alexandre Oliva <oliva@dcc.unicamp.br>
10994 * server-src/planner.c (output_scheduleline): removed `or historical
10995 data' from `no estimate' message; historical data doesn't matter any
10997 Reported by Giorgos Vlachos <Giorgos.Vlachos@eurodyn.com>
10999 1999-01-20 Todd Pfaff <pfaff@mcmaster.ca>
11001 * client-src/sendbackup-gnutar.c: more Samba 2.0.0 messages
11003 * client-src/sendbackup-gnutar.c: new Samba 2.0.0 message
11005 1999-01-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11007 * server-src/amflush.c: use ap_snprintf instead of snprintf.
11008 * server-src/amflush.c: rotation of new amflush log was broken.
11010 1999-01-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11012 * server-src/reporter.c: always call output_stats(), the problem is
11013 that degraded_mode is set if amflush fills the tape.
11015 1999-01-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11017 * server-src/amflush.c: write debuging info to $logdir/amflush
11018 instead of /dev/null if we run in background.
11019 * server-src/amcleanup.sh.in: rename $logdir/amflush.
11021 1999-01-14 Mike Grupenhoff <kashmir@munge.com>
11023 * server-src/dumper.c (make_tapeheader): explicitly compare
11024 srvcompress against srvcomp_none instead of assuming that
11025 srvcomp_none's value is 0.
11027 1999-01-14 Mike Grupenhoff <kashmir@munge.com>
11029 * server-src/dumper.c: move max() macro to top of file. Add min()
11030 * server-src/dumper.c (databuf_write): use min() to determine the
11032 * server-src/dumper.c (databuf_flush): more clearly calculate the
11033 buffer offset in the write loop
11035 1999-01-14 Mike Grupenhoff <kashmir@munge.com>
11037 * server-src/dumper.c (databuf_write): Egads! Also increment the
11038 source pointer doing a partial buf copy
11040 1999-01-14 Mike Grupenhoff <kashmir@munge.com>
11042 * common-src/bsd-security.c (check_user): use getpwnam(CLIENT_LOGIN)
11043 instead of getpwuid(getuid()), in case our caller has not done
11046 1999-01-12 Mike Grupenhoff <kashmir@munge.com>
11048 * server-src/dumper.c (add_msg_data): properly check for half-sent
11051 1999-01-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11053 * server-src/amstatus.pl.in: fix a divide by zero error.
11055 1999-01-11 Mike Grupenhoff <kashmir@munge.com>
11057 * server-src/dumper.c (add_msg_data): clarify and comment. Remove
11058 'len' arg. Const 'str' arg.
11059 * server-src/dumper.c (do_dump): compresspid and indexpid should
11060 be pid_t's. Also, remove len from add_msg_data call.
11062 1999-01-11 Mike Grupenhoff <kashmir@munge.com>
11064 * server-src/fileheader.c (parse_file_header): const the buffer
11066 * server-src/fileheader.h: update parse_file_header proto for const
11069 1999-01-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11071 * server-src/amstatus.pl.in: report the current dump when reporting
11072 the busy time of each dumper.
11074 1998-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11076 * server-src/dumper.c: open temporary holding file with O_TRUNC flags
11077 and with mode 0600.
11079 1998-12-28 John R. Jackson <jrj@purdue.edu>
11081 * server-src/reporter.c: do not drop core generating labels if the
11082 tape label is not defined, e.g. in degraded mode (compliments of
11083 Jan L. Peterson <jlp@Part.NET>).
11085 1998-12-28 John R. Jackson <jrj@purdue.edu>
11087 * server-src/amtape.c: initialize two strings to NULL to avoid a
11088 core dump, compliments of G. Allen Morris III <gam3@acm.org>.
11090 1998-12-27 John R. Jackson <jrj@purdue.edu>
11092 * man/amreport.8.in: remove reference to 8.5x11 paper size for the
11095 1998-12-27 John R. Jackson <jrj@purdue.edu>
11097 * example/3hole.ps: new lbl-templ file for 3 hole punch reports
11098 * example/Makefile.am: add 3hole.ps
11100 1998-12-22 Thomas Hepper <th@icem.de>
11102 * docs/TAPE.CHANGERS Update notes about chg-scsi
11103 * changer-src/chg-scsi.c Added new config option tapestatus,
11104 if set the tape log pages are written to this file.
11105 changed parameter list for get_clean_state/ask_clean,
11106 * changer-src/libscsi.h changed parameter list for get_clean_state
11107 * changer-src/scsi-changer-driver.c Added new functions OpenDevice
11108 CloseDevice LookupDevice.
11109 Added new functions to read and decode the Tape LOG Pages.
11110 Tape Eject and ready check is now done by SCSI calls
11112 * changer-src/scsi-aix.c
11113 * changer-src/scsi-bsd.c
11114 * changer-src/scsi-hpux_new.c
11115 * changer-src/scsi-hpux.c
11116 * changer-src/scsi-irix.c
11117 * changer-src/scsi-solaris.c
11118 Changed all SCSI_OpenDevice/SCSI_CloseDevice functions so that they
11119 fit to the new OpenDevice/CloseDevice calls. Removed mtio.h from
11120 includes, remove Tape_Ready and Tape_Eject
11121 * changer-src/scsi-chio.c
11122 * changer-src/scsi-defs.h
11124 For all changer-src files, removed tabs, run indent (from xemacs)
11125 Added emacs variables to the end (no tab, gnu style)
11127 1998-12-21 John R. Jackson <jrj@purdue.edu>
11129 * man/amanda.8.in: document the lbl-templ tapetype option.
11131 1998-12-21 John R. Jackson <jrj@purdue.edu>
11133 * man/amreport.8.in: fix formatting problem.
11135 1998-12-20 John R. Jackson <jrj@purdue.edu>
11137 * configure.in: define NEED_RESETOFS unless LFS (large file system
11138 support) is available.
11139 * config/acconfig.h: add NEED_RESETOFS tag.
11140 * server-src/taper.c: only reset the tape offset if NEED_RESETOFS
11141 is defined and only once per 2 GBytes.
11143 1998-12-20 Alexandre Oliva <oliva@dcc.unicamp.br>
11145 * server-src/amlabel.c (main): datestamp for new tapes is now 0
11146 * server-src/tapefile.c (reusable_tape): recognize datestamp 0 as
11148 * man/amlabel.8.in: document that tapes are added to tapelist
11150 1998-12-19 Mike Grupenhoff <kashmir@munge.com>
11152 * server-src/dumper.c (runcompress): new function. Given an output
11153 file descriptor, inserts a gzip/compress in front of that descriptor.
11154 * server-src/dumper.c (do_dump): if srvcompress is true, insert
11155 the gzip (using runcompress) in front of the output fd instead
11156 of the input fd. Only do this after the tapeheader has been written.
11158 1998-12-19 Mike Grupenhoff <kashmir@munge.com>
11160 * server-src/dumper.c (startup_chunker): new function. When doing
11161 chunking, fork a piped subprocess that reads in a fileheader and
11162 a data stream, and writes out the headered, chunked files. This
11163 allows us to treat unchunked, chunked, and port-dump dumps exactly
11165 * server-src/dumper.c (main): file-dump: if chunksize > 0,
11166 call startup_chunker for our outfd. Otherwise, open the
11167 holding file directly.
11169 1998-12-19 Mike Grupenhoff <kashmir@munge.com>
11171 * server-src/dumper.c (struct databuf): add a chunk_size member,
11172 the size of each chunk. Remove chunksize global.
11173 * server-src/dumper.c (main): add a chunksize local var
11174 * server-src/dumper.c (databuf_init): init the chunk_size member
11175 with the same value as split_size
11176 * server-src/dumper.c (databuf_flush): increment db->split_size
11177 by the amount in db->chunk_size instead of the global chunksize
11179 1998-12-19 John R. Jackson <jrj@purdue.edu>
11181 * server-src/amstatus.pl.in: instead of just displaying why no
11182 dumpers were busy, display reason(s) why N+1 were not busy.
11184 1998-12-18 John R. Jackson <jrj@purdue.edu>
11186 * server-src/amstatus.pl.in: add statistics about how much time
11187 taper and each dumper is busy, how much time N dumpers are busy
11188 and why no dumpers were busy.
11190 1998-12-18 Mike Grupenhoff <kashmir@munge.com>
11192 * server-src/dumper.c (struct databuf): add 'filename', 'filename_seq',
11193 and 'split_size' members to replace the equivalent globals. Nuke
11195 * server-src/dumper.c (databuf_init): add 'filename' and 'split_size'
11196 args to init those members. Init filename_seq to 0.
11197 * server-src/dumper.c (main): declare and init the databuf here
11198 * server-src/dumper.c (databuf_flush): refer to split_size, filename,
11199 and filename_seq in the databuf instead of the globals.
11200 * server-src/dumper.c (do_dump): now takes a databuf instead of an
11201 output file descriptor.
11203 1998-12-18 John R. Jackson <jrj@purdue.edu>
11205 * server-src/amstatus.pl.in: fix two perl warnings.
11207 1998-12-18 John R. Jackson <jrj@purdue.edu>
11209 * server-src/amstatus.pl.in: fix two minor typos. Add percentage
11210 display to the summary comparing real and estimated size and real
11211 versus total estimate (showing how well the estimates are doing and
11212 a rough guess at how far along the run is). Also the percentage of
11213 total holding disk space in use.
11215 1998-12-18 John R. Jackson <jrj@purdue.edu>
11217 * server-src/amstatus.pl.in: take the --file argument as is if it
11218 is an absolute path.
11220 1998-12-18 John R. Jackson <jrj@purdue.edu>
11222 * server-src/driver.c: call short_dump_state() one last time before
11223 quitting so amstatus gets a last good status. Tell taper to quit
11224 after the dumpers since it writes more information to the amdump
11225 file (helps prevent mixed messages).
11227 1998-12-17 Mike Grupenhoff <kashmir@munge.com>
11229 * server-src/dumper.c (databuf_flush): return 0 on success
11231 1998-12-17 Mike Grupenhoff <kashmir@munge.com>
11233 * server-src/dumper.c (databuf_flush): new function. Writes
11234 the contents of the databuf out to its backing file, doing splitting
11236 * server-src/dumper.c (databuf_write): call databuf_flush when the
11237 databuf fills up. Fully complete all writes (no short writes)
11238 * server-src/dumper.c (do_dump): databuf_write now guarantees complete
11239 writes, so remove retry loop. Call databuf_flush() when eof is hit.
11240 Do not close datafd on eof, because our caller (main) passed it to
11241 us and therefore owns it (and main does close it again).
11243 1998-12-17 Mike Grupenhoff <kashmir@munge.com>
11245 * server-src/dumper.c (databuf_init): new function, initializes
11247 * server-src/dumper.c (update_dataptr): rename to databuf_write,
11248 and have it take a buffer and a size, and return how many bytes
11249 of the buffer were written
11250 * server-src/dumper.c (do_dump): use databuf_init to initialize db.
11251 Use databuf_write to add incomign data to the databuf.
11252 Make size1 and size2 local to the blocks they are used in.
11254 1998-12-17 Alexandre Oliva <oliva@dcc.unicamp.br>
11256 * common-src/Makefile.am (noinst_DATA): removed; bogus
11257 * config/config.guess, config/config.sub: config/install-sh,
11258 config/mkinstalldirs: updated to current pre-2.13 autoconf CVS tree
11259 * patches/autoreconf.patch: removed
11260 * config/libtool/libtool.m4: renamed to config/libtool.m4i
11261 * config/acinclude.m4: renamed to config/acinclude.m4i
11262 * config/Makefile.am (EXTRA_DIST): updated to reflect changes
11263 * autogen: build config/acinclude.m4 by concatenating acinclude.m4i
11265 * configure.in: no longer test whether libtool is installed; require
11267 * config/ltconfig, config/ltmain.sh, config/libtool.m4i: updated to
11269 * amplot/Makefile.am (EXTRA_DIST): no longer needed
11270 * changer-src/Makefile.am (chg_scsi_SOURCE): move scsi-defs.h closer
11271 to the beginning of the list
11272 * docs/INSTALL: fixed URL to gnuplot; recommend autoconf and
11275 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
11277 * common-src/genversion.c (main): rip out krb4 defines. If we
11278 need this info, each driver will have to do it individually.
11280 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
11282 * server-src/conffile.c: remove KRB4_AUTH, BSD_AUTH tokens, auth
11283 element from dumptype_t, and get_auth() lookup func. Add
11284 security_driver to dumptype_t and parse value of AUTH keyword
11286 * server-src/conffile.h: nuke auth_t. Remove auth_t auth, int s_auth
11287 from typetype_t; add char *security_driver, int s_security_driver.
11288 * server-src/diskfile.c: nuke auth_t auth from disk_t, add
11289 char *security_driver. Inherit security_driver from the dumptype_t
11291 * server-src/diskfile.h: ditto
11292 * server-src/amadmin.c (disklist_one): output the security-driver
11293 string in place of the auth type
11294 * server-src/amcheck.c (start_client_checks, handle_response):
11295 enum type hostp->disks->auth is gone. check the string in the
11296 security_driver for this disk for krb4 auth.
11297 * server-src/planner.c (getsize, handle_result): check the string
11298 in hostp->disks->security_driver for the auth type.
11300 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
11302 * server-src/amindexd.c: no need to include protocol.h
11304 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
11306 * server-src/amindexd.c: remove duplication inclusion of version.h.
11307 Include tapefile.h to get read_tapelist() prototype
11308 * server-src/amindexd.c (build_disk_table): remove a plethora of
11310 * server-src/amindexd.c (main): rename security_ok() call to
11311 check_security(), and define check_security() locally. security_ok
11312 will disappear when the new security api goes in
11314 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
11316 * server-src/changer.c (changer_label): make it return void
11317 to keep gcc warning about control reaching the end of a nonvoid
11319 * server-src/changer.c: update changer_label's proto for previous
11321 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
11323 * common-src/amanda.h: define SET, CLR, ISSET macros for dealing
11325 * server-src/amadmin.c: use the bitmask macros for setting
11326 and clearing the bits in the infofile command word
11327 * server-src/planner.c: ditto. This fixes a bug in the code that
11328 tried to clear FORCE_FULL with an xor expression that was
11329 never assigned (x ^ FORCE_FULL)
11331 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
11333 * common-src/bsd-security.c (bsd_sendpkt): cast uid's to long and
11334 use %ld to print them.
11336 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
11338 * common-src/dgram.h: mark dgram_cat with gcc's printf attribute
11339 * common-src/packet.h: ditto for pkt_cat
11340 * common-src/security.h: likewise for security_seterror
11342 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
11344 * common-src/error.c (error): const the format arg
11345 * common-src/amanda.h: mark error with gcc's noreturn attribute, and
11346 const its format arg
11348 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
11350 * common-src/debug.c (debug_printf): const the format arg
11351 * common-src/amanda.h: const debug_printf's format arg
11353 1998-12-14 Alexandre Oliva <oliva@dcc.unicamp.br>
11355 * configure.in (BSD SCSI): test ... -a ... is not portable, and less
11356 so when written test ... -a test ... :-)
11358 1998-12-14 Thomas Hepper <th@icem.de>
11360 * changer-src/Makefile.am Added scsi-bsd.c
11361 * changer-src/chg-scsi.c Initialize *scsitapedevice
11362 * changer-src/scsi-changer-driver.c remove LITTLE_ENDIAN_BITFILEDS
11364 changed RequestSense to pRequestSense (there is a function
11365 called RequestSense)
11366 changed error handling in ResetStatus (fix for IRIX)
11367 FIxed length handling for the pages in ReadElemtStatus
11368 * changer-src/scsi-chio.c get_clean_state only returns 0, the
11369 ioctl to get the clean flag is not portable ;-(
11370 changed all (f)printf to dbprintf
11372 * changer-src/scsi-defs.h ElementStatusData_T is for BIG and
11373 LITTLE endian the same ...
11375 * changer-src/scsi-bsd.c New file for FreeBSD
11377 * changer-src/scsi-irix.c Clean up in the return handling
11378 changed RequestSense to pRequestSense
11379 Removed unused function TapeStatus
11381 * changer-src/scsi-linux.c changed RequestSense to pRequestSense
11382 Removed unused function TapeStatus
11384 * changer-src/scsi-solaris.c changed RequestSense to pRequestSense
11385 Removed unused function TapeStatus
11387 * config/acconfig.h added def for BSD_LIKE_SCSI
11389 * configure.in Added check for ENDIAN type AC_C_BIGENDIAN
11390 added sys/scsiio.h and check for BSD SCSI interface
11392 1998-12-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11394 * server-src/driver.c (handle_dumper_result): rename .tmp files
11395 when receiving ABORT_FINISHED.
11397 1998-12-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11399 * server-src/driver.c (start_some_dumps): Use the holdp returned
11400 by find_diskspace for a big_dumper in degraded mode.
11402 1998-12-11 Alexandre Oliva <oliva@dcc.unicamp.br>
11404 * docs/SYSTEM.NOTES (Ultrix): recommend gcc or egcs
11405 (IRIX): patch for xfsdump estimates
11407 1998-12-10 John R. Jackson <jrj@purdue.edu>
11409 * common-src/amflock.c (main): remove call set_pname() for
11410 CONFIGURE_TEST since error.o is not linked in.
11412 1998-12-10 Mike Grupenhoff <kashmir@munge.com>
11414 * server-src/dumper.c (struct databuf): add a fd member - the file
11415 descriptor that we are buffering
11416 * server-src/dumper.c (update_dataptr): remove
11417 outf arguments, use the fd in the passed databuf. Return 0 on
11418 success, and -1 on error.
11419 * server-src/dumper.c (update_dataptr): rework and comment the
11420 chunk code a bit. Get rid of the cont_filename global.
11421 * server-src/dumper.c (do_dump): init the fd member of the databuf
11422 * server-src/dumper.c (write_dataptr): fold back into update_dataptr
11424 1998-12-10 John R. Jackson <jrj@purdue.edu>
11426 * common-src/amflock.c (main): report CONFIGURE_TEST error messages to
11429 1998-12-10 John R. Jackson <jrj@purdue.edu>
11431 * common-src/amflock.c (main): call set_pname() for CONFIGURE_TEST.
11432 * configure.in: do not set up pname global for lnlock CONFIGURE_TEST.
11434 1998-12-10 Mike Grupenhoff <kashmir@munge.com>
11436 * server-src/dumper.c (update_dataptr): remove pointless backups
11437 of the databuf and associated vars when creating next chunk.
11438 Remove duplicate setting of file.cont_filename.
11440 1998-12-10 Mike Grupenhoff <kashmir@munge.com>
11442 * server-src/dumper.c (main): reuse outfd to clear the open files
11443 passed to us. Nuke the fd var.
11444 * server-src/dumper.c (update_dataptr): nuke 'split' argument - it
11445 was always set to 1
11447 1998-12-09 Mike Grupenhoff <kashmir@munge.com>
11449 * server-src/dumper.c (write_tapeheader): kill dead code
11450 * server-src/dumper.c (main): remove useless amfree of datestamp.
11451 Add missing break to 'default' case in command loop.
11452 * server-src/dumper.c: kill databuf, spaceleft, and dataptr globals.
11453 Create a 'struct databuf' that holds all three.
11454 * server-src/dumper.c (write_dataptr, update_dataptr): make
11455 these take a 'struct databuf *' as an argument, and have them
11456 operate on its contents instead of the aforementioned globals
11457 * server-src/dumper.c (do_dump): declare a 'struct databuf' here.
11458 Make it static, because it's large. Use it instead of the
11461 1998-12-09 Mike Grupenhoff <kashmir@munge.com>
11463 * server-src/dumper.c (main): rework the command loop a bit.
11464 Consolidate all duplicated error cleanup into one place at the
11465 end of the loop after each command has been processed. Exit
11466 with exit(), not return.
11468 1998-12-09 Mike Grupenhoff <kashmir@munge.com>
11470 * server-src/dumper.c (main, getcmd, write_dataptr): kill argc and
11471 argv globals, pass them as arguments to getcmd() via struct cmdargs.
11472 * server-src/dumper.c (getcmd): make the command lookup table driven.
11473 * server-src/dumper.c (write_dataptr): restructure the command
11474 logic a bit to hopefully clarify things.
11476 1998-12-09 Henning P. Schmiedehausen <henning@tanstaafl.de>
11478 * client-src/sendbackup.c (parse_options): Added check whether the
11479 pathname of the exclude file is relative and if yes, use the
11480 mountpoint of the filesystem as anchor. So you can put your exclude
11481 file in the root of the filesystem to backup.
11482 * client-src/sendsize.c (getsize_gnutar): added the same check as
11483 above so sendsize uses the same exclude file.
11485 1998-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11487 * server-src/holding.c (size_holding_files): return size in KB.
11488 * server-src/driver.c (adjust_diskspace): use KB returned by
11489 size_holding_files.
11490 * server-src/driver.c: rename .tmp file
11491 * server-src/dumper.c: do not rename .tmp file. let the driver do it.
11493 1998-12-09 John R. Jackson <jrj@purdue.edu>
11495 * common-src/stream.c (stream_server): do not request a reserved port
11496 if we are root but PORTRANGE is defined. Also, clean up the code
11497 and make sure *portp is -1 on all error returns.
11499 1998-12-08 John R. Jackson <jrj@purdue.edu>
11501 * Makefile.am: add the user-contributed area.
11502 * contrib/README: describe the user-contributed area.
11503 * contrib/dbbackup.README: README for Oracle database backup system.
11504 * contrib/dbbackup.ksh: Oracle database backup system wrapper.
11505 * contrib/dbbackup.sql: Oracle database backup system setup commands.
11506 * contrib/dbbackup.tcl: Oracle database backup system main body.
11508 1998-12-08 John R. Jackson <jrj@purdue.edu>
11510 * amplot/Makefile.am: fix install rule when DESTDIR is non-null,
11511 compliments of Henning P. Schmiedehausen <hps@tanstaafl.de>.
11513 1998-12-08 John R. Jackson <jrj@purdue.edu>
11515 * configure.in: fix reversed code for --with-amrecover, compliments
11516 of Yar Tikhiy <yar@radio-msu.net>.
11518 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11520 * common-src/fileheader.h (dumpfile_t): new is_partial field.
11521 * common-src/fileheader.c: add codee for new is_partial field.
11522 * server-src/holding.h (rename_tmp_holding): declare new function.
11523 * server-src/holding.c (rename_tmp_holding): new function.
11524 * server-src/dumper.c (do_dump): return 1 if succeded, otherwise 0.
11525 * server-src/dumper.c (main): open .tmp when dumping to disk,
11526 rename .tmp if do_dump return 1.
11527 * server-src/dumper.c (update_dataptr): open .tmp for new chunk.
11528 * server-src/amstatus.pl.in (dump_size): return size of .tmp file.
11530 1998-12-07 Mike Grupenhoff <kashmir@munge.com>
11532 * server-src/amtape.c (main, usage): make command lookup and usage
11535 1998-12-07 Mike Grupenhoff <kashmir@munge.com>
11537 * server-src/amadmin.c: make command lookup and usage table-driven
11538 * server-src/amadmin.c (balance, tape, bumpsize): add
11539 argc/argv arguments to make them like the rest
11540 * server-src/amadmin.c (show_version): new function, implements
11541 the version command, so it is done like the other commands
11542 * server-src/amadmin.c (main): iterate through cmdtab[] when
11543 looking up the command, instead of a huge if/then/else
11544 * server-src/amadmin.c (usage): iterate through cmdtab[] when
11545 displaying usage strings. Display the "disklist" usage string.
11547 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11549 * config/acconfig.h: add "#undef HAVE_WRITEV_DECL".
11551 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11553 * NEWS: document new force-bump, force-no-bump and unforce-bump
11554 command in amadmin.
11556 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11558 * server-src/holding.c (size_holding_files): new function to
11559 return the sum of the size of all chunk of an image.
11560 * server-src/holding.h (size_holding_files): declare.
11561 * server-src/driver.c (adjust_diskspace): use size_holding_files
11562 instead of doing a stat of only the first chunk.
11564 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11566 * server-src/amadmin.c: new force-bump, force-no-bump and unforce-bump
11568 * man/amadmin.8.in: document them.
11570 1998-12-05 Alexandre Oliva <oliva@dcc.unicamp.br>
11572 * docs/FAQ (large filesystems): fixed reference to results missing
11573 (results missing): updated to 64Kb UDP packets
11575 1998-12-04 Mike Grupenhoff <kashmir@munge.com>
11577 * common-src/amanda.h: implement WIFSIGNALED() if not already
11579 * server-src/amcheck.c: ream out compat definitions of WEXITSTATUS(),
11580 WTERMSIG(), and WIFSIGNALED(). These are already handled in amanda.h
11581 * server-src/changer.c: ditto
11583 1998-12-03 Mike Grupenhoff <kashmir@munge.com>
11585 * common-src/bsd-security.c (recv_security_ok): only check for
11586 a reserved port for REQ packets
11588 1998-12-03 Mike Grupenhoff <kashmir@munge.com>
11590 * common-src/bsd-security.c (recvpkt_callback): only compare
11591 the sin_addr and sin_port fields in the sockaddr when determining
11592 what handle an incoming packet belongs to.
11593 * common-src/bsd-security.c (pkthdr2str): use %s for the handle,
11594 since it's a string.
11596 1998-12-03 Mike Grupenhoff <kashmir@munge.com>
11598 * common-src/bsd-security.c (bsd_sendpkt): newline-terminate
11599 the 'SECURITY USER' line in the packet
11600 * common-src/bsd-security.c (check_user): fix many bugs
11601 in the USE_AMANDAHOSTS case
11603 1998-12-03 Mike Grupenhoff <kashmir@munge.com>
11605 * configure.in: AC_REPLACE_FUNCS(writev)
11607 1998-12-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11609 * server-src/infofile.h: rename PLANNER_FORCE to FORCE_FULL
11610 * server-src/planner.c: rename PLANNER_FORCE to FORCE_FULL
11611 * server-src/amadmin.c: rename PLANNER_FORCE to FORCE_FULL
11613 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
11615 * config/acconfig.h: add KRB5_SECURITY. Update comment above
11616 krb4 define to make clear that they are for krb4
11618 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
11620 * configure.in: if we're doing krb4 and -lcom_err is there, pull
11622 * configure.in: implement --with-krb5-security.
11624 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
11626 * common-src/dgram.c (dgram_cat): now can take printf-style
11628 * common-src/dgram.g (dgram_cat): update prototype
11630 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
11632 * common-src/bsd-security.c: wrap entire file in #ifdef BSD_SECURITY
11633 * common-src/bsd-security.c (bsd_connect): catch up with
11634 security interface changes - upper layer now allocates our handle
11635 Also, pass up useful error message about why connects failed
11636 via the handle we are given
11637 * common-src/bsd-security.c (gethandle): rename to inithandle,
11638 since we are now passed the handle's memory. No need to allocate
11639 memory or initialize the error msg pointer
11640 * common-src/bsd-security.c (bsd_close): now an empty function - no
11642 * common-src/bsd-security.c (recvpkt_callback): allocate the handle
11643 before calling inithandle() (nee gethandle()).
11644 * common-src/bsd-security.c (stream_read_callback): put
11645 strerror(errno) in the handle's error buffer before passing a
11646 read error up to the caller
11648 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
11650 * common-src/krb5-security.c: new stub file that pulls in the
11651 krb5 bits from the amanda-krb-2 tree if KRB5_SECURITY is
11654 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
11656 * common-src/base64.{c,h}: new files, implement base64 encoding
11657 and decoding. Implementation based on routines in bind, and so
11658 copyright is held by ISC and IBM (but is BSD-like).
11660 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
11662 * common-src/security.h: add 'handlesize' to the driver struct, also
11663 make the connect function pointer return int and take a handle
11665 * common-src/security.h (security_connect): addd a 'const char **'
11666 errmsg argument for returning connect errors
11668 1998-12-01 John R. Jackson <jrj@purdue.edu>
11670 * server-src/amcheck.c: make -t mean do the tape checks, add new -l
11671 option for doing just the local server (non-tape) checks. Have -w
11672 turn on -t. Have -cs (or -sc) do both server and client checks.
11673 * man/amcheck.8.in: document above changes and clean up some minor
11676 1998-12-01 Mike Grupenhoff <kashmir@munge.com>
11678 * common-src/event.c (release): nuke bogus comment about signal
11680 * common-src/event.c (event_loop): move the reentrancy assert
11681 after the empty queue check. Otherwise, calling event_loop()
11682 with an empty event queue would cause the entry count to get
11683 out of sync. Also, on exit, assert that the entry count has
11685 * common-src/event.c (event_loop): fix bogus comment about event
11688 1998-12-01 Mike Grupenhoff <kashmir@munge.com>
11690 * common-src/arglist.h: implement arglist_function3()
11692 1998-11-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11694 * server-src/driver.c (start_some_dumps): In degraded mode,
11695 a big dumper should do high priority dump before low priority.
11696 * server-src/driver.c (sort_by_priority_reversed): sort by
11697 time if priority is equal.
11699 1998-11-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11701 * server-src/infofile.h: declare FORCE_BUMP and FORCE_NO_BUMP
11703 * server-src/amadmin.c (force_one,unforce_one,info_one): work
11704 with info.command with bit operator.
11705 * server-src/planner.c (setup_estimate): work with info.command
11706 with bit operator, support for FORCE_BUMP and FORCE_NO_BUMP command.
11708 1998-11-27 Thomas Hepper <th@icem.de>
11710 * changer-src/scsi-aix.c Some changes in the error handling in
11711 scsi command execution
11712 * changer-src/scsi-changer-driver.c More debug prints.
11713 removed Endian16/Endian24 (replaced with macros)
11714 * changer-src/scsi-chio.c make get_clean_state work on linux
11715 * changer-src/scsi-defs.h added macros for converting from/to
11717 * docs/TAPE.CHANGERS add note about AIX and chg-scsi
11719 1998-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11721 * server-src/amadmin.c(export_one): export the last_level and
11722 consecutive_runs field.
11723 * server-src/amadmin.c(import_one): import the last_level and
11724 consecutive_runs field.
11726 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
11728 * common-src/amanda.h: uhh, every other decl has a leading
11729 'extern' so writev() should as well
11731 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
11733 * common-src/amanda.h: if no writev() decl exists, declare one
11735 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
11737 * configure.in: check for <sys/uio.h>, check for a writev() decl
11738 in <unistd.h> and/or <sys/uio.h>
11740 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
11742 * common-src/writev.c (writev): new file, implements writev for
11743 systems that lack it
11745 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
11747 * common-src/amanda.h: include <sys/uio.h> if it exists. Otherwise,
11748 define struct iovec
11750 1998-11-24 John R. Jackson <jrj@purdue.edu>
11752 * server-src/amlabel.c: insist on being run as the dump user (ala
11753 amlabel) to keep permissions straight.
11755 1998-11-24 John R. Jackson <jrj@purdue.edu>
11757 * server-src/amadmin.c: fix minor message format problem.
11759 1998-11-24 John R. Jackson <jrj@purdue.edu>
11761 * server-src/amlabel.c: insist on being run as the dump user (ala
11762 amflush) to keep permissions straight.
11764 1998-11-24 John R. Jackson <jrj@purdue.edu>
11766 * server-src/amrmtape.sh.in: insist on being run as the dump user (ala
11767 amdump) to keep permissions straight.
11769 1998-11-24 John R. Jackson <jrj@purdue.edu>
11771 * server-src/amadmin.c: issue a warning for update commands that might
11772 leave ownership incorrect.
11774 1998-11-24 John R. Jackson <jrj@purdue.edu>
11776 * server-src/amcheck.c: add a "-t" option to disable tape tests in the
11777 server checks. This lets server checks be done without mounting a
11778 tape. Add lots more sanity checks, in particular, ownership and
11779 permissions of the index area and text format database. Warn if
11780 amcheck is not run as the dump user listed in amanda.conf. Minor
11781 consistency cleanup in the messages.
11782 * man/amcheck.8.in: document the changes.
11784 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
11786 * common-src/dgram.c (dgram_bind): always try to get a reserved
11787 port, even if KRB4_SECURITY is defined
11789 1998-11-23 Mike Grupenhoff <kashmir@munge.com>
11791 * common-src/bsd-security.c (struct bsd_handle): change 'int handle'
11792 to 'char proto_handle[32]' because the remote client might generate
11793 handles that aren't completely numerical
11794 * common-src/bsd-security.c (gethandle, str2pkthdr): the 'handle' arg
11796 * common-src/bsd-security.c (bsd_connect): convert our generated
11797 handle into a string to pass to gethandle()
11798 * common-src/bsd-security.c (str2pkthdr): rewrite to parse with
11799 strtok(). Parse the handle as a string instead of trying to
11800 convert it into a number
11802 1998-11-20 Alexandre Oliva <oliva@dcc.unicamp.br>
11804 * server-src/amcleanup.sh.in (logdir/amdump): arrange that it is
11805 renamed if it exists, even if no log file could be found.
11807 1998-11-20 Mike Grupenhoff <kashmir@munge.com>
11809 * common-src/bsd-security.c: define STREAM_BUFSIZE to be
11810 the size of the tcp socket buffers
11811 * common-src/bsd-security.c (bsd_stream_server, bsd_stream_client):
11812 adapt to the stream_server() interface changes. Set socket
11813 buffers to STREAM_BUFSIZE.
11815 1998-11-20 Alexandre Oliva <oliva@dcc.unicamp.br>
11817 * config/ltmain.sh, config/ltconfig, config/libtool/libtool.m4:
11818 updated to current CVS libtool
11820 1998-11-19 John R. Jackson <jrj@purdue.edu>
11822 * server-src/conffile.c (get_holdingdisk, init_holdingdisk_defaults):
11823 set the default chunksize and the "0" and "-1" special chunksizes
11824 to 64 KBytes less than the maximum to allow the final read at EOF.
11825 * server-src/dumper.c (main): leave the chunksize as it is when it
11826 comes in except to truncate it to a 32 KByte boundary.
11827 * man/amanda.8.in: add some chunksize comments and clean up a few
11828 minor odds and ends.
11830 1998-11-19 Mike Grupenhoff <kashmir@munge.com>
11832 Give amrecover its own security bits. It has different needs
11833 and a different protocol than the rest of amanda, so it shouldn't
11834 try to reuse the security bits
11835 * recover-src/amrecover.c (get_security): new function, implements
11837 * recover-src/amrecover.c (main): call get_security()
11838 * recover-src/amrecover.h: get_security() prototype
11839 * recover-src/extract_list.c (extract_files_setup): call
11841 * restore-src/amidxtaped.c (check_security): new function, implements
11842 * restore-src/amidxtaped.c (main): call check_security()
11844 1998-11-19 Mike Grupenhoff <kashmir@munge.com>
11846 * common-src/stream.c (stream_server, stream_client): cast 4th
11847 arg of setsockopt() to (void *) to quash a compiler warning
11850 1998-11-19 John R. Jackson <jrj@purdue.edu>
11852 * recover-src/amrecover.c (main): use set_host to find the initial
11853 host name so we get the same alias resolution at startup as the
11855 * recover-src/set_commands.c (set_host): report alternate names being
11856 attempted and only clear the directory list if a host is found.
11858 1998-11-19 Alexandre Oliva <oliva@dcc.unicamp.br>
11860 * server-src/driverio.c (update_info_dumper): do not update
11861 compression or dump rates when called from
11862 update_failed_dump_to_date
11863 Reported by Michael Schmitz <mschmitz@sema.de>
11865 1998-11-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11867 * server-src/dumper.c (main): reduce the size of the chunksize by
11870 1998-11-18 Alexandre Oliva <oliva@dcc.unicamp.br>
11872 * configure.in: hack for paxutils was not working; fixed
11874 1998-11-18 Michael Povel <mcp@ladyada.han.de>
11876 * server-src/changer.h added new functions:changer_query
11877 ,changer_search,changer_find, changer_label
11878 * server-src/changer.c added changer_query, changer_search,
11879 changer_find, changer_label
11880 * server-src/amcheck.c (taper_scan) now uses changer_find
11881 * server-src/amtape.c (load_label and taper_scan) now use changer_find
11882 * server-src/taper.c (taper_scan) now uses changer_find
11883 * server-src/amlabel.c (main) added call to changer_label
11884 which is only an empty dummy at the moment
11886 1998-11-18 Thomas Hepper <th@icem.de>
11888 * changer-src/chg-scsi.c Added debug print option
11889 * changer-src/chg-scsi.c If the load fails do not continue
11890 * changer-src/scsi-aix.c changed #include <config.h> to <amanda.h>
11891 * changer-src/scsi-aix.c Added debug prints to SCSI_ExecuteCommand
11892 * changer-src/scsi-changer-driver.c changed #include <config.h> to
11893 #include <amanda.h>
11894 * changer-src/scsi-changer-driver.c Added debugging prints
11895 * changer-src/scsi-changer-driver.c Remove unused funktion TestUnitReady
11896 * changer-src/scsi-chio.c added missing funktion Tape_Ready
11897 * changer-src/scsi-hpux.c removed #include "config.h", is already done
11899 * changer-src/scsi-hpux_new.c changed #include <config.h> to
11900 #include <amanda.h>
11901 * changer-src/scsi-irix.c changed #include <config.h> to
11902 #include <amanda.h>
11903 * changer-src/scsi-linux.c changed #include <config.h> to
11904 #include <amanda.h>
11905 * changer-src/scsi-solaris.c changed #include <config.h> to
11906 #include <amanda.h>
11908 1998-11-17 Alexandre Oliva <oliva@dcc.unicamp.br>
11910 * client-src/sendsize.c: disable HAVE_DUMP_ESTIMATE if SAMBA_CLIENT
11913 1998-11-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11915 * server-src/tapefile.c (lookup_last_reusable_tape): Wrong order
11916 to shift the tpsave array.
11918 1998-11-17 Alexandre Oliva <oliva@dcc.unicamp.br>
11920 * example/amanda.conf.in: document that infofile is supposed to be a
11921 directory with the default database format
11922 * docs/FAQ: New questions: `infofile update failed' and `using the
11923 same host in different configurations'
11925 1998-11-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11927 changer-src/scsi-linux.c (Tape_Ready): typo, the argument Device
11928 to the SCSI_CloseDevice() is not defined, I changed it to tapedev.
11930 1998-11-17 Brendan M Coffey <bcoffey@connix.com>
11932 * common-src/stream.c (stream_server): add requested send and receive
11933 socket size parameters.
11934 * common-src/stream.h (stream_server): ditto
11935 * server-src/taper.c (file_reader_side): set a large receive socket
11937 * client-src/sendbackup.c (main): set a large send and receive socket
11938 buffer size for the data path, use defaults for the message and index
11941 1998-11-16 Alexandre Oliva <oliva@dcc.unicamp.br>
11943 * changer-src/scsi-solaris.c (Tape_Ready): typo in Thomas' patch
11945 1998-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11947 * server-src/infofile.h (get_dumpdate): rename record parameter to info.
11948 * server-src/infofile.h (get_info): rename record parameter to info.
11949 * server-src/infofile.h (put_info): rename record parameter to info.
11950 * server-src/infofile.c (get_dumpdate): rename rec parameter to info.
11951 * server-src/infofile.c (zero_info): rename ip parameter to info.
11952 * server-src/infofile.c (get_info): rename record parameter to info.
11953 * server-src/infofile.c (put_info): rename record parameter to info.
11954 * server-src/infofile.c (dump_rec): rename r parameter to info.
11955 * server-src/infofile.c (dump_db): rename record variable to info.
11956 * server-src/planner.c (last_level): rename ip parameter to info.
11957 * server-src/planner.c (next_level0): rename ip parameter to info.
11958 * server-src/planner.c (runs_at): rename ip parameter to info.
11959 * server-src/planner.c (askfor): rename inf parameter to info.
11960 * server-src/planner.c (setup_estimate): rename inf variable to info.
11961 * server-src/driverio.c (update_info_dumper): rename inf parameter
11963 * server-src/driverio.c (update_info_taper): rename inf parameter
11965 * server-src/amadmin.c (next_level0): rename ip parameter to info.
11966 * server-src/amadmin.c (force_one): rename inf variable to info.
11967 * server-src/amadmin.c (unforce_one): rename inf variable to info.
11968 * server-src/amadmin.c (delete_one): rename inf variable to info.
11969 * server-src/amadmin.c (info_one): rename inf variable to info.
11970 * server-src/amadmin.c (due_one): rename inf variable to info.
11971 * server-src/amadmin.c (balance): rename inf variable to info.
11973 1998-11-11 Thomas Hepper <th@icem.de>
11975 * configure.in: amanda_cv_hpux_scsi was double defined.
11976 Replaced it in the chio check with amanda_cv_hpux_scsi_chio
11977 * docs/TAPE.CHANGERS: update the notes about chg-scsi
11978 * changer-src/chg-scsi.c: Unload the cleaning tape only
11980 Pass the changerdev and tapedev Tape_Ready, so we can check
11981 if changerdev=tapedev. In this case the fd is already open.
11982 * changer-src/scsi-aix.c: cleanup and first parts are running :-)
11983 * changer-src/scsi-changer-driver.c: Pass back the scsi status
11984 field to the calling function, not the result from the ioctl
11985 if the return form the ioctl is >= 0
11986 * changer-src/scsi-hpux.c: Add additional param to Tape_Ready
11987 fill Tape_Ready with live
11988 * changer-src/scsi-hpux_new.c: Return the scsi status if
11989 the ioctl result is >=0. Add new Parameter to Tape_Ready
11990 * changer-src/scsi-irix.c: same as scsi-hpux_new.c
11991 * changer-src/scis-linux.c: Add additional param to Tape_Ready
11992 * changer-src/scsi-solaris.c: same as scsi-hpux_new.c
11994 1998-11-11 Mike Grupenhoff <kashmir@munge.com>
11996 * server-src/security.h: add driver entry points and macros
11997 for security_stream_accept() and security_stream_auth()
11998 * server-src/bsd-security.c: implement security_stream_accept()
11999 and security_stream_auth() for bsd security
12001 1998-11-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12003 * server-src/driver.c (main): redo my patch about total_disksize that
12004 Alexendre has undone, only the 2.4.1 branch was broken.
12006 1998-11-10 Alexandre Oliva <oliva@dcc.unicamp.br>
12008 * server-src/driver.c (main): total_disksize was only added after
12009 the loop terminated, i.e., when hdp was NULL -> crash. fixed.
12011 1998-11-09 John R. Jackson <jrj@purdue.edu>
12013 * server-src/reporter.c (main): ignore SIGPIPE so if a child process
12014 dies we do not also go away. Also fix a core dump if amanda.conf
12015 cannot be processed, and clean up a few error messages.
12017 1998-11-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12019 * server-src/infofile.h (struct info_s): add last_level and
12021 * server-src/infofile.c: support new last_level and consecutive_runs
12022 * server-src/planner.c (last_level): return ip->last_level.
12023 * server-src/planner.c (runs_at): return ip->consecutive_runs.
12024 * server-src/driverio.c (update_info_dumper): update inf.last_level
12025 and inf.consecutive_runs.
12027 1998-11-09 Mike Grupenhoff <kashmir@munge.com>
12029 * client-src/sendbackup-dump.c (start_backup): don't close indexf
12030 if it was never open
12031 * client-src/sendbackup-gnutar.c (start_backup): ditto
12033 1998-11-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12035 * server-src/driver.c (main): add hdp->disksize to total_disksize
12036 even when we create the datestamp dir. (reserve was unusable).
12038 1998-11-07 Alexandre Oliva <oliva@dcc.unicamp.br>
12040 * Makefile.am (EXTRA_DIST): added EVENT-API, SECURITY-API and
12042 * docs/STRATEGY-API: new file
12044 * configure.in (GNUTAR): accept tar from Free paxutils, the new name
12047 1998-11-07 Alexandre Oliva <oliva@dcc.unicamp.br>
12049 * changer-src/scsi-solaris.c: added missing #endif
12051 * configure.in: merge with camlib.h patch from Oct 31
12052 remove all uses of test ... -a ...; this is not portable.
12053 (AC_CHECK_HEADERS) added header files for Linux and Solaris
12055 1998-11-07 Thomas Hepper <th@icem.de>
12057 * changer-src/chg-scsi: Add config option scsidev
12058 * changer-src/chg-scsi: Remove function tape_ready
12059 * changer-src/chg-scsi: Add new parameter tapedev to function
12061 * changer_src/scsi-hpux.c: changed HAVE_HPUX_SCSI to
12062 HAVE_HPUX_SCSI_CHIO, changed in configure.in too
12063 * changer-src/libscsi.h: Expand definition for get_clean_state
12064 * new files in /changer-src:
12065 scsi-aix.c, scsi-changer-driver.c, scsi-defs.h
12066 scsi-hpux_new.c, scsi-irix.c, scsi-linux.c, scsi-solaris.c
12067 * configure.in checks for scsi ioctl added, check for header files
12068 for the scsi suport added
12069 * config/acconfig.h new:
12070 HAVE_HPUX_LIKE_SCSI, HAVE_HPUX_SCSI_CHIO, HAVE_LINUX_LIKE_SCSI
12071 HAVE_IRIX_LIKE_SCSI, HAVE_SOLARIS_LIKE_SCSI, HAVE_AIX_LIKE_SCSI
12072 removed: HAVE_HPUX_SCSI
12073 * changer-src/Makefile.am: New conditional for building chg-scsi-chio
12074 and chg-scsi. chg-scsi-chio is the old chg-scsi
12076 1998-11-06 Mike Grupenhoff <kashmir@munge.com>
12078 * common-src/bsd-security.c (bsd_stream_write): callback's third
12079 arg should now be an int.
12080 * common-src/bsd-security.c: quash some gcc -Wall warnings
12082 1998-11-06 Mike Grupenhoff <kashmir@munge.com>
12084 * common-src/security.h: the callback to stream_read should
12085 take signed type as its 'length' argument so errors can be
12086 expressed as a negative number.
12088 1998-11-06 Mike Grupenhoff <kashmir@munge.com>
12090 * common-src/bsd-security.c (stream_read_callback): do reads into
12091 a buffer of size TAPE_BLOCK_BYTES, instead of 256, and place the
12092 buffer in the stream handle instead of on the stack, since it's
12095 1998-11-05 Mike Grupenhoff <kashmir@munge.com>
12097 * common-src/event.c (event_loop): Consider error conditions on
12098 file descriptors as read or write events. The caller will be
12099 able to differentiate when they call read or write and it
12102 1998-11-05 Mike Grupenhoff <kashmir@munge.com>
12104 * common-src/event.c (event_loop): print out WHY select failed
12106 1998-11-05 Mike Grupenhoff <kashmir@munge.com>
12108 * common-src/bsd-security.c: adjust for the recvpkt timeout
12110 * common-src/bsd-security.c (handleq_remove): add a missing ; after
12112 * common-src/bsd-security.c (gethandle): initialize the error buffer
12113 in the security handle, since errors may be set before the handle
12114 is passed up to the general security layer
12115 * common-src/bsd-security.c (bsd_recvpkt_cancel): allow it to be
12116 called several times, or when no recvpkt was scheduled
12118 1998-11-05 Mike Grupenhoff <kashmir@munge.com>
12120 * common-src/security.h: define security_recvpkt_status_t
12121 * common-src/security.h: security_driver_t->recvpkt() now
12122 takes a timeout argument, and its callback takes a
12123 security_recvpkt_status_t
12124 * common-src/security.h: adjust the security_recvpkt() macro
12125 for the above changes
12127 1998-11-05 Mike Grupenhoff <kashmir@munge.com>
12129 * common-src/event.c (event_loop): assert that we are not firing
12132 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12134 * recover-src/amrecover.c: remove declaration of errstr.
12136 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12138 * server-src/amindexd.c (build_disk_table): call find_dump() instead
12139 of popen("amadmin <conf> find ...")
12141 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12143 * server-src/holding.h: rename dir_list to holding_list because
12144 dir_list is also declared in amflush.c
12145 * server-src/holding.c: ditto
12146 * server-src/find.c: ditto
12148 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12150 * server-src/amstatus.pl.in: remove warning.
12152 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
12154 * common-src/event.c (event_register): delete some improper debug
12155 code that shouldn't have made it in
12157 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
12159 * common-src/bsd-security.c: new file: security driver that
12160 implements "BSD" security.
12162 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
12164 * common-src/security.h: new file: the security api header
12166 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
12168 * common-src/event.c: new file: the event handler. Handles file
12169 descriptor io, signals, and timed events.
12170 * common-src/event.h: new file: interface for the event handler.
12172 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
12174 * common-src/packet.c: new file: description of pkt_t's and routines
12176 * common-src/packet.h: new file: header for common-src/packet.c
12178 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
12180 * common-src/queue.h: new file: the 4.4BSD queue macros, with
12181 additions from NetBSD
12183 1998-11-04 John R. Jackson <jrj@purdue.edu>
12185 * server-src/amverify.sh.in: tolerate extra amtape output.
12187 1998-11-04 Alexandre Oliva <oliva@dcc.unicamp.br>
12189 * configure.in: bumped to 2.5.0
12191 * server-src/taper.c (read_file): if a new tape cannot be found,
12192 report a no-tape error to the log file and exit, just like it does
12195 1998-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12197 * server-src/planner.c (pick_inclevel): return base_level even
12198 when the estimate failed.
12199 * server-src/planner.c (output_scheduleline): test for degr_size
12200 instead of degr_level.
12202 1998-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12204 * server-src/planner.c (last_level): update last_date otherwise only
12205 level 0 or the highest is returned.
12207 1998-11-03 Mike Grupenhoff <kashmir@munge.com>
12209 * common-src/alloc.c: const arguments to the stralloc functions
12210 * common-src/amanda.h: update stralloc prototypes for const
12213 1998-11-03 John R. Jackson <jrj@purdue.edu>
12215 * server-src/dumper.c (do_dump): do not report FAILED back to driver
12216 when it sent us ABORT. Clean up and send back ABORT-FINISHED.
12218 1998-11-03 John R. Jackson <jrj@purdue.edu>
12220 * server-src/driver.c (handle_dumper_result): do not abort a dumper
12221 that reports NO-ROOM if taper is busy since some holding disk space
12222 will eventually be released (this code it not used when PORT-DUMP is
12225 1998-11-03 John R. Jackson <jrj@purdue.edu>
12227 * server-src/taper.c (write_buffer): calling lseek after every tape
12228 write is wasteful and makes utilities like lsof less useful. Only
12229 reset the offset when the amount written is about to go over 2 GBytes.
12231 1998-11-02 John R. Jackson <jrj@purdue.edu>
12233 * server-src/driver.c (main, start_degraded_mode): fix rounding problem
12234 that made the code think there was a little room for full dumps in
12235 degraded mode, and fix the code that decides whether to do a full dump
12238 1998-11-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12240 * server-src/amstatus.pl.in: initialize variable to remove warning.
12242 1998-11-02 Alexandre Oliva <oliva@dcc.unicamp.br>
12244 * client-src/Makefile.am (CLIENT_SCRIPTS): rename to
12245 CLIENT_SCRIPTS_OPT, because *_SCRIPTS is interpreted by automake
12246 * configure.in (CLIENT_SCRIPTS): ditto
12247 Reported by Thomas Hepper <Thomas.Hepper@icem.de>
12249 * configure.in (LIBTOOL_M4): no longer defined
12250 (LIBTOOL_M4_MACRO_DIR): defined assuming CWD is top_srcdir
12251 * Makefile.am (ACLOCAL_M4_FROM_SRCDIR): relative to srcdir
12252 (ACLOCAL_M4): defined and created using ACLOCAL_M4_FROM_SRCDIR
12253 Reported by Thomas Hepper <Thomas.Hepper@icem.de>
12255 * client-src/sendbackup.c (backup_program): rename to
12256 gnutar_program, that's the name it should have had from the
12258 * client-src/sendbackup-gnutar.c (backup_program): ditto
12260 1998-10-31 Michael Schmitz <mschmitz@iname.com>
12262 * configure.in: let configure check whether strcasecmp is
12264 * common-src/strcasecmp.c: new file which contains a definition
12266 * common-src/amanda.h: added code to declare strcasecmp in
12267 case it's not declared in a standard header
12269 1998-10-31 Alexandre Oliva <oliva@dcc.unicamp.br>
12271 * configure.in (snprintf): arrange that it is included in the
12272 distribution automatically
12273 * common-src/Makefile.am (EXTRA_DIST): removed, not needed
12275 * changer-src/Makefile.am (libexec_SCRIPTS): would only be enabled
12278 * configure.in (NO_SCSI_CHANGER_MODE): chg-scsi does not support the
12279 new FreeBSD 3.0 chio.h, so disable it if camlib.h is found.
12280 * docs/SYSTEM.NOTES (FreeBSD 3.0): add a note about this
12281 (SunOS 4.x): libtool will no longer find incorrect library versions
12283 1998-10-30 John R. Jackson <jrj@purdue.edu>
12285 * common-src/security.c (bsd_security_ok): change error message to
12286 reflect that it is a host name we were looking up rather than an
12287 address (also makes the two similar messages unique).
12289 1998-10-28 Alexandre Oliva <oliva@dcc.unicamp.br>
12291 * docs/SYSTEM.NOTES: Debian 2's dump uses /var/lib/dumpdates
12293 1998-10-28 John R. Jackson <jrj@purdue.edu>
12295 * recover-src/set_commands.c (set_host): if the host given by the user
12296 does not work, try the canonical name and aliases returned by
12299 1998-10-28 John R. Jackson <jrj@purdue.edu>
12301 * configure.in: use "df /" instead of just "df" when trying to find
12302 the device that has the root file system to avoid things like NFS
12303 hangs that df sometimes suffers from.
12305 1998-10-27 Mike Grupenhoff <kashmir@munge.com>
12307 * common-src/stream.c (stream-client): add a 'localport' argument
12308 in which we can get the port this stream is bound to locally
12309 * common-src/stream.h (stream-client): update prototype
12310 * server-src/dumper.c: update stream-client calls
12312 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12314 * client-src/amandad.c (main): better logging of received packet,
12315 do not send a P_ACK when the received packet is not a P_REQ.
12317 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12319 * client-src/amandad.c (main): terminate immediately if started
12320 by a P_ACK packet without sending a P_NAK packet.
12322 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12324 * server-src/conffile.h (dtimeout): new keyword
12325 * server-src/conffile.c (dtimeout): ditto
12326 * server-src/dumper.c: use dtimeout instead of READ_TIMEOUT
12327 * example/amanda.conf.in: document it
12328 * man/amanda.8.in: ditto
12331 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12333 * server-src/dumper.c (sendbackup_response): a nak error will
12334 be a TRY-AGAIN instead of a FAILED.
12336 1998-10-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12338 * server-src/amlabel.c: move declaration of vtbl_no, datestr
12339 and slotcommand to the main function.
12341 1998-10-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12343 * server-src/amlabel.c: remove declaration of pname.
12345 1998-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12347 * server-src/amcheckdb.sh.in: modify to match new tapelist file
12348 format (keyword reuse and no-reuse). Probably no-one use this
12351 1998-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12353 * server-src/driver.c (handle_dumper_result): Add sleep time
12354 when a dumper failed, it could be a temporary network problem,
12355 such as NIS or NFS, better wait a few seconds before retrying.
12357 1998-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12359 * server-src/driverio.h: remove declaration of argc et argv.
12360 * server-src/driverio.h (getresult): add parameters result_argc,
12361 result_argv and max_arg.
12362 * server-src/driverio.c (getresult): use new parameters.
12363 * server-src/amflush.c (flush_holdingdisk, run_dumps): declare
12364 and use result_argc and result_argv instead of global variables
12366 * server-src/driver.c (main, handle_taper_result,
12367 handle_dumper_result, dump_to_tape): ditto
12369 1998-10-24 John R. Jackson <jrj@purdue.edu>
12371 * server-src/amstatus.pl.in: do not be quite so accurate in matching
12372 the log file lines since messages may be intermixed. Turn on perl
12373 -w switch and make first cut at cleaning up warnings.
12375 1998-10-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12377 * server-src/driverio.h: remove datestamp declaration.
12378 * server-src/amcheck.c: remove 'extern' to datestamp declaration.
12379 * server-src/amflush.c: declare datestamp.
12380 * server-src/amtape.c: remove 'extern' to datestamp declaration.
12381 * server-src/driver.c: declare datestamp.
12382 * server-src/dumper.c: remove 'extern' to datestamp declaration.
12383 * server-src/reporter.c: remove 'extern' to datestamp declaration.
12385 1998-10-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12387 * server-src/driverio.h: remove declaration of tok.
12388 * server-src/amflush.c (flush_holdingdisk,run_dumps): declare
12390 * server-src/driver.c (main, handle_taper_result, handle_dumper_result,
12391 dump_to_tape): declare tok locally.
12393 1998-10-23 John R. Jackson <jrj@purdue.edu>
12395 * configure.in: disable the -E and -h dump estimate checks if $DUMP
12398 1998-10-19 John R. Jackson <jrj@purdue.edu>
12400 * server-src/amindexd.c (is_config_valid): fix core dump by moving
12401 amfree of conf_dir later in case it is needed in an error message.
12403 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12405 * server-src/reporter.c: remove declaration of curlinenum,
12406 curlog, curprog and curstr.
12408 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12410 * server-src/amflush.c (main): move declaration of diskqp from
12413 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12415 * server-src/amcheck.c (main): move declaration of mailout and
12416 tempfname from global to local.
12418 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12420 * server-src/amadmin.c (search_logfile): remove declaration
12422 1998-10-15 Mike Grupenhoff <kashmir@munge.com>
12424 * server-src/amadmin.c (reuse, no-reuse): don't core dump if tape
12427 1998-10-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12429 * server-src/conffile.h: remove declaration of holdingdisks and
12430 num_holdingdisks, declare getconf_holdingdisks().
12431 * server-src/conffile.c: define getconf_holdingdisks(),
12432 * server-src/holding.c: use getconf_holdingdisks
12433 * server-src/find.c: ditto
12434 * server-src/amcheck.c: ditto
12435 * server-src/amflush.c: ditto
12436 * server-src/driver.c ditto
12438 1998-10-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12440 * server-src/driver.c: remove verbose and force_parameters
12443 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12445 * server-src/dumper.c: remove declaration of pid.
12446 * server-src/dumper.c(do_dump): move declaration of runtime,
12447 dumptime, compresspid, indexpid and killerr from global to local.
12449 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12451 * server-src/planner.c: remove declaration of total_waiting and
12453 * server-src/planner.c(main): move declaration of initial_size from
12456 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12458 * server-src/driverio.h,server-src/driver.c: move declaration
12459 of big_dumpers, degraded_mode and reserved_space from
12460 driverio.h to driver.c
12462 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12464 * server-src/driverio.h (optionstr): remove declaration
12466 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12468 * configure.in (SAMBA_CLIENT): fix typo
12470 1998-10-14 John R. Jackson <jrj@purdue.edu>
12472 * restore-src/amrestore.c (read_file_header): make a couple of error
12473 messages clearer that they refer to problems with a header rather
12474 than the image data.
12476 1998-10-13 Alexandre Oliva <oliva@dcc.unicamp.br>
12478 * client-src/Makefile.am (libamclient_a_SOURCES): missing since
12481 1998-10-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12483 * docs/INTERNALS (driver and dumper): document <dumpdate> in
12484 FILE-DUMP and PORT-DUMP request, document <chunksize> in
12487 1998-10-12 John R. Jackson <jrj@purdue.edu>
12489 * server-src/amtape.c (usage, main, show_device): apply patch from
12490 Chris Jones <cjones@clydesdale.math.montana.edu> to support "device"
12491 as an option to return the drive device name as reported by the
12493 * man/amtape.8: document the new "device" option.
12494 * server-src/amverify.sh.in: use the new amtape "device" option to
12495 better handle tape changers. Overhaul for general cleanup and some
12496 security issues, plus amverify now tries to support non-tar images.
12497 * man/amverify.8.in: document non-tar image issues.
12499 1998-10-08 John R. Jackson <jrj@purdue.edu>
12501 * example/amanda.conf.in: fix runspercycle example and comments
12503 1998-10-08 Alexandre Oliva <oliva@dcc.unicamp.br>
12505 * configure.in (SAMBA_CLIENT): try to find it by default; minimal
12507 * client-src/Makefile.am (WANT_SAMBA): use automake conditionals to
12509 * docs/SAMBA: document that --with-smbclient is no longer required
12510 to enable SAMBA support
12512 * docs/FAQ: about inconsistencies in active filesystems
12514 1998-10-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12516 * docs/DUMPER-API: add `no-record' option to the `backup' command.
12518 1998-10-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12520 * docs/DUMPER-API: subdivise section 3.1.
12522 1998-10-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12524 * docs/DUMPER-API: New `index-<mode>' options.
12525 define `support parse-estimate' and `support parse-backup' subcommand.
12526 New 'estimate-direct', `estimate-parse', `backup-direct' and
12527 `backup-parse' options.
12528 Remove PARSE keyword from estimate and backup command.
12530 1998-10-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12532 * docs/DUMPER-API: define PARSE keyword in stderr of the backup
12535 1998-10-03 Alexandre Oliva <oliva@dcc.unicamp.br>
12537 * man/Makefile.am (EXTRA_DIST): make sure the man-pages that are not
12538 generated by autoconf get into the distribution
12540 1998-10-02 Josef Karthauser <joe@pavilion.net>
12542 * changer-src/chg-chio.pl.in (getTapeParams): fix regular expression
12543 for $line; the trailing `s' of slots was missing
12545 1998-10-02 John R. Jackson <jrj@purdue.edu>
12547 * server-src/amstatus.pl.in: fix error message.
12549 1998-10-02 John R. Jackson <jrj@purdue.edu>
12551 * server-src/taper.c (write_file): fix a problem with tha taper
12552 stats where the times were all the same. The wallclock_str function
12553 returns a pointer to a static area so it cannot be called more
12554 than once as an argument to a function.
12556 1998-10-01 John R. Jackson <jrj@purdue.edu>
12558 * common-src/protocol.c (parse_integer): allow negative numbers.
12560 1998-10-01 John R. Jackson <jrj@purdue.edu>
12562 * server-src/amstatus.pl.in: add timestamps.
12564 1998-10-01 Alexandre Oliva <oliva@dcc.unicamp.br>
12566 * docs/DUMPER-API: define `support index', to be used instead of the
12567 previous `index-*' sub-commands
12569 1998-09-30 Alexandre Oliva <oliva@dcc.unicamp.br>
12571 * server-src/Makefile.am (libexec_PROGRAMS, sbin_SCRIPTS): don't use
12572 backslashes for continuation; this seems to break automake :-(
12574 1998-09-30 John R. Jackson <jrj@purdue.edu>
12576 * man/amanda.8.in: minor typo in "reserve" description.
12578 1998-09-29 John R. Jackson <jrj@purdue.edu>
12580 * server-src/taper.c (end_tape): do not rewind the tape when done.
12582 1998-09-29 Alexandre Oliva <oliva@dcc.unicamp.br>
12584 * configure.in (WANT_CLIENT, WANT_RESTORE, WANT_SERVER,
12585 WANT_RECOVER, WANT_TAPE, WANT_AMPLOT, WANT_CHG_SCSI): automake
12587 * amplot/Makefile.am: use them
12588 * changer-src/Makefile.am: ditto
12589 * client-src/Makefile.am: ditto
12590 * common-src/Makefile.am: ditto
12591 * man/Makefile.am: ditto
12592 * recover-src/Makefile.am: ditto
12593 * restore-src/Makefile.am: ditto
12594 * server-src/Makefile.am: ditto
12595 * tape-src/Makefile.am: ditto
12597 * Makefile.am: don't print commands that work around old aclocal bug
12599 * docs/DUMPER-API: remove environment variables, and mention a
12600 program that will help translating disklist entries to device names,
12601 mount points and filesystem types
12603 * recover-src/extract_list.c (extract_files_child): do not crash
12604 after failing to read the dump file header
12605 Reported by Jose Cheng <jcheng@math.ist.utl.pt>
12607 1998-09-28 Alexandre Oliva <oliva@dcc.unicamp.br>
12609 * server-src/taper.c (taperscan_slot): initialize scan_datestamp, to
12610 avoid amfree of uninitialized pointer
12611 Reported by Lance A. Brown <brown9@niehs.nih.gov>
12613 1998-09-27 Alexandre Oliva <oliva@dcc.unicamp.br>
12615 * docs/DUMPER-API (USER, GROUP): detailed security mechanisms
12616 (estimate, estimate-parse): can print `KILL' after the estimate
12618 * docs/DUMPER-API: various suggestions from Eric Siegerman
12619 <erics@now.com> and some explanations added
12621 1998-09-27 Andy Farkas <andyf@speednet.com.au>
12623 * man/amlabel.8.in (labelstr): fix typo
12625 1998-09-26 Alexandre Oliva <oliva@dcc.unicamp.br>
12627 * recover-src/extract_list.c (extract_files_child): fix-up
12628 no_initial_params if password or domain information is not found
12629 Reported by Jose Cheng <jcheng@math.ist.utl.pt>
12631 * docs/DUMPER-API: extended `index' to `index-from-output' or
12632 `index-from-image', as suggested by Dale Hagglund <rdh@best.com>.
12633 Explained that the dumptype option `program' is the name of the
12636 1998-09-25 John R. Jackson <jrj@purdue.edu>
12638 * configure.in: fix --with-dump-honor-nodump test. Patch by
12639 Jonas Oberg <jonas@coyote.org>.
12641 1998-09-24 John R. Jackson <jrj@purdue.edu>
12643 * example/disklist: document the "spindle" and "interface" fields.
12644 Reported by Brendan M Coffey <bcoffey@connix.com>.
12646 1998-09-24 Alexandre Oliva <oliva@dcc.unicamp.br>
12648 * docs/DUMPER-API: added draft description of the DUMPER API
12649 * Makefile.am (EXTRA_DIST): add it to the distribution
12651 * config/acinclude.m4 (AC_VALIDATE_CACHE_SYSTEM_TYPE): make sure
12652 cached values for host, build and target system types match with the
12654 * configure.in: use it
12656 1998-09-23 John R. Jackson <jrj@purdue.edu>
12658 * server-src/amstatus.pl.in: sort the host and partition names.
12659 From David Wolfskill <dhw@whistle.com>.
12661 1998-09-23 Alexandre Oliva <oliva@dcc.unicamp.br>
12663 * server-src/taper.c (getcmd): typo in last DEBUGging patch
12665 1998-09-22 Tim Perkins <Tim.Perkins@ddg.phar.cam.ac.uk>, Alexandre Oliva <oliva@dcc.unicamp.br>
12667 * client-src/selfcheck.c (check_disk): fix VDUMP auto-detection
12669 1998-09-22 Alexandre Oliva <oliva@dcc.unicamp.br>
12671 * changer-src/chg-mtx.sh.in: replace rew with rewind
12672 * changer-src/chg-zd-mtx.sh.in: ditto
12673 Reported by Henning Holtschneider <hh@loca.net>
12675 * client-src/sendsize.c: remove usage of #error
12676 Reported by Jay Orr <orr@vss.fsi.com>
12678 1998-09-21 John R. Jackson <jrj@purdue.edu>
12680 * man/amanda.8.in: document the new "tapebufs" parameter.
12682 1998-09-21 Kelly Setzer <setzer@telalink.net>
12684 * server-src/taper.c (NBUFS): replaced with conf_tapebufs
12685 (THRESHOLD): now means `empty bufs' instead of `full bufs'
12686 * server-src/conffile.c: add support for the "tapebufs" option
12687 * server-src/planner.c: ditto
12688 * examples/amanda.conf.in: add sample "tapebufs" entry
12690 * server-src/amlabel.c (main): adds entry to tapelist with date
12693 1998-09-20 Alexandre Oliva <oliva@dcc.unicamp.br>
12695 * server-src/taper.c (getcmd): print DEBUGging output to stderr
12696 Reported by Henning Holtschneider <hh@loca.net>
12698 1998-09-19 Eric Doutreleau <Eric.doutreleau@int-evry.fr>
12700 * server-src/driverio.h (MAX_DUMPERS): increased from 15 to 63 in
12701 order to launch more dumper in parallel
12702 * example/amanda.conf.in (inparallel): Add the fact that it is
12703 limited by MAX_DUMPERS
12705 1998-09-18 Alexandre Oliva <oliva@dcc.unicamp.br>
12707 * common-src/Makefile.am (libamanda_la_LDFLAGS): use libtool
12708 -release instead of -version_info, so as to encode the Amanda
12709 release number in the library name. Problems related with
12710 pre-installed libraries should disappear, and separate releases can
12711 now be installed into the same directory without the risk of one
12712 using libraries from the other.
12714 1998-09-18 Michael C. Povel <Michael.Povel@hub.de>
12716 * changer-src/chg-scsi.c (wait_ready): new function; keeps retrying
12717 until success or timeout
12718 (ask_clean, main): use it
12720 1998-09-18 Alexandre Oliva <oliva@dcc.unicamp.br>
12722 * client-src/selfcheck.c (check_options): don't require runtar for
12725 * client-src/rundump.c: fix support for VDUMP-only installation
12726 * client-src/selfcheck.c (check_options): fix detection of advfs
12727 * client-src/sendsize.c (getsize_dump): ditto
12728 * client-src/sendbackup-dump.c (start_backup): ditto
12729 Reported by Tim Perkins <Tim.Perkins@ddg.phar.cam.ac.uk>
12731 1998-09-16 John R. Jackson <jrj@purdue.edu>
12733 * man/amadmin.8.in: document that "hostname" is optional for "info".
12734 Reported by David Wolfskill <dhw@whistle.com>.
12736 1998-09-15 Alexandre Oliva <oliva@dcc.unicamp.br>
12738 * docs/FAQ: common compile-time and link-time errors
12740 1998-09-11 John R. Jackson <jrj@purdue.edu>
12742 * server-src/tapefile.c (lookup_last_reusable_tape): use new
12743 calling sequence that passes how old a tape to return. Remove
12744 lookup_previous_reusable_tape().
12745 * server-src/tapefile.h (lookup_last_reusable_tape): use new
12746 calling sequence that passes how old a tape to return. Remove
12747 lookup_previous_reusable_tape().
12748 * server-src/amadmin.c (tape): use new lookup_last_reusable_tape
12750 * server-src/amcheck.c (taper_scan, start_server_check): use new
12751 lookup_last_reusable_tape calling sequence.
12752 * server-src/amflush.c (confirm): use new lookup_last_reusable_tape
12754 * server-src/amtape.c (taper_scan): use new lookup_last_reusable_tape
12756 * server-src/reporter.c (output_tapeinfo): use new
12757 lookup_last_reusable_tape calling sequence.
12758 * server-src/taper.c (taper_scan): use new lookup_last_reusable_tape
12761 1998-09-11 Alexandre Oliva <oliva@dcc.unicamp.br>
12763 * client-src/sendbackup-gnutar.c (re_table): ignore
12764 `load_client_codepage' message from SAMBA
12766 1998-09-11 John R. Jackson <jrj@purdue.edu>
12768 * server-src/amstatus.pl.in (all): fix USE_VERSION_SUFFIXES=yes
12769 problems. Reported by David Eckelkamp <davide@locutus.tradewave.com>.
12771 * man/amstatus.8.in (all): fix minor typos.
12773 1998-09-10 John R. Jackson <jrj@purdue.edu>
12775 * configure.in (LFS): add code that might support configuring large
12778 1998-09-10 Alexandre Oliva <oliva@dcc.unicamp.br>
12780 * server-src/conffile.c (dump_configuration): runspercycle is not a
12781 member of dumptype_t
12782 (init_holdingdisk_defaults): init chunksize with documented default,
12783 not -1, because it wouldn't be recalculated
12785 * docs/INSTALL: URL for SAMBA was broken; note about 1.9.18p10 bug
12787 1998-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12789 * docs/SAMBA: 1.9.18p10 has a bug
12791 1998-09-09 Terje Malmedal <tm@funcom.com>
12793 * common-src/stream.c (stream_server, stream_client): added
12794 SO_KEEPALIVE option so we get an error if the other side crashes
12796 1998-09-09 Alexandre Oliva <oliva@dcc.unicamp.br>
12798 * configure.in (CHIO): look for chio and AC_SUBST it
12799 (MT, CHS): if not found, use just the program name
12801 1998-09-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12803 * server-src/planner.c (last_level): return the last level
12804 even it is still on holding disk if reserve < 100.
12806 1998-09-09 Alexandre Oliva <oliva@dcc.unicamp.br>
12808 * server-src/reporter.c (divzero, divzero_wide): print `#'s on
12811 * server-src/amtape.c (show_init): no longer print `scanning'
12813 (show_init_show, current_init_all): call show_init, then print the
12814 appropriate `scanning' message
12815 Reported by David Wolfskill <dhw@whistle.com>
12817 * changer-src/chg-scsi.c (main): use new multi-configuration
12818 mechanism only if tape_device contains only a single digit
12820 1998-09-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12822 * server-src/planner.c (setup_estimate): Don't write a
12823 "mismatch: no tapelist record, but curinfo next_level0" message
12824 and force a level 0 when reserve < 100.
12826 1998-09-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12828 * server-src/holding.h (get_amanda_names): return a filetype_t
12830 * server-src/holding.c (get_amanda_names): return the filetype_t
12831 of the file or F_UNKNOWN if it's not an amanda file.
12832 * server-src/find.c (search_holding_disk): Use the new return
12833 type of get_amanda_names.
12834 * server-src/amflush.c (flush_holdingdisk): Don't write a
12835 "ignoring cruft file" message for chunk files,
12836 filetype is F_CONT_DUMPFILE.
12838 1998-09-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12840 * recover-src/extract_list.c (extract_files_child): don't write
12841 the samba password to the debug file.
12843 1998-09-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12845 * server-src/driverio.c (update_info_dumper): set inf.command to
12846 NO_COMMAND if reserve< 100 because if you force a level 0 with
12847 'amadmin force', it will do level 0 every days until you flush them
12850 1998-09-03 Matthias Urlichs <smurf@noris.net>
12852 * recover-src/uscan.l: recognize "?" as alias for "help"
12854 * configure.in (MAILER): recognize "mail" as well as "Mail" and
12857 * client-src/calcsize.c (add_file_dump, add_file_unknown): only get
12858 sizes of directories and files
12860 * client-src/amandates.c (start_amandates): create amandates if
12861 error is either EINTR or ENOENT
12863 * common-src/dgram.c (dgram_send_addr): handle ECONNREFUSED by not
12864 dying when receiving, and retrying when sending, a packet. The
12865 server may get this error when a client reboots and hasn't started
12867 * common-src/protocol.c (handle_incoming_packet): ditto
12869 * server-src/driver.c (read_schedule): catch cases when the time
12870 goes negative. Some operators have the bad habit of syncing clocks
12873 * common-src/dgram.h (MAX_DGRAM): increased to 64Kb
12875 * client-src/amandad.c (main): read the pipe from the child
12876 incrementally: the pipe buffer of many OSes is shorter than
12877 MAX_DGRAM. Instead of SIGCHLD, note end-of-data by way of
12879 (sigchild_jump, sigchild_flag): removed
12880 * client-src/sendbackup.c (main): instead of fork-and-exit, tell
12881 amandad to process our data by closing our end of the pipe
12883 1998-09-03 Alexandre Oliva <oliva@dcc.unicamp.br>
12885 * NEWS: another typo (too late :-(
12887 1998-09-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12889 * server-src/driver.c: amanda will not use an holding disk
12890 if the directory with the datestamp already exist.
12892 1998-09-03 Alexandre Oliva <oliva@dcc.unicamp.br>
12894 * Amanda 2.4.1 released
12896 1998-08-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12900 1998-08-27 Alexandre Oliva <oliva@dcc.unicamp.br>
12902 * docs/INSTALL: update some version numbers; SAMBA 1.9.18p10 has
12903 fixed the bug in p8; using p8 is not recommended any more
12904 * docs/SAMBA: ditto
12906 * config/config.guess: updated to libtool 1.2b's, in order to
12907 auto-detect some recent architectures
12908 * config/config.sub: ditto
12910 * server-src/amcleanup.sh.in (sbindir): amreport now lives in
12911 sbindir; added it to PATH and removed full pathnames to binaries
12913 1998-08-27 Blair Zajac <blair@gps.caltech.edu>
12915 * configure.in: Add the directory /usr/lib/fs/vxfs to the search
12916 path where configure looks for vxdump and vxrestore. This is for
12917 Solaris so it can automatically handle vxfs filesystems.
12918 * client-src/sendbackup-dump.c: add missing last NULL argument to
12920 * server-src/dumper.c: add missing last NULL argument to
12922 * NEWS: reorder 2.4.1 items into most to least important for most
12924 * config/acconfig.h: update comment for VXDUMP and VXRESTORE to
12925 include systems where the Veritas filesystem is used.
12927 1998-08-21 Alexandre Oliva <oliva@dcc.unicamp.br>
12929 * man/amanda.8.in (nofull): only level 1 incrementals
12931 1998-08-20 Alexandre Oliva <oliva@dcc.unicamp.br>
12933 * changer-src/chg-mtx.sh.in (PATH): added /usr/local/bin
12935 * configure.in (BUILD_CHANGER_SCRIPTS_LIBEXEC): added chg-zd-mtx
12937 * changer-src/Makefile.am (EXTRA_SCRIPTS): ditto
12938 * docs/TAPE.CHANGERS (chg-zd-mtx): documented it
12939 (chg-mtx): mentioned chg-zd-mtx
12941 1998-08-20 Eric Doutreleau <Eric.Doutreleau@int-evry.fr>
12943 * changer-src/chg-zd-mtx.sh.in: new changer script for
12944 Zubkoff/Dandelion version of mtx.
12946 1998-08-19 Alexandre Oliva <oliva@dcc.unicamp.br>
12948 * docs/SAMBA: updated; documented new patch (sambatar.diff,
12949 available in the patches page) and requirements about backup user.
12950 * docs/INSTALL: documented new patch
12952 1998-08-18 Alexandre Oliva <oliva@dcc.unicamp.br>
12954 * client-src/sendsize.c (regex_s): refuse to compile if SAMBA_CLIENT
12955 and HAVE_DUMP_ESTIMATE are both defined: the regexp that matches the
12956 estimate from DU 4.0's dump also matches an output line from
12957 smbclient, that provides an incorrect estimate.
12958 * docs/SYSTEM.NOTES: document the problem
12960 1998-08-14 John R. Jackson <jrj@purdue.edu>
12962 * docs/TAPE.CHANGERS: describe "advance" and clean up some spelling.
12964 1998-08-13 Alexandre Oliva <oliva@dcc.unicamp.br>, Marcel Hild <hild@id-pro.de>
12966 * configure.in (--with-portrange): validate and define PORTRANGE
12967 * example/config.site: document it
12968 * config/acconfig.h (PORTRANGE): prepare for configure define
12969 * common-src/stream.c (stream_server): use PORTRANGE to limit TCP
12970 unreserved server sockets
12972 1998-08-12 Alexandre Oliva <oliva@dcc.unicamp.br>
12974 * docs/FAQ: working around `dumps way too big'
12976 1998-08-11 Alexandre Oliva <oliva@dcc.unicamp.br>, Gunnar Gunnarsson <gunnar@ki.ericsson.se>
12978 * common-src/token.h (rxquote, shquote): new functions
12979 * common-src/token.c (rxquote) quotes a string into an equivalent
12981 (shquote): quotes all shell special meta-characters, so that a
12982 string can be safely passed down for shell interpretation in
12983 system() or popen()-like calls
12984 * server-src/amindexd.c (build_disk_table): quote the disk_name with
12985 both rxquote and shquote
12987 1998-08-11 John R. Jackson <jrj@purdue.edu>
12989 * changer-src/chg-manual.sh.in: put the debug file in DEBUG_DIR for
12990 security. Clean up and enhance logging. Fix locations of the
12991 changer files. Source the changerfile into the script so it can
12992 override the request() function and allow alternatives to /dev/tty
12993 (e.g. E-mail, syslog). Issue rewind before status (Solaris does
12994 not give a good status report right after a tape is loaded).
12996 1998-08-10 Nick Hibma <nick.hibma@jrc.it>
12998 * changer-src/chg-chio.pl.in: move to first slot if last is unused
13000 1998-08-07 Alexandre Oliva <oliva@dcc.unicamp.br>
13002 * example/Makefile.am (EXTRA_DIST): add DIN-A4.ps
13004 1998-08-07 Günter Felkel <G.Felkel@edelmann.de>
13006 * example/DIN-A4.ps: new file
13008 1998-08-06 Alexandre Oliva <oliva@dcc.unicamp.br>
13010 * tape-src/tapetype.c (initrandombytes): use random() instead of
13011 rand(), its low-order bits are more random
13012 (main): call srandom(seed) instead of srand(seed)
13013 (USE_RAND): if defined, reverts to using rand() and srand(seed)
13015 * docs/FAQ: some notes about driving real tape changers
13017 1998-08-05 Alexandre Oliva <oliva@dcc.unicamp.br>
13019 * man/amreport.8.in (SYNOPSIS): replace `amtoc' with `amreport'
13021 1998-08-04 Alexandre Oliva <oliva@dcc.unicamp.br>
13023 * client-src/sendsize.c: revert 1998-08-01's change, it wouldn't
13024 even compile, as amfree() expands to a statement, not an expression,
13025 so it cannot be used as the `increment' part of a for loop.
13027 * server-src/planner.c (main): if runs_per_cycle is set to zero or
13028 negative, set it to 1, in order to avoid division by zero.
13029 * server-src/amadmin.c (balance): ditto
13031 1998-08-01 Alexandre Oliva <oliva@dcc.unicamp.br>
13033 * client-src/sendsize.c: replace free(line) with amfree(line),
13034 because line is not ensured to be non-NULL
13036 * docs/FAQ: amandad: error receiving message
13038 * docs/FAQ: difference between skip-full and strategy nofull
13040 1998-07-31 Alexandre Oliva <oliva@dcc.unicamp.br>
13042 * docs/FAQ: software or hardware compression?
13044 * server-src/driver.c (adjust_diskspace): do not abort just because
13045 a holding disk file is missing
13046 (main): report warning if holding disk directory could not be
13047 created, and do not use it
13048 Reported by Albrecht Gebhardt <agebhard@zidsrv.sci.uni-klu.ac.at>
13050 * example/Makefile.am (EXTRA_DIST): add 8.5x11.ps to the
13052 Reported by Jason L Tibbitts III <tibbs@hpc.uh.edu>
13054 * server-src/conffile.c (get_holdingdisk): define chunksize 0 as
13055 INT_MAX/1024, and chunksize -1 as -INT_MAX/1024
13056 * server-src/driver.c (find_diskspace): accept negative chunksizes
13057 as the maximum size (in modulus) for using the holding disk
13058 * man/amanda.8.in (chunksize): document the usage of negative
13059 values, and improve the explanation of chunking
13060 * example/amanda.conf.in: ditto
13062 1998-07-29 Alexandre Oliva <oliva@dcc.unicamp.br>
13064 * docs/FAQ: disk offline
13066 1998-07-27 Alexandre Oliva <oliva@dcc.unicamp.br>
13068 * restore-src/amidxtaped.c (main): use tape_rewind() instead of
13071 * server-src/amcleanup.sh.in (reporter): update to call amreport.
13072 (amdump.<n>) update to use the same renaming technique introduced in
13073 June 30's change to amdump.
13075 1998-07-25 Michael Graff <explorer@vix.com>
13077 * changer-src/Makefile.am (install-exec-hook): support $(DESTDIR)
13078 * client-src/Makefile.am (install-exec-hook): ditto
13079 * man/Makefile.am (install-data-hook): ditto
13080 * recover-src/Makefile.am (install-exec-hook): ditto
13081 * restore-src/Makefile.am (install-exec-hook): ditto
13082 * server-src/Makefile.am (install-exec-hook): ditto
13084 * configure.in: link krb5 and com_err in for Kerberos support, if
13087 1998-07-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13089 * server-src/reporter.c (copy_template_file): add braces to
13091 * tape-src/tapeio.h: declare is_zftape to remove warning in
13092 amlabel.c and taper.c
13094 1998-07-23 Alexandre Oliva <oliva@dcc.unicamp.br>
13096 * server-src/driver.c (any_delayed_disk): new variable, to ensure
13097 that we do not leave the main driver loop if there are delayed disks
13098 but there are no active dumpers
13099 (main): instead of checking whether idle_reason is IDLE_START_WAIT,
13100 check whether there is any_delayed_disk for remaining in the loop
13101 (start_degraded_mode): set any_delayed_disk when needed
13102 Reported by Peter Walker <peter@talarian.com>
13104 1998-07-23 John R. Jackson <jrj@purdue.edu>
13106 * server-src/reporter.c (main): handle LPRCMD being undefined.
13108 1998-07-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13110 * client-src/selfcheck.c (check_suid): new function to check if a
13111 program is SUID root.
13112 * client-src/selfcheck.c (check_overall): check that runtar and
13113 rundump are SUID root.
13115 1998-07-22 Alexandre Oliva <oliva@dcc.unicamp.br>
13117 * configure.in: version number set to 2.4.1
13119 * recover-src/Makefile.am (LDADD): libamtape imports symbols from
13120 libamanda, so it must be listed first
13122 * changer-src/Makefile.am (LDADD): remove duplication of libamserver
13123 and libamanda, as they no longer provide symbols for each other
13124 * server-src/Makefile.am (LDADD): ditto
13126 1998-07-21 Blair Zajac <blair@gps.caltech.edu>
13128 * server-src/amrmtape.sh.in: now use amanda.conf's tapelist variable
13129 * server-src/amcheckdb.sh.in: now use amanda.conf's tapelist variable
13130 * server-src/amfreetapes.sh.in: now use amanda.conf's tapelist variable
13131 * server-src/amtoc.pl.in: now use amanda.conf's tapelist variable,
13132 make perl4 compatible
13134 1998-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
13136 * docs/FAQ (results missing): suggestions to work around the UDP
13139 1998-07-16 Alexandre Oliva <oliva@dcc.unicamp.br>
13141 * docs/FAQ (amrecover): a config name may have to be specified
13142 Reported by digital messiah <dmessiah@silcon.com>
13144 1998-07-15 Blair Zajac <blair@gps.caltech.edu>
13146 * server-src/reporter.c (main): declare optind
13148 1998-07-15 Alexandre Oliva <oliva@dcc.unicamp.br>
13150 * configure.in: created Amanda 2.4.1 branch
13152 * example/amanda.conf.in: strategy noinc is not implemented yet
13154 1998-07-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13156 * NEWS: new runspercycle keyword
13157 * server-src/conffile.h: new runspercycle keyword
13158 * server-src/conffile.c: new runspercycle keyword
13159 * server-src/amadmin.c (balance): new runspercycle keyword
13160 * server-src/planner.c (main): new runspercycle keyword
13161 * man/amanda.8.in: document new runspercycle keyword
13162 * example/amanda.conf.in: example for new runspercycle keyword
13164 1998-07-13 Alexandre Oliva <oliva@dcc.unicamp.br>
13166 * docs/FAQ: What to do if DUMP program is not available.
13167 * client-src/selfcheck.c (check_overall): if a needed program is
13168 missing, print an error message.
13169 Reported by Klaus Hoffmann <handatalog@csi.com>
13171 * */Makefile.am: checked library version numbers, no need for update
13173 * configure.in: version number set to 2.4.1b1
13175 1998-07-11 Alexandre Oliva <oliva@dcc.unicamp.br>
13177 * docs/FAQ: new entries: how to label tapes, (not) spanning large
13178 filesystems across tapes, how to enable index generation,
13179 overwriting selected tapes, cleaning up databases, selecting tape
13182 1998-07-10 Alexandre Oliva <oliva@dcc.unicamp.br>
13184 * man/Makefile.am (EXTRA_DIST): amreport.8 is built from .8.in
13186 * configure.in (AC_OUTPUT): generate chg-chio.pl
13187 * changer-src/Makefile.am (EXTRA_DIST): removed chg-chio.c
13188 * changer-src/chg-chio.c: removed, as it was confusing make
13190 1998-07-10 Nick Hibma <nick.hibma@jrc.it>, Alexandre Oliva <oliva@dcc.unicamp.br>
13192 * changer-src/chg-chio.pl.in: new script, created to replace old
13193 chg-chio written in C
13194 * docs/TAPE.CHANGERS (chg-chio): document it
13195 * changer-src/Makefile.am (EXTRA_SCRIPTS): add chg-chio
13196 (EXTRA_DIST): still include chg-chio.c, just in case it is useful
13197 * configure.in (BUILD_CHANGER_SCRIPTS_LIBEXEC): add chg-chio
13199 1998-07-08 Alexandre Oliva <oliva@dcc.unicamp.br>
13201 * server-src/reporter.c (main): if no arguments are given, preserve
13202 original behavior; require config name otherwise. Perform better
13204 * example/DLT.ps (DrawHost): discard additional argument introduced
13205 in Steven Freed's modification
13206 * example/EXB-8500.ps (DrawHost): ditto
13207 * example/HP-DAT.ps (DrawHost): ditto
13209 * server-src/Makefile.am (amreport_SOURCES): build from reporter.c
13210 (driver_SOURCES) removed, no longer needed
13211 * man/Makefile.am (EXTRA_DIST): added amreport.8
13213 1998-07-08 Steven Freed <sfreed@gilasoft.com>
13215 * server-src/reporter.c (usage): new function
13216 (main): accept command-line arguments for selecting config name,
13217 output file, log file name to read from, postscript file to write
13219 (output_summary): print tape labels list, tape section numbers and
13221 * server-src/amdump.sh.in: run amreport
13222 * server-src/amflush.c (main): ditto
13224 * configure.in (BUILD_SERVER_PROGS_SBIN): add amreport
13225 (BUILD_SERVER_PROGS_LIBEXEC): remove reporter
13226 * man/amreport.8.in: new file
13227 * man/Makefile.am (man_MANS): added amreport.8
13228 * example/8.5x11.ps: new file
13230 1998-07-08 Alexandre Oliva <oliva@dcc.unicamp.br>
13232 * Makefile.am (ACLOCAL_M4): fix ||/&& precedence problem
13234 1998-07-07 John R. Jackson <jrj@purdue.edu>
13236 * changer-src/scsi-chio.c: move #include's so this will compile on
13237 systems without <sys/mtio.h> (e.g. AIX).
13239 1998-07-06 John R. Jackson <jrj@purdue.edu>
13241 * client-src/sendsize.c (handle_dumpline): allow the dump block
13242 count estimate to be negative. Found by Lance A. Brown
13243 <brown9@niehs.nih.gov> on NeXT.
13245 * common-src/Makefile.am, common-src/security.c: add TEST code to
13246 security.c so people can do "make security" and have a test program
13247 to track down why they are getting "access as XXX not allowed from
13250 * common-src/security.c (bsd_security_ok): allow the remote user
13251 field in .amandahosts to be empty ala .rhosts.
13253 1998-07-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13255 * server-src/amcheck.c (start_server_check): report space use for
13256 holding disk if a negative value is given in the use parameter.
13258 * server-src/driver.c (main): compute holding disk space if
13259 a negative value is given in the use parameter..
13261 * man/amanda.8.in (use) : document negative use paramater for
13264 * example/amanda.conf.in (use): document negative use paramater for
13267 1998-07-04 Alexandre Oliva <oliva@dcc.unicamp.br>
13269 * man/amanda.8.in (reserve): document it
13270 * example/amanda.conf.in (reserve, gigabytes): ditto
13271 (etimeout) negative number stands for total estimate time
13273 * NEWS: documented major changes since amanda 2.3.0.4
13275 * docs/INSTALL: refer to patch-system for editing services and
13278 * docs/FAQ: added entries for common amdump and amcheck errors
13280 * COPYRIGHT: updated to 1998, refer to Amanda Development Team
13281 * AUTHORS: who is the Amanda Development Team
13283 1998-07-03 John R. Jackson <jrj@purdue.edu>
13285 * docs/SYSTEM.NOTES: add comment about using the variable device name
13286 on IRIX. Otherwise, IRIX will write 4KByte physical blocks, which
13287 it appears to read OK, but not if you take the tape to some other
13288 system that does what you tell it. Discovered by Steve E. Khoo
13289 (steve@gordian.com).
13291 1998-07-02 Alexandre Oliva <oliva@dcc.unicamp.br>
13293 * server-src/planner.c (setup_estimate): handle new disks with
13294 skip-full correctly.
13296 * Makefile.am (aclocal.m4): must depend on libtool.m4, so as to
13297 force it to be newer on distributions.
13299 1998-07-01 John R. Jackson <jrj@purdue.edu>
13301 * server-src/driverio.h: change reserved_space to unsigned long to
13302 match free_space() and avoid a compiler warning.
13304 1998-06-30 John R. Jackson <jrj@purdue.edu>
13306 * man/amanda.8.in: fix amrecover synopsis and add a short description.
13307 Noted by Brendan M Coffey <bcoffey@connix.com>.
13309 * example/amanda.conf.in: make tapecycle example fit dumpcycle value
13310 better. Noted by Tom.Croll@radisys.com and suggested comments from
13311 Alexandre Oliva <oliva@dcc.unicamp.br>.
13313 1998-06-30 Alexandre Oliva <oliva@dcc.unicamp.br>
13315 * server-src/amdump.sh.in (maxdays): set up with tapecycle+2
13316 (days): loops from 1 to $maxdays, but stops if amdump.$days does not
13317 exist, so that we only rename amdump log files that exist. This
13318 prevents too long loops in case of an infinite tapecycle.
13319 Reported by Nick Hibma <nick.hibma@jrc.it>
13321 1998-06-28 Alexandre Oliva <oliva@dcc.unicamp.br>
13323 * common-src/security.c (bsd_security_ok): accept case mismatches
13324 when comparing hostnames and usernames from amandahosts, and assume
13325 localuser if username is missing.
13326 * docs/INSTALL: clarify BSD security and amandahosts, WRT to
13328 Reported by Chris Shenton <chris@absinthe.shenton.org>
13330 * server-src/reporter.c (output_tapeinfo): degraded mode no longer
13331 implies incremental dumps only.
13332 Reported by Randy Dees <rrd@amherst.com>
13334 1998-06-26 John R. Jackson <jrj@purdue.edu>
13336 * configure.in: fix BSD/OS Kerberos include file location.
13338 1998-06-26 Alexandre Oliva <oliva@dcc.unicamp.br>
13340 * config/ltmain.sh: install official patch to libtool 1.2a
13342 * configure.in: do not set max file size for Solaris 2.6, it is no
13345 1998-06-26 Tim McNerney <mumbly@netcom.com>
13347 * common-src/fileheader.c (parse_file_header): accept missing
13348 PROGRAM in tape section header, for backward compatibility.
13350 1998-06-25 Blair Zajac <blair@gps.caltech.edu>
13352 * server-src/amflush.c: fix mismatch arguments to error()
13354 1998-06-24 Steven Freed <sfreed@gilasoft.com>
13356 * configure.in (dump-honor-nodump): fix test for `-h' support
13358 1998-06-24 Scott Mesches <mesches@allison.Colorado.EDU>
13360 * example/DLT.ps: new file
13361 * example/Makefile.am (EXTRA_DIST): add DLT.ps
13363 1998-06-24 Alexandre Oliva <oliva@dcc.unicamp.br>
13365 * Makefile.am (EXTRA_DIST): moved CHANGES into ChangeLog
13367 * recover-src/extract_list.c (extract_files_child): handle
13368 IS_UNKNOWN dumptype as IS_DUMP
13370 * client-src/sendsize.c (getsize_dump): always create pipe for
13373 * client-src/amandad.c (sendnak): report `UNKNOWN' error if str is
13376 * amplot/amplot.awk: ignore `interface-state'
13377 Reported by Peter Walker <peter.walker@talarian.com>
13379 1998-06-24 Alexandre Oliva <oliva@dcc.unicamp.br>
13381 * server-src/amrmtape.sh.in: enable verbose by default; implement -q
13383 * man/amrmtape.8.in: ditto
13384 Suggested by Nick Hibma <nick.hibma@jrc.it>
13386 1998-06-24 Nick Hibma <nick.hibma@jrc.it>
13388 * server-src/amrmtape.sh.in: better error reporting for incorrect
13391 1998-06-24 Dan Swartzendruber <dswartz@druber.com>
13393 * server-src/conffile.h (RESERVE): new keyword.
13394 * server-src/conffile.c (RESERVE): ditto.
13395 (getconf_seen): recognize "reserve" keyword.
13396 (getconf_int): return value of "reserve" keyword.
13397 (read_confline): parse "reserve" line.
13398 * server-src/driverio.h (reserved_space): new global
13399 * server-src/driver.c (main): compute holding disk space to reserve
13400 for degraded dumps.
13401 (start_degraded_mode): if we haven't hit degraded mode reservation
13402 limit, allow full dump.
13404 1998-06-18 Blair Zajac <blair@gps.caltech.edu>
13406 * config/ltconfig: update to 1.2a
13407 * config/ltmain.sh: update to 1.2a
13408 * config/libtool/libtool.m4: update to 1.2a
13410 1998-06-17 John R. Jackson <jrj@purdue.edu>
13412 * server-src/dumper.c (write_tapeheader): comment out some variables
13413 to get rid of a compiler warning.
13415 1998-06-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13417 * server-src/amadmin.c (bumpsize): write wrong equation for bump
13420 1998-06-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13422 * man/amanda.8.in: add info about the chunksize parameter
13423 of the holdingdisk.
13424 * man/amanda.8.in: add info about amstatus command
13426 1998-06-13 Alexandre Oliva <oliva@dcc.unicamp.br>
13428 * common-src/Makefile.am (libamanda_version): updated
13429 * tape-src/Makefile.am (libtape_version): updated
13430 * client-src/Makefile.am (libclient_version): updated
13431 * server-src/Makefile.am (libserver_version): updated
13433 * server-src/taper.c (read_file): if switching to the next file
13434 fails or there's no next file, do not send a `W' to taper writer.
13436 * server-src/changer.h (changer_clean): new function
13437 * server-src/changer.c (changer_clean): ditto
13439 1998-06-13 Michael C. Povel <mcp@ladyada.han.de>
13441 * changer-src/chg-scsi.c: added ejetct_tape and sleep for external
13442 tape devices, and changed some code to allow multiple drives to use
13443 their own slots. Also added support for reserverd slots.
13444 * changer-src/libscsi.h (get_clean_state, eject_tape): new functions
13445 * changer-src/scsi-chio.c (get_clean_state, eject_tape): implemented
13447 * changer-src/scsi-hpux.c (get_clean_state, eject_tape): do nothing,
13448 until someone implements them
13449 * changer-src/scsi-proto.c (get_clean_state, eject_tape): new
13451 * docs/TAPE.CHANGERS: document new configuration file format
13452 * example/chg-scsi.conf: sample configuration file
13453 * example/Makefile.am: add chg-scsi.conf to the distribution
13454 * server-src/amtape.c: add support for `clean' command
13456 1998-06-13 Alexandre Oliva <oliva@dcc.unicamp.br>
13458 * docs/SYSTEM.NOTES: clean-up
13460 * docs/FAQ: new file
13461 * docs/SUNOS4.BUG: removed
13462 * Makefile.am: remove docs/SUNOS4.BUG and add docs/FAQ
13464 * example/amanda.conf.in (bumpmult): fixed equation for threshold
13465 * man/amanda.8.in (bumpsize): fix threshold example.
13466 problem reported by Brian McEntire <brianm@fsg1.nws.noaa.gov>
13468 * server-src/logfile.c (open_log): open log file with mode 0600.
13470 * server-src/amdump.sh.in: refuse to run if either amdump or log
13472 * server-src/amflush.c (main): refuse to run if log exists.
13473 * server-src/amcheck.c (start_server_check): do not perform tape
13474 testing if amdump and/or log exist in logdir.
13476 1998-06-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13478 * restore-src/amrestore.c (restore): fixed -p flag (and amrecover)
13479 should not dup2( A, B ); aclose(A) when A == B
13481 1998-06-10 Alexandre Oliva <oliva@dcc.unicamp.br>
13483 * client-src/sendsize.c (getsize_dump): use killpgrp
13484 unconditionally, so we're not bitten by setuid dump programs.
13485 * client-src/killpgrp.c: enable unconditionally.
13487 * tape-src/tapetype.c: new program: calculates tapetype parameters.
13488 * tape-src/Makefile.am (EXTRA_PROGRAMS): added tapetype.
13489 * example/amanda.conf.in: point to tapetype program.
13491 1998-06-09 Alexandre Oliva <oliva@dcc.unicamp.br>
13493 * docs/SAMBA: added notes about (not) backing up registry files and
13495 * docs/INSTALL: point to docs/SAMBA for usage and limitations
13497 1998-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
13499 * configure.in (amanda_cv_print_command): removed; using PRINT
13502 1998-06-07 Todd Kover <kovert@omniscient.com>
13504 * add --with-owner option to allow installed binaries to be owned
13505 by someone other than the amanda user
13507 * add GB as valid holding disk size.
13509 1998-06-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13511 * server-src/amadmin.c (info): don't need to specify an host.
13513 * server-src/amadmin.c (due): new due command to write when a
13514 filesystem is due ffor next level 0 or how much days it is
13517 * server-src/amstatus.pl.in (dump_size): new function to report
13518 the size of a dump split on multiple files.
13520 1998-06-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13522 * recover-src/extract_list.c (read_buffer): write a message
13523 when amrecover timeout waiting for amrestore to send the dump.
13525 1998-06-04 John R. Jackson <jrj@purdue.edu>
13527 * client-src/getfsent.c (main): use a dynamically allocated string
13528 for the lookups since dev2rdev alters it on the fly and some systems
13529 drop core for trying to write into read only memory. Also add the
13530 capability of passing additional lookups on the command line.
13532 * common-src/Makefile.am, common-src/file.c (main),
13533 common-src/token.c (main), server-src/conffile.c (dump_configuration,
13534 main), server-src/diskfile.c (main), server-src/infofile.c (main):
13535 Clean up compiler warnings in the test programs and make them all
13538 1998-06-03 Alexandre Oliva <oliva@dcc.unicamp.br>
13540 * amplot/amplot.sh.in: modified command line argument parsing
13541 mechanism, so as to prevent shell quoting problems and unportable
13543 Reported by Chris Jones <cjones@clydesdale.math.montana.edu>
13545 1998-06-02 John R. Jackson <jrj@purdue.edu>
13547 * server-src/amcheck.c (main), server-src/reporter.c (main): make
13548 sure internal errors, such as the mail command failing, get
13549 reported. In the case of amcheck, they go to stderr even if -m is
13550 set since there didn't seem to be anyplace better to do so and if
13551 this is running from a cron job it might get back to a real user.
13552 For reporter, the errors go to .../amdump along with everything
13553 else from the amdump script, and they should also go to .../log,
13554 except since it's reporter that's having the trouble, they probably
13555 will not make it into the mail report.
13557 1998-06-01 John R. Jackson <jrj@purdue.edu>
13559 * client-src/killpgrp.c: clean up minor compiler warnings by not
13560 building term_kill_{soft,hard} unless they are needed.
13562 * server-src/driverio.c (dumper_cmd): clean up compiler warning
13563 in printf format by forcing argument to always be long and using %ld.
13565 * server-src/driver.c: include <holding.h> to get declaration for
13566 unlink_holding_files and avoid a compiler warning.
13568 * common-src/amanda.h, common-src/match.c (validate_glob, match_glob,
13569 glob_to_regex), recover-src/amrecover.h, recover-src/extract_list.c
13570 (add_glob, add_regex, add_file, delete_glob, delete_regex,
13571 delete_file), recover-src/help.c (help_list), recover-src/uparse.y,
13572 recover-src/uscan.l, man/amrecover.8.in: add shell wildcard support
13573 for the add/delete amrecover commands. Add addx/deletex commands
13574 that use regular expressions. Support more characters in path names.
13576 1998-06-01 Dan Swartzendruber <dswartz@druber.com> via John R. Jackson
13578 * server-src/amlabel.c (main): check argc before referencing too
13579 far into argv for "-f".
13581 1998-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
13583 * docs/SYSTEM.NOTES: advise Linux users to use dump without
13586 * docs/INDEXING: update dumptype syntax
13588 1998-05-29 John R. Jackson <jrj@purdue.edu>
13590 * server-src/amindexd.c (uncompress_file, process_ls_dump,
13591 build_disk_table, is_dir_valid_opaque, opaque_ls): fix file
13592 descriptor leak, log the amadmin find command, fix error reporting
13593 from routines that do not generate system errors.
13594 * common-src/amanda.h: make sure errno is saved through amfree().
13596 1998-05-28 Alexandre Oliva <oliva@dcc.unicamp.br>
13598 * docs/SYSTEM.NOTES: GNU tar must be patched on HP/UX.
13599 * patches/tar-1.12.patch: ditto.
13601 * server-src/taper.c (endtape): do not log amount of used tape after
13602 entering degraded mode.
13604 * client-src/sendsize.c (getsize_dump): pass at least argv[0] to
13607 1998-05-28 Paul R. Johnson <prj@mit.edu>
13609 * client-src/sendbackup.c (check_status): when checking whether
13610 return status 1 is valid for dump, make sure it was *not* tar that
13613 1998-05-28 Tom Lear <toml@accesscom.com>, John R. Jackson <jrj@purdue.edu>
13615 * man/amcheck.8.in: document new -Maddress command line flag.
13616 * server-src/amcheck.c (usage, main): add -Maddress command line
13617 flag to send mail to a specific address instead of mailto from
13620 1998-05-27 John R. Jackson <jrj@purdue.edu>
13622 * man/amrestore.8: update for host/disk/date triplets.
13623 * recover-src/extract_list.c (extract_files_setup): pass datestamp
13624 argument in new position and without -d.
13625 * restore-src/amidxtaped.c (main): remove -d checks.
13626 * restore-src/amrestore.c (restore, usage, main): fix file descriptor
13627 leak, move datestamp to host/disk triplet and allow all to be repeated.
13629 1998-05-27 Alexandre Oliva <oliva@dcc.unicamp.br>
13631 * client-src/killpgrp.c (main): wait for either SIGTERM or EOF on
13634 * client-src/sendsize.c (getsize_dump): close the other end of
13635 killpgrp's stdin pipe before trying to kill it, because we just
13638 * configure.in (HAVE_HPUX_SCSI): check whether sys/scsi.h actually
13639 supports HP/UX-like changer commands.
13641 * config/acconfig.h (HAVE_HPUX_SCSI): indicates HP/UX-like changer
13642 interface is supported.
13644 * changer-src/scsi-hpux.c: check for HAVE_HPUX_SCSI instead of
13647 1998-05-25 Allen Briggs <briggs@canolog.ninthwonder.com>
13649 * changer-src/chg-manual.sh.in (ONLINEREGEX): add `^er=0$' for
13652 1998-05-23 Alexandre Oliva <oliva@dcc.unicamp.br>
13654 * client-src/sendsize.c (getsize_dump): killpgrp must be direct
13655 child of sendsize, otherwise sendsize won't be able to kill it.
13657 1998-05-23 Alexandre Oliva <oliva@dcc.unicamp.br>
13659 * configure.in (bcopy, bzero, fread, fwrite, vfprintf, vprintf,
13660 vsprintf): check for these in stdlib.h
13661 (memmove): check for it in strings.h
13663 * common-src/amanda.h (memmove): fix declaration of memmove, so as
13664 to be compatible with the ones in common-src/memmove.c and
13665 regex-src/fake/memmove.c
13667 reported by Tim Potter <tpot@acsys.anu.edu.au>
13669 1998-05-20 Alexandre Oliva <oliva@dcc.unicamp.br>
13671 * client-src/sendbackup.c (check_status): when checking whether dump
13672 returned 1, make sure it was not tar; #ifdef'ed out the code that
13673 ignores exit status 2 from gnutar (will be compiled in only if
13674 IGNORE_TAR_ERRORS is defined)
13675 * client-src/sendbackup-gnutar.c (GNUTAR active filesystem errors):
13676 updated comment; compile in GNUTAR error messages as DMP_NORMAL if
13677 IGNORE_TAR_ERRORS is defined; compile in SMBCLIENT error messages as
13678 DMP_NORMAL if IGNORE_SMBCLIENT_ERRORS is defined.
13680 1998-05-20 Tom Lear <toml@accesscom.com>
13682 * client-src/sendbackup.h (tarpid): new variable, used to check
13683 whether it is gnutar that is running
13684 * client-src/sendbackup-gnutar.c (start_backup): set tarpid when
13686 * client-src/sendbackup.c (check_status): if gnutar returns 2,
13689 1998-05-19 Jean-Louis Martineau <martineau@IRO.UMontrealCA>
13691 * client-src/amandad.c: set parse_errmsg when unexpected packet
13692 * recover-src/amrecover.c: overflow in clean_pathname()
13693 * recover-src/extract_list.c: add log in delete_file().
13694 small bug when call clean_pathname()
13695 * server-src/amindexd.c: ORLD command is not working
13696 * server-src/dumper.c: fixe overflow
13698 1998-05-17 Alexandre Oliva <oliva@dcc.unicamp.br>
13700 * configure.in: do not check for MAXFILESIZE
13701 * config/acconfig.h: do not define MAXFILESIZE
13702 * server-src/conffile.c: use INT_MAX instead of MAXFILESIZE
13703 * example/amanda.conf.in: ditto
13705 * server-src/driver.c (interface_state): new function; print the
13706 free bandwidth for each interface.
13707 (short_dump_state): call interface_state before holdingdisk_state
13709 * ChangeLog: renamed from CHANGES. Original entries follow.
13711 fix skip-incr handling so that reporter reports SKIPPED
13712 instead of missing result.
13713 -Jim Simmons <s4i@sws6.ctd.ornl.gov>
13715 split big dumps ( > MAXFILESIZE ) in multiple files on holding disk.
13716 new chunksize parameter in holdingdisk description of
13717 the amanda.conf file.
13718 -J-L Martineau <martineau@IRO.UMontreal.CA>
13720 an amstatus command that give the current state of a run.
13721 -J-L Martineau <martineau@IRO.UMontreal.CA>
13723 possibility to amflush multiple runs on one tape.
13724 possibility to select dump by datestamp in amrestore (-d datestamp).
13725 -J-L Martineau <martineau@IRO.UMontreal.CA>
13727 amidxtrm keep index of all active tapes as listed in tapelist file.
13728 -J-L Martineau <martineau@IRO.UMontreal.CA>
13730 the tapelist file keep every active tapes.
13731 "amadmin reuse" and "amadmin no-reuse" to mark tapes you want
13732 to keep for a long time.
13733 -J-L Martineau <martineau@IRO.UMontreal.CA>
13735 amlabel will not overwrite an amanda tape.
13736 The -f flag allow to overwriting an amanda tape.
13737 -J-L Martineau <martineau@IRO.UMontreal.CA>
13739 be consistent and use 1048576 as a dump size everyplace instead of
13740 100000 in some places (mostly cosmetic). -JJ
13742 negative numbers are now accepted in the configuration file
13745 allow a total estimate time-out to be specified. -oliva
13746 Suggested by Martyn Johnson <Martyn.Johnson@cl.cam.ac.uk>
13748 fix amtoc behavior in case of failed reads.
13749 -Niek Rijnbout <niek@knoware.nl>
13751 index files are now stored in a directory tree ala curinfo instead
13752 of a flat namespace. -JJ
13754 amrecover will now restore files using SAMBA.
13755 -Rob Riggs <rob@devilsthumb.com>
13757 VXDUMP needs not be run as root, so it no longer enables
13758 rundump automatically. -oliva
13760 new `killpgrp' setuid-root program. It is used to kill
13761 VDUMP, VXDUMP and XFSDUMP or with-rundump DUMP estimates in a
13763 -Joerg Behrens <jbehren@umpa06.gwdg.de> & oliva
13765 fixed amrmtape so that it will delete from tapelist only the
13766 entry that corresponds to the specified tape, not others that
13767 contain the tape name as a substring.
13768 -Nick Hibma <nick.hibma@jrc.it> & oliva
13770 Added support for FreeBSD dump -h flag (honor nodump).
13771 -James E. Housley <housley@pr-comm.com>
13773 Added support for ZFTAPE on Linux.
13774 -Albrecht Gebhardt <agebhard@zidsrv.sci.uni-klu.ac.at>
13776 Added support for printing tape labels.
13777 -Scott Mesches <mesches@allison.Colorado.EDU>
13779 Do not let amrecover die because of SIGPIPE if the pager terminates
13780 early during a long listing. Use the PAGER environment variable if
13781 available, else "more". -JJ
13783 Change log() calls to log_add() so it does not conflict with the math
13784 function of the same name. Replace pname global variable with two
13785 functions to set/get. Get rid of libamnolog. -JJ
13787 chg-chio was renamed to chg-scsi, and now it will support not
13788 only chio.h, but also tape changer interfaces available on
13789 HPUX, Solaris 2.5, IRIX and possibly others. Currently, only
13790 chio and HPUX are implemented.
13791 -Eric Schnoebelen <eric@cirr.com>
13793 Numerous bugs/errors were fixed in chg-chio/chg-scsi. it now
13794 properly responds to -eject requests, among other things.
13795 -Eric Schnoebelen <eric@cirr.com>
13799 updated to libtool 1.2a. -oliva
13801 fix kerberos encryption to work. -Chris Ross <cross@uu.net>
13803 add --with-owner option to optionally not have things owned by
13804 the amanda user. (meant to be in 2.4.0) -kovert
13806 only call initgroups() if it is available. -oliva
13808 check whether GNUTAR_LISTED_INCREMENTAL_DIR is a directory.
13809 -oliva, reported by J.A. Gutierrez <spd@gtc1.cps.unizar.es>
13811 amindexd no longer considers prefixes of hostnames as valid
13814 fix strappend2 so that it accepts a NULL first argument.
13815 -Rob Riggs <rob@devilsthumb.com>
13817 pass kerberos encryption switch to client.
13818 -Fredrik Jönsson <fjo@nada.kth.se>
13820 rename afree to amfree, to work around IRIX 6.4's afree.
13821 -oliva, reported Stephan P. Martin <smartin@schlund.de>
13823 implement `strategy skip' just like `ignore'.
13825 reported by Michael O'Shaughnessy <mikeo@emg.sms.siemens.com>
13827 amcheck now checks whether COMPRESS_PATH is executable, which
13828 would prevent server-compression and indexing from working.
13829 -oliva, reported by Peter Schultze <peter@mbi.ucla.edu>
13831 fixed dump estimate regular expression for DU 4.0.
13832 -Andreas Schmitz <schmitz@theorie.physik.uni-wuppertal.de>
13836 fixed memory corruption error in amtape.
13839 fixed VXDUMP support.
13840 -Andrew Ivanov <ivanov@mics.msu.su> & oliva
13842 typos fixed in chg-chs.
13843 -David Barr <dbarr@simplex.com>
13845 chg-mtx now prints error message if tapedev or changerdev must
13847 -Adrian T. Filipi-Martin <atf3r@cs.virginia.edu>
13849 fixed amflush problem, reported by Dietmar Goldbeck
13850 <dietmar@telemedia.de> -oliva
13852 Version 2.4.0-980319
13854 chg-mtx should use changer-dev if specified.
13855 -Steve Khoo <steve@gordian.com>
13857 flex-related backward-compatibility problem fixed.
13858 -Norman K Scherer <nsche@seros-48.hac.com>
13860 ported to RISCOS 4BSD. -Harlan Stenn <Harlan.Stenn@pfcs.com>
13862 when amrecover starts up, it will warn you $CWD is not the root
13863 of the selected filesystem. -oliva
13865 removed all uses of #elif, because some C compilers won't
13866 handle it correctly. -Gunther Felkel <G.Felkel@edelmann.de>
13868 fixed VDUMP-only (no DUMP defined) estimates.
13869 -Joern Behrens <jbehren@umpa05.gwdg.de>
13871 ported to UnixWare. -Jeff Moscow <jeff@rtr.com>
13873 improved vxdump support so that rundump will be used for vxfs
13874 filesystems only, and it will be enabled automatically. -oliva
13876 various portability problems fixed.
13878 taper will now log reason for tape error to log.<DATE> file,
13879 in addition to amdump.<n>.
13880 -Liudvikas Bukys <bukys@cs.rochester.edu>
13882 amflush now correctly updates the info database. -oliva
13883 reported by Liudvikas Bukys <bukys@cs.rochester.edu>
13885 sendsize now wait()s for tar and samba child processes. -oliva
13886 reported by Brian Morris <brian@mvhs.fuhsd.org>
13888 ensure that `amadmin find' reports multiple backups performed on
13889 the same day in the correct sequence.
13890 -Liudvikas Bukys <bukys@cs.rochester.edu>
13892 if backup server has multiple IP addresses, security code
13893 might reject it. -Gunnar Gunnarsson <gunnar@ki.ericsson.se>
13895 vdump would not work. -oliva
13897 kerberos support was broken. -mike
13899 Version 2.4.0-980222
13901 retry tape open on AIX if it fails with EAGAIN errno.
13902 -Francois Morris <Francois.Morris@lmcp.jussieu.fr>
13904 fix amrmtape so that it behaves well when files to amflush
13905 remain. Reported by Dietmar Goldbeck <dietmar@telemedia.de>
13907 retry tape rewind on FreeBSD. -Bob Willcox <bob@prm.com>
13909 read all output from amrestore otherwise, instead of the
13910 beginning of the next tape section, it would read garbage.
13911 -Terje Malmedal <tm@odin.funcom.com> & oliva
13913 formatting error in amoverview fixed.
13914 -Terje Malmedal <tm@odin.funcom.com>
13918 use vdump to dump advfs filesystems only. add support for vdump
13920 -Martyn Johnson <Martyn.Johnson@cl.cam.ac.uk> & oliva
13922 change index generation commands so that they are less prone
13923 to be fooled by blanks or strange characters in filenames.
13926 check whether exclude-list file exists before calling gnutar.
13927 If it does not, log a message to debugging file and discard it.
13928 selfcheck should check for that too, and print a warning message,
13929 but this is left for a future version. -oliva
13931 fix sendbackup-gnutar crashing problem. -oliva
13933 ensure that, in case of tape failure when dumping to tape, no
13934 incremental relative to the failed backup is performed.
13935 -oliva & Liudvikas Bukys <bukys@cs.rochester.edu>
13937 Fix buffer use and write() error handling in the index pipeline.
13938 -Dietmar Goldbeck <dietmar@telemedia.de>
13939 & Lars Fenneberg <lf@elemental.net>
13941 new index generation commands. -oliva
13945 accept curses and ncurses in addition to termcap for readline
13946 support, just as readline itself does. -oliva
13948 fix NO-ROOM handling when Kerberos encryption is enabled.
13949 -oliva & Eric Siegerman <erics@now.com>
13951 patch file for automake 1.2d provided. -oliva
13953 sendbackup.debug now contains the argument list of child
13956 wait() for child processes, such as server compressor, before
13957 accepting other commands.
13958 -Liudvikas Bukys <bukys@cs.rochester.edu>
13960 amrecover will print an error message if it is not run by root.
13961 It will not crash if you `pwd' before selecting a disk. -oliva
13963 updated to libtool 1.0i. -oliva
13965 fixed tape block size of vxdump on HPUX 10.20.
13966 -Andrew Ivanov <ivanov@mics.msu.su>
13968 Use "a" mode instead of "w" for the fdopen of the debug file.
13969 -David Lamkin <drl@net-tel.co.uk>
13971 allow multiple concurrent gnutar backups, by fixing amandates
13973 -Liudvikas Bukys <bukys@cs.rochester.edu>
13975 amdump should check for a hold file, as says the man-page.
13978 fix automatic enabling of USE_RUNDUMP for systems that require
13979 this. xfsdump support no longer requires USE_RUNDUMP to be
13980 defined, rundump will be enabled and used for xfs filesystems
13981 even if USE_RUNDUMP is not defined, unless XFSDUMP is not defined.
13982 This seems to have completely solved the xfsdump problems.
13985 when USE_RUNDUMP is enabled, instead of checking for read or write
13986 access in selfcheck, just test for the existence of disk devices.
13989 fixed code that computed the dump size when incomplete
13990 writes occurred in dumper. -Eric Siegerman <erics@now.com>
13992 amplot no longer crashes if there's no holding disk. -oliva
13996 fix xfsdump index generation command.
13997 -Robert Tarrall <tarrall@bamboo.colorado.edu>
13999 tape device wouldn't rewind if opened O_WRONLY.
14000 -Palle Girgensohn <girgen@partitur.se> & oliva
14002 use setpgid instead of setpgrp if available
14003 -Mark Woodford <woodford@uniprise.com> & oliva
14005 chg-mtx will check whether slot 6 is a cleaning tape or not.
14006 -Martyn Johnson <Martyn.Johnson@cl.cam.ac.uk>
14008 amrmtape updated to text database. -oliva
14010 incorrect NO-ROOM error when dumping directly to tape fixed.
14013 --with-user and --with-group become are now required. -oliva
14015 patch-system script much more configurable. -oliva
14017 amindexd must get an exact match for diskname.
14018 -Richard Kail <e8903122@student.tuwien.ac.at> & oliva
14020 fix serial number message in amflush
14021 -Liudvikas Bukys <bukys@cs.rochester.edu>
14023 removed backslashes from inside macro calls.
14024 un-indented # directives.
14025 -Gregory Neil Shapiro <gshapiro@WPI.EDU>
14027 bsd-security is now enabled by default. -oliva
14029 fixed estimate command for XFSDUMP.
14030 -Mark Radleigh <radleigh@image.ucr.edu>
14031 & Jeff Moskow <jeff@rtr.com>
14035 documented etimeout configuration option. -oliva&jrj
14037 prevent a few crashes in dumper and reporter. -jrj
14039 reporter would report the same host and disk for RESULTS MISSING.
14042 fix a few file-locking configure bugs. -oliva
14044 chg-multi updates and bugfixes.
14045 -Liudvikas Bukys <bukys@cs.rochester.edu>
14049 amindexd bugfix -Jos Alsters <Jos.Alsters@sci.kun.nl>
14051 New --disable-libtool configure option, for those who really don't
14052 want libraries to be installed. Shared libraries won't be
14053 built, of course. -oliva
14055 samba-related bugfixes.
14056 -Klaus Thiele <kth@becker-software.com>
14058 xfsdump, DNS and amidxtaped bugfixes. -martineau
14060 exclude-list support was broken, the filename was not copied
14061 to the gnutar argument list.
14062 -Stefan Bohm <Stefan.Bohm@rp-online.de>
14064 chg-chio still thought it was seagate-changer, and contained a
14065 few bugs. -Tim Tsai <tim@futuresouth.com>
14067 New file docs/RESTORE, by Daniel Moore <dmoore@jeffco.k12.co.us>
14071 Make sure amverify waits for the tape device to be ready before it
14072 starts reading each section. -oliva
14074 Fix amrecover so that it accepts filenames with blanks.
14075 -J. Shirk <jshirt@ksu.edu> & oliva
14077 Add a TIMEOUT config file parameter to replace the hard coded value
14078 in planner. -Daniel David Benson <bensond@ucdavis.edu>
14080 Change amrecover/amindexd/amidxtaped to require a SECURITY
14081 exchange if --with-bsd-security is enabled. It is done on a
14082 reserved port, which means amrecover must be run as root and that
14083 amindexd/amidxtaped need an entry for the incoming amrecover in
14084 either .rhosts or .amandahosts (Kerberos is not yet supported). --JJ
14086 Make our internal TEXTDB the default database style for the infofile.
14087 If you wish to keep using a dbm style database use the configure
14088 option "--with-db={db,dbm,gdbm,ndbm}".
14091 Sanitise the disk name in the TEXTDB code.
14092 **NOTE** if your infofile database uses TEXTDB (which has only been
14093 available since Amanda-2.4.0b1) and you have '/'s in the
14094 first field in disklist you will need to 'amadmin export'
14095 the data using the old version of Amanda, 'mv' the old
14096 database out of the way and 'amadmin import' it back again
14097 using the new version. When you are happy with the new
14098 version you may delete the old database.
14101 Get rid of DEV_ROOT/DEV_RROOT and figure out the raw name on the
14102 fly by trying a leading 'r' before each path element one at a time
14103 until we find a character device. This should handle all the current
14104 cases plus things like Solaris DiskSuite that have /dev/md/rdsk/xxx
14107 Change kill logic in sendsize to try TERM first, then KILL if that
14108 does not get dump's attention. This fixes a problem on AIX 4.x
14109 where dump was always getting a KILL and leaving orphaned message
14110 queues, which would eventually run the system out of resources. -JJ
14112 Extensive buffer management, bug and defensive coding overhaul
14114 * Use proper fgets/fread/read buffer size.
14115 * Wrote agets and areads to get a line without buffer overflow
14116 and changed most gets/fgets and some read calls to use it.
14117 * Replaced all *scanf("...%s...") with explicit pointer work.
14118 * Replaced most fixed size buffers with dynamic ones. This has
14119 no doubt introduced some memory leaks.
14120 * Replaced most sprintf calls with vstralloc (new routine).
14121 * Added overflow checks to some remaining explicit buffer
14123 * Made almost all read() and write() calls into loops to handle
14124 short and broken up transfers.
14125 * Fixed potentially uninitialized fstype field.
14126 * Added more sanity checks when parsing various things, including
14127 converting some assert() calls to real code.
14128 * The pattern amtrmidx used to find old index files to delete
14129 thought the date field was YYYY-MM-DD, but it is YYYYMMDD,
14130 so no files were being deleted.
14131 * Limited the number of directories listed by amflush to 26 to
14132 avoid funny characters in the user prompt.
14133 * Changed some of the amrecover routines to soak up the rest of
14134 the continuation lines after an error.
14135 * If a dumper dies, driver still tries to send a QUIT command
14136 which fails because the file descriptor has been closed.
14137 * Wrote afree macro that calls free and then sets the pointer
14138 to NULL. Changed most free calls to afree.
14139 * Wrote aclose/afclose/apclose macros to do the associated close
14140 and then set the argument to something invalid (-1 or NULL).
14141 * Check the file descriptor before calling FD_ISSET in dumper.
14142 Otherwise it goes to -1 on EOF and FD_* doesn't like that.
14143 * Call aclose() after FD_CLR (so the descriptor is not -1).
14145 * Added some TEXTDB support code to the infofile test program.
14146 * Set it up so -DPROTO_DEBUG could come from the compiler command
14147 line instead of having to modify the source.
14148 * Added -t command line flag code to sendbackup.c to support some
14150 * Added a test to amcheck to see if the log file is writable
14151 (if it already exists). During debugging, I keep leaving one
14152 around owned by root :-).
14153 * Changed upper limit on close loops from 255 to FD_SETSIZE.
14154 This probably needs some more study.
14157 If krb4 auth was compiled in but not enabled, clients would hang
14158 forever. -Aidan Cully <aidan@panix.com>
14160 Make sure SAMBA will not clear archive bits when performing an
14161 incremental backup, so any incremental will be a level 1.
14164 Add a LOGDIR option to amanda.conf and use it to replace the
14165 --with-logdir option to configure (this was only used for the
14166 amdump files) and the logfile option in amanda.conf. Log
14167 files are now LOGDIR/log and amdump files are LOGDIR/amdump.
14168 Note: if there is a LOGFILE option in amanda.conf it has its
14169 filename removed and is used as the LOGDIR (eg, if you have
14170 "logfile /usr/adm/amanda/log" in amanda.conf it is translated to
14171 "logdir /usr/adm/amanda" instead). This should not cause a
14172 problem for most sites.
14175 Remove --with-dbdir option from configure. This was only used
14176 to setup things for the man pages and example files. Oh.. and
14177 amrmtape. Fix this as well.
14180 Remove --with-indexdir option from configure. This is obtained
14181 from amanda.conf at run time. Also fix things so that it *is*
14182 obtained from amanda.conf in all cases.
14185 This is no longer tested on configure.in, since it is
14186 expressly forbidden to include kernel headers under glibc,
14187 according to Matthias Urlichs <smurf@noris.de>. However, Eric
14188 Doutreleau <ed@cti.ecp.fr> said he needed to include this
14189 header file in order to build amanda on
14190 sparc-unknown-linux-gnu. -oliva
14192 It is now possible to specify a username to be used to backup
14194 -Jean-Louis Martineau <martinea@iro.umontreal.ca>
14196 Make sure dumper replies with ABORT_FINISHED when a PORT-DUMP
14197 is aborted because of tape error.
14198 -Michael C. Povel <Michael.Povel@hub.de>
14200 Amcheck checks only for the needed features.
14201 -Jean-Louis Martineau <martinea@iro.umontreal.ca>
14203 Performance and memory-usage improvements to amrecover.
14204 -Jean-Louis Martineau <martinea@iro.umontreal.ca>
14206 Use extended regular expressions.
14207 -Noel Hunt <noel@jpmorgan.com>
14209 Fixed regular expressions for samba support.
14210 -Brian Fernald <fernald@nsi.edu>
14212 Fixed a few bugs that caused arithmetic exceptions in planner.
14213 -Bob Willcox <bob@luke.pmr.com>, Evan Champion
14214 <evanc@synapse.net>, scott and oliva
14216 amrecover should now be able to handle GNUtar restores.
14217 -Jean-Louis Martineau <martinea@iro.umontreal.ca>, plus
14218 incremental (-G) patch by Lars Fenneberg <lf@elemental.net>
14220 Ported to SINIX (Reliant Unix V5.43).
14221 -Michael Schmitz <mschmitz@iname.com>
14223 Configure now looks for large file support and will use it under
14224 Solaris 2.6 and above.
14225 -Blair Zajac <blair@gps.caltech.edu>
14227 Compatibility problems fixed for:
14228 SCO OpenServer 5.0.2: Paul Gampe <paulg@twics.com>
14232 New changerfile and changerdev configuration keywords, that
14233 allow changer scripts to be configured in the main amanda
14234 configuration file. Each changer script has been adapted, so
14235 that it uses those flags whenever possible. Also,
14236 documentation about built-in scripts has been added to
14237 docs/TAPE.CHANGERS. -oliva & Eric Schnoebelen
14238 <eric@egsner.cirr.com>
14240 --with-debugging now accepts a directory name, where debugging
14241 files should be stored. -John R. Jackson <jrj@cc.purdue.edu>
14243 Compatibility problems fixed for:
14244 NextStep 3.3: Fabrice GAILLARD <gaillard@ina.fr>
14245 SCO OpenServer V5: Christopher B. Olsen <colsen@compus.com>
14246 AIX: Georg Rehfeld <georg@wmd.de>
14248 Planner would core dump if it had to delay dumps. -Georg
14249 Rehfeld <georg@wmd.de>
14251 Added patch for samba to support very long filenames. -Todd
14252 Pfaff <todd@edge.cis.mcmaster.ca>
14254 Added VXDUMP support to estimate program. -oliva & John
14255 R. Jackson <jrj@cc.purdue.edu>
14257 Fixed amflush so that it cd's to the configuration directory
14258 before invoking reporter. -oliva
14260 driver no longer opens the infofile, so a deadlock is
14261 prevented. -oliva & John R. Jackson <jrj@cc.purdue.edu>
14263 Fixed typo in sendbackup-dump that would prevent compilation
14264 if either xfsdump or vxdump were enabled. -oliva
14266 Debugging messages produced by sendbackup are no longer
14267 included in the dump stream. -oliva
14269 amrestore should wait for the child process to die before
14270 re-opening the tape device. -Dietmar Braun
14271 <dietmar@tin-lizzy.hig>
14275 fixed race condition in debug file open operation. -oliva and
14278 exclude-list and exclude-file are correctly handled by
14279 sendsize. -oliva and Johann Klasek <jk@auto.tuwien.ac.at>
14281 fix some kerberos4 problems; no longer require low ports for
14282 kerberized connections; now use amanda@REALM instead of
14283 amanda.amanda@REALM in .klogin's. -kovert
14285 amrecover no longer depends on GNU flex library. -oliva
14287 Ensure that malloc(0) is not called. -Wolfram Schmidt
14288 <Wolfram.Schmidt@iao.fhg.de>
14290 Compression is now performed where specified, and server
14291 compress best specifications are obeyed. -oliva
14293 genversion now correctly recognizes the selected locking scheme.
14294 -Thomas Schmeidl <schmeidl@nwp.kwu.siemens.de>
14298 Several bugfixes by John R. Jackson <jrj@cc.purdue.edu>
14300 AIX's restore support added to amrecover. -David B. Anderson
14301 <dbanders@mail.physics.utah.edu>
14303 Dump process would not be killed unless it supported the -E
14304 flag (flipped #ifdef): fixed. -Steve Bower <sbower@raytheon.com>
14306 --with-testing now supports a trailing argument, that
14307 specifies the a string to be appended to service names. -oliva
14309 Recent versions of Samba require additional arguments so that
14310 estimates and total sizes are logged to stdout, not to syslog.
14311 -Ernie Oporto <ernie_oporto@MENTORG.COM> & Norbert Holzknecht
14312 <Holzknecht@fs31.vdeh-bfi.de>
14316 Improved planner backup-delaying mechanism. -scott
14318 Concurrent estimates are now supported. -oliva
14320 Shared library support included with GNU libtool. -oliva
14322 New hard-link-based locking mechanism for operating systems
14323 that do not support standard locking system calls. -scott
14325 New configuration file format, simpler and easier to
14328 New curinfo database format that uses only text files. The
14329 old dbm format is used by default, though. -scott
14331 DGUX support. -Brian Harvey <bharvey@raven.phs.com>
14333 Tentative HPUX vxdump support. -oliva
14335 Integrated amgetidx into dumper/sendbackup protocol. This
14336 ***breaks backward compatibility***! -oliva
14338 Have sendbackup-dump and sendbackup-gnutar list the actual
14339 program that should be used to restore a file from a backup
14340 instead of just listing restore or gtar. -blair&oliva
14342 Have configure check for the initgroups() declaration in
14343 unistd.h in addition to grp.h and sys/types.h, which is where
14344 some OSes have the declaration. -blair
14346 SAMBA backups wouldn't succeed if GNUTAR listed incrementals
14347 were enabled. SAMBA password file can now specify workgroup
14348 and may contain comments. -oliva
14350 Fixed xfsdump support. -oliva
14352 Fixed srvcompress option. -oliva
14354 Fixed exclude/exclude-list support. -oliva
14356 Change umask to 066 before creating index file in /tmp. -oliva
14358 Fixed autoconf for gdbm on linux. -oliva
14360 configure now seeks out a few possible locations for
14361 kerberos4 includes and tries to find the correct path if
14362 the kerberos bits have been installed. It's possible for
14363 someone to just specify the root of a kerberos tree for
14364 where the bits live, as well. -kovert
14368 Have bsd_security_ok() in amandad return 1 when BSD security is
14369 not turned on. Patch from Michael C. Grant
14370 <mcgrant@rascals.Stanford.EDU>.
14372 Add a configure option, --with-db, which lets the user specify
14373 the database library to use. The available codes to look for
14374 are db,dbm,gdbm,ndbm. The new configure code goes to a lot
14375 more length to find pairs of header files and libraries. If a
14376 header file exists and the library does not, but dbm_open() is
14377 found by linking against -lc, then that header file is used.
14378 Patch from Blair Zajac <blair@gps.caltech.edu>.
14380 Fixed bug at line 158 where selfcheck was testing that the
14381 result returned by open() was nonzero. The correct thing to do
14382 is check for non-negative values returned by open(). Changed
14383 the "ERROR" in line 169 to "OK" to prevent selfcheck from
14384 flagging the non-existence of /etc/amandapass as an error.
14385 Using "OK" in this line flags this condition as an informative
14386 statement rather than an error - which is to say this will be
14387 reported along with other errors but it isn't enough in itself
14388 to generate an error report. The reason that I think this is
14389 the right fix is because although every Amanda client is
14390 capable of backing up PCs using smbclient it isn't the case
14391 that we will back up PCs with every Amanda client. This also
14392 implies that we don't want to have /etc/amandapass files on all
14393 these machines either. If an Amanda client does have a samba
14394 "//host/share" entry in its disklist file then selfcheck will
14395 flag the non-existence of the /etc/amandapass file on line 105
14396 when it attempts to check that partition, so I believe that
14397 this is a safe fix. Patch from Michael Brantley
14398 <Michael-Brantley@deshaw.com>.
14400 Have all calls to gethostname() leave the result in character
14401 arrays of length 1025. This will make sure that gethostname
14402 behaves correctly. Patch from blair Zajac
14403 <blair@gps.caltech.edu>.
14405 Have amrecover.c include history.h or readline/history.h if
14406 configure finds it. Patch from blair Zajac
14407 <blair@gps.caltech.edu>.
14409 Have Amanda use cat if gzip and compress cannot be found. In
14410 this case, do not #define COMPRESS_FAST_OPT, COMPRESS_BEST_OPT,
14411 or UNCOMPRESS_OPT as "" since cat will look look for a file by
14412 the name of "". Place #ifdef's around code that uses any of
14413 the _OPT defines. Patch from Blair Zajac
14414 <blair@gps.caltech.edu>.
14416 Rewrite amgetidx to use amandad instead of rsh/rcp. amgetidx
14417 now only gets the index files from a given day. It now takes
14418 two optionally arguments <on day> or <ago days>. <on day> lets
14419 the user specify the day in one of the forms YYYYMMDD MMDD DD
14420 YYYY-MM-DD --MM-DD ---DD. <ago days> gets the files from days
14421 days ago. Have configure look for an appropriate directory to
14422 use for the temporary files on the clients. Use /var/tmp, then
14423 /usr/tmp, and if neither of those exist, then use /tmp. Have
14424 selfcheck check if the index holding directory has enough space
14425 in it. Add a new program called sendindex which sends the
14426 index files. Add the file docs/INDEXING which describes the
14427 index code. Patch from Alan McIvor <alan@auck.irl.cri.nz>.
14429 Have configure set up mt to use either the -f or the -t option
14430 depending upon the operating system. Patch from Blair Zajac
14431 <blair@gps.caltech.edu>.
14433 Include the amanda_tapetypes.txt file as docs/TAPETYPES. File
14434 composed by Chris Stacey <chris@snrc.uow.edu.au>.
14436 Allow certain dumptypes to be kicked off at specific times.
14437 Add a new, optional, parameter to the dumptype description in
14438 the config file. The parameter is called "starttime" and takes
14439 one argument which is a time of day (local timezone) formated
14440 as either hhmm or hmm (no `.'s, no `:'s, just an integer).
14441 define dumptype comp-user-2am {
14442 comment "Non-root partitions on fast machines"
14443 options compress-fast
14447 Any partitions listed in disklist with this dumptype will be
14448 fired off no earlier than 2am. If 2am today is less than 43200
14449 seconds past (12 hours ago) it will assume you meant 2am today
14450 and fire the dumps off right away. But if 2am today is more
14451 than 12 hours in the past, it will wait till 2am tomorrow.
14452 Patch from Brad Huntting <huntting@misc.glarp.com>.
14454 Totally rewrite the socket buffering code for dumper.
14455 Eliminate SO_SNDTIMEO and SO_RCVTIMEO setsockopt calls. Remove
14456 the check for HAVE_SO_SNDTIMEO from configure. Add a new
14457 option to configure named --enable-buffered-dump to enable this
14458 code. Patch from Brad Huntting <huntting@misc.glarp.com>.
14460 Have amflush call setsid() to detach amflush from the
14461 controlling terminal. Patch from Ken Laprade
14462 <klaprade@harris.com>.
14464 Have configure correctly work on systems where dbm_open is in
14465 libc. Patch from Farzad Farid <farzy@sgip.fr>.
14467 Patches to amrmtape which remove C style comments and let the
14468 script remove a tape if there is only one tape in the tapelist
14469 file. Patch from Andrew A. Ivanov <IVANOV@mics.msu.su>.
14471 Sprintf formatting error in amgetidx fixed. Patch from Yossi
14472 Gottlieb <yogo@xpert.com>.
14474 I'm using a Sony SDT/STL-7000 4mm DAT changer. I could not
14475 find any method of directly controlling the device, except for
14476 simply using the 'offline' mt command for advancing to the next
14477 tape. Using this method, however, I could not go beyond the
14478 last cassette (that is, to roll back to the first one). This
14479 means the device is currently being used as a simple gravity
14480 changer, only able to change forward. The chg-generic.conf
14481 should list the default tape device for all slots, disable
14482 'needeject', enable 'gravity' and enable the new option named
14483 'multieject'. Patch from Yossi Gottlieb <yogo@xpert.com>.
14485 Update the example chg-generic.conf file to include comments
14486 that describe how to use the multieject feature of the script.
14487 Patch from Yossi Gottlieb <yogo@xpert.com>.
14489 Protocol seems to loop when a A_TIMEOUT occurs because
14490 p->reqtries was not being decremented. Problem noted by Neal
14491 Becker <neal@ctd.comsat.com>.
14493 About half the calls to gethostname() in Amanda fail to
14494 null-terminate properly. This patch makes them all
14495 consistent. In addition it updates sendbackup-dump and
14496 sendbackup-gnutar so they handle USE_FQDN is a way consistent
14497 with the amindex stuff. In particular when USE_FQDN is set,
14498 the dump clients will not truncate their hostname before
14499 putting it in the dump headers. My patches to amflush are
14500 already in the Amanda betas so amflush should be able to match
14501 up both FQDN and non-FQDN clients against FQDN and non-FQDN
14502 disklist files. I also fixed an error message that was
14503 attributed to gethostname when it actually came from
14504 getpeername. Patches from James Mathiesen
14505 <james@nyc.deshaw.com>.
14507 I have run into the problem, on a Linux system, where the first
14508 time I run configure it generates valid Makefiles and Amanda
14509 compiles without problem. If I run configure again, or I alter
14510 a Makefile.in or something which causes autoconf to be called,
14511 the resulting Makefiles are no good - the programs in
14512 server-src don't finish linking because there is no dbm
14513 library. That is, the first time through configure -lgdbm is
14514 added to LIBS but the second, and any subsequent times, it is
14515 not. Patch from Alan McIvor <alan@auck.irl.cri.nz>.
14517 I've just found a bug that has prevented Amanda from running on
14518 my site for almost one week. Just after a dumper replied that
14519 it timed-out, the driver would send it another dump request.
14520 Then the driver would log to amdump an event of receiving a
14521 message from the dumper, but that message would be empty, the
14522 holding file for the requested filesystem would not exist, and
14523 driver would quit. It turned out that the problem was that
14524 dumper started to close its sockets (datafd, mesgfd and outfd)
14525 since release 2.3.0.4b3. outfd is initialized before invoking
14526 startup_dump, but it is sendbackup_response, intended to be
14527 invoked by the amandad protocol driver, that opens sockets and
14528 initializes datafd and mesgfd. If sendbackup_response is never
14529 run (because the amandad request times out), datafd and mesgfd
14530 will not be initialized, so they may contain already closed
14531 (and possibly already reopened) file descriptor numbers or
14532 still be uninitialized, containing any garbage, but usually 0
14533 --- but 0 is stdin, used for reading commands from the driver,
14534 it should not be closed! I've solved the problem by
14535 initializing them to -1 in startup_dump. Patch from Alexandre
14536 Oliva <oliva@dcc.unicamp.br>.
14538 Include declarations for select(), bind(), connect(), fread(),
14539 fwrite(), getopt(), getpeername(), getsockname(), getsockopt(),
14540 initgroups(), listen(), lstat(), mktemp(), mktime(), puts(),
14541 recvfrom(), select(), sendto(), setpgrp(), setsockopt(),
14542 shmat(), shmctl(), shmdt(), shmget(), socketpair(), sscanf(),
14543 strftime(), strncasecmp(), system() if the system does not
14544 declare these in any header files. Patch from Blair Zajac
14545 <blair@gps.caltech.edu>.
14547 Have configure correctly substitute for DB_DIR and LOG_DIR in
14548 example/amanda.conf when --prefix was not used. Problem noted
14549 by Philippe Charnier <charnier@xp11.frmug.org>.
14551 Include seagate-changer.c from Larry D. Pyeatt
14552 <pyeatt@cs.colostate.edu>. This program was written to control
14553 the Seagate/Conner/Archive autoloading DAT drive. This drive
14554 normally has 4 tape capacity but can be expanded to 12 tapes
14555 with an optional tape cartridge. This program may also work on
14556 other drives. This program works for me under Linux with Gerd
14557 Knorr's <kraxel@cs.tu-berlin.de> SCSI media changer driver
14558 installed as a kernel module. The kernel module is available
14560 http://sunsite.unc.edu/pub/Linux/kernel/patches/scsi/scsi-changer*
14561 Since the Linux media changer is based on NetBSD, this program
14562 should also work for NetBSD, although I have not tried it. It
14563 may be necessary to change the IOCTL calls to work on other
14566 Add a new configure option, --with-group, which tells Amanda
14567 the group to install all files as. Patch from Alexandre Oliva
14568 <oliva@dcc.unicamp.br>.
14570 If --with-bsd-security was not set, then dumper would not find
14571 the amanda/udp port to use to connect to clients. Patch from
14572 Alan McIvor <alan@auck.irl.cri.nz>.
14574 The order of dump programs to search for (ufsdump, vdump, dump,
14575 backup) didn't work on AIX systems, where backup should be used
14576 but a program named dump exists on the system. Patch by Blair
14577 Zajac <blair@gps.caltech.edu>.
14579 The configure --with-mmap was not working properly since
14580 configure was using the wrong variable to see if the system had
14581 a working mmap(). Problem noted by Keith Mitchell
14582 <kmitch@weenix.guru.org>.
14586 Save the results of getchar() into int's instead of char's in
14587 amidxtaped.c. Patch by Blair Zajac <blair@gps.caltech.edu>.
14589 Fix sendbackup-gnutar so that it can be compiled with a K&R
14590 compiler. Patch by Blair Zajac <blair@gps.caltech.edu>.
14592 Since I installed Amanda 2.3.0.4b3, I noticed some annoying
14593 messages in amdump:
14594 dumper: pid 8696 setsockopt(SO_SNDTIMEO): Invalid argument
14595 This is because Solaris 2.5 does declare SO_SNDTIMEO in
14596 sys/socket.h, but fails to setsockopt with the given
14597 arguments. Unfortunately, it is not documented, so I could not
14598 find out the correct way to do this, so I just added a test in
14599 configure to check whether SO_SNDTIMEO works as expected or
14600 not. Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
14602 Include amplot-2.2.6 written by Olafur Gudmundsson
14603 <ogud@tis.com> into Amanda. Have amplot be configured using
14604 configure instead of amplot.conf. It will be installed if
14605 gnuplot and the version of awk configure finds can handle
14606 variable assignment from the command line. I also changed some
14607 of the command line options so that the amdump files will not
14608 be compressed unless amplot is told to do so on the command
14609 line. It also takes a new command line option, -t, which lets
14610 the user set the time of the right side of the plot. Work done
14611 by Blair Zajac <blair@gps.caltech.edu>.
14613 Made rth-changer check all system calls for valid returns.
14614 Patch by Blair Zajac <blair@gps.caltech.edu>.
14616 amrestore.c and sendbackup-common.c would do an ifdef on
14617 HAVE_GZIP, which was no longer being defined if Amanda was
14618 using gzip. Now, define HAVE_GZIP if gzip is being used.
14619 Patch by Blair Zajac <blair@gps.caltech.edu>.
14621 Include a script, amoverview, that outputs an overview of all
14622 of the backups done on all of the disks. Script written by
14623 Dave Disser <disser@sdd.hp.com>.
14625 The prototype for amname_to_fstype() is missing in
14626 createindex-dump.c when xfsdump is available. Patch from Ken
14627 Laprade <klaprade@harris.com>.
14629 Apparently SGI provides a dummy libsun.a that does not really
14630 have anything in it. I guess this tricks configure into adding
14631 it to the Makefile. Have configure not check for libsun.a on
14632 SGI systems. Patch from Ken Laprade <klaprade@harris.com>.
14634 The global variable overwrite in amcheck.c apparently is seen
14635 as a potential conflict with the overwrite() curses function
14636 which is apparently in SGI's libtermcap.a. Declaring the
14637 variable static eliminates the warning. Patch from Ken Laprade
14638 <klaprade@harris.com>.
14640 Add a new configure option, --with-fqdn, which allows Amanda to
14641 back up systems in different domains. This requires that the
14642 disklist file have the fully qualified domain names (FQDNs)
14643 listed. Patch from Joe Ammond <Joe.Ammond@ee.gatech.edu>.
14645 Include rundump, a setuid program that runs dump as root. This
14646 is used under OSF1 systems. Patch from Alexandre Oliva
14647 <oliva@dcc.unicamp.br>.
14649 Install setuid files executable only by the owner and group of
14650 the files. This stops other users from running these programs,
14651 making security tighter. Patch from Alexandre Oliva
14652 <oliva@dcc.unicamp.br>.
14654 On FreeBSD 3.0, amanda.h needs to include <sys/types.h> before
14655 <dirent.h>. Problem noted by Keith Mitchell
14656 <kmitch@weenix.guru.org>.
14658 Amanda had a bug regarding the recent addition of support for
14659 excluding files in GNUTAR. planner and sendsize did not
14660 understand each other about empty exclusion lists, so there
14661 were failures using gnutar, as dump does not support excludes.
14662 Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
14664 Fixed a problem in configure where DUMP was being set to
14665 /no/restore/available when no restore program could be found
14666 instead of setting RESTORE to this. Patch from Alexandre Oliva
14667 <oliva@dcc.unicamp.br>.
14669 Have no-changer and hp-changer check for the existence of the
14670 logging directory before trying to use it. Patch by Blair
14671 Zajac <blair@gps.caltech.edu>.
14673 Patches to have nicer looking Samba support code. Patch from
14674 Michael Zucchi <cismpz@cis.unisa.edu.au>.
14676 Got Amanda to compile fine on a m88k-motorola-sysv4 system.
14677 Patches from Blair Zajac <blair@gps.caltech.edu>.
14679 In amandad.c, pk_t dupmsg was conflicting with dupmsg in
14680 /usr/include/sys/stream.h on an m88k-motorola-sysv4 system.
14681 Rename dupmsg to dup_msg. To keep things consistent, rename
14682 inmsg to in_msg and outmsg to out_msg. Patch by Blair Zajac
14683 <blair@gps.caltech.edu>.
14685 Check for the dbm_open declaration in any header file that may
14686 contain it. If it doesn't exist, then declare it and all of
14687 the other dbm_ functions. Check if struct datum is declared in
14688 any header files and if it isn't then declare it. Patch from
14689 Blair Zajac <blair@gps.caltech.edu>.
14691 Have runtar make sure that it is being invoked by the
14692 CLIENT_LOGIN user, since it is a suid executable. Patch from
14693 Alexandre Oliva <oliva@dcc.unicamp.br>.
14695 Have selfcheck check for /etc/vdumpdates if vdump is being
14696 used. Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
14698 If we're on an Ultrix system, then define STATFS_ULTRIX. Patch
14699 by Blair Zajac <blair@gps.caltech.edu>.
14701 amadmin export produces a full version number (2.3.0.4b2, for
14702 instance), while amadmin import expects three integers
14703 separated by dots, so it fails to import an exported file by
14704 itself. Patch by Alexandre Oliva <oliva@dcc.unicamp.br>.
14706 Sendsize.c would loop forever if debugging was not turned on.
14707 Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
14709 Define STATFS_OSF1 if we are on a *-dec-osf-* system. Change
14710 ifdef OSF1_HANG_BUG to ifdef OSF1_VDUMP, since I'd rather not
14711 have too many defines floating around. Patch by Blair Zajac
14712 <blair@gps.caltech.edu>.
14714 There was a bug in selfcheck.c when Blair installed the Samba
14715 support. I deleted an extra space that was added after
14716 SAMBA_CLIENT when the command was being put together. Fix by
14717 Michael Zucchi <cismpz@cis.unisa.edu.au>.
14719 Add a needed ; to client-src/Makefile.am and
14720 server-src/Makefile.am. Patch from Alexandre Oliva
14721 <oliva@dcc.unicamp.br>.
14723 Have planner.c and amcheck.c always get the amanda port number
14724 even if BSD security is turned off. Patch by Blair Zajac
14725 <blair@gps.caltech.edu>.
14727 Change the way amgetidx caches host up/down information. It
14728 used to stralloc() a string depending on if the host was up or
14729 down. Now, create two static character arrays, one holding
14730 "down" and the other holding "up" and simply point the
14731 hostinfo->up pointer to one of the two arrays. This should
14732 save a little memory. Patch by Blair Zajac
14733 <blair@gps.caltech.edu>.
14735 The Bourne shell in FreeBSD can't handle setting IFS to : and
14736 expanding $LOCPATH:$SYSPATH. Create two new variables before
14737 their use called $LOCSYSPATH and $SYSLOCPATH. Patch by Blair
14738 Zajac <blair@gps.caltech.edu>.
14740 Have open_fstab for BSD systems return the value of setfsent.
14741 Patch by Blair Zajac <blair@gps.caltech.edu>.
14743 Configure was searching for the dump program in the following
14744 order: ufsdump, vdump, backup, dump. On HP-UX systems,
14745 configure would find backup, which is a valid program but does
14746 not do what dump does. So switch the order of the programs to
14747 ufsdump, vdump, dump, backup. Patch by Blair Zajac
14748 <blair@gps.caltech.edu>.
14750 Fixed some dbprintf(()) bugs in amgetidx.c. Patch by Blair
14751 Zajac <blair@gps.caltech.edu>.
14753 Have amrecover.c always declare
14754 extern char *optarg;
14756 This makes amrecover.c compile on Ultrix systems. Problem
14757 noted by Scott Gasch <scott@cray-ymp.acm.stuorg.vt.edu>.
14759 Patch to configure to have it recognize gnutar version 1.11.2.
14760 Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
14764 Have amcleanup, no-changer, and hp-changer find out where the
14765 logging directory, or amdump error file is from getconf instead
14766 of using @LOG_DIR@ or @DB_DIR@ from configure. Problem noted
14767 by Joe Ammond <Joe.Ammond@ee.gatech.edu>.
14769 Remove VarDir=@DB_DIR@ from amrmtape.sh.in, since amrmtape
14770 figures out where the curinfo files are from the amanda.conf
14771 file. Problem noted by Joe Ammond <Joe.Ammond@ee.gatech.edu>.
14773 Include rth-changer, a tape changer script for the Robotic Tape
14774 Handling system OEM'd by Andataco (RTH-406). Script written by
14775 Erik Frederick <edf@tyrell.mc.duke.edu>.
14777 Add a new configure option called --with-pid-debug-files which
14778 has Amanda append the process ID to the debugging files placed
14779 in /tmp. The PID will not be appended unless this option is
14780 used. Suggestion by Joe Ammond <Joe.Ammond@ee.gatech.edu>.
14782 Add a new #define UNCOMPRESS_OPT to pass to UNCOMPRESS_PATH to
14783 get compressed standard input decompressed and pass it to
14784 standard output. The configure script only recognized gzip and
14785 compress right now, so it will set UNCOMPRESS_OPT to -dc and
14786 set UNCOMPRESS_PATH to the same value as COMPRESS_PATH. Edit
14787 all of the files that make use of UNCOMPRESS_PATH to also make
14788 use of UNCOMPRESS_OPT now. Patch by Blair Zajac
14789 <blair@gps.caltech.edu>.
14791 The readline() substitute in amrecover.c when the real
14792 readline() code is not available did not return to the caller
14793 what the user typed in. It now does so. Patch from Blair
14794 Zajac <blair@gps.caltech.edu>.
14796 Avoid -lnsl on Irix. On IRIX 5.x and 6.x systems that have the
14797 svr4net module installed, there will be a /usr/lib/libnsl.so
14798 present on the system. The configure script looks for this and
14799 tosses into the library list if it's there. It is not
14800 advisable to link against libnsl on IRIX unless you really need
14801 it for SVR4 networking (TLI/STREAMS). If you _do_ link against
14802 it, you should use include '-lc' _before_ '-lnsl'. The reason
14803 for this is that libnsl.so also contains the SysV TI-RPC code,
14804 which is RPC based on STREAMS/TLI rather than sockets. (Solaris
14805 2.x now uses this by default.) TI-RPC has some compatibility
14806 functions with the same names as older RPC functions, such as
14807 clnt_call(), clnt_create(), clnt_destroy(), and these conflict
14808 with the functions in libc.so. The main place this will hose
14809 you is NIS: NIS v2 expects the underlying RPC code to use
14810 sockets, not STREAMS, and it fails if the TI-RPC symbols in
14811 libnsl.so override the RPC symbols in libc.so. Again, you
14812 don't need libnsl.so unless you're actually using STREAMS/TLI
14813 or TI-RPC, so in Amanda's case it's safe to just ignore it. If
14814 you _do_ need it, you must do 'cc -o foo foo.c -lc -lnsl' in
14815 order to make sure the linker resolves the RPC symbol
14816 references correctly. The primary symptom of this problem is
14817 that things like getpwent(), getgrent() and getnetgrent() stop
14818 working in an NIS environment. To make a long story short: on
14819 IRIX, avoid using libnsl. Amanda doesn't need it anyway. So far
14820 I haven't encountered a problem with this, but you never know.
14821 Note from Bill Paul <wpaul@ctr.columbia.edu>.
14823 Include patches to have Amanda do incrementals of gnutar based
14824 backups. Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
14826 Delete the GNUTAR_BROKEN_PIPE from configure and acconfig.h
14827 since no code was testing for it. Patch by Blair Zajac
14828 <blair@gps.caltech.edu>.
14830 Have configure check for the number of arguments that
14831 gettimeofday takes and have clock.c use the appropriate number
14832 of arguments. Patch by Blair Zajac <blair@gps.caltech.edu>.
14834 Have sendbackup-common.c include tapeio.h instead of defining
14835 BUFFER_SIZE. Fix by Philip Guenther <guenther@gac.edu>.
14837 Put in more support for AIX by defining AIX_BACKUP if the
14838 system is an AIX system. Fix createindex-dump.c to pass the -B
14839 flag to restore to have it read from standard input. Problem
14840 noted by Bill Paul <wpaul@ctr.columbia.edu>. Patch by Blair
14841 Zajac <blair@gps.caltech.edu>.
14843 Add a regexp for AIX 4's backup in sendbackup-dump.c and
14844 sendsize.c. Patch from Bill Paul <wpaul@ctr.columbia.edu>.
14846 Add a comment to tapeio.h about BUFFER_SIZE and what it is used
14847 for and how people should not change it. Noted by Bill Paul
14848 <wpaul@ctr.columbia.edu>.
14850 Added a --with-mmap option to force the use of mmap() instead
14851 of shared memory support. Requested by wpaul@ctr.columbia.edu
14852 <Bill Paul>. Patch by Blair Zajac <blair@gps.caltech.edu>.
14854 On FreeBSD 2.x and 3.x, the SO_SNDTIMEOUT value is too large in
14855 dumper.c. Looking at the kernel source, the maximum value for
14856 tv_sec is about 227. The value used is READ_TIMEOUT/4, or
14857 (30*60)/4 == 450 seconds. This causes setsockopt() to return
14858 EDOM (Numerical argument out of domain), and again everything
14859 grinds to a halt. I changed the value from READ_TIMEOUT/4 to
14860 READ_TIMEOUT/8, which reduces the SO_SNDTIMEO value to 225. I
14861 haven't extensively tested this yet, but based on eyeballing
14862 the kernel source it should work. Patch from Bill Paul
14863 <wpaul@ctr.columbia.edu>.
14865 In dumper.c:do_dump(), there is code to set the transmission
14866 timeout, receive buffer size and receive low water mark on the
14867 data socket using setsockopt(). For SO_RECVBUF, the receive
14868 buffer size (recbuf) is set to DATABUF_SIZE * 4, which is
14869 32*1024*4, or 131072. On SunOS 4.1.x, this value is too
14870 large: dumper generates a 'no buffer space available' error
14871 and everything grinds to a halt. I took away the '*4', which
14872 reduces the size to 32767 bytes, which seems to work. I'm
14873 surprised nobody else has noticed this since it breaks SunOS
14874 Amanda servers. I can only surmise that people aren't using
14875 SunOS machines as servers these days. :) Patch from Bill Paul
14876 <wpaul@ctr.columbia.edu>.
14878 Have Amanda include either readline.h or readline/readline.h
14879 Fix suggested by Neal Becker <neal@ctd.comsat.com>.
14881 Have --with-includes put the -I flags into $CPPFLAGS and
14882 $CFLAGS so that AC_CHECK_HEADERS will find other include
14883 files. Problem noted by Neal Becker <neal@ctd.comsat.com>.
14885 Fixed common-src/Makefile.am to put the extra libamanda.a
14886 sources into the EXTRA_libamanda_a_SOURCES variable instead of
14887 EXTRA_DIST. Fix from Tom Tromey <tromey@drip.Colorado.EDU>.
14889 When compiling amgetidx.c with some compilers, trigraph
14890 substitutions were being made when they should not have been.
14891 Protect the code from this. Patch from Blair Zajac
14892 <blair@gps.caltech.edu>.
14894 Test for flock support in the following order:
14895 1) POSIX fcntl file locking
14898 The common-src/flock.c file will only be used if the lockf type
14899 locking is needed on this system. Patch from Blair Zajac
14900 <blair@gps.caltech.edu>.
14902 Have Samba support compile in only if requested by the user.
14903 Patch from Blair Zajac <blair@gps.caltech.edu>.
14905 Configure was not using $CFLAGS and $CPPFLAGS when trying to
14906 calculate the select argument type. Patch from Blair Zajac
14907 <blair@gps.caltech.edu>.
14909 Updated amanda.h to include alloca.h if the system has it and
14910 if it's ok to include. Also protect more include files with
14911 #ifdefs found by configure. Patch from Blair Zajac
14912 <blair@gps.caltech.edu>.
14914 Linux does not use the raw device names to do backups.
14915 configure now checks to see if it can find a raw disk device
14916 file whose name is built from root's mount point. If it can't,
14917 then set RDEV_PREFIX to use /dev/ instead of /dev/r. Fix
14918 suggested by Brian <brian.s.mogged@uwrf.edu> and Ken Latta
14919 <latta@parc.xerox.com>.
14921 Fixed const cast message from regex.c. Problem noted by Ken
14922 Laprade <klaprade@harris.com>. Patch from Blair Zajac
14923 <blair@gps.caltech.edu>.
14925 Configure was not checking for the OSF1_VDUMP #ifdef used in
14926 Amanda. It now will set OSF1_VDUMP if vdump is found on the
14927 system. However, it does not check if the system is really a
14928 OSF system. Patch from Blair Zajac <blair@gps.caltech.edu>.
14930 Have configure check for asm/byteorder.h for
14931 sparc-unknown-linux-gnu. Problem noted by Eric Doutreleau
14934 Remove the check for libintl.h from configure. It was only
14935 being used for regex.c, which really didn't need it. Patch
14936 from Blair Zajac <blair@gps.caltech.edu>.
14938 Convert all code to K&R C by trying to compile Amanda using
14939 /usr/bin/cc on a SunOS 4.1.1 machine. Have configure check if
14940 the compiler can handle the volatile keyword and if it can't,
14941 #define it to empty in the config.h file. Patch from Blair
14942 Zajac <blair@gps.caltech.edu>.
14944 Move the contents of versuff.h into version.h and remove
14945 versuff.h. Add a new function called version() which returns
14946 the version string. Use version() in some of the programs.
14947 Patch from Blair Zajac <blair@gps.caltech.edu>.
14949 m88k-motorola-sysv4 systems define L_FAIL, which is used by
14950 logfile.h. Undefine it in logfile.h. Patch from Blair Zajac
14951 <blair@gps.caltech.edu>.
14953 Include amindex-1.0 from Alan McIvor. It includes these
14954 improvements over 0.3:
14955 Amrecover now provides the ability to restore files
14956 from the tapes, via the "extract" command.
14958 Support for gnutar based index generation (but not file
14961 Numerous bug fixes.
14963 Have amgetidx try to open a socket to the shell/tcp port on the
14964 remote machine and cache if it succeeds. If it connection
14965 attempt succeeds, then attempt to get the index files over from
14966 the client. Patch from Blair Zajac <blair@gps.caltech.edu>.
14968 Update patch-system to include the amidxtape service at
14969 10083/tcp. Patch from Blair Zajac <blair@gps.caltech.edu>.
14971 Configure said that the server configuration was OK and then
14972 next said it wasn't. Remove these checks. Patch from Blair
14973 Zajac <blair@gps.caltech.edu>.
14975 Fixed building Amanda for multiple architectures in
14976 subdirectories of Amanda. Problem noted by Thomas Hepper
14977 <Thomas.Hepper@icem.de>.
14981 Fix a problem with `amadmin <conf> balance' dumping core. If
14982 some disks are overdue, they are stored in the sequence array
14983 with a negative index. This has the potential to cause memory
14984 corruption, and it makes the reported balance figures not add up
14985 to the same as the total. Since overdue disks are really going
14986 to be candidated for today's backups, they are thrown in the
14987 bin for those. Patch from Ken Laprade <klaprade@harris.com>.
14989 Add Samba client support using smbclient to Amanda. Samba must
14990 be patched with the file patches/samba-1.9.16p2.1.patch - this
14991 is a patch for 1.9.16p2 of Samba, and modifies the way the
14992 'dir' command works, and adds totals to both the dir command
14993 and the tar command, via stderr. These are used by amanda to
14994 estimate and count backup sizes. This should be installed on
14995 an amanda 'client' host, that will act as the 'samba server'
14996 host. This will most likely be the same machine as the Amanda
14997 master server. Patches from Michael Zucchi
14998 <zucchi@cis.unisa.edu.au>.
15000 Amrmtape converted from Bash to Bourne shell. Patch from Blair
15001 Zajac <blair@gps.caltech.edu>.
15003 Fix the indexing code to use "arglist.h" instead of <stdarg.h>
15004 Patch from Blair Zajac <blair@gps.caltech.edu>.
15006 Have amdump call amgetidx and amtrmidx. Put amgetidx and
15007 amtrmidx into the libexec directory instead of the bin
15008 directory, since Amanda users will not use these by hand.
15009 Patch from Blair Zajac <blair@gps.caltech.edu>.
15011 Modified diskfile.c to match hostname in the backup header
15012 against the fully qualified domain name in disklist file,
15013 because amflush fails in a multidomain backup environment, as
15014 backup headers have only the hostname. Patch from Karl
15015 Lehenbauer <karl@neosoft.com>.
15017 Have autoconf figure out if some functions are not declared and
15018 if they are not, then declare them. Patch from Blair Zajac
15019 <blair@gps.caltech.edu>.
15021 Add security fixes to amandad.c. It now checks the forward and
15022 reverse DNS names for consistency. Added a configure option
15023 --amandahosts to use Michael's code to use .amandahosts instead
15024 of .rhosts. Patch from Michael Douglass <mikedoug@texas.net>.
15026 Add amverify, a simple shell script to check Amanda tapes -
15027 gnutar driven backups only. Patch from Thomas Hepper
15028 <Thomas.Hepper@icem.de>.
15030 Add the version option to amadmin (eg amadmin <conf> version).
15031 Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
15033 Add the current option to amtape (eg amtape <conf> current).
15034 This let's you the label of the current tape only without using
15035 dd. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
15037 Gnutar support for amindex added. Patch from Thomas Hepper
15038 <Thomas.Hepper@icem.de>.
15040 Calcsize supports exclude-list (gtar). The source was
15041 extracted from gnutar itself to be 100% compatible. Patch from
15042 Thomas Hepper <Thomas.Hepper@icem.de>.
15044 Calcsize checks the file type and ignores special files and
15045 pipes. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
15047 Calcsizes calculation for gnu tar archives had a bug (gtar file
15048 blocks always are a multiple of 2k). Patch from Thomas Hepper
15049 <Thomas.Hepper@icem.de>.
15051 `amandates.c': amdandad suffered by missing AMANDATES_FILE.
15052 Now it creates this file before missing it. Patch from Thomas
15053 Hepper <Thomas.Hepper@icem.de>.
15055 `createindex-gnutar.c' added. Patch from Thomas Hepper
15056 <Thomas.Hepper@icem.de>.
15058 alloca(), strdup.c and getcwd added for those system who don't
15059 have them. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
15061 A dirty hack for BSD based systems without sigaction(), see
15062 amanda.h. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
15064 Add two scripts, hp-changer and no-changer. hp-changer is a
15065 tape changer script for a HP DAT changer. Every 10th tape a
15066 taper clean runs. no-changer is a changer-like script for
15067 single tape streamer. It makes Amanda see a tape changer unit
15068 with an infinite count of tapes (and requires an operator to
15069 change the tapes :-)). Every 10 tapes the operator is
15070 recommended to insert a cleaning tape. Patch from Thomas
15071 Hepper <Thomas.Hepper@icem.de>.
15073 The version suffix adding is done with a seperate function
15074 versionsuffix() also available as standalone program. Patch
15075 from Thomas Hepper <Thomas.Hepper@icem.de>.
15077 Several files got debug support. Patch from Thomas Hepper
15078 <Thomas.Hepper@icem.de>.
15080 Added an idle type file-too-large to driver.c to avoid dumping
15081 files to the holding disk(s) which exceed the maximum file size
15082 (2 GB on the most 32-bit machines). Patch from Thomas Hepper
15083 <Thomas.Hepper@icem.de>.
15085 Some minor bug fixes, mostly regarding missing or wrong casts
15086 confusing c compilers (shmat()/shmdt(), select()). Patch from
15087 Thomas Hepper <Thomas.Hepper@icem.de>.
15089 Genversion gives some more information. Patch from Thomas
15090 Hepper <Thomas.Hepper@icem.de>.
15092 getfsent.c and statfs.c have been cleaned up. The have to be
15093 checked on non-Irix/Solaris/NextStep/HPUX/AIX/Linux-systems.
15094 Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
15096 Simple support if readline.a is missing. NEVER TESTED! Patch
15097 from Thomas Hepper <Thomas.Hepper@icem.de>.
15099 Linux requires libdb.a and ndbm.h to handle database files. Not
15100 really what I expected. Patch from Thomas Hepper
15101 <Thomas.Hepper@icem.de>.
15103 Here's a simple patch which fixes a problem that causes amflush
15104 to erroneously complain "ignoring cruft file" about good dump
15105 files on the holding disk, and fail to flush them to tape.
15106 This happens if your holding disk directory has a long name,
15107 and the dump file also has a long name (i.e. if you use
15108 filesystem mount points in disklist). The problem occurs if
15109 the holding directory + filename exceeds 80 bytes. The patch
15110 still leaves a length limitation, but at least it matches the
15111 size limit imposed by driver (and thus dumper & taper) of 128
15112 bytes. Patch from Marion Hakanson <hakanson@cse.ogi.edu>.
15114 Use regex.h and regex.c from
15115 ftp://prep.ai.mit.edu/sh-utils-1.15.tar.gz instead of the regex
15116 checking code in the system. This code includes re_comp and
15117 re_exec calls, so it will work on any system. Patch by Blair
15118 Zajac <blair@gps.caltech.edu>.
15120 Amadmin find reports the wrong tape file numbers after when a
15121 dump is amflush'ed to tape. Patch by Ralf Fassel
15122 <ralf@atg.venture.de>.
15124 Fix a bug where dumps of disks on the Amanda server are counted
15125 against the available network bandwidth. Patch from Marion
15126 Hakanson <hakanson@cse.ogi.edu>.
15128 Tell gnutar to not exit with a nonzero value if a read failed.
15129 This prevents backups from aborting if a file disappeared
15130 before gnutar could save it. Patch from Hal Snyder
15133 Fix dumper which can cause the entire amdump run to hang after
15134 dumper issues a "TRY-AGAIN" message to driver while dumping
15135 directly to tape. Patch from Marion Hakanson's
15136 <hakanson@cse.ogi.edu>.
15138 Added Marion Hakanson's <hakanson@cse.ogi.edu> patches to fix
15139 problems when amanda dumps directly to tape (i.e. when holding
15140 space is full, or you're backing up a huge filesystem, etc.).
15141 The bug occurs in the way taper determines it has succeeded
15142 when doing a PORT-WRITE operation (i.e. dumping directly to
15143 tape). It used to assume that an EOF meant no more data --
15144 true if it's reading from a file, but when reading from a port
15145 (i.e. directly from a dump process), an EOF could signal
15146 abnormal exit as well as a normal one. So, I extended the
15147 protocol between driver and taper when dumping directly to tape
15148 (see dump_to_tape() in driver.c) so the taper will wait for the
15149 driver to pass PORT-WRITE-SUCCESS or PORT-WRITE-FAILURE to the
15150 taper (since driver gets OK/not-OK from the dumper) before the
15151 taper records success or failure. Note that this change
15152 affects only the PORT-WRITE case in taper. FYI, the bug
15153 resulted in the curinfo database for a failed port-dump to have
15154 the tape-label & file-number fields updated with the location
15155 of the failed dump, even though the timestamp & dump statistics
15156 still have the values of the last successful dump (the latter
15157 fields are updated by dumper itself).
15159 Patches from George Scott <George.Scott@cc.monash.edu.au> to
15160 fix the following problems in planner.c.
15161 1) Initialise total_size, total_lev0 and balanced_size. They
15162 are updated in analyze_estimates() but never initialised. Zero
15163 them before the first call.
15164 2) Remove oversize dumps. If there is a dump whose estimated
15165 size is larger than the tape the planner would tend to throw
15166 away all the other dumps and then probably generate an
15167 unworkable plan anyway. (The standard 2.2.6 planner probably
15168 tossed these dumps fairly quickly for other reasons, but my
15169 next fix made this one almost mandatory!) The fix is to drop
15170 these enormous dumps right at the begining. This shouldn't be
15171 triggered for anyone with a sane configuration.
15172 3) Promote hills. There are two ways to create a balanced
15173 cycle. The first is to fill in any holes and the second is to
15174 remove any hills. The original planner is good at doing the
15175 first but doesn't even attempt the second. A quick look at
15176 "amadmin balance" would show big hills quite clearly. This fix
15177 effectively does an "amadmin balance" and promotes a dump from
15178 one of the "hills". This type of promotion is quite
15180 - don't bother if we already plan to do any level 0 dumps
15181 - don't promote a dump if it was going to be the only level 0
15182 to be done on that run (ie, ignore hills that are only one
15184 - only promote one level 0 by this method
15185 - don't exceed tape_length
15186 The key to it is the first restriction. Large sites (with
15187 large numbers of disks and a large balanced_size) will have at
15188 least one level 0 scheduled for each day in the dump cycle and
15189 will already have a balanced cycle. This code will not
15190 activate for them. Small sites will probably not have a level
15191 0 scheduled and will benefit. The second restriction will stop
15192 Amanda from constantly promoting dumps when the schedule is as
15193 balanced as it will go. The third restriction will stop Amanda
15194 over reacting. Promoting one dump by this method would take
15195 total_lev0 larger that balanced_size. If it wouldn't then the
15196 first stage promotion didn't work like it should.
15197 4) Initialise got_estimate for all cases. This fix was from
15198 der Mouse <mouse@collatz.mcrcim.mcgill.edu>. "got_estimate"
15199 wasn't being initialised for skipped disks. Later in the code
15200 it was being used in all cases. The fix is to move its
15201 initialisation up a few lines.
15202 5) Explicitly ignore off-line disks. If a disk is off-line
15203 when the planner is run it gets -1 for all dump sizes. These
15204 were ignored at a later stage. This fix explicitly ignores
15206 6) Ignore down machines. If a machine is down when the planner
15207 is run it guesses from historical data what the size of
15208 tonights dump is likely to be and schedules a dump anyway. The
15209 dumper then usually discovers that the machine is still down
15210 and ends up with a half full tape. Unfortunately the planner
15211 had to delay another dump because it thought that the tape was
15212 full. The fix here is for the planner to discard unavailable
15213 machines totally rather than just ignore the fact that they are
15215 7) Keep at least one total. Amanda moves level 0 dumps back to
15216 incrementals to try and fit everything onto the tape.
15217 Unfortunately if all your incrementals are too big (or your
15218 tape too small) it can move all of your level 0 dumps. This
15219 ends up being a kind of deadlock since, unless a level 0 gets
15220 done, the incrementals will not reduce in size and until the
15221 incrementals reduce in size there will not be enough room to
15222 fit in a level 0. (This is not quite accurate since a level 4
15223 dump can get bumped to a level 5 which reduces its size.
15224 However, this deadlock has happened to me and for many days in
15225 a row.) The fix is to pick on the highest priority level 0 and
15226 not let it be moved. This change will not affect users with
15227 reasonably sized tapes since Amanda would not have moved all
15228 their disks to incrementals.
15229 8) Make usage of total_lev0 consistent. "total_lev0" is a
15230 double and doesn't include tape_mark's. Make it so.
15232 Add a fflush(outf) to amcheck.c. Patch from Mike Russell
15233 <Michael_Russell@Brown.EDU>.
15235 Fix problems with amhpfixdevs. Patch from Michael Schmitz
15236 <mschmitz@iname.com>.
15238 Have DEC OSF1 use installbsd instead of install. Patch from
15239 Rainer Landes <rlandes@fphws01.physik.uni-karlsruhe.de>.
15241 Have amcontrol take the first command line argument as the
15242 configuration to use. If there are no command line arguments,
15243 then use daily. Patch from Thomas Schmeidl
15244 <schmeidl@nwp.kwu.siemens.de>.
15246 Removed --atime-preserve from sendbackup-gnutar.c so that
15247 incremental backups of filesystems will work. Patch from
15248 Alexandre Oliva <oliva@dcc.unicamp.br>.
15250 Change all #if __STDC__ to #ifdef __STDC__ for those systems
15251 that define __STDC__ to 0, such as Solaris using cc -Xt, cc
15252 -Xa. Patch from Blair Zajac <blair@gps.caltech.edu>.
15254 Increase the socket buffer size, and set a low watter mark at
15255 32k. This cut the number of syscalls done to process one 32k
15256 block from dozens down to 4 (select, read, lseek, write).
15257 Patch from Brad Huntting <huntting@glarp.com>.
15259 Include amindex-0.3 from Alan McIvor <alan@salan.auck.irl.cri.nz>.
15261 Add the "srvcompress" option to compress dumps on the tape host
15262 instead of on the client machines. This may be useful when a
15263 fast tape host is backing up slow clients. The patches add a
15264 dump-type option, analogous to "compress-fast" or
15265 "compress-best" - the way to use it is to create a new dumptype
15266 in your amanda.conf that includes "srvcompress" and use the new
15267 dumptype for those filesystems you wish to have compressed on
15268 the tape server. For example, in amanda.conf:
15269 define dumptype srvcomp-user {
15270 comment "Partitions on slow machines, compressed on tapehost"
15271 options srvcompress
15274 Patches from Eric Volpe <epv@panix.com>.
15276 Increase the planner timeout for one estimate from 30 seconds
15277 to 120 seconds. Patch from Michael Schmitz
15278 <mschmitz@iname.com>.
15280 The select(2) prototype on HPUX specifies 'int' as argument
15281 type of the filedescriptor arguments. All other systems I know
15282 of use 'fd_set'. This has been fixed by having configure check
15283 the argument type to select and adding casts to the select(2)
15284 calls. Patch from Michael Schmitz <mschmitz@iname.com>.
15286 Improve the diagnostic output and increase the robustness of
15287 the system by adding better error checking on communication
15288 between taper & driver, and among the two taper processes.
15289 Patches from Marion Hakanson <hakanson@cse.ogi.edu>.
15291 Convert all flock() calls to use POSIX-style locks via the
15292 fcntl(2) call. This operation was prompted by the fact that
15293 the flock() emulation in the Amanda-provided common-src/flock.c
15294 was broken for read-only file descriptors, and the fcntl(2)
15295 locks are widely available. This patch makes it possible to
15296 have a read-only lock on the /etc/amandates file on systems
15297 which want to use it. I've built and tested the patched code
15298 on Amanda servers running on Digital Unix v3.2B (on Alpha
15299 hardware) and on SPARC Solaris-2.5.1. It's also been compiled
15300 here on SPARC's running SunOS-4.1.3u1b, HP-UX 9.0[345], and
15301 NeXTstep-3.3 (NeXT hardware). Note that the patches also
15302 remove all trace of the NEED_FLOCK define, and I have removed
15303 the file common-src/flock.c from our source tree here. Patch
15304 from Marion Hakanson <hakanson@cse.ogi.edu>.
15306 For disk/filesystem names which are wider than 14 characters,
15307 have reporter print out the rightmost characters of the disk
15308 name, which is usually more meaningful in a daily backup
15309 summary. Patch from Marion Hakanson <hakanson@cse.ogi.edu>.
15311 Lets amflush work in a wider variety of cases than was
15312 previously true (it used to work if the disklist contains only
15313 the first token of each hostname). sendbackup-dump.c and
15314 sendbackup-gnutar.c now do not trim the domain name from the
15315 host name that is sent back to the server. amflush now looks
15316 for an exact match, in the database. If it can't find one it
15317 strips the last token off the dump header hostname and keeps
15318 trying until it finds a match in the disklist or runs out of
15319 tokens. This also has the advantage that if gethostname()
15320 returns FQDNs and you specify the same FQDNs in the disklist,
15321 then amflush will always work. It will also work as long as
15322 the disklist and gethostname() on the clients return enough
15323 information to be unambiguous. Patch from James Mathiesen
15324 <james@deshaw.com>.
15326 Increase the READ_TIMEOUT in dumper.c to 30 minutes. This
15327 needs to be longer than the longest amount of time dump will
15328 not produce output. People have observed dumps taking more
15329 than 10 minutes to finish mapping some of the passes
15330 sometimes. Patch from James Mathiesen <james@deshaw.com>.
15332 Added Adrian T. Filipi-Martin's <atf3r@cs.virginia.edu>
15333 amrmtape script, which allows you to invalidate the contents of
15334 an existing backup tape within the Amanda current tape
15335 database. This is meant as a recovery mecanism for when a good
15336 backup is damaged either by faulty hardware or user error,
15337 i.e. the tape is eaten by the tape drive, or the tape has been
15338 overwritten. Blair Zajac wrote a quick little manual page for
15341 amrmtape was using the return value from amadmin and amadmin
15342 was exiting with a non-zero value, causing amrmtape to quit.
15343 Added a return 0 statement to amadmin.c. Patch from Blair
15344 Zajac <blair@gps.caltech.edu>.
15346 Went through all of the files and changed void main()'s to int
15347 main()'s. Patch from Blair Zajac <blair@gps.caltech.edu>.
15349 Removed the 50 tape file limit in amcleanup and amdump.
15351 createindex-dump and sendbackup-dump did not always take into
15352 account the version suffix. This is now handled. Patch from
15353 Philippe Charnier <charnier@lirmm.fr>
15355 Compile and install amrecover and amrestore as client programs,
15356 not a server program. The motovation for this is that
15357 amrecover is truly a program for all of the users on the
15358 system, while the remaining amanda programs could be used by
15359 only the system administrator. Patch from Alexandre Oliva
15360 <oliva@dcc.unicamp.br>.
15362 The program amtrmidx fails to close some of the pipes it uses,
15363 and this can lead to failure on systems with large numbers of
15364 disks with incomplete database sets, and file descriptor
15365 ulimits set. Patch from Alan McIvor <alan@auck.irl.cri.nz>.
15369 Expanded the width of the DISK column from the reporter
15370 output. I like to use mount points like /export/home?? instead
15371 of device names to back up. Since the width of the disk name
15372 field from reporter's output is pretty small, I couldn't easily
15373 figure out the statistics for a particular partition. Patch
15374 from Blair Zajac <blair@gps.caltech.edu>.
15376 Included Eric Doutreleau <ed@cti.ecp.fr> patch's for amadmin to
15377 handle multiple tapes better. The patch that he posted on used
15378 a hardwired value of 6 for runtapes, which I changed.
15380 Included Marion Hakanson's <hakanson@cse.ogi.edu> patches to
15381 amadmin.c and amadmin.8 to let amadmin use the same disk
15382 regular expression matching as amrestore. So now "^/$" will
15383 match only the root partition, not all of the disks.
15385 Added a patch from George.Scott@cc.monash.edu.au which makes
15386 new disks and forces dump with a higher priority.
15388 Changed tools/munge to delete blank lines and the commented
15389 lines that the C preprocessor generates (i.e. # 123). We also
15390 remove the space after the = sign that can be generated by cpp
15393 Installed amindex-0.2 from Alan McIvor <alan@auck.irl.cri.nz>
15394 with the following patches:
15396 Fix problem so that rsh'ing on a hpux host works.
15397 Patch from Neal Becker <neal@ctd.comsat.com>. This
15398 patch includes a new #define for RSH_COMMAND, which is
15399 set to rsh in config-common.h and defined as remsh in
15402 Fix bugs in createindex-dump.c when comparing errno to
15403 EINTR. The code was using = instead of ==. Patch from
15404 Neal Becker <neal@ctd.comsat.com>. I'm guessing this
15405 might fix some of the runaway createindex-dump
15406 processes that I have seen on my system.
15408 On my system, we use MAE which likes to generate path
15409 names with spaces in them. I patched
15410 createindex-dump.c so that filenames with spaces have
15411 the whole filename listed. Patch from Blair Zajac
15412 <blair@gps.caltech.edu>.
15414 Patch amtrmidx.c so that backups using the mount points
15415 for disks instead of the device name have the /'s
15416 replaced with _'s. Patch from Blair Zajac
15417 <blair@gps.caltech.edu>.
15421 Changed the signals being sent to xfsdump for Irix so that it
15422 will be killed without dumping a core.
15424 Fixed a typo in the definition of XFSDUMP in config.h-irix.
15426 Removed the extra option.s-* and copied options.h to
15429 Moved the amrestore manual page into the man directory so it
15430 would get installed.
15434 amindex-0.1 written by Alan McIvor <alan@kauri.auck.irl.cri.nz>
15435 installed. amindex generates an index of all of the files that
15436 were dumped. It is nice to see what files were dumped before
15437 you restore a whole bunch of tapes looking for a file. I
15438 patched some of this code. Here are some of the changes:
15440 Switched the Imakefile to Makefile and Makefile.in to
15441 be more consistent with the system used by the rest of
15444 Moved the configuration #defines out of the specific
15445 files (such as amrecover.c) into options.h, so that
15446 people installing this version of amanda would be able
15447 to see the required changes more easily and not have to
15448 edit multiple files.
15450 Made some changes to the codes to remove #include's
15451 where amanda.h would include them and also check if the
15452 system had the particular include file.
15454 Added code to set_commands.c and amgetidx.c to change
15455 /'s in disk names to _'s.
15457 Added code to amrecover.c to properly compile on
15460 With the -Xc compiler option on Solaris and with
15461 amindex, the sigaction structure was not being
15462 declared. Added -D__EXTENSIONS__ to config.h-sunos5 so
15463 that sigaction would be declared.
15465 I changed a bunch of fprintf to perrors.
15467 Include Sean Kelly's <kelly@fsl.noaa.gov> patch for tools/munge
15470 Used Peter Lackner's <plo@came.sbg.ac.at> patches for DU 4.0.
15472 Installed Ken Laprade's <klaprade@harris.com> patches for
15473 amanda to handle both EFS and XFs file systems on the same
15474 client. The only change from his patch is to #ifdef XFSDUMP
15475 the kill(-dumppid, SIGTERM) so the SIGTERM signal will be used
15476 on other systems, while SIGQUIT will be used on Irix systems.
15478 Installed Marion Hakanson's <hakanson@cse.ogi.edu> patches for
15479 the main config file to include subsidiary config files.
15481 On Solaris, sometimes the hdr->handle variable in amandad.c
15482 would be null, causing core dumps when it was used in a sprintf
15483 statement. The code now checks if hdr->handle is null and
15484 prints a "" if it is null. This was only done in amandad.c.
15486 Fix a problem where new disks would be added but not backed up
15487 concurrently. Changes to diskfile.c. I forgot who put this
15488 patch up on the mailing list.
15490 I made some changes to options.h to allow the user to more
15491 easily install the programs under a different user. This meant
15492 defining two new #defines, MK_AMANDA_USER and
15493 MK_QUOTED_AMANDA_USER which are used in the appropriate
15496 Used Marion Hakanson's <hakanson@cse.ogi.edu> patch for taper.c
15497 for multiple tapes.
15499 Included Joachim Loehr's <Joachim.Loeh@stadt-mh.de>
15500 script to automatically figure out which kind of HP-UX file
15501 system is being dumped. Look in tools for the script and a