1 2005-04-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3 * Amanda 2.4.5 released.
4 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.5).
5 * NEWS: Update for 2.4.5.
7 2005-04-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
9 * docs/*: Update from latest xml-docs.
11 2005-04-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
13 * docs/*: Update from latest xml-docs.
15 2005-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
17 * changer-src/chg-zd-mtx.sh.in: Improve handling of
18 "Unknown Storage Element Loaded".
20 2005-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
22 * man/amcheckdb.8: Update from latest xml-docs.
24 2005-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
26 * docs/*: New documentation from xml-docs.
27 * docs/Makefile.am (pkgdata_DATA): Update for new files.
29 2005-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
30 - https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=144052
32 * server-src/amverifyrun.sh.in: Filter changer log file.
34 2005-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
36 * server-src/amcheck.c: Improve messages.
38 2005-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
40 * client-src/sendsize.c (generic_calc_estimates): Use amname instead
41 of dirname in message.
43 2005-04-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
45 * man/amanda.8, man/amdd.8, man/ammt.8: Updated.
47 2005-03-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
49 * man/Makefile.am (EXTRA_DIST): Add amadmin.8 amanda.8 amcheck.8
50 amcheckdb.8 amcleanup.8 amdump.8 amflush.8 amgetconf.8 amlabel.8
51 amoverview.8 amreport.8 amrecover.8 amrmtape.8 amstatus.8
52 amtapetype.8 amtoc.8 amverify.8 amverifyrun.8
54 2005-03-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
56 * man/*: use man pages form xml-docs.
57 * configure.in (AC_CONFIG_FILES): Remove all man pages.
59 2005-03-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
61 * server-src/dumper.c (update_dataptr): Open a new chunk file even if
62 size==0, the test must be (dataout < datain), which means we have
65 2005-03-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
67 * NEWS: new amoverview -skipmissed option.
69 2005-03-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
71 * server-src/conffile.h: Rename getcont_unit_divisor to
73 * server-src/amadmin.c: Use getconf_unit_divisor.
74 * server-src/amcheck.c: Use getconf_unit_divisor.
75 * server-src/conffile.c: Use getconf_unit_divisor.
76 * server-src/conffile.c (unit_divisor): Init to 1.
77 * server-src/reporter.c: Use getconf_unit_divisor. The mb macro always
78 divide by 1024. Add the du macro. Use mb or du where appropriate.
80 2005-03-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
82 * server-src/infofile.h (history_t): Add secs field.
83 * server-src/infofile.c (read_txinfofile): Parse info file with secs
85 * server-src/infofile.c (write_txinfofile): Write secs in history.
86 * server-src/driverio.c (update_info_dumper): Update secs in history.
88 2005-03-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
90 * server-src/planner.c: Improve server estimate.
91 * server-src/planner.c: Write server estimate like others estimate.
93 2005-02-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
95 * server-src/amstatus.pl.in: last_level is negative, on new disk.
97 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
99 * server-src/amstatus.pl.in: Use '-?' to match negative values
102 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
103 Patch by Orion Poplawski <orion@cora.nwra.com>
105 * server-src/amoverview.pl.in: Print the total number of level 0
106 dumps for each disk and the number of runs until the last level 0
107 dump will be overwritten.
109 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
110 Patch by Phil Homewood <pdh@snapgear.com>
112 * server-src/amoverview.pl.in: Add -skipmissed option.
114 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
116 * server-src/driver.c: Print the chunksize to the log.
118 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
120 * client-src/calcsize.c: Print estimate to STDERR.
121 * client-src/sendsize.c (generic_calc_estimates): Read calcsize result,
122 and send it to amandad. Write debuging message.
124 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
125 Patch by Franz G. Fischer
127 * server-src/conffile.c: Adds a value type LONG and a val_t.l long
128 union member and changes get_number() to return long and
129 get_simple() to fill val_t.l if called for a long value. The
130 get_simple() calls have been changed to LONG for typetype_t.blocksize
131 typetype_t.length, typetype_t.filemark, holdingdisk_t.disksize and
132 holdingdisk_t.chunksize.
134 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
136 * server-src/amdump.sh.in: Redirect in append mode.
137 * server-src/driver.c: Set stdout and stderr to not buffered.
138 * server-src/planner.c: Set stderr to not buffered.
139 Print 'setup_estimate:' on one line.
140 * server-src/amstatus.pl.in: Parse new 'setup_estimate:' line.
142 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
144 * client-src/calcsize.c: Improve estimate for sparse file and count
147 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
149 * server-src/planner.c: Improve message if no incremental estimate.
151 2005-01-23 Stefan G. Weichinger <monitor@oops.co.at>
152 Patch by Jon LaBadie <jon@jgcomp.com>
154 * changer-src/chg-multi.sh.in: New header to explain the meaning of
155 the "multi" in "chg-multi".
157 2004-12-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
158 Patch by Christopher Pascoe <c.pascoe@itee.uq.edu.au>
160 * common-src/match.c (match_glob, match_tar): Don't amfree(regex)
161 before calling error().
163 2004-11-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
165 * server-src/driver.c (startaflush): Use ALGO_SMALLEST if nothing fit.
167 2004-11-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
169 * server-src/driver.c: Typo.
171 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
173 * restore-src/amrestore.c: Should now work correctly with empty file.
174 * server-src/amverify.sh.in: Parse "End-of-Information detected."
175 message from amrestore.
177 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
179 * server-src/driver.c: tape_left should not become negative.
181 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
182 Patch by Orion Poplawski <orion@cora.nwra.com>
184 * server-src/diskfile.c: Parse negative spindle (-1).
186 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
188 * server-src/amadmin.c: Balance subcommand use displayunit.
189 * server-src/amcheck.c: Small cleanup.
191 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
193 * restore-src/amrestore.c: Undo patch from 2004-11-11, it break
196 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
198 * server-src/amstatus.pl.in: Remove trace.
200 2004-11-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
202 * NEWS: new displayunit global option to select the unit use to
203 display number: k=kilo, m=mega, g=giga, t=tera
204 * server-src/conffile.c: Parse displayunit,
205 new fonction getcont_unit_divisor().
206 * server-src/conffile.h: Prototype of getcont_unit_divisor().
207 * server-src/amcheck.c: Use displayunit to display holding disk size.
208 * server-src/amstatus.pl.in: Use displayunit to display dump size.
209 * server-src/reporter.c: use displayunit to display dump size.
210 * man/amanda.8.in: Document displayunit.
212 2004-11-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
214 * server-src/reporter.c: Change 'Daily' for 'Incr.'.
216 2004-11-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
218 * server-src/amstatus.pl.in Fix for level -1.
220 2004-11-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
221 Patch by Daniel Widyono <widyono@seas.upenn.edu>
223 * changer-src/chg-zd-mtx.sh.in: Fix for library with barcode.
226 2004-11-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
228 * server-src/planner.c: Print the time in the FINISH line.
229 * server-src/reporter.c: The estimate time is based on the planner
232 2004-11-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
234 * restore-src/amrestore.c: Read empty file.
236 2004-11-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
238 * server-src/driver.c (selectset): Make only one declaration in main.
240 2004-11-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
242 * tape-src/tapetype.c: Use new tape.
244 2004-11-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
246 * server-src/amstatus.pl.in: Display partial estimate.
248 2004-11-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
249 Patch by Orion Poplawski <orion@cora.nwra.com>
251 * server-src/amstatus.pl.in: a FLUSH command can't be in an estimate
253 * server-src/driver.c: Start autoflush while waiting for estimate.
254 * server-src/planner.c: Write FLUSH line before estimate.
256 2004-11-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
258 * server-src/diskfile.c (read_diskline): A spindle must be numerical.
260 2004-10-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
262 * Amanda 2.4.5b1 released.
264 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
266 * server-src/holding.c (rename_tmp_holding): Always rename files.
268 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
270 * server-src/driver.c: Print message when too many retry.
271 * server-src/amstatus.pl.in: Detect a failed dump after too many retry.
272 * amplot/amplot.awk: Parse these message.
274 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
276 * server-src/driver.c (dump_to_tape): Don't retry a dump indefinitely
277 if dumper returns DONE and taper returns TRYAGAIN.
279 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
281 * server-src/driver.c (dump_to_tape): Don't retry a dump indefinitely
282 if dumper returns TRYAGAIN and taper returns DONE.
284 2004-10-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
286 * server-src/amflush.c: Don't start a driver if nothing to flush.
288 2004-10-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
289 Patch by Eric Siegerman <erics@telepres.com>
291 * example/3hole.ps: Fix for multiple tape.
293 2004-10-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
295 * server-src/amverify.sh.in: Terminate if no tape online.
297 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
299 * server-src/amadmin.c (main): Call check_dumpuser() as soon as posible.
301 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
303 * server-src/conffile.c (getconf_byname): Special case for typ == BOOL.
305 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
307 * server-src/planner.c (promote_hills): Use dumpcycle instead of
309 * example/amanda.conf.in: Remove warning for tapecyle set to inf.
311 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
313 * server-src/amadmin.c (balance): Don't core dump if DUMPCYLE is too
316 2004-09-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
318 * tape-src/tapetype.c: New -o option, doesn't overwrite amanda
320 * man/amtapetype.8.in: Document new -o option.
322 2004-09-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
324 * server-src/amstatus.pl.in: Works with failed dump to tape.
326 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
328 * client-src/sendbackup-gnutar.c (end_backup): Write warning message
330 * server-src/dumper.c (process_dumpline): Parse warning message.
331 * server-src/reporter.c (handle_strange): Print warning message in
334 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
336 * server-src/driverio.c (free_serial): Set stable[s].dp to NULL.
337 * server-src/driverio.c (disk2serial): Check that stable[s].dp == NULL.
339 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
340 Patch by Joe Rhett <jrhett@isite.net>
342 * common-src/alloc.c (safe_env): Keep SYSTEMROOT if __CYGWIN__.
344 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
345 Patch by Orion Poplawski <orion@cora.nwra.com>
347 * server-src/conffile.c (copy_dumptype): Copy maxpromoteday.
349 2004-08-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
351 * client-src/selfcheck.c (check_disk): More check for CALCSIZE.
353 2004-08-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
355 * common-src/amfeatures.h (fe_selfcheck_calcsize): New feature.
356 * common-src/amfeatures.c (am_init_feature_set): Set
357 fe_selfcheck_calcsize.
358 * client-src/selfcheck.c: Check if calcsize binary is available if
360 * server-src/amcheck.c (start_host): Call selfcheck with CALCSIZE
361 if it support fe_selfcheck_calcsize.
363 2004-08-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
365 * man/amanda.8.in: Document 'estimate' dumptype option.
367 2004-08-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
369 * client-src/amqde.c: Change snprintf for ap_snprintf.
371 2004-08-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
373 * server-src/amrmtape.sh.in: Understand history info.
375 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
377 * server-src/amstatus.pl.in: Parse CONTINUE and RQ-MORE-DISK line,
378 print if a dump is waiting for holding disk space (roomq).
380 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
382 * server-src/driverio.c (dumper_cmd): Print serial number for CONTINUE
384 * server-src/driverio.c (disk2serial): Try to find a 'dp' before
385 allocating a new serial.
386 * server-src/dumper.c (update_dataptr): Read serial number for CONTINUE
389 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
391 * server-src/planner.c (getsize): Do SERVER estimate, call sendsize with
394 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
396 * client-src/calcsize.c: Support exclude and include like gnutar,
397 change in program argument.
398 * client-src/sendsize.c: Execute calcsize as requested.
399 * common-src/amfeatures.h (fe_calcsize_estimate): New feature.
400 * common-src/amfeatures.c (am_init_feature_set): set
401 fe_calcsize_estimate.
402 * server-src/amcheck.c (start_host): Check if client support CALCSIZE
405 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
407 * server-src/conffile.h (ES_CLIENT, ES_SERVER, ES_CALCSIZE): New define
409 * server-src/conffile.h (dumptype_t): Add 'estimate' and 's_estimate'
410 * server-src/conffile.c (get_estimate): New function to parse estimate
412 * server-src/diskfile.c (read_diskline): Copy 'estimate'.
413 * server-src/diskfile.h (disk_t): Add 'estimate'.
414 * server-src/amadmin.c (disklist_one): Print estimate type.
416 2004-08-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
418 * common-src/match.c (match_tar, tar_to_regex): New fonction similar
419 to the exclude option of tar.
420 * common-src/amanda.h (match_tar, tar_to_regex): Prototype.
422 2004-08-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
424 * server-src/infofile.h (history_t): new struct.
425 * server-src/infofile.h (info_t): Add a history_t.
426 * server-src/infofile.c (read_txinfofile): Parse history data.
427 * server-src/infofile.c (write_txinfofile): Print history data.
428 * server-src/amadmin.c (export_one): export history data.
429 * server-src/amadmin.c (import_one): import history data.
430 * server-src/driverio.c (update_info_dumper): update history data.
432 2004-05-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
433 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
435 * server-src/planner.c: Log L_DISK for autoflush disk.
437 2004-05-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
439 * server-src/planner.c (handle_result): Add dp to pestq at the
442 2004-04-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
444 * common-src/amanda.h: #include "amanda-int.h" only if !CONFIGURE_TEST.
446 2004-04-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
448 * config/acinclude.m4i (AX_CREATE_STDINT_H) : New macro.
449 * configure.in: Use AX_CREATE_STDINT_H(common-src/amanda-int.h).
450 * common-src/amanda.h: include "common-src/amanda-int.h".
451 * changer-src/scsi-cam.c: Change u_int32_t for uint32_t.
452 * client-src/amandad-krb4.c: Change u_int32_t for uint32_t.
453 * common-src/krb4-security.c: Change u_int32_t for uint32_t.
454 * common-src/krb4-security.h: Change u_int32_t for uint32_t.
455 * common-src/protocol.h: Change u_int32_t for uint32_t.
456 * common-src/security.c: Change u_int32_t for uint32_t.
458 2004-04-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
460 * configure.in: Fix for automake 1.8.4.
461 * config/acinclude.m4i: Fix for automake 1.8.4.
463 2004-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
465 * configure.in: Result of autoupdate.
467 2004-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
469 * config/config.guess: Update from automake 1.8.
470 * config/config.sub: Update from automake 1.8.
471 * config/depcomp: Update from automake 1.8.
472 * config/install-sh: Update from automake 1.8.
473 * config/missing: Update from automake 1.8.
474 * config/mkinstalldirs: Update from automake 1.8.
475 * config/ltmain.sh: Update from libtool-1.5.6.
476 * config/libtool.m4i: Update from libtool-1.5.6.
478 2004-04-26 Marc Mengel <mengel@fnal.gov>
480 * tape-src/output-rait.c: Verify reads correctly.
482 2004-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
484 * server-src/driver.c (continue_dumps): Fix deadlock if holding disk
485 fill up when in degraded mode.
487 2004-04-23 Eric Siegerman <eric_97@pobox.com>
489 Bug fix: amflush would run, and consume a tape, even if there
490 were no Amanda directories waiting to be flushed:
491 * common-src/sl.c (is_empty_sl): New function to test
492 whether a list is empty.
493 * common-src/sl.h (is_empty_sl): Prototype.
494 * server-src/amflush.sh (main): Use is_empty_sl(),
495 rather than ==NULL, to test emptiness of datestamp_list.
497 2004-04-23 Jean-Louis Martineau <martineau@iro.umontreal.ca>
499 * server-src/planner.c (setup_estimate): Typo.
501 2004-04-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
503 Allow bumpsize, bumppercent, bumpdays and bumpmult to be in a dumptype.
504 * server-src/conffile.c: Parse.
505 * server-src/conffile.h: Define.
506 * server-src/amadmin.c (disklist_one): Use.
507 * server-src/diskfile.c (read_diskline): Initialize.
508 * server-src/diskfile.h: Define.
509 * server-src/planner.c: Use.
510 * man/amanda.8.in: Document.
511 * NEWS: bumpsize, bumppercent, bumpdays and bumpmult can be in a
514 2004-04-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
515 Fix by Paul Bijnens <paul.bijnens@xplanation.com>
517 * server-src/planner.c (setup_estimate): Only ask for level 0 estimate
518 if strategy is noinc.
520 2004-04-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
521 Documentation from Paul Bijnens <paul.bijnens@xplanation.com>
523 * man/amoverview.8.in: Document results.
525 2004-04-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
526 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
528 * server-src/amoverview.pl.in: Print last two characters.
530 2004-04-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
532 * changer-src/chg-disk.sh.in: Fix for sh compatibility.
534 2004-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
535 Fix by John Koyle <jkoyle@rfpdepot.com>
537 * common-src/protocol.c: Fix EAGAIN on Linux.
539 2004-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
541 New bumppercent global option.
542 * example/amanda.conf.in: Document it.
543 * man/amanda.8.in: Document it.
544 * server-src/amadmin.c (bumpsize): Write it.
545 * server-src/conffile.c: Parse it.
546 * server-src/conffile.h: Define It.
547 * server-src/planner.c (bump_thresh): New size_level_0 parameter,
548 use the new bumppercent option.
551 2004-04-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
553 * server-src/amadmin.c: Rename host_t to amhost_t.
554 * server-src/amcheck.c: Ditto.
555 * server-src/amindexd.c: Ditto.
556 * server-src/diskfile.c: Ditto.
557 * server-src/diskfile.h: Ditto.
558 * server-src/driver.c: Ditto.
559 * server-src/planner.c: Ditto.
561 2004-03-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
563 * amplot/amplot.awk: Parse "driver: tape size" line.
565 2004-03-22 Stefan G. Weichinger <monitor@oops.co.at>
567 * server-src/amcheck.c (start_host): Added warning for hostname
569 * docs/TOP-TEN-QUESTIONS: added note about localhost-warning.
571 2004-03-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
573 * docs/Makefile.am (pkgdata_DATA): Add TOP-TEN-QUESTIONS.
575 2004-03-18 Stefan G. Weichinger <monitor@oops.co.at>
577 * docs/TOP-TEN-QUESTIONS: New file.
579 2004-03-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
581 * server-src/amcheck.c: Do labelstr check in correct order.
583 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
584 Reported by Allen Liu <allen@bellglobal.com>
586 * server-src/amverifyrun.sh.in: Replace '-e' test by '-f'.
588 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
590 * server-src/amcheck.c: Verify the tape is listed in the tapelist file.
591 * server-src/taper.c: Ditto
592 * NEWS: * amanda will not use a tape if it's label is not in the
593 tapelist file (eg. after an amrmtape).
595 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
597 * server-src/driver.c (dump_schedule): Print complete name.
599 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
601 The estimate send a PREP (partial REP) packet after each estimate.
602 * client-src/amandad.c: Send PREP packet if sendsize.
603 * common-src/amfeatures.c (am_init_feature_set): Add
605 * common-src/amfeatures.h (am_feature_e): Add fe_partial_estimate.
606 * common-src/protocol.c: Handle PREP packet.
607 * common-src/protocol.h (pktype_t): Add P_PREP.
608 * server-src/amstatus.pl.in: Parse "got partial result" line.
609 * server-src/planner.c: Handle PREP packet.
611 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
612 Reported by Jason Brooks <jason.brooks@windriver.com>
614 * server-src/reporter.c: Remove duplicate setting of cd to
617 2004-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
618 Patch by Philippe Charnier <charnier@xp11.frmug.org>
620 * server-src/amtrmidx.c: Add '\n'.
622 2004-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
624 * recover-src/set_commands.c (cd_glob): Fix memory leak.
626 2004-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
628 * recover-src/set_commands.c (cd_dir, set_directory): Fix memory leak.
629 * recover-src/uscan.l: Fix double amfree.
631 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
633 * server-src/driver.c: Build holding disk name with timestamp.
634 * server-src/holding.c (is_datestr): Check also for timestamp.
635 * server-src/planner.c: Flush today's dump with autoflush.
636 * server-src/find.c: Find holding disk with timestamp.
637 * server-src/find.h (find_result_t): Add timestamp field.
638 * NEWS: holding disk disk use timestamped directory.
639 * NEWS: autoflush flush today's dump.
641 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
643 * changer-src/chg-zd-mtx.sh.in: Works if all slot and tape are full.
645 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
647 * server-src/amverifyrun.sh.in: Do not execute amverify if no tape
650 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
652 * server-src/amdump.sh.in: Do not redirect to /dev/null.
654 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
656 * config/acinclude.m4i: Define CF_WAIT_INT.
657 * configure.in: Call CF_WAIT_INT.
658 * common-src/amanda.h: Try to make waitpid doesn't warn.
660 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
662 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.5b1).
664 2004-01-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
666 * Makefile.am (EXTRA_DIST): Add contrib/mkamandisk.
668 2004-01-29 Christoph Pospiech <pospiech@de.ibm.com>
670 * configure.in (AC_CONFIG_FILES): Add changer-src/chg-iomega.pl.
671 * changer-src/Makefile.am (libexec_SCRIPTS) Add chg-iomega.
672 * changer-src/chg-iomega.pl.in: New changer script.
673 * docs/TAPE.CHANGERS: Document chg-iomega.
674 * contrib/mkamandisk: Script to format iomega disk.
675 * NEWS: New chg-iomega changer script.
677 2004-01-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
679 * restore-src/amidxtaped.c (scan_init): Remove the log file if it exit.
681 2004-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
683 * configure.in: Set GNUTAR_LISTED_INCREMENTAL_DIRX.
684 * example/amanda.conf.in: Update record documentation.
685 * man/amanda.8.in: Update record documentation.
687 2004-01-13 Greg Troxel <gdt@t...>
689 * common-src/krb4-security.c (errstr;): Make krb4 work on 64-bit
690 platforms. Essentially, change 'unsigned long' to u_int32_t for
691 on-the-wire representation of checksums, declaring that the wire
692 protocol is defined by existing use of unsigned long on 32-bit
695 Modify the data/control handshake similarly, defining a
696 'net_timeval' that uses int32_t rather than long. Cleanup a latent
697 bug in handshake code that didn't cause trouble before when
698 everything was the same type.
700 This change preserves interoperability with the previous code
701 on 32 bit machines. (It is likely that 64/64 interoperability
702 was ok, but unlikely that it was important to anyone, given
703 the low population of amanda-krb users.)
705 2004-01-14 Stefan G. Weichinger <monitor@oops.co.at>
707 * docs/INSTALL: Add config for xinetd.
709 2004-01-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
711 * Amanda 2.4.4p2 released.
712 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.4p2).
715 2004-01-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
717 * server-src/planner.c (handle_result): Detect bad estimate (-1).
718 * server-src/planner.c (analyze_estimate): Don't schedule level
719 if the estimate is bad.
721 2003-12-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
723 * client-src/Makefile.am (EXTRA_DIST): Add amandad-krb4.c,
724 sendbackup-krb4.c and sendbackup-krb4.h.
725 * common-src/Makefile.am (EXTRA_DIST): Add krb4-security.c and
727 * server-src/Makefile.am (EXTRA_DIST): Add dumper-krb4.c.
728 * NEWS: Kerberos 4 support integrated and functional again.
730 2003-12-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
731 patch by Greg Troxel <gdt@ir.bbn.com>
732 and Beverly Schwartz <bschwart@bbn.com>
734 Original *krb4* files are taken form the amanda-krb repository.
736 Add kerberos 4 support.
737 * client-src/amandad-krb4.c: New file.
738 * client-src/amandad.c: Fix close of req_pipe[0]/rep_pipe[1].
739 * client-src/sendbackup-krb4.c: New file.
740 * client-src/sendbackup-krb4.h: New file.
741 * client-src/sendbackup.c: Use options->krb4_auth.
742 * common-src/amanda.h: Fix for initgroups.
743 * common-src/krb4-security.c: New file.
744 * common-src/krb4-security.h: New file.
745 * common-src/token.h: Use HAVE_SHQUOTE_DECL.
746 * configure.in: Enhance finding krb libs.
747 * server-src/diskfile.c: Fix.
748 * server-src/dumper-krb4.c: New file.
749 * server-src/getconf.c: Define HOSTNAME_INSTANCE.
751 2003-12-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
753 * docs/HOWTO-FILE-DRIVER: New file.
754 * docs/TAPE.CHANGERS: Explain chg-disk.
755 * docs/Makefile.am (pkgdata_DATA): add HOWTO-FILE-DRIVER.
757 2003-12-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
759 * docs/SYSTEM.NOTES: Add a note about sendsize coredump on AIX.
761 2003-11-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
762 Patch by Jean-Christian SIMONETTI <simonetti@echo.fr>
764 * changer-src/chg-disk.sh.in: New changer script.
765 * changer-src/Makefile.am (libexec_SCRIPTS): Add chg-disk.
766 * configure.in (AC_CONFIG_FILES): Add changer-src/chg-disk.sh.
767 * NEWS: new chag-disk changer script to use with the file: driver.
769 2003-11-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
771 * tape-src/tapetype.c: extern int optind.
772 * tape-src/tapeio.c: extern int optind.
774 2003-11-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
775 Patch by C.Scheeder <christoph.scheeder@scheeder.de
777 * changer-src/sense.c (SenseType): Add "DAT AutoChanger" and "C1537A".
779 2003-11-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
781 * server-src/driver.c: Print the tape size.
782 * server-src/amstatus.pl.in: print % of tape use.
784 2003-11-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
786 * server-src/conffile.c (copy_dumptype): Copy in/exclude only if seen.
788 2003-11-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
790 * server-src/reporter.c (output_tapeinfo): Fix printing of new tape.
792 2003-11-25 Jean-Louis Martineau <martineau@iro.umontreal.ca>
794 * server-src/amcheck.c (taperscan_slot): Deal with label not in
796 * server-src/amtape.c (taperscan_slot): Ditto.
797 * server-src/taper.c (taperscan_slot): Ditto.
799 2003-11-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
801 * server-src/driver.c (handle_taper_result): Empty tapeq in TAPE_ERROR
804 2003-11-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
806 * server-src/driver.c (handle_taper_result): Always call
807 continue_dumps() in TRYAGAIN case.
809 2003-11-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
811 * changer-src/chg-chio.pl.in (getTapeStatus): Set $drives[$num] to 0
814 2003-11-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
816 * docs/Makefile.am (pkgdata_DATA): Add HOWTO-AFS.
818 2003-11-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
819 Patch by Mitch Collinsworth <mitch@ccmr.cornell.edu>
821 * client-src/selfcheck.c: Skip accessibility check for AFS entries.
822 * docs/HOWTO-AFS: New file.
824 2003-11-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
826 * server-src/amadmin.c (tape): Display the next new tapes.
827 * server-src/reporter.c (output_tapeinfo): Ditto.
829 2003-10-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
831 * docs/Makefile.am (pkgdata_DATA): Add chg-scsi.notes.
833 2003-10-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
835 * server-src/amcheck.c (taperscan_slot): Set found=3 if new tape.
836 * server-src/amcheck.c (taper_scan): Handle found==3.
837 * server-src/amtape.c (taperscan_slot): Set found=3 if new tape.
838 * server-src/amtape.c (taper_scan): Handle found==3.
839 * server-src/taper.c (taperscan_slot): Set found=3 if new tape.
840 * server-src/taper.c (taper_scan): Handle found==3.
842 2003-10-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
844 * server-src/amcheck.c: Use stralloc(optarg).
845 * tape-src/ammt.c: Use stralloc(optarg).
846 * tape-src/tapetype.c: Use stralloc(optarg).
848 2003-10-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
849 Patch by Jay Fenlason <fenlason@redhat.com>
851 * server-src/dumper.c: Don't set SIGCHLD to SIG_IGN.
853 2003-10-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
854 Patch by Andrew Rucker Jones <arjones@simultan.dyndns.org>
856 * client-src/sendbackup-gnutar.c (AM_SIZE_RE): Fix regex for samba3.
858 2003-10-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
860 * server-src/amadmin.c (find): Call find_dump to allow dynamic disklist.
861 * server-src/amindexd.c: Call find_dump to allow dynamic disklist.
862 * server-src/amtrmidx.c: Call find_dump to allow dynamic disklist.
863 * server-src/diskfile.c (add_disk): Set device and todo.
864 * server-src/find.c: Build disklist dynamicaly from log files.
865 * server-src/find.h (find_dump): New prototype.
866 * NEWS: 'amadmin find' list disk removed from the disklist.
867 * NEWS: amrecover can recover a disk removed from the disklist file.
869 2003-10-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
871 * server-src/amlogroll.c: set_pname("amlogroll").
873 2003-10-24 Todd M. Kover <kovert@omniscient.com>
875 * add amqde for "quick and dirty estimates" under gnutar (program
876 that will traverse the filesystem rather than invoke gnutar).
877 controlled via configure option --with-qde. This really wants to
878 be configured in the server.
880 2003-10-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
882 * server-src/amverify.sh.in: Fix usage message.
883 * common-src/fileheader.c (print_header): fprintf to outf.
884 * server-src/tapefile.c (lookup_last_reusable_tape): Check for
886 * server-src/amadmin.c (disklist_one): Don't print ':' on device line.
888 2003-10-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
889 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
891 * client-src/amandates.c (finish_amandates): Call error() if the
893 * common-src/amflock.c (create_lock): Return -1 if the close of f fail.
894 * common-src/amflock.c (read_lock): Don't set f to NULL if the close
896 * server-src/tapefile.c (write_tapelist): Return 1 if the close of
899 2003-10-14 John R. Jackson (jrj@purdue.edu)
901 * docs/SYSTEM.NOTES: Add FreeBSD 5.1 note about setting the UDP packet
902 size, compliments of Nicolas Ecarnot <nicolas.ecarnot@accim.com>.
904 2003-10-14 John R. Jackson (jrj@purdue.edu)
906 * client-src/sendsize.c: Handle case where PID's get re-used.
908 2003-10-14 John R. Jackson (jrj@purdue.edu)
910 * configure.in: Need to check for sys/gscdds.h on AIX to enable
913 2003-10-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
915 * common-src/genversion.c (prundefvar): New macro to print an
917 * common-src/genversion.c: Print undefined variable.
918 * server-src/amcheck.c: Improve message for no LPRCMD defined.
920 2003-07-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
922 * restore-src/amidxtaped.c: Don't clear re_label before checking
925 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
926 Patch by Scott Mcdermott <smcdermott@questra.com>
928 * changer-src/chg-zd-mtx.sh.in (initial_poll_delay): New config
929 variable to add a pause after a tape loading.
930 * News: New initial_poll_delay config in chg-zd-mtx.
932 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
933 Fix by John E. Hein <jhein@timing.com>
935 * changer-src/chg-manual.sh.in: Quote @EGREP@.
936 * changer-src/chg-null.sh.in: Quote @EGREP@.
938 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
940 * amplot/amplot.sh.in: Remove files before runnig amplot.awk.
941 * amplot/amplot.awk: Parse 'flush line', fix tape_wait line.
942 * server-src/driver.c (read_flush): Write a 'flush size' to the
945 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
947 * changer-src/chg-chio.pl.in: Fix next/prev command.
949 2003-07-06 Thomas Hepper <th@ant.han.de>
950 * changer-src/chg-scsi.c: Added debug Information to see which sg
952 * changer-src/scsi-linux.c: Added debug Information to see which sg
954 Removed check if an data packet is larger than 4096 byte.
956 2003-07-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
957 patch by Paul Bijnens <paul.bijnens@xplanation.com>
959 * client-src/client_util.c (add_include): Count include with 2 /,
962 2003-06-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
964 * Amanda 2.4.4p1 released.
965 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.4p1).
968 2003-06-25 Jean-Louis Martineau <martineau@iro.umontreal.ca>
970 * server-src/amstatus.pl.in: Fix print spacing for idle dumpers.
972 2003-06-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
973 patch by Paul Bijnens <paul.bijnens@xplanation.com>
975 * tape-src/tapetype.c: Avoid a numerical overflow for large tape
978 2003-06-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
980 * server-src/amstatus.pl.in: Fix to failed tape.
982 2003-06-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
984 * server-src/planner.c (delay_dumps): Delay not delay forced full
987 2003-06-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
989 * changer-src/chg-zd-mtx.sh.in: Log the changer file used.
991 2003-06-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
993 * server-src/holding.c: Skip lost+found directories on holding disks.
995 2003-06-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
997 * server-src/amverify.sh.in: Do not advance to next tape.
999 2003-06-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1000 patch by Eric Siegerman <eric_97@pobox.com>
1002 * server-src/planner.c: Make promote_hills() honour maxpromotedays.
1004 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1006 * changer-src/scsi-bsd.c: Use pDev[DeviceFD].fd instead of DeviceFD.
1007 * changer-src/scsi-hpux_new.c:Use pDev[DeviceFD].fd instead of DeviceFD.
1008 * changer-src/scsi-linux.c: Use pDev[ip].fd instead of DeviceFD.
1010 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1012 * server-src/amflush.c: Implement new -b and -s options.
1013 * man/amflush.8.in: Document it.
1015 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1017 * server-src/driver.c (dump_to_tape): Don't go in degraded mode if
1020 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1022 * tape-src/output-rait.c: Don't call waitpid if we didn't fork.
1024 2003-06-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1026 * server-src/amverify.sh.in: Use @MAXTAPEBLOCKSIZE@ instead of 32.
1028 2003-06-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1029 Bug reported by Sven Rudolph <rudsve@drewag.de>
1031 * server-src/holding.c (mkholdingdir): New function to create a holding
1033 * server-src/holding.h (mkholdingdir): Prototype.
1034 * server-src/driver.c: Use mkholdingdir;
1035 * server-src/dumper.c: Call mkholdingdir before opening a file for
1038 2003-06-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1039 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
1041 * server-src/amstatus.pl.in: Fix for missing amdump.1 or amflush.1.
1043 2003-06-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1044 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
1046 * server-src/amstatus.pl.in: If nothing is active, it now gives the
1047 status of the last run (amdump or amflush).
1048 * man/amstatus.8.in: Document it.
1050 2003-05-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1052 * tape-src/output-file.c (check_online): Write error if opendir failed.
1054 2003-05-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1055 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
1057 * server-src/amoverview.pl.in: Use 'amadmin <conf> disklist' instead
1058 of parsing the disklist file.
1060 2003-05-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1062 * server-src/tapefile.c (read_tapelist,parse_tapeline): Fix for
1065 2003-05-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1067 * example/amanda.conf.in: Add more amrecover_changer doc.
1068 * man/amanda.8.in: Add more amrecover_changer doc.
1069 * man/amrecover.8.in: Add more amrecover_changer doc.
1071 2003-05-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1073 * server-src/tapefile.c (read_tapelist): Ignore blank line.
1074 * server-src/tapefile.c (parse_tapeline): Newer status parameter, set
1075 it to '1' when reading blank line.
1077 2003-04-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1079 * configure.in (AC_CHECK_HEADERS): Remove linux/ftape-header-segment.h,
1080 linux/ftape-vendors.h and linux/ftape.h.
1082 2003-04-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1083 Patch by Darin Dugan <dddugan@iastate.edu>
1085 * server-src/amcheck.c: Change subject in email if no error.
1087 2003-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1089 * common-src/error.c (output_error_message): Always prepend program
1091 * server-src/dumper.c (process_dumpeof): 'missing size line' and
1092 'missing end line' should be failed, not strange.
1094 2003-04-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1096 * server-src/amstatus.pl.in: Fix for estimate disk.
1098 2003-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1100 * server-src/taper.c: Read holding file correctly if blocksize != 32k.
1102 2003-04-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1103 New file by Robert C Dege <RDege@northropgrumman.com>
1105 * configure.in: Find mcutil binary.
1106 * configure.in (AC_CONFIG_FILES): Add changer-src/chg-mcutil.sh and
1107 example/chg-mcutil.conf.
1108 * changer-src/Makefile (libexec_SCRIPTS): Add chg-mcutil.
1109 * changer-src/chg-mcutil.sh.in: New file.
1110 * example/Makefile (EXTRA_DIST): Add chg-mcutil.conf
1111 * example/chg-mcutil.conf.in: New file.
1113 2003-04-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1115 * man/amanda.8.in (blocksize): Document the --with-maxtapeblocksize
1118 2003-04-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1120 * server-src/amverifyrun.sh.in: Run the amverify command.
1122 2003-04-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1123 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
1125 * server-src/reporter.c: Get the filenumber correct.
1127 2003-04-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1128 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
1130 * server-src/reporter.c: Print a postscript label for each tape used.
1131 * NEWS: Print a postscript label for each tape used.
1133 2003-03-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1135 * configure.in (*-sco3.2v4*): It is not like *-sco3.2v5*,
1136 define DEV_PREFIX and RDEV_PREFIX.
1138 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1140 * configure.in: Typo.
1142 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1143 Patch by Gert Doering <gert@greenie.muc.de>
1145 * client-src/getfsent.c (get_fstab_nextentry): Compile on *-sco3.2v4*.
1147 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1149 * configure.in: Compile on *-sco3.2v4*
1151 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1153 * configure.in: Use '=' instead of '=='.
1155 2003-03-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1157 * recover-src/set_commands.c (set_tape): Recognize null:, rait:,
1158 file: and tape: as driver, not host name.
1160 2003-03-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1162 * server-src/amrmtape.sh.in: Print better output.
1164 2003-03-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1166 * changer-src/Makefile.am (libexec_SCRIPTS): Missing \.
1168 2003-03-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1170 * NEWS: amrecover_changer works with chg-multi.
1172 2003-03-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1174 * client-src/client_util.c (add_include): If include contain 2 '/' then
1175 use at asis, don't try to match it.
1177 2003-03-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1179 * file tape-src/output-rait.c (rait_open): Call tapefd_set_master_fd();
1180 * file tape-src/tapeio.c (struct tape_info): Add master_fd field.
1181 * file tape-src/tapeio.c (tape_info_init): Set master_fd to -1;
1182 * file tape-src/tapeio.c (tapefd_getinfo_host, tapefd_getinfo_disk,
1183 tapefd_getinfo_level): Return info of master_fd.
1184 * file tape-src/tapeio.c (tapefd_set_master_fd): New function to set
1186 * file tape-src/tapeio.h (tapefd_set_master_fd): Prototype.
1187 * NEWS: rait: works with file:
1189 2003-03-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1191 * tape-src/output-file.c (file_tapefd_can_fork): New function that
1192 return 1 if the file: can be run under a forked process.
1193 * tape-src/output-file.h (file_tapefd_can_fork): Prototype.
1194 * tape-src/output-null.c (null_tapefd_can_fork): New function that
1195 return 1 if the null: can be run under a forked process.
1196 * tape-src/output-null.h (null_tapefd_can_fork): Prototype.
1197 * tape-src/output-rait.c (rait_close, rait_tapefd_ioctl): Fork only if
1198 * tapefd_can_fork() return 1.
1199 * tape-src/output-rait.c (rait_tapefd_can_fork): New function that
1200 return 1 if the rait: can be run under a forked process.
1201 * tape-src/output-rait.h (rait_tapefd_can_fork): Prototype.
1202 * tape-src/output-tape.c (tape_tapefd_can_fork): New function that
1203 return 1 if the tape: can be run under a forked process.
1204 * tape-src/output-tape.h (tape_tapefd_can_fork): Prototype.
1205 * tape-src/tapeio.c (struct virtualtape): Add xxx_tapefd_can_fork and
1206 initialize vtable[];
1207 * tape-src/tapeio.c (tapefd_can_fork): New function to can the driver
1208 xxx_tapefd_can_fork function.
1209 * tape-src/tapeio.h (tapefd_can_fork): Prototype.
1211 2003-03-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1213 * tape-src/output-file.c (file_tapefd_write): Call file_release(fd)
1214 before opening the file for writing.
1216 2003-03-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1218 * changer-src/chg-zd-mtx.sh.in: Default for driveslot is 0.
1219 * NEWS: default driveslot for chg-zd-mtx is now 0.
1221 2003-03-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1223 * amplot/amplot.sh.in: New -b option for b/w postscript.
1224 * amplot/amplot.awk: Add 'color' to command if bw is set.
1225 * amplot/amplot.g: Change line 6 to line 8.
1226 * man/amplot.8: Document -b option.
1227 * NEWS: Document amplot -b option.
1229 2003-03-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1231 * recover-src/extract_list.c: Fix the name of the
1232 amidxtaped.<timestamp>.debug file.
1234 2003-02-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1235 Patch by Eric Doutreleau <Eric.Doutreleau@int-evry.fr>
1237 * restore-src/amidxtaped.c: Use the device sent by the changer.
1239 2003-02-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1241 * restore-src/amidxtaped.c: Remove lock 'unlink(conf_logfile)' on
1244 2003-02-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1245 Patch by Martin Forssen <maf@appgate.com>
1247 * server-src/changer.c (changer_label): Do not amfree(rest).
1249 2003-02-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1251 * Amanda 2.4.4 released.
1252 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.4).
1254 2003-02-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1256 * client-src/client_util.c: Print error except ENOENT for
1257 exclude/include files.
1259 2003-02-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1261 * tape-src/tapetype.c: Use %ld to print some variable.
1263 2003-02-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1265 * server-src/conffile.c (init_defaults): conf_printer.s must be set
1268 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1269 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
1271 * tape-src/tapetype.c: Document -c option.
1273 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1275 * changer-src/chg-zd-mtx.sh.in:Print "are you sure your drive slot is n"
1277 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1279 * server-src/tapefile.c (read_tapelist): return 1 if can't open the
1282 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1284 * man/amtapetype.8.in: Add doc from a mail by John R. Jackson.
1286 2003-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1288 * server-src/amcheck.c: New -a option.
1289 * man/amcheck.8.in: Document it.
1290 * NEWS: Document it.
1292 2003-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1294 * server-src/amindexd.c (build_disk_table): Compare the level.
1296 2003-02-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1297 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
1299 * tape-src/tapetype.c: New -c argument to do only the compression test.
1300 Better detection of compression.
1301 * man/amtapetype.8.in: Document -c argument.
1303 2003-02-09 John R. Jackson (jrj@purdue.edu)
1305 * tape-src/tapetype.c: Allocate the I/O buffers on page boundaries.
1306 This helps performance on some OS's.
1308 2003-02-08 John R. Jackson (jrj@purdue.edu)
1310 * restore-src/amrestore.c: Clean up strtol() argument processing.
1312 2003-02-08 John R. Jackson (jrj@purdue.edu)
1314 * docs/INSTALL: Clean up supporting package versions and URL's.
1316 2003-02-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1318 * docs/Makefile.am (pkgdata_DATA): Add HOWTO-CYGWIN.html.
1320 2003-02-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1321 Patch by Christophe Kalt <kalt@taranis.org>
1323 * client-src/sendbackup-dump.c: New AM_SIZE_RE for NetApp.
1324 * client-src/sendsize.c: New re_size for NetApp.
1326 2003-02-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1327 Fix by Colin Henein <cmh@orange-carb.org>
1329 * common-src/amanda.h: Fix for the where S_ISDIR is not defined.
1331 2003-02-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1332 Patch by Doug Kingston <dpk@randomnotes.org>
1334 * configure.in (NEED_SETUID_CLIENT): Set to false on *-pc-cygwin.
1335 * configure.in (WANT_SETUID_CLIENT): Set if NEED_SETUID_CLIENT != false.
1336 * client-src/Makefile.am: Don't chmod u+s if WANT_SETUID_CLIENT.
1338 2003-02-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1339 Patch by Andrew Rucker Jones <arjones@simultan.dyndns.org>
1341 * man/amtapetype.8.in: Fix example.
1343 2003-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1345 * Amanda 2.4.4b1 released.
1346 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.4b1).
1348 2003-01-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1350 * common-src/amanda.h: #define S_ISDIR if not already defined.
1352 2003-01-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1353 File from Doug Kingston <dpk@randomnotes.org>
1355 * docs/HOWTO-CYGWIN.html: New file.
1357 2003-01-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1359 * configure.in: Define WANT_RUNTIME_PSEUDO_RELOC on cygwin
1360 * client-src/Makefile.am: AM_LDFLAGS="-Wl,-enable-runtime-pseudo-reloc"
1361 if WANT_RUNTIME_PSEUDO_RELOC.
1362 * recover-src/Makefile.am: Ditto.
1364 2003-01-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1366 * tape-src/output-rait.h: #define stralloc strdup
1367 * tape-src/output-rait.c: Revert patch of 2003-01-26, we don't have
1368 vstralloc in standalone.
1370 2003-01-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1371 Reported by Doug Kingston <dpk@randomnotes.org>
1373 * recover-src/Makefile.am: Set AM_YFLAGS instead of YFLAGS.
1375 2003-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1377 * tape-src/output-rait.c (tapeio_next_devname): Use vstralloc.
1379 2003-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1381 * changer-src/chg-scsi-chio.c: Change strdup to stralloc.
1382 * changer-src/chg-scsi.c: Ditto.
1383 * changer-src/scsi-aix.c: Ditto.
1384 * changer-src/scsi-bsd.c: Ditto.
1385 * changer-src/scsi-cam.c: Ditto.
1386 * changer-src/scsi-changer-driver.c: Ditto.
1387 * changer-src/scsi-hpux_new.c: Ditto.
1388 * changer-src/scsi-irix.c: Ditto.
1389 * changer-src/scsi-linux.c: Ditto.
1390 * changer-src/scsi-solaris.c: Ditto.
1391 * changer-src/sense.c: Ditto.
1392 * tape-src/output-rait.c: Ditto.
1394 2003-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1396 * server-src/taper.c (read_file): Don't count header in filesize.
1398 2003-01-25 John R. Jackson (jrj@purdue.edu)
1400 * tape-src/tapeio.c: Fix tape_access() and tape_stat() problem caused
1401 by indeterminate compiler order of evaluation.
1403 2003-01-25 John R. Jackson (jrj@purdue.edu)
1405 * restore-src/amidxtaped.c: Log errno when tape_stat fails.
1406 * restore-src/amrestore.c: Ditto.
1407 * tape-src/output-rait.c: Ditto.
1409 2003-01-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1411 * server-src/amstatus.pl.in: print an usage by tape.
1413 2003-01-23 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1415 * recover-src/extract_list.c (add_extract_item, delete_extract_item):
1416 Check also for level when comparing label.
1418 2003-01-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1420 * server-src/dumper.c (update_dataptr): Loop if rc == 0.
1422 2003-01-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1424 Do not build chg-scsi-chio, it is buggy.
1425 * changer-src/Makefile.am (libexec_PROGRAMS): remove $(CHIO_SCSI).
1426 * changer-src/Makefile.am (EXTRA_PROGRAMS): add $(CHIO_SCSI).
1428 2003-01-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1430 * configure.in: disable amrestore if --without-server is set.
1432 2003-01-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1434 * client-src/amandad.c: Use the dbfd macro instead of the external
1436 * client-src/selfcheck.c: Ditto.
1437 * client-src/sendbackup.c: Ditto.
1438 * client-src/sendsize.c: Ditto.
1439 * client-src/sendbackup-gnutar.c: Use save_errno instead of errno.
1440 * common-src/debug.c: Move most declaration inside #ifdef DEBUG_CODE.
1441 * server-src/amindexd.c: dup db_fd() to stderr.
1442 * server-src/conffile.c: Don't call error() if the config file does not
1443 exist, just write to stderr and set got_parserror.
1445 2003-01-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1447 * recover-src/amrecover.c: Fix memory leak.
1449 2003-01-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1451 Add new maxpromoteday option in a dumptype.
1452 * NEWS: Document it.
1453 * example/amanda.conf.in: Give an example
1454 * man/amanda.8.in: Document it.
1455 * server-src/amadmin.c: Print it in the disklist subcommand.
1456 * server-src/conffile.c: read it.
1457 * server-src/conffile.h (dumptype_t): Add maxpromoteday and
1459 * server-src/diskfile.c (read_diskline): Copy maxpromoteday from
1460 dumptype_t to disk_t.
1461 * server-src/diskfile.h (disk_t): Add maxpromoteday.
1462 * server-src/planner.c (promote_highest_priority_incr): Don't promote
1463 a disk if est(dp)->next_level0 > dp->maxpromoteday.
1465 2003-01-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1466 Reported by Josh More <jmore@remote-print.com>
1468 * client-src/client_util.c (add_exclude, add_include): Remove the
1469 need for MAXPATHLEN.
1471 2003-01-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1472 Fix by Josh More <jmore@remote-print.com>
1474 * tape-src/output-tape.c: Add a ; after f = MT_UNLOAD
1476 2003-01-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1478 * server-src/amcheck.c (handle_response): Print 'request timed out' or
1480 * server-src/dumper.c (sendbackup_response): Print 'request timeout' or
1483 2003-01-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1485 * common-src/protocol.h (proto_t): Add prevstate field.
1486 * common-src/protocol.c: Keep prevstate up to date.
1487 * server-src/planner.c (handle_result): Use prevstate to write
1488 Request or Estimate timeout.
1490 2003-01-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1491 Undo patch of 2002-11-27. That doesn't work well for the planner.
1493 * common-src/amanda.h (days_diff): Revert to old macro.
1494 * server-src/amadmin.c: Undo Fix for newer days_diff.
1495 * server-src/planner.c: Undo Fix for newer days_diff.
1497 2003-01-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1499 * client-src/client_util.c: Fix memory leak reported by valgrind.
1500 * client-src/selfcheck.c: Ditto.
1501 * client-src/sendbackup.c: Ditto.
1502 * client-src/sendsize.c: Ditto.
1503 * common-src/amfeatures.c: Ditto.
1504 * common-src/debug.c: Ditto.
1505 * common-src/file.c: Ditto.
1506 * common-src/security.c: Ditto.
1507 * recover-src/amrecover.c: Ditto.
1508 * recover-src/extract_list.c: Ditto.
1509 * recover-src/set_commands.c: Ditto.
1510 * recover-src/uparse.y: Ditto.
1511 * recover-src/uscan.l: Ditto.
1512 * server-src/amcheck.c: Ditto.
1513 * server-src/amindexd.c: Ditto.
1514 * server-src/amlabel.c: Ditto.
1515 * server-src/amlogroll.c: Ditto.
1516 * server-src/amtape.c: Ditto.
1517 * server-src/amtrmidx.c: Ditto.
1518 * server-src/amtrmlog.c: Ditto.
1519 * server-src/changer.c: Ditto.
1520 * server-src/conffile.c: Ditto.
1521 * server-src/diskfile.c: Ditto.
1522 * server-src/driver.c: Ditto.
1523 * server-src/driverio.c: Ditto.
1524 * server-src/dumper.c: Ditto.
1525 * server-src/find.c: Ditto.
1526 * server-src/getconf.c: Ditto.
1527 * server-src/holding.c: Ditto.
1528 * server-src/logfile.c: Ditto.
1529 * server-src/planner.c: Ditto.
1530 * server-src/reporter.c: Ditto.
1531 * server-src/tapefile.c: Ditto.
1532 * server-src/taper.c: Ditto.
1534 2002-12-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1536 * amplot/amplot.awk: Many fix.
1538 2002-12-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1540 * server-src/planner.c (promote_highest_priority_incremental): Promote
1541 a disk > balanced size if no full today. Do not promote a disk it's
1542 the only disk due that day and no full today.
1544 2002-12-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1545 Patch by Brad Roberts <braddr@puremagic.com>
1547 * server-src/amflush.c: Remove 2 redundant amfree call after remove_sl.
1548 * server-src/holding.c (get_flush): Ditto.
1550 2002-12-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1552 * server-src/conffile.c: New taperalgo configuration keyword.
1553 * server-src/conffile.h: Ditto.
1554 * man/amanda.8.in: Document it.
1555 * server-src/driver.c (startaflush): New function to start a flush to
1558 2002-12-23 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1560 * server-src/amstatus.pl.in: Parse features from PORT-WRITE line.
1562 2002-12-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1564 Don't use the G flag for samba backup restore by tar.
1565 * recover-src/extract_list.c (enum dumptypes): Add IS_SAMBA_TAR.
1566 * recover-src/extract_list.c (extract_files_child): Set dumptype to
1567 IS_SAMBA_TAR if it's a SAMBA backup. Don't pass the G flag to tar
1568 if it's IS_SAMBA_TAR.
1570 2002-12-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1572 * amplot/amplot.awk: Parse line with features, parse ENDFLUSH line.
1574 2002-12-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1576 * server-src/planner.c (promote_highest_priority_incremental): Newer
1577 algorithm that reduce the number of level 0 by hosts on a single day.
1579 2002-12-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1581 * amplot/amplot.awk: Parse newer log lines.
1583 2002-12-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1585 * client-src/selfcheck.c: Typo.
1587 2002-12-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1589 * server-src/reporter.c (output_stats): Typo.
1591 2002-12-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1593 * server-src/reporter.c: Print an usage by tape.
1595 2002-12-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1597 * tape-src/tapeio.c (do_read): Init count to 0.
1599 2002-12-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1601 * tape-src/Makefile.am: Install tapetype program as amtapetype.
1602 * docs/TAPETYPES: Change for amtapetype.
1603 * man/amtapetype.8.in: New man page
1604 * man/Makefile.am: Install it.
1605 * configure.in (AC_CONFIG_FILES): Add man/amtapetype.8.
1607 2002-12-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1609 * tape-src/ammt.c (optind): Add prototype.
1610 * tape-src/amdd.c (optind): Add prototype.
1612 2002-12-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1614 * common-src/arglist.h (printf_arglist_function,
1615 printf_arglist_function1, printf_arglist_function2): Define if
1616 STDC_HEADERS is not defined.
1618 2002-12-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1620 * server-src/amstatus.pl.in: New --date option to display datestamp.
1621 * server-src/amstatus.pl.in: Increase some field size.
1622 * server-src/amstatus.pl.in: The host field adjust it's length to the
1625 2002-11-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1627 * common-src/amanda.h (days_diff): Don't add a half day.
1628 * server-src/amadmin.c: Fix for newer days_diff.
1629 * server-src/planner.c: Fix for newer days_diff.
1631 2002-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1633 * tape-src/tapetype.c: Cast time_t to long for printing.
1635 2002-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1637 * server-src/amflush.c: Write a "amflush: start at ???" line.
1638 * server-src/amstatus.pl.in: parse the "amflush: start at ???" line.
1640 2002-11-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1642 * server-src/planner.c (delay_dumps): Use ap_snprintf.
1644 2002-11-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1646 * common-src/debug.c: Most of the code must in #ifdef DEBUG_CODE.
1647 * client-src/client_util.c: Use AMANDA_TMPDIR instead of AMANDA_DBGDIR.
1649 2002-11-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1651 * docs/TAPE.CHANGERS: Sync with 2.5.0
1652 * changer-src/chg-juke.sh.in: New changer from 2.5.0
1653 * changer-src/chg-rait.sh.in: New changer from 2.5.0
1654 * changer-src/chg-null.sh.in: New changer from 2.5.0
1655 * changer-src/Makefile.am: Install them.
1656 * configure.in (AC_CONFIG_FILES): Add chg-juke.sh.in, chg-rait.sh.in and
1659 2002-11-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1661 * server-src/amadmin.c: Cleanup.
1663 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1665 * man/amadmin.8.in: Document new --days option of balance subcommand.
1667 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1669 * server-src/amadmin.c (days_diff): Make next_level0 more acurate.
1670 * server-src/amadmin.c (balance): Improve output.
1672 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1674 * recover-src/extract_list.c: Add Retry and Skip command to amrecover.
1676 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1678 * tape-src/output-tape.c (tape_tapefd_fsf): Must not be static.
1680 2002-11-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1682 * server-src/reporter.c: Fix for LPRCMD not defined.
1684 2002-11-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1685 Patch by Orion Poplawski <orion@colorado-research.com>
1687 * server-src/planner.c (delay_dumps): Add the estimate size to all call
1690 2002-11-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1692 * server-src/reporter.c: Increase width of some field.
1694 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1696 * changer-src/scsi-solaris.c (SCSI_ExecuteCommand): Init ret to 0.
1698 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1700 * recover-src/extract_list.c (delete_file): j is int.
1701 * changer-src/scsi-defs.h (B, B1): Check if already defined.
1702 * server-src/taper.c: Some cast to int.
1703 * tape-src/amdd.c (read_func, write_func): Complete prototype.
1704 * tape-src/tapeio.h (tapefd_read, tapefd_write): return ssize_t,
1705 third argument is size_t.
1706 * tape-src/tapeio.c: Ditto.
1707 * tape-src/output-file.h (file_tapefd_read, file_tapefd_write): return
1708 ssize_t, third argument is size_t.
1709 * tape-src/output-file.c: Ditto.
1710 * tape-src/output-null.h (null_tapefd_read, null_tapefd_write): return
1711 ssize_t, third argument is size_t.
1712 * tape-src/output-null.c: Ditto.
1713 * tape-src/output-rait.h (rait_read, rait__write): return ssize_t,
1714 third argument is size_t.
1715 * tape-src/output-rait.c: Ditto.
1716 * tape-src/output-tape.h (tape_tapefd_read, tape_tapefd_write): return
1717 ssize_t, third argument is size_t.
1718 * tape-src/output-tape.c: Ditto.
1720 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1722 * configure.in: socklen_t default to int.
1723 * common-src/dgram.c (dgram_recv): addrlen is socklen_t.
1724 * common-src/stream.c (stream_server): len is socklen_t.
1725 * recover-src/extract_list.c (add_file): j is int.
1727 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1729 * client-src/client_util.c (test_name_len) Remove variable.
1730 * common-src/match.c (len_prefix): Change type to int.
1731 * server-src/taper.c: Use %p to print pointer.
1732 * tape-src/amdd.c (read_func, write_func):Change return type to ssize_t.
1733 * tape-src/amdd.c (debug): Renamed to debug_amdd.
1734 * tape-src/ammt.c (debug): Renamed to debug_ammt.
1736 2002-11-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1738 * restore-src/amidxtaped.c: Fix restore from file.
1740 2002-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1742 * restore-src/amidxtaped.c: Fix newline in string literal.
1744 2002-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1746 * server-src/conffile.c (maxdumpsize): New option.
1747 * server-src/conffile.h: Ditto.
1748 * server-src/planner.c: Use maxdumpsize if set.
1749 * example/amanda.conf.in: Document it.
1750 * man/amanda.8.in: Document it.
1752 2002-11-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1754 * common-src/amfeatures.h (fe_amidxtaped_fsf, fe_amidxtaped_label,
1755 fe_amidxtaped_device, fe_amidxtaped_host, fe_amidxtaped_disk,
1756 fe_amidxtaped_datestamp, fe_amidxtaped_header, fe_amidxtaped_nargs,
1757 fe_amidxtaped_config): New features.
1758 * common-src/amfeatures.c (am_init_feature_set): Set new features.
1759 * recover-src/extract_list.c: Send new protocol data to amidxtaped.
1760 * restore-src/Makefile.am: amidxtaped.c need libamserver.
1761 * restore-src/amidxtaped.c: Read new protocol data from amrecover.
1762 * restore-src/amidxtaped.c: Use new configuration options.
1763 * server-src/conffile.c (conf_amrecover_do_fsf,
1764 conf_amrecover_check_label, conf_amrecover_changer): New config.
1765 * server-src/conffile.h: New config options.
1766 * example/amanda.conf.in: Document them.
1767 * man/amanda.8.in: Document them.
1769 2002-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1771 * autogen: touch config/config.h.in
1772 * configure.in: Patch from autoupdate-2.53 and LIBOBJS.
1773 * common-src/Makefile.am: Build versuff.o before version.o
1774 * recover-src/Makefile.am: Remove work around for automake-1.2
1776 2002-11-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1778 * configure.in: Remove --disable-libtool.
1779 * */Makefile.am: Remove WANT_LIBTOOL.
1781 2002-11-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1783 * changer-src/chg-scsi.c (config_name, config_dir): Remove declaration.
1784 * server-src/amadmin.c: Ditto.
1785 * server-src/amcheck.c: Ditto.
1786 * server-src/amcleanupdisk.c: Ditto.
1787 * server-src/amflush.c: Ditto.
1788 * server-src/amindexd.c: Ditto.
1789 * server-src/amlabel.c: Ditto.
1790 * server-src/amlogroll.c: Ditto.
1791 * server-src/amtape.c: Ditto.
1792 * server-src/amtrmidx.c: Ditto.
1793 * server-src/amtrmlog.c: Ditto.
1794 * server-src/diskfile.c: Ditto.
1795 * server-src/driver.c: Ditto.
1796 * server-src/dumper.c: Ditto.
1797 * server-src/getconf.c: Ditto.
1798 * server-src/planner.c: Ditto.
1799 * server-src/reporter.c: Ditto.
1800 * server-src/taper.c: Ditto.
1801 * server-src/conffile.c: (config_name, config_dir): Add declaration.
1803 2002-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1805 * man/amrestore.8: Amrestore doesn't use a changer.
1807 2002-11-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1809 * configure.in (SHELL): Don't set it, libtool do it.
1811 2002-10-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1813 * config/ltmain.sh, config/libtool.m4i: Update from libtool 1.4.3.
1815 2002-10-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1817 * restore-src/amrestore.c: New '-l <label>' flag, Do a rewind and
1818 check the label before restoring.
1819 * man/amrestore.8: Document -l flag.
1821 2002-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1823 * configure.in (AM_HAVE_MT_FLAGS, AM_HAVE_MT_FILENO, AM_HAVE_MT_BLKNO,
1824 AM_HAVE_MT_DSREG,AM_HAVE_MT_ERREG): Rename to HAVE_MT_FLAGS,
1825 HAVE_MT_FILENO, HAVE_MT_BLKNO, HAVE_MT_DSREG and HAVE_MT_ERREG.
1826 * tape-src/output-tape.c: Ditto.
1828 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1829 Undo patch of 2002-10-24. They are needed by amrecover.
1831 * client-src/getfsent.h (open_fstab, close_fstab, get_fstab_nextentry,
1832 is_local_fstype): Add Prototype.
1833 * client-src/getfsent.c (open_fstab, close_fstab, get_fstab_nextentry,
1834 is_local_fstype): remove Prototype.
1836 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1837 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
1839 * tape-src/tapetype.c: Detects and warns the user if the tape drive
1840 has hardware compression enabled.
1842 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1844 * restore-src/amrestore.c: New '-f <fileno>' flag, Do a rewind and
1845 'fsf <fileno>' if -f is set.
1846 * man/amrestore.8: Document -f flag.
1848 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1850 * common-src/amfeatures.h (fe_amindexd_fileno_in_OLSD,
1851 fe_amindexd_fileno_in_ORLD): New amfeatures.
1852 * common-src/amfeatures.c (am_init_feature_set): Set
1853 fe_amindexd_fileno_in_OLSD and fe_amindexd_fileno_in_ORLD.
1854 * recover-src/amrecover.h (struct DIR_ITEM): Add fileno.
1855 * recover-src/display_commands.c (add_dir_list_item): Set fileno
1857 * recover-src/display_commands.c (suck_dir_list_from_server): Read
1858 fileno if fe_amindexd_fileno_in_OLSD is set.
1859 * recover-src/extract_list.c (struct EXTRACT_LIST): Add fileno.
1860 * recover-src/extract_list.c (add_file): Read fileno if
1861 fe_amindexd_fileno_in_ORLD is set.
1862 * recover-src/extract_list.c (delete_file): Read fileno if
1863 fe_amindexd_fileno_in_ORLD is set.
1864 * server-src/amindexd.c (opaque_ls): Write fileno if
1865 fe_amindexd_fileno_in_OLSD or fe_amindexd_fileno_in_ORLD are set.
1867 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1868 Patch by Doug Kingston <dpk@pobox.com>
1870 * configure.in (NEED_PATH_ENV, IGNORE_UID_CHECK, IGNORE_FSTAB,
1871 DONT_SUID_ROOT): Defined if on *-pc-cygwin.
1872 * client-src/Makefile.am: Fix for cygwin.
1873 * client-src/getfsent.c: Don't use fstab if IGNORE_FSTAB.
1874 * client-src/killpgrp.c: Don't suid(0) if DONT_SUID_ROOT.
1875 * client-src/rundump.c: Don't suid(0) if DONT_SUID_ROOT.
1876 * client-src/runtar.c: Don't suid(0) if DONT_SUID_ROOT.
1877 * client-src/selfcheck.c (check_suid): Don't check uid if
1879 * common-src/alloc.c (safe_env): Add PATH to ENV if NEED_PATH_ENV.
1880 * recover-src/amrecover.c: Don't check uid if IGNORE_UID_CHECK.
1882 2002-10-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1884 * client-src/getfsent.h (open_fstab, close_fstab, get_fstab_nextentry,
1885 is_local_fstype): Remove Prototype.
1886 * client-src/getfsent.c (open_fstab, close_fstab, get_fstab_nextentry,
1887 is_local_fstype): Add Prototype.
1889 2002-10-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1891 * server-src/amindexd.c: New FEATURES command that read the features
1892 set from the client and reply the features set of the server.
1893 * recover-src/amrecover.h: include "amfeatures.h"
1894 * recover-src/amrecover.c: Send the FEATURES command to the server
1895 and read it's features set.
1897 2002-10-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1899 * client-src/Makefile.am: Work around for CYGWIN.
1900 * server-src/Makefile.am: Ditto.
1902 2002-10-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1904 * configure.in: Remove empty command from $program_transform_name.
1906 2002-10-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1908 * recover-src/extract_list.c (READ_TIMEOUT): Increased to 240*60.
1910 2002-10-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1912 * Amanda 2.4.3 released.
1913 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.3).
1915 2002-09-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1917 * client-src/getfsent.c (open_fstab): Check if MNTTAB is defined.
1919 2002-09-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1921 * NEWS: Changes in release 2.4.3.
1923 2002-09-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1925 * server-src/amverifyrun.sh.in: New program.
1926 * man/amverifyrun.8.in: Man page for amverifyrun.
1927 * configure.in (AC_OUTPUT): add man/amverifyrun.8 and
1928 server-src/amverifyrun.sh.
1929 * man/Makefile.am (SERVER_MAN_PAGES): Add amverifyrun.8.
1930 * man/amanda.8.in: Add amdd, ammt and amverifyrun in SEE ALSO.
1931 * man/amverify.8.in: Add amverifyrun(8) in SEE ALSO.
1932 * server-src/Makefile.am (sbin_SCRIPTS): Add amverifyrun.
1934 2002-09-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1936 * server-src/amverify.sh.in: Accept runtapes as a third argument.
1937 * man/amverify.8.in: Document it.
1939 2002-09-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1941 * config/missing: Updated from automake-1.5.
1943 2002-09-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1945 * config/config.guess: Updated from ftp://ftp.gnu.org/gnu/config/
1946 * config/config.sub: Updated from ftp://ftp.gnu.org/gnu/config/
1948 2002-09-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1950 * client-src/sendsize.c (getsize_dump): Print the fstype.
1951 * client-src/sendbackup-dump.c (start_backup): Print the fstype.
1953 2002-09-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1954 Patch by Florian Hars <hars@bik-gmbh.de>
1956 * changer-src/chg-zd-mtx.sh.in: Fix default value for cleancycle.
1958 2002-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1960 * recover-src/extract_list.c (extract_files): print tape drive
1961 and host before asking to load tape.
1963 2002-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1965 * server-src/taper.c (read_file): Initialize file,
1966 stat(file.cont_filename) before opening it.
1968 2002-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1970 * server-src/amverify.sh.in: Don't check that the device is
1971 a character device, it could be a file: or rait:
1973 2002-09-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1975 * common-src/amfeatures.c (am_set_default_feature_set):
1976 fe_rep_options_sendbackup_options is a default feature.
1978 2002-09-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1980 * server-src/amstatus.pl.in: Sort a disk in datestamp order.
1982 2002-09-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1983 Text by Jean-Francois Malouin <Jean-Francois.Malouin@bic.mni.mcgill.ca>
1985 * docs/EXCLUDE: Improve documentation.
1987 2002-09-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1989 * server-src/reporter.c: Fix compilation error if LPRCMD is not defined.
1991 2002-08-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1993 * Amanda 2.4.3b4 released.
1994 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.3b4).
1995 * NEWS: Changes in release 2.4.3b4.
1997 2002-08-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1998 Patch by Jason Brooks <jason0@mail.wrs.com>
2000 * docs/chg-scsi.notes: New document.
2001 * changer-src/chg-scsi.c: Adding printout of "emubarcode" values
2003 * changer-src/scsi-changer-driver.c: Added dlt8000 and L500 to
2005 * changer-src/sense.c: Added dlt8000 and L500 to SenseType[].
2007 2002-08-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2009 * tape-src/output-null.c (null_tape_stat, null_tape_access): Use
2010 "/dev/null" instead of filename.
2012 2002-08-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2014 * changer-src/scsi-hpux.c: Add amanda copyright.
2016 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2018 * recover-src/uparse.y: Fix compiler warning.
2020 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2022 * server-src/amtrmidx.c: Continue if a directory doesn't exist.
2024 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2026 * man/amanda.8.in (tapecycle): Improve documentation.
2028 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2030 * server-src/amstatus.pl.in: Works with features.
2032 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2034 * common-src/amfeatures.c (am_feature_to_string): Return the string
2035 "UNKNOWNFEATURE" if no features.
2036 * common-src/amfeatures.c (am_string_to_feature): Return NULL if the
2037 string is "UNKNOWNFEATURE".
2039 2002-08-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2041 * common-src/file.c (debug_agets): line_free was badly set when
2042 the buffer size in increased.
2044 2002-07-19 John R. Jackson (jrj@purdue.edu)
2046 * common-src/amanda.h: Fix bad #define.
2048 2002-07-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2049 Patch by David Munro <D.Munro@surrey.ac.uk>
2051 * common-src/sl.c (new_sl): Alloc (sl_t) instead of (sl_t *).
2053 2002-06-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2055 Jonathan R. Johnson <Jonathan.Johnson@MinnetonkaSoftware.com>
2057 * server-src/reporter.c: Fix psfname filename.
2059 2002-05-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2061 * client-src/sendbackup.c: Don't do compression if it is server side.
2062 * client-src/sendbackup-dump.c: Ditto.
2063 * client-src/sendbackup-gnutar.c: Ditto.
2065 2002-05-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2066 Patch by Manuel Bouyer <bouyer@antioche.lip6.fr>
2068 * server-src/taper.c (detach_buffers): Fix compilation with mmap.
2070 2002-04-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2072 * recover-src/extract_list.c (extract_files): Set dump_device_name
2073 after the call of okay_to_continue.
2075 2002-04-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2077 New features to describe the OPTIONS line of a REP packet.
2078 * common-src/amfeatures.h: Add fetures fe_rep_options_maxdumps,
2079 fe_rep_options_hostname, fe_rep_options_features and
2080 fe_rep_options_sendbackup_options.
2081 * common-src/amfeatures.c (am_init_feature_set): Add
2082 fe_rep_options_features.
2083 * client-src/selfcheck.c: Write REP packet according to server features.
2084 * client-src/sendbackup.c: Ditto.
2085 * client-src/sendsize.c: Ditto.
2087 2002-04-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2089 * common-src/amfeatures.h:
2090 Rename fe_g_options_maxdump to fe_req_options_maxdumps
2091 Rename fe_g_options_hostname to fe_req_options_hostname
2092 Rename fe_g_options_features to fe_req_options_features
2093 * common-src/amfeatures.c: Ditto
2094 * server-src/amcheck.c: Ditto
2095 * server-src/dumper.c: Ditto
2096 * server-src/planner.c: Ditto
2098 2002-04-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2100 * server-src/amcheck.c: Check if it can send features, hostname or
2101 maxdumps on the global options line. Don't send hostname and
2102 maxdumps for a noop service.
2103 * server-src/dumper.c: Ditto.
2104 * server-src/planner.c: Ditto.
2106 2002-04-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2108 * client-src/sendbackup.c: (optionstr): Add srvcomp-best and
2109 srvcomp-fast options.
2111 2002-04-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2113 * server-src/amcheck.c (start_host): Check the todo bit before
2116 2002-04-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2118 * client-src/client_util.c (parse_options, parse_g_options): Check
2119 for duplication options.
2120 * client-src/client_util.h (COMPR_SERVER_FAST, COMPR_SERVER_BEST):
2122 * client-src/selfcheck.c: Check for COMPR_FAST or COMPR_BEST.
2124 2002-04-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2126 * client-src/selfcheck.c (host):Remove variable,use g_options->hostname.
2127 * client-src/sendbackup.c: Ditto.
2128 * client-src/sendsize.c: Ditto.
2130 2002-04-20 Thomas Hepper <th@ant.han.de>
2131 * changer-src/scsi-aix.c: Fixed bug with the setting of the GSC driver
2132 Added detection and setting of device type tape/robot
2133 * changer-src/scsi-bsd.c: Added detection and setting of device
2135 * changer-src/scsi-cam.c: Added detection and setting of device
2137 * changer-src/scsi-hpux_new.c: Added detection and setting of device
2139 * changer-src/scsi-linux.c: Added detection and setting of device
2141 * changer-src/scsi-solaris.c: Added detection and setting of device
2143 * changer-src/scsi-irix.c: Added detection and setting of device
2145 * changer-src/scsi-changer-driver.c: Now there is an device handler
2146 for an generic tape and an generic robot.
2147 The result length from the read element status is now checked
2148 and only fields which are in this area are used.. (Some librarys
2149 retrun only 4 byte, expected are 52)
2150 * changer-src/scsi-defs.h: Fixed the some defines in
2151 ElementStatusPage_T,
2153 2002-04-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2155 * client-src/client_util.c (parse_g_options) New function to parse
2156 the global options string.
2157 * client-src/client_util.h (parse_g_options): Prototype.
2158 * client-src/selfcheck.c: use parse_g_options.
2159 * client-src/sendbackup.c: use parse_g_options.
2160 * client-src/sendsize.c: use parse_g_options.
2162 2002-04-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2164 * server-src/diskfile.c: Improve message for missing features.
2166 2002-04-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2169 * common-src/amfeatures.c (am_set_default_feature_set): New function
2170 to set the default features set.
2171 * common-src/amfeatures.h (am_set_default_feature_set): Prototype.
2172 * common-src/amfeatures.h: Rename amanda_feature_auth_keyword to
2174 * client-src/client_util.c: Check features.
2175 * server-src/amcheck.c: Ditto.
2176 * server-src/diskfile.c: Ditto.
2177 * server-src/driverio.c: Ditto.
2178 * server-src/planner.c: Ditto.
2179 * server-src/diskfile.h (optionstr): Change prototype.
2180 * client-src/sendsize.c: Fix compiler warning.
2182 2002-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2184 * common-src/amfeatures.c: Renamed from features.c
2185 * common-src/amfeatures.h: Renamed from features.h
2186 * common-src/Makefile.am: Rename features to amfeatures.
2187 * client-src/amandad.c: Ditto.
2188 * client-src/client_util.h: Ditto.
2189 * client-src/selfcheck.c: Ditto.
2190 * client-src/sendbackup.c: Ditto.
2191 * client-src/sendsize.c: Ditto.
2192 * server-src/amcheck.c: Ditto.
2193 * server-src/diskfile.h: Ditto.
2194 * server-src/dumper.c: Ditto.
2195 * server-src/planner.c: Ditto.
2196 * server-src/taper.c: Ditto.
2198 2002-04-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2200 * server-src/conffile.c: Default dumporder set to "ttt".
2201 * server-src/driver.c: If dumporder is too short, use t and T.
2202 * man/amanda.8.in: Default dumporder set to "ttt".
2204 2002-04-13 John R. Jackson (jrj@purdue.edu)
2206 * common-src/features.c: Add amanda_feature_auth_keyword feature so
2207 authorization in the OPTIONS string is backward compatible.
2208 * common-src/features.h: Ditto.
2209 * client-src/client_util.c: Ditto.
2210 * client-src/client_util.h: Ditto.
2211 * client-src/selfcheck.c: Ditto.
2212 * client-src/sendbackup.c: Ditto.
2213 * client-src/sendsize.c: Ditto.
2214 * server-src/diskfile.c: Ditto.
2216 2002-04-13 John R. Jackson (jrj@purdue.edu)
2218 * server-src/diskfile.c: Fix memory leak.
2220 2002-04-13 John R. Jackson (jrj@purdue.edu)
2222 * common-src/features.c: New file. Add support for feature sets so
2223 different Amanda versions can work together.
2224 * common-src/features.h: Ditto.
2225 * common-src/Makefile.am: Ditto. Add "features" test program.
2226 * client-src/amandad.c: Add "noop" service to return the feature set.
2227 * client-src/selfcheck.c: Accept and return a feature set in OPTIONS.
2229 * client-src/sendbackup.c: Ditto.
2230 * client-src/sendsize.c: Ditto.
2231 * common-src/error.c: Use strcasecmp.
2232 * common-src/protocol.c: Use dbprintf for PROTO_DEBUG and improve
2233 messages. Improve parsing.
2234 * common-src/security.c: Improve parsing.
2235 * server-src/amcheck.c: Ask for client features via "noop" before
2236 doing the real "selfcheck" service requests. Improve parsing.
2237 * server-src/amflush.c: Minor coding format cleanup.
2238 * server-src/diskfile.c: Initialize the features hosttype field.
2239 * server-src/diskfile.h: Add the features hosttype field.
2240 * server-src/driver.c: Save the features from the schedule. Clean
2241 up some error messages.
2242 * server-src/driverio.c: Add features string to several commands.
2243 * server-src/dumper.c: Deal with features string in commands. Improve
2245 * server-src/planner.c: Ask for client features via "noop" before
2246 doing the real "sendsize" service requests. Improve parsing.
2247 * server-src/server_util.c: Minor coding cleanup.
2248 * server-src/server_util.h: Increase the number of args allowed on
2250 * server-src/taper.c: Deal with features string in commands. Improve
2253 2002-04-11 John R. Jackson (jrj@purdue.edu)
2255 * common-src/stream.c: Clean up an error message.
2257 2002-04-09 John R. Jackson (jrj@purdue.edu)
2259 * server-src/driver.c: Fix send of QUIT to taper when it is down.
2261 2002-04-07 John R. Jackson (jrj@purdue.edu)
2263 * server-src/reporter.c: Move column routines to conffile.c so amcheck
2264 can use them in its tests. Do not abort on several failures, but
2265 generate messages in the FAILURE AND STRANGE DUMP SUMMARY section.
2266 * server-src/conffile.c: Move column routines to here.
2267 * server-src/conffile.h: Ditto.
2268 * server-src/amcheck.c: Add several config file tests.
2269 * server-src/logfile.c: Change "reporter" to "amreport".
2271 2002-04-07 John R. Jackson (jrj@purdue.edu)
2273 * configure.in: Add /usr/local/sbin to LOCPATH.
2275 2002-03-31 John R. Jackson (jrj@purdue.edu)
2277 * server-src/amcheck.c: Send maxdumps and hostname in packet OPTIONS.
2279 2002-03-31 John R. Jackson (jrj@purdue.edu)
2281 * changer-src/scsi-defs.h: Fix compiler warning and bug it was hiding.
2282 * changer-src/scsi-solaris.c: Ditto.
2284 2002-03-31 John R. Jackson (jrj@purdue.edu)
2286 * client-src/amandad.c: Add relative timestamps to a lot of debug
2287 file messages, and add more messages, to better track what is
2288 going on. Various general cleanup.
2289 * client-src/calcsize.c: Ditto.
2290 * client-src/client_util.c: Ditto.
2291 * client-src/selfcheck.c: Ditto.
2292 * client-src/sendbackup-dump.c: Ditto.
2293 * client-src/sendbackup-gnutar.c: Ditto.
2294 * client-src/sendbackup.c: Ditto.
2295 * client-src/sendbackup.h: Ditto.
2296 * client-src/sendsize.c: Ditto.
2297 * common-src/Makefile.am: Ditto.
2298 * common-src/amanda.h: Ditto.
2299 * common-src/clock.c: Ditto.
2300 * common-src/clock.h: Ditto.
2301 * common-src/debug.c: Ditto.
2302 * common-src/dgram.c: Ditto.
2303 * common-src/error.c: Ditto.
2304 * common-src/pipespawn.c: Ditto.
2305 * common-src/security.c: Ditto.
2306 * common-src/stream.c: Ditto.
2307 * common-src/util.c: Ditto.
2308 * man/amanda.8.in: Ditto.
2309 * restore-src/amidxtaped.c: Ditto.
2310 * restore-src/amrestore.c: Ditto.
2311 * server-src/amindexd.c: Ditto.
2312 * server-src/getconf.c: Ditto.
2313 * server-src/planner.c: Ditto.
2315 2002-03-31 John R. Jackson (jrj@purdue.edu)
2317 * client-src/sendsize.c: Pay attention to the spindle number.
2319 2002-03-30 John R. Jackson (jrj@purdue.edu)
2321 * server-src/planner.c: General delay_dumps code cleanup.
2323 2002-03-30 John R. Jackson (jrj@purdue.edu)
2325 * server-src/planner.c: Make sure individual dumps larger than a tape
2326 are not added back into the schedule. Found by Uncle George
2327 <gatgul@voicenet.com>.
2329 2002-03-29 John R. Jackson (jrj@purdue.edu)
2331 * man/amanda.8.in: Move "comment" in tapetype after inclusion of
2332 previous definition. Found by Uncle George <gatgul@voicenet.com>.
2334 2002-03-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2336 * client-src/client_util.c (fixup_relative): New function to prepend
2337 the dirname if relative.
2338 * client-src/client_util.c (build_exclude, build_include): Use
2340 * client-src/client_util.c (parse_options): Do not prepend the dirname.
2341 * client-src/selfcheck.c (check_options): Don't generate ERROR for samba
2344 2002-03-24 John R. Jackson (jrj@purdue.edu)
2346 * common-src/debug.c: Change dbopen() message slightly to match what
2347 amdump generates, making it easier to parse.
2349 2002-03-24 John R. Jackson (jrj@purdue.edu)
2351 * common-src/Makefile.am: Move clock routines to common-src so
2352 everyone may use them.
2353 * server-src/Makefile.am: Ditto.
2355 2002-03-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2357 * client-src/sendbackup-gnutar.c: Fix use of no_record.
2359 2002-03-24 Thomas Hepper ( th@ant.han.de)
2360 * changer-src/chg-scsi-chio.c: Fixed problems introduced by the agets change
2361 * client-src/sendbackup-dump.c: Fixed compile problem on AIX, no_record
2362 is no longeer defined, ist is now options->no_record.
2364 2002-03-24 John R. Jackson (jrj@purdue.edu)
2366 * client-src/amandad.c: Make sure argv[0] is valid before using it.
2367 * restore-src/amidxtaped.c: Ditto.
2368 * server-src/amindexd.c: Ditto.
2370 2002-03-24 John R. Jackson (jrj@purdue.edu)
2372 * client-src/client_util.c: Use the Amanda memory allocation code.
2373 * client-src/sendbackup-gnutar.c: Ditto.
2374 * client-src/sendsize.c: Ditto.
2375 * common-src/match.c: Ditto.
2376 * recover-src/amrecover.c: Ditto.
2377 * recover-src/display_commands.c: Ditto.
2378 * recover-src/extract_list.c: Ditto.
2379 * restore-src/amidxtaped.c: Ditto.
2380 * server-src/amflush.c: Ditto.
2381 * server-src/disk_history.c: Ditto.
2382 * server-src/driver.c: Ditto.
2383 * server-src/dumper.c: Ditto.
2384 * server-src/list_dir.c: Ditto.
2385 * common-src/amanda.h: Always pass the source file and line number
2386 to the memory routines to make it easier to debug.
2387 * common-src/alloc.c: Ditto.
2388 * common-src/file.c: Ditto.
2389 * common-src/dgram.c: Ditto.
2390 * common-src/dgram.h: Ditto.
2392 2002-03-24 Thomas Hepper ( th@ant.han.de)
2393 * changer-src/chg-scsi.c: Fixed problems introduced by the agets change
2394 * changer-src/chg-scsi.c (MapBarCode): Fixed error in eof handling
2395 eof was not correctly detected, now use the feof function.
2396 * changer-src/scsi-aix.c (SCSI_OS_Version()): New function to print
2398 * changer-src/scsi-aix.c: same as above
2399 * changer-src/scsi-cam.c: same as above
2400 * changer-src/scsi-hpux_new.c: same as above
2401 * changer-src/scsi-irix.c: same as above
2402 * changer-src/scsi-linux.c: same as above
2403 * changer-src/scsi-solaris.c: same as above
2404 * changer-src/scsi-changer-driver.c (DLT448ElementStatus()): Fixed
2405 error messages. Fixed some errors with the barcode handling.
2407 2002-03-23 John R. Jackson (jrj@purdue.edu)
2409 * changer-src/chg-scsi-chio.c: Use agets instead of fgets.
2410 * changer-src/chg-scsi.c: Use agets instead of fgets.
2411 * client-src/client_util.c: Use agets instead of fgets.
2412 * recover-src/amrecover.c: Clean up output on EOF.
2413 * recover-src/extract_list.c: Use agets instead of direct stdio.
2414 Clean up output on EOF. Add '?' help.
2415 * recover-src/set_commands.c: Quote the new device in the verify
2416 output to make it stand out.
2417 * server-src/amflush.c: Clean up output on EOF. Clean up output
2418 when multiple holding disk areas selected. Clean up parsing.
2419 Loop until valid user response.
2420 * server-src/find.c: Do not complain if log file is missing for
2421 a new (datestamp == 0) tape.
2422 * server-src/holding.c: Use agets instead of fgets. Clean up
2423 interactive input and output.
2425 2002-03-23 John R. Jackson (jrj@purdue.edu)
2427 * client-src/selfcheck.c: Fix a compiler warning.
2428 * client-src/sendbackup.c: Ditto.
2429 * client-src/sendsize.c: Ditto.
2431 2002-03-23 John R. Jackson (jrj@purdue.edu)
2433 * client-src/getfsent.c (close_fstab()): Call endfsent() instead
2434 of fclose(), if available.
2436 2002-03-23 John R. Jackson (jrj@purdue.edu)
2438 * common-src/dbprintf (debug_printf): Make sure errno is preserved
2439 across dbprint() calls.
2441 2002-03-23 John R. Jackson (jrj@purdue.edu)
2443 * configure.in: Add -R$dir as well as -L$dir on Solaris when processing
2444 --with-libraries to support shared libraries of support products.
2446 2002-03-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2448 * server-src/tapefile.c (write_tapelist): Write to a temp file and
2450 * server-src/amlabel.c: Do not rename the tapelist file.
2451 * server-src/taper.c (label_tape): Do not rename the tapelist file.
2453 2002-03-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2455 * client-src/client_util.c (parse_options): Do not check if the
2456 exclude file exist, it's done later.
2458 2002-03-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2460 * client-src/client_util.c (parse_options): Parse exclude-optional and
2462 * client-src/client_util.h (option_t): New exclude_optional and
2463 include_optional field.
2464 * man/amanda.8.in: Document optional.
2465 * server-src/amadmin.c (disklist_one): Display optional.
2466 * server-src/conffile.c: Parse optional keyword.
2467 * server-src/conffile.h (dumptype_t): New exclude_optional and
2468 include_optional field.
2469 * server-src/diskfile.c (read_diskline): Copy optional bits.
2470 * server-src/diskfile.c (optionstr): Print optional bits.
2471 * server-src/diskfile.h (disk_t): New exclude_optional and
2472 include_optional field.
2473 * server-src/planner.c (getsize): Use new sendsize format if optional
2476 2002-03-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2478 * server-src/driver.c (dump_to_tape): Call start_degraded_mode() if
2481 2002-03-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2483 * recover-src/extract_list.c (extract_files_setup): Add ^$ to host.
2485 2002-03-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2486 Patch from Michael Frankowski <mfrankow@winternet.com>
2488 * client-src/sendbackup-gnutar.c: Test for subdir before dbprintf.
2490 2002-03-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2492 * client-src/client_util.c (init_options): New function.
2493 * client-src/client_util.h (init_options): Prototype.
2494 * client-src/sendsize.c (main): Use init_options.
2496 2002-03-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2498 * client-src/client-util.c: Check for include and exclude files.
2500 2002-03-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2502 * server-src/amstatus.pl.in: Fix.
2503 * server-src/conffile.c(get-compress): Change message for bad
2506 2002-03-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2508 * server-src/amstatus.pl.in: Fix.
2510 2002-03-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2512 * client-src/sendbackup-dump.c: use amdevice as argument to
2515 2002-03-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2517 * Amanda 2.4.3b3 released
2518 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.3b3)
2520 2002-03-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2522 * ReleaseNotes: New file.
2523 * NEWS: New item for 2.4.3b3.
2525 2002-03-07 John R. Jackson (jrj@purdue.edu)
2527 * changer-src/chg-zd-mtx.sh.in: Allow whitespace on a VolumeTag line.
2528 Compliments of Christopher McCrory <chrismcc@pricegrabber.com>.
2530 2002-03-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2532 * recover-src/amrecover.h (list_disk): Prototype.
2533 * recover-src/set_commands.c (list_disk): New function.
2534 * recover-src/uparse.y: parse LISTDISK.
2535 * recover-src/uscan.l: listdisk keyword.
2536 * recover-src/help.c: help for listdisk.
2537 * man/amrecover.8.in: Doc for listdisk.
2538 * server-src/amindexd.c: New LISTDISK command.
2539 * docs/INDEXING: Document LISTDISK command.
2541 2002-03-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2543 * server-src/amstatus.pl.in: Better output for autoflush.
2545 2002-03-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2547 * server-src/amstatus.pl.in: Fix.
2549 2002-03-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2551 * server-src/amadmin.c (disklist_one): Print dp->device.
2552 * server-src/amcheck.c (start_host): Send device if specified.
2553 * server-src/amstatus.pl.in: Parse line with device.
2554 * server-src/diskfile.c (parse_diskline): Parse device.
2555 * server-src/diskfile.c (match_disklist): Match on device.
2556 * server-src/diskfile.h (disk_t): New field device.
2557 * server-src/driverio.c: (dumper_cmd): Send device.
2558 * server-src/dumper.c (main): Parse device in request.
2559 * server-src/dumper.c (start_dump): New device argument, send
2561 * server-src/planner.c (getsize): Send device to client.
2562 * server-src/server_util.h (MAX_ARGS): Set it to 12.
2563 * client-src/client_util.c (add_include, build_exclude, build_include,
2564 parse_options): New device argument.
2565 * client-src/client_util.h (build_exclude,build_include,parse_options):
2567 * client-src/selfcheck.c: Use device.
2568 * client-src/sendbackup-dump.c: Use device.
2569 * client-src/sendbackup-gnutar.c: Use device.
2570 * client-src/sendbackup.c: Use device.
2571 * client-src/sendbackup.h (start_backup): New device argument.
2572 * client-src/sendsize.c: Use device.
2573 * man/amanda.8.in: Document new disklist syntax.
2574 * example/disklist: Give example.
2576 2002-03-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2578 * server-src/amstatus.pl.in: Write "wait to flush" only if waittaper
2581 2002-03-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2583 * server-src/amstatus.pl.in: Fix for failed tape.
2585 2002-02-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2587 * man/amanda.8.in: Document multiple exclude.
2588 * man/amanda.8.in: Document include.
2590 2002-02-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2592 * client-src/client-util.c (add_include): Include are glob expression.
2594 2002-02-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2596 * common-src/debug.c (debug_open); Don't try to renmae an already
2599 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2601 * server-src/conffile.c (dump_configuration): Print multiple
2602 exclude and include.
2604 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2606 * client-src/client_util.c (add_exclude, add_include): Typo.
2608 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2610 * client-src/client_util.c (build_include, build_exclude): Fix for
2613 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2615 * client-src/client_util.c (get_name): Create a file name.
2616 * client-src/client_util.c (build_name): Remove old files,
2617 build an unused file name.
2618 * client-src/client_util.c (add_exclude): Add an exclude pattern to
2620 * client-src/client_util.c (add_include): Add an include to the
2622 * client-src/client_util.c (build_exclude): Concat all excludes in
2624 * client-src/client_util.c (build_include): Concat all includes in
2626 * client-src/client_util.h (build_exclude, build_include): Prototype.
2627 * client-src/selfcheck.c.diff (check_options): Call build_exclude
2629 * client-src/sendsize.c.diff: Call gtar with one
2630 exclude file/include file.
2631 * client-src/sendbackup-gnutar.c.diff: Call gtar with one
2632 exclude file/include file.
2634 2002-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2636 * common-src/amanda.h (amfree): Change e local variable to e__errno.
2637 * common-src/amanda.h (strappend): Change t local variable to t_t_t.
2639 2002-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2641 * client-src/sendsize.c: Set include_file and include_list to NULL
2642 when using old protocol.
2643 * client-src/sendbackup-gnutar.c: Include "." when using old protocol.
2645 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2647 * server-src/conffile.h (dumptype_t): Add include_file and include_list.
2648 * server-src/conffile.c: Read include.
2649 * server-src/diskfile.h (disk_t): Add include_file and include_list.
2650 * server-src/diskfile.c (optionstr): Add include to the optionstr.
2651 * server-src/amadmin.c (disklist_one): Print include.
2652 * server-src/planner.c: Use new protocol if include is used.
2653 * client-src/client_util.h (option_t): Add include_file and include_list
2654 * client-src/client_util.c (parse_options): Parse include.
2655 * client-src/selfcheck.c (check_options): Print ERROR if include are
2656 used for SAMBA or DUMP.
2657 * client-src/sendsize.c: Send include to gnutar.
2658 * client-src/sendbackup-gnutar.c: Send include to gnutar.
2660 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2662 * client-src/client_util.c (parse_options): Check that files from
2663 'exclude list' exist'.
2664 * client-src/selfcheck.c (check_options): Give ERROR if multiple
2665 exclude are used with samba or if exclude are used with DUMP.
2667 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2669 * client_src/client_util.c (parse_options): Function to parse
2671 * client_src/client_util.h (parse_options): Prototype.
2672 * client_src/client_util.h (option_t): Struct for options.
2673 * client_src/Makefile.am: Compile client_util.
2674 * client_src/selfcheck.c: Use new option_t and multiple exclude.
2675 * client_src/sendbackup.h: Use new option_t and multiple exclude.
2676 * client_src/sendbackup.c: Use new option_t and multiple exclude.
2677 * client_src/sendbackup-dump.c: Use new option_t and multiple exclude.
2678 * client_src/sendbackup-gnutar.c: Use new option_t and multiple exclude.
2679 * client_src/sendsize.c: Use new option_t and multiple exclude.
2680 * server-src/conffile.h: Use sl_t for exclude_file and exclude_list.
2681 * server-src/conffile.c: Multiple exclude.
2682 * server-src/diskfile.h: Use sl_t for exclude_file and exclude_list.
2683 * server-src/diskfile.c: Multiple exclude.
2684 * server-src/planner.c: Multiple exclude.
2686 2002-02-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2688 * common-src/pipespawn.c (pipespawnv): New funtion taking an
2690 * common-src/pipespawn.h (pipespawnv): Prototype.
2692 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2694 * server-src/holding.h: Use sl_t instead of holding_t
2695 * server-src/holding.c: Ditto.
2696 * server-src/amcleanupdisk.c: Ditto.
2697 * server-src/amflush.c: Ditto.
2698 * server-src/find.c: Ditto.
2699 * server-src/planner.c: Ditto.
2701 2002-02-11 John R. Jackson (jrj@purdue.edu)
2703 * configure.in: AIX needs the "other" getconf argument to find out
2704 about large file support (XBS5_ILP32_OFFBIG instead of LFS).
2706 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2708 * common-src/sl.h: New header file
2709 * common-src/sl.c: New file for list of string struct.
2710 * common-src/Makefile.am: Compile sl.c
2712 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2714 * changer-src/chg-zd-mtx.sh.in: Don't use '^' in expr match argument.
2716 2002-02-10 John R. Jackson (jrj@purdue.edu)
2718 * configure.in: Add new file-pad tapetype option to take the place
2719 of a positive/negative blocksize. Blocksize may now only be
2720 positive. File-pad defaults to "true" which pads the last tape
2721 record like it always has.
2722 * man/amanda.8.in: Ditto.
2723 * server-src/amlabel.c: Ditto.
2724 * server-src/conffile.c: Ditto. Fix typo in conffile test program.
2725 * server-src/conffile.h: Ditto.
2726 * server-src/planner.c: Ditto.
2727 * server-src/taper.c: Ditto.
2729 2002-02-10 John R. Jackson (jrj@purdue.edu)
2731 * configure.in: Save the ./configure args and display them in the
2732 version string (e.g. amandad*debug and "amadmin xx version").
2733 * common-src/genversion.c: Ditto.
2735 2002-02-10 John R. Jackson (jrj@purdue.edu)
2737 * common-src/alloc.c: Fix type mismatch issues discovered by splint
2738 (www.splint.org). Compliments of jens persson <jens@persson.cx>.
2739 * common-src/debug.c: Ditto.
2740 * common-src/dgram.c: Ditto.
2741 * common-src/file.c: Ditto.
2742 * common-src/fileheader.c: Ditto.
2743 * common-src/fileheader.h: Ditto.
2744 * common-src/getcwd.c: Ditto.
2745 * common-src/match.c: Ditto.
2746 * common-src/security.c: Ditto.
2747 * common-src/stream.c: Ditto.
2748 * common-src/strstr.c: Ditto.
2749 * common-src/token.c: Ditto.
2750 * recover-src/amrecover.c: Ditto.
2751 * recover-src/display_commands.c: Ditto.
2752 * recover-src/extract_list.c: Ditto.
2753 * recover-src/set_commands.c: Ditto.
2754 * server-src/reporter.c: Ditto.
2756 2002-02-10 John R. Jackson (jrj@purdue.edu)
2758 * changer-src/chg-zd-mtx.sh.in: Major cleanup and general overhaul.
2759 * docs/TAPE.CHANGERS: Cleanup.
2761 2002-02-09 John R. Jackson (jrj@purdue.edu)
2763 * common-src/arglist.h: Clean up gcc detection of printf style variable
2764 argument list functions.
2765 * changer-src/scsi-changer-driver.c: Ditto.
2766 * common-src/debug.c: Ditto.
2767 * common-src/error.c: Ditto.
2768 * common-src/snprintf.c: Ditto.
2769 * common-src/token.c: Ditto.
2770 * common-src/token.h: Ditto.
2771 * server-src/amindexd.c: Ditto.
2772 * server-src/conffile.c: Ditto.
2773 * server-src/diskfile.c: Ditto.
2774 * server-src/logfile.c: Ditto.
2775 * server-src/logfile.h: Ditto.
2776 * server-src/server_util.c: Ditto.
2778 2002-02-09 John R. Jackson (jrj@purdue.edu)
2780 * configure.in: Must look in both strings.h and string.h when trying
2781 to find function declarations (strncasecmp was not found on AIX
2782 but is really there and our override caused a mismatch error).
2784 2002-02-09 John R. Jackson (jrj@purdue.edu)
2786 * configure.in: Add code to test for a type defined in other than the
2787 autoconf expected locations. Use it to look for socklen_t.
2789 2002-02-08 John R. Jackson (jrj@purdue.edu)
2791 * server-src/amadmin.c (check_dumpuser): Make it fatal to attempt to
2792 do an operation that would alter any files when run as someone other
2793 than the dump user from amanda.conf. This should prevent files from
2794 ending up with incorrect ownership.
2796 2002-02-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2798 * man/amrecover.8.in (settape): Document that the hostname is required
2799 if the protocol (tape:, file:, rait:, null:) is specified.
2800 * man/amrecover.8.in (settape): Document that it is posible to
2801 change the tape device when asked to load tape.
2803 2002-02-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2805 * server-src/holding.c (scan_holdingdir): Create the list in
2808 2002-02-02 John R. Jackson (jrj@purdue.edu)
2810 * configure.in: Add unistd.h to list of places to look for ruserok()
2811 declaration. Reported by John Koenig <jfkoenig@vipb.com> on ALPHA
2814 2002-02-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2815 Reported by Roland E. Lipovits <rel@lipo.at0.net>
2817 * server-src/amstatus.pl.in: Don't double-counts the failed
2818 estimate partitions.
2820 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2822 * configure.in: New --with-maxtapeblocksize with a default of 32.
2823 * common-src/amanda.h: MAX_TAPE_BLOCK_KB is defined in amanda.h
2825 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2827 * common-src/fileheader.c (build_header): Never write the
2829 * common-src/fileheader.c (parse_file_header): Do not parse the
2832 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2834 * common-src/fileheader.c (build_header): Write the BLOCKSIZE= line
2835 after the dd if=... line.
2836 * common-src/fileheader.c (parse_file_header): Ignore unknown line.
2838 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2840 * server-src/driver.c: Init code to 0.
2842 2002-01-29 John R. Jackson (jrj@purdue.edu)
2844 * tape-src/output-tape.c (tape_tapefd_fsf): Some systems cannot deal
2845 with large stack variables, so allocate tape I/O buffers dynamically.
2846 * tape-src/tapeio.c (tapefd_rdlabel): Ditto.
2848 2002-01-25 John R. Jackson (jrj@purdue.edu)
2850 * server-src/driver.c: Log non-zero exit codes and signals from all
2851 the dumpers and taper.
2853 2002-01-25 John R. Jackson (jrj@purdue.edu)
2855 * server-src/amindexd.c: Clean up reporting of errors by gethostby*()
2856 functions. Make sure they always report what they were trying to
2857 look up, and don't bother reporting errno (it would be h_errno).
2858 * server-src/dumper.c: Ditto.
2859 * server-src/planner.c: Ditto.
2861 2002-01-17 Thomas Hepper <th@ant.han.de>
2863 * changer-src/scsi-changer-driver.c (DecodeSense): Check if it is
2864 an normal or an extended result from request sense, and only
2865 print the correct infos for the detected type.
2866 * changer-src/scsi-changer-driver.c (RequestSense): Use the passed
2867 pointer to store the result from request sense. Do not allocate
2868 an own buffer. Fixed the bufer size which is passed to teh SCSI
2870 * changer-src/scsi-changer-driver.c (ChangerStatus): Use the macros
2871 for setting the device to use for query, don't use fix values.
2872 * changer-src/scsi-changer-driver.c (SCSI_Run): skip the sleep
2873 if the status is ok, only sleep if we will loop.
2874 * changer-src/scsi-changer-driver.c (DebugPrint): Print an timestamp
2875 to see how many time is used between the prints and so see where
2878 2002-01-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2880 * common-src/fileheader.h (dumpfile_t): Add blocksize field.
2881 * common-src/fileheader.h (build_header): Change prototype.
2882 * common-src/fileheader.c (fh_init): blocksize default to
2884 * common-src/fileheader.c (parse_file_header): Parse BLOCKSIZE= line.
2885 * common-src/fileheader.c (build_header): Remove blocksize parameter,
2886 write the BLOCKSIZE= line.
2887 * tape-src/tapeio.c: set file.blocksize, Change call to build_header.
2888 * restore-src/amrestore.c: Ditto.
2889 * server-src/dumper.c: Ditto.
2890 * server-src/taper.c: Ditto.
2891 * server-src/holding.c: Ditto.
2893 2002-01-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2895 * changer-src/scsi-changer-driver.c (SCSI_ReadElementStatus):
2898 2002-01-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2900 * server-src/planner.c: Check for dp->todo.
2902 2002-01-10 Thomas Hepper <th@ant.han.de>
2904 * changer-src/scsi-changer-driver.c: Fixed prototype for SCSI_ReadElementStatus
2905 * changer-src/scsi-changer-driver.c (eject_tape): Fixed error in the rewind
2906 * changer-src/scsi-changer-driver.c (unload): Fixed error in the rewind logic
2907 * changer-src/scsi-changer-driver.c (load): Fixed error in the rewind logic
2908 * changer-src/scsi-changer-driver.c (GetElementStatus): Fixed error in the parameter list to SCSI_ReadElementStatus
2909 * changer-src/scsi-changer-driver.c (SCSI_ReadElementStatus): Changed the logic, if the size for DescriptorSize
2910 is 0 try to get the size the old way, if this parameter greate 0 take this value as the size for the data
2911 buffer which is used to hold the result. May fix a problem with an HP changer
2912 * changer-src/scsi-defs.h: Updated the structs for the different element types (Media Changer, Storage, Tape, Import)
2915 2002-01-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2916 Patch by Harlan Stenn <Harlan.Stenn@pfcs.com>
2918 * changer-src/chg-scsi.c: Typo.
2920 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2922 * changer-src/Makefile.am: Run `perl -c' on perl script.
2923 * client-src/Makefile.am: Ditto.
2924 * server-src/Makefile.am: Ditto.
2926 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2927 Reported by Geert Uytterhoeven <geert@linux-m68k.org>
2929 * README: Amanda compile on Linux/m68k.
2931 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2933 * changer-src/chg-rth.pl.in: Typo. fi -> }.
2935 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2936 Patch by Harlan Stenn <Harlan.Stenn@pfcs.com>
2938 * changer-src/chg-chio.pl.in: Typo. fi -> }.
2939 * changer-src/chg-chio.pl.in (prefix, exec_prefix): Set correctly.
2940 * changer-src/chg-chio.pl.in (max_picker): Init to -1.
2942 2002-01-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2944 * recover-src/extract_list.c (okay_to_continue_tape): Ignore \n
2947 2002-01-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2949 * server-src/amoverview.pl.in: Ignore some line from amadmin.
2951 2002-01-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2953 * Amanda 2.4.3b2 released
2954 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.3b2)
2955 * NEWS: New feature of amanda-2.4.3b2
2957 2002-01-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2959 * tape-src/output-tape.c (tape_tapefd_rewind, tape_tapefd_unload):
2961 * changer-src/scsi-irix.c (SCSI_OpenDevice): Cast to int.
2962 * common-src/match.c (clean_regex): Cast to int.
2964 2001-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2966 * config/ltconfig: Remove.
2967 * config/ltmain.sh, config/libtool.m4i: Update from libtool 1.4.2.
2968 * config/config.guess: Update from
2969 ftp://ftp.gnu.org/gnu/config/config.guess.
2970 * config/config.sub: Update from
2971 ftp://ftp.gnu.org/gnu/config/config.sub.
2972 * config/depcomp, config/install-sh, config/missing,
2973 config/mkinstalldirs: Update from automake 1.5.
2974 * config/Makefile.am (EXTRA_DIST): Remove ltconfig.
2976 2001-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2977 Patch by Harlan Stenn <Harlan.Stenn@pfcs.com>
2979 * configure.in: Add missing [.
2981 2001-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2983 * server-src/driver.c: Do not go in degraded mode in nodump mode.
2984 * server-src/conffile.c:Check many options to be sure they are positive.
2986 2001-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2988 * changer-src/chg-scsi.c (get_relative_target): return -1;
2989 * changer-src/scsi-irix.c (SCSI_ExecuteCommand): Remove Zero variable.
2990 * common-src/amanda.h: include strings.h if HAVE_STRINGS_H is defined.
2991 * server-src/amadmin.c (info_one): Remove lev0date variable.
2992 * server-src/amadmin.c (import_db): Remove vers_comment variable.
2993 * server-src/amindexd.c (main): Remove arg_len variable.
2994 * server-src/amtrmidx.c (main): Remove level_position and
2995 datestamp_position variables.
2996 * server-src/changer.c (changer_current): Remove checked variable.
2997 * server-src/conffile.c (read_confline): Check value of RESERVE.
2998 * server-src/conffile.c (get_tapetype): Check value of LENGTH and
3000 * server-src/diskfile.h: bit field of 1 bit must be unsigned.
3001 * server-src/driver.c (main): Don't check the value of RESERVE.
3002 * server-src/driver.c (find_diskspace): Remove as_pref variable.
3003 * server-src/driverio.c (getresult): cast cmd_t.
3004 * server-src/dumper.c (update_dataptr): save_type is a filetype_t.
3005 * server-src/find.c (search_logfile): Remove host_undo_ch and
3006 disk_undo_ch variables.
3007 * server-src/holding.c (pick_datestamp): Remove result variable.
3008 * server-src/server_util.c (getcmd): Loop on a cmd_t variable.
3009 * server-src/taper.c (tape_writer_side): Remove out_open variable.
3010 * tape-src/tapeio.c (tapefd_close): Cast to (void *).
3012 2001-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3014 * restore-src/amrestore.c: Fix compiler warning.
3015 * changer-src/chg-scsi.c: Ditto.
3016 * common-src/fileheader.c: Ditto.
3017 * changer-src/scsi-changer-driver.c: Ditto.
3018 * changer-src/scsi-defs.h: Ditto.
3019 * client-src/selfcheck.c: Ditto.
3021 2001-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3023 * configure.in: Set MAX_TAPE_BLOCK_KB on linux.
3025 2001-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3026 Patch by Blaz Zupan <blaz@amis.net>
3028 * changer-src/chg-zd-mtx.sh.in: typo.
3030 2001-12-20 Thomas Hepper <th@ant.han.de>
3031 * changer-src/scsi-changer-driver.c: Return error if the find_empty returns an error
3032 In function LogSense try to reset the error counter. Fixed wrong pDev struct pointer in
3033 TapeStatus. Must be INDEX_TAPECTL and not INDEX_TAPE at the start of the function
3035 2001-12-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3037 * client-src/selfcheck.c (check_access): New function (old check_file
3039 * client-src/selfcheck.c (check_file): Check that the filename is a
3041 * client-src/selfcheck.c (check_dir): Check that dirname is a directory.
3043 2001-12-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3044 Patch by Henning Schmiedehausen <henning@forge.intermeta.de>
3046 * common-src/file.c (safe_cd): Create the AMANDA_DBGDIR and
3047 AMANDA_TMPDIR directory.
3049 2001-12-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3051 * docs/Makefile.am (pkgdata_DATA): Include RAIT and VTAPE-API.
3053 2001-12-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3055 * server-src/amverify.sh.in: Check that @AMANDA_TMPDIR@ exist.
3056 * server-src/amrmtape.sh.in: Ditto.
3058 2001-12-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3060 * changer-src/Makefile.am: fix setting of libexec_PROGRAMS.
3062 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3064 * server-src/amstatus.pl.in: Work with amflush log.
3066 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3068 * server-src/driver.c (nodump): new argument, Don't start the dumpers
3070 * server-src/holding.c (get_flush): chdir to original cwd.
3071 * server-src/reporter.c: accept driver and amflush line in log.
3072 * server-src/amflush.c: exec driver to do the flushing.
3074 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3076 * server-src/amstatus.pl.in: Fixup for estimate, write flush line.
3078 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3080 * server-src/reporter.c (output_summary): Set origsize and
3083 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3085 * server-src/driver.c (start_some_dumps): Fixup length of dumporder.
3087 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3089 * recover-src/extract_list.c: You can change the tape device
3092 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3094 * restore-src/amrestore.c (restore): try to find the next chunk
3095 in the current directory.
3097 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3099 * example/amanda.conf.in: typo.
3101 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3103 Patch by Roland E. Lipovits <rel@lipo.at0.net>
3104 * example/amanda.conf.in: typo.
3106 2001-12-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3108 * server-src/dumper.c, server-src/taper.c: Replace TRY_AGAIN
3111 2001-11-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3113 * Amanda 2.4.3b1 released
3114 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.3b1)
3115 * NEWS: New feature of amanda-2.4.3
3117 2001-11-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3119 * server-src/diskfile.c (lookup_host): Match must be exact.
3121 2001-11-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3123 * server-src/planner.c: Add host, disk, datestamp and level on
3124 FLUSH line. Add datestamp on DUMP line.
3125 * server-src/driver.c (read_flush): Read new format of FLUSH line.
3126 * server-src/driver.c (read_schedule): Read new format of DUMP line.
3127 * server-src/amflush.c: Write a datestamp on stderr.
3128 * server-src/amdump.sh.in: Write a datestamp on stderr.
3129 * server-src/amstatus.pl.in: Works with autoflush.
3131 2001-11-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3133 * server-src/conffile.c (autoflush): New configuration options.
3134 * server-src/conffile.h (autoflush): New configuration options.
3135 * man/amanda.8.in: Document it.
3136 * example/amanda.conf.in: Document it.
3137 * server-src/holding.h (get_flush, pick_datestamp, pick_all_datestamp,
3138 cleanup_holdingdisk): New prototype.
3139 * server-src/holding.c (scan_holdingdir, cleanup_holdingdisk,
3140 get_flush): New function.
3141 * server-src/holding.c (pick_datestamp, pick_all_datestamp): New
3143 * server-src/amcleanupdisk.c: Change call to pick_all_datestamp.
3144 * server-src/amflush.c: Change call to pick_all_datestamp.
3145 * server-src/find.c: Change call to pick_all_datestamp.
3146 * server-src/planner.c: Write FLUSH line to driver, the schedule
3147 line contain the keyword DUMP.
3148 * server-src/planner.c: Add datestamp to SUCCESS and FAIL line.
3149 * server-src/amstatus.pl.in: New parsing of DUMP line.
3150 * server-src/driverio.h: New datestamp field in sched_t;
3151 * server-src/driver.c (build_diskspace): New function to build a
3152 assignedhd_t from an holding file.
3153 * server-src/driver.c (read_flush): New function to read the list
3155 * server-src/driver.c (read_schedule): Parse the keyword DUMP.
3156 * server-src/driver.c: Add datestamp to FAIL line.
3157 * server-src/dumper.c: Add datestamp to FAIL line.
3158 * server-src/reporter.c (timedata_t, repdata_t) : Major change of
3160 * server-src/taper.c: Add datestamp to FAIL line.
3162 2001-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3164 * server-src/conffile.c: New dumporder configuration.
3165 * server-src/conffile.h: Likewise.
3166 * server-src/driver.c (start_some_dumps): Use dumporder to
3167 select the next disk to dump.
3168 * example/amanda.conf.in: Give an example of dumporder.
3169 * man/amanda.8.in: Document it.
3171 2001-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3173 * recover-src/amrecover.h (cd_glob, cd_regex, cd_dir): New prototypes.
3174 * recover-src/set_commands.c (cd_glob, cd_regex, cd_dir): New functions.
3175 * recover-src/uparse.y: Add new token CDX, call cd_glob instead
3176 of set_directory for cd command, call cd_regex for cdx command.
3177 * recover-src/uscan.l: On cdx string return CDX token.
3178 * recover-src/help.c: Document it.
3179 * man/amrecover.8.in: Document it.
3181 2001-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3183 * server-src/taper.c: Backport from 2.5.0 the change to use only
3184 one cmd_t type for all program.
3185 * server-src/server_util.h: Likewise.
3186 * server-src/server_util.c: Likewise.
3187 * server-src/dumper.c.orig: Likewise.
3188 * server-src/dumper.c: Likewise.
3189 * server-src/driverio.h: Likewise.
3190 * server-src/driverio.c: Likewise.
3191 * server-src/driver.c: Likewise.
3192 * server-src/amflush.c: Likewise.
3194 2001-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3196 * server-src/reporter.c: Backport from 2.5.0 the change to allow
3197 the "[host [disk]*]*" arguments on command.
3198 * server-src/planner.c: Likewise.
3199 * server-src/logfile.h: Likewise.
3200 * server-src/logfile.c: Likewise.
3201 * server-src/find.h: Likewise.
3202 * server-src/find.c: Likewise.
3203 * server-src/diskfile.h: Likewise.
3204 * server-src/diskfile.c: Likewise.
3205 * server-src/amtrmidx.c: Likewise.
3206 * server-src/amindexd.c: Likewise.
3207 * server-src/amflush.c: Likewise.
3208 * server-src/amdump.sh.in: Likewise.
3209 * server-src/amcheck.c: Likewise.
3210 * server-src/amadmin.c: Likewise.
3211 * restore-src/amrestore.c: Likewise.
3212 * man/amrestore.8: Likewise.
3213 * man/amflush.8.in: Likewise.
3214 * man/amdump.8.in: Likewise.
3215 * man/amcheck.8.in: Likewise.
3216 * man/amanda.8.in: Likewise.
3217 * man/amadmin.8.in: Likewise.
3218 * common-src/match.c: Likewise.
3219 * common-src/amanda.h: Likewise.
3221 2001-10-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3223 * man/Makefile.am: add amdd.8 and ammt.8 to EXTRA_DIST.
3225 2001-09-26 John R. Jackson (jrj@purdue.edu)
3227 * server-src/reporter.c: Fix problem when column sizes are negative.
3229 2001-09-21 John R. Jackson (jrj@purdue.edu)
3231 * server-src/Makefile.am: Add -I../common-src so genversion.h can be
3232 found (since it is built on the fly). Only fails when build is done
3233 in a different directory than the sources.
3235 2001-09-17 John R. Jackson (jrj@purdue.edu)
3237 * server-src/getconf.c: Add capabilities to amgetconf to return
3238 build environment values and also to open and close a debug file
3240 * man/amgetconf.8.in: Ditto.
3241 * changer-src/chg-scsi.c: Ditto.
3242 * common-src/amanda.h: Ditto.
3243 * common-src/debug.c: Ditto.
3244 * common-src/error.c: Ditto.
3245 * server-src/dumper.c: Ditto.
3247 2001-09-17 John R. Jackson (jrj@purdue.edu)
3249 * server-src/planner.c: Make sure we do not attempt to bump beyond
3252 2001-09-15 Thomas Hepper (th@ant.han.de)
3253 * changer-src/chg-scsi.c: Added new config option autoinv,
3254 if not set no auto inventory will be done if the label db is out of
3255 sync. Reworked MapBarCode, now the parameters are passed as a struct
3256 and the result is returned in this struct (MBC_T),
3257 also removed some duplicate/nonsens code from MapBarCode
3258 Changed the definitions for slot_file. It was used duplicate,
3259 1. as the config file set by amanda.conf, and second set by the
3260 config option in the chg-scsi config file. Now the file from
3261 amanda.conf is called chg_scsi_conf. and changer_file is renamed
3263 Added check if cleanfile is not set, if true clean_file is set to NULL
3264 Now return if tape_device is not in the range 0-9.
3265 Added some checks if we have all informations like slot_file,
3266 devices etc. Fixed and error in the search function,
3267 if the searched vol is already loaded return the correct info
3268 and not 'label not found'. Fixed error in the parameter passing
3269 to get_relative_slot. If the option was -slot last we where
3270 1 above the end parameter..
3272 * changer-src/scsi-bsd.c: Fix compile problems.
3273 * changer-src/scsi-changer-driver.c: Fixed the last problems :-)
3274 for the label/barcode handling...
3275 * changer-src/scsi-defs.h: Added new struct MBC_T
3276 * changer-src/sense.c: Added some more messages for Exabyte 210 lib
3278 2001-09-01 John R. Jackson (jrj@purdue.edu)
3280 * client-src/sendsize.c: Fix memory allocation problem.
3282 2001-08-31 John R. Jackson (jrj@purdue.edu)
3284 * server-src/amindex.c: Fix memory leak. Compliments of Robert Minsk
3285 <egbert@centropolisfx.com>.
3286 * server-src/logfile.c: Fix memory leak. Compliments of Robert Minsk
3287 <egbert@centropolisfx.com>.
3289 2001-08-30 John R. Jackson (jrj@purdue.edu)
3291 * server-src/planner.c: Fix problem with maintenance of total level
3292 0 size when disk being brought back into the schedule was not doing
3293 a level 0. Compliments of Robert Minsk <egbert@centropolisfx.com>.
3295 2001-08-24 John R. Jackson (jrj@purdue.edu)
3297 * server-src/amverify.sh.in: Fix missing backtick error.
3299 2001-08-24 John R. Jackson (jrj@purdue.edu)
3301 * server-src/taper.c: Allocate buffers on page boundaries.
3303 2001-08-22 John R. Jackson (jrj@purdue.edu)
3305 * tape-src/Makefile.am: Add chown/chgrp rules for ammt/amdd install
3306 so they end up like all the other Amanda programs.
3308 2001-08-16 John R. Jackson (jrj@purdue.edu)
3310 * docs/Makefile.am: Fix PORTS.USAGE -> PORT.USAGE typo.
3312 2001-08-16 John R. Jackson (jrj@purdue.edu)
3314 * configure.in: Change release name to "2.4.2p2-tapeio". Add missing
3315 CAM header checks from the 2.5 branch.
3317 2001-08-15 Thomas Hepper (th@ant.han.de)
3318 * changer-src/chg-scsi.c. Removed version 1 DB support from mapBarCode. Changed the way parameter
3319 are given to MapBarCode and returned from there. No a struct is passed where all infos
3320 will be returned to the calling function.
3321 If eject is set we will not call LogSense in chg-scsi because it is also called in the
3323 * changer-src/scsi-defs.h: Added struct MBC_T used by MapBarCode.
3324 * changer-src/scsi-changer-driver.c: Changed all calls to MapBarCode to the new way
3326 2001-08-14 John R. Jackson (jrj@purdue.edu)
3328 * docs/EXCLUDE: New document from Andrew Hall <ahall@secureworks.net>
3329 describing how to set up and use GNU tar exclusions.
3330 * docs/Makefile.am: Added EXCLUDE and PORT.USAGE.
3332 2001-08-14 John R. Jackson (jrj@purdue.edu)
3334 * docs/PORT.USAGE: New document about how Amanda ports are used.
3336 2001-08-14 John R. Jackson (jrj@purdue.edu)
3338 * common-src/stream.c: Add stream_client_privileged() function to
3339 get a privileged port and fail if one is not available. The older
3340 stream_client() function gets a (non-privileged) port in the
3341 configured portrange, if set and possible, else anything available.
3342 * common-src/stream.h: Prototypes.
3343 * recover-src/amrecover.c: Use stream_client_privileged() instead of
3345 * recover-src/extract_list.c: Ditto.
3346 * configure.in: Added several more port range sanity checks. Added
3347 --with-tcpportrange as an alias for --with-portrange.
3349 2001-08-09 Thomas Hepper (th@ant.han.de)
3350 * changer-src/chg-scsi.c: Added check in MapBarCode if the labelfile
3351 parameter is empty, and if yes return.
3352 Added global variable do_inventory, and if set do an inventory before
3354 In MapBarCode changed the way the UPDATE_SLOT is done, now it uses
3355 the slot number passed to MapBarCode to find and update the record.
3356 * changer-src/scsi-changer-driver.c: Added def. for BreeceHill Q7
3357 Added global variables which are set by the tape_rdlabel function
3359 Reworked the way how the updates of the labelfile are done.
3360 * docs/TAPE.CHANGERS: Added note about solaris 8 and the sgen driver.
3362 2001-08-09 John R. Jackson (jrj@purdue.edu)
3364 * tape-src/output-tape.c: Missed a reference to TAPE_BLOCK_BYTES
3365 while doing the tapetype "blocksize" changes.
3367 2001-08-01 John R. Jackson (jrj@purdue.edu)
3369 * client-src/selfcheck.c: Fix typos I introduced into the PC subdir
3371 * client-src/sendbackup-gnutar.c: Ditto.
3372 * client-src/sendsize.c: Ditto.
3374 2001-08-01 Marko Injac <marko.injac@mail.insert.si> via John R. Jackson (jrj@purdue.edu)
3376 * client-src/findpass.c: Allow backup of subdirs of PC shares for
3377 amanda-2.4.1beta1 by Greg Shebert amanda-hackers list Tue Feb 1,
3378 2000. Ported to amanda-2.4.2p2 on debian potato by Marko Injac.
3379 * client-src/findpass.h: Ditto.
3380 * client-src/selfcheck.c: Ditto.
3381 * client-src/sendbackup-gnutar.c: Ditto.
3382 * client-src/sendsize.c: Ditto.
3383 * docs/SAMBA: Ditto.
3385 2001-08-01 John R. Jackson (jrj@purdue.edu)
3387 * client-src/sendsize.c: Prefix each debug line with sendsize process
3388 information to make picking out the output from a particular estimate
3389 run easier when maxdumps > 1.
3391 2001-08-01 John R. Jackson (jrj@purdue.edu)
3393 * server-src/amcheck.c: Unlink the temp files as soon as they are
3394 created so they always go away when amcheck terminates. Use
3395 pipespawn() instead of system() to call the MAILER program.
3397 2001-08-01 John R. Jackson (jrj@purdue.edu)
3399 * common-src/debug.c: Only rename files that end in ".debug".
3401 2001-08-01 John R. Jackson (jrj@purdue.edu)
3403 * common-src/pipespawn.c: Show empty pipespawn() args as "".
3405 2001-07-31 John R. Jackson (jrj@purdue.edu)
3407 * server-src/conffile.h: Add support for tapetype "blocksize" keyword.
3408 * server-src/conffile.c: Add tapetype "blocksize" keyword. Use
3409 DISK_BLOCK_KB where appropriate instead of TAPE_BLOCK_SIZE. Disallow
3410 negative tape length and tapemark size.
3411 * client-src/sendbackup.c: Use new STREAM_BUFSIZE constant. Use -1
3412 for new default buffer size flag.
3413 * common-src/alloc.c: Add new amtable_free() function. Adjust args
3414 to amtable_alloc() to be consistent with amtable_free().
3415 * common-src/amanda.h: Add new am_round() and am_floor() macros.
3416 Define new DISK_BLOCK_KB, DISK_BLOCK_BYTES, MAX_TAPE_BLOCK_KB,
3417 MAX_TAPE_BLOCK_BYTES constants. Remove TAPE_BLOCK_SIZE and
3419 * common-src/fileheader.c: Change write_header() to build_header().
3420 Add blocksize arg. Get rid of unused fill_buffer() function.
3421 * common-src/fileheader.h: Ditto.
3422 * common-src/stream.c: Use negative value to indicate default buffer
3424 * common-src/stream.h: Add NETWORK_BLOCK_BYTES and STREAM_BUFSIZE
3425 constants. Remove DATABUF_SIZE and DEFAULT_SIZE.
3426 * man/amanda.8.in: Document the new "blocksize" tapetype keyword.
3427 Document that "length" in tapetype has meaning to some output
3428 drivers. Fix "bumpdays" and "speed" defaults. Document new "file:"
3429 output driver record length data file.
3430 * man/amrestore.8: Add new "-b blocksize" arg. Add description of
3431 how to catalogue the images on a tape.
3432 * recover-src/amrecover.c: DEFAULT_SIZE -> -1.
3433 * recover-src/extract_list.c: DEFAULT_SIZE -> -1. Use DISK_BLOCK_BYTES
3434 instead of TAPE_BLOCK_BYTES for the header size.
3435 * restore-src/amrestore.c: Add new "-b blocksize" arg. Document how
3436 the header is handled. Deal with arbritrary tape record sizes.
3437 * server-src/amlabel.c: Use the tapetype blocksize.
3438 * server-src/driver.c: Use DISK_BLOCK_KB where appropriate instead of
3440 * server-src/dumper.c: Use DISK_BLOCK_BYTES and DISK_BLOCK_KB as
3441 appropropriate instead of older constants. Rewrite disk I/O buffer
3442 management. Never pad output stream (e.g. to holding disk). Use
3443 -1 for default stream buffer size.
3444 * server-src/holding.c: Change TAPE_BLOCK_BYTES to DISK_BLOCK_BYTES.
3445 Use fullread() instead of fill_buffer().
3446 * server-src/planner.c: Use tapetype blocksize instead of constant
3447 for tape length calculations.
3448 * server-src/taper.c: Support tapetype blocksize. Only pad writes if
3449 blocksize is negative. Reorganize shared memory buffers to put
3450 data on page boundaries. Try reducing tapebuf count if allocation
3452 * tape-src/output-file.c: Maintain record size information. Use mask
3453 and flags from caller.
3454 * tape-src/output-null.c: Use new amtable_alloc() arg order.
3455 * tape-src/output-rait.c: Use new amtable_alloc() arg order. Add
3456 private version of amtable_free() for standalone build. Fix off
3457 by one and other table allocation problems.
3458 * tape-src/output-rait.h: Maintain file descriptor count in the
3460 * tape-src/tapeio.c: Support tapetype blocksize. Use new
3461 amtable_alloc() arg order. Fix some error message text.
3462 * tape-src/tapeio.h: New prototypes with blocksize arg.
3463 * tape-src/tapetype.c: Add "-b blocksize" arg. Fix some end case
3466 2001-07-31 Ben Lewis (bhlewis@purdue.edu) via John R. Jackson (jrj@purdue.edu)
3468 * configure.in: Add missing CAM header checks from the 2.5 branch.
3470 2001-07-30 John R. Jackson (jrj@purdue.edu)
3472 * configure.in: Add CAM SCSI support section from the 2.5 branch.
3474 2001-07-30 Ben Lewis (bhlewis@purdue.edu) via John R. Jackson (jrj@purdue.edu)
3476 * recover-src/amrecover.c: Improve the "Unexpected server end of file"
3479 2001-07-30 Ben Lewis (bhlewis@purdue.edu) via John R. Jackson (jrj@purdue.edu)
3481 * man/amanda.8.in: Document includefile.
3482 * man/amdump.8.in: Add note that local crontab documention should be
3483 checked for proper syntax.
3484 * man/amrecover.8.in: Document use of PAGER environment variable.
3485 * man/amrestore.8: Document that GNU tar must be used as some vendor
3486 tar programs cannot read GNU tar format.
3487 * docs/FAQ: Update location of online FAQ.
3489 2001-07-25 John R. Jackson <jrj@purdue.edu>
3491 * docs/TAPE.CHANGER: Changes from Ben Lewis (bhlewis@purdue.edu) to
3492 document the new (but optional) searchable features.
3494 2001-07-20 John R. Jackson <jrj@purdue.edu>
3496 * common-src/security.c: Use NUM_STR_SIZE instead of hard coded
3498 * common-src/versuff.c.in: Ditto.
3500 2001-07-19 John R. Jackson <jrj@purdue.edu>
3502 * common-src/error.c: Add new function errordump() that acts like
3503 error() but calls abort() to (try to) drop core.
3504 * common-src/amanda.h: Prototype.
3505 * common-src/alloc.c: Call errordump() instead of error() for some
3506 memory allocation failures to aid traceback.
3508 2001-07-19 John R. Jackson <jrj@purdue.edu>
3510 * server-src/amadmin.c: Improve the error message when read_conffile()
3512 * server-src/amcheck.c: Ditto.
3513 * server-src/amcleanupdisk.c: Ditto.
3514 * server-src/amflush.c: Ditto.
3515 * server-src/amlabel.c: Ditto.
3516 * server-src/amlogroll.c: Ditto.
3517 * server-src/amtape.c: Ditto.
3518 * server-src/amtrmidx.c: Ditto.
3519 * server-src/amtrmlog.c: Ditto.
3520 * server-src/driver.c: Ditto.
3521 * server-src/dumper.c: Ditto.
3522 * server-src/getconf.c: Ditto.
3523 * server-src/planner.c: Ditto.
3524 * server-src/reporter.c: Ditto.
3525 * server-src/taper.c: Ditto.
3527 2001-07-19 John R. Jackson <jrj@purdue.edu>
3529 * server-src/driverio.c: Make the name "ps" reports match the dumper
3530 name (e.g. "dumper3").
3532 2001-07-18 John R. Jackson <jrj@purdue.edu>
3534 * changer-src/chg-chio.pl.in: Try to unload the drive before moving
3535 a tape back to a slot. Fixes a problem on Ecrix AutoPAK devices.
3536 Patch compliments of Sam Leffler <sam@errno.com>.
3538 2001-07-18 John R. Jackson <jrj@purdue.edu>
3540 * server-src/amverify.sh.in: Change to the Amanda temp directory
3541 instead of the config directory. In addition to making amverify
3542 act like most other Amanda programs, this gets around an
3545 2001-07-18 John R. Jackson <jrj@purdue.edu>
3547 * man/amanda.8.in: Describe the .amandahosts format better. Clean up
3548 a couple of minor typos.
3550 2001-07-13 John R. Jackson <jrj@purdue.edu>
3552 * common-src/dgram.h: Improve UDP datagram size calculation.
3553 * server-src/amcheck.c: Break up large requests into pieces.
3554 * server-src/planner.c: Break up large requests into pieces.
3556 2001-07-12 John R. Jackson <jrj@purdue.edu>
3558 * tape-src/amdd.c: Use tapefd_close() in amdd if the file was
3559 opened with tape_open(). This does any necessary output driver
3560 cleanup (such as moving the current file position for "file:").
3562 2001-07-12 John R. Jackson <jrj@purdue.edu>
3564 * Makefile.am: Fix automake warning.
3566 2001-07-11 John R. Jackson <jrj@purdue.edu>
3568 * tape-src/tapetype.c: Use tapefd_write() instead of write().
3570 2001-07-11 John R. Jackson <jrj@purdue.edu>
3572 * common-src/file.c: Fix a memory leak. Grab exponentially larger
3573 chunks of memory up to a point, then level out.
3575 2001-07-11 John R. Jackson <jrj@purdue.edu>
3577 * tape-src/tapetype.c: Only report a pass summary when stderr is not
3578 a tty. Deal with some obscure end cases.
3580 2001-07-10 John R. Jackson <jrj@purdue.edu>
3582 * server-src/Makefile.am: Backport development branch chg-scsi code
3584 * changer-src/chg-scsi.c: Ditto.
3585 * changer-src/libscsi.h: Ditto.
3586 * changer-src/scsi-aix.c: Ditto.
3587 * changer-src/scsi-bsd.c: Ditto.
3588 * changer-src/scsi-cam.c: Ditto.
3589 * changer-src/scsi-changer-driver.c: Ditto.
3590 * changer-src/scsi-defs.h: Ditto.
3591 * changer-src/scsi-hpux.c: Ditto.
3592 * changer-src/scsi-hpux_new.c: Ditto.
3593 * changer-src/scsi-irix.c: Ditto.
3594 * changer-src/scsi-linux.c: Ditto.
3595 * changer-src/scsi-solaris.c: Ditto.
3596 * changer-src/sense.c: Ditto.
3598 2001-07-10 John R. Jackson <jrj@purdue.edu>
3600 * server-src/amcheck.c: Move user name check before attempt to create
3601 temp files so more appropriate error message is generated.
3603 2001-07-09 John R. Jackson <jrj@purdue.edu>
3605 * common-src/dgram.c: Fix error end case unitialized variable.
3607 2001-07-05 John R. Jackson <jrj@purdue.edu>
3609 * docs/TAPE.CHANGERS: Minor docs/TAPE.CHANGERS update to clarify
3610 that -slot and -eject unload and put the current tape away.
3612 2001-07-02 John R. Jackson <jrj@purdue.edu>
3614 * changer-src/chg-manual.sh.in: Add yet another ONLINEREGEX, this one
3615 compliments of Nick (n_hibma@qubesoft.com) for some FreeBSD variant.
3617 2001-06-29 John R. Jackson <jrj@purdue.edu>
3619 * tape-src/tapeio.c: Move the device name parsing routines from the
3620 RAIT module to tapeio and make them generic. This allows one
3621 module to open another, e.g. rait:{null:,z1,z2,z3}. Maintain
3622 both the original open flags and mask and use them on the real open.
3623 * tape-src/amdd.c: Make sure this compiles "stand-alone". To do so,
3624 use: gcc -Wall -DNO_AMANDA amdd.c output-rait.c output-tape.c.
3625 Abort as soon as one of the open calls fails instead of waiting
3626 for read/write to report a bad file descriptor.
3627 Pass a mask to the open function in case the output is created.
3628 * tape-src/ammt.c: Make sure this compiles "stand-alone". To do so,
3629 use: gcc -Wall -DNO_AMANDA ammt.c output-rait.c output-tape.c.
3630 * tape-src/output-file.c: Maintain both the original open flags and
3631 mask and use them on the real open.
3632 * tape-src/output-null.c: Ditto.
3633 * tape-src/output-file.h: Change to non-prototype declaration of
3634 file_tape_open() to deal with the optional mask parameter.
3635 * tape-src/output-null.h: Ditto.
3636 * tape-src/output-tape.h: Ditto.
3637 * tape-src/tapeio.h: Ditto. Add device name parsing prototypes.
3638 * tape-src/output-rait.c: Make sure this compiles "stand-alone".
3639 Maintain both the original open flags and mask and use them on the
3641 * tape-src/output-rait.h: Make sure this compiles "stand-alone".
3642 * tape-src/output-tape.c: Make this part of the "stand-alone" compile
3643 of ammt and amdd since it knows all the proper ioctl operations.
3644 Maintain both the original open flags and mask and use them on the
3647 2001-06-27 John R. Jackson <jrj@purdue.edu>
3649 * changer-src/chg-manual.sh.in: Add "bs=32k" to the dd command so
3650 some kernels would not complain about the tape block being larger
3652 * changer-src/chg-mtx.sh.in: Ditto.
3654 2001-06-21 John R. Jackson <jrj@purdue.edu>
3656 * server-src/planner.c: If the compression rate is very small (such
3657 as zero after some types of errors) and FORCE_FULL is set, a path
3658 is taken that (among other bad things) generates a schedule that
3659 driver cannot read (syntax errors).
3660 * server-src/conffile.c: Do not allow negative comprate values.
3662 2001-06-19 John R. Jackson <jrj@purdue.edu>
3664 * server-src/holding.c: Use fullread() instead of read() to read the
3667 2001-06-19 John R. Jackson <jrj@purdue.edu>
3669 * server-src/amtape.c: Document "slot advance" in the help output.
3671 2001-06-19 John R. Jackson <jrj@purdue.edu>
3673 * server-src/amindexd.c: Minor gethostbyaddr() argument change to be
3674 consistent with other Amanda usage.
3676 2001-06-19 John R. Jackson <jrj@purdue.edu>
3678 * server-src/amverify.sh.in: Better cross platform tar detection.
3680 2001-06-19 John R. Jackson <jrj@purdue.edu>
3682 * server-src/amverify.sh.in: More of the vrestore vs. 'b' flag change.
3684 2001-06-19 John R. Jackson <jrj@purdue.edu>
3686 * recover-src/amrecover.c: Add more debugging to guess_disk()
3687 function to better track how the disk is determined from the
3688 current working directory. Report current working directory in
3689 error message. Change "Trying" to "Trying disk" to distinguish
3690 this from host attempts.
3691 * recover-src/set_commands.c: Remove redundant amfree() call. Remove
3692 redundant "OISD /" exchange. Change "Trying" to "Trying host" to
3693 distinguish this from disk attempts.
3695 2001-06-18 John R. Jackson <jrj@purdue.edu>
3697 * recover-src/extract_list.c: Do not pass a 'b' (blocking) factor
3698 flag to vrestore. Some versions do not like it.
3700 2001-06-18 John R. Jackson <jrj@purdue.edu>
3702 * common-src/dgram.c: Use a sin_addr arg to inet_ntoa() like all the
3704 * common-src/stream.c: Ditto.
3706 2001-06-18 John R. Jackson <jrj@purdue.edu>
3708 * changer-src/chg-manual.sh.in: Add yet another online regex. Found
3709 by George Herson <gherson@snet.net>.
3711 2001-06-01 John R. Jackson <jrj@purdue.edu>
3713 * server-src/amindexd.c (build_disk_table): Make sure a holding disk
3714 image is used rather than a copy also on tape, if both exist.
3716 2001-05-29 John R. Jackson <jrj@purdue.edu>
3718 * server-src/reporter.c: Fix PostScript output to only show what went
3719 on the tape, not what the total amount dumped. Compliments of
3720 Joshua Baker-LePain <jlb17@duke.edu>.
3722 2001-05-18 John R. Jackson <jrj@purdue.edu>
3724 * client-src/patch-system.sh.in: Missed a reference to kamanda in the
3725 last patch. Compliments of Tom Schutter <t.schutter@att.net>.
3727 2001-05-16 John R. Jackson <jrj@purdue.edu>
3729 * client-src/patch-system.sh.in: Go ahead and update /etc/services
3730 on a client even if the services themselves are not turned on to
3731 inetd. Compliments of Tom Schutter <t.schutter@att.net>. Add
3732 the TCP port for amandad for future use.
3734 2001-05-15 John R. Jackson <jrj@purdue.edu>
3736 * restore-src/amidxtaped.c: Call tape_stat() instead of stat() to
3737 decide if an image is a file or a tape.
3739 2001-05-14 John R. Jackson <jrj@purdue.edu>
3741 * client-src/amandad.c: Fix hang when the incoming packet size is
3742 larger than the pipe buffer. Also fix a buffer overflow bug.
3744 2001-05-11 John R. Jackson <jrj@purdue.edu>
3746 * changer-src/chg-scsi.c: Add support for "-slot advance".
3748 2001-05-11 John R. Jackson <jrj@purdue.edu>
3750 * common-src/util.c (bind_portrange): Log a debug message stating
3751 explicitly that all ports in the requested range were busy, or
3752 that a specific port failed bind() for an unexpected reason.
3754 2001-05-11 John R. Jackson <jrj@purdue.edu>
3756 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.2p2)
3758 2001-05-10 John R. Jackson <jrj@purdue.edu>
3760 * changer-src/scsi-changer-driver.c: Fix routine name in diagnostic
3761 messages for DLT4000Eject.
3763 2001-05-07 John R. Jackson <jrj@purdue.edu>
3765 * client-src/sendbackup-dump.c: Do not use full path to sed. Found by
3766 Roland E. Lipovits (rel@lipo.at0.net).
3768 2001-05-04 John R. Jackson <jrj@purdue.edu>
3770 * config/depcomp: Fix problem with argument processing and update to
3773 2001-04-25 John R. Jackson <jrj@purdue.edu>
3775 * changer-src/chg-rth.pl.in: Add exec_prefix back since it is usually
3776 used to define sbindir. Sigh. Include X=X assignments to get rid
3777 of the Perl warnings.
3778 * server-src/amoverview.pl.in: Ditto.
3780 2001-04-24 John R. Jackson <jrj@purdue.edu>
3782 * changer-src/chg-chio.pl.in: Remove unused exec_prefix to get rid of
3783 warning message. Patch from Nick Hibma <n_hibma@qubesoft.com>.
3785 2001-04-23 John R. Jackson <jrj@purdue.edu>
3787 * client-src/selfcheck.c: Allow Samba shares with no password.
3788 * client-src/sendbackup-gnutar.c: Ditto.
3789 * client-src/sendsize.c: Ditto.
3791 2001-04-21 John R. Jackson <jrj@purdue.edu>
3793 * tape-src/output-tape.c: Fix IRIX field reference (patch from Marc
3794 W. Mengel <mengel@fnal.gov>).
3796 2001-04-13 John R. Jackson <jrj@purdue.edu>
3798 * example/amanda.conf.in: Fix multiple holding disks comment.
3799 * example/amanda.conf.chg-scsi.in: Ditto, plus bring this file into
3800 sync with the base version.
3802 2001-04-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3804 * client-src/getfsent.h (search_fstab): New prototype.
3805 * client-src/getfsent.c (search_fstab): New arg check_dev, skip
3806 entry if check_dev==1 and device stats failed.
3807 * client-src/getfsent.c (open_fstab for linux): Open MOUNTED.
3808 * client-src/getfsent.c (close_fstab for linux): close MOUNTED.
3809 * client-src/getfsent.c (get_fstab_nextentry for linux): parse MOUNTED.
3810 * client-src/getfsent.c (amname_to_devname, amname_to_dirname,
3811 amname_to_fstype): Call search_fstab sequentialy with 1 and 0
3814 2001-04-10 John R. Jackson <jrj@purdue.edu>
3816 * docs/INSTALL: Update location to GNUPLOT per Lars Hecking
3819 2001-04-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3821 * config/config.guess: Upgrade from ftp://ftp.gnu.org/pub/gnu/config
3822 * config/config.sub: Upgrade from ftp://ftp.gnu.org/pub/gnu/config
3823 * config/mkinstalldirs: Upgrade from automake CVS.
3825 2001-04-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3827 * config/depcomp: new file for automake.
3829 2001-04-03 John R. Jackson <jrj@purdue.edu>
3831 * Makefile.am: Remove *.test.c from the distribution.
3833 2001-04-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3834 Upgrade to the 2.5.0 code.
3836 * changer-src/chg-zd-mtx.sh.in: Added barcode reader support,
3837 >9 tape slot support, variable for 'offline' or 'ONLINE'
3838 return value of tape device, and multi-config support. Moved
3839 all user settable variables to 'changerfile'.conf in the
3840 amanda config directory. Added commented out example of .conf
3842 * NEWS: updated chg-zd-mtx.sh.in changer.
3844 2001-04-02 John R. Jackson <jrj@purdue.edu>
3846 * NEWS: Initial notes for 2.4.2p2.
3848 2001-03-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3850 * client-src/getfsent.c (search_fstab): If the device doesn't
3851 exist, it will take the entry from /etc/mtab.
3853 2001-03-26 John R. Jackson <jrj@purdue.edu>
3855 * server-src/amtape.c: Do not rewind for slot "advance". Do not report
3856 device name (which is bogus) for slot "advance".
3858 2001-03-23 John R. Jackson <jrj@purdue.edu>
3860 * example/amanda.conf.in: Add warning that the sample amanda.conf
3861 will not work as is and must be edited to match the installation.
3863 2001-03-21 John R. Jackson <jrj@purdue.edu>
3865 * recover-src/extract_list.c (extract_files_child): Fix problem that
3866 caused xfsrestore arg list to not be NULL terminated.
3868 2001-03-19 John R. Jackson <jrj@purdue.edu>
3870 * configure.in: Add --with-debug-days (default is 4) and remove
3871 --with-pid-debug-files.
3872 * common-src/Makefile.am: Clean up test program dependencies.
3873 * common-src/debug.c: Create timestamped debug file names and remove
3874 files older (based on file name) than --with-debug-days. Rename old
3875 style names to new style (based on modification time) the first time
3877 * common-src/file.c: Use construct_datestamp() instead of private code.
3878 * common-src/genversion.c: Display AMANDA_DEBUG_DAYS and remove
3879 DEBUG_FILE_WITH_PID.
3880 * common-src/util.c: Move construct_datestamp to here and add new
3881 function construct_timestamp. Change time used to build string to
3882 be an optional parameter instead of always getting it in the routine.
3883 * common-src/util.h: Add prototypes.
3884 * server-src/amcleanupdisk.c: Change construct_datestamp call to pass
3885 indication that it should get the current time.
3886 * server-src/amflush.c: Ditto.
3887 * server-src/driver.c: Ditto.
3888 * server-src/dumper.c: Ditto.
3889 * server-src/planner.c: Ditto.
3890 * server-src/server_util.c: Remove construct_datestamp (now in util.c).
3891 * server-src/server_util.h: Remove prototype.
3893 2001-03-15 John R. Jackson <jrj@purdue.edu>
3895 * server-src/planner.c (analyze_estimate): Do not do an incremental
3896 if FORCE_NO_BUMP is set and the last dump was a level 0.
3898 2001-03-14 John R. Jackson <jrj@purdue.edu>
3900 * server-src/amcheck.c: Change message from NOTE to WARNING when
3901 the hold file exists.
3902 * man/amcheck.8.in: Ditto.
3904 2001-03-14 John R. Jackson <jrj@purdue.edu>
3906 * client-src/selfcheck.c: Send smbclient via pipe instead of command
3907 line arg. Various minor cleanups. Use pipespawn instead of system()
3908 to clean up quoting problems and be consistent with sendsize and
3910 * client-src/sendbackup-dump.c: Send smbclient via pipe instead of
3911 line arg. Various minor cleanups.
3912 * client-src/sendbackup-gnutar.c: Send smbclient via pipe instead of
3913 line arg. Various minor cleanups. Clean up listed incremental file
3915 * client-src/sendbackup.c: Various minor cleanups.
3916 * client-src/sendsize.c: Send smbclient via pipe instead of command
3917 line arg. Various minor cleanups. Clean up listed incremental file
3919 * common-src/pipespawn.c: Support optional password pipe. Various
3921 * common-src/pipespawn.h: Support optional password pipe. Various
3923 * common-src/util.c: Backport fullread() and fullwrite() from main
3925 * common-src/util.h: Backport fullread() and fullwrite() from main
3927 * docs/SAMBA: Update and cleanup.
3929 2001-03-13 John R. Jackson <jrj@purdue.edu>
3931 * recover-src/extract_list.c (extract_files_child): Fix xfsrestore
3932 argument list processing.
3934 2001-03-09 John R. Jackson <jrj@purdue.edu>
3936 * server-src/taper.c: Initialize tape_fd to -1 and test in a couple
3937 more places. Run normal protocol after a tape startup error (e.g.
3938 "cannot overwrite") instead of just exiting to keep driver from
3939 reporting a broken pipe.
3941 2001-03-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3942 Reported by Eric Schnoebelen <eric@cirr.com>
3944 * server-src/changer.c (): Fix fd leak.
3946 2001-02-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3948 * server-src/amadmin.c (info_one): typo.
3949 * server-src/planner.c (setup_estimate): Don't re-ask for level 0
3950 if last_level is 0 and FORCE_NO_BUMP is set.
3952 2001-02-27 John R. Jackson <jrj@purdue.edu>
3954 * common-src/stream.h: Move DATABUF_SIZE to stream.h.
3955 * client-src/sendbackup.c: Do not ask for a big receive buffer.
3956 * server-src/dumper.c: Ask for a bigger send buffer. Minor typos.
3957 * server-src/taper.c: Ask for a bigger receive buffer.
3958 * recover-src/amrecover.c: Use stream_client instead of specific
3959 (and incorrect) bind() code.
3960 * recover-src/extract_list.c: Ditto.
3962 2001-02-27 John R. Jackson <jrj@purdue.edu>
3964 * common-src/dgram.c: Add lots more error logging to help track down
3967 2001-02-27 John R. Jackson <jrj@purdue.edu>
3969 * common-src/stream.c: Add lots more error logging to help track down
3972 2001-02-27 John R. Jackson <jrj@purdue.edu>
3974 * server-src/amtape.c: Rewind after loading a slot either by slot
3977 2001-02-27 John R. Jackson <jrj@purdue.edu>
3979 * configure.in: Copy ssize_t type check code from main branch.
3981 2001-02-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3983 * docs/SYSTEM.NOTES: change cs.umd.edu by amanda.org.
3985 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3987 * server-src/amindexd.c (uncompress_file): remove uncompressed
3988 index file if the command failed.
3990 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3992 * changer-src/scsi-changer-driver.c (GenericRewind): init ret to 0
3993 to remove compiler warning.
3995 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3997 * server-src/planner.c (setup_estimate): ask for level 0 for
3998 a new disk if force-bump is set,
3999 log force-bump and force-nobump command.
4001 2001-02-21 Thomas Hepper <thqant.han.de>
4002 * changer-src/scsi-changer-driver.c: Do an Test Unit Ready
4003 before sending SCSI commands in GenericRewind
4004 * changer-src/chg-scsi.c: Fixed an type in the debug print
4007 2001-02-09 John R. Jackson <jrj@purdue.edu>
4009 * server-src/diskfile.c: Fix core dump in test program.
4011 2001-02-09 John R. Jackson <jrj@purdue.edu>
4013 * tape-src/output-file.c: Use a "data" subdirectory of the main
4014 file driver device directory to hold the tape "files". This
4015 allows the status file to be moved to the main directory.
4016 * man/amanda.8.in: Document these changes.
4018 2001-02-05 John R. Jackson <jrj@purdue.edu>
4020 * man/amanda.8.in: Fix mailto to space separated, not comma.
4022 2001-02-03 John R. Jackson <jrj@purdue.edu>
4024 * .cvsignore: Add entries to keep CVS quiet.
4025 * */.cvsignore: Ditto.
4027 2001-02-03 John R. Jackson <jrj@purdue.edu>
4029 * client-src/Makefile.am: Add CLEANFILES rule to remove *.test.c.
4030 * common-src/Makefile.am: Add more sources as needed to the test
4031 programs so they would compile.
4032 * server-src/Makefile.am: Create TEST_PROGS make variable ala the
4033 other Makefile.am files.
4034 * tape-src/Makefile.am: Add CLEANFILES rule to remove *.test.c.
4036 2001-02-02 John R. Jackson <jrj@purdue.edu>
4038 * server-src/reporter.c: Fix problem with enum being unsigned on
4041 2001-01-29 John R. Jackson <jrj@purdue.edu>
4043 * tape-src/output-tape.c (tape_tapefd_status): Convert flag values
4044 to booleans (compliments of Marc W. Mengel <mengel@fnal.gov>).
4045 * tape-src/tapeio.c (tape_fsf): Use ap_snprintf instead of snprintf
4046 (also compliments of Marc).
4048 2001-01-26 John R. Jackson <jrj@purdue.edu>
4050 * changer-src/Makefile.am: Double up the references to libamanda to
4051 handle systems that put regex in strange places.
4052 * client-src/Makefile.am: Ditto.
4053 * recover-src/Makefile.am: Ditto.
4054 * restore-src/Makefile.am: Ditto.
4055 * server-src/Makefile.am: Ditto.
4056 * tape-src/Makefile.am: Ditto.
4058 2001-01-24 John R. Jackson <jrj@purdue.edu>
4060 * docs/VTAPE-API: Added.
4062 2001-01-23 John R. Jackson <jrj@purdue.edu>
4064 * configure.in: Add tapeio switch from Marc Mengel <mengel@fnal.gov>,
4065 enhance and add "null" and "file" output drivers. Change all
4066 tape changers (except chg-scsi) to use amdd and ammt. Change all
4067 tape changers (except chg-scsi) to log and use a consistent
4068 error reporting scheme. Fix various bugs along the way. Add new
4069 chg-multi config option, posteject, which is an optional script
4070 to call after each "tape" is ejected (e.g. to use to start a
4071 CDROM writer). Remove special code for tapedev of /dev/null
4072 (now handled by the "null" output driver). Changed the taper
4073 protocol to pass the host/disk/level so the write can send that
4074 along to the output driver. Fairly major rework of amrestore
4075 to clean up tape/non-tape and other oddities.
4076 * changer-src/chg-chio.pl.in: Ditto.
4077 * changer-src/chg-chs.sh.in: Ditto.
4078 * changer-src/chg-manual.sh.in: Ditto.
4079 * changer-src/chg-mtx.sh.in: Ditto.
4080 * changer-src/chg-multi.sh.in: Ditto.
4081 * changer-src/chg-rth.pl.in: Ditto.
4082 * changer-src/chg-zd-mtx.sh.in: Ditto.
4083 * client-src/sendbackup.c: Ditto.
4084 * common-src/alloc.c: Ditto.
4085 * common-src/amanda.h: Ditto.
4086 * docs/INTERNALS: Ditto.
4087 * man/Makefile.am: Ditto.
4088 * man/amanda.8.in: Ditto.
4089 * man/amdd.8: Ditto.
4090 * man/ammt.8: Ditto.
4091 * restore-src/amrestore.c: Ditto.
4092 * server-src/amcheck.c: Ditto.
4093 * server-src/amlabel.c: Ditto.
4094 * server-src/amtape.c: Ditto.
4095 * server-src/amverify.sh.in: Ditto.
4096 * server-src/conffile.c: Ditto.
4097 * server-src/conffile.h: Ditto.
4098 * server-src/taper.c: Ditto.
4099 * tape-src/Makefile.am: Ditto.
4100 * tape-src/amdd.c: Ditto.
4101 * tape-src/ammt.c: Ditto.
4102 * tape-src/output-file.c: Ditto.
4103 * tape-src/output-file.h: Ditto.
4104 * tape-src/output-null.c: Ditto.
4105 * tape-src/output-null.h: Ditto.
4106 * tape-src/output-rait.c: Ditto.
4107 * tape-src/output-rait.h: Ditto.
4108 * tape-src/output-tape.c: Ditto.
4109 * tape-src/output-tape.h: Ditto.
4110 * tape-src/tapeio.c: Ditto.
4111 * tape-src/tapeio.h: Ditto.
4112 * tape-src/tests/amtapeio.test.000: Ditto.
4113 * tape-src/tests/amtapeio.test.001: Ditto.
4114 * tape-src/tests/amtapeio.test.002: Ditto.
4115 * tape-src/tests/amtapeio.test.003: Ditto.
4116 * tape-src/tests/amtapeio.test.004: Ditto.
4117 * tape-src/tests/amtapeio.test.005: Ditto.
4118 * tape-src/tests/amtapeio.test.006: Ditto.
4119 * tape-src/tests/amtapeio.test.007: Ditto.
4120 * tape-src/tests/amtapeio.test.008: Ditto.
4121 * tape-src/tests/amtapeio.test.009: Ditto.
4122 * tape-src/tests/amtapeio.test.010: Ditto.
4123 * tape-src/tests/amtapeio.test.011: Ditto.
4124 * tape-src/tests/amtapeio.test.012: Ditto.
4125 * tape-src/tests/amtapeio.test.013: Ditto.
4126 * tape-src/tests/amtapeio.test.014: Ditto.
4127 * tape-src/tests/amtapeio.test.015: Ditto.
4128 * tape-src/tests/amtapeio.test.016: Ditto.
4129 * tape-src/tests/amtapeio.test.017: Ditto.
4130 * tape-src/tests/amtapeio.test.018: Ditto.
4131 * tape-src/tests/cleartape: Ditto.
4132 * tape-src/tests/newtest: Ditto.
4133 * tape-src/tests/rerun: Ditto.
4134 * tape-src/tests/runtest: Ditto.
4135 * tape-src/tests/testdist: Ditto.
4136 * tape-src/tests/torture: Ditto.
4138 2001-01-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4140 * server-src/driverio.h (sched_t): new field no_space.
4141 * server-src/driver.c (start_some_dumps): don't start a disk if
4143 * server-src/driver.c (continue_dumps): set no_space if it's the
4144 only active dumpers, case c.
4145 * server-src/driver.c (read_schedule): set no_space to 0.
4147 2001-01-23 John R. Jackson <jrj@purdue.edu>
4149 * configure.in: Test for setmntent.
4150 * client-src/getfsent.c: Add some support for Redhat 7 /etc/fstab
4151 changes that indirectly reference the device for a file system.
4153 2001-01-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4155 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.2p1)
4157 2001-01-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4159 * NEWS: 2.4.2p1 is a bug fix release.
4161 2001-01-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4163 * docs/INSTALL: Notes about tar-1.13.19
4165 2001-01-07 Thomas Hepper <th@ant.han.de>
4167 * changer-src/chg-scsi.c: Moved defs. for config_t and changer_t
4169 New option havebarcode to force the reading of the barcode labels
4170 * changer/src/scsi-changer-driver.c: GenericBarCode now returns
4171 true/false depending on the setting of havebarcode.
4172 Removed EXB230DElementStatus, the exsisting Exabyte function works.
4173 Fixed more warnings from -Wshadow
4175 2001-01-04 John R. Jackson <jrj@purdue.edu>
4177 * common-src/error.c (error): If the debug file pointer is set, log
4178 any fatal error message to it and close the file so it has a good
4179 trace of what happened and when.
4181 2001-01-04 John R. Jackson <jrj@purdue.edu>
4183 * client-src/killpgrp.c: Calls to error() do not need a newline.
4185 2001-01-04 John R. Jackson <jrj@purdue.edu>
4187 * man/amanda.8.in: Try to make it clearer that dumpcycle and maxdumps
4188 changes in the main part of the config file must appear before any
4189 dumptype definitions, and also that inherited dumptypes must appear
4190 before their reference.
4192 2001-01-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4194 * server-src/driver.c (continue_dumps): Don't reduce est_size if
4195 it is already larger than holding space allocated.
4196 * server-src/dumper.c: Better handling of ENOSPC from open() and
4199 2001-01-04 John R. Jackson <jrj@purdue.edu>
4201 * server-src/conffile.c (main): Fix conffile test program so it builds
4204 2001-01-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4206 * changer-src/scsi-defs.h (ChangerCMD_T): replace array function
4207 pointer by enumerated pointers.
4208 * changer-src/scsi-changer-driver.c: Use new calling convention.
4210 2001-01-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4212 * server-src/amstatus.pl.in: Better support for TRY-AGAIN and
4213 ABORT-FINISHED result.
4215 2001-01-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4216 Patch by Andreas F Mueller <afm@othello.ch>
4218 * server-src/amadmin.c (force_no_bump_one): Fix message.
4220 2000-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4222 * server-src/planner.c (analyze_estimate): pick incremental level
4223 if no estimate of level 0.
4225 2000-12-24 John R. Jackson <jrj@purdue.edu>
4227 * server-src/getconf.c: Fix free() of static text string (BUGGY) when
4228 the parameter being looked up is bad.
4230 2000-12-23 David Wolfskill <dhw@whistle.com>
4232 * server-src/amcheck.c (start_server_check): Change directory
4233 writable check to be for the tapelist directory instead of
4234 the config file directory. Remove config file directory test.
4235 * man/amcheck.8.in: Add mention of tapelist directory and do
4236 some other directory writable cleanup.
4238 2000-12-13 John R. Jackson <jrj@purdue.edu>
4240 * docs/Makefile.am: Removing entries for missing RAIT/VTAPE-API files.
4242 2000-12-13 John R. Jackson <jrj@purdue.edu>
4244 * tape-src/tapeio.c: De-commit the RAIT feature from 2.4.2. It will
4245 be in 2.5 and 2.4.2-multitape.
4246 * tape-src/tapeio.h: Ditto.
4247 * tape-src/Makefile.am: Ditto.
4249 2000-12-12 John R. Jackson <jrj@purdue.edu>
4251 * client-src/sendbackup-gnutar.c: Fix regex pattern to accept blanks
4254 2000-12-12 John R. Jackson <jrj@purdue.edu> and Marc Mengel <mengel@fnal.gov>
4256 * Makefile.am: Work around problem with automake 1.4 not including
4258 * docs/RAIT: New file.
4259 * docs/VTAPE-API: New file.
4260 * docs/Makefile.am: Include RAIT and VTAPE-API in distribution.
4261 Work around problem with automake 1.4 not including pkgdata_DATA.
4262 * tape-src/output-rait.h: New File providing RAIT virtual tape type.
4263 * tape-src/output-rait.c: New File providing RAIT virtual tape type.
4264 * tape-src/Makefile.am: Add output-rait.c.
4265 * tape-src/tapeio.c: Major Surgery.
4266 (vtable): New static table of virtual tape types.
4267 (fdtable): New static table mapping file descriptors.
4268 (tapefd_fsf_ioctl): Renamed tapefd_fsf, with added ioctl argument.
4269 (tapefd_rewind_ioctl): Likewise.
4270 (tapefd_unload_ioctl): Likewise.
4271 (tapefd_weof_ioctl): Likewise.
4272 (tapefd_status_ioctl): Likewise.
4273 (tape_open): Now is a virtual tape table lookup and call.
4274 (tape_access): Now is a switch through virtual tape table.
4275 (tape_stat): Likewise.
4276 (tapefd_close): Likewise.
4277 (tapefd_fsf): Likewise.
4278 (tapefd_read): Likewise.
4279 (tapefd_rewind): Likewise.
4280 (tapefd_resetofs): Likewise.
4281 (tapefd_unload): Likewise.
4282 (tapefd_status): Likewise.
4283 (tapefd_weof): Likewise.
4284 (tapefd_write): Likewise.
4285 (plain_tape_access): Rename of tape_access.
4286 (plain_tape_open): Likewise.
4287 (plain_tapefd_read): Likewise.
4288 (plain_tape_stat): Likewise.
4289 (plain_tapefd_write): Likewise.
4290 (plain_tapefd_close): Likewise.
4291 (plain_tapefd_fsf): Now calls tapefd_fsf_ioctl with &ioctl().
4292 (plain_tapefd_rewind): Likewise.
4293 (plain_tapefd_resetofs): Likewise.
4294 (plain_tapefd_unload): Likewise.
4295 (plain_tapefd_status): Likewise.
4296 (plain_tapefd_weof): Likewise.
4298 2000-12-07 Thomas Hepper <th@ant.han.de>
4300 changer-src/scsi-changer-driver.c: Added Exabyte 230D Sense Handler
4301 (patch from Gary Algier gaa@ulticom.com)
4302 Fixed some compile warnings (-Wshadow)
4303 changer-src/scsi-solaris.c: Changed the return Value from
4304 SCSI_ExecuteCommand to the value of Command.uscsi_status if
4305 the return value of the ioctl is > 0
4307 2000-12-04 John R. Jackson <jrj@purdue.edu>
4309 server-src/amdump.sh.in: Temporary fix for $LOGNAME vs whoami problem.
4311 2000-12-04 John R. Jackson <jrj@purdue.edu>
4313 * common-src/security.c: Make the "./security" test code available
4314 for normal operation by #define so it can be seen in, e.g., the
4315 */amandad*debug file.
4317 2000-12-04 John R. Jackson <jrj@purdue.edu>
4319 * server-src/conffile.c (read_conffile_recursively): If the file name
4320 for the includefile directive is not absolute, make it relative to
4321 the configuration directory.
4323 2000-12-03 John R. Jackson <jrj@purdue.edu>
4325 * restore-src/amrestore.c: Fix header when compression is included.
4326 Use "fast" option for -c and add new -C option to get "best".
4327 * man/amrestore.8: Document the new option, the compression level,
4328 and clean up some nroff issues.
4330 2000-11-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4332 * Amanda 2.4.2 released
4334 2000-11-22 John R. Jackson <jrj@purdue.edu>
4336 * contrib/dbbackup.ksh: Deal with adm being a symlink.
4337 * contrib/dbbackup.tcl: Update for Tcl 8.3 and newer Oratcl versions.
4339 2000-11-22 John R. Jackson <jrj@purdue.edu>
4341 * Makefile.am: Forgot to add contrib/sst/README.Amanda to the list
4342 of files to put in a distribution.
4344 2000-11-21 John R. Jackson <jrj@purdue.edu>
4346 * recover-src/extract_list.c (extract_files_child): Add support for
4349 2000-11-21 John R. Jackson <jrj@purdue.edu>
4351 * server-src/amcheck.c: Minor message wording changes.
4353 2000-11-21 John R. Jackson <jrj@purdue.edu>
4355 * configure.in: Forgot to check in this part of new amgetconf.8.in.
4357 2000-11-21 John R. Jackson <jrj@purdue.edu>
4359 * contrib/sst/README.Amanda: New file of Amanda specific sst notes.
4360 * contrib/sst/sst.c: Attempt at letting gcc compile sst.
4362 2000-11-21 John R. Jackson <jrj@purdue.edu>
4364 * man/amgetconf.8.in: New man page.
4365 * man/Makefile.am: Add support for amgetconf.8.in.
4366 * man/amadmin.8.in: Update for 2.4.2 and do general cleanup.
4367 * man/amanda.8.in: Ditto.
4368 * man/amcheck.8.in: Ditto.
4369 * man/amcheckdb.8.in: Ditto.
4370 * man/amcleanup.8.in: Ditto.
4371 * man/amdump.8.in: Ditto.
4372 * man/amflush.8.in: Ditto.
4373 * man/amlabel.8.in: Ditto.
4374 * man/amrecover.8.in: Ditto.
4375 * man/amreport.8.in: Ditto.
4376 * man/amrestore.8: Ditto.
4377 * man/amrmtape.8.in: Ditto.
4378 * man/amstatus.8.in: Ditto.
4379 * man/amtape.8: Ditto.
4380 * man/amtoc.8.in: Ditto.
4381 * man/amverify.8.in: Ditto.
4383 2000-11-21 John R. Jackson <jrj@purdue.edu>
4385 * contrib/sst/sst.c (sst_ioctl): Allow non-root users to use sst.
4387 2000-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4389 * server-src/amdump.sh.in: exit if amgetconf exit with status != 0.
4390 * server-src/amcleanup.sh.in: ditto
4391 * server-src/amstatus.pl.in: ditto
4393 2000-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4395 * server-src/driver.c (start_some_dumps): don't check free_kps if
4397 * server-src/driver.c (free_kps): remove the kludge.
4399 2000-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4401 * server-src/conffile.c: It's an error to have a negative chunksize.
4402 * man/amanda.8.in: remove documentation of negative chunksize.
4403 * example/amanda.conf.in: ditto
4404 * example/amanda.conf.chg-scsi.in:ditto
4405 * NEWS: negative chunksize is no longer supported.
4407 2000-11-03 John R. Jackson <jrj@purdue.edu>
4409 * server-src/driver.c (handle_taper_result): the holding disk entry
4410 should not be removed just because taper could not write it out in
4411 the "too many taper retries" case. It should be left for amflush.
4413 2000-11-01 John R. Jackson <jrj@purdue.edu>
4415 * server-src/amverify.sh.in: use common form for getting the first
4416 line of a file/pipe. Sed is more portable than head.
4418 2000-11-01 John R. Jackson <jrj@purdue.edu>
4420 * common-src/security.c (bsd_security_ok): Same fix for amwait_t !=
4421 int as applied a while back to changer.c. Compliments of John E.
4422 Hein <jhein@timing.com>.
4424 2000-10-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4426 * client-src/selfcheck.c (check_disk): Write an appropriate
4427 message if the disk name start with '//' and the program is DUMP
4428 or SAMBA is not compiled in.
4430 2000-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4432 * server-src/driver.c (continue_dumps): set estimate to more than
4433 what is already use instead of setting no_hold=1 when a disk
4434 don't fit on holding disk.
4436 2000-10-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4438 * server-src/amstatus.pl.in: add '&' when calling &usage()
4441 2000-10-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4442 reported by The Hermit Hacker <scrappy@hub.org>
4444 * changer-src/chg-chio.pl.in: remove unused $libexecdir.
4446 2000-10-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4447 reported by The Hermit Hacker <scrappy@hub.org>
4449 * changer-src/chg-chio.pl.in: remove comma after LOG,
4450 typo: r should be 0.
4452 2000-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4454 * docs/INDEXING: doc updated.
4456 2000-10-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4458 * changer-src/scsi-defs.h: prototype SCSI_Inquiry, PrintInquiry,
4459 DecodeSCSI, ChangerReplay, BarCode and MapBarCode.
4460 * changer-src/scsi-linux.c: fix compiler warning.
4461 * changer-src/scsi-changer-driver.c: fix compiler warning.
4463 2000-10-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4465 * changer-src/chg-scsi.c: remove rcsid.
4466 * changer-src/scsi-aix.c: remove rcsid, add amanda Copyright.
4467 * changer-src/scsi-bsd.c: remove rcsid, add amanda Copyright.
4468 * changer-src/scsi-changer-driver.c: remove rcsid, add amanda Copyright.
4469 * changer-src/scsi-defs.h: add amanda Copyright.
4470 * changer-src/scsi-hpux.c: remove rcsid.
4471 * changer-src/scsi-hpux_new.c: remove rcsid, add amanda Copyright.
4472 * changer-src/scsi-irix.c: remove rcsid, add amanda Copyright.
4473 * changer-src/scsi-linux.c: remove rcsid, add amanda Copyright.
4474 * changer-src/scsi-solaris.c: remove rcsid, add amanda Copyright.
4476 2000-10-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4478 * AUTHORS: add Thomas Hepper.
4480 2000-10-14 Thomas Hepper <th@ant.han.de>
4482 * changer-src/scsi-changer-driver.c: Added support for the TreeFrog
4483 library (barcode support), fixed some signal 11 problems in the
4484 output of chg-scsi -status
4485 Removed unused variables
4486 * changer-src/chg-scsi.c: same
4487 * changer-src/scsi-defs.h: same
4489 2000-10-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4491 * server-src/amverify.sh.in: grep only the first line of the header.
4493 2000-10-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4495 * server-src/amverify.sh.in: verify with tar even if the
4496 server and the client are not configured with the same path.
4498 2000-10-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4500 * NEWS: A new `ctimeout' keyword in amanda.conf to replace
4501 the CHECK_TIMEOUT constant in amcheck.c.
4503 2000-10-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4505 * server-src/amlabel.c: Don't set tape_ok to 0 if
4506 tape_wrlabel is successful.
4508 2000-10-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4510 * server-src/taper.c: amfree(strclosing).
4512 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4514 * configure.in: --with-samba-user is deprecated.
4515 * docs/SAMBA: the username is now on the amandapass file.
4516 * NEWS: the username is now on the amandapass file.
4517 * client-src/findpass.c (findpass): accept "*" as diskname.
4518 * client-src/selfcheck.c (check_disk): call to samba changed.
4519 * client-src/sendsize.c (getsize_smbtar): ditto.
4520 * client-src/sendbackup-gnutar.c (start_backup): ditto.
4521 * recover-src/extract_list.c (extract_files_child): ditto.
4523 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4525 * server-src/dumper.c (write_tapeheader): set errno = ENOSPC
4526 and return -1 if is not fully written.
4528 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4530 * server-src/taper.c: give better message when failing
4533 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4535 * server-src/diskfile.c (headqueue_disk): new function to
4536 insert at the head of the queue.
4537 * server-src/diskfile.h (headqueue_disk): prototype.
4538 * server-src/driver.c (handle_taper_result,dump_to_tape):
4539 insert with headqueue_disk() after a TRY-AGAIN.
4541 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4543 * server-src/dumper.c (do_dump): wait for index compress
4544 process to terminate before renaming the index file.
4546 2000-10-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4548 * AUTHORS: fix my email address.
4550 2000-09-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4552 * server-src/amcheck.c: Don't accept -m or -M option if MAILER
4554 * server-src/reporter.c: Need a -f optionn if MAILER is not defined.
4556 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4557 patch by <jeg@time.ucsc.edu>
4559 * server-src/reporter.c (output_summary): check for tape_labels.
4561 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4563 * server-src/amindexd.c: use strcasecmp to compare hostname.
4565 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4567 * server-src/amstatus.pl.in: fix plural misuse.
4569 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4571 * man/amanda.8.in: add all pages in the SEE ALSO section.
4573 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4575 * client-src/sendbackup.c: set estr=NULL if the exclude
4578 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4580 * client-src/sendbackup-gnutar.c: use exclude string estr
4583 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4585 * man/amreport.8.in: amreport does not rotate the log.
4586 * man/amrestore.8: note on holdingdisk.
4587 * restore-src/amrestore.c: update usage.
4588 * server-src/amrmtape.sh.in: update usage.
4589 * server-src/amverify.sh.in.usage: update usage.
4591 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4593 * server-src/amoverview.pl.in: update usage information,
4594 -config is no longer needed for ccompatibility with other program.
4595 * man/amoverview.8.in: -config is no longer needed.
4597 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4599 * server-src/amadmin.c (usage): show disklist command.
4601 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4603 * example/amanda.conf.in: chunk should not be larger than
4604 MAX_FILE_SIZE - 1Mb.
4606 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4608 * client-src/sendsize.c (getsize_smbtar): remove unused debug_level
4610 * server-src/amlabel.c (main): init errstr to NULL,
4611 fix compiler warning.
4613 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4614 patch by jason Thomas <jet@users.sourceforge.net>
4616 * tape-src/tapetype.c: fix help message.
4618 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4619 patch by Rudolf Cejka <cejkar@users.sourceforge.net>
4621 * common-src/file.c (mkpdir): check p != NULL
4622 * man/amstatus.8.in: typo
4624 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4625 patch by Rudolf Cejka <cejkar@users.sourceforge.net>
4627 * client-src/calcsize.c:sets correct program name,
4628 prevent coredumps and some improrer command line error mesages
4630 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4632 * common-src/amanda.h: prototype clean_regex().
4633 * common-src/match.c: new function clean_regex() that escape
4634 all non-alphanumeric character.
4635 * recover-src/extract_list.c (add_file, delete_file): use clean_regex().
4637 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4639 * server-src/amcheck.c: (start_server_check): check for the oldlog
4642 2000-09-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4644 * server-src/amtrmlog.c: better check of the oldlog directory.
4646 2000-09-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4648 * server-src/amcheck.c: (start_server_check): don't check the tape
4649 if tapedev is /dev/null.
4651 2000-09-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4653 * server-src/reporter.c (output_tapeinfo): test reversed for run_tapes.
4655 2000-08-01 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4657 * client-src/sendbackup-gnutar.c (start_backup) <taropt>:
4658 NULL-terminate it correctly.
4660 2000-07-18 John R. Jackson <jrj@purdue.edu>
4662 * changer-src/chg-chio.pl.in (do_time): fix chg-chio.pl timestamp
4663 function to return a string instead of writing to stdout.
4665 2000-07-18 John R. Jackson <jrj@purdue.edu>
4667 * server-src/taper.c (file_reader_side): detach and destroy shared
4668 memory areas on an error condition. Found by Patrik Andersin
4671 2000-07-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4673 * client-src/sendsize.c (getsize_dump,getsize_gnutar): set
4674 dumppid to the return value of pipespawn.
4676 2000-06-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4678 * client-src/sendbackup.c (parse_options): set efile.
4680 2000-06-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4682 * server-src/list_dir.c (add_dir_list_item): add at head of list.
4684 2000-06-12 Jeroen Ruigrok van der Werven <asmodai@wxs.nl>
4686 * server-src/amlabel.c (main): Do not amfree(config_name).
4688 2000-06-03 Thomas Hepper <th@ant.han.de>
4690 * changer-src/scsi-defs.h: Add missing defines which are used by the
4692 * changer-src/scsi-solaris.c: Added patch to limit the recursion
4693 in Scsi_ExecuteCommand.
4695 2000-06-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4697 * server-src/holding.c (pick_datestamp): convert ch to upper.
4699 2000-05-28 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4701 * client-src/sendbackup-gnutar.c: Ignore `socket ignored' GNU tar
4704 2000-05-27 Ian Turner <vectro@pipeline.com>
4705 * client-src/sendbackup.c (pipespawn): Moved to...
4706 * common-src/pipespawn.c: ... new file. Redirect all std
4707 streams. Support skipping arguments.
4708 * common-src/pipespawn.h (pipespawn, skip_argument): Declare.
4709 * common-src/Makefile.am (noinst_HEADERS): Added pipespawn.h.
4710 (libamanda_la_SOURCES): Added pipespawn.c.
4711 * client-src/sendbackup-dump.c, client-src/sendbackup-gnutar.c:
4714 2000-04-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4716 * server-src/amstatus.pl.in: typo
4718 2000-04-20 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4720 * recover-src/Makefile.am (LDADD): Removed libamtape.
4721 Reported by Paul Yeatman <pyeatman@ucsd.edu>
4723 2000-04-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4725 * server-src/taper.c: don't crash if the tapelist file
4728 2000-04-09 Frank Wojcik <fwojcik@lucent.com>
4730 * server-src/taper.c (detach_buffers): Fixed typo in error message.
4732 * server-src/amrmtape.sh.in: Fix occurrence of `Infofile', that
4733 should have been `InfoFile'.
4735 2000-04-09 Davide Marchignoli <marchign@di.unipi.it>
4737 * server-src/conffile.h (confparm_t): Added CTIMEOUT.
4738 * server-src/conffile.c: Added ctimeout support. Default to 30.
4739 * example/amanda.conf.in: Likewise.
4740 * man/amanda.8.in: Documented it.
4741 * server-src/amcheck.c: Use ctimeout from configuration file instead
4744 2000-04-09 Stan Brown <stanb@awod.com>
4746 * recover-src/amrecover.c (guess_disk): Omit DEV_PREFIX only if
4747 it is actually a prefix of fsname.
4749 2000-04-09 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4751 * server-src/amlabel.c (main): Check label *after* writing end mark.
4753 2000-03-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4755 * server-src/amlabel.c: don't crash if the tapelist file
4758 2000-02-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4760 * server-src/amstatus.pl.in: "0 dumpers busy" should be "0 dumper busy".
4762 2000-02-08 Thomas Hepper <th@ant.han.de>
4764 * changer-src/scsi-linux.c (SCSI_ExecuteCommand) : Direction for the
4765 memcpy for the sense result was wrong, so every time the sense result
4768 * changer-src/scsi-changer-driver.c (GenericElementStatus) : Added
4769 flag to signal if it is either a tape drive or a library.
4771 2000-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4773 * server-src/amadmin.c (force_one, force_bump_one): FORCE_FULL
4774 and FORCE_BUMP are mutually exclusive.
4776 2000-01-30 Thomas Hepper <th@ant.han.de>
4778 * changer-src/chg-scsi.c : Exit it tapedev in amanda.conf is not a
4781 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4783 * server-src/amstatus.pl.in (prefix, exec_prefix): Refer to them
4784 twice to avoid warnings of possible typo.
4786 * amplot/amplot.awk: Ignore dumper's RQ-MORE-DISK.
4787 Reported by David Wolfskill <dhw@whistle.com>
4788 * amplot/amplot.awk: Handle taper's TRY-AGAIN like TAPE-ERROR.
4790 * server-src/amstatus.pl.in: Compute and display TRY-AGAIN tape
4792 Reported by David Wolfskill <dhw@whistle.com>
4794 * man/amtoc.8.in: Document -w.
4796 2000-01-21 David Wolfskill <dhw@whistle.com>
4798 * server-src/amtoc.pl.in: Add `-w' to add new lines and form feeds.
4800 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4802 * man/amlabel.8.in: Tapes are no longer requested in reverse order
4804 Reported by Brad Guillory <round@baileylink.net>
4806 * server-src/amstatus.pl.in: New option --stats, to display
4807 statistics about dumpers and taper.
4808 * man/amstatus.8.in: Document it.
4810 2000-01-21 David Wolfskill <dhw@whistle.com>
4812 * server-src/amstatus.pl.in: Sort dumpers by number.
4814 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4816 * server-src/amstatus.pl.in: Remove bogus (?) line `$$host=1'.
4818 * configure.in (MAILER): Warn or print an error if not found,
4819 depending on whether server code is disabled or not.
4821 * server-src/reporter.c (output_tapeinfo): Report used tapes
4822 regardless of tape errors.
4824 * config/acinclude.m4i (CF_WAIT): Simplify the test. Declare wait()
4825 in the global scope.
4827 2000-01-21 Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
4829 * config/acinclude.m4i (CF_WAIT): Avoid warnings on systems
4830 where `union wait' works but is deprecated.
4832 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4834 * recover-src/uscan.l (settape): Recognize it.
4835 * recover-src/uparse.y: Parse it.
4836 * recover-src/amrecover.h (set_tape): Declare it.
4837 * recover-src/set_commands.c (set_tape): Implement it.
4838 * recover-src/help.c (help_list): Document it.
4839 * man/amrecover.8.in: Likewise.
4840 * recover-src/extract_list.c (extract_files): Warn if tape device is
4842 * recover-src/amrecover.c (tape_device_name): Default to
4843 server-determined default.
4845 2000-01-17 Thomas Hepper <th@ant.han.de>
4846 * changer-src/scsi-changer-driver.c : Typo in CheckMove fixed .
4848 2000-01-17 Thomas Hepper <th@ant.han.de>
4850 * configure.in: check for scsi/sg.h on linux, and if true
4853 * changer-src/chg-scsi.c : New option -trace for debuging...
4854 new option changer_ident to set the internal driver for the changer
4856 * hanger-src/scsi-hpux_new.c: New function Tape_Status.
4857 returns the status of the tape. (loaded/empty etc)
4858 * changer-src/scsi-aix.c : Dummy function for Tape_Status
4859 * changer-src/scsi-bsd.c : Dummy function for Tape_Status
4860 * changer-src/scsi-irix.c : Dummy function for Tape_Status
4861 * changer-src/scsi-solaris.c : Dummy function for Tape_Status
4862 * changer-src/scsi-linux.c : Added better support for the sg driver.
4863 * changer-src/scsi-changer-driver.c : New driver for ADIC SDX and DLT448
4865 new function SDXMove for SDX library
4866 new function CheckMove to check if a move is legal based on the infs
4867 we get from the Mode Sense command
4868 * changer-src/scsi-defs.h : Added types returned by Tape_Status
4870 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4872 * server-src/driver.c (handle_dumper_result): When failed, set
4873 dp->inprogress to 0, not 1.
4875 2000-01-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4877 * configure.in: Recognize alpha*-*-linux-* and sparc*-*-linux-*.
4879 * tape-src/Makefile.am (../common-src/libamanda.$(LIB_EXTENSION)):
4880 Allow for `make tapetype' before libamanda is built.
4882 * server-src/amoverview.pl.in: Year doesn't take just 2 bytes.
4884 2000-01-06 David Wolfskill <dhw@whistle.com>
4886 * docs/TAPETYPES: Typo.
4888 2000-01-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4890 * docs/TAPETYPES: Removed all tapetype entries. Pointed to
4891 example/amanda.conf, to the mailing list archives and to the on-line
4892 tapetype list. Explained the meaning of length, filemark and speed,
4893 and how to build and use the tapetype utility.
4895 1999-12-12 John R. Jackson <jrj@purdue.edu>
4897 * configure.in: egrep was having trouble with quoting on some systems.
4898 Broke it apart into multiple unquoted statements. Also, changed the
4899 script to run the steps on all dump tests and added "Label" as another
4902 1999-12-12 John R. Jackson <jrj@purdue.edu>
4904 * tape-src/tapetype.c: tweak the algorithm to write files in both
4905 passes and compute the tape mark size as the difference. Never
4906 report a negative tape mark size. Various other minor cleanup.
4908 1999-11-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4910 * client-src/sendbackup-gnutar.c (re_table): #if out the debugging
4911 Samba messages unless SAMBA_VERSION < 2.
4913 1999-11-29 John E.P.Hynes <john@hytronix.ne.mediaone.net>
4915 * client-src/sendbackup-gnutar.c (re_table): Update for Samba 2.0.6.
4917 1999-11-10 John R. Jackson <jrj@purdue.edu>
4919 * recover-src/extract_list.c: report the tape server host in the
4920 message to check the amidxtaped.debug file. If extract_list_child
4921 fails (such as when amidxtaped fails to read the tape), ask if
4922 things should continue instead of aborting.
4924 1999-11-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4926 * server-src/driverio.c (update_info_dumper): Discard information on
4927 older same- or higher-level dumps.
4928 * server-src/driver.c (dump_to_tape): Add comment that _dumper must
4929 be called before _taper.
4931 * docs/FAQ: Sometimes FQDNs are wrong for amandahosts.
4933 1999-11-10 John R. Jackson <jrj@purdue.edu>
4935 * server-src/amindexd.c (build_disk_table): need to clear the old
4936 disk history list before building a new one.
4938 1999-11-10 John R. Jackson <jrj@purdue.edu>
4940 * server-src/taper.c (label_tape): issue a warning when tapedev is
4942 * server-src/amcheck.c (start_server_check): make warning message
4943 text the same for amcheck and taper when tapedev is /dev/null.
4945 1999-11-10 John R. Jackson <jrj@purdue.edu>
4947 * server-src/amcleanupdisk.c (main): try to remove empty holding disk
4949 * server-src/holding.c (scan_holdingdisk): do not automatically remove
4950 empty holding disk areas since this function is called by various
4951 utilities and a dump might be in progress.
4953 1999-11-10 James FitzGibbon <james@targetnet.com>
4955 * server-src/infofile.c (put_info): d.size should have been
4958 1999-11-09 John R. Jackson <jrj@purdue.edu>
4960 * server-src/amcheck.c (start_server_check): test tapedev for
4961 "/dev/null" and issue warning that dumps will be thrown away.
4963 1999-11-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4965 * common-src/amflock.c (struct flock): Do not assume the fields are
4966 declared in any particular order.
4967 Reported by Sean Kelly <kelly@plutotech.com>
4969 * Makefile.am (EXTRA_DIST): Added contrib/set_prod_link.pl.
4970 * docs/INSTALL: Likewise.
4972 1999-11-02 Ricardo Malta <rmalta@bigfoot.com>
4974 * contrib/set_prod_link.pl: Create the links for a configuration
4977 1999-11-02 Nicolas Mayencourt <Nicolas.Mayencourt@cui.unige.ch>
4979 * server-src/amtoc.pl.in: Correct a bug for total report.
4981 1999-11-01 John R. Jackson <jrj@purdue.edu>
4983 * server-src/driver.c (find_diskspace): make noisy holding space log
4984 message conditional on HOLD_DEBUG.
4986 1999-11-01 John R. Jackson <jrj@purdue.edu>
4988 * server-src/amcleanupdisk.c (main): do not free the config name (it
4991 1999-10-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4993 * common-src/debug.c: Do not assume stderr is a compile-time
4994 constant. On glibc 2.2 (RedHat Linux 6.1), it is not.
4996 1999-10-11 Nicolas Mayencourt <Nicolas.Mayencourt@cui.unige.ch>
4998 * server-src/amtoc.pl.in: Add new options -i and -t. Print original
4999 size, instead of size on tape.
5001 1999-10-07 John R. Jackson <jrj@purdue.edu>
5003 * common-src/stream.c (stream_server): remove reference to portrange
5004 variable. Compliments of Randy Dees <rrd@amherst.com>.
5006 1999-10-03 John R. Jackson <jrj@purdue.edu>
5008 * server-src/driver.c (main): now that multiple results can come back
5009 from taper and dumper without a handshake (e.g. NO-ROOM), we need to
5010 process them all rather than just the first one. Call the new
5011 areads_dataready() function to peek and see if more data is ready.
5012 * common-src/amanda.h: declare areads_dataready().
5013 * common-src/file.c: define areads_dataready(). Fix some variable
5014 types. Fix a buffer expansion problem. Add code to the test
5015 program to force buffer expansion to be checked out.
5017 1999-10-03 John R. Jackson <jrj@purdue.edu>
5019 * common-src/file.c (areads_getbuf): fix a buffer allocation problem.
5021 1999-10-03 John R. Jackson <jrj@purdue.edu>
5023 * common-src/amflock.c (main): do not use aclose() in the configure
5024 test case. During configure we do not have areads_relbuf()
5025 available and it makes configure think all the tests have failed.
5027 1999-10-03 John R. Jackson <jrj@purdue.edu>
5029 * common-src/amanda.h: protect the close macros and areads* from
5030 out of range file descriptors.
5031 * common-src/file.c: ditto.
5033 1999-10-02 John R. Jackson <jrj@purdue.edu>
5035 * server-src/amindexd.c (build_disk_table): only "OK" results from
5036 find_dump should be considered.
5038 1999-10-02 John R. Jackson <jrj@purdue.edu>
5040 * common-src/file.c (areads): when NO-ROOM became advisory and didn't
5041 participate in a full handshake, it exposed a problem in areads()
5042 where a static buffer was shared among all I/O. Changed it to use
5043 a separate buffer for each file descriptor. Enhanced the test
5044 program to check out the code.
5045 * common-src/amanda.h: ditto
5046 * restore-src/amidxtaped.c: minor areads/agets comment typo.
5047 * server-src/amindexd.c: ditto
5049 1999-10-02 John R. Jackson <jrj@purdue.edu>
5051 * server-src/driver.c: delete #define of HOLD_DEBUG, it was increasing
5052 the size of the amdump log file by a factor of 10 or more. Anyone
5053 who needs it can define it in CFLAGS or some other way.
5055 1999-09-29 John R. Jackson <jrj@purdue.edu>
5057 * server-src/dumper.c (do_dump): closed the dump messages file too
5060 1999-09-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5062 * recover-src/extract_list.c (samba_extract_method): Default to
5063 SAMBA_TAR, for similarity with other restore programs.
5064 (extract_files_child): If restore with SMBCLIENT is enabled, explain
5065 that Samba shares will be restored to the SMB share.
5067 1999-09-22 John R. Jackson <jrj@purdue.edu>
5069 * configure.in: wrong variable when processing LIBRARY_DIRS. Fix
5070 compliments of John M. Vogtle <jmvogtle@kodak.com>.
5072 1999-09-19 John R. Jackson <jrj@purdue.edu>
5074 * server-src/amverify.sh.in: this script is important enough it should
5075 not depend on having perl installed. Clean up the AIX "mt status"
5076 code. Test for presense of other restore programs and check that
5077 they are executable during processing.
5079 1999-09-19 John R. Jackson <jrj@purdue.edu>
5081 * server-src/amverify.sh.in: put back an "mt status" wait loop I
5082 erroneously removed, but protect it from AIX.
5084 1999-09-19 John R. Jackson <jrj@purdue.edu>
5086 * common-src/util.c: fix math in bind_portrange so ports requested
5087 are between those the caller passed and make sure port 0 does not
5088 accidentally get requested, which returns a non-privileged port.
5089 * common-src/dgram.c: bind_portrange last port argument is inclusive.
5090 * common-src/stream.c: ditto.
5091 * recover-src/amrecover.c: ditto.
5092 * recover-src/extract_list.c: ditto.
5094 1999-09-19 John R. Jackson <jrj@purdue.edu>
5096 * server-src/driver.c: do not send a FILE_WRITE to the taper when the
5097 tape queue is empty during a TRYAGAIN (driver core dumped).
5099 1999-09-19 John R. Jackson <jrj@purdue.edu>
5101 * server-src/taper.c: fix protocol problems when out of tape. Add
5102 FAKE_TAPE_ERROR debugging code to simulate tape errors. Fix problem
5103 with command line argument processing.
5105 1999-09-18 John R. Jackson <jrj@purdue.edu>
5107 * configure.in: several compress/uncompress variables were not being
5110 1999-09-18 John R. Jackson <jrj@purdue.edu>
5112 * client-src/sendbackup.c: pclose returns a child exit status of the
5113 pipe, not an errno, so do not try to strerror it.
5114 Have the index child process exit with the pclose exit code.
5115 Treat index failures as strange rather than fatal so the dump gets
5116 fully processed. It's more important to have the dump image than
5117 to skip it just because indexing had a (possibly unrelated) problem.
5119 1999-09-15 John R. Jackson <jrj@purdue.edu>
5121 * server-src/amtoc.pl.in: handle an image failing on one tape and
5122 succeeding on the next.
5124 1999-09-15 John R. Jackson <jrj@purdue.edu>
5126 * server-src/amstatus.pl.in: generalize the "driver: state" parsing
5127 so it can handle current and future information.
5129 1999-09-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5131 * server/driver.c (main): use the holding disk even if the
5132 datestamped directory already exist.
5134 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5136 * configure.in: Get snapshot date from SNAPSHOT file, if it exists.
5137 (VERSION): Add the date to it.
5138 (SNAPSHOT_STAMP): AC_SUBST to the SNAPSHOT file, if it exists.
5139 * Makefile.am (EXTRA_DIST): Added $(SNAPSHOT_STAMP).
5140 (config.status): Depend on $(SNAPSHOT_STAMP).
5141 (SNAPSHOT): Dummy rule to allow reconfigure if it's removed.
5143 * config/Makefile.am: Remove all traces of acconfig.h.
5145 * server-src/changer.c (changer_command): Fix for amwait_t != int.
5147 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5149 * config/acinclude.m4i: Added comments for config/config.h.in to all
5151 * configure.in: Likewise.
5152 * config/acconfig.h: Deleted.
5155 1999-09-13 John R. Jackson <jrj@purdue.edu>
5157 * server-src/amverify.sh.in: protect against uname not returning
5160 1999-09-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5162 * server-src/amcheck.c (start_server_check): use tapefile instead of
5163 conf_tapelist to open the file (we no longer cd to the config file).
5165 1999-09-11 John R. Jackson <jrj@purdue.edu>
5167 * server-src/reporter.c: sigh -- it was right the first time.
5169 1999-09-11 John R. Jackson <jrj@purdue.edu>
5171 * server-src/reporter.c: lost a few too many lines with the amlogroll
5172 changes to amreport.
5174 1999-09-11 John R. Jackson <jrj@purdue.edu>
5176 * server-src/amindex.c: minor memory leak.
5178 1999-09-11 John R. Jackson <jrj@purdue.edu>
5180 * server-src/amcheck.c: remove duplicated code.
5182 1999-09-11 John R. Jackson <jrj@purdue.edu>
5184 * server-src/Makefile.am: use new amlogroll utility to rename the log
5185 file to the datestamped name.
5186 * server-src/amcheck.c: ditto.
5187 * server-src/amcleanup.sh.in: ditto and call all utilities with the
5188 config file name as an argument.
5189 * server-src/amdump.sh.in: ditto and call all utilities with the
5190 config file name as an argument.
5191 * server-src/amflush.c: ditto.
5192 * server-src/amlogroll.c: new utility.
5193 * server-src/driverio.c: ditto and call all utilities with the
5194 config file name as an argument.
5195 * server-src/reporter.c: ditto.
5197 1999-09-10 John R. Jackson <jrj@purdue.edu>
5199 * client-src/rundump.c: minor compiler warnings.
5200 * common-src/security.c: minor compiler warnings.
5201 * server-src/amindexd.c: minor compiler warnings.
5202 * server-src/conffile.c: minor compiler warnings.
5204 1999-09-10 John R. Jackson <jrj@purdue.edu>
5206 * client-src/sendsize.c: typo in previous patch and pick a better
5207 variable name (ala other similar code).
5209 1999-09-10 John R. Jackson <jrj@purdue.edu>
5211 * client-src/amandad.c: clean up error messages after a fork or exec*
5213 * client-src/rundump.c: ditto.
5214 * client-src/runtar.c: ditto.
5215 * client-src/sendbackup.c: ditto.
5216 * client-src/sendsize.c: ditto.
5217 * restore-src/amidxtaped.c: ditto.
5218 * server-src/amflush.c: ditto.
5220 1999-09-07 John R. Jackson <jrj@purdue.edu>
5222 * configure.in: Add --with-tmpdir to ./configure and use it for
5223 all Amanda temporary files. Default --with-dbgdir to --with-tmpdir.
5224 Move libexec/getconf to sbin/amgetconf and add an optional
5225 config parameter. Add optional config parameter to several
5227 Add debugging to chg-chio.
5228 Call new safe_cd() function in most programs to cd to --with-tmpdir
5229 so if they drop core, it goes to a known spot. Rename existing
5230 core files so more than one failure may be tracked. Remove most
5231 chdir() and umask() calls (umask is set in safe_cd).
5232 * amplot/amplot.sh.in: ditto.
5233 * changer-src/chg-chio.pl.in: ditto.
5234 * changer-src/chg-chs.sh.in: ditto.
5235 * changer-src/chg-manual.sh.in: ditto.
5236 * changer-src/chg-mtx.sh.in: ditto.
5237 * changer-src/chg-multi.sh.in: ditto.
5238 * changer-src/chg-rth.pl.in: ditto.
5239 * changer-src/chg-scsi-chio.c: ditto.
5240 * changer-src/chg-scsi.c: ditto.
5241 * changer-src/chg-zd-mtx.sh.in: ditto.
5242 * client-src/amandad.c: ditto.
5243 * client-src/calcsize.c: ditto.
5244 * client-src/killpgrp.c: ditto.
5245 * client-src/rundump.c: ditto.
5246 * client-src/runtar.c: ditto.
5247 * client-src/selfcheck.c: ditto.
5248 * client-src/sendbackup-gnutar.c: ditto.
5249 * client-src/sendbackup.c: ditto.
5250 * client-src/sendsize.c: ditto.
5251 * common-src/alloc.c: ditto.
5252 * common-src/amanda.h: ditto.
5253 * common-src/amflock.c: ditto.
5254 * common-src/debug.c: ditto.
5255 * common-src/file.c: ditto.
5256 * common-src/genversion.c: ditto.
5257 * common-src/security.c: ditto.
5258 * config/acconfig.h: ditto.
5259 * dumper-src/gnutar.pl.in: ditto.
5260 * restore-src/amidxtaped.c: ditto.
5261 * server-src/Makefile.am: ditto.
5262 * server-src/amadmin.c: ditto.
5263 * server-src/amcheck.c: ditto.
5264 * server-src/amcheckdb.sh.in: ditto.
5265 * server-src/amcleanup.sh.in: ditto.
5266 * server-src/amcleanupdisk.c: ditto.
5267 * server-src/amdump.sh.in: ditto.
5268 * server-src/amflush.c: ditto.
5269 * server-src/amfreetapes.sh.in: ditto.
5270 * server-src/amindex.c: ditto.
5271 * server-src/amindex.h: ditto.
5272 * server-src/amindexd.c: ditto.
5273 * server-src/amlabel.c: ditto.
5274 * server-src/amrmtape.sh.in: ditto.
5275 * server-src/amstatus.pl.in: ditto.
5276 * server-src/amtape.c: ditto.
5277 * server-src/amtrmidx.c: ditto.
5278 * server-src/amtrmlog.c: ditto.
5279 * server-src/amverify.sh.in: ditto.
5280 * server-src/changer.c: ditto.
5281 * server-src/changer.h: ditto.
5282 * server-src/conffile.h: ditto.
5283 * server-src/diskfile.c: ditto.
5284 * server-src/driver.c: ditto.
5285 * server-src/driverio.c: ditto.
5286 * server-src/dumper.c: ditto.
5287 * server-src/find.c: ditto.
5288 * server-src/getconf.c: ditto.
5289 * server-src/holding.c: ditto.
5290 * server-src/infofile.c: ditto.
5291 * server-src/logfile.c: ditto.
5292 * server-src/planner.c: ditto.
5293 * server-src/reporter.c: ditto.
5294 * server-src/tapefile.c: ditto.
5295 * server-src/taper.c: ditto.
5297 1999-09-05 John R. Jackson <jrj@purdue.edu>
5299 * common-src/Makefile.am: change OBJ_EXTENSION to OBJEXT in line
5300 related to the "security" test tool.
5302 1999-09-05 John R. Jackson <jrj@purdue.edu>
5304 * changer-src/chg-chio.pl.in: add -w to #! line to catch more errors.
5305 * client-src/amandad.c: fix some compiler warnings.
5306 * common-src/protocol.c: fix some compiler warnings.
5307 * recover-src/display_commands.c: fix some compiler warnings.
5308 * recover-src/extract_list.c: fix some compiler warnings.
5309 * restore-src/amrestore.c: fix some compiler warnings.
5310 * server-src/conffile.c: fix some compiler warnings.
5311 * server-src/diskfile.c: fix some compiler warnings.
5312 * server-src/holding.c: fix some compiler warnings.
5313 * server-src/planner.c: fix some compiler warnings.
5315 1999-09-05 John R. Jackson <jrj@purdue.edu>
5317 * recover-src/extract_list.c: add VRESTORE and VXRESTORE support.
5319 1999-09-05 John R. Jackson <jrj@purdue.edu>
5321 * common-src/stream.c: make sure errno is returned properly from
5322 stream_client() and stream_server().
5323 * client-src/sendbackup.c: report errors from stream_server() and
5325 * server-src/taper.c: ditto.
5326 * recover-src/extract_list.c: make sure errno is preserved.
5328 1999-09-05 John R. Jackson <jrj@purdue.edu>
5330 * client-src/amandad.c: clean up a couple of debugging messages.
5332 1999-09-05 John R. Jackson <jrj@purdue.edu>
5334 * recover-src/amrecover.c: add missing ntohs calls. Reported by
5335 Kent Kalnasy <kkalnasy@ms.washington.edu>
5336 * recover-src/extract_list.c: ditto.
5338 1999-09-05 John R. Jackson <jrj@purdue.edu>
5340 * configure.in: make sure the dump and restore programs are defined
5341 in pairs, do not allow just the dump program without restore.
5342 * client-src/sendbackup-dump.c: assume restore program is present
5344 * common-src/genversion.c: assume restore program is present if
5347 1999-09-05 John R. Jackson <jrj@purdue.edu>
5349 * common-src/genversion.c: CLIENT_LOGIN has to be defined so there
5350 is no point testing for it.
5351 * server-src/conffile.c: ditto.
5353 1999-09-05 John R. Jackson <jrj@purdue.edu>
5355 * server-src/amverify.sh.in: add SMBCLIENT, VRESTORE, VXRESTORE
5356 and XFSRESTORE support.
5358 1999-09-05 John R. Jackson <jrj@purdue.edu>
5360 * server-src/conffile.c: add several common abbreviations to config
5363 1999-09-01 John R. Jackson <jrj@purdue.edu>
5365 * server-src/amtoc.pl.in: allow multiple -s entries.
5367 1999-09-01 John R. Jackson <jrj@purdue.edu>
5369 * server-src/reporter.c: handle/report a common columnspec syntax
5370 error instead of dumping core.
5372 1999-09-01 John R. Jackson <jrj@purdue.edu>
5374 * man/amanda.8.in: typo in columnspec description.
5376 1999-09-01 John R. Jackson <jrj@purdue.edu>
5378 * common-src/dgram.h: expressions in #define should be protected by
5381 1999-08-25 Alexandre Oliva <oliva@dcc.unicamp.br>
5383 * changer-src/chg-chs.sh.in (changerdev): Pass it as -f flag to CHS.
5384 * docs/TAPE.CHANGERS: Document it.
5385 Reported by Mike Horansky <moho@stanford.EDU>
5387 * server-src/conffile.c (read_dumptype): Renamed from get_dumptype.
5388 Extended to support reading a named dumptype from a specified FILE.
5389 (get_dumptype): Use read_dumptype.
5390 (main): Read disklist, so that custom dumptypes are shown.
5391 * server-src/conffile.h (read_dumptype): Declare.
5392 * server-src/diskfile.c (read_diskline): Use read_dumptype if
5393 dumptype starts with `{'.
5394 * man/amanda.8.in (disklist): Document it.
5396 * example/disklist: Exemplify it.
5398 1999-08-23 John R. Jackson <jrj@purdue.edu>
5400 * server-src/reporter.c (copy_template_file): make sure all data is
5401 written to label template pipeline.
5403 1999-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5404 Patch by Peter Conrad <conrad@opus5.de>
5406 * docs/INTERNALS: documented splitting of dumps across multiple
5408 * server-src/conffile.c: make sure that disksize and chunksize
5409 are multiple of TAPE_BLOCK_SIZE.
5410 * server-src/diskfile.c (find_disk): new function to see if a
5411 given disk is contained in a list structure.
5412 * server-src/diskfile.h (find_disk): prototype.
5413 * server-src/driverio.h (RQ_MORE_DISK): Added message.
5414 * server-src/driverio.h (free_assignedhd): prototype.
5415 * server-src/driverio.h (assignedhd_t): new data structure.
5416 * server-src/driverio.c (cmdstr): added comamnd RQ-MORE-DISK.
5417 * server-src/driverio.c (dumper_cmd): Modified format of CONTINUE
5418 * server-src/driverio.c (free_assignedhd): new function to free an
5419 array of assignedhd_t.
5420 * server-src/driver.c (roomq): new queue to replace stoppedq.
5421 * server-src/driver.c (find_diskspace, assign_holdingdisk,
5422 adjust_diskspace, delete_diskspace): rewrite.
5423 * server-src/driver.c (continue_dumps): new function to determine
5424 which dump should be continued.
5425 * server-src/driver.c (handle_taper_result): call continue_dumps
5426 to restart a roomq dump.
5427 * server-src/driver.c (handle_dumper_result): some rewrite,
5428 modified semantics of NO_ROOM, new message RQ-MORE-DISK.
5429 * server-src/dumper.c (main): Modified parsing of FILE_DUMP,
5431 * server-src/dumper.c (write_dataptr): NO-ROOM is informational only,
5432 trucate the file to a multiple of TAPE_BLOCK_BYTES.
5433 * server-src/dumper.c (update_dataptr): rewrite to emit RQ-MORE-DISK
5436 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
5438 * common-src/Makefile.am: Replace .o with OBJEXT. List sources
5439 explicitly, instead of LDADDing the corresponding objects.
5440 (OBJ_EXTENSION): Wipe out, use OBJEXT.
5442 * configure.in: Call AC_OBJEXT.
5443 (LTLIBOBJS, LTALLOCA): Define, according to ac_objext.
5444 * common-src/Makefile.am (libamanda_la_LIBADD): Use them.
5445 (libamanda_a_LIBADD): Use LIBOBJS and ALLOCA.
5447 * common-src/Makefile.am (genversion.o): Revert last change, it was
5448 just a bug in automake's --disable-dependency-tracking.
5450 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
5452 * README (platforms): Added OpenBSD.
5453 Reported by Ian Darwin <ian@sq.com>
5454 (platforms): Added SunOS 5.7.
5456 1999-08-15 Derek Ney <derek@hipgraphics.com>, Alexandre Oliva <oliva@dcc.unicamp.br>
5458 * client-src/sendsize.c (SAMBA_DEBUG_LEVEL): New macro, "0" for
5459 Samba >= 2, "3" for older ones.
5460 (getsize_smbtar): Use `du' if SAMBA_VERSION >= 2, and the
5461 appropriate SAMBA_DEBUG_LEVEL.
5463 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
5465 * common-src/Makefile.am (genversion.o): Depend on genversion.c
5466 too. It seems that IRIX's make doesn't work without it.
5467 Reported by Brian Cuttler <brian@wadsworth.org>
5469 1999-08-15 Jon LaBadie <jon@jgcomp.com>
5471 * tape-src/tapetype.c: Speed it up by using larger sections in the
5474 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
5476 * man/amanda.8.in (skip-full, incronly): Document existing bugs.
5478 * server-src/conffile.c (init_defaults): Default disksize to 0.
5479 * man/amanda.8.in (holdingdisk use): Document it.
5480 Reported by Grant Beattie <Grant.Beattie@fulcrum.com.au>
5482 * server-src/planner.c (setup_estimate): Typo.
5483 (next_level0): Typo.
5485 * config/ltconfig, config/ltmain.sh: Update from libtool 1.3.3.
5487 * example/amanda.conf.in: Clarify holdingdisk::use 0.
5489 * config/missing: Update from automake 1.4a.
5491 1999-07-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5493 * man/amanda.8.in: typo.
5495 1999-06-29 Alexandre Oliva <oliva@dcc.unicamp.br>
5497 * man/amrestore.8: Document holding-file usage.
5499 1999-06-25 Alexandre Oliva <oliva@dcc.unicamp.br>
5501 * Makefile.am (pkgdata_DATA): Install COPYRIGHTs.
5502 (EXTRA_DIST): Remove docs/*.
5503 * docs/Makefile.am: New file.
5504 (pkgdata_DATA): Install all docs.
5505 * configure.in: Output docs/Makefile.
5506 Suggested by Paul L. Lussier <plussier@baynetworks.com>
5508 * docs/FAQ (selfcheck time-out): NIS services, inetd rebooting,
5509 keyboard time-out, lsof.
5511 * server-src/amverify.sh.in (HEADER): Use `sed 1q' instead of the
5512 not-that-portable `head -1'.
5513 Reported by Andrew Lare <lare@eos913c.gsfc.nasa.gov>
5515 1999-06-20 Thomas Hepper <th@ant.han.de>
5517 * changer-src/chg-scsi.c: 2 new config keywords, changerident/tapeident
5519 * changer-src/scsi-changer-driver.c: deleted the linux driver at the
5520 beginning, (wrong window on cut and paste .......)
5522 * changer-src/scsi-defs.h: new element in Changer_IO which describes
5523 the type of device which is handled by this entry (tape/robot)
5525 * changer-src/scsi-changer-driver.c: New parameter to OpenDevice
5526 to override the selection of the driver for this device. (See
5527 also docs/TAPE.CHANGERS)
5529 1999-06-19 Alexander Zangerl <az@Austria.EU.net>
5531 * client-src/sendbackup-dump.c (re_table): Match Solaris vxdump
5534 1999-06-18 Thomas Hepper <th@ant.han.de>
5536 * server-src/changer.c: (changer_find) check if serachlabel is NULL
5537 if yes don't print it to the debug file
5539 * changer-src/scsi-solaris.c: (SCSI_ExecuteCommand) Add missing
5540 parameter to DecodeExtSense.
5542 * changer-src/scsi-aix.c: (SCSI_ExecuteCommand) Add missing
5543 parameter to DecodeExtSense.
5545 * changer-src/scsi-hpux.c: Added static char rcsid[] = ...
5546 * changer-src-/chg-scsi.c: dito
5547 * changer-src/scsi-changer-driver.c: dito
5549 1999-06-17 Thomas Hepper <th@ant.han.de>
5551 * configure.in: Add new example files amanda.conf.chg-scsi,
5552 chg-scsi-linux.conf, chg-scsi-solaris.conf, chg-scsi-hpux.conf
5554 * changer-src/chg-scsi-chio.c: Add parameter to find_empty
5556 * changer-src/chg-scsi.c: Changed the way files are opened, added
5557 FILE *debug_file because now it is possible to send some output to
5558 stdout. (scsi-changer-driver.c).
5559 (ask_clean) return 0 if result from get_clean_state is < 0
5560 if get_current_slot returns < 0 try to find the used slot by asking
5561 the robot. (happens if no slot file is available, or slot file is empty)
5563 * changer-src/scsi-changer-driver.c: New tape/robot types.
5564 (find_empty) new parameter to specify range where to search.
5565 More checks for NULL pointer ....
5566 (DumpDev) new function to print the info for the device struct.
5567 (ChangerStatus) some more output ....
5569 * changer-src/scsi-linux.c: Complete rewrite of SCSI_OpenDevice.
5571 * common-src/debug.c: (debug_fp) new function to return the FILE *
5574 * contrib/sst/sst.c: Removed the inquiry call, this is handled by
5575 chg-scsi. The old version will hang if for example no tape is loaded.
5577 * contrib/sst/Makefile: New Makefile, the old one does not work if not
5578 the complete SUNdrv kit is installed.
5581 1999-06-15 Adam Hammer <hammer@math.purdue.edu>
5583 * server-src/amverify.sh.in: Wait until device becomes ready after
5586 1999-06-15 Björn Brezger <Bjoern.Brezger@uni-konstanz.de>, Alexandre Oliva <oliva@dcc.unicamp.br>
5588 * client-src/calcsize.c (ROUND): Rewrite, it was broken.
5589 Reported by Erik Lindahl <erik@theophys.kth.se>
5591 1999-06-15 Alexandre Oliva <oliva@dcc.unicamp.br>
5593 * server-src/conffile.h: Changed all `long's to `int's, as they
5594 broke get_number et al on 64bit platforms.
5595 Reported by Erik Lindahl <erik@theophys.kth.se>
5597 * configure.in (bcopy, bzero): Oops, ICE_CHECK_DECL already checks
5600 * configure.in (bcopy, bzero): Check whether they're available.
5601 * common-src/amanda.h (bcopy, bzero): If not, use memmove and
5603 Reported by Grant Beattie <Grant.Beattie@fulcrum.com.au>
5605 * server-src/amcheck.c (start_server_check): If info file does not
5606 exist, explain that it is supposed to be created on the next run.
5608 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
5610 * server-src/tapefile.c (lookup_last_reusable_tape): Fix order of
5611 arguments in match() invocation.
5612 From Anthony Worrall <Anthony.Worrall@reading.ac.uk>
5614 1999-06-08 Mike Grupenhoff <kashmir@munge.com>
5616 * restore-src/amrestore.c: second arg to restore() is a char *, not
5617 a string_t. Adjust prototype accordingly.
5619 1999-06-07 Mike Grupenhoff <kashmir@munge.com>
5621 * common-src/util.c (bind_portrange): function that attempts
5622 to bind a network connection to a port in a given range.
5623 * common-src/util.h: prototype bind_portrange().
5624 * common-src/dgram.c (bind_reserved): remove, superceeded by
5626 (dgram_bind): use bind_portrange() instead of bind_reserved(), and
5627 try user specified ports first, then reserved ports, then regular
5629 * common-src/dgram.h: remove prototype for bind_reserved().
5630 * common-src/stream.c (stream_server, stream_client): use
5631 bind_portrange() instead of bind_reserved(), and try user
5632 specified ports first, then reserved ports, then regular
5634 * recover-src/amrecover.c (main): use bind_portrange() instead
5635 of bind_reserved(), and verify that the port it gives us is
5637 * recover-src/extract_list.c (extract_files_setup): use
5638 bind_portrange() instead of bind_reserved(), and verify that
5639 the port it gives us is a reserved one.
5641 1999-06-07 Mark F. Vlems <mvlems@vbox.xs4all.nl>
5643 * server-src/amindexd.c (reply, lreply, fast_lreply): Return code 0
5644 of printf does not imply an error on some systems (Openstep) even if
5645 the number of written characters is more than 0. The weakened error
5646 check has no implication for the correct implementations of printf.
5648 1999-06-03 Alexandre Oliva <oliva@dcc.unicamp.br>
5650 * server-src/driver.c (dump_to_tape): Tell hard from soft
5651 (retryable) failures in both dumper and taper results, and behave
5654 * docs/SYSTEM.NOTES: On Trusted Solaris, the format of inetd.conf is
5656 Reported by Julian Stevens <julian.stevens@baedsl.co.uk>
5658 1999-06-01 John Williams <williams@morinda.com>
5660 * changer-src/scsi-hpux.c (eject_tape): Enable it, it works.
5662 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
5664 * docs/INSTALL: Point to the patches page. Update version numbers.
5666 * example/config.site: Document UDPPORTRANGE.
5668 1999-06-01 Jens Persson <jens.persson@btj.se>
5670 * configure.in (UDPPORTRANGE): Set from --with-udpportrange.
5671 * config/acconfig.h: Add UDPPORTRANGE.
5672 * common-src/dgram.c: Implement it.
5674 1999-05-27 Alexandre Oliva <oliva@dcc.unicamp.br>
5676 * config/ltconfig, config/ltmain.sh, config/libtool.m4i: Updated
5677 to libtool 1.3.2 plus a few patches.
5678 * config/config.guess, config/config.sub: Ditto.
5680 1999-05-25 Alexandre Oliva <oliva@dcc.unicamp.br>
5682 * docs/FAQ (tar-patch): Mention sparse file problem.
5684 * recover-src/uscan.l: #undef `ECHO' after #include amanda.h; some
5685 system header files may define it.
5686 Reported by Dan Lipofsky <danlip@cyc.com>
5688 * */Makefile.am: Do not define ACLOCAL_M4, COMPILE or
5690 * Makefile.am: Create acinclude.m4 in the top-level directory.
5691 * config/Makefile.am: Create link to acconfig.h in the top-level
5693 * configure.in: Add AMANDA_CFLAGS to CFLAGS.
5694 * common-src/Makefile.am: Create genversion.h with #defines, to
5695 avoid genversion-specific CPPFLAGS.
5696 * common-src/genversion.c: #include genversion.h
5697 * common-src/version.h: VERSION_COMMENT must be const, as in
5700 1999-05-24 Mike Grupenhoff <kashmir@munge.com>
5702 * server-src/amcheck.c (main): if we reap a bogus pid, print
5703 out the error message we generate, instead of whatever junk
5704 happens to be in the buffer.
5706 1999-05-23 Alexandre Oliva <oliva@dcc.unicamp.br>
5708 * server-src/amindex.h: Keep P macro expression in a single line.
5709 Reported by Patrick Harrold <patrickh@nasco-inc.com>
5711 * common-src/Makefile.am (statfs_LDADD): Added alloc.obj.
5713 * common-src/statfs.c (STATFS_SCALE, sys/statvfs.h): If f_frsize is
5714 zero, use f_bsize. It now works with GNU libc 2.1.
5715 Reported by Heikki Vatiainen <hessu@cs.tut.fi>
5717 1999-05-22 Alex Pilosov <alex@pilosoft.com>
5719 * server-src/amindexd.c (is_dump_host_valid): sanitize_name(host)
5720 before doing a stat.
5721 * server-src/tapefile.c (lookup_nb_tape): init pos to 0.
5723 1999-05-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5725 * server-src/reporter.c: take the orig size from the SUCCESS line.
5726 use value from the infofile only the datestamp are equal.
5727 Write all available value.
5729 1999-05-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5731 * server-src/planner.c (pick_inclevel): check for base_level+1 if
5732 we don't have estimate for base_level. Needed for FORCE_BUMP.
5733 * server-src/planner.c (promote_highest_priority_incremental):
5734 Don't promote if we don't have level 0 estimate. No more need
5735 to check for skip_full, DS_NOFULL, DS_INCRONLY or FORCE_BUMP.
5737 1999-05-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5739 * server-src/amflush.c: ignore SIGPIPE
5740 * server-src/driver.c: ignore SIGPIPE
5741 * server-src/driverio.c (taper_cmd, dumper_cmd): return 0 on error,
5743 * server-src/driverio.h (taper_cmd, dumper_cmd): prototype.
5745 1999-05-14 Alexandre Oliva <oliva@dcc.unicamp.br>
5747 * docs/TAPE.CHANGERS (chg-rth): URL for chs is no longer valid.
5749 1999-05-10 Mike Grupenhoff <kashmir@munge.com>
5751 * client-src/sendsize.c (getsize_dump): print out the strerror
5752 if we can't exec killpgrp.
5754 1999-05-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5756 * example/amanda.conf.in: typo
5758 1999-05-05 Mike Grupenhoff <kashmir@munge.com>
5760 * server-src/amverify.sh.in (pecho): new function. Like echo
5761 but doesn't append newline, and supports \r, etc. Implemented
5763 * server-src/amverify.sh.in: use pecho where we used to use echo -n,
5764 etc. It's nearly impossible to figure out which echo needs what
5765 flags and also know if it supports \r. So we just punt and use
5768 1999-04-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5770 * server-src/planner.c (when_overwrite): return a big number (1024)
5771 if the tape is not reusable.
5773 1999-04-29 Alexandre Oliva <oliva@dcc.unicamp.br>
5775 * config/ltconfig, config/ltmain.sh, config/libtool.m4i: Updated
5778 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
5780 * common-src/versuff.c.in: Adjust constness to match version.h.
5782 * docs/SYSTEM.NOTES: Recommend GNU tar for Linux.
5784 1999-04-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5786 * server-src/amdump.sh.in: execute amtrmlog.
5788 1999-04-22 John R. Jackson <jrj@purdue.edu>
5790 * configure.in: add --with-broken-fsf to use a read() loop instead
5791 of the fsf ioctl on some broken systems.
5792 * config/acconfig.h: ditto
5793 * tape-src/tapeio.c (tapefd_fsf): ditto
5795 1999-04-22 Alexandre Oliva <oliva@dcc.unicamp.br>
5797 * docs/SYSTEM.NOTES: Typo
5798 * docs/SAMBA: Update on samba-largefs patch.
5799 * docs/FAQ: New FAQ about promotion of full dumps.
5801 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
5803 * tape-src/tapeio.c (tape_open): Retry after EBUSY and EINTR too.
5804 Comment out test that would set filename to /dev/null.
5806 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
5808 * docs/WISHLIST: Global reformat. Removed fixed issues. Added
5811 1999-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5813 * server-src/server_util.c: new file for utility function.
5814 New function construct_datestamp.
5815 * server-src/server_util.h: ditto
5816 * server-src/makefile.am: link server_util.c with libamserver.
5817 * amcleanupdisk.c (construct_datestamp): remove function.
5818 * server-src/driver.c: ditto
5819 * server-src/dumper.c: ditto
5820 * server-src/amflush.c: ditto
5821 * server-src/planner.c: ditto
5823 1999-04-15 Alexandre Oliva <oliva@dcc.unicamp.br>
5825 * docs/UPGRADE: Update URL for archived message.
5827 1999-04-07 John R. Jackson <jrj@purdue.edu>
5829 * tape-src/tapeio.c: allow tapedev to be /dev/null.
5830 * server-src/taper.c: allow tapedev to be /dev/null.
5831 * man/amanda.8.in: allow tapedev to be /dev/null.
5833 1999-04-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5835 * server-src/reporter.c (TextRule): Fix to write the full string.
5837 1999-04-06 David Mankins <dm@k12-nis-2.bbn.com>
5839 * common-src/security.c (bsd_security_ok): if an .amandahosts
5840 file is missing or unreadable, log this fact to the debug file
5841 instead of claiming that a user doesn't have permission.
5843 1999-04-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5845 * server-src/amcheck.c: -t should read the tapelist to validate
5848 1999-03-30 Alexandre Oliva <oliva@dcc.unicamp.br>
5850 * patches/samba-largefs.patch: updated to patch that ended up
5851 installed in the Samba CVS tree
5853 * patches/tar-1.12.patch: patch the configure script so that it
5854 requires autoconf and autoheader to be run; improve the
5855 printf_long_long test so that it doesn't get false positives because
5858 * changer-src/scsi-chio.c: since we do not support FreeBSD 3's
5859 camlib.h interface, #ifdef out all the code
5860 Reported by Francis Lam <Francis.Lam@Leitch.com>
5862 * configure.in (VXSYSLOCPATH): apparently a complex path expression
5863 gets AC_PATH_PROGS confused; set the path beforehand
5864 Reported by Francis Lam <Francis.Lam@Leitch.com>
5866 1999-03-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5868 * server-src/reporter.c: compiler warning.
5870 1999-03-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5872 * server-src/amtrmlog.c: new program to move unused log
5874 * server-src/Makefile.am: install amtrmlog.
5875 * server-src/find.h: declare find_log().
5876 * server-src/find.c(find_log): new function to return an array of
5877 all the logfile name that are still needed.
5878 * server-src/find.c(search_logfile): special case if output_find==NULL,
5879 return 1 if it the logfile fir the label.
5881 1999-03-25 Neil Crellin <neil@wallaby.cc>
5883 * docs/TAPE.CHANGERS (chg-chs): URL for chs
5885 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>, Tom Schutter <tom@platte.com>, Cloyce D. Spradling <cloyce@headgear.org>
5887 * patches/samba-largefs.patch: updated for Samba 2.0.*
5889 1999-03-25 Charles Owens <owensc@enc.edu>
5891 * changer-src/chg-chio.pl.in (changeTape): do not print status to
5892 both stdout and stderr; this causes failures on FreeBSD
5894 1999-03-21 Elmar Bartel <bartel@Informatik.TU-Muenchen.DE>
5896 * conffile.h, conffile.c: new columnspec option
5897 * reporter.c: use it
5898 * man/amanda.8.in: description and example
5899 * example/amanda.conf.in: ditto
5901 1999-03-20 Dahn Nilsson <dahn.nilsson@maxlab.lu.se>
5903 * configure.in: SAMBA_VERSION is not set correctly.
5905 1999-03-17 Alexandre Oliva <oliva@dcc.unicamp.br>
5907 * client-src/sendbackup-dump.c (re_table): generalize a bit some of
5908 the regular expressions, so as to make us more adaptable to future
5909 minor changes and bugfixes the the output format of some dumps
5911 1999-03-15 Thomas Hepper <th@ant.han.de>
5912 * changer-src/chg-scsi.c: If the open of the TapeDevice fails
5913 the programm is not terminated.
5914 * changer-src/scsi-aix.c: The wrong ident string was checked
5916 * changer-src/scsi-bsd.c: see scsi-aix.c
5917 * changer-src/scsi-linux.c: see scsi-aix.c
5918 * changer-src/scsi-solaris.c: see scsi-aix.c
5919 * changer-src/scsi-changer-driver.c: Added some more debug prints.
5920 Wrong fd passwd to LogSense.
5921 * docs/TAPE.CHANGERS: added note about linux and aha1542
5923 1999-03-15 Michael Povel <mcp@ladyada.han.de>
5924 * server-src/amlabel.c: Wrong parameter to changer_label
5925 * server-src/amtape.c: New function update_one_slot,
5927 * server-src/changer.c: Changed slotsp from int to char, some
5929 * server-src/changer.h: Changed prototype for changer_label
5931 1999-03-15 Alexandre Oliva <oliva@dcc.unicamp.br>
5933 * config/ltconfig, config/ltmain.sh: updated from libtool 1.2f
5934 * config/libtool.m4i, config/config.guess, config/config.sub: ditto
5935 * configure.in: dropped AC_PROG_RANLIB, as suggested by libtoolize
5937 1999-03-14 Mathias Herberts <Mathias.Herberts@ago.fr>
5939 * man/amrecover.8.in: document mode and setmode
5941 1999-03-14 Jon Stevens <jon@clearink.com>
5943 * common-src/security.c (bsd_security_ok): increase the verbosity of
5944 failed authentication messages
5946 1999-03-14 Alexandre Oliva <oliva@dcc.unicamp.br>
5948 * configure.in (powerpc-*-linux-*): supported platform
5950 Reported by Jon Stevens <jon@clearink.com>
5952 1999-03-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5954 * server-src/dumper.c (startup_dump): rename dumpname to progname.
5955 the function will use the parameter progname instead of the
5958 1999-03-06 Alexandre Oliva <oliva@dcc.unicamp.br>
5960 * configure.in (openbsd): according to Ralf Gebhart
5961 <rgebhart@cybernet-ag.net>, sparc-unknown-openbsd2.3 is supported;
5962 I assume other openbsd platforms work too.
5964 1999-03-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5966 * configure.in: set SAMBA_VERSION
5967 * client-src/sendbackup-gnutar.c (start_backup): use -q flag
5968 if SAMBA_VERSION >= 2
5970 1999-03-05 Mathias Herberts <Mathias.Herberts@ago.fr>
5972 * recover-src/amrecover.h (set_mode, show_mode) declare new functions.
5973 * recover-src/amrecover.h (SAMBA_SMBCLIENT, SAMBA_TAR) define new
5975 * recover-src/extract_list.c: declare variable samba_extract_method.
5976 * recover-src/extract_list.c (extract_files_child): set dumptype
5977 according to samba_extract_method.
5978 * recover-src/help.c (help_list): print help for new command mode
5980 * recover-src/set_commands.c (set_mode, show_mode): new functions.
5981 * recover-src/uscan.l:
5982 * recover-src/uparse.y:
5984 1999-03-04 Thomas Hepper <th@ant.han.de>
5985 * configure.in Check if samba tar accept the q option
5986 * changer-src/chg-scsi.c New command -status. Display slot status.
5987 add debug prints to parse_args. Missing {} in case COM_SLOT
5988 add put_current_slot if reset was successfull
5989 * changer-src/aix.c Init struct pwork with 0's.
5990 Fixed error in copy of the product indent form the inquiry
5991 * changer-src/scsi-bsd.c see aix.c
5992 * changer-src/scsi-hpux_new.c see aix.c
5993 * changer-src/scsi-irix.c see aix.c
5994 * changer-src/scsi-linux.c see aix.c
5995 * changer-src/scsi-solaris.c see aix.c
5996 * changer-src/scsi-changer-driver.c New function TerminatString,
5997 places 0 from the end of a string until first char/num
5998 Fixed wrong parameter for GenericRewind in LogSense
5999 In GenericElementStatus terminate VOL Tag String with 0
6000 New function CHangerStatus. dumps changer info on stdout.
6001 * changer-src/scsi-defs.h VolTag[TAG_SIZE+1] to have place for
6003 * client-src/sendbackup-gnutar.c Add option q to tar call if
6004 samba tar understand q option
6005 * config/acconfig.h New define if samba tar accepts q option
6006 * docs/TAPE.CHANGERS Add note on how to init the labelfile
6009 1999-03-03 Ralf Fassel <ralf@akutech.de>
6011 * common-src/conffile.h: bit field of length 1 should be unsigned int,
6014 1999-03-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6016 * server-src/driverio.h: new parameter level to update_info_taper().
6017 * server-src/driverio.c (update_info_taper): use parameter instead
6018 of sched(dp)->level.
6019 * server-src/driver.c: call update_info_taper with level parameter.
6020 * server-src/amflush.c: call update_info_taper with level parameter.
6021 no longer need to create a sched_t struct.
6023 1999-03-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6025 * server-src/driverio.h: remove declaration of inparallel, cmdstr()
6026 and childstr(), declare init_driverio(), add inparallel parameter
6027 to startup_dump_processes().
6028 * server-src/driverio.c (init_driverio): new function to initialize
6030 * server-src/driverio.c (childstr): scan for all dumpers (MAX_DUMPERS)
6031 instead of only inparallel
6032 * server-src/driverio.c (startup_dump_processes): new parameter
6033 inparallel is used instead of global variable.
6034 * server-src/driver.c (main): call init_driverio.
6035 * server-src/driver.c (main): call startup_dump_processes with
6036 inparallel parameter.
6037 * server-src/amflush.c (main): call init_driverio.
6039 1999-03-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6041 * server-src/amrmtape.sh.in: work with "last_level" and
6042 "consecutive_runs" in the ouput of "amadmin export".
6044 1999-02-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6046 * docs/WISHLIST: protocol between the driver and dumpers.
6048 1999-02-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6050 * server-src/amtoc.pl.in: output the datestamp of each dump, because
6051 amflush can flush the same disk multiple date.
6053 1999-02-27 Thomas Hepper <th@ant.han.de>
6054 * server-src/amlabel.c fixed call to changer_label
6056 1999-02-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6058 * server-src/holding.h: declare struct holding_t. Remove
6059 declaration of insert_dirname, scan_holdingdisk. Declare
6060 new function free_holding_list. pick_datestamp and
6061 pick_all_datestamp now return (holding_t *).
6062 * server-src/holding.c (insert_dirname): new parameter holding_list
6063 where we add the name. Can add more than MAX_DIRS name.
6064 * server-src/holding.c (free_holding_list): new function to free
6066 * server-src/holding.c (scan_holdingdisk): new parameter holding_list.
6067 * server-src/holding.c (pick_all_datestamp, pick_datestamp): return
6068 a list instead of a (char **).
6069 * server-src/find.c (search_holding_disk): use the list return by
6071 * server-src/amflush.c: use the list return by pick_datestamp.
6072 * server-src/amcleanupdisk.c (check_disks): use the list return by
6075 1999-02-26 Thomas Hepper <th@ant.han.de>
6077 * changer-src/chg-scsi.c Added global structs for the openend
6078 devices. Added new options label and search for the barcode
6079 support. New function MapBarCode, map barcode from reader
6080 to amanda tape labels.
6081 *changer-src/scsi-aix.c Error in copying SCSI ident fixed.
6082 A space mut not be the end of the string...
6083 * changer-src/scsi-bsd.c same as scsi-aix.c
6084 * changer-src/scsi-irix.c same as scsi-aix.c
6085 * changer-src/scsi-solaris.c same as scsi-aix.c
6086 * changer-src/scsi-hpux_new.c same as scsi-aix.c
6087 * changer-src/scsi-linux.c same as scsi-aix.c , fixed
6088 error in check if we open an sg device.
6089 * changer-src/scsi-changer-driver.c Removed LookupFunction
6090 and LookupDevice functions .
6091 * docs/TAPE.CHANGERS update info about chg-scsi
6093 1999-02-26 Michael Povel <mcp@ladyada.han.de>
6095 * server-src/amcheck.c Added debug output for barcode
6097 * server-src/amlabel.c Added debug output, inform chg-scsi
6099 * server-src/amtape.c Added debug output, inform chg-scsi
6101 * server-src/changer.c Added debug output, filled function
6102 changer-label with live, label search should work now
6104 1999-02-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6106 * server-src/driverio.c (addfd): bug fixe.
6108 1999-02-22 Alexandre Oliva <oliva@dcc.unicamp.br>
6110 * client-src/sendbackup-gnutar.c: new regexp for SAMBA
6111 Reported by Grzegorz Mucha <grzegorz.mucha@solidex.com.pl>
6113 1999-02-17 Alexandre Oliva <oliva@dcc.unicamp.br>
6115 * server-src/amtoc.pl.in: minor fixes for multi-tape runs
6117 1999-02-17 Nicolas Mayencourt <Nicolas.Mayencourt@cui.unige.ch>
6119 * server-src/amtoc.pl.in: complete, backward-incompatible rewrite;
6120 command-line arguments changed
6121 * man/amtoc.8.in: ditto
6123 1999-02-17 Alexandre Oliva <oliva@dcc.unicamp.br>
6125 * changer-src/chg-multi.sh.in: minor portability changes
6126 * docs/TAPE.CHANGERS: originally by James da Silva
6128 1999-02-17 Jean-Francois Dockes <dockes@cdkit.remcomp.fr>
6130 * changer-src/chg-multi.sh.in: various portability changes and
6131 general fixes, particularly for multieject; new cycle mode
6132 * docs/TAPE.CHANGERS: detailed description of chg-multi
6133 * example/chg-multi.conf: updated; added reference to
6134 docs/TAPE.CHANGERS for details
6136 1999-02-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6138 * server-src/driverio.h: remove declaration of addfd.
6139 * server-src/driverio.c (addfd): 2 new arguments, readset and maxfd,
6140 don't use global variable.
6141 * server-src/driverio.c (startup_tape_process, startup_dump_process):
6142 call addfd with new argument.
6144 1999-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6146 * server-src/driverio.c (startup_tape_process): new taper_program
6148 * server-src/driverio.h: remove declaration of taper_program.
6149 * server-src/driver.c (main): declare taper_program.
6150 * server-src/driver.c: call startup_tape_process with the new
6151 taper_program argument.
6152 * server-src/amflush.c (run_dumps): declare taper_program.
6153 * server-src/amflush.c (run_dumps): call startup_tape_process with
6154 the new taper_program argument.
6156 1999-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6158 * server-src/driverio.c (startup_dump_process, startup_dump_processes):
6159 new dumper_program argument.
6160 * server-src/driverio.h: remove declaration of dumper_program.
6161 * server-src/driver.c: declare dumper_program.
6162 * server-src/driver.c: call startup_dump_process and
6163 startup_dump_processes with the new dumper_program argument.
6165 1999-02-15 Thomas Hepper <th@ant.han.de>
6167 * changer-src/scsi-changer-driver.c forget to increment retry
6169 * changer-src/chg-scsi.c (clean_tape) added sleep(60) after
6170 loading the cleaning tape and before unloading
6172 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6174 * server-src/list_dir.h: remove global variable dir_list, declare
6175 new function get_dir_list.
6176 * server-src/list_dir.c (get_dir_list): new function to return dir_list.
6177 * server-src/amindexd.c (opaque_ls): use get_dir_list.
6179 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6181 * server-src/holding.h: remove declaration of get_letter_from_user()
6183 * server-src/holding.c: remove function get_letter_from_user() and
6185 * server-src/holding.c (pick_datestamp): return empty array instead
6186 of calling exit if no directory are found.
6187 * server-src/amflush.c (get_letter_from_user): new function copied
6189 * server-src/amflush.c (confirm): write a message and exit if no
6190 directory were found.
6192 1999-02-14 Thomas Hepper <th@ant.han.de>
6194 * changer-src/scsi-changer-driver.c New function SCSI_Move
6195 removed move in GenericMove, call now SCSI_Move
6196 Now check in GenericMove if the move is legal, based on the info
6197 from the device capabilities page
6198 * changer-src/scsi-linux.c (SCSI_OpenDevice) check if the device
6199 is an sg device, or an link to an sg device. If no set SCSI flag to 0
6200 Set timeout for SCSI commands, the default will not work if there is an
6201 IES on slow changers, if not set high maschine hangs with lot of SCSI bus
6204 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6206 * server-src/amindexd.c: remove duplication inclusion of version.h.
6207 Include tapefile.h to get read_tapelist() prototype.
6208 * server-src/amindexd.c (build_disk_table): remove a plethora of
6210 * server-src/planner.c: FORCE_FULL command was not cleared.
6212 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6214 * server-src/amflush.c (flush_holdingdisk): don't update the database
6215 when flushing a partial dump.
6217 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6219 * server-src/holding.h (get_dumpfile): new function
6220 * server-src/holding.c (get_dumpfile): new function to fill a
6221 dumpfile_t struct from a holding file.
6223 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6225 * server-src/amlabel.c: compiler warning: too many arguments for format
6227 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6229 * server-src/amlabel.c: remove the label from the tapefile in
6230 case it was already there (-f).
6232 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6234 * server-src/dumper.c: make sure holding files are not larger
6237 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6239 * server-src/amcleanupdisk.c: new program to scan and find temporary
6240 file on holding disks.
6241 * server-src/Makefile.am (libexec_PROGRAMS): add amcleanupdisk.
6242 * server-src/amcleanup.sh.in: call amcleanupdisk.
6244 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6246 * server-src/holding.c (pick_all_datestamp): new function to return
6247 all datestamp in the holding disks.
6248 * server-src/holding.h: declare pick_all_datestamp.
6250 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6252 * server-src/diskfile.h (host_t): new start_t field.
6253 * server-src/diskfile.c (read_diskline): set start_t to 0.
6254 * server-src/driver.c (start_some_dumps): Don't start a dump if
6255 the host->start_t > now.
6256 * server-src/driver.c (start_some_dumps): set host->start_t to 15 sec
6257 in the future when starting a FILE_DUMP.
6258 * server-src/driver.c (dump_to_tape): set host->start_t to 15 sec in
6259 the future when starting a PORT_DUMP.
6261 1999-02-12 Thomas Hepper <th@ant.han.de>
6262 * changer-src/Makefile.am added tape-src to the include list
6263 * changer-src/chg-scsi.c removed the changes for not using the
6265 * changer-src/scsi-aix.c Added debug output in SCSI_ExecuteCommand
6266 added size parameter to the SCSI_Inquiry call
6267 * changer-src/scsi-bsd.c added size parameter to the SCSI_Inquiry call
6268 * changer-src/scsi-hpux_new.c same as above
6269 * changer-src/scsi-irix.c same as above
6270 * changer-src/scsi-solaris.c same as above
6271 * changer-src/scsi-linux swich from ioctl interface to sg interface.
6272 Not full tested yet !!
6273 * changer-src/scsi-changer-driver.c Added new structs for new devices.
6274 complete rewrite of Sense Handling. Removed now unused functions.
6275 Added first functions for Barcode reader support.
6276 Now use MODE_SENSE to get the number of Drives/Slots/Robots.
6277 Split up functions in SCSI functions (prefix SCSI, Generic functions,
6278 prefix Generic. Not complete yet). Rewrite of GenericElementStatus
6279 * changer-src/scsi-defs.h added new structs, reordered some defines.
6280 * changer-src/chg-scsi-chio.c New file(copy of chg-scsi.c).
6281 Too difficult to maintain chg-scsi and chg-scsi-chio from one file
6283 1999-02-10 Alexandre Oliva <oliva@dcc.unicamp.br>
6285 * server-src/amlabel.c (main): try to read just-written tape label
6286 back; if wrendmark overwrote the label, suggest using a
6287 non-rewinding device
6288 * tape-src/tapeio.c (tape_wrendmark): would not close tape device if
6291 1999-02-10 Paul Bijnens <Paul.Bijnens@lant.be>
6293 * server-src/amoverview.pl.in: Y2K fix in output to user
6294 * server-src/amtoc.pl.in (print_info): ditto
6296 1999-02-10 Alexandre Oliva <oliva@dcc.unicamp.br>
6298 * client-src/sendsize.c (getsize_dump): do not redirect standard
6299 output of estimator to /dev/null if we HAVE_DUMP_ESTIMATE
6301 1999-02-03 Alexandre Oliva <oliva@dcc.unicamp.br>
6303 * NEWS: fix description of incronly: it won't really perform full
6306 * NEWS: support for ufsdump -S, incronly strategy and new chunksize
6309 * server-src/conffile.c (init_holdingdisk_defaults, chunksize):
6311 * example/amanda.conf.in: ditto
6312 * man/amanda.8.in: ditto
6314 * configure.in (amanda_cv_dump_estimate): check for support for -S
6315 too, and define HAVE_DUMP_ESTIMATE as the estimate switch, if any
6316 * client-src/sendsize.c (re_size): new regexps for Solaris ufsdump
6317 -S and Samba `du'. Restrict regexp that matched Digital Unix'
6318 dump -E so that it doesn't match smbclient's output any more.
6319 Move some regexps around, and only define them if the corresponding
6320 dump program is available
6322 1999-02-01 Alexandre Oliva <oliva@dcc.unicamp.br>
6324 * example/amanda.conf.in: document the behavior of relative
6326 * man/amanda.8.in: ditto
6328 * man/amanda.8.in (exclude list): the GNU tar flag is
6329 --exclude-from, not --exclude-list
6330 Reported by Tom Schutter <tom@platte.com>
6332 1999-02-01 Alexandre Oliva <oliva@dcc.unicamp.br>
6334 * client-src/sendbackup-gnutar.c (re_table): ignore `session request
6335 to' message printed by Samba 2.0.0
6337 1999-01-28 Alexandre Oliva <oliva@dcc.unicamp.br>
6339 * man/amanda.8.in (comprate): it is not used when there is history
6340 information; useful for large disks that compress little
6341 Reported by job bogan <job@piquin.uchicago.edu>
6343 1999-01-28 Alexandre Oliva <oliva@dcc.unicamp.br>
6345 * Makefile.am: select which SUBDIRS to descend to here
6346 * client-src/Makefile.am: removed if WANT_CLIENT
6347 * tape-src/Makefile.am: removed if WANT_TAPE
6348 * server-src/Makefile.am: removed if WANT_SERVER
6349 * changer-src/Makefile.am: ditto
6350 * restore-src/Makefile.am: removed if WANT_RESTORE
6351 * recover-src/Makefile.am: removed if WANT_RECOVER
6352 * amplot/Makefile.am: removed if WANT_AMPLOT
6354 1999-01-27 Alexandre Oliva <oliva@dcc.unicamp.br>
6356 * NEWS: chg-scsi ports and Samba 2.0.0 support
6358 * configure.in (USE_AMANDAHOSTS): enable by default
6359 * example/config.site: ditto
6360 * docs/INSTALL: ditto
6363 * docs/INSTALL: updated URLs for GNU packages and Samba
6364 * docs/SAMBA: note that Samba 2.0.0 is supported
6366 * docs/SYSTEM.NOTES (HP/UX): what does `Link severed' mean?
6368 1999-01-27 Thomas Hepper <th@ant.han.de>
6369 * changer-src/scsi-changer-driver.c SCSI_ReadElementStatus
6370 A while loop has to start with while, not if .....
6372 1999-01-27 Alexandre Oliva <oliva@dcc.unicamp.br>
6374 * Makefile.am (EXTRA_DIST): sst was added within contrib
6376 * ltmain.sh, ltconfig, libtool.m4i: updated from libtool CVS
6377 * configure.in: AC_SUBST LIBTOOL_DEPS
6378 * Makefile.am: regen libtool if neded
6380 * Makefile.am: declare that we want automake 1.4 and we're a foreign
6383 * configure.in: require autoconf 2.13, and use
6384 AC_VALIDATE_CACHED_SYSTEM_TUPLE instead of
6385 AC_VALIDATE_CACHE_SYSTEM_TYPE
6386 * config/acinclude.m4i: removed AC_VALIDATE_CACHE_SYSTEM_TYPE
6388 * configure.in (SAMBA_CLIENT): updated check for smbclient to
6391 1999-01-26 Alexandre Oliva <oliva@dcc.unicamp.br>
6393 * server-src/amdump.sh.in (runuser): set to LOGNAME if defined, and
6394 to the output of whoami otherwise
6395 Reported by Tom Schutter <tom@platte.com>
6397 1999-01-26 Thomas Hepper <th@ant.han.de>
6398 * Makefile.am Added sst driver files to EXTAR_DIST
6400 1999-01-26 Thomas Hepper <th@ant.han.de>
6401 * changer-src/chg-scsi.c If statfile is not set try to get the info
6402 about the current loaded tape direct from the changer.
6403 Fixed debug output for the eject value if > 1
6404 * changer-src/libscsi.h Prototype for GetCurrentSlot
6405 * changer-src/scsi-aix.c If the Device we open is not a changer or tape
6406 return NULL, so that the above function can abort. New eject per mtio ioctl.
6407 * changer-src/scsi-bsd.c see scsi-aix.c
6408 * changer-src/scsi-linux.c see scsi-aix.c
6409 * changer-src/scsi-hpux_new.c see scsi-aix.c
6410 * changer-src/scsi-irix.c see scsi-aix.c
6411 * changer-src/scsi-solaris.c see scsi-aix.c and added a retry loop for
6412 the execution of SCSI commands.
6413 * changer-src/scsi-changer-driver.c New Function SCSI_ReadElementStatus
6414 split ReadElementStatus in device and device independed part
6415 New EXB120ElementStatus, renamed ReadElementStatus in GenericElementStatus
6416 added EXB 120 and DLT7000 to the devices list.
6417 Removed the linked list for the element status. Now every element
6418 type has its own array allocated in the *ElementStatus functions.
6419 Check in the functions which sends SCSI commands if the fd is able to
6420 receive SCSI commands.
6421 In GenericEject check which type of eject to use (ioctl/SCSI)
6422 New GetCurrentSlot, try to get the info about the loaded tape direct from
6424 * changer-src/scsi-chio.c Add function GetCurrentSlot (not well tested yet)
6425 * changer-src/scsi-defs.h Added missing decl. in MediumTransportElementDescriptor_T
6426 for LITTLE_ENDIAN_BITFIELDS
6427 new field from in ElementInfo_T
6428 * changer-src/sci-hpux.c EMpty function GetCurrentSlot, do we still need scsi-hpux.c ?
6429 * docs/TAPE.CHANGERS added some notes for HP-UX, expanded list of tested devices
6431 1999-01-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6433 * server-src/conffile.c (init_defaults): default value of runspercycle
6435 * server-src/amadmin.c (balance): use default value of runspercycle.
6436 * server-src/planner.c (main): use default value of runspercycle.
6438 1999-01-22 Martin Apel <apel@tecmath.de>
6440 * example/amanda.conf.in: explanation of incronly strategy.
6441 * man/amanda.8.in: explanation of incronly strategy.
6442 * server-src/amadmin.c: recognize incronly strategy
6443 * server-src/conffile.c: read the incronly strategy in the
6445 * server-src/conffile.h: definition of DS_INCRONLY
6446 * server-src/planner.c: Do planning for incronly strategy:
6447 If the force flag is set perform a full dump, otherwise do
6448 normal incremental processing but avoid full dumps.
6449 * server-src/tapefile.c: Bugfix so only tapes which match
6450 the regular expression for tape labels in the current
6451 configuration are considered for writing.
6453 1999-01-22 Alexandre Oliva <oliva@dcc.unicamp.br>
6455 * configure.in: require autoconf 2.12.2
6457 * changer-src/Makefile.am (LDADD): add libamtape, because
6458 tapefd_rdlabel() is used in scsi-changer-driver.c
6460 * server-src/planner.c (output_scheduleline): removed `or historical
6461 data' from `no estimate' message; historical data doesn't matter any
6463 Reported by Giorgos Vlachos <Giorgos.Vlachos@eurodyn.com>
6465 1999-01-20 Todd Pfaff <pfaff@mcmaster.ca>
6467 * client-src/sendbackup-gnutar.c: more Samba 2.0.0 messages
6469 * client-src/sendbackup-gnutar.c: new Samba 2.0.0 message
6471 1999-01-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6473 * server-src/amflush.c: use ap_snprintf instead of snprintf.
6474 * server-src/amflush.c: rotation of new amflush log was broken.
6476 1999-01-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6478 * server-src/reporter.c: always call output_stats(), the problem is
6479 that degraded_mode is set if amflush fills the tape.
6481 1999-01-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6483 * server-src/amflush.c: write debuging info to $logdir/amflush
6484 instead of /dev/null if we run in background.
6485 * server-src/amcleanup.sh.in: rename $logdir/amflush.
6487 1999-01-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6489 * server-src/amstatus.pl.in: fix a divide by zero error.
6491 1999-01-10 Thomas Hepper <th@ant.han.de>
6492 * rewite of the scsi-changer-driver.c and the os depnedent
6493 parts. Removed one layer of functions (Move, Eject, Clean ...)
6495 1999-01-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6497 * server-src/amstatus.pl.in: report the current dump when reporting
6498 the busy time of each dumper.
6500 1998-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6502 * server-src/dumper.c: open temporary holding file with O_TRUNC flags
6505 1998-12-28 John R. Jackson <jrj@purdue.edu>
6507 * server-src/reporter.c: do not drop core generating labels if the
6508 tape label is not defined, e.g. in degraded mode (compliments of
6509 Jan L. Peterson <jlp@Part.NET>).
6511 1998-12-28 John R. Jackson <jrj@purdue.edu>
6513 * server-src/amtape.c: initialize two strings to NULL to avoid a
6514 core dump, compliments of G. Allen Morris III <gam3@acm.org>.
6516 1998-12-27 John R. Jackson <jrj@purdue.edu>
6518 * man/amreport.8.in: remove reference to 8.5x11 paper size for the
6521 1998-12-27 John R. Jackson <jrj@purdue.edu>
6523 * example/3hole.ps: new lbl-templ file for 3 hole punch reports
6524 * example/Makefile.am: add 3hole.ps
6526 1998-12-22 Thomas Hepper <th@icem.de>
6528 * docs/TAPE.CHANGERS Update notes about chg-scsi
6529 * changer-src/chg-scsi.c Added new config option tapestatus,
6530 if set the tape log pages are written to this file.
6531 changed parameter list for get_clean_state/ask_clean,
6532 * changer-src/libscsi.h changed parameter list for get_clean_state
6533 * changer-src/scsi-changer-driver.c Added new functions OpenDevice
6534 CloseDevice LookupDevice.
6535 Added new functions to read and decode the Tape LOG Pages.
6536 Tape Eject and ready check is now done by SCSI calls
6538 * changer-src/scsi-aix.c
6539 * changer-src/scsi-bsd.c
6540 * changer-src/scsi-hpux_new.c
6541 * changer-src/scsi-hpux.c
6542 * changer-src/scsi-irix.c
6543 * changer-src/scsi-solaris.c
6544 Changed all SCSI_OpenDevice/SCSI_CloseDevice functions so that they
6545 fit to the new OpenDevice/CloseDevice calls. Removed mtio.h from
6546 includes, remove Tape_Ready and Tape_Eject
6547 * changer-src/scsi-chio.c
6548 * changer-src/scsi-defs.h
6550 For all changer-src files, removed tabs, run indent (from xemacs)
6551 Added emacs variables to the end (no tab, gnu style)
6553 1998-12-21 John R. Jackson <jrj@purdue.edu>
6555 * man/amanda.8.in: document the lbl-templ tapetype option.
6557 1998-12-21 John R. Jackson <jrj@purdue.edu>
6559 * man/amreport.8.in: fix formatting problem.
6561 1998-12-20 John R. Jackson <jrj@purdue.edu>
6563 * configure.in: define NEED_RESETOFS unless LFS (large file system
6564 support) is available.
6565 * config/acconfig.h: add NEED_RESETOFS tag.
6566 * server-src/taper.c: only reset the tape offset if NEED_RESETOFS
6567 is defined and only once per 2 GBytes.
6569 1998-12-20 Alexandre Oliva <oliva@dcc.unicamp.br>
6571 * server-src/amlabel.c (main): datestamp for new tapes is now 0
6572 * server-src/tapefile.c (reusable_tape): recognize datestamp 0 as
6574 * man/amlabel.8.in: document that tapes are added to tapelist
6576 1998-12-19 John R. Jackson <jrj@purdue.edu>
6578 * server-src/amstatus.pl.in: instead of just displaying why no
6579 dumpers were busy, display reason(s) why N+1 were not busy.
6581 1998-12-18 John R. Jackson <jrj@purdue.edu>
6583 * server-src/amstatus.pl.in: add statistics about how much time
6584 taper and each dumper is busy, how much time N dumpers are busy
6585 and why no dumpers were busy.
6587 1998-12-18 John R. Jackson <jrj@purdue.edu>
6589 * server-src/amstatus.pl.in: fix two perl warnings.
6591 1998-12-18 John R. Jackson <jrj@purdue.edu>
6593 * server-src/amstatus.pl.in: fix two minor typos. Add percentage
6594 display to the summary comparing real and estimated size and real
6595 versus total estimate (showing how well the estimates are doing and
6596 a rough guess at how far along the run is). Also the percentage of
6597 total holding disk space in use.
6599 1998-12-18 John R. Jackson <jrj@purdue.edu>
6601 * server-src/amstatus.pl.in: take the --file argument as is if it
6602 is an absolute path.
6604 1998-12-18 John R. Jackson <jrj@purdue.edu>
6606 * server-src/driver.c: call short_dump_state() one last time before
6607 quitting so amstatus gets a last good status. Tell taper to quit
6608 after the dumpers since it writes more information to the amdump
6609 file (helps prevent mixed messages).
6611 1998-12-17 Alexandre Oliva <oliva@dcc.unicamp.br>
6613 * common-src/Makefile.am (noinst_DATA): removed; bogus
6614 * config/config.guess, config/config.sub: config/install-sh,
6615 config/mkinstalldirs: updated to current pre-2.13 autoconf CVS tree
6616 * patches/autoreconf.patch: removed
6617 * config/libtool/libtool.m4: renamed to config/libtool.m4i
6618 * config/acinclude.m4: renamed to config/acinclude.m4i
6619 * config/Makefile.am (EXTRA_DIST): updated to reflect changes
6620 * autogen: build config/acinclude.m4 by concatenating acinclude.m4i
6622 * configure.in: no longer test whether libtool is installed; require
6624 * config/ltconfig, config/ltmain.sh, config/libtool.m4i: updated to
6626 * amplot/Makefile.am (EXTRA_DIST): no longer needed
6627 * changer-src/Makefile.am (chg_scsi_SOURCE): move scsi-defs.h closer
6628 to the beginning of the list
6629 * docs/INSTALL: fixed URL to gnuplot; recommend autoconf and
6632 1998-12-14 Alexandre Oliva <oliva@dcc.unicamp.br>
6634 * configure.in (BSD SCSI): test ... -a ... is not portable, and less
6635 so when written test ... -a test ... :-)
6637 1998-12-14 Thomas Hepper <th@icem.de>
6639 * changer-src/Makefile.am Added scsi-bsd.c
6640 * changer-src/chg-scsi.c Initialize *scsitapedevice
6641 * changer-src/scsi-changer-driver.c remove LITTLE_ENDIAN_BITFILEDS
6643 changed RequestSense to pRequestSense (there is a function
6644 called RequestSense)
6645 changed error handling in ResetStatus (fix for IRIX)
6646 FIxed length handling for the pages in ReadElemtStatus
6647 * changer-src/scsi-chio.c get_clean_state only returns 0, the
6648 ioctl to get the clean flag is not portable ;-(
6649 changed all (f)printf to dbprintf
6651 * changer-src/scsi-defs.h ElementStatusData_T is for BIG and
6652 LITTLE endian the same ...
6654 * changer-src/scsi-bsd.c New file for FreeBSD
6656 * changer-src/scsi-irix.c Clean up in the return handling
6657 changed RequestSense to pRequestSense
6658 Removed unused function TapeStatus
6660 * changer-src/scsi-linux.c changed RequestSense to pRequestSense
6661 Removed unused function TapeStatus
6663 * changer-src/scsi-solaris.c changed RequestSense to pRequestSense
6664 Removed unused function TapeStatus
6666 * config/acconfig.h added def for BSD_LIKE_SCSI
6668 * configure.in Added check for ENDIAN type AC_C_BIGENDIAN
6669 added sys/scsiio.h and check for BSD SCSI interface
6671 1998-12-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6673 * server-src/driver.c (handle_dumper_result): rename .tmp files
6674 when receiving ABORT_FINISHED.
6676 1998-12-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6678 * server-src/driver.c (start_some_dumps): Use the holdp returned
6679 by find_diskspace for a big_dumper in degraded mode.
6681 1998-12-11 Alexandre Oliva <oliva@dcc.unicamp.br>
6683 * docs/SYSTEM.NOTES (Ultrix): recommend gcc or egcs
6684 (IRIX): patch for xfsdump estimates
6686 1998-12-10 John R. Jackson <jrj@purdue.edu>
6688 * common-src/amflock.c (main): remove call set_pname() for
6689 CONFIGURE_TEST since error.o is not linked in.
6691 1998-12-10 John R. Jackson <jrj@purdue.edu>
6693 * common-src/amflock.c (main): report CONFIGURE_TEST error messages to
6696 1998-12-10 John R. Jackson <jrj@purdue.edu>
6698 * common-src/amflock.c (main): call set_pname() for CONFIGURE_TEST.
6699 * configure.in: do not set up pname global for lnlock CONFIGURE_TEST.
6701 1998-12-09 Henning P. Schmiedehausen <henning@tanstaafl.de>
6703 * client-src/sendbackup.c (parse_options): Added check whether the
6704 pathname of the exclude file is relative and if yes, use the
6705 mountpoint of the filesystem as anchor. So you can put your exclude
6706 file in the root of the filesystem to backup.
6707 * client-src/sendsize.c (getsize_gnutar): added the same check as
6708 above so sendsize uses the same exclude file.
6710 1998-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6712 * server-src/holding.c (size_holding_files): return size in KB.
6713 * server-src/driver.c (adjust_diskspace): use KB returned by
6715 * server-src/driver.c: rename .tmp file
6716 * server-src/dumper.c: do not rename .tmp file. let the driver do it.
6718 1998-12-09 John R. Jackson <jrj@purdue.edu>
6720 * common-src/stream.c (stream_server): do not request a reserved port
6721 if we are root but PORTRANGE is defined. Also, clean up the code
6722 and make sure *portp is -1 on all error returns.
6724 1998-12-08 John R. Jackson <jrj@purdue.edu>
6726 * Makefile.am: add the user-contributed area.
6727 * contrib/README: describe the user-contributed area.
6728 * contrib/dbbackup.README: README for Oracle database backup system.
6729 * contrib/dbbackup.ksh: Oracle database backup system wrapper.
6730 * contrib/dbbackup.sql: Oracle database backup system setup commands.
6731 * contrib/dbbackup.tcl: Oracle database backup system main body.
6733 1998-12-08 John R. Jackson <jrj@purdue.edu>
6735 * amplot/Makefile.am: fix install rule when DESTDIR is non-null,
6736 compliments of Henning P. Schmiedehausen <hps@tanstaafl.de>.
6738 1998-12-08 John R. Jackson <jrj@purdue.edu>
6740 * configure.in: fix reversed code for --with-amrecover, compliments
6741 of Yar Tikhiy <yar@radio-msu.net>.
6743 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6745 * common-src/fileheader.h (dumpfile_t): new is_partial field.
6746 * common-src/fileheader.c: add codee for new is_partial field.
6747 * server-src/holding.h (rename_tmp_holding): declare new function.
6748 * server-src/holding.c (rename_tmp_holding): new function.
6749 * server-src/dumper.c (do_dump): return 1 if succeded, otherwise 0.
6750 * server-src/dumper.c (main): open .tmp when dumping to disk,
6751 rename .tmp if do_dump return 1.
6752 * server-src/dumper.c (update_dataptr): open .tmp for new chunk.
6753 * server-src/amstatus.pl.in (dump_size): return size of .tmp file.
6755 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6757 * NEWS: document new force-bump, force-no-bump and unforce-bump
6760 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6762 * server-src/holding.c (size_holding_files): new function to
6763 return the sum of the size of all chunk of an image.
6764 * server-src/holding.h (size_holding_files): declare.
6765 * server-src/driver.c (adjust_diskspace): use size_holding_files
6766 instead of doing a stat of only the first chunk.
6768 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6770 * server-src/amadmin.c: new force-bump, force-no-bump and unforce-bump
6772 * man/amadmin.8.in: document them.
6774 1998-12-05 Alexandre Oliva <oliva@dcc.unicamp.br>
6776 * docs/FAQ (large filesystems): fixed reference to results missing
6777 (results missing): updated to 64Kb UDP packets
6779 1998-12-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6781 * server-src/infofile.h: rename PLANNER_FORCE to FORCE_FULL
6782 * server-src/planner.c: rename PLANNER_FORCE to FORCE_FULL
6783 * server-src/amadmin.c: rename PLANNER_FORCE to FORCE_FULL
6785 1998-12-01 John R. Jackson <jrj@purdue.edu>
6787 * server-src/amcheck.c: make -t mean do the tape checks, add new -l
6788 option for doing just the local server (non-tape) checks. Have -w
6789 turn on -t. Have -cs (or -sc) do both server and client checks.
6790 * man/amcheck.8.in: document above changes and clean up some minor
6793 1998-11-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6795 * server-src/driver.c (start_some_dumps): In degraded mode,
6796 a big dumper should do high priority dump before low priority.
6797 * server-src/driver.c (sort_by_priority_reversed): sort by
6798 time if priority is equal.
6800 1998-11-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6802 * server-src/infofile.h: declare FORCE_BUMP and FORCE_NO_BUMP
6804 * server-src/amadmin.c (force_one,unforce_one,info_one): work
6805 with info.command with bit operator.
6806 * server-src/planner.c (setup_estimate): work with info.command
6807 with bit operator, support for FORCE_BUMP and FORCE_NO_BUMP command.
6809 1998-11-27 Thomas Hepper <th@icem.de>
6811 * changer-src/scsi-aix.c Some changes in the error handling in
6812 scsi command execution
6813 * changer-src/scsi-changer-driver.c More debug prints.
6814 removed Endian16/Endian24 (replaced with macros)
6815 * changer-src/scsi-chio.c make get_clean_state work on linux
6816 * changer-src/scsi-defs.h added macros for converting from/to
6818 * docs/TAPE.CHANGERS add note about AIX and chg-scsi
6820 1998-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6822 * server-src/amadmin.c(export_one): export the last_level and
6823 consecutive_runs field.
6824 * server-src/amadmin.c(import_one): import the last_level and
6825 consecutive_runs field.
6827 1998-11-24 John R. Jackson <jrj@purdue.edu>
6829 * server-src/amlabel.c: insist on being run as the dump user (ala
6830 amlabel) to keep permissions straight.
6832 1998-11-24 John R. Jackson <jrj@purdue.edu>
6834 * server-src/amadmin.c: fix minor message format problem.
6836 1998-11-24 John R. Jackson <jrj@purdue.edu>
6838 * server-src/amlabel.c: insist on being run as the dump user (ala
6839 amflush) to keep permissions straight.
6841 1998-11-24 John R. Jackson <jrj@purdue.edu>
6843 * server-src/amrmtape.sh.in: insist on being run as the dump user (ala
6844 amdump) to keep permissions straight.
6846 1998-11-24 John R. Jackson <jrj@purdue.edu>
6848 * server-src/amadmin.c: issue a warning for update commands that might
6849 leave ownership incorrect.
6851 1998-11-24 John R. Jackson <jrj@purdue.edu>
6853 * server-src/amcheck.c: add a "-t" option to disable tape tests in the
6854 server checks. This lets server checks be done without mounting a
6855 tape. Add lots more sanity checks, in particular, ownership and
6856 permissions of the index area and text format database. Warn if
6857 amcheck is not run as the dump user listed in amanda.conf. Minor
6858 consistency cleanup in the messages.
6859 * man/amcheck.8.in: document the changes.
6861 1998-11-20 Alexandre Oliva <oliva@dcc.unicamp.br>
6863 * server-src/amcleanup.sh.in (logdir/amdump): arrange that it is
6864 renamed if it exists, even if no log file could be found.
6866 1998-11-19 Alexandre Oliva <oliva@dcc.unicamp.br>
6868 * config/ltmain.sh, config/ltconfig, config/libtool/libtool.m4:
6869 updated to current CVS libtool
6871 1998-11-19 John R. Jackson <jrj@purdue.edu>
6873 * server-src/conffile.c (get_holdingdisk, init_holdingdisk_defaults):
6874 set the default chunksize and the "0" and "-1" special chunksizes
6875 to 64 KBytes less than the maximum to allow the final read at EOF.
6876 * server-src/dumper.c (main): leave the chunksize as it is when it
6877 comes in except to truncate it to a 32 KByte boundary.
6878 * man/amanda.8.in: add some chunksize comments and clean up a few
6879 minor odds and ends.
6881 1998-11-19 John R. Jackson <jrj@purdue.edu>
6883 * recover-src/amrecover.c (main): use set_host to find the initial
6884 host name so we get the same alias resolution at startup as the
6886 * recover-src/set_commands.c (set_host): report alternate names being
6887 attempted and only clear the directory list if a host is found.
6889 1998-11-19 Alexandre Oliva <oliva@dcc.unicamp.br>
6891 * server-src/driverio.c (update_info_dumper): do not update
6892 compression or dump rates when called from
6893 update_failed_dump_to_date
6894 Reported by Michael Schmitz <mschmitz@sema.de>
6896 1998-11-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6898 * server-src/dumper.c (main): reduce the size of the chunksize by
6901 1998-11-18 Alexandre Oliva <oliva@dcc.unicamp.br>
6903 * configure.in: hack for paxutils was not working; fixed
6905 1998-11-18 Michael Povel <mcp@ladyada.han.de>
6907 * server-src/changer.h added new functions:changer_query
6908 ,changer_search,changer_find, changer_label
6909 * server-src/changer.c added changer_query, changer_search,
6910 changer_find, changer_label
6911 * server-src/amcheck.c (taper_scan) now uses changer_find
6912 * server-src/amtape.c (load_label and taper_scan) now use changer_find
6913 * server-src/taper.c (taper_scan) now uses changer_find
6914 * server-src/amlabel.c (main) added call to changer_label
6915 which is only an empty dummy at the moment
6917 1998-11-18 Thomas Hepper <th@icem.de>
6919 * changer-src/chg-scsi.c Added debug print option
6920 * changer-src/chg-scsi.c If the load fails do not continue
6921 * changer-src/scsi-aix.c changed #include <config.h> to <amanda.h>
6922 * changer-src/scsi-aix.c Added debug prints to SCSI_ExecuteCommand
6923 * changer-src/scsi-changer-driver.c changed #include <config.h> to
6925 * changer-src/scsi-changer-driver.c Added debugging prints
6926 * changer-src/scsi-changer-driver.c Remove unused funktion TestUnitReady
6927 * changer-src/scsi-chio.c added missing funktion Tape_Ready
6928 * changer-src/scsi-hpux.c removed #include "config.h", is already done
6930 * changer-src/scsi-hpux_new.c changed #include <config.h> to
6932 * changer-src/scsi-irix.c changed #include <config.h> to
6934 * changer-src/scsi-linux.c changed #include <config.h> to
6936 * changer-src/scsi-solaris.c changed #include <config.h> to
6939 1998-11-17 Alexandre Oliva <oliva@dcc.unicamp.br>
6941 * client-src/sendsize.c: disable HAVE_DUMP_ESTIMATE if SAMBA_CLIENT
6944 1998-11-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6946 * server-src/tapefile.c (lookup_last_reusable_tape): Wrong order
6947 to shift the tpsave array.
6949 1998-11-17 Alexandre Oliva <oliva@dcc.unicamp.br>
6951 * example/amanda.conf.in: document that infofile is supposed to be a
6952 directory with the default database format
6953 * docs/FAQ: New questions: `infofile update failed' and `using the
6954 same host in different configurations'
6956 1998-11-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6958 changer-src/scsi-linux.c (Tape_Ready): typo, the argument Device
6959 to the SCSI_CloseDevice() is not defined, I changed it to tapedev.
6961 1998-11-17 Brendan M Coffey <bcoffey@connix.com>
6963 * common-src/stream.c (stream_server): add requested send and receive
6964 socket size parameters.
6965 * common-src/stream.h (stream_server): ditto
6966 * server-src/taper.c (file_reader_side): set a large receive socket
6968 * client-src/sendbackup.c (main): set a large send and receive socket
6969 buffer size for the data path, use defaults for the message and index
6972 1998-11-16 Alexandre Oliva <oliva@dcc.unicamp.br>
6974 * changer-src/scsi-solaris.c (Tape_Ready): typo in Thomas' patch
6976 1998-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6978 * server-src/infofile.h (get_dumpdate): rename record parameter to info.
6979 * server-src/infofile.h (get_info): rename record parameter to info.
6980 * server-src/infofile.h (put_info): rename record parameter to info.
6981 * server-src/infofile.c (get_dumpdate): rename rec parameter to info.
6982 * server-src/infofile.c (zero_info): rename ip parameter to info.
6983 * server-src/infofile.c (get_info): rename record parameter to info.
6984 * server-src/infofile.c (put_info): rename record parameter to info.
6985 * server-src/infofile.c (dump_rec): rename r parameter to info.
6986 * server-src/infofile.c (dump_db): rename record variable to info.
6987 * server-src/planner.c (last_level): rename ip parameter to info.
6988 * server-src/planner.c (next_level0): rename ip parameter to info.
6989 * server-src/planner.c (runs_at): rename ip parameter to info.
6990 * server-src/planner.c (askfor): rename inf parameter to info.
6991 * server-src/planner.c (setup_estimate): rename inf variable to info.
6992 * server-src/driverio.c (update_info_dumper): rename inf parameter
6994 * server-src/driverio.c (update_info_taper): rename inf parameter
6996 * server-src/amadmin.c (next_level0): rename ip parameter to info.
6997 * server-src/amadmin.c (force_one): rename inf variable to info.
6998 * server-src/amadmin.c (unforce_one): rename inf variable to info.
6999 * server-src/amadmin.c (delete_one): rename inf variable to info.
7000 * server-src/amadmin.c (info_one): rename inf variable to info.
7001 * server-src/amadmin.c (due_one): rename inf variable to info.
7002 * server-src/amadmin.c (balance): rename inf variable to info.
7004 1998-11-11 Thomas Hepper <th@icem.de>
7006 * configure.in: amanda_cv_hpux_scsi was double defined.
7007 Replaced it in the chio check with amanda_cv_hpux_scsi_chio
7008 * docs/TAPE.CHANGERS: update the notes about chg-scsi
7009 * changer-src/chg-scsi.c: Unload the cleaning tape only
7011 Pass the changerdev and tapedev Tape_Ready, so we can check
7012 if changerdev=tapedev. In this case the fd is already open.
7013 * changer-src/scsi-aix.c: cleanup and first parts are running :-)
7014 * changer-src/scsi-changer-driver.c: Pass back the scsi status
7015 field to the calling function, not the result from the ioctl
7016 if the return form the ioctl is >= 0
7017 * changer-src/scsi-hpux.c: Add additional param to Tape_Ready
7018 fill Tape_Ready with live
7019 * changer-src/scsi-hpux_new.c: Return the scsi status if
7020 the ioctl result is >=0. Add new Parameter to Tape_Ready
7021 * changer-src/scsi-irix.c: same as scsi-hpux_new.c
7022 * changer-src/scis-linux.c: Add additional param to Tape_Ready
7023 * changer-src/scsi-solaris.c: same as scsi-hpux_new.c
7025 1998-11-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7027 * server-src/driver.c (main): redo my patch about total_disksize that
7028 Alexendre has undone, only the 2.4.1 branch was broken.
7030 1998-11-10 Alexandre Oliva <oliva@dcc.unicamp.br>
7032 * server-src/driver.c (main): total_disksize was only added after
7033 the loop terminated, i.e., when hdp was NULL -> crash. fixed.
7035 1998-11-09 John R. Jackson <jrj@purdue.edu>
7037 * server-src/reporter.c (main): ignore SIGPIPE so if a child process
7038 dies we do not also go away. Also fix a core dump if amanda.conf
7039 cannot be processed, and clean up a few error messages.
7041 1998-11-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7043 * server-src/infofile.h (struct info_s): add last_level and
7045 * server-src/infofile.c: support new last_level and consecutive_runs
7046 * server-src/planner.c (last_level): return ip->last_level.
7047 * server-src/planner.c (runs_at): return ip->consecutive_runs.
7048 * server-src/driverio.c (update_info_dumper): update inf.last_level
7049 and inf.consecutive_runs.
7051 1998-11-09 Mike Grupenhoff <kashmir@munge.com>
7052 * client-src/sendbackup-dump.c (start_backup): don't close indexf
7053 if it was never open
7054 * client-src/sendbackup-gnutar.c (start_backup): ditto
7056 1998-11-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7058 * server-src/driver.c (main): add hdp->disksize to total_disksize
7059 even when we create the datestamp dir. (reserve was unusable).
7061 1998-11-07 Alexandre Oliva <oliva@dcc.unicamp.br>
7063 * configure.in (GNUTAR): accept tar from Free paxutils, the new name
7066 1998-11-07 Alexandre Oliva <oliva@dcc.unicamp.br>
7068 * changer-src/scsi-solaris.c: added missing #endif
7070 * configure.in: merge with camlib.h patch from Oct 31.
7071 remove all uses of test ... -a ...; this is not portable.
7072 (AC_CHECK_HEADERS) added header files for Linux and Solaris
7074 1998-11-07 Thomas Hepper <th@icem.de>
7076 * changer-src/chg-scsi: Add config option scsidev
7077 * changer-src/chg-scsi: Remove function tape_ready
7078 * changer-src/chg-scsi: Add new parameter tapedev to function
7080 * changer_src/scsi-hpux.c: changed HAVE_HPUX_SCSI to
7081 HAVE_HPUX_SCSI_CHIO, changed in configure.in too
7082 * changer-src/libscsi.h: Expand definition for get_clean_state
7083 * new files in /changer-src:
7084 scsi-aix.c, scsi-changer-driver.c, scsi-defs.h
7085 scsi-hpux_new.c, scsi-irix.c, scsi-linux.c, scsi-solaris.c
7086 * configure.in checks for scsi ioctl added, check for header files
7087 for the scsi suport added
7088 * config/acconfig.h new:
7089 HAVE_HPUX_LIKE_SCSI, HAVE_HPUX_SCSI_CHIO, HAVE_LINUX_LIKE_SCSI
7090 HAVE_IRIX_LIKE_SCSI, HAVE_SOLARIS_LIKE_SCSI, HAVE_AIX_LIKE_SCSI
7091 removed: HAVE_HPUX_SCSI
7092 * changer-src/Makefile.am: New conditional for building chg-scsi-chio
7093 and chg-scsi. chg-scsi-chio is the old chg-scsi
7095 1998-11-05 John R. Jackson <jrj@purdue.edu>
7097 * server-src/amverify.sh.in: tolerate extra amtape output.
7099 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7101 * recover-src/amrecover.c: remove declaration of errstr.
7103 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7105 * server-src/amindexd.c (build_disk_table): call find_dump() instead
7106 of popen("amadmin <conf> find ...")
7108 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7110 * server-src/holding.h: rename dir_list to holding_list because
7111 dir_list is also declared in amflush.c
7112 * server-src/holding.c: ditto
7113 * server-src/find.c: ditto
7115 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7117 * server-src/amstatus.pl.in: remove warning.
7119 1998-11-04 Alexandre Oliva <oliva@dcc.unicamp.br>
7121 * server-src/taper.c (read_file): if a new tape cannot be found,
7122 report a no-tape error to the log file and exit, just like it does
7125 1998-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7127 * server-src/planner.c (pick_inclevel): return base_level even
7128 when the estimate failed.
7129 * server-src/planner.c (output_scheduleline): test for degr_size
7130 instead of degr_level.
7132 1998-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7134 * server-src/planner.c (last_level): update last_date otherwise only
7135 level 0 or the highest is returned.
7137 1998-11-03 Mike Grupenhoff <kashmir@munge.com>
7139 * common-src/alloc.c: const arguments to the stralloc functions
7140 * common-src/amanda.h: update stralloc prototypes for const
7143 1998-11-03 John R. Jackson <jrj@purdue.edu>
7145 * server-src/dumper.c (do_dump): do not report FAILED back to driver
7146 when it sent us ABORT. Clean up and send back ABORT-FINISHED.
7148 1998-11-03 John R. Jackson <jrj@purdue.edu>
7150 * server-src/driver.c (handle_dumper_result): do not abort a dumper
7151 that reports NO-ROOM if taper is busy since some holding disk space
7152 will eventually be released (this code it not used when PORT-DUMP is
7155 1998-11-03 John R. Jackson <jrj@purdue.edu>
7157 * server-src/taper.c (write_buffer): calling lseek after every tape
7158 write is wasteful and makes utilities like lsof less useful. Only
7159 reset the offset when the amount written is about to go over 2 GBytes.
7161 1998-11-02 John R. Jackson <jrj@purdue.edu>
7163 * server-src/driver.c (main, start_degraded_mode): fix rounding problem
7164 that made the code think there was a little room for full dumps in
7165 degraded mode, and fix the code that decides whether to do a full dump
7168 1998-11-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7170 * server-src/amstatus.pl.in: initialize variable to remove warning.
7172 1998-11-02 Alexandre Oliva <oliva@dcc.unicamp.br>
7174 * client-src/Makefile.am (CLIENT_SCRIPTS): rename to
7175 CLIENT_SCRIPTS_OPT, because *_SCRIPTS is interpreted by automake
7176 * configure.in (CLIENT_SCRIPTS): ditto
7177 Reported by Thomas Hepper <Thomas.Hepper@icem.de>
7179 * configure.in (LIBTOOL_M4): no longer defined
7180 (LIBTOOL_M4_MACRO_DIR): defined assuming CWD is top_srcdir
7181 * Makefile.am (ACLOCAL_M4_FROM_SRCDIR): relative to srcdir
7182 (ACLOCAL_M4): defined and created using ACLOCAL_M4_FROM_SRCDIR
7183 Reported by Thomas Hepper <Thomas.Hepper@icem.de>
7185 * client-src/sendbackup.c (backup_program): rename to
7186 gnutar_program, that's the name it should have had from the
7188 * client-src/sendbackup-gnutar.c (backup_program): ditto
7190 1998-10-31 Michael Schmitz <mschmitz@iname.com>
7192 * configure.in: let configure check whether strcasecmp is
7194 * common-src/strcasecmp.c: new file which contains a definition
7196 * common-src/amanda.h: added code to declare strcasecmp in
7197 case it's not declared in a standard header
7199 1998-10-31 Alexandre Oliva <oliva@dcc.unicamp.br>
7201 * configure.in (snprintf): arrange that it is included in the
7202 distribution automatically
7203 * common-src/Makefile.am (EXTRA_DIST): removed, not needed
7205 * changer-src/Makefile.am (libexec_SCRIPTS): would only be enabled
7208 * configure.in (NO_SCSI_CHANGER_MODE): chg-scsi does not support the
7209 new FreeBSD 3.0 chio.h, so disable it if camlib.h is found.
7210 * docs/SYSTEM.NOTES (FreeBSD 3.0): add a note about this
7211 (SunOS 4.x): libtool will no longer find incorrect library versions
7213 1998-10-30 John R. Jackson <jrj@purdue.edu>
7215 * common-src/security.c (bsd_security_ok): change error message to
7216 reflect that it is a host name we were looking up rather than an
7217 address (also makes the two similar messages unique).
7219 1998-10-28 Alexandre Oliva <oliva@dcc.unicamp.br>
7221 * docs/SYSTEM.NOTES: Debian 2's dump uses /var/lib/dumpdates
7223 1998-10-28 John R. Jackson <jrj@purdue.edu>
7225 * recover-src/set_commands.c (set_host): if the host given by the user
7226 does not work, try the canonical name and aliases returned by
7229 1998-10-28 John R. Jackson <jrj@purdue.edu>
7231 * configure.in: use "df /" instead of just "df" when trying to find
7232 the device that has the root file system to avoid things like NFS
7233 hangs that df sometimes suffers from.
7235 1998-10-27 Mike Grupenhoff <kashmir@munge.com>
7237 * common-src/stream.c (stream-client): add a 'localport' argument
7238 in which we can get the port this stream is bound to locally
7239 * common-src/stream.h (stream-client): update prototype
7240 * server-src/dumper.c: update stream-client calls
7242 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7244 * client-src/amandad.c (main): better logging of received packet,
7245 do not send a P_ACK when the received packet is not a P_REQ.
7247 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7249 * client-src/amandad.c (main): terminate immediately if started
7250 by a P_ACK packet without sending a P_NAK packet.
7252 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7254 * server-src/conffile.h (dtimeout): new keyword
7255 * server-src/conffile.c (dtimeout): ditto
7256 * server-src/dumper.c: use dtimeout instead of READ_TIMEOUT
7257 * example/amanda.conf.in: document it
7258 * man/amanda.8.in: ditto
7261 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7263 * server-src/dumper.c (sendbackup_response): a nak error will
7264 be a TRY-AGAIN instead of a FAILED.
7266 1998-10-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7268 * server-src/amlabel.c: move declaration of vtbl_no, datestr
7269 and slotcommand to the main function.
7271 1998-10-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7273 * server-src/amlabel.c: remove declaration of pname.
7275 1998-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7277 * server-src/amcheckdb.sh.in: modify to match new tapelist file
7278 format (keyword reuse and no-reuse). Probably no-one use this
7281 1998-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7283 * server-src/driver.c (handle_dumper_result): Add sleep time
7284 when a dumper failed, it could be a temporary network problem,
7285 such as NIS or NFS, better wait a few seconds before retrying.
7287 1998-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7289 * server-src/driverio.h: remove declaration of argc et argv.
7290 * server-src/driverio.h (getresult): add parameters result_argc,
7291 result_argv and max_arg.
7292 * server-src/driverio.c (getresult): use new parameters.
7293 * server-src/amflush.c (flush_holdingdisk, run_dumps): declare
7294 and use result_argc and result_argv instead of global variables
7296 * server-src/driver.c (main, handle_taper_result,
7297 handle_dumper_result, dump_to_tape): ditto
7299 1998-10-24 John R. Jackson <jrj@purdue.edu>
7301 * server-src/amstatus.pl.in: do not be quite so accurate in matching
7302 the log file lines since messages may be intermixed. Turn on perl
7303 -w switch and make first cut at cleaning up warnings.
7305 1998-10-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7307 * server-src/driverio.h: remove datestamp declaration.
7308 * server-src/amcheck.c: remove 'extern' to datestamp declaration.
7309 * server-src/amflush.c: declare datestamp.
7310 * server-src/amtape.c: remove 'extern' to datestamp declaration.
7311 * server-src/driver.c: declare datestamp.
7312 * server-src/dumper.c: remove 'extern' to datestamp declaration.
7313 * server-src/reporter.c: remove 'extern' to datestamp declaration.
7315 1998-10-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7317 * server-src/driverio.h: remove declaration of tok.
7318 * server-src/amflush.c (flush_holdingdisk,run_dumps): declare
7320 * server-src/driver.c (main, handle_taper_result, handle_dumper_result,
7321 dump_to_tape): declare tok locally.
7323 1998-10-23 John R. Jackson <jrj@purdue.edu>
7325 * configure.in: disable the -E and -h dump estimate checks if $DUMP
7328 1998-10-19 John R. Jackson <jrj@purdue.edu>
7330 * server-src/amindexd.c (is_config_valid): fix core dump by moving
7331 amfree of conf_dir later in case it is needed in an error message.
7333 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7335 * server-src/reporter.c: remove declaration of curlinenum,
7336 curlog, curprog and curstr.
7338 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7340 * server-src/amflush.c (main): move declaration of diskqp from
7343 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7345 * server-src/amcheck.c (main): move declaration of mailout and
7346 tempfname from global to local.
7348 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7350 * server-src/amadmin.c (search_logfile): remove declaration
7352 1998-10-15 Mike Grupenhoff <kashmir@munge.com>
7354 * server-src/amadmin.c (reuse, no-reuse): don't core dump if tape
7357 1998-10-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7359 * server-src/conffile.h: remove declaration of holdingdisks and
7360 num_holdingdisks, declare getconf_holdingdisks().
7361 * server-src/conffile.c: define getconf_holdingdisks(),
7362 * server-src/holding.c: use getconf_holdingdisks
7363 * server-src/find.c: ditto
7364 * server-src/amcheck.c: ditto
7365 * server-src/amflush.c: ditto
7366 * server-src/driver.c ditto
7368 1998-10-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7370 * server-src/driver.c: remove verbose and force_parameters
7373 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7375 * server-src/dumper.c: remove declaration of pid.
7376 * server-src/dumper.c(do_dump): move declaration of runtime,
7377 dumptime, compresspid, indexpid and killerr from global to local.
7379 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7381 * server-src/planner.c: remove declaration of total_waiting and
7383 * server-src/planner.c(main): move declaration of initial_size from
7386 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7388 * server-src/driverio.h,server-src/driver.c: move declaration
7389 of big_dumpers, degraded_mode and reserved_space from
7390 driverio.h to driver.c
7392 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7394 * server-src/driverio.h (optionstr): remove declaration
7396 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7398 * configure.in (SAMBA_CLIENT): fix typo
7400 1998-10-14 John R. Jackson <jrj@purdue.edu>
7402 * restore-src/amrestore.c (read_file_header): make a couple of error
7403 messages clearer that they refer to problems with a header rather
7404 than the image data.
7406 1998-10-13 Alexandre Oliva <oliva@dcc.unicamp.br>
7408 * client-src/Makefile.am (libamclient_a_SOURCES): missing since
7411 1998-10-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7413 * docs/INTERNALS (driver and dumper): document <dumpdate> in
7414 FILE-DUMP and PORT-DUMP request, document <chunksize> in
7417 1998-10-12 John R. Jackson <jrj@purdue.edu>
7419 * server-src/amtape.c (usage, main, show_device): apply patch from
7420 Chris Jones <cjones@clydesdale.math.montana.edu> to support "device"
7421 as an option to return the drive device name as reported by the
7423 * man/amtape.8: document the new "device" option.
7424 * server-src/amverify.sh.in: use the new amtape "device" option to
7425 better handle tape changers. Overhaul for general cleanup and some
7426 security issues, plus amverify now tries to support non-tar images.
7427 * man/amverify.8.in: document non-tar image issues.
7429 1998-10-08 John R. Jackson <jrj@purdue.edu>
7431 * example/amanda.conf.in: fix runspercycle example and comments
7433 1998-10-08 Alexandre Oliva <oliva@dcc.unicamp.br>
7435 * configure.in (SAMBA_CLIENT): try to find it by default; minimal
7437 * client-src/Makefile.am (WANT_SAMBA): use automake conditionals to
7439 * docs/SAMBA: document that --with-smbclient is no longer required
7440 to enable SAMBA support
7442 * docs/FAQ: about inconsistencies in active filesystems
7444 1998-10-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7446 * docs/DUMPER-API: add `no-record' option to the `backup' command.
7448 1998-10-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7450 * docs/DUMPER-API: subdivise section 3.1.
7452 1998-10-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7454 * docs/DUMPER-API: New `index-<mode>' options.
7455 define `support parse-estimate' and `support parse-backup' subcommand.
7456 New 'estimate-direct', `estimate-parse', `backup-direct' and
7457 `backup-parse' options.
7458 Remove PARSE keyword from estimate and backup command.
7460 1998-10-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7462 * docs/DUMPER-API: define PARSE keyword in stderr of the backup
7465 1998-10-03 Alexandre Oliva <oliva@dcc.unicamp.br>
7467 * man/Makefile.am (EXTRA_DIST): make sure the man-pages that are not
7468 generated by autoconf get into the distribution
7470 1998-10-02 Josef Karthauser <joe@pavilion.net>
7472 * changer-src/chg-chio.pl.in (getTapeParams): fix regular expression
7473 for $line; the trailing `s' of slots was missing
7475 1998-10-02 John R. Jackson <jrj@purdue.edu>
7477 * server-src/amstatus.pl.in: fix error message.
7479 1998-10-02 John R. Jackson <jrj@purdue.edu>
7481 * server-src/taper.c (write_file): fix a problem with tha taper
7482 stats where the times were all the same. The wallclock_str function
7483 returns a pointer to a static area so it cannot be called more
7484 than once as an argument to a function.
7486 1998-10-01 John R. Jackson <jrj@purdue.edu>
7488 * common-src/protocol.c (parse_integer): allow negative numbers.
7490 1998-10-01 John R. Jackson <jrj@purdue.edu>
7492 * server-src/amstatus.pl.in: add timestamps.
7494 1998-10-01 Alexandre Oliva <oliva@dcc.unicamp.br>
7496 * docs/DUMPER-API: define `support index', to be used instead of the
7497 previous `index-*' sub-commands
7499 1998-09-30 Alexandre Oliva <oliva@dcc.unicamp.br>
7501 * server-src/Makefile.am (libexec_PROGRAMS, sbin_SCRIPTS): don't use
7502 backslashes for continuation; this seems to break automake :-(
7504 1998-09-30 John R. Jackson <jrj@purdue.edu>
7506 * man/amanda.8.in: minor typo in "reserve" description.
7508 1998-09-29 John R. Jackson <jrj@purdue.edu>
7510 * server-src/taper.c (end_tape): do not rewind the tape when done.
7512 1998-09-29 Alexandre Oliva <oliva@dcc.unicamp.br>
7514 * configure.in (WANT_CLIENT, WANT_RESTORE, WANT_SERVER,
7515 WANT_RECOVER, WANT_TAPE, WANT_AMPLOT, WANT_CHG_SCSI): automake
7517 * amplot/Makefile.am: use them
7518 * changer-src/Makefile.am: ditto
7519 * client-src/Makefile.am: ditto
7520 * common-src/Makefile.am: ditto
7521 * man/Makefile.am: ditto
7522 * recover-src/Makefile.am: ditto
7523 * restore-src/Makefile.am: ditto
7524 * server-src/Makefile.am: ditto
7525 * tape-src/Makefile.am: ditto
7527 * Makefile.am: don't print commands that work around old aclocal bug
7529 * docs/DUMPER-API: remove environment variables, and mention a
7530 program that will help translating disklist entries to device names,
7531 mount points and filesystem types
7533 * recover-src/extract_list.c (extract_files_child): do not crash
7534 after failing to read the dump file header
7535 Reported by Jose Cheng <jcheng@math.ist.utl.pt>
7537 1998-09-28 Alexandre Oliva <oliva@dcc.unicamp.br>
7539 * server-src/taper.c (taperscan_slot): initialize scan_datestamp, to
7540 avoid amfree of uninitialized pointer
7541 Reported by Lance A. Brown <brown9@niehs.nih.gov>
7543 1998-09-27 Alexandre Oliva <oliva@dcc.unicamp.br>
7545 * docs/DUMPER-API (USER, GROUP): detailed security mechanisms
7546 (estimate, estimate-parse): can print `KILL' after the estimate
7548 * docs/DUMPER-API: various suggestions from Eric Siegerman
7549 <erics@now.com> and some explanations added
7551 1998-09-27 Andy Farkas <andyf@speednet.com.au>
7553 * man/amlabel.8.in (labelstr): fix typo
7555 1998-09-26 Alexandre Oliva <oliva@dcc.unicamp.br>
7557 * recover-src/extract_list.c (extract_files_child): fix-up
7558 no_initial_params if password or domain information is not found
7559 Reported by Jose Cheng <jcheng@math.ist.utl.pt>
7561 * docs/DUMPER-API: extended `index' to `index-from-output' or
7562 `index-from-image', as suggested by Dale Hagglund <rdh@best.com>.
7563 Explained that the dumptype option `program' is the name of the
7566 1998-09-25 John R. Jackson <jrj@purdue.edu>
7568 * configure.in: fix --with-dump-honor-nodump test. Patch by
7569 Jonas Oberg <jonas@coyote.org>.
7571 1998-09-24 John R. Jackson <jrj@purdue.edu>
7573 * example/disklist: document the "spindle" and "interface" fields.
7574 Reported by Brendan M Coffey <bcoffey@connix.com>.
7576 1998-09-24 Alexandre Oliva <oliva@dcc.unicamp.br>
7578 * docs/DUMPER-API: added draft description of the DUMPER API
7579 * Makefile.am (EXTRA_DIST): add it to the distribution
7581 * config/acinclude.m4 (AC_VALIDATE_CACHE_SYSTEM_TYPE): make sure
7582 cached values for host, build and target system types match with the
7584 * configure.in: use it
7586 1998-09-23 John R. Jackson <jrj@purdue.edu>
7588 * server-src/amstatus.pl.in: sort the host and partition names.
7589 From David Wolfskill <dhw@whistle.com>.
7591 1998-09-23 Alexandre Oliva <oliva@dcc.unicamp.br>
7593 * server-src/taper.c (getcmd): typo in last DEBUGging patch
7595 1998-09-22 Tim Perkins <Tim.Perkins@ddg.phar.cam.ac.uk>, Alexandre Oliva <oliva@dcc.unicamp.br>
7597 * client-src/selfcheck.c (check_disk): fix VDUMP auto-detection
7599 1998-09-22 Alexandre Oliva <oliva@dcc.unicamp.br>
7601 * changer-src/chg-mtx.sh.in: replace rew with rewind
7602 * changer-src/chg-zd-mtx.sh.in: ditto
7603 Reported by Henning Holtschneider <hh@loca.net>
7605 * client-src/sendsize.c: remove usage of #error
7606 Reported by Jay Orr <orr@vss.fsi.com>
7608 1998-09-21 John R. Jackson <jrj@purdue.edu>
7610 * man/amanda.8.in: document the new "tapebufs" parameter.
7612 1998-09-21 Kelly Setzer <setzer@telalink.net>
7614 * server-src/taper.c (NBUFS): replaced with conf_tapebufs
7615 (THRESHOLD): now means `empty bufs' instead of `full bufs'
7616 * server-src/conffile.c: add support for the "tapebufs" option
7617 * server-src/planner.c: ditto
7618 * examples/amanda.conf.in: add sample "tapebufs" entry
7620 * server-src/amlabel.c (main): adds entry to tapelist with date
7623 1998-09-20 Alexandre Oliva <oliva@dcc.unicamp.br>
7625 * server-src/taper.c (getcmd): print DEBUGging output to stderr
7626 Reported by Henning Holtschneider <hh@loca.net>
7628 1998-09-19 Eric Doutreleau <Eric.doutreleau@int-evry.fr>
7630 * server-src/driverio.h (MAX_DUMPERS): increased from 15 to 63 in
7631 order to launch more dumper in parallel
7632 * example/amanda.conf.in (inparallel): Add the fact that it is
7633 limited by MAX_DUMPERS
7635 1998-09-18 Alexandre Oliva <oliva@dcc.unicamp.br>
7637 * common-src/Makefile.am (libamanda_la_LDFLAGS): use libtool
7638 -release instead of -version_info, so as to encode the Amanda
7639 release number in the library name. Problems related with
7640 pre-installed libraries should disappear, and separate releases can
7641 now be installed into the same directory without the risk of one
7642 using libraries from the other.
7644 1998-09-18 Michael C. Povel <Michael.Povel@hub.de>
7646 * changer-src/chg-scsi.c (wait_ready): new function; keeps retrying
7647 until success or timeout
7648 (ask_clean, main): use it
7650 1998-09-18 Alexandre Oliva <oliva@dcc.unicamp.br>
7652 * client-src/selfcheck.c (check_options): don't require runtar for
7655 * client-src/rundump.c: fix support for VDUMP-only installation
7656 * client-src/selfcheck.c (check_options): fix detection of advfs
7657 * client-src/sendsize.c (getsize_dump): ditto
7658 * client-src/sendbackup-dump.c (start_backup): ditto
7659 Reported by Tim Perkins <Tim.Perkins@ddg.phar.cam.ac.uk>
7661 1998-09-16 John R. Jackson <jrj@purdue.edu>
7663 * man/amadmin.8.in: document that "hostname" is optional for "info".
7664 Reported by David Wolfskill <dhw@whistle.com>.
7666 1998-09-15 Alexandre Oliva <oliva@dcc.unicamp.br>
7668 * docs/FAQ: common compile-time and link-time errors
7670 1998-09-11 John R. Jackson <jrj@purdue.edu>
7672 * server-src/tapefile.c (lookup_last_reusable_tape): use new
7673 calling sequence that passes how old a tape to return. Remove
7674 lookup_previous_reusable_tape().
7675 * server-src/tapefile.h (lookup_last_reusable_tape): use new
7676 calling sequence that passes how old a tape to return. Remove
7677 lookup_previous_reusable_tape().
7678 * server-src/amadmin.c (tape): use new lookup_last_reusable_tape
7680 * server-src/amcheck.c (taper_scan, start_server_check): use new
7681 lookup_last_reusable_tape calling sequence.
7682 * server-src/amflush.c (confirm): use new lookup_last_reusable_tape
7684 * server-src/amtape.c (taper_scan): use new lookup_last_reusable_tape
7686 * server-src/reporter.c (output_tapeinfo): use new
7687 lookup_last_reusable_tape calling sequence.
7688 * server-src/taper.c (taper_scan): use new lookup_last_reusable_tape
7691 1998-09-11 Alexandre Oliva <oliva@dcc.unicamp.br>
7693 * client-src/sendbackup-gnutar.c (re_table): ignore
7694 `load_client_codepage' message from SAMBA
7696 1998-09-11 John R. Jackson <jrj@purdue.edu>
7698 * server-src/amstatus.pl.in (all): fix USE_VERSION_SUFFIXES=yes
7699 problems. Reported by David Eckelkamp <davide@locutus.tradewave.com>.
7701 * man/amstatus.8.in (all): fix minor typos.
7703 1998-09-10 John R. Jackson <jrj@purdue.edu>
7705 * configure.in (LFS): add code that might support configuring large
7708 1998-09-10 Alexandre Oliva <oliva@dcc.unicamp.br>
7710 * server-src/conffile.c (dump_configuration): runspercycle is not a
7711 member of dumptype_t
7712 (init_holdingdisk_defaults): init chunksize with documented default,
7713 not -1, because it wouldn't be recalculated
7715 * docs/INSTALL: URL for SAMBA was broken; note about 1.9.18p10 bug
7717 1998-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7719 * docs/SAMBA: 1.9.18p10 has a bug
7721 1998-09-09 Terje Malmedal <tm@funcom.com>
7723 * common-src/stream.c (stream_server, stream_client): added
7724 SO_KEEPALIVE option so we get an error if the other side crashes
7726 1998-09-09 Alexandre Oliva <oliva@dcc.unicamp.br>
7728 * configure.in (CHIO): look for chio and AC_SUBST it
7729 (MT, CHS): if not found, use just the program name
7731 1998-09-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7733 * server-src/planner.c (last_level): return the last level
7734 even it is still on holding disk if reserve < 100.
7736 1998-09-09 Alexandre Oliva <oliva@dcc.unicamp.br>
7738 * server-src/reporter.c (divzero, divzero_wide): print `#'s on
7741 * server-src/amtape.c (show_init): no longer print `scanning'
7743 (show_init_show, current_init_all): call show_init, then print the
7744 appropriate `scanning' message
7745 Reported by David Wolfskill <dhw@whistle.com>
7747 * changer-src/chg-scsi.c (main): use new multi-configuration
7748 mechanism only if tape_device contains only a single digit
7750 1998-09-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7752 * server-src/planner.c (setup_estimate): Don't write a
7753 "mismatch: no tapelist record, but curinfo next_level0" message
7754 and force a level 0 when reserve < 100.
7756 1998-09-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7758 * server-src/holding.h (get_amanda_names): return a filetype_t
7760 * server-src/holding.c (get_amanda_names): return the filetype_t
7761 of the file or F_UNKNOWN if it's not an amanda file.
7762 * server-src/find.c (search_holding_disk): Use the new return
7763 type of get_amanda_names.
7764 * server-src/amflush.c (flush_holdingdisk): Don't write a
7765 "ignoring cruft file" message for chunk files,
7766 filetype is F_CONT_DUMPFILE.
7768 1998-09-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7770 * recover-src/extract_list.c (extract_files_child): don't write
7771 the samba password to the debug file.
7773 1998-09-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7775 * server-src/driverio.c (update_info_dumper): set inf.command to
7776 NO_COMMAND if reserve< 100 because if you force a level 0 with
7777 'amadmin force', it will do level 0 every days until you flush them
7780 1998-09-03 Matthias Urlichs <smurf@noris.net>
7782 * recover-src/uscan.l: recognize "?" as alias for "help"
7784 * configure.in (MAILER): recognize "mail" as well as "Mail" and
7787 * client-src/calcsize.c (add_file_dump, add_file_unknown): only get
7788 sizes of directories and files
7790 * client-src/amandates.c (start_amandates): create amandates if
7791 error is either EINTR or ENOENT
7793 * common-src/dgram.c (dgram_send_addr): handle ECONNREFUSED by not
7794 dying when receiving, and retrying when sending, a packet. The
7795 server may get this error when a client reboots and hasn't started
7797 * common-src/protocol.c (handle_incoming_packet): ditto
7799 * server-src/driver.c (read_schedule): catch cases when the time
7800 goes negative. Some operators have the bad habit of syncing clocks
7803 * common-src/dgram.h (MAX_DGRAM): increased to 64Kb
7805 * client-src/amandad.c (main): read the pipe from the child
7806 incrementally: the pipe buffer of many OSes is shorter than
7807 MAX_DGRAM. Instead of SIGCHLD, note end-of-data by way of
7809 (sigchild_jump, sigchild_flag): removed
7810 * client-src/sendbackup.c (main): instead of fork-and-exit, tell
7811 amandad to process our data by closing our end of the pipe
7813 1998-09-03 Alexandre Oliva <oliva@dcc.unicamp.br>
7815 * NEWS: another typo (too late :-(
7817 1998-09-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7819 * server-src/driver.c: amanda will not use an holding disk
7820 if the directory with the datestamp already exist.
7822 1998-09-03 Alexandre Oliva <oliva@dcc.unicamp.br>
7824 * Amanda 2.4.1 released
7826 1998-08-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7830 1998-08-27 Alexandre Oliva <oliva@dcc.unicamp.br>
7832 * docs/INSTALL: update some version numbers; SAMBA 1.9.18p10 has
7833 fixed the bug in p8; using p8 is not recommended any more
7836 * config/config.guess: updated to libtool 1.2b's, in order to
7837 auto-detect some recent architectures
7838 * config/config.sub: ditto
7840 * server-src/amcleanup.sh.in (sbindir): amreport now lives in
7841 sbindir; added it to PATH and removed full pathnames to binaries
7843 1998-08-27 Blair Zajac <blair@gps.caltech.edu>
7845 * configure.in: Add the directory /usr/lib/fs/vxfs to the search
7846 path where configure looks for vxdump and vxrestore. This is for
7847 Solaris so it can automatically handle vxfs filesystems.
7848 * client-src/sendbackup-dump.c: add missing last NULL argument to
7850 * server-src/dumper.c: add missing last NULL argument to
7852 * NEWS: reorder 2.4.1 items into most to least important for most
7854 * config/acconfig.h: update comment for VXDUMP and VXRESTORE to
7855 include systems where the Veritas filesystem is used.
7857 1998-08-21 Alexandre Oliva <oliva@dcc.unicamp.br>
7859 * man/amanda.8.in (nofull): only level 1 incrementals
7861 1998-08-20 Alexandre Oliva <oliva@dcc.unicamp.br>
7863 * changer-src/chg-mtx.sh.in (PATH): added /usr/local/bin
7865 * configure.in (BUILD_CHANGER_SCRIPTS_LIBEXEC): added chg-zd-mtx
7867 * changer-src/Makefile.am (EXTRA_SCRIPTS): ditto
7868 * docs/TAPE.CHANGERS (chg-zd-mtx): documented it
7869 (chg-mtx): mentioned chg-zd-mtx
7871 1998-08-20 Eric Doutreleau <Eric.Doutreleau@int-evry.fr>
7873 * changer-src/chg-zd-mtx.sh.in: new changer script for
7874 Zubkoff/Dandelion version of mtx.
7876 1998-08-19 Alexandre Oliva <oliva@dcc.unicamp.br>
7878 * docs/SAMBA: updated; documented new patch (sambatar.diff,
7879 available in the patches page) and requirements about backup user.
7880 * docs/INSTALL: documented new patch
7882 1998-08-18 Alexandre Oliva <oliva@dcc.unicamp.br>
7884 * client-src/sendsize.c (regex_s): refuse to compile if SAMBA_CLIENT
7885 and HAVE_DUMP_ESTIMATE are both defined: the regexp that matches the
7886 estimate from DU 4.0's dump also matches an output line from
7887 smbclient, that provides an incorrect estimate.
7888 * docs/SYSTEM.NOTES: document the problem
7890 1998-08-14 John R. Jackson <jrj@purdue.edu>
7892 * docs/TAPE.CHANGERS: describe "advance" and clean up some spelling.
7894 1998-08-13 Alexandre Oliva <oliva@dcc.unicamp.br>, Marcel Hild <hild@id-pro.de>
7896 * configure.in (--with-portrange): validate and define PORTRANGE
7897 * example/config.site: document it
7898 * config/acconfig.h (PORTRANGE): prepare for configure define
7899 * common-src/stream.c (stream_server): use PORTRANGE to limit TCP
7900 unreserved server sockets
7902 1998-08-12 Alexandre Oliva <oliva@dcc.unicamp.br>
7904 * docs/FAQ: working around `dumps way too big'
7906 1998-08-11 Alexandre Oliva <oliva@dcc.unicamp.br>, Gunnar Gunnarsson <gunnar@ki.ericsson.se>
7908 * common-src/token.h (rxquote, shquote): new functions
7909 * common-src/token.c (rxquote) quotes a string into an equivalent
7911 (shquote): quotes all shell special meta-characters, so that a
7912 string can be safely passed down for shell interpretation in
7913 system() or popen()-like calls
7914 * server-src/amindexd.c (build_disk_table): quote the disk_name with
7915 both rxquote and shquote
7917 1998-08-11 John R. Jackson <jrj@purdue.edu>
7919 * changer-src/chg-manual.sh.in: put the debug file in DEBUG_DIR for
7920 security. Clean up and enhance logging. Fix locations of the
7921 changer files. Source the changerfile into the script so it can
7922 override the request() function and allow alternatives to /dev/tty
7923 (e.g. E-mail, syslog). Issue rewind before status (Solaris does
7924 not give a good status report right after a tape is loaded).
7926 1998-08-10 Nick Hibma <nick.hibma@jrc.it>
7928 * changer-src/chg-chio.pl.in: move to first slot if last is unused
7930 1998-08-07 Alexandre Oliva <oliva@dcc.unicamp.br>
7932 * example/Makefile.am (EXTRA_DIST): add DIN-A4.ps
7934 1998-08-07 Günter Felkel <G.Felkel@edelmann.de>
7936 * example/DIN-A4.ps: new file
7938 1998-08-06 Alexandre Oliva <oliva@dcc.unicamp.br>
7940 * tape-src/tapetype.c (initrandombytes): use random() instead of
7941 rand(), its low-order bits are more random
7942 (main): call srandom(seed) instead of srand(seed)
7943 (USE_RAND): if defined, reverts to using rand() and srand(seed)
7945 * docs/FAQ: some notes about driving real tape changers
7947 1998-08-05 Alexandre Oliva <oliva@dcc.unicamp.br>
7949 * man/amreport.8.in (SYNOPSIS): replace `amtoc' with `amreport'
7951 1998-08-04 Alexandre Oliva <oliva@dcc.unicamp.br>
7953 * client-src/sendsize.c: revert 1998-08-01's change, it wouldn't
7954 even compile, as amfree() expands to a statement, not an expression,
7955 so it cannot be used as the `increment' part of a for loop.
7957 * server-src/planner.c (main): if runs_per_cycle is set to zero or
7958 negative, set it to 1, in order to avoid division by zero.
7959 * server-src/amadmin.c (balance): ditto
7961 1998-08-01 Alexandre Oliva <oliva@dcc.unicamp.br>
7963 * client-src/sendsize.c: replace free(line) with amfree(line),
7964 because line is not ensured to be non-NULL
7966 * docs/FAQ: amandad: error receiving message
7968 * docs/FAQ: difference between skip-full and strategy nofull
7970 1998-07-31 Alexandre Oliva <oliva@dcc.unicamp.br>
7972 * docs/FAQ: software or hardware compression?
7974 * server-src/driver.c (adjust_diskspace): do not abort just because
7975 a holding disk file is missing
7976 (main): report warning if holding disk directory could not be
7977 created, and do not use it
7978 Reported by Albrecht Gebhardt <agebhard@zidsrv.sci.uni-klu.ac.at>
7980 * example/Makefile.am (EXTRA_DIST): add 8.5x11.ps to the
7982 Reported by Jason L Tibbitts III <tibbs@hpc.uh.edu>
7984 * server-src/conffile.c (get_holdingdisk): define chunksize 0 as
7985 INT_MAX/1024, and chunksize -1 as -INT_MAX/1024
7986 * server-src/driver.c (find_diskspace): accept negative chunksizes
7987 as the maximum size (in modulus) for using the holding disk
7988 * man/amanda.8.in (chunksize): document the usage of negative
7989 values, and improve the explanation of chunking
7990 * example/amanda.conf.in: ditto
7992 1998-07-29 Alexandre Oliva <oliva@dcc.unicamp.br>
7994 * docs/FAQ: disk offline
7996 1998-07-27 Alexandre Oliva <oliva@dcc.unicamp.br>
7998 * restore-src/amidxtaped.c (main): use tape_rewind() instead of
8001 * server-src/amcleanup.sh.in (reporter): update to call amreport.
8002 (amdump.<n>) update to use the same renaming technique introduced in
8003 June 30's change to amdump.
8005 1998-07-25 Michael Graff <explorer@vix.com>
8007 * changer-src/Makefile.am (install-exec-hook): support $(DESTDIR)
8008 * client-src/Makefile.am (install-exec-hook): ditto
8009 * man/Makefile.am (install-data-hook): ditto
8010 * recover-src/Makefile.am (install-exec-hook): ditto
8011 * restore-src/Makefile.am (install-exec-hook): ditto
8012 * server-src/Makefile.am (install-exec-hook): ditto
8014 * configure.in: link krb5 and com_err in for Kerberos support, if
8017 1998-07-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8019 * server-src/reporter.c (copy_template_file): add braces to
8021 * tape-src/tapeio.h: declare is_zftape to remove warning in
8022 amlabel.c and taper.c
8024 1998-07-23 Alexandre Oliva <oliva@dcc.unicamp.br>
8026 * server-src/driver.c (any_delayed_disk): new variable, to ensure
8027 that we do not leave the main driver loop if there are delayed disks
8028 but there are no active dumpers
8029 (main): instead of checking whether idle_reason is IDLE_START_WAIT,
8030 check whether there is any_delayed_disk for remaining in the loop
8031 (start_degraded_mode): set any_delayed_disk when needed
8032 Reported by Peter Walker <peter@talarian.com>
8034 1998-07-23 John R. Jackson <jrj@purdue.edu>
8036 * server-src/reporter.c (main): handle LPRCMD being undefined.
8038 1998-07-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8040 * client-src/selfcheck.c (check_suid): new function to check if a
8041 program is SUID root.
8042 * client-src/selfcheck.c (check_overall): check that runtar and
8043 rundump are SUID root.
8045 1998-07-22 Alexandre Oliva <oliva@dcc.unicamp.br>
8047 * configure.in: version number set to 2.4.1
8049 * recover-src/Makefile.am (LDADD): libamtape imports symbols from
8050 libamanda, so it must be listed first
8052 * changer-src/Makefile.am (LDADD): remove duplication of libamserver
8053 and libamanda, as they no longer provide symbols for each other
8054 * server-src/Makefile.am (LDADD): ditto
8056 1998-07-21 Blair Zajac <blair@gps.caltech.edu>
8058 * server-src/amrmtape.sh.in: now use amanda.conf's tapelist variable
8059 * server-src/amcheckdb.sh.in: now use amanda.conf's tapelist variable
8060 * server-src/amfreetapes.sh.in: now use amanda.conf's tapelist variable
8061 * server-src/amtoc.pl.in: now use amanda.conf's tapelist variable,
8062 make perl4 compatible
8064 1998-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
8066 * docs/FAQ (results missing): suggestions to work around the UDP
8069 1998-07-16 Alexandre Oliva <oliva@dcc.unicamp.br>
8071 * docs/FAQ (amrecover): a config name may have to be specified
8072 Reported by digital messiah <dmessiah@silcon.com>
8074 1998-07-15 Blair Zajac <blair@gps.caltech.edu>
8076 * server-src/reporter.c (main): declare optind
8078 1998-07-15 Alexandre Oliva <oliva@dcc.unicamp.br>
8080 * configure.in: created Amanda 2.4.1 branch
8082 * example/amanda.conf.in: strategy noinc is not implemented yet
8084 1998-07-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8086 * NEWS: new runspercycle keyword
8087 * server-src/conffile.h: new runspercycle keyword
8088 * server-src/conffile.c: new runspercycle keyword
8089 * server-src/amadmin.c (balance): new runspercycle keyword
8090 * server-src/planner.c (main): new runspercycle keyword
8091 * man/amanda.8.in: document new runspercycle keyword
8092 * example/amanda.conf.in: example for new runspercycle keyword
8094 1998-07-13 Alexandre Oliva <oliva@dcc.unicamp.br>
8096 * docs/FAQ: What to do if DUMP program is not available.
8097 * client-src/selfcheck.c (check_overall): if a needed program is
8098 missing, print an error message.
8099 Reported by Klaus Hoffmann <handatalog@csi.com>
8101 * */Makefile.am: checked library version numbers, no need for update
8103 * configure.in: version number set to 2.4.1b1
8105 1998-07-11 Alexandre Oliva <oliva@dcc.unicamp.br>
8107 * docs/FAQ: new entries: how to label tapes, (not) spanning large
8108 filesystems across tapes, how to enable index generation,
8109 overwriting selected tapes, cleaning up databases, selecting tape
8112 1998-07-10 Alexandre Oliva <oliva@dcc.unicamp.br>
8114 * man/Makefile.am (EXTRA_DIST): amreport.8 is built from .8.in
8116 * configure.in (AC_OUTPUT): generate chg-chio.pl
8117 * changer-src/Makefile.am (EXTRA_DIST): removed chg-chio.c
8118 * changer-src/chg-chio.c: removed, as it was confusing make
8120 1998-07-10 Nick Hibma <nick.hibma@jrc.it>, Alexandre Oliva <oliva@dcc.unicamp.br>
8122 * changer-src/chg-chio.pl.in: new script, created to replace old
8123 chg-chio written in C
8124 * docs/TAPE.CHANGERS (chg-chio): document it
8125 * changer-src/Makefile.am (EXTRA_SCRIPTS): add chg-chio
8126 (EXTRA_DIST): still include chg-chio.c, just in case it is useful
8127 * configure.in (BUILD_CHANGER_SCRIPTS_LIBEXEC): add chg-chio
8129 1998-07-08 Alexandre Oliva <oliva@dcc.unicamp.br>
8131 * server-src/reporter.c (main): if no arguments are given, preserve
8132 original behavior; require config name otherwise. Perform better
8134 * example/DLT.ps (DrawHost): discard additional argument introduced
8135 in Steven Freed's modification
8136 * example/EXB-8500.ps (DrawHost): ditto
8137 * example/HP-DAT.ps (DrawHost): ditto
8139 * server-src/Makefile.am (amreport_SOURCES): build from reporter.c
8140 (driver_SOURCES) removed, no longer needed
8141 * man/Makefile.am (EXTRA_DIST): added amreport.8
8143 1998-07-08 Steven Freed <sfreed@gilasoft.com>
8145 * server-src/reporter.c (usage): new function
8146 (main): accept command-line arguments for selecting config name,
8147 output file, log file name to read from, postscript file to write
8149 (output_summary): print tape labels list, tape section numbers and
8151 * server-src/amdump.sh.in: run amreport
8152 * server-src/amflush.c (main): ditto
8154 * configure.in (BUILD_SERVER_PROGS_SBIN): add amreport
8155 (BUILD_SERVER_PROGS_LIBEXEC): remove reporter
8156 * man/amreport.8.in: new file
8157 * man/Makefile.am (man_MANS): added amreport.8
8158 * example/8.5x11.ps: new file
8160 1998-07-08 Alexandre Oliva <oliva@dcc.unicamp.br>
8162 * Makefile.am (ACLOCAL_M4): fix ||/&& precedence problem
8164 1998-07-07 John R. Jackson <jrj@purdue.edu>
8166 * changer-src/scsi-chio.c: move #include's so this will compile on
8167 systems without <sys/mtio.h> (e.g. AIX).
8169 1998-07-06 John R. Jackson <jrj@purdue.edu>
8171 * client-src/sendsize.c (handle_dumpline): allow the dump block
8172 count estimate to be negative. Found by Lance A. Brown
8173 <brown9@niehs.nih.gov> on NeXT.
8175 * common-src/Makefile.am, common-src/security.c: add TEST code to
8176 security.c so people can do "make security" and have a test program
8177 to track down why they are getting "access as XXX not allowed from
8180 * common-src/security.c (bsd_security_ok): allow the remote user
8181 field in .amandahosts to be empty ala .rhosts.
8183 1998-07-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8185 * server-src/amcheck.c (start_server_check): report space use for
8186 holding disk if a negative value is given in the use parameter.
8188 * server-src/driver.c (main): compute holding disk space if
8189 a negative value is given in the use parameter..
8191 * man/amanda.8.in (use) : document negative use paramater for
8194 * example/amanda.conf.in (use): document negative use paramater for
8197 1998-07-04 Alexandre Oliva <oliva@dcc.unicamp.br>
8199 * man/amanda.8.in (reserve): document it
8200 * example/amanda.conf.in (reserve, gigabytes): ditto
8201 (etimeout) negative number stands for total estimate time
8203 * NEWS: documented major changes since amanda 2.3.0.4
8205 * docs/INSTALL: refer to patch-system for editing services and
8208 * docs/FAQ: added entries for common amdump and amcheck errors
8210 * COPYRIGHT: updated to 1998, refer to Amanda Development Team
8211 * AUTHORS: who is the Amanda Development Team
8213 1998-07-03 John R. Jackson <jrj@purdue.edu>
8215 * docs/SYSTEM.NOTES: add comment about using the variable device name
8216 on IRIX. Otherwise, IRIX will write 4KByte physical blocks, which
8217 it appears to read OK, but not if you take the tape to some other
8218 system that does what you tell it. Discovered by Steve E. Khoo
8219 (steve@gordian.com).
8221 1998-07-02 Alexandre Oliva <oliva@dcc.unicamp.br>
8223 * server-src/planner.c (setup_estimate): handle new disks with
8224 skip-full correctly.
8226 * Makefile.am (aclocal.m4): must depend on libtool.m4, so as to
8227 force it to be newer on distributions.
8229 1998-07-01 John R. Jackson <jrj@purdue.edu>
8231 * server-src/driverio.h: change reserved_space to unsigned long to
8232 match free_space() and avoid a compiler warning.
8234 1998-06-30 John R. Jackson <jrj@purdue.edu>
8236 * man/amanda.8.in: fix amrecover synopsis and add a short description.
8237 Noted by Brendan M Coffey <bcoffey@connix.com>.
8239 * example/amanda.conf.in: make tapecycle example fit dumpcycle value
8240 better. Noted by Tom.Croll@radisys.com and suggested comments from
8241 Alexandre Oliva <oliva@dcc.unicamp.br>.
8243 1998-06-30 Alexandre Oliva <oliva@dcc.unicamp.br>
8245 * server-src/amdump.sh.in (maxdays): set up with tapecycle+2
8246 (days): loops from 1 to $maxdays, but stops if amdump.$days does not
8247 exist, so that we only rename amdump log files that exist. This
8248 prevents too long loops in case of an infinite tapecycle.
8249 Reported by Nick Hibma <nick.hibma@jrc.it>
8251 1998-06-28 Alexandre Oliva <oliva@dcc.unicamp.br>
8253 * common-src/security.c (bsd_security_ok): accept case mismatches
8254 when comparing hostnames and usernames from amandahosts, and assume
8255 localuser if username is missing.
8256 * docs/INSTALL: clarify BSD security and amandahosts, WRT to
8258 Reported by Chris Shenton <chris@absinthe.shenton.org>
8260 * server-src/reporter.c (output_tapeinfo): degraded mode no longer
8261 implies incremental dumps only.
8262 Reported by Randy Dees <rrd@amherst.com>
8264 1998-06-26 John R. Jackson <jrj@purdue.edu>
8266 * configure.in: fix BSD/OS Kerberos include file location.
8268 1998-06-26 Alexandre Oliva <oliva@dcc.unicamp.br>
8270 * config/ltmain.sh: install official patch to libtool 1.2a
8272 * configure.in: do not set max file size for Solaris 2.6, it is no
8275 1998-06-26 Tim McNerney <mumbly@netcom.com>
8277 * common-src/fileheader.c (parse_file_header): accept missing
8278 PROGRAM in tape section header, for backward compatibility.
8280 1998-06-25 Blair Zajac <blair@gps.caltech.edu>
8282 * server-src/amflush.c: fix mismatch arguments to error()
8284 1998-06-24 Steven Freed <sfreed@gilasoft.com>
8286 * configure.in (dump-honor-nodump): fix test for `-h' support
8288 1998-06-24 Scott Mesches <mesches@allison.Colorado.EDU>
8290 * example/DLT.ps: new file
8291 * example/Makefile.am (EXTRA_DIST): add DLT.ps
8293 1998-06-24 Alexandre Oliva <oliva@dcc.unicamp.br>
8295 * Makefile.am (EXTRA_DIST): moved CHANGES into ChangeLog
8297 * recover-src/extract_list.c (extract_files_child): handle
8298 IS_UNKNOWN dumptype as IS_DUMP
8300 * client-src/sendsize.c (getsize_dump): always create pipe for
8303 * client-src/amandad.c (sendnak): report `UNKNOWN' error if str is
8306 * amplot/amplot.awk: ignore `interface-state'
8307 Reported by Peter Walker <peter.walker@talarian.com>
8309 1998-06-24 Alexandre Oliva <oliva@dcc.unicamp.br>
8311 * server-src/amrmtape.sh.in: enable verbose by default; implement -q
8313 * man/amrmtape.8.in: ditto
8314 Suggested by Nick Hibma <nick.hibma@jrc.it>
8316 1998-06-24 Nick Hibma <nick.hibma@jrc.it>
8318 * server-src/amrmtape.sh.in: better error reporting for incorrect
8321 1998-06-24 Dan Swartzendruber <dswartz@druber.com>
8323 * server-src/conffile.h (RESERVE): new keyword.
8324 * server-src/conffile.c (RESERVE): ditto.
8325 (getconf_seen): recognize "reserve" keyword.
8326 (getconf_int): return value of "reserve" keyword.
8327 (read_confline): parse "reserve" line.
8328 * server-src/driverio.h (reserved_space): new global
8329 * server-src/driver.c (main): compute holding disk space to reserve
8331 (start_degraded_mode): if we haven't hit degraded mode reservation
8332 limit, allow full dump.
8334 1998-06-18 Blair Zajac <blair@gps.caltech.edu>
8336 * config/ltconfig: update to 1.2a
8337 * config/ltmain.sh: update to 1.2a
8338 * config/libtool/libtool.m4: update to 1.2a
8340 1998-06-17 John R. Jackson <jrj@purdue.edu>
8342 * server-src/dumper.c (write_tapeheader): comment out some variables
8343 to get rid of a compiler warning.
8345 1998-06-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8347 * server-src/amadmin.c (bumpsize): write wrong equation for bump
8350 1998-06-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8352 * man/amanda.8.in: add info about the chunksize parameter
8354 * man/amanda.8.in: add info about amstatus command
8356 1998-06-13 Alexandre Oliva <oliva@dcc.unicamp.br>
8358 * common-src/Makefile.am (libamanda_version): updated
8359 * tape-src/Makefile.am (libtape_version): updated
8360 * client-src/Makefile.am (libclient_version): updated
8361 * server-src/Makefile.am (libserver_version): updated
8363 * server-src/taper.c (read_file): if switching to the next file
8364 fails or there's no next file, do not send a `W' to taper writer.
8366 * server-src/changer.h (changer_clean): new function
8367 * server-src/changer.c (changer_clean): ditto
8369 1998-06-13 Michael C. Povel <mcp@ladyada.han.de>
8371 * changer-src/chg-scsi.c: added ejetct_tape and sleep for external
8372 tape devices, and changed some code to allow multiple drives to use
8373 their own slots. Also added support for reserverd slots.
8374 * changer-src/libscsi.h (get_clean_state, eject_tape): new functions
8375 * changer-src/scsi-chio.c (get_clean_state, eject_tape): implemented
8377 * changer-src/scsi-hpux.c (get_clean_state, eject_tape): do nothing,
8378 until someone implements them
8379 * changer-src/scsi-proto.c (get_clean_state, eject_tape): new
8381 * docs/TAPE.CHANGERS: document new configuration file format
8382 * example/chg-scsi.conf: sample configuration file
8383 * example/Makefile.am: add chg-scsi.conf to the distribution
8384 * server-src/amtape.c: add support for `clean' command
8386 1998-06-13 Alexandre Oliva <oliva@dcc.unicamp.br>
8388 * docs/SYSTEM.NOTES: clean-up
8390 * docs/FAQ: new file
8391 * docs/SUNOS4.BUG: removed
8392 * Makefile.am: remove docs/SUNOS4.BUG and add docs/FAQ
8394 * example/amanda.conf.in (bumpmult): fixed equation for threshold
8395 * man/amanda.8.in (bumpsize): fix threshold example.
8396 problem reported by Brian McEntire <brianm@fsg1.nws.noaa.gov>
8398 * server-src/logfile.c (open_log): open log file with mode 0600.
8400 * server-src/amdump.sh.in: refuse to run if either amdump or log
8402 * server-src/amflush.c (main): refuse to run if log exists.
8403 * server-src/amcheck.c (start_server_check): do not perform tape
8404 testing if amdump and/or log exist in logdir.
8406 1998-06-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8408 * restore-src/amrestore.c (restore): fixed -p flag (and amrecover)
8409 should not dup2( A, B ); aclose(A) when A == B
8411 1998-06-10 Alexandre Oliva <oliva@dcc.unicamp.br>
8413 * client-src/sendsize.c (getsize_dump): use killpgrp
8414 unconditionally, so we're not bitten by setuid dump programs.
8415 * client-src/killpgrp.c: enable unconditionally.
8417 * tape-src/tapetype.c: new program: calculates tapetype parameters.
8418 * tape-src/Makefile.am (EXTRA_PROGRAMS): added tapetype.
8419 * example/amanda.conf.in: point to tapetype program.
8421 1998-06-09 Alexandre Oliva <oliva@dcc.unicamp.br>
8423 * docs/SAMBA: added notes about (not) backing up registry files and
8425 * docs/INSTALL: point to docs/SAMBA for usage and limitations
8427 1998-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
8429 * configure.in (amanda_cv_print_command): removed; using PRINT
8432 1998-06-07 Todd Kover <kovert@omniscient.com>
8434 * add --with-owner option to allow installed binaries to be owned
8435 by someone other than the amanda user
8437 * add GB as valid holding disk size.
8439 1998-06-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8441 * server-src/amadmin.c (info): don't need to specify an host.
8443 * server-src/amadmin.c (due): new due command to write when a
8444 filesystem is due ffor next level 0 or how much days it is
8447 * server-src/amstatus.pl.in (dump_size): new function to report
8448 the size of a dump split on multiple files.
8450 1998-06-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8452 * recover-src/extract_list.c (read_buffer): write a message
8453 when amrecover timeout waiting for amrestore to send the dump.
8455 1998-06-04 John R. Jackson <jrj@purdue.edu>
8457 * client-src/getfsent.c (main): use a dynamically allocated string
8458 for the lookups since dev2rdev alters it on the fly and some systems
8459 drop core for trying to write into read only memory. Also add the
8460 capability of passing additional lookups on the command line.
8462 * common-src/Makefile.am, common-src/file.c (main),
8463 common-src/token.c (main), server-src/conffile.c (dump_configuration,
8464 main), server-src/diskfile.c (main), server-src/infofile.c (main):
8465 Clean up compiler warnings in the test programs and make them all
8468 1998-06-03 Alexandre Oliva <oliva@dcc.unicamp.br>
8470 * amplot/amplot.sh.in: modified command line argument parsing
8471 mechanism, so as to prevent shell quoting problems and unportable
8473 Reported by Chris Jones <cjones@clydesdale.math.montana.edu>
8475 1998-06-02 John R. Jackson <jrj@purdue.edu>
8477 * server-src/amcheck.c (main), server-src/reporter.c (main): make
8478 sure internal errors, such as the mail command failing, get
8479 reported. In the case of amcheck, they go to stderr even if -m is
8480 set since there didn't seem to be anyplace better to do so and if
8481 this is running from a cron job it might get back to a real user.
8482 For reporter, the errors go to .../amdump along with everything
8483 else from the amdump script, and they should also go to .../log,
8484 except since it's reporter that's having the trouble, they probably
8485 will not make it into the mail report.
8487 1998-06-01 John R. Jackson <jrj@purdue.edu>
8489 * client-src/killpgrp.c: clean up minor compiler warnings by not
8490 building term_kill_{soft,hard} unless they are needed.
8492 * server-src/driverio.c (dumper_cmd): clean up compiler warning
8493 in printf format by forcing argument to always be long and using %ld.
8495 * server-src/driver.c: include <holding.h> to get declaration for
8496 unlink_holding_files and avoid a compiler warning.
8498 * common-src/amanda.h, common-src/match.c (validate_glob, match_glob,
8499 glob_to_regex), recover-src/amrecover.h, recover-src/extract_list.c
8500 (add_glob, add_regex, add_file, delete_glob, delete_regex,
8501 delete_file), recover-src/help.c (help_list), recover-src/uparse.y,
8502 recover-src/uscan.l, man/amrecover.8.in: add shell wildcard support
8503 for the add/delete amrecover commands. Add addx/deletex commands
8504 that use regular expressions. Support more characters in path names.
8506 1998-06-01 Dan Swartzendruber <dswartz@druber.com> via John R. Jackson
8508 * server-src/amlabel.c (main): check argc before referencing too
8509 far into argv for "-f".
8511 1998-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
8513 * docs/SYSTEM.NOTES: advise Linux users to use dump without
8516 * docs/INDEXING: update dumptype syntax
8518 1998-05-29 John R. Jackson <jrj@purdue.edu>
8520 * server-src/amindexd.c (uncompress_file, process_ls_dump,
8521 build_disk_table, is_dir_valid_opaque, opaque_ls): fix file
8522 descriptor leak, log the amadmin find command, fix error reporting
8523 from routines that do not generate system errors.
8524 * common-src/amanda.h: make sure errno is saved through amfree().
8526 1998-05-28 Alexandre Oliva <oliva@dcc.unicamp.br>
8528 * docs/SYSTEM.NOTES: GNU tar must be patched on HP/UX.
8529 * patches/tar-1.12.patch: ditto.
8531 * server-src/taper.c (endtape): do not log amount of used tape after
8532 entering degraded mode.
8534 * client-src/sendsize.c (getsize_dump): pass at least argv[0] to
8537 1998-05-28 Paul R. Johnson <prj@mit.edu>
8539 * client-src/sendbackup.c (check_status): when checking whether
8540 return status 1 is valid for dump, make sure it was *not* tar that
8543 1998-05-28 Tom Lear <toml@accesscom.com>, John R. Jackson <jrj@purdue.edu>
8545 * man/amcheck.8.in: document new -Maddress command line flag.
8546 * server-src/amcheck.c (usage, main): add -Maddress command line
8547 flag to send mail to a specific address instead of mailto from
8550 1998-05-27 John R. Jackson <jrj@purdue.edu>
8552 * man/amrestore.8: update for host/disk/date triplets.
8553 * recover-src/extract_list.c (extract_files_setup): pass datestamp
8554 argument in new position and without -d.
8555 * restore-src/amidxtaped.c (main): remove -d checks.
8556 * restore-src/amrestore.c (restore, usage, main): fix file descriptor
8557 leak, move datestamp to host/disk triplet and allow all to be repeated.
8559 1998-05-27 Alexandre Oliva <oliva@dcc.unicamp.br>
8561 * client-src/killpgrp.c (main): wait for either SIGTERM or EOF on
8564 * client-src/sendsize.c (getsize_dump): close the other end of
8565 killpgrp's stdin pipe before trying to kill it, because we just
8568 * configure.in (HAVE_HPUX_SCSI): check whether sys/scsi.h actually
8569 supports HP/UX-like changer commands.
8571 * config/acconfig.h (HAVE_HPUX_SCSI): indicates HP/UX-like changer
8572 interface is supported.
8574 * changer-src/scsi-hpux.c: check for HAVE_HPUX_SCSI instead of
8577 1998-05-25 Allen Briggs <briggs@canolog.ninthwonder.com>
8579 * changer-src/chg-manual.sh.in (ONLINEREGEX): add `^er=0$' for
8582 1998-05-23 Alexandre Oliva <oliva@dcc.unicamp.br>
8584 * client-src/sendsize.c (getsize_dump): killpgrp must be direct
8585 child of sendsize, otherwise sendsize won't be able to kill it.
8587 1998-05-23 Alexandre Oliva <oliva@dcc.unicamp.br>
8589 * configure.in (bcopy, bzero, fread, fwrite, vfprintf, vprintf,
8590 vsprintf): check for these in stdlib.h
8591 (memmove): check for it in strings.h
8593 * common-src/amanda.h (memmove): fix declaration of memmove, so as
8594 to be compatible with the ones in common-src/memmove.c and
8595 regex-src/fake/memmove.c
8597 reported by Tim Potter <tpot@acsys.anu.edu.au>
8599 1998-05-20 Alexandre Oliva <oliva@dcc.unicamp.br>
8601 * client-src/sendbackup.c (check_status): when checking whether dump
8602 returned 1, make sure it was not tar; #ifdef'ed out the code that
8603 ignores exit status 2 from gnutar (will be compiled in only if
8604 IGNORE_TAR_ERRORS is defined)
8605 * client-src/sendbackup-gnutar.c (GNUTAR active filesystem errors):
8606 updated comment; compile in GNUTAR error messages as DMP_NORMAL if
8607 IGNORE_TAR_ERRORS is defined; compile in SMBCLIENT error messages as
8608 DMP_NORMAL if IGNORE_SMBCLIENT_ERRORS is defined.
8610 1998-05-20 Tom Lear <toml@accesscom.com>
8612 * client-src/sendbackup.h (tarpid): new variable, used to check
8613 whether it is gnutar that is running
8614 * client-src/sendbackup-gnutar.c (start_backup): set tarpid when
8616 * client-src/sendbackup.c (check_status): if gnutar returns 2,
8619 1998-05-19 Jean-Louis Martineau <martineau@IRO.UMontrealCA>
8621 * client-src/amandad.c: set parse_errmsg when unexpected packet
8622 * recover-src/amrecover.c: overflow in clean_pathname()
8623 * recover-src/extract_list.c: add log in delete_file().
8624 small bug when call clean_pathname()
8625 * server-src/amindexd.c: ORLD command is not working
8626 * server-src/dumper.c: fixe overflow
8628 1998-05-17 Alexandre Oliva <oliva@dcc.unicamp.br>
8630 * configure.in: do not check for MAXFILESIZE
8631 * config/acconfig.h: do not define MAXFILESIZE
8632 * server-src/conffile.c: use INT_MAX instead of MAXFILESIZE
8633 * example/amanda.conf.in: ditto
8635 * server-src/driver.c (interface_state): new function; print the
8636 free bandwidth for each interface.
8637 (short_dump_state): call interface_state before holdingdisk_state
8639 * ChangeLog: renamed from CHANGES. Original entries follow.
8641 fix skip-incr handling so that reporter reports SKIPPED
8642 instead of missing result.
8643 -Jim Simmons <s4i@sws6.ctd.ornl.gov>
8645 split big dumps ( > MAXFILESIZE ) in multiple files on holding disk.
8646 new chunksize parameter in holdingdisk description of
8647 the amanda.conf file.
8648 -J-L Martineau <martineau@IRO.UMontreal.CA>
8650 an amstatus command that give the current state of a run.
8651 -J-L Martineau <martineau@IRO.UMontreal.CA>
8653 possibility to amflush multiple runs on one tape.
8654 possibility to select dump by datestamp in amrestore (-d datestamp).
8655 -J-L Martineau <martineau@IRO.UMontreal.CA>
8657 amidxtrm keep index of all active tapes as listed in tapelist file.
8658 -J-L Martineau <martineau@IRO.UMontreal.CA>
8660 the tapelist file keep every active tapes.
8661 "amadmin reuse" and "amadmin no-reuse" to mark tapes you want
8662 to keep for a long time.
8663 -J-L Martineau <martineau@IRO.UMontreal.CA>
8665 amlabel will not overwrite an amanda tape.
8666 The -f flag allow to overwriting an amanda tape.
8667 -J-L Martineau <martineau@IRO.UMontreal.CA>
8669 be consistent and use 1048576 as a dump size everyplace instead of
8670 100000 in some places (mostly cosmetic). -JJ
8672 negative numbers are now accepted in the configuration file
8675 allow a total estimate time-out to be specified. -oliva
8676 Suggested by Martyn Johnson <Martyn.Johnson@cl.cam.ac.uk>
8678 fix amtoc behavior in case of failed reads.
8679 -Niek Rijnbout <niek@knoware.nl>
8681 index files are now stored in a directory tree ala curinfo instead
8682 of a flat namespace. -JJ
8684 amrecover will now restore files using SAMBA.
8685 -Rob Riggs <rob@devilsthumb.com>
8687 VXDUMP needs not be run as root, so it no longer enables
8688 rundump automatically. -oliva
8690 new `killpgrp' setuid-root program. It is used to kill
8691 VDUMP, VXDUMP and XFSDUMP or with-rundump DUMP estimates in a
8693 -Joerg Behrens <jbehren@umpa06.gwdg.de> & oliva
8695 fixed amrmtape so that it will delete from tapelist only the
8696 entry that corresponds to the specified tape, not others that
8697 contain the tape name as a substring.
8698 -Nick Hibma <nick.hibma@jrc.it> & oliva
8700 Added support for FreeBSD dump -h flag (honor nodump).
8701 -James E. Housley <housley@pr-comm.com>
8703 Added support for ZFTAPE on Linux.
8704 -Albrecht Gebhardt <agebhard@zidsrv.sci.uni-klu.ac.at>
8706 Added support for printing tape labels.
8707 -Scott Mesches <mesches@allison.Colorado.EDU>
8709 Do not let amrecover die because of SIGPIPE if the pager terminates
8710 early during a long listing. Use the PAGER environment variable if
8711 available, else "more". -JJ
8713 Change log() calls to log_add() so it does not conflict with the math
8714 function of the same name. Replace pname global variable with two
8715 functions to set/get. Get rid of libamnolog. -JJ
8717 chg-chio was renamed to chg-scsi, and now it will support not
8718 only chio.h, but also tape changer interfaces available on
8719 HPUX, Solaris 2.5, IRIX and possibly others. Currently, only
8720 chio and HPUX are implemented.
8721 -Eric Schnoebelen <eric@cirr.com>
8723 Numerous bugs/errors were fixed in chg-chio/chg-scsi. it now
8724 properly responds to -eject requests, among other things.
8725 -Eric Schnoebelen <eric@cirr.com>
8729 updated to libtool 1.2a. -oliva
8731 fix kerberos encryption to work. -Chris Ross <cross@uu.net>
8733 add --with-owner option to optionally not have things owned by
8734 the amanda user. (meant to be in 2.4.0) -kovert
8736 only call initgroups() if it is available. -oliva
8738 check whether GNUTAR_LISTED_INCREMENTAL_DIR is a directory.
8739 -oliva, reported by J.A. Gutierrez <spd@gtc1.cps.unizar.es>
8741 amindexd no longer considers prefixes of hostnames as valid
8744 fix strappend2 so that it accepts a NULL first argument.
8745 -Rob Riggs <rob@devilsthumb.com>
8747 pass kerberos encryption switch to client.
8748 -Fredrik Jönsson <fjo@nada.kth.se>
8750 rename afree to amfree, to work around IRIX 6.4's afree.
8751 -oliva, reported Stephan P. Martin <smartin@schlund.de>
8753 implement `strategy skip' just like `ignore'.
8755 reported by Michael O'Shaughnessy <mikeo@emg.sms.siemens.com>
8757 amcheck now checks whether COMPRESS_PATH is executable, which
8758 would prevent server-compression and indexing from working.
8759 -oliva, reported by Peter Schultze <peter@mbi.ucla.edu>
8761 fixed dump estimate regular expression for DU 4.0.
8762 -Andreas Schmitz <schmitz@theorie.physik.uni-wuppertal.de>
8766 fixed memory corruption error in amtape.
8769 fixed VXDUMP support.
8770 -Andrew Ivanov <ivanov@mics.msu.su> & oliva
8772 typos fixed in chg-chs.
8773 -David Barr <dbarr@simplex.com>
8775 chg-mtx now prints error message if tapedev or changerdev must
8777 -Adrian T. Filipi-Martin <atf3r@cs.virginia.edu>
8779 fixed amflush problem, reported by Dietmar Goldbeck
8780 <dietmar@telemedia.de> -oliva
8782 Version 2.4.0-980319
8784 chg-mtx should use changer-dev if specified.
8785 -Steve Khoo <steve@gordian.com>
8787 flex-related backward-compatibility problem fixed.
8788 -Norman K Scherer <nsche@seros-48.hac.com>
8790 ported to RISCOS 4BSD. -Harlan Stenn <Harlan.Stenn@pfcs.com>
8792 when amrecover starts up, it will warn you $CWD is not the root
8793 of the selected filesystem. -oliva
8795 removed all uses of #elif, because some C compilers won't
8796 handle it correctly. -Gunther Felkel <G.Felkel@edelmann.de>
8798 fixed VDUMP-only (no DUMP defined) estimates.
8799 -Joern Behrens <jbehren@umpa05.gwdg.de>
8801 ported to UnixWare. -Jeff Moscow <jeff@rtr.com>
8803 improved vxdump support so that rundump will be used for vxfs
8804 filesystems only, and it will be enabled automatically. -oliva
8806 various portability problems fixed.
8808 taper will now log reason for tape error to log.<DATE> file,
8809 in addition to amdump.<n>.
8810 -Liudvikas Bukys <bukys@cs.rochester.edu>
8812 amflush now correctly updates the info database. -oliva
8813 reported by Liudvikas Bukys <bukys@cs.rochester.edu>
8815 sendsize now wait()s for tar and samba child processes. -oliva
8816 reported by Brian Morris <brian@mvhs.fuhsd.org>
8818 ensure that `amadmin find' reports multiple backups performed on
8819 the same day in the correct sequence.
8820 -Liudvikas Bukys <bukys@cs.rochester.edu>
8822 if backup server has multiple IP addresses, security code
8823 might reject it. -Gunnar Gunnarsson <gunnar@ki.ericsson.se>
8825 vdump would not work. -oliva
8827 kerberos support was broken. -mike
8829 Version 2.4.0-980222
8831 retry tape open on AIX if it fails with EAGAIN errno.
8832 -Francois Morris <Francois.Morris@lmcp.jussieu.fr>
8834 fix amrmtape so that it behaves well when files to amflush
8835 remain. Reported by Dietmar Goldbeck <dietmar@telemedia.de>
8837 retry tape rewind on FreeBSD. -Bob Willcox <bob@prm.com>
8839 read all output from amrestore otherwise, instead of the
8840 beginning of the next tape section, it would read garbage.
8841 -Terje Malmedal <tm@odin.funcom.com> & oliva
8843 formatting error in amoverview fixed.
8844 -Terje Malmedal <tm@odin.funcom.com>
8848 use vdump to dump advfs filesystems only. add support for vdump
8850 -Martyn Johnson <Martyn.Johnson@cl.cam.ac.uk> & oliva
8852 change index generation commands so that they are less prone
8853 to be fooled by blanks or strange characters in filenames.
8856 check whether exclude-list file exists before calling gnutar.
8857 If it does not, log a message to debugging file and discard it.
8858 selfcheck should check for that too, and print a warning message,
8859 but this is left for a future version. -oliva
8861 fix sendbackup-gnutar crashing problem. -oliva
8863 ensure that, in case of tape failure when dumping to tape, no
8864 incremental relative to the failed backup is performed.
8865 -oliva & Liudvikas Bukys <bukys@cs.rochester.edu>
8867 Fix buffer use and write() error handling in the index pipeline.
8868 -Dietmar Goldbeck <dietmar@telemedia.de>
8869 & Lars Fenneberg <lf@elemental.net>
8871 new index generation commands. -oliva
8875 accept curses and ncurses in addition to termcap for readline
8876 support, just as readline itself does. -oliva
8878 fix NO-ROOM handling when Kerberos encryption is enabled.
8879 -oliva & Eric Siegerman <erics@now.com>
8881 patch file for automake 1.2d provided. -oliva
8883 sendbackup.debug now contains the argument list of child
8886 wait() for child processes, such as server compressor, before
8887 accepting other commands.
8888 -Liudvikas Bukys <bukys@cs.rochester.edu>
8890 amrecover will print an error message if it is not run by root.
8891 It will not crash if you `pwd' before selecting a disk. -oliva
8893 updated to libtool 1.0i. -oliva
8895 fixed tape block size of vxdump on HPUX 10.20.
8896 -Andrew Ivanov <ivanov@mics.msu.su>
8898 Use "a" mode instead of "w" for the fdopen of the debug file.
8899 -David Lamkin <drl@net-tel.co.uk>
8901 allow multiple concurrent gnutar backups, by fixing amandates
8903 -Liudvikas Bukys <bukys@cs.rochester.edu>
8905 amdump should check for a hold file, as says the man-page.
8908 fix automatic enabling of USE_RUNDUMP for systems that require
8909 this. xfsdump support no longer requires USE_RUNDUMP to be
8910 defined, rundump will be enabled and used for xfs filesystems
8911 even if USE_RUNDUMP is not defined, unless XFSDUMP is not defined.
8912 This seems to have completely solved the xfsdump problems.
8915 when USE_RUNDUMP is enabled, instead of checking for read or write
8916 access in selfcheck, just test for the existence of disk devices.
8919 fixed code that computed the dump size when incomplete
8920 writes occurred in dumper. -Eric Siegerman <erics@now.com>
8922 amplot no longer crashes if there's no holding disk. -oliva
8926 fix xfsdump index generation command.
8927 -Robert Tarrall <tarrall@bamboo.colorado.edu>
8929 tape device wouldn't rewind if opened O_WRONLY.
8930 -Palle Girgensohn <girgen@partitur.se> & oliva
8932 use setpgid instead of setpgrp if available
8933 -Mark Woodford <woodford@uniprise.com> & oliva
8935 chg-mtx will check whether slot 6 is a cleaning tape or not.
8936 -Martyn Johnson <Martyn.Johnson@cl.cam.ac.uk>
8938 amrmtape updated to text database. -oliva
8940 incorrect NO-ROOM error when dumping directly to tape fixed.
8943 --with-user and --with-group become are now required. -oliva
8945 patch-system script much more configurable. -oliva
8947 amindexd must get an exact match for diskname.
8948 -Richard Kail <e8903122@student.tuwien.ac.at> & oliva
8950 fix serial number message in amflush
8951 -Liudvikas Bukys <bukys@cs.rochester.edu>
8953 removed backslashes from inside macro calls.
8954 un-indented # directives.
8955 -Gregory Neil Shapiro <gshapiro@WPI.EDU>
8957 bsd-security is now enabled by default. -oliva
8959 fixed estimate command for XFSDUMP.
8960 -Mark Radleigh <radleigh@image.ucr.edu>
8961 & Jeff Moskow <jeff@rtr.com>
8965 documented etimeout configuration option. -oliva&jrj
8967 prevent a few crashes in dumper and reporter. -jrj
8969 reporter would report the same host and disk for RESULTS MISSING.
8972 fix a few file-locking configure bugs. -oliva
8974 chg-multi updates and bugfixes.
8975 -Liudvikas Bukys <bukys@cs.rochester.edu>
8979 amindexd bugfix -Jos Alsters <Jos.Alsters@sci.kun.nl>
8981 New --disable-libtool configure option, for those who really don't
8982 want libraries to be installed. Shared libraries won't be
8983 built, of course. -oliva
8985 samba-related bugfixes.
8986 -Klaus Thiele <kth@becker-software.com>
8988 xfsdump, DNS and amidxtaped bugfixes. -martineau
8990 exclude-list support was broken, the filename was not copied
8991 to the gnutar argument list.
8992 -Stefan Bohm <Stefan.Bohm@rp-online.de>
8994 chg-chio still thought it was seagate-changer, and contained a
8995 few bugs. -Tim Tsai <tim@futuresouth.com>
8997 New file docs/RESTORE, by Daniel Moore <dmoore@jeffco.k12.co.us>
9001 Make sure amverify waits for the tape device to be ready before it
9002 starts reading each section. -oliva
9004 Fix amrecover so that it accepts filenames with blanks.
9005 -J. Shirk <jshirt@ksu.edu> & oliva
9007 Add a TIMEOUT config file parameter to replace the hard coded value
9008 in planner. -Daniel David Benson <bensond@ucdavis.edu>
9010 Change amrecover/amindexd/amidxtaped to require a SECURITY
9011 exchange if --with-bsd-security is enabled. It is done on a
9012 reserved port, which means amrecover must be run as root and that
9013 amindexd/amidxtaped need an entry for the incoming amrecover in
9014 either .rhosts or .amandahosts (Kerberos is not yet supported). --JJ
9016 Make our internal TEXTDB the default database style for the infofile.
9017 If you wish to keep using a dbm style database use the configure
9018 option "--with-db={db,dbm,gdbm,ndbm}".
9021 Sanitise the disk name in the TEXTDB code.
9022 **NOTE** if your infofile database uses TEXTDB (which has only been
9023 available since Amanda-2.4.0b1) and you have '/'s in the
9024 first field in disklist you will need to 'amadmin export'
9025 the data using the old version of Amanda, 'mv' the old
9026 database out of the way and 'amadmin import' it back again
9027 using the new version. When you are happy with the new
9028 version you may delete the old database.
9031 Get rid of DEV_ROOT/DEV_RROOT and figure out the raw name on the
9032 fly by trying a leading 'r' before each path element one at a time
9033 until we find a character device. This should handle all the current
9034 cases plus things like Solaris DiskSuite that have /dev/md/rdsk/xxx
9037 Change kill logic in sendsize to try TERM first, then KILL if that
9038 does not get dump's attention. This fixes a problem on AIX 4.x
9039 where dump was always getting a KILL and leaving orphaned message
9040 queues, which would eventually run the system out of resources. -JJ
9042 Extensive buffer management, bug and defensive coding overhaul
9044 * Use proper fgets/fread/read buffer size.
9045 * Wrote agets and areads to get a line without buffer overflow
9046 and changed most gets/fgets and some read calls to use it.
9047 * Replaced all *scanf("...%s...") with explicit pointer work.
9048 * Replaced most fixed size buffers with dynamic ones. This has
9049 no doubt introduced some memory leaks.
9050 * Replaced most sprintf calls with vstralloc (new routine).
9051 * Added overflow checks to some remaining explicit buffer
9053 * Made almost all read() and write() calls into loops to handle
9054 short and broken up transfers.
9055 * Fixed potentially uninitialized fstype field.
9056 * Added more sanity checks when parsing various things, including
9057 converting some assert() calls to real code.
9058 * The pattern amtrmidx used to find old index files to delete
9059 thought the date field was YYYY-MM-DD, but it is YYYYMMDD,
9060 so no files were being deleted.
9061 * Limited the number of directories listed by amflush to 26 to
9062 avoid funny characters in the user prompt.
9063 * Changed some of the amrecover routines to soak up the rest of
9064 the continuation lines after an error.
9065 * If a dumper dies, driver still tries to send a QUIT command
9066 which fails because the file descriptor has been closed.
9067 * Wrote afree macro that calls free and then sets the pointer
9068 to NULL. Changed most free calls to afree.
9069 * Wrote aclose/afclose/apclose macros to do the associated close
9070 and then set the argument to something invalid (-1 or NULL).
9071 * Check the file descriptor before calling FD_ISSET in dumper.
9072 Otherwise it goes to -1 on EOF and FD_* doesn't like that.
9073 * Call aclose() after FD_CLR (so the descriptor is not -1).
9075 * Added some TEXTDB support code to the infofile test program.
9076 * Set it up so -DPROTO_DEBUG could come from the compiler command
9077 line instead of having to modify the source.
9078 * Added -t command line flag code to sendbackup.c to support some
9080 * Added a test to amcheck to see if the log file is writable
9081 (if it already exists). During debugging, I keep leaving one
9082 around owned by root :-).
9083 * Changed upper limit on close loops from 255 to FD_SETSIZE.
9084 This probably needs some more study.
9087 If krb4 auth was compiled in but not enabled, clients would hang
9088 forever. -Aidan Cully <aidan@panix.com>
9090 Make sure SAMBA will not clear archive bits when performing an
9091 incremental backup, so any incremental will be a level 1.
9094 Add a LOGDIR option to amanda.conf and use it to replace the
9095 --with-logdir option to configure (this was only used for the
9096 amdump files) and the logfile option in amanda.conf. Log
9097 files are now LOGDIR/log and amdump files are LOGDIR/amdump.
9098 Note: if there is a LOGFILE option in amanda.conf it has its
9099 filename removed and is used as the LOGDIR (eg, if you have
9100 "logfile /usr/adm/amanda/log" in amanda.conf it is translated to
9101 "logdir /usr/adm/amanda" instead). This should not cause a
9102 problem for most sites.
9105 Remove --with-dbdir option from configure. This was only used
9106 to setup things for the man pages and example files. Oh.. and
9107 amrmtape. Fix this as well.
9110 Remove --with-indexdir option from configure. This is obtained
9111 from amanda.conf at run time. Also fix things so that it *is*
9112 obtained from amanda.conf in all cases.
9115 This is no longer tested on configure.in, since it is
9116 expressly forbidden to include kernel headers under glibc,
9117 according to Matthias Urlichs <smurf@noris.de>. However, Eric
9118 Doutreleau <ed@cti.ecp.fr> said he needed to include this
9119 header file in order to build amanda on
9120 sparc-unknown-linux-gnu. -oliva
9122 It is now possible to specify a username to be used to backup
9124 -Jean-Louis Martineau <martinea@iro.umontreal.ca>
9126 Make sure dumper replies with ABORT_FINISHED when a PORT-DUMP
9127 is aborted because of tape error.
9128 -Michael C. Povel <Michael.Povel@hub.de>
9130 Amcheck checks only for the needed features.
9131 -Jean-Louis Martineau <martinea@iro.umontreal.ca>
9133 Performance and memory-usage improvements to amrecover.
9134 -Jean-Louis Martineau <martinea@iro.umontreal.ca>
9136 Use extended regular expressions.
9137 -Noel Hunt <noel@jpmorgan.com>
9139 Fixed regular expressions for samba support.
9140 -Brian Fernald <fernald@nsi.edu>
9142 Fixed a few bugs that caused arithmetic exceptions in planner.
9143 -Bob Willcox <bob@luke.pmr.com>, Evan Champion
9144 <evanc@synapse.net>, scott and oliva
9146 amrecover should now be able to handle GNUtar restores.
9147 -Jean-Louis Martineau <martinea@iro.umontreal.ca>, plus
9148 incremental (-G) patch by Lars Fenneberg <lf@elemental.net>
9150 Ported to SINIX (Reliant Unix V5.43).
9151 -Michael Schmitz <mschmitz@iname.com>
9153 Configure now looks for large file support and will use it under
9154 Solaris 2.6 and above.
9155 -Blair Zajac <blair@gps.caltech.edu>
9157 Compatibility problems fixed for:
9158 SCO OpenServer 5.0.2: Paul Gampe <paulg@twics.com>
9162 New changerfile and changerdev configuration keywords, that
9163 allow changer scripts to be configured in the main amanda
9164 configuration file. Each changer script has been adapted, so
9165 that it uses those flags whenever possible. Also,
9166 documentation about built-in scripts has been added to
9167 docs/TAPE.CHANGERS. -oliva & Eric Schnoebelen
9168 <eric@egsner.cirr.com>
9170 --with-debugging now accepts a directory name, where debugging
9171 files should be stored. -John R. Jackson <jrj@cc.purdue.edu>
9173 Compatibility problems fixed for:
9174 NextStep 3.3: Fabrice GAILLARD <gaillard@ina.fr>
9175 SCO OpenServer V5: Christopher B. Olsen <colsen@compus.com>
9176 AIX: Georg Rehfeld <georg@wmd.de>
9178 Planner would core dump if it had to delay dumps. -Georg
9179 Rehfeld <georg@wmd.de>
9181 Added patch for samba to support very long filenames. -Todd
9182 Pfaff <todd@edge.cis.mcmaster.ca>
9184 Added VXDUMP support to estimate program. -oliva & John
9185 R. Jackson <jrj@cc.purdue.edu>
9187 Fixed amflush so that it cd's to the configuration directory
9188 before invoking reporter. -oliva
9190 driver no longer opens the infofile, so a deadlock is
9191 prevented. -oliva & John R. Jackson <jrj@cc.purdue.edu>
9193 Fixed typo in sendbackup-dump that would prevent compilation
9194 if either xfsdump or vxdump were enabled. -oliva
9196 Debugging messages produced by sendbackup are no longer
9197 included in the dump stream. -oliva
9199 amrestore should wait for the child process to die before
9200 re-opening the tape device. -Dietmar Braun
9201 <dietmar@tin-lizzy.hig>
9205 fixed race condition in debug file open operation. -oliva and
9208 exclude-list and exclude-file are correctly handled by
9209 sendsize. -oliva and Johann Klasek <jk@auto.tuwien.ac.at>
9211 fix some kerberos4 problems; no longer require low ports for
9212 kerberized connections; now use amanda@REALM instead of
9213 amanda.amanda@REALM in .klogin's. -kovert
9215 amrecover no longer depends on GNU flex library. -oliva
9217 Ensure that malloc(0) is not called. -Wolfram Schmidt
9218 <Wolfram.Schmidt@iao.fhg.de>
9220 Compression is now performed where specified, and server
9221 compress best specifications are obeyed. -oliva
9223 genversion now correctly recognizes the selected locking scheme.
9224 -Thomas Schmeidl <schmeidl@nwp.kwu.siemens.de>
9228 Several bugfixes by John R. Jackson <jrj@cc.purdue.edu>
9230 AIX's restore support added to amrecover. -David B. Anderson
9231 <dbanders@mail.physics.utah.edu>
9233 Dump process would not be killed unless it supported the -E
9234 flag (flipped #ifdef): fixed. -Steve Bower <sbower@raytheon.com>
9236 --with-testing now supports a trailing argument, that
9237 specifies the a string to be appended to service names. -oliva
9239 Recent versions of Samba require additional arguments so that
9240 estimates and total sizes are logged to stdout, not to syslog.
9241 -Ernie Oporto <ernie_oporto@MENTORG.COM> & Norbert Holzknecht
9242 <Holzknecht@fs31.vdeh-bfi.de>
9246 Improved planner backup-delaying mechanism. -scott
9248 Concurrent estimates are now supported. -oliva
9250 Shared library support included with GNU libtool. -oliva
9252 New hard-link-based locking mechanism for operating systems
9253 that do not support standard locking system calls. -scott
9255 New configuration file format, simpler and easier to
9258 New curinfo database format that uses only text files. The
9259 old dbm format is used by default, though. -scott
9261 DGUX support. -Brian Harvey <bharvey@raven.phs.com>
9263 Tentative HPUX vxdump support. -oliva
9265 Integrated amgetidx into dumper/sendbackup protocol. This
9266 ***breaks backward compatibility***! -oliva
9268 Have sendbackup-dump and sendbackup-gnutar list the actual
9269 program that should be used to restore a file from a backup
9270 instead of just listing restore or gtar. -blair&oliva
9272 Have configure check for the initgroups() declaration in
9273 unistd.h in addition to grp.h and sys/types.h, which is where
9274 some OSes have the declaration. -blair
9276 SAMBA backups wouldn't succeed if GNUTAR listed incrementals
9277 were enabled. SAMBA password file can now specify workgroup
9278 and may contain comments. -oliva
9280 Fixed xfsdump support. -oliva
9282 Fixed srvcompress option. -oliva
9284 Fixed exclude/exclude-list support. -oliva
9286 Change umask to 066 before creating index file in /tmp. -oliva
9288 Fixed autoconf for gdbm on linux. -oliva
9290 configure now seeks out a few possible locations for
9291 kerberos4 includes and tries to find the correct path if
9292 the kerberos bits have been installed. It's possible for
9293 someone to just specify the root of a kerberos tree for
9294 where the bits live, as well. -kovert
9298 Have bsd_security_ok() in amandad return 1 when BSD security is
9299 not turned on. Patch from Michael C. Grant
9300 <mcgrant@rascals.Stanford.EDU>.
9302 Add a configure option, --with-db, which lets the user specify
9303 the database library to use. The available codes to look for
9304 are db,dbm,gdbm,ndbm. The new configure code goes to a lot
9305 more length to find pairs of header files and libraries. If a
9306 header file exists and the library does not, but dbm_open() is
9307 found by linking against -lc, then that header file is used.
9308 Patch from Blair Zajac <blair@gps.caltech.edu>.
9310 Fixed bug at line 158 where selfcheck was testing that the
9311 result returned by open() was nonzero. The correct thing to do
9312 is check for non-negative values returned by open(). Changed
9313 the "ERROR" in line 169 to "OK" to prevent selfcheck from
9314 flagging the non-existence of /etc/amandapass as an error.
9315 Using "OK" in this line flags this condition as an informative
9316 statement rather than an error - which is to say this will be
9317 reported along with other errors but it isn't enough in itself
9318 to generate an error report. The reason that I think this is
9319 the right fix is because although every Amanda client is
9320 capable of backing up PCs using smbclient it isn't the case
9321 that we will back up PCs with every Amanda client. This also
9322 implies that we don't want to have /etc/amandapass files on all
9323 these machines either. If an Amanda client does have a samba
9324 "//host/share" entry in its disklist file then selfcheck will
9325 flag the non-existence of the /etc/amandapass file on line 105
9326 when it attempts to check that partition, so I believe that
9327 this is a safe fix. Patch from Michael Brantley
9328 <Michael-Brantley@deshaw.com>.
9330 Have all calls to gethostname() leave the result in character
9331 arrays of length 1025. This will make sure that gethostname
9332 behaves correctly. Patch from blair Zajac
9333 <blair@gps.caltech.edu>.
9335 Have amrecover.c include history.h or readline/history.h if
9336 configure finds it. Patch from blair Zajac
9337 <blair@gps.caltech.edu>.
9339 Have Amanda use cat if gzip and compress cannot be found. In
9340 this case, do not #define COMPRESS_FAST_OPT, COMPRESS_BEST_OPT,
9341 or UNCOMPRESS_OPT as "" since cat will look look for a file by
9342 the name of "". Place #ifdef's around code that uses any of
9343 the _OPT defines. Patch from Blair Zajac
9344 <blair@gps.caltech.edu>.
9346 Rewrite amgetidx to use amandad instead of rsh/rcp. amgetidx
9347 now only gets the index files from a given day. It now takes
9348 two optionally arguments <on day> or <ago days>. <on day> lets
9349 the user specify the day in one of the forms YYYYMMDD MMDD DD
9350 YYYY-MM-DD --MM-DD ---DD. <ago days> gets the files from days
9351 days ago. Have configure look for an appropriate directory to
9352 use for the temporary files on the clients. Use /var/tmp, then
9353 /usr/tmp, and if neither of those exist, then use /tmp. Have
9354 selfcheck check if the index holding directory has enough space
9355 in it. Add a new program called sendindex which sends the
9356 index files. Add the file docs/INDEXING which describes the
9357 index code. Patch from Alan McIvor <alan@auck.irl.cri.nz>.
9359 Have configure set up mt to use either the -f or the -t option
9360 depending upon the operating system. Patch from Blair Zajac
9361 <blair@gps.caltech.edu>.
9363 Include the amanda_tapetypes.txt file as docs/TAPETYPES. File
9364 composed by Chris Stacey <chris@snrc.uow.edu.au>.
9366 Allow certain dumptypes to be kicked off at specific times.
9367 Add a new, optional, parameter to the dumptype description in
9368 the config file. The parameter is called "starttime" and takes
9369 one argument which is a time of day (local timezone) formated
9370 as either hhmm or hmm (no `.'s, no `:'s, just an integer).
9371 define dumptype comp-user-2am {
9372 comment "Non-root partitions on fast machines"
9373 options compress-fast
9377 Any partitions listed in disklist with this dumptype will be
9378 fired off no earlier than 2am. If 2am today is less than 43200
9379 seconds past (12 hours ago) it will assume you meant 2am today
9380 and fire the dumps off right away. But if 2am today is more
9381 than 12 hours in the past, it will wait till 2am tomorrow.
9382 Patch from Brad Huntting <huntting@misc.glarp.com>.
9384 Totally rewrite the socket buffering code for dumper.
9385 Eliminate SO_SNDTIMEO and SO_RCVTIMEO setsockopt calls. Remove
9386 the check for HAVE_SO_SNDTIMEO from configure. Add a new
9387 option to configure named --enable-buffered-dump to enable this
9388 code. Patch from Brad Huntting <huntting@misc.glarp.com>.
9390 Have amflush call setsid() to detach amflush from the
9391 controlling terminal. Patch from Ken Laprade
9392 <klaprade@harris.com>.
9394 Have configure correctly work on systems where dbm_open is in
9395 libc. Patch from Farzad Farid <farzy@sgip.fr>.
9397 Patches to amrmtape which remove C style comments and let the
9398 script remove a tape if there is only one tape in the tapelist
9399 file. Patch from Andrew A. Ivanov <IVANOV@mics.msu.su>.
9401 Sprintf formatting error in amgetidx fixed. Patch from Yossi
9402 Gottlieb <yogo@xpert.com>.
9404 I'm using a Sony SDT/STL-7000 4mm DAT changer. I could not
9405 find any method of directly controlling the device, except for
9406 simply using the 'offline' mt command for advancing to the next
9407 tape. Using this method, however, I could not go beyond the
9408 last cassette (that is, to roll back to the first one). This
9409 means the device is currently being used as a simple gravity
9410 changer, only able to change forward. The chg-generic.conf
9411 should list the default tape device for all slots, disable
9412 'needeject', enable 'gravity' and enable the new option named
9413 'multieject'. Patch from Yossi Gottlieb <yogo@xpert.com>.
9415 Update the example chg-generic.conf file to include comments
9416 that describe how to use the multieject feature of the script.
9417 Patch from Yossi Gottlieb <yogo@xpert.com>.
9419 Protocol seems to loop when a A_TIMEOUT occurs because
9420 p->reqtries was not being decremented. Problem noted by Neal
9421 Becker <neal@ctd.comsat.com>.
9423 About half the calls to gethostname() in Amanda fail to
9424 null-terminate properly. This patch makes them all
9425 consistent. In addition it updates sendbackup-dump and
9426 sendbackup-gnutar so they handle USE_FQDN is a way consistent
9427 with the amindex stuff. In particular when USE_FQDN is set,
9428 the dump clients will not truncate their hostname before
9429 putting it in the dump headers. My patches to amflush are
9430 already in the Amanda betas so amflush should be able to match
9431 up both FQDN and non-FQDN clients against FQDN and non-FQDN
9432 disklist files. I also fixed an error message that was
9433 attributed to gethostname when it actually came from
9434 getpeername. Patches from James Mathiesen
9435 <james@nyc.deshaw.com>.
9437 I have run into the problem, on a Linux system, where the first
9438 time I run configure it generates valid Makefiles and Amanda
9439 compiles without problem. If I run configure again, or I alter
9440 a Makefile.in or something which causes autoconf to be called,
9441 the resulting Makefiles are no good - the programs in
9442 server-src don't finish linking because there is no dbm
9443 library. That is, the first time through configure -lgdbm is
9444 added to LIBS but the second, and any subsequent times, it is
9445 not. Patch from Alan McIvor <alan@auck.irl.cri.nz>.
9447 I've just found a bug that has prevented Amanda from running on
9448 my site for almost one week. Just after a dumper replied that
9449 it timed-out, the driver would send it another dump request.
9450 Then the driver would log to amdump an event of receiving a
9451 message from the dumper, but that message would be empty, the
9452 holding file for the requested filesystem would not exist, and
9453 driver would quit. It turned out that the problem was that
9454 dumper started to close its sockets (datafd, mesgfd and outfd)
9455 since release 2.3.0.4b3. outfd is initialized before invoking
9456 startup_dump, but it is sendbackup_response, intended to be
9457 invoked by the amandad protocol driver, that opens sockets and
9458 initializes datafd and mesgfd. If sendbackup_response is never
9459 run (because the amandad request times out), datafd and mesgfd
9460 will not be initialized, so they may contain already closed
9461 (and possibly already reopened) file descriptor numbers or
9462 still be uninitialized, containing any garbage, but usually 0
9463 --- but 0 is stdin, used for reading commands from the driver,
9464 it should not be closed! I've solved the problem by
9465 initializing them to -1 in startup_dump. Patch from Alexandre
9466 Oliva <oliva@dcc.unicamp.br>.
9468 Include declarations for select(), bind(), connect(), fread(),
9469 fwrite(), getopt(), getpeername(), getsockname(), getsockopt(),
9470 initgroups(), listen(), lstat(), mktemp(), mktime(), puts(),
9471 recvfrom(), select(), sendto(), setpgrp(), setsockopt(),
9472 shmat(), shmctl(), shmdt(), shmget(), socketpair(), sscanf(),
9473 strftime(), strncasecmp(), system() if the system does not
9474 declare these in any header files. Patch from Blair Zajac
9475 <blair@gps.caltech.edu>.
9477 Have configure correctly substitute for DB_DIR and LOG_DIR in
9478 example/amanda.conf when --prefix was not used. Problem noted
9479 by Philippe Charnier <charnier@xp11.frmug.org>.
9481 Include seagate-changer.c from Larry D. Pyeatt
9482 <pyeatt@cs.colostate.edu>. This program was written to control
9483 the Seagate/Conner/Archive autoloading DAT drive. This drive
9484 normally has 4 tape capacity but can be expanded to 12 tapes
9485 with an optional tape cartridge. This program may also work on
9486 other drives. This program works for me under Linux with Gerd
9487 Knorr's <kraxel@cs.tu-berlin.de> SCSI media changer driver
9488 installed as a kernel module. The kernel module is available
9490 http://sunsite.unc.edu/pub/Linux/kernel/patches/scsi/scsi-changer*
9491 Since the Linux media changer is based on NetBSD, this program
9492 should also work for NetBSD, although I have not tried it. It
9493 may be necessary to change the IOCTL calls to work on other
9496 Add a new configure option, --with-group, which tells Amanda
9497 the group to install all files as. Patch from Alexandre Oliva
9498 <oliva@dcc.unicamp.br>.
9500 If --with-bsd-security was not set, then dumper would not find
9501 the amanda/udp port to use to connect to clients. Patch from
9502 Alan McIvor <alan@auck.irl.cri.nz>.
9504 The order of dump programs to search for (ufsdump, vdump, dump,
9505 backup) didn't work on AIX systems, where backup should be used
9506 but a program named dump exists on the system. Patch by Blair
9507 Zajac <blair@gps.caltech.edu>.
9509 The configure --with-mmap was not working properly since
9510 configure was using the wrong variable to see if the system had
9511 a working mmap(). Problem noted by Keith Mitchell
9512 <kmitch@weenix.guru.org>.
9516 Save the results of getchar() into int's instead of char's in
9517 amidxtaped.c. Patch by Blair Zajac <blair@gps.caltech.edu>.
9519 Fix sendbackup-gnutar so that it can be compiled with a K&R
9520 compiler. Patch by Blair Zajac <blair@gps.caltech.edu>.
9522 Since I installed Amanda 2.3.0.4b3, I noticed some annoying
9524 dumper: pid 8696 setsockopt(SO_SNDTIMEO): Invalid argument
9525 This is because Solaris 2.5 does declare SO_SNDTIMEO in
9526 sys/socket.h, but fails to setsockopt with the given
9527 arguments. Unfortunately, it is not documented, so I could not
9528 find out the correct way to do this, so I just added a test in
9529 configure to check whether SO_SNDTIMEO works as expected or
9530 not. Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
9532 Include amplot-2.2.6 written by Olafur Gudmundsson
9533 <ogud@tis.com> into Amanda. Have amplot be configured using
9534 configure instead of amplot.conf. It will be installed if
9535 gnuplot and the version of awk configure finds can handle
9536 variable assignment from the command line. I also changed some
9537 of the command line options so that the amdump files will not
9538 be compressed unless amplot is told to do so on the command
9539 line. It also takes a new command line option, -t, which lets
9540 the user set the time of the right side of the plot. Work done
9541 by Blair Zajac <blair@gps.caltech.edu>.
9543 Made rth-changer check all system calls for valid returns.
9544 Patch by Blair Zajac <blair@gps.caltech.edu>.
9546 amrestore.c and sendbackup-common.c would do an ifdef on
9547 HAVE_GZIP, which was no longer being defined if Amanda was
9548 using gzip. Now, define HAVE_GZIP if gzip is being used.
9549 Patch by Blair Zajac <blair@gps.caltech.edu>.
9551 Include a script, amoverview, that outputs an overview of all
9552 of the backups done on all of the disks. Script written by
9553 Dave Disser <disser@sdd.hp.com>.
9555 The prototype for amname_to_fstype() is missing in
9556 createindex-dump.c when xfsdump is available. Patch from Ken
9557 Laprade <klaprade@harris.com>.
9559 Apparently SGI provides a dummy libsun.a that does not really
9560 have anything in it. I guess this tricks configure into adding
9561 it to the Makefile. Have configure not check for libsun.a on
9562 SGI systems. Patch from Ken Laprade <klaprade@harris.com>.
9564 The global variable overwrite in amcheck.c apparently is seen
9565 as a potential conflict with the overwrite() curses function
9566 which is apparently in SGI's libtermcap.a. Declaring the
9567 variable static eliminates the warning. Patch from Ken Laprade
9568 <klaprade@harris.com>.
9570 Add a new configure option, --with-fqdn, which allows Amanda to
9571 back up systems in different domains. This requires that the
9572 disklist file have the fully qualified domain names (FQDNs)
9573 listed. Patch from Joe Ammond <Joe.Ammond@ee.gatech.edu>.
9575 Include rundump, a setuid program that runs dump as root. This
9576 is used under OSF1 systems. Patch from Alexandre Oliva
9577 <oliva@dcc.unicamp.br>.
9579 Install setuid files executable only by the owner and group of
9580 the files. This stops other users from running these programs,
9581 making security tighter. Patch from Alexandre Oliva
9582 <oliva@dcc.unicamp.br>.
9584 On FreeBSD 3.0, amanda.h needs to include <sys/types.h> before
9585 <dirent.h>. Problem noted by Keith Mitchell
9586 <kmitch@weenix.guru.org>.
9588 Amanda had a bug regarding the recent addition of support for
9589 excluding files in GNUTAR. planner and sendsize did not
9590 understand each other about empty exclusion lists, so there
9591 were failures using gnutar, as dump does not support excludes.
9592 Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
9594 Fixed a problem in configure where DUMP was being set to
9595 /no/restore/available when no restore program could be found
9596 instead of setting RESTORE to this. Patch from Alexandre Oliva
9597 <oliva@dcc.unicamp.br>.
9599 Have no-changer and hp-changer check for the existence of the
9600 logging directory before trying to use it. Patch by Blair
9601 Zajac <blair@gps.caltech.edu>.
9603 Patches to have nicer looking Samba support code. Patch from
9604 Michael Zucchi <cismpz@cis.unisa.edu.au>.
9606 Got Amanda to compile fine on a m88k-motorola-sysv4 system.
9607 Patches from Blair Zajac <blair@gps.caltech.edu>.
9609 In amandad.c, pk_t dupmsg was conflicting with dupmsg in
9610 /usr/include/sys/stream.h on an m88k-motorola-sysv4 system.
9611 Rename dupmsg to dup_msg. To keep things consistent, rename
9612 inmsg to in_msg and outmsg to out_msg. Patch by Blair Zajac
9613 <blair@gps.caltech.edu>.
9615 Check for the dbm_open declaration in any header file that may
9616 contain it. If it doesn't exist, then declare it and all of
9617 the other dbm_ functions. Check if struct datum is declared in
9618 any header files and if it isn't then declare it. Patch from
9619 Blair Zajac <blair@gps.caltech.edu>.
9621 Have runtar make sure that it is being invoked by the
9622 CLIENT_LOGIN user, since it is a suid executable. Patch from
9623 Alexandre Oliva <oliva@dcc.unicamp.br>.
9625 Have selfcheck check for /etc/vdumpdates if vdump is being
9626 used. Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
9628 If we're on an Ultrix system, then define STATFS_ULTRIX. Patch
9629 by Blair Zajac <blair@gps.caltech.edu>.
9631 amadmin export produces a full version number (2.3.0.4b2, for
9632 instance), while amadmin import expects three integers
9633 separated by dots, so it fails to import an exported file by
9634 itself. Patch by Alexandre Oliva <oliva@dcc.unicamp.br>.
9636 Sendsize.c would loop forever if debugging was not turned on.
9637 Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
9639 Define STATFS_OSF1 if we are on a *-dec-osf-* system. Change
9640 ifdef OSF1_HANG_BUG to ifdef OSF1_VDUMP, since I'd rather not
9641 have too many defines floating around. Patch by Blair Zajac
9642 <blair@gps.caltech.edu>.
9644 There was a bug in selfcheck.c when Blair installed the Samba
9645 support. I deleted an extra space that was added after
9646 SAMBA_CLIENT when the command was being put together. Fix by
9647 Michael Zucchi <cismpz@cis.unisa.edu.au>.
9649 Add a needed ; to client-src/Makefile.am and
9650 server-src/Makefile.am. Patch from Alexandre Oliva
9651 <oliva@dcc.unicamp.br>.
9653 Have planner.c and amcheck.c always get the amanda port number
9654 even if BSD security is turned off. Patch by Blair Zajac
9655 <blair@gps.caltech.edu>.
9657 Change the way amgetidx caches host up/down information. It
9658 used to stralloc() a string depending on if the host was up or
9659 down. Now, create two static character arrays, one holding
9660 "down" and the other holding "up" and simply point the
9661 hostinfo->up pointer to one of the two arrays. This should
9662 save a little memory. Patch by Blair Zajac
9663 <blair@gps.caltech.edu>.
9665 The Bourne shell in FreeBSD can't handle setting IFS to : and
9666 expanding $LOCPATH:$SYSPATH. Create two new variables before
9667 their use called $LOCSYSPATH and $SYSLOCPATH. Patch by Blair
9668 Zajac <blair@gps.caltech.edu>.
9670 Have open_fstab for BSD systems return the value of setfsent.
9671 Patch by Blair Zajac <blair@gps.caltech.edu>.
9673 Configure was searching for the dump program in the following
9674 order: ufsdump, vdump, backup, dump. On HP-UX systems,
9675 configure would find backup, which is a valid program but does
9676 not do what dump does. So switch the order of the programs to
9677 ufsdump, vdump, dump, backup. Patch by Blair Zajac
9678 <blair@gps.caltech.edu>.
9680 Fixed some dbprintf(()) bugs in amgetidx.c. Patch by Blair
9681 Zajac <blair@gps.caltech.edu>.
9683 Have amrecover.c always declare
9684 extern char *optarg;
9686 This makes amrecover.c compile on Ultrix systems. Problem
9687 noted by Scott Gasch <scott@cray-ymp.acm.stuorg.vt.edu>.
9689 Patch to configure to have it recognize gnutar version 1.11.2.
9690 Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
9694 Have amcleanup, no-changer, and hp-changer find out where the
9695 logging directory, or amdump error file is from getconf instead
9696 of using @LOG_DIR@ or @DB_DIR@ from configure. Problem noted
9697 by Joe Ammond <Joe.Ammond@ee.gatech.edu>.
9699 Remove VarDir=@DB_DIR@ from amrmtape.sh.in, since amrmtape
9700 figures out where the curinfo files are from the amanda.conf
9701 file. Problem noted by Joe Ammond <Joe.Ammond@ee.gatech.edu>.
9703 Include rth-changer, a tape changer script for the Robotic Tape
9704 Handling system OEM'd by Andataco (RTH-406). Script written by
9705 Erik Frederick <edf@tyrell.mc.duke.edu>.
9707 Add a new configure option called --with-pid-debug-files which
9708 has Amanda append the process ID to the debugging files placed
9709 in /tmp. The PID will not be appended unless this option is
9710 used. Suggestion by Joe Ammond <Joe.Ammond@ee.gatech.edu>.
9712 Add a new #define UNCOMPRESS_OPT to pass to UNCOMPRESS_PATH to
9713 get compressed standard input decompressed and pass it to
9714 standard output. The configure script only recognized gzip and
9715 compress right now, so it will set UNCOMPRESS_OPT to -dc and
9716 set UNCOMPRESS_PATH to the same value as COMPRESS_PATH. Edit
9717 all of the files that make use of UNCOMPRESS_PATH to also make
9718 use of UNCOMPRESS_OPT now. Patch by Blair Zajac
9719 <blair@gps.caltech.edu>.
9721 The readline() substitute in amrecover.c when the real
9722 readline() code is not available did not return to the caller
9723 what the user typed in. It now does so. Patch from Blair
9724 Zajac <blair@gps.caltech.edu>.
9726 Avoid -lnsl on Irix. On IRIX 5.x and 6.x systems that have the
9727 svr4net module installed, there will be a /usr/lib/libnsl.so
9728 present on the system. The configure script looks for this and
9729 tosses into the library list if it's there. It is not
9730 advisable to link against libnsl on IRIX unless you really need
9731 it for SVR4 networking (TLI/STREAMS). If you _do_ link against
9732 it, you should use include '-lc' _before_ '-lnsl'. The reason
9733 for this is that libnsl.so also contains the SysV TI-RPC code,
9734 which is RPC based on STREAMS/TLI rather than sockets. (Solaris
9735 2.x now uses this by default.) TI-RPC has some compatibility
9736 functions with the same names as older RPC functions, such as
9737 clnt_call(), clnt_create(), clnt_destroy(), and these conflict
9738 with the functions in libc.so. The main place this will hose
9739 you is NIS: NIS v2 expects the underlying RPC code to use
9740 sockets, not STREAMS, and it fails if the TI-RPC symbols in
9741 libnsl.so override the RPC symbols in libc.so. Again, you
9742 don't need libnsl.so unless you're actually using STREAMS/TLI
9743 or TI-RPC, so in Amanda's case it's safe to just ignore it. If
9744 you _do_ need it, you must do 'cc -o foo foo.c -lc -lnsl' in
9745 order to make sure the linker resolves the RPC symbol
9746 references correctly. The primary symptom of this problem is
9747 that things like getpwent(), getgrent() and getnetgrent() stop
9748 working in an NIS environment. To make a long story short: on
9749 IRIX, avoid using libnsl. Amanda doesn't need it anyway. So far
9750 I haven't encountered a problem with this, but you never know.
9751 Note from Bill Paul <wpaul@ctr.columbia.edu>.
9753 Include patches to have Amanda do incrementals of gnutar based
9754 backups. Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
9756 Delete the GNUTAR_BROKEN_PIPE from configure and acconfig.h
9757 since no code was testing for it. Patch by Blair Zajac
9758 <blair@gps.caltech.edu>.
9760 Have configure check for the number of arguments that
9761 gettimeofday takes and have clock.c use the appropriate number
9762 of arguments. Patch by Blair Zajac <blair@gps.caltech.edu>.
9764 Have sendbackup-common.c include tapeio.h instead of defining
9765 BUFFER_SIZE. Fix by Philip Guenther <guenther@gac.edu>.
9767 Put in more support for AIX by defining AIX_BACKUP if the
9768 system is an AIX system. Fix createindex-dump.c to pass the -B
9769 flag to restore to have it read from standard input. Problem
9770 noted by Bill Paul <wpaul@ctr.columbia.edu>. Patch by Blair
9771 Zajac <blair@gps.caltech.edu>.
9773 Add a regexp for AIX 4's backup in sendbackup-dump.c and
9774 sendsize.c. Patch from Bill Paul <wpaul@ctr.columbia.edu>.
9776 Add a comment to tapeio.h about BUFFER_SIZE and what it is used
9777 for and how people should not change it. Noted by Bill Paul
9778 <wpaul@ctr.columbia.edu>.
9780 Added a --with-mmap option to force the use of mmap() instead
9781 of shared memory support. Requested by wpaul@ctr.columbia.edu
9782 <Bill Paul>. Patch by Blair Zajac <blair@gps.caltech.edu>.
9784 On FreeBSD 2.x and 3.x, the SO_SNDTIMEOUT value is too large in
9785 dumper.c. Looking at the kernel source, the maximum value for
9786 tv_sec is about 227. The value used is READ_TIMEOUT/4, or
9787 (30*60)/4 == 450 seconds. This causes setsockopt() to return
9788 EDOM (Numerical argument out of domain), and again everything
9789 grinds to a halt. I changed the value from READ_TIMEOUT/4 to
9790 READ_TIMEOUT/8, which reduces the SO_SNDTIMEO value to 225. I
9791 haven't extensively tested this yet, but based on eyeballing
9792 the kernel source it should work. Patch from Bill Paul
9793 <wpaul@ctr.columbia.edu>.
9795 In dumper.c:do_dump(), there is code to set the transmission
9796 timeout, receive buffer size and receive low water mark on the
9797 data socket using setsockopt(). For SO_RECVBUF, the receive
9798 buffer size (recbuf) is set to DATABUF_SIZE * 4, which is
9799 32*1024*4, or 131072. On SunOS 4.1.x, this value is too
9800 large: dumper generates a 'no buffer space available' error
9801 and everything grinds to a halt. I took away the '*4', which
9802 reduces the size to 32767 bytes, which seems to work. I'm
9803 surprised nobody else has noticed this since it breaks SunOS
9804 Amanda servers. I can only surmise that people aren't using
9805 SunOS machines as servers these days. :) Patch from Bill Paul
9806 <wpaul@ctr.columbia.edu>.
9808 Have Amanda include either readline.h or readline/readline.h
9809 Fix suggested by Neal Becker <neal@ctd.comsat.com>.
9811 Have --with-includes put the -I flags into $CPPFLAGS and
9812 $CFLAGS so that AC_CHECK_HEADERS will find other include
9813 files. Problem noted by Neal Becker <neal@ctd.comsat.com>.
9815 Fixed common-src/Makefile.am to put the extra libamanda.a
9816 sources into the EXTRA_libamanda_a_SOURCES variable instead of
9817 EXTRA_DIST. Fix from Tom Tromey <tromey@drip.Colorado.EDU>.
9819 When compiling amgetidx.c with some compilers, trigraph
9820 substitutions were being made when they should not have been.
9821 Protect the code from this. Patch from Blair Zajac
9822 <blair@gps.caltech.edu>.
9824 Test for flock support in the following order:
9825 1) POSIX fcntl file locking
9828 The common-src/flock.c file will only be used if the lockf type
9829 locking is needed on this system. Patch from Blair Zajac
9830 <blair@gps.caltech.edu>.
9832 Have Samba support compile in only if requested by the user.
9833 Patch from Blair Zajac <blair@gps.caltech.edu>.
9835 Configure was not using $CFLAGS and $CPPFLAGS when trying to
9836 calculate the select argument type. Patch from Blair Zajac
9837 <blair@gps.caltech.edu>.
9839 Updated amanda.h to include alloca.h if the system has it and
9840 if it's ok to include. Also protect more include files with
9841 #ifdefs found by configure. Patch from Blair Zajac
9842 <blair@gps.caltech.edu>.
9844 Linux does not use the raw device names to do backups.
9845 configure now checks to see if it can find a raw disk device
9846 file whose name is built from root's mount point. If it can't,
9847 then set RDEV_PREFIX to use /dev/ instead of /dev/r. Fix
9848 suggested by Brian <brian.s.mogged@uwrf.edu> and Ken Latta
9849 <latta@parc.xerox.com>.
9851 Fixed const cast message from regex.c. Problem noted by Ken
9852 Laprade <klaprade@harris.com>. Patch from Blair Zajac
9853 <blair@gps.caltech.edu>.
9855 Configure was not checking for the OSF1_VDUMP #ifdef used in
9856 Amanda. It now will set OSF1_VDUMP if vdump is found on the
9857 system. However, it does not check if the system is really a
9858 OSF system. Patch from Blair Zajac <blair@gps.caltech.edu>.
9860 Have configure check for asm/byteorder.h for
9861 sparc-unknown-linux-gnu. Problem noted by Eric Doutreleau
9864 Remove the check for libintl.h from configure. It was only
9865 being used for regex.c, which really didn't need it. Patch
9866 from Blair Zajac <blair@gps.caltech.edu>.
9868 Convert all code to K&R C by trying to compile Amanda using
9869 /usr/bin/cc on a SunOS 4.1.1 machine. Have configure check if
9870 the compiler can handle the volatile keyword and if it can't,
9871 #define it to empty in the config.h file. Patch from Blair
9872 Zajac <blair@gps.caltech.edu>.
9874 Move the contents of versuff.h into version.h and remove
9875 versuff.h. Add a new function called version() which returns
9876 the version string. Use version() in some of the programs.
9877 Patch from Blair Zajac <blair@gps.caltech.edu>.
9879 m88k-motorola-sysv4 systems define L_FAIL, which is used by
9880 logfile.h. Undefine it in logfile.h. Patch from Blair Zajac
9881 <blair@gps.caltech.edu>.
9883 Include amindex-1.0 from Alan McIvor. It includes these
9884 improvements over 0.3:
9885 Amrecover now provides the ability to restore files
9886 from the tapes, via the "extract" command.
9888 Support for gnutar based index generation (but not file
9893 Have amgetidx try to open a socket to the shell/tcp port on the
9894 remote machine and cache if it succeeds. If it connection
9895 attempt succeeds, then attempt to get the index files over from
9896 the client. Patch from Blair Zajac <blair@gps.caltech.edu>.
9898 Update patch-system to include the amidxtape service at
9899 10083/tcp. Patch from Blair Zajac <blair@gps.caltech.edu>.
9901 Configure said that the server configuration was OK and then
9902 next said it wasn't. Remove these checks. Patch from Blair
9903 Zajac <blair@gps.caltech.edu>.
9905 Fixed building Amanda for multiple architectures in
9906 subdirectories of Amanda. Problem noted by Thomas Hepper
9907 <Thomas.Hepper@icem.de>.
9911 Fix a problem with `amadmin <conf> balance' dumping core. If
9912 some disks are overdue, they are stored in the sequence array
9913 with a negative index. This has the potential to cause memory
9914 corruption, and it makes the reported balance figures not add up
9915 to the same as the total. Since overdue disks are really going
9916 to be candidated for today's backups, they are thrown in the
9917 bin for those. Patch from Ken Laprade <klaprade@harris.com>.
9919 Add Samba client support using smbclient to Amanda. Samba must
9920 be patched with the file patches/samba-1.9.16p2.1.patch - this
9921 is a patch for 1.9.16p2 of Samba, and modifies the way the
9922 'dir' command works, and adds totals to both the dir command
9923 and the tar command, via stderr. These are used by amanda to
9924 estimate and count backup sizes. This should be installed on
9925 an amanda 'client' host, that will act as the 'samba server'
9926 host. This will most likely be the same machine as the Amanda
9927 master server. Patches from Michael Zucchi
9928 <zucchi@cis.unisa.edu.au>.
9930 Amrmtape converted from Bash to Bourne shell. Patch from Blair
9931 Zajac <blair@gps.caltech.edu>.
9933 Fix the indexing code to use "arglist.h" instead of <stdarg.h>
9934 Patch from Blair Zajac <blair@gps.caltech.edu>.
9936 Have amdump call amgetidx and amtrmidx. Put amgetidx and
9937 amtrmidx into the libexec directory instead of the bin
9938 directory, since Amanda users will not use these by hand.
9939 Patch from Blair Zajac <blair@gps.caltech.edu>.
9941 Modified diskfile.c to match hostname in the backup header
9942 against the fully qualified domain name in disklist file,
9943 because amflush fails in a multidomain backup environment, as
9944 backup headers have only the hostname. Patch from Karl
9945 Lehenbauer <karl@neosoft.com>.
9947 Have autoconf figure out if some functions are not declared and
9948 if they are not, then declare them. Patch from Blair Zajac
9949 <blair@gps.caltech.edu>.
9951 Add security fixes to amandad.c. It now checks the forward and
9952 reverse DNS names for consistency. Added a configure option
9953 --amandahosts to use Michael's code to use .amandahosts instead
9954 of .rhosts. Patch from Michael Douglass <mikedoug@texas.net>.
9956 Add amverify, a simple shell script to check Amanda tapes -
9957 gnutar driven backups only. Patch from Thomas Hepper
9958 <Thomas.Hepper@icem.de>.
9960 Add the version option to amadmin (eg amadmin <conf> version).
9961 Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
9963 Add the current option to amtape (eg amtape <conf> current).
9964 This let's you the label of the current tape only without using
9965 dd. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
9967 Gnutar support for amindex added. Patch from Thomas Hepper
9968 <Thomas.Hepper@icem.de>.
9970 Calcsize supports exclude-list (gtar). The source was
9971 extracted from gnutar itself to be 100% compatible. Patch from
9972 Thomas Hepper <Thomas.Hepper@icem.de>.
9974 Calcsize checks the file type and ignores special files and
9975 pipes. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
9977 Calcsizes calculation for gnu tar archives had a bug (gtar file
9978 blocks always are a multiple of 2k). Patch from Thomas Hepper
9979 <Thomas.Hepper@icem.de>.
9981 `amandates.c': amdandad suffered by missing AMANDATES_FILE.
9982 Now it creates this file before missing it. Patch from Thomas
9983 Hepper <Thomas.Hepper@icem.de>.
9985 `createindex-gnutar.c' added. Patch from Thomas Hepper
9986 <Thomas.Hepper@icem.de>.
9988 alloca(), strdup.c and getcwd added for those system who don't
9989 have them. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
9991 A dirty hack for BSD based systems without sigaction(), see
9992 amanda.h. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
9994 Add two scripts, hp-changer and no-changer. hp-changer is a
9995 tape changer script for a HP DAT changer. Every 10th tape a
9996 taper clean runs. no-changer is a changer-like script for
9997 single tape streamer. It makes Amanda see a tape changer unit
9998 with an infinite count of tapes (and requires an operator to
9999 change the tapes :-)). Every 10 tapes the operator is
10000 recommended to insert a cleaning tape. Patch from Thomas
10001 Hepper <Thomas.Hepper@icem.de>.
10003 The version suffix adding is done with a seperate function
10004 versionsuffix() also available as standalone program. Patch
10005 from Thomas Hepper <Thomas.Hepper@icem.de>.
10007 Several files got debug support. Patch from Thomas Hepper
10008 <Thomas.Hepper@icem.de>.
10010 Added an idle type file-too-large to driver.c to avoid dumping
10011 files to the holding disk(s) which exceed the maximum file size
10012 (2 GB on the most 32-bit machines). Patch from Thomas Hepper
10013 <Thomas.Hepper@icem.de>.
10015 Some minor bug fixes, mostly regarding missing or wrong casts
10016 confusing c compilers (shmat()/shmdt(), select()). Patch from
10017 Thomas Hepper <Thomas.Hepper@icem.de>.
10019 Genversion gives some more information. Patch from Thomas
10020 Hepper <Thomas.Hepper@icem.de>.
10022 getfsent.c and statfs.c have been cleaned up. The have to be
10023 checked on non-Irix/Solaris/NextStep/HPUX/AIX/Linux-systems.
10024 Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
10026 Simple support if readline.a is missing. NEVER TESTED! Patch
10027 from Thomas Hepper <Thomas.Hepper@icem.de>.
10029 Linux requires libdb.a and ndbm.h to handle database files. Not
10030 really what I expected. Patch from Thomas Hepper
10031 <Thomas.Hepper@icem.de>.
10033 Here's a simple patch which fixes a problem that causes amflush
10034 to erroneously complain "ignoring cruft file" about good dump
10035 files on the holding disk, and fail to flush them to tape.
10036 This happens if your holding disk directory has a long name,
10037 and the dump file also has a long name (i.e. if you use
10038 filesystem mount points in disklist). The problem occurs if
10039 the holding directory + filename exceeds 80 bytes. The patch
10040 still leaves a length limitation, but at least it matches the
10041 size limit imposed by driver (and thus dumper & taper) of 128
10042 bytes. Patch from Marion Hakanson <hakanson@cse.ogi.edu>.
10044 Use regex.h and regex.c from
10045 ftp://prep.ai.mit.edu/sh-utils-1.15.tar.gz instead of the regex
10046 checking code in the system. This code includes re_comp and
10047 re_exec calls, so it will work on any system. Patch by Blair
10048 Zajac <blair@gps.caltech.edu>.
10050 Amadmin find reports the wrong tape file numbers after when a
10051 dump is amflush'ed to tape. Patch by Ralf Fassel
10052 <ralf@atg.venture.de>.
10054 Fix a bug where dumps of disks on the Amanda server are counted
10055 against the available network bandwidth. Patch from Marion
10056 Hakanson <hakanson@cse.ogi.edu>.
10058 Tell gnutar to not exit with a nonzero value if a read failed.
10059 This prevents backups from aborting if a file disappeared
10060 before gnutar could save it. Patch from Hal Snyder
10063 Fix dumper which can cause the entire amdump run to hang after
10064 dumper issues a "TRY-AGAIN" message to driver while dumping
10065 directly to tape. Patch from Marion Hakanson's
10066 <hakanson@cse.ogi.edu>.
10068 Added Marion Hakanson's <hakanson@cse.ogi.edu> patches to fix
10069 problems when amanda dumps directly to tape (i.e. when holding
10070 space is full, or you're backing up a huge filesystem, etc.).
10071 The bug occurs in the way taper determines it has succeeded
10072 when doing a PORT-WRITE operation (i.e. dumping directly to
10073 tape). It used to assume that an EOF meant no more data --
10074 true if it's reading from a file, but when reading from a port
10075 (i.e. directly from a dump process), an EOF could signal
10076 abnormal exit as well as a normal one. So, I extended the
10077 protocol between driver and taper when dumping directly to tape
10078 (see dump_to_tape() in driver.c) so the taper will wait for the
10079 driver to pass PORT-WRITE-SUCCESS or PORT-WRITE-FAILURE to the
10080 taper (since driver gets OK/not-OK from the dumper) before the
10081 taper records success or failure. Note that this change
10082 affects only the PORT-WRITE case in taper. FYI, the bug
10083 resulted in the curinfo database for a failed port-dump to have
10084 the tape-label & file-number fields updated with the location
10085 of the failed dump, even though the timestamp & dump statistics
10086 still have the values of the last successful dump (the latter
10087 fields are updated by dumper itself).
10089 Patches from George Scott <George.Scott@cc.monash.edu.au> to
10090 fix the following problems in planner.c.
10091 1) Initialise total_size, total_lev0 and balanced_size. They
10092 are updated in analyze_estimates() but never initialised. Zero
10093 them before the first call.
10094 2) Remove oversize dumps. If there is a dump whose estimated
10095 size is larger than the tape the planner would tend to throw
10096 away all the other dumps and then probably generate an
10097 unworkable plan anyway. (The standard 2.2.6 planner probably
10098 tossed these dumps fairly quickly for other reasons, but my
10099 next fix made this one almost mandatory!) The fix is to drop
10100 these enormous dumps right at the begining. This shouldn't be
10101 triggered for anyone with a sane configuration.
10102 3) Promote hills. There are two ways to create a balanced
10103 cycle. The first is to fill in any holes and the second is to
10104 remove any hills. The original planner is good at doing the
10105 first but doesn't even attempt the second. A quick look at
10106 "amadmin balance" would show big hills quite clearly. This fix
10107 effectively does an "amadmin balance" and promotes a dump from
10108 one of the "hills". This type of promotion is quite
10110 - don't bother if we already plan to do any level 0 dumps
10111 - don't promote a dump if it was going to be the only level 0
10112 to be done on that run (ie, ignore hills that are only one
10114 - only promote one level 0 by this method
10115 - don't exceed tape_length
10116 The key to it is the first restriction. Large sites (with
10117 large numbers of disks and a large balanced_size) will have at
10118 least one level 0 scheduled for each day in the dump cycle and
10119 will already have a balanced cycle. This code will not
10120 activate for them. Small sites will probably not have a level
10121 0 scheduled and will benefit. The second restriction will stop
10122 Amanda from constantly promoting dumps when the schedule is as
10123 balanced as it will go. The third restriction will stop Amanda
10124 over reacting. Promoting one dump by this method would take
10125 total_lev0 larger that balanced_size. If it wouldn't then the
10126 first stage promotion didn't work like it should.
10127 4) Initialise got_estimate for all cases. This fix was from
10128 der Mouse <mouse@collatz.mcrcim.mcgill.edu>. "got_estimate"
10129 wasn't being initialised for skipped disks. Later in the code
10130 it was being used in all cases. The fix is to move its
10131 initialisation up a few lines.
10132 5) Explicitly ignore off-line disks. If a disk is off-line
10133 when the planner is run it gets -1 for all dump sizes. These
10134 were ignored at a later stage. This fix explicitly ignores
10136 6) Ignore down machines. If a machine is down when the planner
10137 is run it guesses from historical data what the size of
10138 tonights dump is likely to be and schedules a dump anyway. The
10139 dumper then usually discovers that the machine is still down
10140 and ends up with a half full tape. Unfortunately the planner
10141 had to delay another dump because it thought that the tape was
10142 full. The fix here is for the planner to discard unavailable
10143 machines totally rather than just ignore the fact that they are
10145 7) Keep at least one total. Amanda moves level 0 dumps back to
10146 incrementals to try and fit everything onto the tape.
10147 Unfortunately if all your incrementals are too big (or your
10148 tape too small) it can move all of your level 0 dumps. This
10149 ends up being a kind of deadlock since, unless a level 0 gets
10150 done, the incrementals will not reduce in size and until the
10151 incrementals reduce in size there will not be enough room to
10152 fit in a level 0. (This is not quite accurate since a level 4
10153 dump can get bumped to a level 5 which reduces its size.
10154 However, this deadlock has happened to me and for many days in
10155 a row.) The fix is to pick on the highest priority level 0 and
10156 not let it be moved. This change will not affect users with
10157 reasonably sized tapes since Amanda would not have moved all
10158 their disks to incrementals.
10159 8) Make usage of total_lev0 consistent. "total_lev0" is a
10160 double and doesn't include tape_mark's. Make it so.
10162 Add a fflush(outf) to amcheck.c. Patch from Mike Russell
10163 <Michael_Russell@Brown.EDU>.
10165 Fix problems with amhpfixdevs. Patch from Michael Schmitz
10166 <mschmitz@iname.com>.
10168 Have DEC OSF1 use installbsd instead of install. Patch from
10169 Rainer Landes <rlandes@fphws01.physik.uni-karlsruhe.de>.
10171 Have amcontrol take the first command line argument as the
10172 configuration to use. If there are no command line arguments,
10173 then use daily. Patch from Thomas Schmeidl
10174 <schmeidl@nwp.kwu.siemens.de>.
10176 Removed --atime-preserve from sendbackup-gnutar.c so that
10177 incremental backups of filesystems will work. Patch from
10178 Alexandre Oliva <oliva@dcc.unicamp.br>.
10180 Change all #if __STDC__ to #ifdef __STDC__ for those systems
10181 that define __STDC__ to 0, such as Solaris using cc -Xt, cc
10182 -Xa. Patch from Blair Zajac <blair@gps.caltech.edu>.
10184 Increase the socket buffer size, and set a low watter mark at
10185 32k. This cut the number of syscalls done to process one 32k
10186 block from dozens down to 4 (select, read, lseek, write).
10187 Patch from Brad Huntting <huntting@glarp.com>.
10189 Include amindex-0.3 from Alan McIvor <alan@salan.auck.irl.cri.nz>.
10191 Add the "srvcompress" option to compress dumps on the tape host
10192 instead of on the client machines. This may be useful when a
10193 fast tape host is backing up slow clients. The patches add a
10194 dump-type option, analogous to "compress-fast" or
10195 "compress-best" - the way to use it is to create a new dumptype
10196 in your amanda.conf that includes "srvcompress" and use the new
10197 dumptype for those filesystems you wish to have compressed on
10198 the tape server. For example, in amanda.conf:
10199 define dumptype srvcomp-user {
10200 comment "Partitions on slow machines, compressed on tapehost"
10201 options srvcompress
10204 Patches from Eric Volpe <epv@panix.com>.
10206 Increase the planner timeout for one estimate from 30 seconds
10207 to 120 seconds. Patch from Michael Schmitz
10208 <mschmitz@iname.com>.
10210 The select(2) prototype on HPUX specifies 'int' as argument
10211 type of the filedescriptor arguments. All other systems I know
10212 of use 'fd_set'. This has been fixed by having configure check
10213 the argument type to select and adding casts to the select(2)
10214 calls. Patch from Michael Schmitz <mschmitz@iname.com>.
10216 Improve the diagnostic output and increase the robustness of
10217 the system by adding better error checking on communication
10218 between taper & driver, and among the two taper processes.
10219 Patches from Marion Hakanson <hakanson@cse.ogi.edu>.
10221 Convert all flock() calls to use POSIX-style locks via the
10222 fcntl(2) call. This operation was prompted by the fact that
10223 the flock() emulation in the Amanda-provided common-src/flock.c
10224 was broken for read-only file descriptors, and the fcntl(2)
10225 locks are widely available. This patch makes it possible to
10226 have a read-only lock on the /etc/amandates file on systems
10227 which want to use it. I've built and tested the patched code
10228 on Amanda servers running on Digital Unix v3.2B (on Alpha
10229 hardware) and on SPARC Solaris-2.5.1. It's also been compiled
10230 here on SPARC's running SunOS-4.1.3u1b, HP-UX 9.0[345], and
10231 NeXTstep-3.3 (NeXT hardware). Note that the patches also
10232 remove all trace of the NEED_FLOCK define, and I have removed
10233 the file common-src/flock.c from our source tree here. Patch
10234 from Marion Hakanson <hakanson@cse.ogi.edu>.
10236 For disk/filesystem names which are wider than 14 characters,
10237 have reporter print out the rightmost characters of the disk
10238 name, which is usually more meaningful in a daily backup
10239 summary. Patch from Marion Hakanson <hakanson@cse.ogi.edu>.
10241 Lets amflush work in a wider variety of cases than was
10242 previously true (it used to work if the disklist contains only
10243 the first token of each hostname). sendbackup-dump.c and
10244 sendbackup-gnutar.c now do not trim the domain name from the
10245 host name that is sent back to the server. amflush now looks
10246 for an exact match, in the database. If it can't find one it
10247 strips the last token off the dump header hostname and keeps
10248 trying until it finds a match in the disklist or runs out of
10249 tokens. This also has the advantage that if gethostname()
10250 returns FQDNs and you specify the same FQDNs in the disklist,
10251 then amflush will always work. It will also work as long as
10252 the disklist and gethostname() on the clients return enough
10253 information to be unambiguous. Patch from James Mathiesen
10254 <james@deshaw.com>.
10256 Increase the READ_TIMEOUT in dumper.c to 30 minutes. This
10257 needs to be longer than the longest amount of time dump will
10258 not produce output. People have observed dumps taking more
10259 than 10 minutes to finish mapping some of the passes
10260 sometimes. Patch from James Mathiesen <james@deshaw.com>.
10262 Added Adrian T. Filipi-Martin's <atf3r@cs.virginia.edu>
10263 amrmtape script, which allows you to invalidate the contents of
10264 an existing backup tape within the Amanda current tape
10265 database. This is meant as a recovery mecanism for when a good
10266 backup is damaged either by faulty hardware or user error,
10267 i.e. the tape is eaten by the tape drive, or the tape has been
10268 overwritten. Blair Zajac wrote a quick little manual page for
10271 amrmtape was using the return value from amadmin and amadmin
10272 was exiting with a non-zero value, causing amrmtape to quit.
10273 Added a return 0 statement to amadmin.c. Patch from Blair
10274 Zajac <blair@gps.caltech.edu>.
10276 Went through all of the files and changed void main()'s to int
10277 main()'s. Patch from Blair Zajac <blair@gps.caltech.edu>.
10279 Removed the 50 tape file limit in amcleanup and amdump.
10281 createindex-dump and sendbackup-dump did not always take into
10282 account the version suffix. This is now handled. Patch from
10283 Philippe Charnier <charnier@lirmm.fr>
10285 Compile and install amrecover and amrestore as client programs,
10286 not a server program. The motovation for this is that
10287 amrecover is truly a program for all of the users on the
10288 system, while the remaining amanda programs could be used by
10289 only the system administrator. Patch from Alexandre Oliva
10290 <oliva@dcc.unicamp.br>.
10292 The program amtrmidx fails to close some of the pipes it uses,
10293 and this can lead to failure on systems with large numbers of
10294 disks with incomplete database sets, and file descriptor
10295 ulimits set. Patch from Alan McIvor <alan@auck.irl.cri.nz>.
10299 Expanded the width of the DISK column from the reporter
10300 output. I like to use mount points like /export/home?? instead
10301 of device names to back up. Since the width of the disk name
10302 field from reporter's output is pretty small, I couldn't easily
10303 figure out the statistics for a particular partition. Patch
10304 from Blair Zajac <blair@gps.caltech.edu>.
10306 Included Eric Doutreleau <ed@cti.ecp.fr> patch's for amadmin to
10307 handle multiple tapes better. The patch that he posted on used
10308 a hardwired value of 6 for runtapes, which I changed.
10310 Included Marion Hakanson's <hakanson@cse.ogi.edu> patches to
10311 amadmin.c and amadmin.8 to let amadmin use the same disk
10312 regular expression matching as amrestore. So now "^/$" will
10313 match only the root partition, not all of the disks.
10315 Added a patch from George.Scott@cc.monash.edu.au which makes
10316 new disks and forces dump with a higher priority.
10318 Changed tools/munge to delete blank lines and the commented
10319 lines that the C preprocessor generates (i.e. # 123). We also
10320 remove the space after the = sign that can be generated by cpp
10323 Installed amindex-0.2 from Alan McIvor <alan@auck.irl.cri.nz>
10324 with the following patches:
10326 Fix problem so that rsh'ing on a hpux host works.
10327 Patch from Neal Becker <neal@ctd.comsat.com>. This
10328 patch includes a new #define for RSH_COMMAND, which is
10329 set to rsh in config-common.h and defined as remsh in
10332 Fix bugs in createindex-dump.c when comparing errno to
10333 EINTR. The code was using = instead of ==. Patch from
10334 Neal Becker <neal@ctd.comsat.com>. I'm guessing this
10335 might fix some of the runaway createindex-dump
10336 processes that I have seen on my system.
10338 On my system, we use MAE which likes to generate path
10339 names with spaces in them. I patched
10340 createindex-dump.c so that filenames with spaces have
10341 the whole filename listed. Patch from Blair Zajac
10342 <blair@gps.caltech.edu>.
10344 Patch amtrmidx.c so that backups using the mount points
10345 for disks instead of the device name have the /'s
10346 replaced with _'s. Patch from Blair Zajac
10347 <blair@gps.caltech.edu>.
10351 Changed the signals being sent to xfsdump for Irix so that it
10352 will be killed without dumping a core.
10354 Fixed a typo in the definition of XFSDUMP in config.h-irix.
10356 Removed the extra option.s-* and copied options.h to
10359 Moved the amrestore manual page into the man directory so it
10360 would get installed.
10364 amindex-0.1 written by Alan McIvor <alan@kauri.auck.irl.cri.nz>
10365 installed. amindex generates an index of all of the files that
10366 were dumped. It is nice to see what files were dumped before
10367 you restore a whole bunch of tapes looking for a file. I
10368 patched some of this code. Here are some of the changes:
10370 Switched the Imakefile to Makefile and Makefile.in to
10371 be more consistent with the system used by the rest of
10374 Moved the configuration #defines out of the specific
10375 files (such as amrecover.c) into options.h, so that
10376 people installing this version of amanda would be able
10377 to see the required changes more easily and not have to
10378 edit multiple files.
10380 Made some changes to the codes to remove #include's
10381 where amanda.h would include them and also check if the
10382 system had the particular include file.
10384 Added code to set_commands.c and amgetidx.c to change
10385 /'s in disk names to _'s.
10387 Added code to amrecover.c to properly compile on
10390 With the -Xc compiler option on Solaris and with
10391 amindex, the sigaction structure was not being
10392 declared. Added -D__EXTENSIONS__ to config.h-sunos5 so
10393 that sigaction would be declared.
10395 I changed a bunch of fprintf to perrors.
10397 Include Sean Kelly's <kelly@fsl.noaa.gov> patch for tools/munge
10400 Used Peter Lackner's <plo@came.sbg.ac.at> patches for DU 4.0.
10402 Installed Ken Laprade's <klaprade@harris.com> patches for
10403 amanda to handle both EFS and XFs file systems on the same
10404 client. The only change from his patch is to #ifdef XFSDUMP
10405 the kill(-dumppid, SIGTERM) so the SIGTERM signal will be used
10406 on other systems, while SIGQUIT will be used on Irix systems.
10408 Installed Marion Hakanson's <hakanson@cse.ogi.edu> patches for
10409 the main config file to include subsidiary config files.
10411 On Solaris, sometimes the hdr->handle variable in amandad.c
10412 would be null, causing core dumps when it was used in a sprintf
10413 statement. The code now checks if hdr->handle is null and
10414 prints a "" if it is null. This was only done in amandad.c.
10416 Fix a problem where new disks would be added but not backed up
10417 concurrently. Changes to diskfile.c. I forgot who put this
10418 patch up on the mailing list.
10420 I made some changes to options.h to allow the user to more
10421 easily install the programs under a different user. This meant
10422 defining two new #defines, MK_AMANDA_USER and
10423 MK_QUOTED_AMANDA_USER which are used in the appropriate
10426 Used Marion Hakanson's <hakanson@cse.ogi.edu> patch for taper.c
10427 for multiple tapes.
10429 Included Joachim Loehr's <Joachim.Loeh@stadt-mh.de>
10430 script to automatically figure out which kind of HP-UX file
10431 system is being dumped. Look in tools for the script and a