1 2005-10-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3 * Amanda 2.4.5p1 released.
4 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.5p1).
5 * NEWS: Update for 2.4.5p1.
7 2005-10-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
9 * client-src/client_util.c, server-src/amcheck.c,
10 server-src/reporter.c: Add missing type for arguments.
12 2005-10-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
14 * server-src/taper.c (tape_writer_side): detach_buffers on normal exit.
16 2005-10-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
18 * server-src/taper.c: Change message: on new tape due to
20 2005-10-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
21 Patch by John R. Franks
23 * common-src/amflock.c (main): Don't call safe_fd, it's not needed
25 * configure.in: '#include <sys/types.h>' in the check
26 'for Linux like scsi support (sg)'
28 2005-10-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
30 * common-src/stream.c: len is a socklen_t.
31 * server-src/amindexd.c: Add socklen as a socklen_t.
32 * restore-src/amidxtaped.c: Add socklen as a socklen_t.
33 * tape-src/tapetype.c: Change printf format.
34 * server-src/amlabel.c: Add a variable isa_zftape. init fd to -1.
36 2005-10-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
38 * server-src/reporter.c: Don't trunk hostname/diskname in
39 'FAILURE AND STRANGE DUMP SUMMARY' section.
41 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
43 * server-src/conffile.c, server-src/diskfile.c, server-src/infofile.c,
44 client-src/getfsent.c, common-src/statfs.c, common-src/token.c
45 (main): Remove fd declaration.
47 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
49 * client-src/runtar.c: 'e' and 'bdf' are only needed if GNUTAR.
51 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
53 * common-src/sl.c (insert_sort_sl). Typo.
55 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
57 * config/config.guess: Update from automake 1.9.5.
58 * config/config.sub: Update from automake 1.9.5.
59 * config/depcomp: Update from automake 1.9.5.
60 * config/install-sh: Update from automake 1.9.5.
61 * config/missing: Update from automake 1.9.5.
62 * config/mkinstalldirs: Update from automake 1.9.5.
63 * config/ltmain.sh: Update from libtool-1.5.16.
64 * config/libtool.m4i: Update from libtool-1.5.16.
66 2005-09-22 John R. Jackson <jrj@purdue.edu>
68 * configure.in: If --without-server is specified, either on the
69 command line or via config.site, make sure --without-restore
70 is also in effect. Avoids compilation errors if mismatched.
71 * example/config.site: Document above.
73 2005-09-21 John R. Jackson <jrj@purdue.edu>
75 * server-src/getconf.c: Allow CLIENT_LOGIN to be retrieved via
76 "amgetconf build.CLIENT_LOGIN".
78 2005-09-21 John R. Jackson <jrj@purdue.edu>
80 * server-src/amlabel.c: 'int fd' is only needed if HAVE_LINUX_ZFTAPE_H
83 2005-09-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
85 * server-src/amlabel.c: 'int fd' is needed.
87 2005-09-20 John R. Jackson <jrj@purdue.edu>
89 * server-src/reporter.c: Fix minor typo noticed by Scott R. Burns
90 <Scott.Burns@Netcontech.Com>.
92 2005-09-20 John R. Jackson <jrj@purdue.edu>
94 * common-src/file.c: Create safe_fd() to do common file descriptor
95 safety operations at the start of every program. In addition
96 to closing everything from three on up that used to be done
97 with explicit code, make sure stdin, stdout and stderr are
98 open per a potential (but unlikely) security report from Ben
99 Schwarz <bschwarz@EECS.berkeley.EDU>.
100 * common-src/amanda.h: Ditto.
101 * client-src/amandad.c: Ditto.
102 * client-src/calcsize.c: Ditto.
103 * client-src/getfsent.c: Ditto.
104 * client-src/killpgrp.c: Ditto.
105 * client-src/rundump.c: Ditto.
106 * client-src/runtar.c: Ditto.
107 * client-src/selfcheck.c: Ditto.
108 * client-src/sendbackup.c: Ditto.
109 * client-src/sendsize.c: Ditto.
110 * client-src/versionsuffix.c: Ditto.
111 * common-src/amflock.c: Ditto.
112 * common-src/genversion.c: Ditto.
113 * common-src/statfs.c: Ditto.
114 * common-src/token.c: Ditto.
115 * recover-src/amrecover.c: Ditto.
116 * restore-src/amidxtaped.c: Ditto.
117 * restore-src/amrestore.c: Ditto.
118 * server-src/amadmin.c: Ditto.
119 * server-src/amcheck.c: Ditto.
120 * server-src/amcleanupdisk.c: Ditto.
121 * server-src/amflush.c: Ditto.
122 * server-src/amindexd.c: Ditto.
123 * server-src/amlabel.c: Ditto.
124 * server-src/amlogroll.c: Ditto.
125 * server-src/amtape.c: Ditto.
126 * server-src/amtrmidx.c: Ditto.
127 * server-src/amtrmlog.c: Ditto.
128 * server-src/conffile.c: Ditto.
129 * server-src/diskfile.c: Ditto.
130 * server-src/driver.c: Ditto.
131 * server-src/dumper.c: Ditto.
132 * server-src/getconf.c: Ditto.
133 * server-src/infofile.c: Ditto.
134 * server-src/planner.c: Ditto.
135 * server-src/reporter.c: Ditto.
136 * server-src/taper.c: Ditto.
138 2005-09-20 John R. Jackson <jrj@purdue.edu>
140 * client-src/calcsize.c: Fix format string.
141 * server-src/diskfile.c: Fix compiler warnings.
142 * server-src/planner.c: Fix compiler warnings.
144 2005-09-20 John R. Jackson <jrj@purdue.edu>
146 * common-src/amanda.h: Add dbreopen() so debug file can be closed
147 and then reopened if needed.
148 * common-src/debug.c: Ditto.
149 * client-src/runtar.c: Close the debug file (fd 10) around the
150 exec of GNU tar. Newer versions complain about stray file
152 * server-src/getconf.c: Use dbreopen() to create the debug file.
153 Do not try to open config file unless needed (allows clients to
154 use build.XXX/dbopen.XXX/dbclose.XXX).
156 2005-09-20 John R. Jackson <jrj@purdue.edu>
158 * client-src/sendbackup-dump.c: Ignore a new message from Solaris
161 2005-09-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
163 * server-src/amverify.sh.in: Don't check for EOI, it's buggy.
165 2005-09-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
167 * server-src/driverio.c: Don't save history with size < 0.
169 2005-09-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
170 Patch by Geert Uytterhoeven <geert@linux-m68k.org>
172 * server-src/planner.c: Don't use history with size < 0.
174 2005-09-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
175 Patch Paul Bijnens <paul.bijnens@xplanation.com>
177 * server-src/planner.c(delay_dumps): Delay incremental dump also
180 2005-09-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
181 Patch by Orion Poplawski <orion@cora.nwra.com>
183 * server-src/amoverview.pl.in: Add options -last, -num0 and -togo0.
184 * man/amoverview.8: Document -last, -num0 and -togo0.
186 2005-09-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
187 Patch by Orion Poplawski <orion@cora.nwra.com>
189 * server-src/driver.c: Make tape_length and tape_left unsigned long.
191 2005-07-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
192 Bug found by John E Hein <jhein@timing.com>.
194 * server-src/amadmin.c: Fix of by one with NB_HISTORY.
195 * server-src/infofile.c: Fix of by one with NB_HISTORY.
197 2005-06-23 Stefan G. Weichinger <monitor@oops.co.at>
199 * client-src/sendbackup-gnutar.c: Added RE for new Samba-releases.
201 2005-06-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
202 Patch by Jay Fenlason <fenlason@redhat.com>
204 * client-src/sendsize.c: Fix dbprintf call.
206 2005-06-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
208 * server-src/amverifyrun.sh.in: Remove buggy space.
210 2005-05-28 Stefan G. Weichinger <monitor@oops.co.at>
212 * example/amanda.conf.in: edited the default-value for the
213 holdingdisk-usage to "use -100 Mb".
214 The old value "use 290 Mb" didn't make much
217 2005-05-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
219 * server-src/amadmin.c: Add [--days <num>] argument to tape subcommand.
221 2005-05-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
223 * man/Makefile.am (COMMON_MAN_PAGES, EXTRA_DIST): Add amadmin.8.
224 * man/*: Update from latest xml-doc.
225 * docs/Makefile.am (pkgdata_DATA): Add Appendix.txt, amanda.conf.5.txt
226 and howto-wrapper.txt.
227 * docs/* Update from latest xml-docs.
229 2005-05-05 Stefan G. Weichinger <monitor@oops.co.at>
231 * example/amanda.conf.in: added description for parameter estimate.
233 2005-04-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
235 * Amanda 2.4.5 released.
236 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.5).
237 * NEWS: Update for 2.4.5.
239 2005-04-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
241 * docs/*: Update from latest xml-docs.
243 2005-04-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
245 * docs/*: Update from latest xml-docs.
247 2005-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
249 * changer-src/chg-zd-mtx.sh.in: Improve handling of
250 "Unknown Storage Element Loaded".
252 2005-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
254 * man/amcheckdb.8: Update from latest xml-docs.
256 2005-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
258 * docs/*: New documentation from xml-docs.
259 * docs/Makefile.am (pkgdata_DATA): Update for new files.
261 2005-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
262 - https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=144052
264 * server-src/amverifyrun.sh.in: Filter changer log file.
266 2005-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
268 * server-src/amcheck.c: Improve messages.
270 2005-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
272 * client-src/sendsize.c (generic_calc_estimates): Use amname instead
273 of dirname in message.
275 2005-04-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
277 * man/amanda.8, man/amdd.8, man/ammt.8: Updated.
279 2005-03-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
281 * man/Makefile.am (EXTRA_DIST): Add amadmin.8 amanda.8 amcheck.8
282 amcheckdb.8 amcleanup.8 amdump.8 amflush.8 amgetconf.8 amlabel.8
283 amoverview.8 amreport.8 amrecover.8 amrmtape.8 amstatus.8
284 amtapetype.8 amtoc.8 amverify.8 amverifyrun.8
286 2005-03-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
288 * man/*: use man pages form xml-docs.
289 * configure.in (AC_CONFIG_FILES): Remove all man pages.
291 2005-03-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
293 * server-src/dumper.c (update_dataptr): Open a new chunk file even if
294 size==0, the test must be (dataout < datain), which means we have
297 2005-03-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
299 * NEWS: new amoverview -skipmissed option.
301 2005-03-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
303 * server-src/conffile.h: Rename getcont_unit_divisor to
304 getconf_unit_divisor.
305 * server-src/amadmin.c: Use getconf_unit_divisor.
306 * server-src/amcheck.c: Use getconf_unit_divisor.
307 * server-src/conffile.c: Use getconf_unit_divisor.
308 * server-src/conffile.c (unit_divisor): Init to 1.
309 * server-src/reporter.c: Use getconf_unit_divisor. The mb macro always
310 divide by 1024. Add the du macro. Use mb or du where appropriate.
312 2005-03-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
314 * server-src/infofile.h (history_t): Add secs field.
315 * server-src/infofile.c (read_txinfofile): Parse info file with secs
317 * server-src/infofile.c (write_txinfofile): Write secs in history.
318 * server-src/driverio.c (update_info_dumper): Update secs in history.
320 2005-03-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
322 * server-src/planner.c: Improve server estimate.
323 * server-src/planner.c: Write server estimate like others estimate.
325 2005-02-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
327 * server-src/amstatus.pl.in: last_level is negative, on new disk.
329 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
331 * server-src/amstatus.pl.in: Use '-?' to match negative values
334 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
335 Patch by Orion Poplawski <orion@cora.nwra.com>
337 * server-src/amoverview.pl.in: Print the total number of level 0
338 dumps for each disk and the number of runs until the last level 0
339 dump will be overwritten.
341 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
342 Patch by Phil Homewood <pdh@snapgear.com>
344 * server-src/amoverview.pl.in: Add -skipmissed option.
346 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
348 * server-src/driver.c: Print the chunksize to the log.
350 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
352 * client-src/calcsize.c: Print estimate to STDERR.
353 * client-src/sendsize.c (generic_calc_estimates): Read calcsize result,
354 and send it to amandad. Write debuging message.
356 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
357 Patch by Franz G. Fischer
359 * server-src/conffile.c: Adds a value type LONG and a val_t.l long
360 union member and changes get_number() to return long and
361 get_simple() to fill val_t.l if called for a long value. The
362 get_simple() calls have been changed to LONG for typetype_t.blocksize
363 typetype_t.length, typetype_t.filemark, holdingdisk_t.disksize and
364 holdingdisk_t.chunksize.
366 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
368 * server-src/amdump.sh.in: Redirect in append mode.
369 * server-src/driver.c: Set stdout and stderr to not buffered.
370 * server-src/planner.c: Set stderr to not buffered.
371 Print 'setup_estimate:' on one line.
372 * server-src/amstatus.pl.in: Parse new 'setup_estimate:' line.
374 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
376 * client-src/calcsize.c: Improve estimate for sparse file and count
379 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
381 * server-src/planner.c: Improve message if no incremental estimate.
383 2005-01-23 Stefan G. Weichinger <monitor@oops.co.at>
384 Patch by Jon LaBadie <jon@jgcomp.com>
386 * changer-src/chg-multi.sh.in: New header to explain the meaning of
387 the "multi" in "chg-multi".
389 2004-12-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
390 Patch by Christopher Pascoe <c.pascoe@itee.uq.edu.au>
392 * common-src/match.c (match_glob, match_tar): Don't amfree(regex)
393 before calling error().
395 2004-11-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
397 * server-src/driver.c (startaflush): Use ALGO_SMALLEST if nothing fit.
399 2004-11-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
401 * server-src/driver.c: Typo.
403 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
405 * restore-src/amrestore.c: Should now work correctly with empty file.
406 * server-src/amverify.sh.in: Parse "End-of-Information detected."
407 message from amrestore.
409 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
411 * server-src/driver.c: tape_left should not become negative.
413 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
414 Patch by Orion Poplawski <orion@cora.nwra.com>
416 * server-src/diskfile.c: Parse negative spindle (-1).
418 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
420 * server-src/amadmin.c: Balance subcommand use displayunit.
421 * server-src/amcheck.c: Small cleanup.
423 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
425 * restore-src/amrestore.c: Undo patch from 2004-11-11, it break
428 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
430 * server-src/amstatus.pl.in: Remove trace.
432 2004-11-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
434 * NEWS: new displayunit global option to select the unit use to
435 display number: k=kilo, m=mega, g=giga, t=tera
436 * server-src/conffile.c: Parse displayunit,
437 new fonction getcont_unit_divisor().
438 * server-src/conffile.h: Prototype of getcont_unit_divisor().
439 * server-src/amcheck.c: Use displayunit to display holding disk size.
440 * server-src/amstatus.pl.in: Use displayunit to display dump size.
441 * server-src/reporter.c: use displayunit to display dump size.
442 * man/amanda.8.in: Document displayunit.
444 2004-11-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
446 * server-src/reporter.c: Change 'Daily' for 'Incr.'.
448 2004-11-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
450 * server-src/amstatus.pl.in Fix for level -1.
452 2004-11-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
453 Patch by Daniel Widyono <widyono@seas.upenn.edu>
455 * changer-src/chg-zd-mtx.sh.in: Fix for library with barcode.
458 2004-11-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
460 * server-src/planner.c: Print the time in the FINISH line.
461 * server-src/reporter.c: The estimate time is based on the planner
464 2004-11-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
466 * restore-src/amrestore.c: Read empty file.
468 2004-11-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
470 * server-src/driver.c (selectset): Make only one declaration in main.
472 2004-11-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
474 * tape-src/tapetype.c: Use new tape.
476 2004-11-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
478 * server-src/amstatus.pl.in: Display partial estimate.
480 2004-11-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
481 Patch by Orion Poplawski <orion@cora.nwra.com>
483 * server-src/amstatus.pl.in: a FLUSH command can't be in an estimate
485 * server-src/driver.c: Start autoflush while waiting for estimate.
486 * server-src/planner.c: Write FLUSH line before estimate.
488 2004-11-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
490 * server-src/diskfile.c (read_diskline): A spindle must be numerical.
492 2004-10-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
494 * Amanda 2.4.5b1 released.
496 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
498 * server-src/holding.c (rename_tmp_holding): Always rename files.
500 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
502 * server-src/driver.c: Print message when too many retry.
503 * server-src/amstatus.pl.in: Detect a failed dump after too many retry.
504 * amplot/amplot.awk: Parse these message.
506 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
508 * server-src/driver.c (dump_to_tape): Don't retry a dump indefinitely
509 if dumper returns DONE and taper returns TRYAGAIN.
511 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
513 * server-src/driver.c (dump_to_tape): Don't retry a dump indefinitely
514 if dumper returns TRYAGAIN and taper returns DONE.
516 2004-10-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
518 * server-src/amflush.c: Don't start a driver if nothing to flush.
520 2004-10-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
521 Patch by Eric Siegerman <erics@telepres.com>
523 * example/3hole.ps: Fix for multiple tape.
525 2004-10-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
527 * server-src/amverify.sh.in: Terminate if no tape online.
529 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
531 * server-src/amadmin.c (main): Call check_dumpuser() as soon as posible.
533 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
535 * server-src/conffile.c (getconf_byname): Special case for typ == BOOL.
537 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
539 * server-src/planner.c (promote_hills): Use dumpcycle instead of
541 * example/amanda.conf.in: Remove warning for tapecyle set to inf.
543 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
545 * server-src/amadmin.c (balance): Don't core dump if DUMPCYLE is too
548 2004-09-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
550 * tape-src/tapetype.c: New -o option, doesn't overwrite amanda
552 * man/amtapetype.8.in: Document new -o option.
554 2004-09-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
556 * server-src/amstatus.pl.in: Works with failed dump to tape.
558 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
560 * client-src/sendbackup-gnutar.c (end_backup): Write warning message
562 * server-src/dumper.c (process_dumpline): Parse warning message.
563 * server-src/reporter.c (handle_strange): Print warning message in
566 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
568 * server-src/driverio.c (free_serial): Set stable[s].dp to NULL.
569 * server-src/driverio.c (disk2serial): Check that stable[s].dp == NULL.
571 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
572 Patch by Joe Rhett <jrhett@isite.net>
574 * common-src/alloc.c (safe_env): Keep SYSTEMROOT if __CYGWIN__.
576 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
577 Patch by Orion Poplawski <orion@cora.nwra.com>
579 * server-src/conffile.c (copy_dumptype): Copy maxpromoteday.
581 2004-08-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
583 * client-src/selfcheck.c (check_disk): More check for CALCSIZE.
585 2004-08-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
587 * common-src/amfeatures.h (fe_selfcheck_calcsize): New feature.
588 * common-src/amfeatures.c (am_init_feature_set): Set
589 fe_selfcheck_calcsize.
590 * client-src/selfcheck.c: Check if calcsize binary is available if
592 * server-src/amcheck.c (start_host): Call selfcheck with CALCSIZE
593 if it support fe_selfcheck_calcsize.
595 2004-08-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
597 * man/amanda.8.in: Document 'estimate' dumptype option.
599 2004-08-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
601 * client-src/amqde.c: Change snprintf for ap_snprintf.
603 2004-08-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
605 * server-src/amrmtape.sh.in: Understand history info.
607 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
609 * server-src/amstatus.pl.in: Parse CONTINUE and RQ-MORE-DISK line,
610 print if a dump is waiting for holding disk space (roomq).
612 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
614 * server-src/driverio.c (dumper_cmd): Print serial number for CONTINUE
616 * server-src/driverio.c (disk2serial): Try to find a 'dp' before
617 allocating a new serial.
618 * server-src/dumper.c (update_dataptr): Read serial number for CONTINUE
621 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
623 * server-src/planner.c (getsize): Do SERVER estimate, call sendsize with
626 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
628 * client-src/calcsize.c: Support exclude and include like gnutar,
629 change in program argument.
630 * client-src/sendsize.c: Execute calcsize as requested.
631 * common-src/amfeatures.h (fe_calcsize_estimate): New feature.
632 * common-src/amfeatures.c (am_init_feature_set): set
633 fe_calcsize_estimate.
634 * server-src/amcheck.c (start_host): Check if client support CALCSIZE
637 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
639 * server-src/conffile.h (ES_CLIENT, ES_SERVER, ES_CALCSIZE): New define
641 * server-src/conffile.h (dumptype_t): Add 'estimate' and 's_estimate'
642 * server-src/conffile.c (get_estimate): New function to parse estimate
644 * server-src/diskfile.c (read_diskline): Copy 'estimate'.
645 * server-src/diskfile.h (disk_t): Add 'estimate'.
646 * server-src/amadmin.c (disklist_one): Print estimate type.
648 2004-08-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
650 * common-src/match.c (match_tar, tar_to_regex): New fonction similar
651 to the exclude option of tar.
652 * common-src/amanda.h (match_tar, tar_to_regex): Prototype.
654 2004-08-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
656 * server-src/infofile.h (history_t): new struct.
657 * server-src/infofile.h (info_t): Add a history_t.
658 * server-src/infofile.c (read_txinfofile): Parse history data.
659 * server-src/infofile.c (write_txinfofile): Print history data.
660 * server-src/amadmin.c (export_one): export history data.
661 * server-src/amadmin.c (import_one): import history data.
662 * server-src/driverio.c (update_info_dumper): update history data.
664 2004-05-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
665 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
667 * server-src/planner.c: Log L_DISK for autoflush disk.
669 2004-05-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
671 * server-src/planner.c (handle_result): Add dp to pestq at the
674 2004-04-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
676 * common-src/amanda.h: #include "amanda-int.h" only if !CONFIGURE_TEST.
678 2004-04-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
680 * config/acinclude.m4i (AX_CREATE_STDINT_H) : New macro.
681 * configure.in: Use AX_CREATE_STDINT_H(common-src/amanda-int.h).
682 * common-src/amanda.h: include "common-src/amanda-int.h".
683 * changer-src/scsi-cam.c: Change u_int32_t for uint32_t.
684 * client-src/amandad-krb4.c: Change u_int32_t for uint32_t.
685 * common-src/krb4-security.c: Change u_int32_t for uint32_t.
686 * common-src/krb4-security.h: Change u_int32_t for uint32_t.
687 * common-src/protocol.h: Change u_int32_t for uint32_t.
688 * common-src/security.c: Change u_int32_t for uint32_t.
690 2004-04-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
692 * configure.in: Fix for automake 1.8.4.
693 * config/acinclude.m4i: Fix for automake 1.8.4.
695 2004-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
697 * configure.in: Result of autoupdate.
699 2004-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
701 * config/config.guess: Update from automake 1.8.
702 * config/config.sub: Update from automake 1.8.
703 * config/depcomp: Update from automake 1.8.
704 * config/install-sh: Update from automake 1.8.
705 * config/missing: Update from automake 1.8.
706 * config/mkinstalldirs: Update from automake 1.8.
707 * config/ltmain.sh: Update from libtool-1.5.6.
708 * config/libtool.m4i: Update from libtool-1.5.6.
710 2004-04-26 Marc Mengel <mengel@fnal.gov>
712 * tape-src/output-rait.c: Verify reads correctly.
714 2004-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
716 * server-src/driver.c (continue_dumps): Fix deadlock if holding disk
717 fill up when in degraded mode.
719 2004-04-23 Eric Siegerman <eric_97@pobox.com>
721 Bug fix: amflush would run, and consume a tape, even if there
722 were no Amanda directories waiting to be flushed:
723 * common-src/sl.c (is_empty_sl): New function to test
724 whether a list is empty.
725 * common-src/sl.h (is_empty_sl): Prototype.
726 * server-src/amflush.sh (main): Use is_empty_sl(),
727 rather than ==NULL, to test emptiness of datestamp_list.
729 2004-04-23 Jean-Louis Martineau <martineau@iro.umontreal.ca>
731 * server-src/planner.c (setup_estimate): Typo.
733 2004-04-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
735 Allow bumpsize, bumppercent, bumpdays and bumpmult to be in a dumptype.
736 * server-src/conffile.c: Parse.
737 * server-src/conffile.h: Define.
738 * server-src/amadmin.c (disklist_one): Use.
739 * server-src/diskfile.c (read_diskline): Initialize.
740 * server-src/diskfile.h: Define.
741 * server-src/planner.c: Use.
742 * man/amanda.8.in: Document.
743 * NEWS: bumpsize, bumppercent, bumpdays and bumpmult can be in a
746 2004-04-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
747 Fix by Paul Bijnens <paul.bijnens@xplanation.com>
749 * server-src/planner.c (setup_estimate): Only ask for level 0 estimate
750 if strategy is noinc.
752 2004-04-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
753 Documentation from Paul Bijnens <paul.bijnens@xplanation.com>
755 * man/amoverview.8.in: Document results.
757 2004-04-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
758 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
760 * server-src/amoverview.pl.in: Print last two characters.
762 2004-04-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
764 * changer-src/chg-disk.sh.in: Fix for sh compatibility.
766 2004-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
767 Fix by John Koyle <jkoyle@rfpdepot.com>
769 * common-src/protocol.c: Fix EAGAIN on Linux.
771 2004-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
773 New bumppercent global option.
774 * example/amanda.conf.in: Document it.
775 * man/amanda.8.in: Document it.
776 * server-src/amadmin.c (bumpsize): Write it.
777 * server-src/conffile.c: Parse it.
778 * server-src/conffile.h: Define It.
779 * server-src/planner.c (bump_thresh): New size_level_0 parameter,
780 use the new bumppercent option.
783 2004-04-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
785 * server-src/amadmin.c: Rename host_t to amhost_t.
786 * server-src/amcheck.c: Ditto.
787 * server-src/amindexd.c: Ditto.
788 * server-src/diskfile.c: Ditto.
789 * server-src/diskfile.h: Ditto.
790 * server-src/driver.c: Ditto.
791 * server-src/planner.c: Ditto.
793 2004-03-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
795 * amplot/amplot.awk: Parse "driver: tape size" line.
797 2004-03-22 Stefan G. Weichinger <monitor@oops.co.at>
799 * server-src/amcheck.c (start_host): Added warning for hostname
801 * docs/TOP-TEN-QUESTIONS: added note about localhost-warning.
803 2004-03-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
805 * docs/Makefile.am (pkgdata_DATA): Add TOP-TEN-QUESTIONS.
807 2004-03-18 Stefan G. Weichinger <monitor@oops.co.at>
809 * docs/TOP-TEN-QUESTIONS: New file.
811 2004-03-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
813 * server-src/amcheck.c: Do labelstr check in correct order.
815 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
816 Reported by Allen Liu <allen@bellglobal.com>
818 * server-src/amverifyrun.sh.in: Replace '-e' test by '-f'.
820 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
822 * server-src/amcheck.c: Verify the tape is listed in the tapelist file.
823 * server-src/taper.c: Ditto
824 * NEWS: * amanda will not use a tape if it's label is not in the
825 tapelist file (eg. after an amrmtape).
827 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
829 * server-src/driver.c (dump_schedule): Print complete name.
831 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
833 The estimate send a PREP (partial REP) packet after each estimate.
834 * client-src/amandad.c: Send PREP packet if sendsize.
835 * common-src/amfeatures.c (am_init_feature_set): Add
837 * common-src/amfeatures.h (am_feature_e): Add fe_partial_estimate.
838 * common-src/protocol.c: Handle PREP packet.
839 * common-src/protocol.h (pktype_t): Add P_PREP.
840 * server-src/amstatus.pl.in: Parse "got partial result" line.
841 * server-src/planner.c: Handle PREP packet.
843 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
844 Reported by Jason Brooks <jason.brooks@windriver.com>
846 * server-src/reporter.c: Remove duplicate setting of cd to
849 2004-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
850 Patch by Philippe Charnier <charnier@xp11.frmug.org>
852 * server-src/amtrmidx.c: Add '\n'.
854 2004-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
856 * recover-src/set_commands.c (cd_glob): Fix memory leak.
858 2004-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
860 * recover-src/set_commands.c (cd_dir, set_directory): Fix memory leak.
861 * recover-src/uscan.l: Fix double amfree.
863 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
865 * server-src/driver.c: Build holding disk name with timestamp.
866 * server-src/holding.c (is_datestr): Check also for timestamp.
867 * server-src/planner.c: Flush today's dump with autoflush.
868 * server-src/find.c: Find holding disk with timestamp.
869 * server-src/find.h (find_result_t): Add timestamp field.
870 * NEWS: holding disk disk use timestamped directory.
871 * NEWS: autoflush flush today's dump.
873 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
875 * changer-src/chg-zd-mtx.sh.in: Works if all slot and tape are full.
877 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
879 * server-src/amverifyrun.sh.in: Do not execute amverify if no tape
882 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
884 * server-src/amdump.sh.in: Do not redirect to /dev/null.
886 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
888 * config/acinclude.m4i: Define CF_WAIT_INT.
889 * configure.in: Call CF_WAIT_INT.
890 * common-src/amanda.h: Try to make waitpid doesn't warn.
892 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
894 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.5b1).
896 2004-01-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
898 * Makefile.am (EXTRA_DIST): Add contrib/mkamandisk.
900 2004-01-29 Christoph Pospiech <pospiech@de.ibm.com>
902 * configure.in (AC_CONFIG_FILES): Add changer-src/chg-iomega.pl.
903 * changer-src/Makefile.am (libexec_SCRIPTS) Add chg-iomega.
904 * changer-src/chg-iomega.pl.in: New changer script.
905 * docs/TAPE.CHANGERS: Document chg-iomega.
906 * contrib/mkamandisk: Script to format iomega disk.
907 * NEWS: New chg-iomega changer script.
909 2004-01-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
911 * restore-src/amidxtaped.c (scan_init): Remove the log file if it exit.
913 2004-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
915 * configure.in: Set GNUTAR_LISTED_INCREMENTAL_DIRX.
916 * example/amanda.conf.in: Update record documentation.
917 * man/amanda.8.in: Update record documentation.
919 2004-01-13 Greg Troxel <gdt@t...>
921 * common-src/krb4-security.c (errstr;): Make krb4 work on 64-bit
922 platforms. Essentially, change 'unsigned long' to u_int32_t for
923 on-the-wire representation of checksums, declaring that the wire
924 protocol is defined by existing use of unsigned long on 32-bit
927 Modify the data/control handshake similarly, defining a
928 'net_timeval' that uses int32_t rather than long. Cleanup a latent
929 bug in handshake code that didn't cause trouble before when
930 everything was the same type.
932 This change preserves interoperability with the previous code
933 on 32 bit machines. (It is likely that 64/64 interoperability
934 was ok, but unlikely that it was important to anyone, given
935 the low population of amanda-krb users.)
937 2004-01-14 Stefan G. Weichinger <monitor@oops.co.at>
939 * docs/INSTALL: Add config for xinetd.
941 2004-01-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
943 * Amanda 2.4.4p2 released.
944 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.4p2).
947 2004-01-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
949 * server-src/planner.c (handle_result): Detect bad estimate (-1).
950 * server-src/planner.c (analyze_estimate): Don't schedule level
951 if the estimate is bad.
953 2003-12-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
955 * client-src/Makefile.am (EXTRA_DIST): Add amandad-krb4.c,
956 sendbackup-krb4.c and sendbackup-krb4.h.
957 * common-src/Makefile.am (EXTRA_DIST): Add krb4-security.c and
959 * server-src/Makefile.am (EXTRA_DIST): Add dumper-krb4.c.
960 * NEWS: Kerberos 4 support integrated and functional again.
962 2003-12-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
963 patch by Greg Troxel <gdt@ir.bbn.com>
964 and Beverly Schwartz <bschwart@bbn.com>
966 Original *krb4* files are taken form the amanda-krb repository.
968 Add kerberos 4 support.
969 * client-src/amandad-krb4.c: New file.
970 * client-src/amandad.c: Fix close of req_pipe[0]/rep_pipe[1].
971 * client-src/sendbackup-krb4.c: New file.
972 * client-src/sendbackup-krb4.h: New file.
973 * client-src/sendbackup.c: Use options->krb4_auth.
974 * common-src/amanda.h: Fix for initgroups.
975 * common-src/krb4-security.c: New file.
976 * common-src/krb4-security.h: New file.
977 * common-src/token.h: Use HAVE_SHQUOTE_DECL.
978 * configure.in: Enhance finding krb libs.
979 * server-src/diskfile.c: Fix.
980 * server-src/dumper-krb4.c: New file.
981 * server-src/getconf.c: Define HOSTNAME_INSTANCE.
983 2003-12-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
985 * docs/HOWTO-FILE-DRIVER: New file.
986 * docs/TAPE.CHANGERS: Explain chg-disk.
987 * docs/Makefile.am (pkgdata_DATA): add HOWTO-FILE-DRIVER.
989 2003-12-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
991 * docs/SYSTEM.NOTES: Add a note about sendsize coredump on AIX.
993 2003-11-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
994 Patch by Jean-Christian SIMONETTI <simonetti@echo.fr>
996 * changer-src/chg-disk.sh.in: New changer script.
997 * changer-src/Makefile.am (libexec_SCRIPTS): Add chg-disk.
998 * configure.in (AC_CONFIG_FILES): Add changer-src/chg-disk.sh.
999 * NEWS: new chag-disk changer script to use with the file: driver.
1001 2003-11-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1003 * tape-src/tapetype.c: extern int optind.
1004 * tape-src/tapeio.c: extern int optind.
1006 2003-11-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1007 Patch by C.Scheeder <christoph.scheeder@scheeder.de
1009 * changer-src/sense.c (SenseType): Add "DAT AutoChanger" and "C1537A".
1011 2003-11-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1013 * server-src/driver.c: Print the tape size.
1014 * server-src/amstatus.pl.in: print % of tape use.
1016 2003-11-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1018 * server-src/conffile.c (copy_dumptype): Copy in/exclude only if seen.
1020 2003-11-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1022 * server-src/reporter.c (output_tapeinfo): Fix printing of new tape.
1024 2003-11-25 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1026 * server-src/amcheck.c (taperscan_slot): Deal with label not in
1028 * server-src/amtape.c (taperscan_slot): Ditto.
1029 * server-src/taper.c (taperscan_slot): Ditto.
1031 2003-11-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1033 * server-src/driver.c (handle_taper_result): Empty tapeq in TAPE_ERROR
1036 2003-11-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1038 * server-src/driver.c (handle_taper_result): Always call
1039 continue_dumps() in TRYAGAIN case.
1041 2003-11-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1043 * changer-src/chg-chio.pl.in (getTapeStatus): Set $drives[$num] to 0
1044 if no tape in drive.
1046 2003-11-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1048 * docs/Makefile.am (pkgdata_DATA): Add HOWTO-AFS.
1050 2003-11-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1051 Patch by Mitch Collinsworth <mitch@ccmr.cornell.edu>
1053 * client-src/selfcheck.c: Skip accessibility check for AFS entries.
1054 * docs/HOWTO-AFS: New file.
1056 2003-11-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1058 * server-src/amadmin.c (tape): Display the next new tapes.
1059 * server-src/reporter.c (output_tapeinfo): Ditto.
1061 2003-10-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1063 * docs/Makefile.am (pkgdata_DATA): Add chg-scsi.notes.
1065 2003-10-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1067 * server-src/amcheck.c (taperscan_slot): Set found=3 if new tape.
1068 * server-src/amcheck.c (taper_scan): Handle found==3.
1069 * server-src/amtape.c (taperscan_slot): Set found=3 if new tape.
1070 * server-src/amtape.c (taper_scan): Handle found==3.
1071 * server-src/taper.c (taperscan_slot): Set found=3 if new tape.
1072 * server-src/taper.c (taper_scan): Handle found==3.
1074 2003-10-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1076 * server-src/amcheck.c: Use stralloc(optarg).
1077 * tape-src/ammt.c: Use stralloc(optarg).
1078 * tape-src/tapetype.c: Use stralloc(optarg).
1080 2003-10-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1081 Patch by Jay Fenlason <fenlason@redhat.com>
1083 * server-src/dumper.c: Don't set SIGCHLD to SIG_IGN.
1085 2003-10-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1086 Patch by Andrew Rucker Jones <arjones@simultan.dyndns.org>
1088 * client-src/sendbackup-gnutar.c (AM_SIZE_RE): Fix regex for samba3.
1090 2003-10-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1092 * server-src/amadmin.c (find): Call find_dump to allow dynamic disklist.
1093 * server-src/amindexd.c: Call find_dump to allow dynamic disklist.
1094 * server-src/amtrmidx.c: Call find_dump to allow dynamic disklist.
1095 * server-src/diskfile.c (add_disk): Set device and todo.
1096 * server-src/find.c: Build disklist dynamicaly from log files.
1097 * server-src/find.h (find_dump): New prototype.
1098 * NEWS: 'amadmin find' list disk removed from the disklist.
1099 * NEWS: amrecover can recover a disk removed from the disklist file.
1101 2003-10-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1103 * server-src/amlogroll.c: set_pname("amlogroll").
1105 2003-10-24 Todd M. Kover <kovert@omniscient.com>
1107 * add amqde for "quick and dirty estimates" under gnutar (program
1108 that will traverse the filesystem rather than invoke gnutar).
1109 controlled via configure option --with-qde. This really wants to
1110 be configured in the server.
1112 2003-10-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1114 * server-src/amverify.sh.in: Fix usage message.
1115 * common-src/fileheader.c (print_header): fprintf to outf.
1116 * server-src/tapefile.c (lookup_last_reusable_tape): Check for
1118 * server-src/amadmin.c (disklist_one): Don't print ':' on device line.
1120 2003-10-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1121 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
1123 * client-src/amandates.c (finish_amandates): Call error() if the
1125 * common-src/amflock.c (create_lock): Return -1 if the close of f fail.
1126 * common-src/amflock.c (read_lock): Don't set f to NULL if the close
1128 * server-src/tapefile.c (write_tapelist): Return 1 if the close of
1131 2003-10-14 John R. Jackson (jrj@purdue.edu)
1133 * docs/SYSTEM.NOTES: Add FreeBSD 5.1 note about setting the UDP packet
1134 size, compliments of Nicolas Ecarnot <nicolas.ecarnot@accim.com>.
1136 2003-10-14 John R. Jackson (jrj@purdue.edu)
1138 * client-src/sendsize.c: Handle case where PID's get re-used.
1140 2003-10-14 John R. Jackson (jrj@purdue.edu)
1142 * configure.in: Need to check for sys/gscdds.h on AIX to enable
1145 2003-10-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1147 * common-src/genversion.c (prundefvar): New macro to print an
1149 * common-src/genversion.c: Print undefined variable.
1150 * server-src/amcheck.c: Improve message for no LPRCMD defined.
1152 2003-07-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1154 * restore-src/amidxtaped.c: Don't clear re_label before checking
1157 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1158 Patch by Scott Mcdermott <smcdermott@questra.com>
1160 * changer-src/chg-zd-mtx.sh.in (initial_poll_delay): New config
1161 variable to add a pause after a tape loading.
1162 * News: New initial_poll_delay config in chg-zd-mtx.
1164 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1165 Fix by John E. Hein <jhein@timing.com>
1167 * changer-src/chg-manual.sh.in: Quote @EGREP@.
1168 * changer-src/chg-null.sh.in: Quote @EGREP@.
1170 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1172 * amplot/amplot.sh.in: Remove files before runnig amplot.awk.
1173 * amplot/amplot.awk: Parse 'flush line', fix tape_wait line.
1174 * server-src/driver.c (read_flush): Write a 'flush size' to the
1177 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1179 * changer-src/chg-chio.pl.in: Fix next/prev command.
1181 2003-07-06 Thomas Hepper <th@ant.han.de>
1182 * changer-src/chg-scsi.c: Added debug Information to see which sg
1184 * changer-src/scsi-linux.c: Added debug Information to see which sg
1186 Removed check if an data packet is larger than 4096 byte.
1188 2003-07-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1189 patch by Paul Bijnens <paul.bijnens@xplanation.com>
1191 * client-src/client_util.c (add_include): Count include with 2 /,
1192 Fix descriptor leak.
1194 2003-06-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1196 * Amanda 2.4.4p1 released.
1197 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.4p1).
1200 2003-06-25 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1202 * server-src/amstatus.pl.in: Fix print spacing for idle dumpers.
1204 2003-06-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1205 patch by Paul Bijnens <paul.bijnens@xplanation.com>
1207 * tape-src/tapetype.c: Avoid a numerical overflow for large tape
1210 2003-06-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1212 * server-src/amstatus.pl.in: Fix to failed tape.
1214 2003-06-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1216 * server-src/planner.c (delay_dumps): Delay not delay forced full
1219 2003-06-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1221 * changer-src/chg-zd-mtx.sh.in: Log the changer file used.
1223 2003-06-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1225 * server-src/holding.c: Skip lost+found directories on holding disks.
1227 2003-06-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1229 * server-src/amverify.sh.in: Do not advance to next tape.
1231 2003-06-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1232 patch by Eric Siegerman <eric_97@pobox.com>
1234 * server-src/planner.c: Make promote_hills() honour maxpromotedays.
1236 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1238 * changer-src/scsi-bsd.c: Use pDev[DeviceFD].fd instead of DeviceFD.
1239 * changer-src/scsi-hpux_new.c:Use pDev[DeviceFD].fd instead of DeviceFD.
1240 * changer-src/scsi-linux.c: Use pDev[ip].fd instead of DeviceFD.
1242 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1244 * server-src/amflush.c: Implement new -b and -s options.
1245 * man/amflush.8.in: Document it.
1247 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1249 * server-src/driver.c (dump_to_tape): Don't go in degraded mode if
1252 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1254 * tape-src/output-rait.c: Don't call waitpid if we didn't fork.
1256 2003-06-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1258 * server-src/amverify.sh.in: Use @MAXTAPEBLOCKSIZE@ instead of 32.
1260 2003-06-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1261 Bug reported by Sven Rudolph <rudsve@drewag.de>
1263 * server-src/holding.c (mkholdingdir): New function to create a holding
1265 * server-src/holding.h (mkholdingdir): Prototype.
1266 * server-src/driver.c: Use mkholdingdir;
1267 * server-src/dumper.c: Call mkholdingdir before opening a file for
1270 2003-06-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1271 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
1273 * server-src/amstatus.pl.in: Fix for missing amdump.1 or amflush.1.
1275 2003-06-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1276 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
1278 * server-src/amstatus.pl.in: If nothing is active, it now gives the
1279 status of the last run (amdump or amflush).
1280 * man/amstatus.8.in: Document it.
1282 2003-05-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1284 * tape-src/output-file.c (check_online): Write error if opendir failed.
1286 2003-05-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1287 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
1289 * server-src/amoverview.pl.in: Use 'amadmin <conf> disklist' instead
1290 of parsing the disklist file.
1292 2003-05-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1294 * server-src/tapefile.c (read_tapelist,parse_tapeline): Fix for
1297 2003-05-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1299 * example/amanda.conf.in: Add more amrecover_changer doc.
1300 * man/amanda.8.in: Add more amrecover_changer doc.
1301 * man/amrecover.8.in: Add more amrecover_changer doc.
1303 2003-05-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1305 * server-src/tapefile.c (read_tapelist): Ignore blank line.
1306 * server-src/tapefile.c (parse_tapeline): Newer status parameter, set
1307 it to '1' when reading blank line.
1309 2003-04-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1311 * configure.in (AC_CHECK_HEADERS): Remove linux/ftape-header-segment.h,
1312 linux/ftape-vendors.h and linux/ftape.h.
1314 2003-04-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1315 Patch by Darin Dugan <dddugan@iastate.edu>
1317 * server-src/amcheck.c: Change subject in email if no error.
1319 2003-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1321 * common-src/error.c (output_error_message): Always prepend program
1323 * server-src/dumper.c (process_dumpeof): 'missing size line' and
1324 'missing end line' should be failed, not strange.
1326 2003-04-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1328 * server-src/amstatus.pl.in: Fix for estimate disk.
1330 2003-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1332 * server-src/taper.c: Read holding file correctly if blocksize != 32k.
1334 2003-04-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1335 New file by Robert C Dege <RDege@northropgrumman.com>
1337 * configure.in: Find mcutil binary.
1338 * configure.in (AC_CONFIG_FILES): Add changer-src/chg-mcutil.sh and
1339 example/chg-mcutil.conf.
1340 * changer-src/Makefile (libexec_SCRIPTS): Add chg-mcutil.
1341 * changer-src/chg-mcutil.sh.in: New file.
1342 * example/Makefile (EXTRA_DIST): Add chg-mcutil.conf
1343 * example/chg-mcutil.conf.in: New file.
1345 2003-04-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1347 * man/amanda.8.in (blocksize): Document the --with-maxtapeblocksize
1350 2003-04-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1352 * server-src/amverifyrun.sh.in: Run the amverify command.
1354 2003-04-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1355 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
1357 * server-src/reporter.c: Get the filenumber correct.
1359 2003-04-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1360 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
1362 * server-src/reporter.c: Print a postscript label for each tape used.
1363 * NEWS: Print a postscript label for each tape used.
1365 2003-03-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1367 * configure.in (*-sco3.2v4*): It is not like *-sco3.2v5*,
1368 define DEV_PREFIX and RDEV_PREFIX.
1370 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1372 * configure.in: Typo.
1374 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1375 Patch by Gert Doering <gert@greenie.muc.de>
1377 * client-src/getfsent.c (get_fstab_nextentry): Compile on *-sco3.2v4*.
1379 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1381 * configure.in: Compile on *-sco3.2v4*
1383 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1385 * configure.in: Use '=' instead of '=='.
1387 2003-03-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1389 * recover-src/set_commands.c (set_tape): Recognize null:, rait:,
1390 file: and tape: as driver, not host name.
1392 2003-03-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1394 * server-src/amrmtape.sh.in: Print better output.
1396 2003-03-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1398 * changer-src/Makefile.am (libexec_SCRIPTS): Missing \.
1400 2003-03-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1402 * NEWS: amrecover_changer works with chg-multi.
1404 2003-03-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1406 * client-src/client_util.c (add_include): If include contain 2 '/' then
1407 use at asis, don't try to match it.
1409 2003-03-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1411 * file tape-src/output-rait.c (rait_open): Call tapefd_set_master_fd();
1412 * file tape-src/tapeio.c (struct tape_info): Add master_fd field.
1413 * file tape-src/tapeio.c (tape_info_init): Set master_fd to -1;
1414 * file tape-src/tapeio.c (tapefd_getinfo_host, tapefd_getinfo_disk,
1415 tapefd_getinfo_level): Return info of master_fd.
1416 * file tape-src/tapeio.c (tapefd_set_master_fd): New function to set
1418 * file tape-src/tapeio.h (tapefd_set_master_fd): Prototype.
1419 * NEWS: rait: works with file:
1421 2003-03-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1423 * tape-src/output-file.c (file_tapefd_can_fork): New function that
1424 return 1 if the file: can be run under a forked process.
1425 * tape-src/output-file.h (file_tapefd_can_fork): Prototype.
1426 * tape-src/output-null.c (null_tapefd_can_fork): New function that
1427 return 1 if the null: can be run under a forked process.
1428 * tape-src/output-null.h (null_tapefd_can_fork): Prototype.
1429 * tape-src/output-rait.c (rait_close, rait_tapefd_ioctl): Fork only if
1430 * tapefd_can_fork() return 1.
1431 * tape-src/output-rait.c (rait_tapefd_can_fork): New function that
1432 return 1 if the rait: can be run under a forked process.
1433 * tape-src/output-rait.h (rait_tapefd_can_fork): Prototype.
1434 * tape-src/output-tape.c (tape_tapefd_can_fork): New function that
1435 return 1 if the tape: can be run under a forked process.
1436 * tape-src/output-tape.h (tape_tapefd_can_fork): Prototype.
1437 * tape-src/tapeio.c (struct virtualtape): Add xxx_tapefd_can_fork and
1438 initialize vtable[];
1439 * tape-src/tapeio.c (tapefd_can_fork): New function to can the driver
1440 xxx_tapefd_can_fork function.
1441 * tape-src/tapeio.h (tapefd_can_fork): Prototype.
1443 2003-03-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1445 * tape-src/output-file.c (file_tapefd_write): Call file_release(fd)
1446 before opening the file for writing.
1448 2003-03-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1450 * changer-src/chg-zd-mtx.sh.in: Default for driveslot is 0.
1451 * NEWS: default driveslot for chg-zd-mtx is now 0.
1453 2003-03-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1455 * amplot/amplot.sh.in: New -b option for b/w postscript.
1456 * amplot/amplot.awk: Add 'color' to command if bw is set.
1457 * amplot/amplot.g: Change line 6 to line 8.
1458 * man/amplot.8: Document -b option.
1459 * NEWS: Document amplot -b option.
1461 2003-03-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1463 * recover-src/extract_list.c: Fix the name of the
1464 amidxtaped.<timestamp>.debug file.
1466 2003-02-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1467 Patch by Eric Doutreleau <Eric.Doutreleau@int-evry.fr>
1469 * restore-src/amidxtaped.c: Use the device sent by the changer.
1471 2003-02-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1473 * restore-src/amidxtaped.c: Remove lock 'unlink(conf_logfile)' on
1476 2003-02-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1477 Patch by Martin Forssen <maf@appgate.com>
1479 * server-src/changer.c (changer_label): Do not amfree(rest).
1481 2003-02-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1483 * Amanda 2.4.4 released.
1484 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.4).
1486 2003-02-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1488 * client-src/client_util.c: Print error except ENOENT for
1489 exclude/include files.
1491 2003-02-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1493 * tape-src/tapetype.c: Use %ld to print some variable.
1495 2003-02-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1497 * server-src/conffile.c (init_defaults): conf_printer.s must be set
1500 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1501 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
1503 * tape-src/tapetype.c: Document -c option.
1505 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1507 * changer-src/chg-zd-mtx.sh.in:Print "are you sure your drive slot is n"
1509 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1511 * server-src/tapefile.c (read_tapelist): return 1 if can't open the
1514 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1516 * man/amtapetype.8.in: Add doc from a mail by John R. Jackson.
1518 2003-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1520 * server-src/amcheck.c: New -a option.
1521 * man/amcheck.8.in: Document it.
1522 * NEWS: Document it.
1524 2003-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1526 * server-src/amindexd.c (build_disk_table): Compare the level.
1528 2003-02-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1529 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
1531 * tape-src/tapetype.c: New -c argument to do only the compression test.
1532 Better detection of compression.
1533 * man/amtapetype.8.in: Document -c argument.
1535 2003-02-09 John R. Jackson (jrj@purdue.edu)
1537 * tape-src/tapetype.c: Allocate the I/O buffers on page boundaries.
1538 This helps performance on some OS's.
1540 2003-02-08 John R. Jackson (jrj@purdue.edu)
1542 * restore-src/amrestore.c: Clean up strtol() argument processing.
1544 2003-02-08 John R. Jackson (jrj@purdue.edu)
1546 * docs/INSTALL: Clean up supporting package versions and URL's.
1548 2003-02-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1550 * docs/Makefile.am (pkgdata_DATA): Add HOWTO-CYGWIN.html.
1552 2003-02-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1553 Patch by Christophe Kalt <kalt@taranis.org>
1555 * client-src/sendbackup-dump.c: New AM_SIZE_RE for NetApp.
1556 * client-src/sendsize.c: New re_size for NetApp.
1558 2003-02-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1559 Fix by Colin Henein <cmh@>
1561 * common-src/amanda.h: Fix for the where S_ISDIR is not defined.
1563 2003-02-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1564 Patch by Doug Kingston <dpk@randomnotes.org>
1566 * configure.in (NEED_SETUID_CLIENT): Set to false on *-pc-cygwin.
1567 * configure.in (WANT_SETUID_CLIENT): Set if NEED_SETUID_CLIENT != false.
1568 * client-src/Makefile.am: Don't chmod u+s if WANT_SETUID_CLIENT.
1570 2003-02-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1571 Patch by Andrew Rucker Jones <arjones@simultan.dyndns.org>
1573 * man/amtapetype.8.in: Fix example.
1575 2003-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1577 * Amanda 2.4.4b1 released.
1578 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.4b1).
1580 2003-01-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1582 * common-src/amanda.h: #define S_ISDIR if not already defined.
1584 2003-01-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1585 File from Doug Kingston <dpk@randomnotes.org>
1587 * docs/HOWTO-CYGWIN.html: New file.
1589 2003-01-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1591 * configure.in: Define WANT_RUNTIME_PSEUDO_RELOC on cygwin
1592 * client-src/Makefile.am: AM_LDFLAGS="-Wl,-enable-runtime-pseudo-reloc"
1593 if WANT_RUNTIME_PSEUDO_RELOC.
1594 * recover-src/Makefile.am: Ditto.
1596 2003-01-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1598 * tape-src/output-rait.h: #define stralloc strdup
1599 * tape-src/output-rait.c: Revert patch of 2003-01-26, we don't have
1600 vstralloc in standalone.
1602 2003-01-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1603 Reported by Doug Kingston <dpk@randomnotes.org>
1605 * recover-src/Makefile.am: Set AM_YFLAGS instead of YFLAGS.
1607 2003-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1609 * tape-src/output-rait.c (tapeio_next_devname): Use vstralloc.
1611 2003-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1613 * changer-src/chg-scsi-chio.c: Change strdup to stralloc.
1614 * changer-src/chg-scsi.c: Ditto.
1615 * changer-src/scsi-aix.c: Ditto.
1616 * changer-src/scsi-bsd.c: Ditto.
1617 * changer-src/scsi-cam.c: Ditto.
1618 * changer-src/scsi-changer-driver.c: Ditto.
1619 * changer-src/scsi-hpux_new.c: Ditto.
1620 * changer-src/scsi-irix.c: Ditto.
1621 * changer-src/scsi-linux.c: Ditto.
1622 * changer-src/scsi-solaris.c: Ditto.
1623 * changer-src/sense.c: Ditto.
1624 * tape-src/output-rait.c: Ditto.
1626 2003-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1628 * server-src/taper.c (read_file): Don't count header in filesize.
1630 2003-01-25 John R. Jackson (jrj@purdue.edu)
1632 * tape-src/tapeio.c: Fix tape_access() and tape_stat() problem caused
1633 by indeterminate compiler order of evaluation.
1635 2003-01-25 John R. Jackson (jrj@purdue.edu)
1637 * restore-src/amidxtaped.c: Log errno when tape_stat fails.
1638 * restore-src/amrestore.c: Ditto.
1639 * tape-src/output-rait.c: Ditto.
1641 2003-01-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1643 * server-src/amstatus.pl.in: print an usage by tape.
1645 2003-01-23 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1647 * recover-src/extract_list.c (add_extract_item, delete_extract_item):
1648 Check also for level when comparing label.
1650 2003-01-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1652 * server-src/dumper.c (update_dataptr): Loop if rc == 0.
1654 2003-01-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1656 Do not build chg-scsi-chio, it is buggy.
1657 * changer-src/Makefile.am (libexec_PROGRAMS): remove $(CHIO_SCSI).
1658 * changer-src/Makefile.am (EXTRA_PROGRAMS): add $(CHIO_SCSI).
1660 2003-01-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1662 * configure.in: disable amrestore if --without-server is set.
1664 2003-01-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1666 * client-src/amandad.c: Use the dbfd macro instead of the external
1668 * client-src/selfcheck.c: Ditto.
1669 * client-src/sendbackup.c: Ditto.
1670 * client-src/sendsize.c: Ditto.
1671 * client-src/sendbackup-gnutar.c: Use save_errno instead of errno.
1672 * common-src/debug.c: Move most declaration inside #ifdef DEBUG_CODE.
1673 * server-src/amindexd.c: dup db_fd() to stderr.
1674 * server-src/conffile.c: Don't call error() if the config file does not
1675 exist, just write to stderr and set got_parserror.
1677 2003-01-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1679 * recover-src/amrecover.c: Fix memory leak.
1681 2003-01-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1683 Add new maxpromoteday option in a dumptype.
1684 * NEWS: Document it.
1685 * example/amanda.conf.in: Give an example
1686 * man/amanda.8.in: Document it.
1687 * server-src/amadmin.c: Print it in the disklist subcommand.
1688 * server-src/conffile.c: read it.
1689 * server-src/conffile.h (dumptype_t): Add maxpromoteday and
1691 * server-src/diskfile.c (read_diskline): Copy maxpromoteday from
1692 dumptype_t to disk_t.
1693 * server-src/diskfile.h (disk_t): Add maxpromoteday.
1694 * server-src/planner.c (promote_highest_priority_incr): Don't promote
1695 a disk if est(dp)->next_level0 > dp->maxpromoteday.
1697 2003-01-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1698 Reported by Josh More <jmore@remote-print.com>
1700 * client-src/client_util.c (add_exclude, add_include): Remove the
1701 need for MAXPATHLEN.
1703 2003-01-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1704 Fix by Josh More <jmore@remote-print.com>
1706 * tape-src/output-tape.c: Add a ; after f = MT_UNLOAD
1708 2003-01-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1710 * server-src/amcheck.c (handle_response): Print 'request timed out' or
1712 * server-src/dumper.c (sendbackup_response): Print 'request timeout' or
1715 2003-01-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1717 * common-src/protocol.h (proto_t): Add prevstate field.
1718 * common-src/protocol.c: Keep prevstate up to date.
1719 * server-src/planner.c (handle_result): Use prevstate to write
1720 Request or Estimate timeout.
1722 2003-01-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1723 Undo patch of 2002-11-27. That doesn't work well for the planner.
1725 * common-src/amanda.h (days_diff): Revert to old macro.
1726 * server-src/amadmin.c: Undo Fix for newer days_diff.
1727 * server-src/planner.c: Undo Fix for newer days_diff.
1729 2003-01-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1731 * client-src/client_util.c: Fix memory leak reported by valgrind.
1732 * client-src/selfcheck.c: Ditto.
1733 * client-src/sendbackup.c: Ditto.
1734 * client-src/sendsize.c: Ditto.
1735 * common-src/amfeatures.c: Ditto.
1736 * common-src/debug.c: Ditto.
1737 * common-src/file.c: Ditto.
1738 * common-src/security.c: Ditto.
1739 * recover-src/amrecover.c: Ditto.
1740 * recover-src/extract_list.c: Ditto.
1741 * recover-src/set_commands.c: Ditto.
1742 * recover-src/uparse.y: Ditto.
1743 * recover-src/uscan.l: Ditto.
1744 * server-src/amcheck.c: Ditto.
1745 * server-src/amindexd.c: Ditto.
1746 * server-src/amlabel.c: Ditto.
1747 * server-src/amlogroll.c: Ditto.
1748 * server-src/amtape.c: Ditto.
1749 * server-src/amtrmidx.c: Ditto.
1750 * server-src/amtrmlog.c: Ditto.
1751 * server-src/changer.c: Ditto.
1752 * server-src/conffile.c: Ditto.
1753 * server-src/diskfile.c: Ditto.
1754 * server-src/driver.c: Ditto.
1755 * server-src/driverio.c: Ditto.
1756 * server-src/dumper.c: Ditto.
1757 * server-src/find.c: Ditto.
1758 * server-src/getconf.c: Ditto.
1759 * server-src/holding.c: Ditto.
1760 * server-src/logfile.c: Ditto.
1761 * server-src/planner.c: Ditto.
1762 * server-src/reporter.c: Ditto.
1763 * server-src/tapefile.c: Ditto.
1764 * server-src/taper.c: Ditto.
1766 2002-12-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1768 * amplot/amplot.awk: Many fix.
1770 2002-12-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1772 * server-src/planner.c (promote_highest_priority_incremental): Promote
1773 a disk > balanced size if no full today. Do not promote a disk it's
1774 the only disk due that day and no full today.
1776 2002-12-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1777 Patch by Brad Roberts <braddr@puremagic.com>
1779 * server-src/amflush.c: Remove 2 redundant amfree call after remove_sl.
1780 * server-src/holding.c (get_flush): Ditto.
1782 2002-12-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1784 * server-src/conffile.c: New taperalgo configuration keyword.
1785 * server-src/conffile.h: Ditto.
1786 * man/amanda.8.in: Document it.
1787 * server-src/driver.c (startaflush): New function to start a flush to
1790 2002-12-23 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1792 * server-src/amstatus.pl.in: Parse features from PORT-WRITE line.
1794 2002-12-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1796 Don't use the G flag for samba backup restore by tar.
1797 * recover-src/extract_list.c (enum dumptypes): Add IS_SAMBA_TAR.
1798 * recover-src/extract_list.c (extract_files_child): Set dumptype to
1799 IS_SAMBA_TAR if it's a SAMBA backup. Don't pass the G flag to tar
1800 if it's IS_SAMBA_TAR.
1802 2002-12-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1804 * amplot/amplot.awk: Parse line with features, parse ENDFLUSH line.
1806 2002-12-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1808 * server-src/planner.c (promote_highest_priority_incremental): Newer
1809 algorithm that reduce the number of level 0 by hosts on a single day.
1811 2002-12-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1813 * amplot/amplot.awk: Parse newer log lines.
1815 2002-12-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1817 * client-src/selfcheck.c: Typo.
1819 2002-12-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1821 * server-src/reporter.c (output_stats): Typo.
1823 2002-12-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1825 * server-src/reporter.c: Print an usage by tape.
1827 2002-12-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1829 * tape-src/tapeio.c (do_read): Init count to 0.
1831 2002-12-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1833 * tape-src/Makefile.am: Install tapetype program as amtapetype.
1834 * docs/TAPETYPES: Change for amtapetype.
1835 * man/amtapetype.8.in: New man page
1836 * man/Makefile.am: Install it.
1837 * configure.in (AC_CONFIG_FILES): Add man/amtapetype.8.
1839 2002-12-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1841 * tape-src/ammt.c (optind): Add prototype.
1842 * tape-src/amdd.c (optind): Add prototype.
1844 2002-12-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1846 * common-src/arglist.h (printf_arglist_function,
1847 printf_arglist_function1, printf_arglist_function2): Define if
1848 STDC_HEADERS is not defined.
1850 2002-12-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1852 * server-src/amstatus.pl.in: New --date option to display datestamp.
1853 * server-src/amstatus.pl.in: Increase some field size.
1854 * server-src/amstatus.pl.in: The host field adjust it's length to the
1857 2002-11-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1859 * common-src/amanda.h (days_diff): Don't add a half day.
1860 * server-src/amadmin.c: Fix for newer days_diff.
1861 * server-src/planner.c: Fix for newer days_diff.
1863 2002-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1865 * tape-src/tapetype.c: Cast time_t to long for printing.
1867 2002-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1869 * server-src/amflush.c: Write a "amflush: start at ???" line.
1870 * server-src/amstatus.pl.in: parse the "amflush: start at ???" line.
1872 2002-11-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1874 * server-src/planner.c (delay_dumps): Use ap_snprintf.
1876 2002-11-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1878 * common-src/debug.c: Most of the code must in #ifdef DEBUG_CODE.
1879 * client-src/client_util.c: Use AMANDA_TMPDIR instead of AMANDA_DBGDIR.
1881 2002-11-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1883 * docs/TAPE.CHANGERS: Sync with 2.5.0
1884 * changer-src/chg-juke.sh.in: New changer from 2.5.0
1885 * changer-src/chg-rait.sh.in: New changer from 2.5.0
1886 * changer-src/chg-null.sh.in: New changer from 2.5.0
1887 * changer-src/Makefile.am: Install them.
1888 * configure.in (AC_CONFIG_FILES): Add chg-juke.sh.in, chg-rait.sh.in and
1891 2002-11-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1893 * server-src/amadmin.c: Cleanup.
1895 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1897 * man/amadmin.8.in: Document new --days option of balance subcommand.
1899 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1901 * server-src/amadmin.c (days_diff): Make next_level0 more acurate.
1902 * server-src/amadmin.c (balance): Improve output.
1904 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1906 * recover-src/extract_list.c: Add Retry and Skip command to amrecover.
1908 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1910 * tape-src/output-tape.c (tape_tapefd_fsf): Must not be static.
1912 2002-11-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1914 * server-src/reporter.c: Fix for LPRCMD not defined.
1916 2002-11-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1917 Patch by Orion Poplawski <orion@colorado-research.com>
1919 * server-src/planner.c (delay_dumps): Add the estimate size to all call
1922 2002-11-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1924 * server-src/reporter.c: Increase width of some field.
1926 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1928 * changer-src/scsi-solaris.c (SCSI_ExecuteCommand): Init ret to 0.
1930 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1932 * recover-src/extract_list.c (delete_file): j is int.
1933 * changer-src/scsi-defs.h (B, B1): Check if already defined.
1934 * server-src/taper.c: Some cast to int.
1935 * tape-src/amdd.c (read_func, write_func): Complete prototype.
1936 * tape-src/tapeio.h (tapefd_read, tapefd_write): return ssize_t,
1937 third argument is size_t.
1938 * tape-src/tapeio.c: Ditto.
1939 * tape-src/output-file.h (file_tapefd_read, file_tapefd_write): return
1940 ssize_t, third argument is size_t.
1941 * tape-src/output-file.c: Ditto.
1942 * tape-src/output-null.h (null_tapefd_read, null_tapefd_write): return
1943 ssize_t, third argument is size_t.
1944 * tape-src/output-null.c: Ditto.
1945 * tape-src/output-rait.h (rait_read, rait__write): return ssize_t,
1946 third argument is size_t.
1947 * tape-src/output-rait.c: Ditto.
1948 * tape-src/output-tape.h (tape_tapefd_read, tape_tapefd_write): return
1949 ssize_t, third argument is size_t.
1950 * tape-src/output-tape.c: Ditto.
1952 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1954 * configure.in: socklen_t default to int.
1955 * common-src/dgram.c (dgram_recv): addrlen is socklen_t.
1956 * common-src/stream.c (stream_server): len is socklen_t.
1957 * recover-src/extract_list.c (add_file): j is int.
1959 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1961 * client-src/client_util.c (test_name_len) Remove variable.
1962 * common-src/match.c (len_prefix): Change type to int.
1963 * server-src/taper.c: Use %p to print pointer.
1964 * tape-src/amdd.c (read_func, write_func):Change return type to ssize_t.
1965 * tape-src/amdd.c (debug): Renamed to debug_amdd.
1966 * tape-src/ammt.c (debug): Renamed to debug_ammt.
1968 2002-11-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1970 * restore-src/amidxtaped.c: Fix restore from file.
1972 2002-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1974 * restore-src/amidxtaped.c: Fix newline in string literal.
1976 2002-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1978 * server-src/conffile.c (maxdumpsize): New option.
1979 * server-src/conffile.h: Ditto.
1980 * server-src/planner.c: Use maxdumpsize if set.
1981 * example/amanda.conf.in: Document it.
1982 * man/amanda.8.in: Document it.
1984 2002-11-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1986 * common-src/amfeatures.h (fe_amidxtaped_fsf, fe_amidxtaped_label,
1987 fe_amidxtaped_device, fe_amidxtaped_host, fe_amidxtaped_disk,
1988 fe_amidxtaped_datestamp, fe_amidxtaped_header, fe_amidxtaped_nargs,
1989 fe_amidxtaped_config): New features.
1990 * common-src/amfeatures.c (am_init_feature_set): Set new features.
1991 * recover-src/extract_list.c: Send new protocol data to amidxtaped.
1992 * restore-src/Makefile.am: amidxtaped.c need libamserver.
1993 * restore-src/amidxtaped.c: Read new protocol data from amrecover.
1994 * restore-src/amidxtaped.c: Use new configuration options.
1995 * server-src/conffile.c (conf_amrecover_do_fsf,
1996 conf_amrecover_check_label, conf_amrecover_changer): New config.
1997 * server-src/conffile.h: New config options.
1998 * example/amanda.conf.in: Document them.
1999 * man/amanda.8.in: Document them.
2001 2002-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2003 * autogen: touch config/config.h.in
2004 * configure.in: Patch from autoupdate-2.53 and LIBOBJS.
2005 * common-src/Makefile.am: Build versuff.o before version.o
2006 * recover-src/Makefile.am: Remove work around for automake-1.2
2008 2002-11-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2010 * configure.in: Remove --disable-libtool.
2011 * */Makefile.am: Remove WANT_LIBTOOL.
2013 2002-11-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2015 * changer-src/chg-scsi.c (config_name, config_dir): Remove declaration.
2016 * server-src/amadmin.c: Ditto.
2017 * server-src/amcheck.c: Ditto.
2018 * server-src/amcleanupdisk.c: Ditto.
2019 * server-src/amflush.c: Ditto.
2020 * server-src/amindexd.c: Ditto.
2021 * server-src/amlabel.c: Ditto.
2022 * server-src/amlogroll.c: Ditto.
2023 * server-src/amtape.c: Ditto.
2024 * server-src/amtrmidx.c: Ditto.
2025 * server-src/amtrmlog.c: Ditto.
2026 * server-src/diskfile.c: Ditto.
2027 * server-src/driver.c: Ditto.
2028 * server-src/dumper.c: Ditto.
2029 * server-src/getconf.c: Ditto.
2030 * server-src/planner.c: Ditto.
2031 * server-src/reporter.c: Ditto.
2032 * server-src/taper.c: Ditto.
2033 * server-src/conffile.c: (config_name, config_dir): Add declaration.
2035 2002-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2037 * man/amrestore.8: Amrestore doesn't use a changer.
2039 2002-11-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2041 * configure.in (SHELL): Don't set it, libtool do it.
2043 2002-10-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2045 * config/ltmain.sh, config/libtool.m4i: Update from libtool 1.4.3.
2047 2002-10-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2049 * restore-src/amrestore.c: New '-l <label>' flag, Do a rewind and
2050 check the label before restoring.
2051 * man/amrestore.8: Document -l flag.
2053 2002-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2055 * configure.in (AM_HAVE_MT_FLAGS, AM_HAVE_MT_FILENO, AM_HAVE_MT_BLKNO,
2056 AM_HAVE_MT_DSREG,AM_HAVE_MT_ERREG): Rename to HAVE_MT_FLAGS,
2057 HAVE_MT_FILENO, HAVE_MT_BLKNO, HAVE_MT_DSREG and HAVE_MT_ERREG.
2058 * tape-src/output-tape.c: Ditto.
2060 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2061 Undo patch of 2002-10-24. They are needed by amrecover.
2063 * client-src/getfsent.h (open_fstab, close_fstab, get_fstab_nextentry,
2064 is_local_fstype): Add Prototype.
2065 * client-src/getfsent.c (open_fstab, close_fstab, get_fstab_nextentry,
2066 is_local_fstype): remove Prototype.
2068 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2069 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
2071 * tape-src/tapetype.c: Detects and warns the user if the tape drive
2072 has hardware compression enabled.
2074 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2076 * restore-src/amrestore.c: New '-f <fileno>' flag, Do a rewind and
2077 'fsf <fileno>' if -f is set.
2078 * man/amrestore.8: Document -f flag.
2080 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2082 * common-src/amfeatures.h (fe_amindexd_fileno_in_OLSD,
2083 fe_amindexd_fileno_in_ORLD): New amfeatures.
2084 * common-src/amfeatures.c (am_init_feature_set): Set
2085 fe_amindexd_fileno_in_OLSD and fe_amindexd_fileno_in_ORLD.
2086 * recover-src/amrecover.h (struct DIR_ITEM): Add fileno.
2087 * recover-src/display_commands.c (add_dir_list_item): Set fileno
2089 * recover-src/display_commands.c (suck_dir_list_from_server): Read
2090 fileno if fe_amindexd_fileno_in_OLSD is set.
2091 * recover-src/extract_list.c (struct EXTRACT_LIST): Add fileno.
2092 * recover-src/extract_list.c (add_file): Read fileno if
2093 fe_amindexd_fileno_in_ORLD is set.
2094 * recover-src/extract_list.c (delete_file): Read fileno if
2095 fe_amindexd_fileno_in_ORLD is set.
2096 * server-src/amindexd.c (opaque_ls): Write fileno if
2097 fe_amindexd_fileno_in_OLSD or fe_amindexd_fileno_in_ORLD are set.
2099 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2100 Patch by Doug Kingston <dpk@pobox.com>
2102 * configure.in (NEED_PATH_ENV, IGNORE_UID_CHECK, IGNORE_FSTAB,
2103 DONT_SUID_ROOT): Defined if on *-pc-cygwin.
2104 * client-src/Makefile.am: Fix for cygwin.
2105 * client-src/getfsent.c: Don't use fstab if IGNORE_FSTAB.
2106 * client-src/killpgrp.c: Don't suid(0) if DONT_SUID_ROOT.
2107 * client-src/rundump.c: Don't suid(0) if DONT_SUID_ROOT.
2108 * client-src/runtar.c: Don't suid(0) if DONT_SUID_ROOT.
2109 * client-src/selfcheck.c (check_suid): Don't check uid if
2111 * common-src/alloc.c (safe_env): Add PATH to ENV if NEED_PATH_ENV.
2112 * recover-src/amrecover.c: Don't check uid if IGNORE_UID_CHECK.
2114 2002-10-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2116 * client-src/getfsent.h (open_fstab, close_fstab, get_fstab_nextentry,
2117 is_local_fstype): Remove Prototype.
2118 * client-src/getfsent.c (open_fstab, close_fstab, get_fstab_nextentry,
2119 is_local_fstype): Add Prototype.
2121 2002-10-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2123 * server-src/amindexd.c: New FEATURES command that read the features
2124 set from the client and reply the features set of the server.
2125 * recover-src/amrecover.h: include "amfeatures.h"
2126 * recover-src/amrecover.c: Send the FEATURES command to the server
2127 and read it's features set.
2129 2002-10-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2131 * client-src/Makefile.am: Work around for CYGWIN.
2132 * server-src/Makefile.am: Ditto.
2134 2002-10-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2136 * configure.in: Remove empty command from $program_transform_name.
2138 2002-10-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2140 * recover-src/extract_list.c (READ_TIMEOUT): Increased to 240*60.
2142 2002-10-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2144 * Amanda 2.4.3 released.
2145 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.3).
2147 2002-09-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2149 * client-src/getfsent.c (open_fstab): Check if MNTTAB is defined.
2151 2002-09-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2153 * NEWS: Changes in release 2.4.3.
2155 2002-09-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2157 * server-src/amverifyrun.sh.in: New program.
2158 * man/amverifyrun.8.in: Man page for amverifyrun.
2159 * configure.in (AC_OUTPUT): add man/amverifyrun.8 and
2160 server-src/amverifyrun.sh.
2161 * man/Makefile.am (SERVER_MAN_PAGES): Add amverifyrun.8.
2162 * man/amanda.8.in: Add amdd, ammt and amverifyrun in SEE ALSO.
2163 * man/amverify.8.in: Add amverifyrun(8) in SEE ALSO.
2164 * server-src/Makefile.am (sbin_SCRIPTS): Add amverifyrun.
2166 2002-09-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2168 * server-src/amverify.sh.in: Accept runtapes as a third argument.
2169 * man/amverify.8.in: Document it.
2171 2002-09-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2173 * config/missing: Updated from automake-1.5.
2175 2002-09-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2177 * config/config.guess: Updated from ftp://ftp.gnu.org/gnu/config/
2178 * config/config.sub: Updated from ftp://ftp.gnu.org/gnu/config/
2180 2002-09-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2182 * client-src/sendsize.c (getsize_dump): Print the fstype.
2183 * client-src/sendbackup-dump.c (start_backup): Print the fstype.
2185 2002-09-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2186 Patch by Florian Hars <hars@bik-gmbh.de>
2188 * changer-src/chg-zd-mtx.sh.in: Fix default value for cleancycle.
2190 2002-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2192 * recover-src/extract_list.c (extract_files): print tape drive
2193 and host before asking to load tape.
2195 2002-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2197 * server-src/taper.c (read_file): Initialize file,
2198 stat(file.cont_filename) before opening it.
2200 2002-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2202 * server-src/amverify.sh.in: Don't check that the device is
2203 a character device, it could be a file: or rait:
2205 2002-09-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2207 * common-src/amfeatures.c (am_set_default_feature_set):
2208 fe_rep_options_sendbackup_options is a default feature.
2210 2002-09-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2212 * server-src/amstatus.pl.in: Sort a disk in datestamp order.
2214 2002-09-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2215 Text by Jean-Francois Malouin <Jean-Francois.Malouin@bic.mni.mcgill.ca>
2217 * docs/EXCLUDE: Improve documentation.
2219 2002-09-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2221 * server-src/reporter.c: Fix compilation error if LPRCMD is not defined.
2223 2002-08-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2225 * Amanda 2.4.3b4 released.
2226 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.3b4).
2227 * NEWS: Changes in release 2.4.3b4.
2229 2002-08-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2230 Patch by Jason Brooks <jason0@mail.wrs.com>
2232 * docs/chg-scsi.notes: New document.
2233 * changer-src/chg-scsi.c: Adding printout of "emubarcode" values
2235 * changer-src/scsi-changer-driver.c: Added dlt8000 and L500 to
2237 * changer-src/sense.c: Added dlt8000 and L500 to SenseType[].
2239 2002-08-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2241 * tape-src/output-null.c (null_tape_stat, null_tape_access): Use
2242 "/dev/null" instead of filename.
2244 2002-08-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2246 * changer-src/scsi-hpux.c: Add amanda copyright.
2248 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2250 * recover-src/uparse.y: Fix compiler warning.
2252 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2254 * server-src/amtrmidx.c: Continue if a directory doesn't exist.
2256 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2258 * man/amanda.8.in (tapecycle): Improve documentation.
2260 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2262 * server-src/amstatus.pl.in: Works with features.
2264 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2266 * common-src/amfeatures.c (am_feature_to_string): Return the string
2267 "UNKNOWNFEATURE" if no features.
2268 * common-src/amfeatures.c (am_string_to_feature): Return NULL if the
2269 string is "UNKNOWNFEATURE".
2271 2002-08-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2273 * common-src/file.c (debug_agets): line_free was badly set when
2274 the buffer size in increased.
2276 2002-07-19 John R. Jackson (jrj@purdue.edu)
2278 * common-src/amanda.h: Fix bad #define.
2280 2002-07-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2281 Patch by David Munro <D.Munro@surrey.ac.uk>
2283 * common-src/sl.c (new_sl): Alloc (sl_t) instead of (sl_t *).
2285 2002-06-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2287 Jonathan R. Johnson <Jonathan.Johnson@MinnetonkaSoftware.com>
2289 * server-src/reporter.c: Fix psfname filename.
2291 2002-05-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2293 * client-src/sendbackup.c: Don't do compression if it is server side.
2294 * client-src/sendbackup-dump.c: Ditto.
2295 * client-src/sendbackup-gnutar.c: Ditto.
2297 2002-05-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2298 Patch by Manuel Bouyer <bouyer@antioche.lip6.fr>
2300 * server-src/taper.c (detach_buffers): Fix compilation with mmap.
2302 2002-04-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2304 * recover-src/extract_list.c (extract_files): Set dump_device_name
2305 after the call of okay_to_continue.
2307 2002-04-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2309 New features to describe the OPTIONS line of a REP packet.
2310 * common-src/amfeatures.h: Add fetures fe_rep_options_maxdumps,
2311 fe_rep_options_hostname, fe_rep_options_features and
2312 fe_rep_options_sendbackup_options.
2313 * common-src/amfeatures.c (am_init_feature_set): Add
2314 fe_rep_options_features.
2315 * client-src/selfcheck.c: Write REP packet according to server features.
2316 * client-src/sendbackup.c: Ditto.
2317 * client-src/sendsize.c: Ditto.
2319 2002-04-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2321 * common-src/amfeatures.h:
2322 Rename fe_g_options_maxdump to fe_req_options_maxdumps
2323 Rename fe_g_options_hostname to fe_req_options_hostname
2324 Rename fe_g_options_features to fe_req_options_features
2325 * common-src/amfeatures.c: Ditto
2326 * server-src/amcheck.c: Ditto
2327 * server-src/dumper.c: Ditto
2328 * server-src/planner.c: Ditto
2330 2002-04-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2332 * server-src/amcheck.c: Check if it can send features, hostname or
2333 maxdumps on the global options line. Don't send hostname and
2334 maxdumps for a noop service.
2335 * server-src/dumper.c: Ditto.
2336 * server-src/planner.c: Ditto.
2338 2002-04-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2340 * client-src/sendbackup.c: (optionstr): Add srvcomp-best and
2341 srvcomp-fast options.
2343 2002-04-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2345 * server-src/amcheck.c (start_host): Check the todo bit before
2348 2002-04-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2350 * client-src/client_util.c (parse_options, parse_g_options): Check
2351 for duplication options.
2352 * client-src/client_util.h (COMPR_SERVER_FAST, COMPR_SERVER_BEST):
2354 * client-src/selfcheck.c: Check for COMPR_FAST or COMPR_BEST.
2356 2002-04-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2358 * client-src/selfcheck.c (host):Remove variable,use g_options->hostname.
2359 * client-src/sendbackup.c: Ditto.
2360 * client-src/sendsize.c: Ditto.
2362 2002-04-20 Thomas Hepper <th@ant.han.de>
2363 * changer-src/scsi-aix.c: Fixed bug with the setting of the GSC driver
2364 Added detection and setting of device type tape/robot
2365 * changer-src/scsi-bsd.c: Added detection and setting of device
2367 * changer-src/scsi-cam.c: Added detection and setting of device
2369 * changer-src/scsi-hpux_new.c: Added detection and setting of device
2371 * changer-src/scsi-linux.c: Added detection and setting of device
2373 * changer-src/scsi-solaris.c: Added detection and setting of device
2375 * changer-src/scsi-irix.c: Added detection and setting of device
2377 * changer-src/scsi-changer-driver.c: Now there is an device handler
2378 for an generic tape and an generic robot.
2379 The result length from the read element status is now checked
2380 and only fields which are in this area are used.. (Some librarys
2381 retrun only 4 byte, expected are 52)
2382 * changer-src/scsi-defs.h: Fixed the some defines in
2383 ElementStatusPage_T,
2385 2002-04-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2387 * client-src/client_util.c (parse_g_options) New function to parse
2388 the global options string.
2389 * client-src/client_util.h (parse_g_options): Prototype.
2390 * client-src/selfcheck.c: use parse_g_options.
2391 * client-src/sendbackup.c: use parse_g_options.
2392 * client-src/sendsize.c: use parse_g_options.
2394 2002-04-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2396 * server-src/diskfile.c: Improve message for missing features.
2398 2002-04-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2401 * common-src/amfeatures.c (am_set_default_feature_set): New function
2402 to set the default features set.
2403 * common-src/amfeatures.h (am_set_default_feature_set): Prototype.
2404 * common-src/amfeatures.h: Rename amanda_feature_auth_keyword to
2406 * client-src/client_util.c: Check features.
2407 * server-src/amcheck.c: Ditto.
2408 * server-src/diskfile.c: Ditto.
2409 * server-src/driverio.c: Ditto.
2410 * server-src/planner.c: Ditto.
2411 * server-src/diskfile.h (optionstr): Change prototype.
2412 * client-src/sendsize.c: Fix compiler warning.
2414 2002-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2416 * common-src/amfeatures.c: Renamed from features.c
2417 * common-src/amfeatures.h: Renamed from features.h
2418 * common-src/Makefile.am: Rename features to amfeatures.
2419 * client-src/amandad.c: Ditto.
2420 * client-src/client_util.h: Ditto.
2421 * client-src/selfcheck.c: Ditto.
2422 * client-src/sendbackup.c: Ditto.
2423 * client-src/sendsize.c: Ditto.
2424 * server-src/amcheck.c: Ditto.
2425 * server-src/diskfile.h: Ditto.
2426 * server-src/dumper.c: Ditto.
2427 * server-src/planner.c: Ditto.
2428 * server-src/taper.c: Ditto.
2430 2002-04-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2432 * server-src/conffile.c: Default dumporder set to "ttt".
2433 * server-src/driver.c: If dumporder is too short, use t and T.
2434 * man/amanda.8.in: Default dumporder set to "ttt".
2436 2002-04-13 John R. Jackson (jrj@purdue.edu)
2438 * common-src/features.c: Add amanda_feature_auth_keyword feature so
2439 authorization in the OPTIONS string is backward compatible.
2440 * common-src/features.h: Ditto.
2441 * client-src/client_util.c: Ditto.
2442 * client-src/client_util.h: Ditto.
2443 * client-src/selfcheck.c: Ditto.
2444 * client-src/sendbackup.c: Ditto.
2445 * client-src/sendsize.c: Ditto.
2446 * server-src/diskfile.c: Ditto.
2448 2002-04-13 John R. Jackson (jrj@purdue.edu)
2450 * server-src/diskfile.c: Fix memory leak.
2452 2002-04-13 John R. Jackson (jrj@purdue.edu)
2454 * common-src/features.c: New file. Add support for feature sets so
2455 different Amanda versions can work together.
2456 * common-src/features.h: Ditto.
2457 * common-src/Makefile.am: Ditto. Add "features" test program.
2458 * client-src/amandad.c: Add "noop" service to return the feature set.
2459 * client-src/selfcheck.c: Accept and return a feature set in OPTIONS.
2461 * client-src/sendbackup.c: Ditto.
2462 * client-src/sendsize.c: Ditto.
2463 * common-src/error.c: Use strcasecmp.
2464 * common-src/protocol.c: Use dbprintf for PROTO_DEBUG and improve
2465 messages. Improve parsing.
2466 * common-src/security.c: Improve parsing.
2467 * server-src/amcheck.c: Ask for client features via "noop" before
2468 doing the real "selfcheck" service requests. Improve parsing.
2469 * server-src/amflush.c: Minor coding format cleanup.
2470 * server-src/diskfile.c: Initialize the features hosttype field.
2471 * server-src/diskfile.h: Add the features hosttype field.
2472 * server-src/driver.c: Save the features from the schedule. Clean
2473 up some error messages.
2474 * server-src/driverio.c: Add features string to several commands.
2475 * server-src/dumper.c: Deal with features string in commands. Improve
2477 * server-src/planner.c: Ask for client features via "noop" before
2478 doing the real "sendsize" service requests. Improve parsing.
2479 * server-src/server_util.c: Minor coding cleanup.
2480 * server-src/server_util.h: Increase the number of args allowed on
2482 * server-src/taper.c: Deal with features string in commands. Improve
2485 2002-04-11 John R. Jackson (jrj@purdue.edu)
2487 * common-src/stream.c: Clean up an error message.
2489 2002-04-09 John R. Jackson (jrj@purdue.edu)
2491 * server-src/driver.c: Fix send of QUIT to taper when it is down.
2493 2002-04-07 John R. Jackson (jrj@purdue.edu)
2495 * server-src/reporter.c: Move column routines to conffile.c so amcheck
2496 can use them in its tests. Do not abort on several failures, but
2497 generate messages in the FAILURE AND STRANGE DUMP SUMMARY section.
2498 * server-src/conffile.c: Move column routines to here.
2499 * server-src/conffile.h: Ditto.
2500 * server-src/amcheck.c: Add several config file tests.
2501 * server-src/logfile.c: Change "reporter" to "amreport".
2503 2002-04-07 John R. Jackson (jrj@purdue.edu)
2505 * configure.in: Add /usr/local/sbin to LOCPATH.
2507 2002-03-31 John R. Jackson (jrj@purdue.edu)
2509 * server-src/amcheck.c: Send maxdumps and hostname in packet OPTIONS.
2511 2002-03-31 John R. Jackson (jrj@purdue.edu)
2513 * changer-src/scsi-defs.h: Fix compiler warning and bug it was hiding.
2514 * changer-src/scsi-solaris.c: Ditto.
2516 2002-03-31 John R. Jackson (jrj@purdue.edu)
2518 * client-src/amandad.c: Add relative timestamps to a lot of debug
2519 file messages, and add more messages, to better track what is
2520 going on. Various general cleanup.
2521 * client-src/calcsize.c: Ditto.
2522 * client-src/client_util.c: Ditto.
2523 * client-src/selfcheck.c: Ditto.
2524 * client-src/sendbackup-dump.c: Ditto.
2525 * client-src/sendbackup-gnutar.c: Ditto.
2526 * client-src/sendbackup.c: Ditto.
2527 * client-src/sendbackup.h: Ditto.
2528 * client-src/sendsize.c: Ditto.
2529 * common-src/Makefile.am: Ditto.
2530 * common-src/amanda.h: Ditto.
2531 * common-src/clock.c: Ditto.
2532 * common-src/clock.h: Ditto.
2533 * common-src/debug.c: Ditto.
2534 * common-src/dgram.c: Ditto.
2535 * common-src/error.c: Ditto.
2536 * common-src/pipespawn.c: Ditto.
2537 * common-src/security.c: Ditto.
2538 * common-src/stream.c: Ditto.
2539 * common-src/util.c: Ditto.
2540 * man/amanda.8.in: Ditto.
2541 * restore-src/amidxtaped.c: Ditto.
2542 * restore-src/amrestore.c: Ditto.
2543 * server-src/amindexd.c: Ditto.
2544 * server-src/getconf.c: Ditto.
2545 * server-src/planner.c: Ditto.
2547 2002-03-31 John R. Jackson (jrj@purdue.edu)
2549 * client-src/sendsize.c: Pay attention to the spindle number.
2551 2002-03-30 John R. Jackson (jrj@purdue.edu)
2553 * server-src/planner.c: General delay_dumps code cleanup.
2555 2002-03-30 John R. Jackson (jrj@purdue.edu)
2557 * server-src/planner.c: Make sure individual dumps larger than a tape
2558 are not added back into the schedule. Found by Uncle George
2559 <gatgul@voicenet.com>.
2561 2002-03-29 John R. Jackson (jrj@purdue.edu)
2563 * man/amanda.8.in: Move "comment" in tapetype after inclusion of
2564 previous definition. Found by Uncle George <gatgul@voicenet.com>.
2566 2002-03-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2568 * client-src/client_util.c (fixup_relative): New function to prepend
2569 the dirname if relative.
2570 * client-src/client_util.c (build_exclude, build_include): Use
2572 * client-src/client_util.c (parse_options): Do not prepend the dirname.
2573 * client-src/selfcheck.c (check_options): Don't generate ERROR for samba
2576 2002-03-24 John R. Jackson (jrj@purdue.edu)
2578 * common-src/debug.c: Change dbopen() message slightly to match what
2579 amdump generates, making it easier to parse.
2581 2002-03-24 John R. Jackson (jrj@purdue.edu)
2583 * common-src/Makefile.am: Move clock routines to common-src so
2584 everyone may use them.
2585 * server-src/Makefile.am: Ditto.
2587 2002-03-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2589 * client-src/sendbackup-gnutar.c: Fix use of no_record.
2591 2002-03-24 Thomas Hepper ( th@ant.han.de)
2592 * changer-src/chg-scsi-chio.c: Fixed problems introduced by the agets change
2593 * client-src/sendbackup-dump.c: Fixed compile problem on AIX, no_record
2594 is no longeer defined, ist is now options->no_record.
2596 2002-03-24 John R. Jackson (jrj@purdue.edu)
2598 * client-src/amandad.c: Make sure argv[0] is valid before using it.
2599 * restore-src/amidxtaped.c: Ditto.
2600 * server-src/amindexd.c: Ditto.
2602 2002-03-24 John R. Jackson (jrj@purdue.edu)
2604 * client-src/client_util.c: Use the Amanda memory allocation code.
2605 * client-src/sendbackup-gnutar.c: Ditto.
2606 * client-src/sendsize.c: Ditto.
2607 * common-src/match.c: Ditto.
2608 * recover-src/amrecover.c: Ditto.
2609 * recover-src/display_commands.c: Ditto.
2610 * recover-src/extract_list.c: Ditto.
2611 * restore-src/amidxtaped.c: Ditto.
2612 * server-src/amflush.c: Ditto.
2613 * server-src/disk_history.c: Ditto.
2614 * server-src/driver.c: Ditto.
2615 * server-src/dumper.c: Ditto.
2616 * server-src/list_dir.c: Ditto.
2617 * common-src/amanda.h: Always pass the source file and line number
2618 to the memory routines to make it easier to debug.
2619 * common-src/alloc.c: Ditto.
2620 * common-src/file.c: Ditto.
2621 * common-src/dgram.c: Ditto.
2622 * common-src/dgram.h: Ditto.
2624 2002-03-24 Thomas Hepper ( th@ant.han.de)
2625 * changer-src/chg-scsi.c: Fixed problems introduced by the agets change
2626 * changer-src/chg-scsi.c (MapBarCode): Fixed error in eof handling
2627 eof was not correctly detected, now use the feof function.
2628 * changer-src/scsi-aix.c (SCSI_OS_Version()): New function to print
2630 * changer-src/scsi-aix.c: same as above
2631 * changer-src/scsi-cam.c: same as above
2632 * changer-src/scsi-hpux_new.c: same as above
2633 * changer-src/scsi-irix.c: same as above
2634 * changer-src/scsi-linux.c: same as above
2635 * changer-src/scsi-solaris.c: same as above
2636 * changer-src/scsi-changer-driver.c (DLT448ElementStatus()): Fixed
2637 error messages. Fixed some errors with the barcode handling.
2639 2002-03-23 John R. Jackson (jrj@purdue.edu)
2641 * changer-src/chg-scsi-chio.c: Use agets instead of fgets.
2642 * changer-src/chg-scsi.c: Use agets instead of fgets.
2643 * client-src/client_util.c: Use agets instead of fgets.
2644 * recover-src/amrecover.c: Clean up output on EOF.
2645 * recover-src/extract_list.c: Use agets instead of direct stdio.
2646 Clean up output on EOF. Add '?' help.
2647 * recover-src/set_commands.c: Quote the new device in the verify
2648 output to make it stand out.
2649 * server-src/amflush.c: Clean up output on EOF. Clean up output
2650 when multiple holding disk areas selected. Clean up parsing.
2651 Loop until valid user response.
2652 * server-src/find.c: Do not complain if log file is missing for
2653 a new (datestamp == 0) tape.
2654 * server-src/holding.c: Use agets instead of fgets. Clean up
2655 interactive input and output.
2657 2002-03-23 John R. Jackson (jrj@purdue.edu)
2659 * client-src/selfcheck.c: Fix a compiler warning.
2660 * client-src/sendbackup.c: Ditto.
2661 * client-src/sendsize.c: Ditto.
2663 2002-03-23 John R. Jackson (jrj@purdue.edu)
2665 * client-src/getfsent.c (close_fstab()): Call endfsent() instead
2666 of fclose(), if available.
2668 2002-03-23 John R. Jackson (jrj@purdue.edu)
2670 * common-src/dbprintf (debug_printf): Make sure errno is preserved
2671 across dbprint() calls.
2673 2002-03-23 John R. Jackson (jrj@purdue.edu)
2675 * configure.in: Add -R$dir as well as -L$dir on Solaris when processing
2676 --with-libraries to support shared libraries of support products.
2678 2002-03-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2680 * server-src/tapefile.c (write_tapelist): Write to a temp file and
2682 * server-src/amlabel.c: Do not rename the tapelist file.
2683 * server-src/taper.c (label_tape): Do not rename the tapelist file.
2685 2002-03-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2687 * client-src/client_util.c (parse_options): Do not check if the
2688 exclude file exist, it's done later.
2690 2002-03-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2692 * client-src/client_util.c (parse_options): Parse exclude-optional and
2694 * client-src/client_util.h (option_t): New exclude_optional and
2695 include_optional field.
2696 * man/amanda.8.in: Document optional.
2697 * server-src/amadmin.c (disklist_one): Display optional.
2698 * server-src/conffile.c: Parse optional keyword.
2699 * server-src/conffile.h (dumptype_t): New exclude_optional and
2700 include_optional field.
2701 * server-src/diskfile.c (read_diskline): Copy optional bits.
2702 * server-src/diskfile.c (optionstr): Print optional bits.
2703 * server-src/diskfile.h (disk_t): New exclude_optional and
2704 include_optional field.
2705 * server-src/planner.c (getsize): Use new sendsize format if optional
2708 2002-03-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2710 * server-src/driver.c (dump_to_tape): Call start_degraded_mode() if
2713 2002-03-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2715 * recover-src/extract_list.c (extract_files_setup): Add ^$ to host.
2717 2002-03-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2718 Patch from Michael Frankowski <mfrankow@winternet.com>
2720 * client-src/sendbackup-gnutar.c: Test for subdir before dbprintf.
2722 2002-03-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2724 * client-src/client_util.c (init_options): New function.
2725 * client-src/client_util.h (init_options): Prototype.
2726 * client-src/sendsize.c (main): Use init_options.
2728 2002-03-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2730 * client-src/client-util.c: Check for include and exclude files.
2732 2002-03-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2734 * server-src/amstatus.pl.in: Fix.
2735 * server-src/conffile.c(get-compress): Change message for bad
2738 2002-03-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2740 * server-src/amstatus.pl.in: Fix.
2742 2002-03-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2744 * client-src/sendbackup-dump.c: use amdevice as argument to
2747 2002-03-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2749 * Amanda 2.4.3b3 released
2750 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.3b3)
2752 2002-03-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2754 * ReleaseNotes: New file.
2755 * NEWS: New item for 2.4.3b3.
2757 2002-03-07 John R. Jackson (jrj@purdue.edu)
2759 * changer-src/chg-zd-mtx.sh.in: Allow whitespace on a VolumeTag line.
2760 Compliments of Christopher McCrory <chrismcc@pricegrabber.com>.
2762 2002-03-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2764 * recover-src/amrecover.h (list_disk): Prototype.
2765 * recover-src/set_commands.c (list_disk): New function.
2766 * recover-src/uparse.y: parse LISTDISK.
2767 * recover-src/uscan.l: listdisk keyword.
2768 * recover-src/help.c: help for listdisk.
2769 * man/amrecover.8.in: Doc for listdisk.
2770 * server-src/amindexd.c: New LISTDISK command.
2771 * docs/INDEXING: Document LISTDISK command.
2773 2002-03-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2775 * server-src/amstatus.pl.in: Better output for autoflush.
2777 2002-03-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2779 * server-src/amstatus.pl.in: Fix.
2781 2002-03-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2783 * server-src/amadmin.c (disklist_one): Print dp->device.
2784 * server-src/amcheck.c (start_host): Send device if specified.
2785 * server-src/amstatus.pl.in: Parse line with device.
2786 * server-src/diskfile.c (parse_diskline): Parse device.
2787 * server-src/diskfile.c (match_disklist): Match on device.
2788 * server-src/diskfile.h (disk_t): New field device.
2789 * server-src/driverio.c: (dumper_cmd): Send device.
2790 * server-src/dumper.c (main): Parse device in request.
2791 * server-src/dumper.c (start_dump): New device argument, send
2793 * server-src/planner.c (getsize): Send device to client.
2794 * server-src/server_util.h (MAX_ARGS): Set it to 12.
2795 * client-src/client_util.c (add_include, build_exclude, build_include,
2796 parse_options): New device argument.
2797 * client-src/client_util.h (build_exclude,build_include,parse_options):
2799 * client-src/selfcheck.c: Use device.
2800 * client-src/sendbackup-dump.c: Use device.
2801 * client-src/sendbackup-gnutar.c: Use device.
2802 * client-src/sendbackup.c: Use device.
2803 * client-src/sendbackup.h (start_backup): New device argument.
2804 * client-src/sendsize.c: Use device.
2805 * man/amanda.8.in: Document new disklist syntax.
2806 * example/disklist: Give example.
2808 2002-03-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2810 * server-src/amstatus.pl.in: Write "wait to flush" only if waittaper
2813 2002-03-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2815 * server-src/amstatus.pl.in: Fix for failed tape.
2817 2002-02-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2819 * man/amanda.8.in: Document multiple exclude.
2820 * man/amanda.8.in: Document include.
2822 2002-02-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2824 * client-src/client-util.c (add_include): Include are glob expression.
2826 2002-02-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2828 * common-src/debug.c (debug_open); Don't try to renmae an already
2831 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2833 * server-src/conffile.c (dump_configuration): Print multiple
2834 exclude and include.
2836 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2838 * client-src/client_util.c (add_exclude, add_include): Typo.
2840 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2842 * client-src/client_util.c (build_include, build_exclude): Fix for
2845 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2847 * client-src/client_util.c (get_name): Create a file name.
2848 * client-src/client_util.c (build_name): Remove old files,
2849 build an unused file name.
2850 * client-src/client_util.c (add_exclude): Add an exclude pattern to
2852 * client-src/client_util.c (add_include): Add an include to the
2854 * client-src/client_util.c (build_exclude): Concat all excludes in
2856 * client-src/client_util.c (build_include): Concat all includes in
2858 * client-src/client_util.h (build_exclude, build_include): Prototype.
2859 * client-src/selfcheck.c.diff (check_options): Call build_exclude
2861 * client-src/sendsize.c.diff: Call gtar with one
2862 exclude file/include file.
2863 * client-src/sendbackup-gnutar.c.diff: Call gtar with one
2864 exclude file/include file.
2866 2002-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2868 * common-src/amanda.h (amfree): Change e local variable to e__errno.
2869 * common-src/amanda.h (strappend): Change t local variable to t_t_t.
2871 2002-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2873 * client-src/sendsize.c: Set include_file and include_list to NULL
2874 when using old protocol.
2875 * client-src/sendbackup-gnutar.c: Include "." when using old protocol.
2877 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2879 * server-src/conffile.h (dumptype_t): Add include_file and include_list.
2880 * server-src/conffile.c: Read include.
2881 * server-src/diskfile.h (disk_t): Add include_file and include_list.
2882 * server-src/diskfile.c (optionstr): Add include to the optionstr.
2883 * server-src/amadmin.c (disklist_one): Print include.
2884 * server-src/planner.c: Use new protocol if include is used.
2885 * client-src/client_util.h (option_t): Add include_file and include_list
2886 * client-src/client_util.c (parse_options): Parse include.
2887 * client-src/selfcheck.c (check_options): Print ERROR if include are
2888 used for SAMBA or DUMP.
2889 * client-src/sendsize.c: Send include to gnutar.
2890 * client-src/sendbackup-gnutar.c: Send include to gnutar.
2892 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2894 * client-src/client_util.c (parse_options): Check that files from
2895 'exclude list' exist'.
2896 * client-src/selfcheck.c (check_options): Give ERROR if multiple
2897 exclude are used with samba or if exclude are used with DUMP.
2899 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2901 * client_src/client_util.c (parse_options): Function to parse
2903 * client_src/client_util.h (parse_options): Prototype.
2904 * client_src/client_util.h (option_t): Struct for options.
2905 * client_src/Makefile.am: Compile client_util.
2906 * client_src/selfcheck.c: Use new option_t and multiple exclude.
2907 * client_src/sendbackup.h: Use new option_t and multiple exclude.
2908 * client_src/sendbackup.c: Use new option_t and multiple exclude.
2909 * client_src/sendbackup-dump.c: Use new option_t and multiple exclude.
2910 * client_src/sendbackup-gnutar.c: Use new option_t and multiple exclude.
2911 * client_src/sendsize.c: Use new option_t and multiple exclude.
2912 * server-src/conffile.h: Use sl_t for exclude_file and exclude_list.
2913 * server-src/conffile.c: Multiple exclude.
2914 * server-src/diskfile.h: Use sl_t for exclude_file and exclude_list.
2915 * server-src/diskfile.c: Multiple exclude.
2916 * server-src/planner.c: Multiple exclude.
2918 2002-02-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2920 * common-src/pipespawn.c (pipespawnv): New funtion taking an
2922 * common-src/pipespawn.h (pipespawnv): Prototype.
2924 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2926 * server-src/holding.h: Use sl_t instead of holding_t
2927 * server-src/holding.c: Ditto.
2928 * server-src/amcleanupdisk.c: Ditto.
2929 * server-src/amflush.c: Ditto.
2930 * server-src/find.c: Ditto.
2931 * server-src/planner.c: Ditto.
2933 2002-02-11 John R. Jackson (jrj@purdue.edu)
2935 * configure.in: AIX needs the "other" getconf argument to find out
2936 about large file support (XBS5_ILP32_OFFBIG instead of LFS).
2938 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2940 * common-src/sl.h: New header file
2941 * common-src/sl.c: New file for list of string struct.
2942 * common-src/Makefile.am: Compile sl.c
2944 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2946 * changer-src/chg-zd-mtx.sh.in: Don't use '^' in expr match argument.
2948 2002-02-10 John R. Jackson (jrj@purdue.edu)
2950 * configure.in: Add new file-pad tapetype option to take the place
2951 of a positive/negative blocksize. Blocksize may now only be
2952 positive. File-pad defaults to "true" which pads the last tape
2953 record like it always has.
2954 * man/amanda.8.in: Ditto.
2955 * server-src/amlabel.c: Ditto.
2956 * server-src/conffile.c: Ditto. Fix typo in conffile test program.
2957 * server-src/conffile.h: Ditto.
2958 * server-src/planner.c: Ditto.
2959 * server-src/taper.c: Ditto.
2961 2002-02-10 John R. Jackson (jrj@purdue.edu)
2963 * configure.in: Save the ./configure args and display them in the
2964 version string (e.g. amandad*debug and "amadmin xx version").
2965 * common-src/genversion.c: Ditto.
2967 2002-02-10 John R. Jackson (jrj@purdue.edu)
2969 * common-src/alloc.c: Fix type mismatch issues discovered by splint
2970 (www.splint.org). Compliments of jens persson <jens@persson.cx>.
2971 * common-src/debug.c: Ditto.
2972 * common-src/dgram.c: Ditto.
2973 * common-src/file.c: Ditto.
2974 * common-src/fileheader.c: Ditto.
2975 * common-src/fileheader.h: Ditto.
2976 * common-src/getcwd.c: Ditto.
2977 * common-src/match.c: Ditto.
2978 * common-src/security.c: Ditto.
2979 * common-src/stream.c: Ditto.
2980 * common-src/strstr.c: Ditto.
2981 * common-src/token.c: Ditto.
2982 * recover-src/amrecover.c: Ditto.
2983 * recover-src/display_commands.c: Ditto.
2984 * recover-src/extract_list.c: Ditto.
2985 * recover-src/set_commands.c: Ditto.
2986 * server-src/reporter.c: Ditto.
2988 2002-02-10 John R. Jackson (jrj@purdue.edu)
2990 * changer-src/chg-zd-mtx.sh.in: Major cleanup and general overhaul.
2991 * docs/TAPE.CHANGERS: Cleanup.
2993 2002-02-09 John R. Jackson (jrj@purdue.edu)
2995 * common-src/arglist.h: Clean up gcc detection of printf style variable
2996 argument list functions.
2997 * changer-src/scsi-changer-driver.c: Ditto.
2998 * common-src/debug.c: Ditto.
2999 * common-src/error.c: Ditto.
3000 * common-src/snprintf.c: Ditto.
3001 * common-src/token.c: Ditto.
3002 * common-src/token.h: Ditto.
3003 * server-src/amindexd.c: Ditto.
3004 * server-src/conffile.c: Ditto.
3005 * server-src/diskfile.c: Ditto.
3006 * server-src/logfile.c: Ditto.
3007 * server-src/logfile.h: Ditto.
3008 * server-src/server_util.c: Ditto.
3010 2002-02-09 John R. Jackson (jrj@purdue.edu)
3012 * configure.in: Must look in both strings.h and string.h when trying
3013 to find function declarations (strncasecmp was not found on AIX
3014 but is really there and our override caused a mismatch error).
3016 2002-02-09 John R. Jackson (jrj@purdue.edu)
3018 * configure.in: Add code to test for a type defined in other than the
3019 autoconf expected locations. Use it to look for socklen_t.
3021 2002-02-08 John R. Jackson (jrj@purdue.edu)
3023 * server-src/amadmin.c (check_dumpuser): Make it fatal to attempt to
3024 do an operation that would alter any files when run as someone other
3025 than the dump user from amanda.conf. This should prevent files from
3026 ending up with incorrect ownership.
3028 2002-02-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3030 * man/amrecover.8.in (settape): Document that the hostname is required
3031 if the protocol (tape:, file:, rait:, null:) is specified.
3032 * man/amrecover.8.in (settape): Document that it is posible to
3033 change the tape device when asked to load tape.
3035 2002-02-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3037 * server-src/holding.c (scan_holdingdir): Create the list in
3040 2002-02-02 John R. Jackson (jrj@purdue.edu)
3042 * configure.in: Add unistd.h to list of places to look for ruserok()
3043 declaration. Reported by John Koenig <jfkoenig@vipb.com> on ALPHA
3046 2002-02-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3047 Reported by Roland E. Lipovits <rel@lipo.at0.net>
3049 * server-src/amstatus.pl.in: Don't double-counts the failed
3050 estimate partitions.
3052 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3054 * configure.in: New --with-maxtapeblocksize with a default of 32.
3055 * common-src/amanda.h: MAX_TAPE_BLOCK_KB is defined in amanda.h
3057 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3059 * common-src/fileheader.c (build_header): Never write the
3061 * common-src/fileheader.c (parse_file_header): Do not parse the
3064 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3066 * common-src/fileheader.c (build_header): Write the BLOCKSIZE= line
3067 after the dd if=... line.
3068 * common-src/fileheader.c (parse_file_header): Ignore unknown line.
3070 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3072 * server-src/driver.c: Init code to 0.
3074 2002-01-29 John R. Jackson (jrj@purdue.edu)
3076 * tape-src/output-tape.c (tape_tapefd_fsf): Some systems cannot deal
3077 with large stack variables, so allocate tape I/O buffers dynamically.
3078 * tape-src/tapeio.c (tapefd_rdlabel): Ditto.
3080 2002-01-25 John R. Jackson (jrj@purdue.edu)
3082 * server-src/driver.c: Log non-zero exit codes and signals from all
3083 the dumpers and taper.
3085 2002-01-25 John R. Jackson (jrj@purdue.edu)
3087 * server-src/amindexd.c: Clean up reporting of errors by gethostby*()
3088 functions. Make sure they always report what they were trying to
3089 look up, and don't bother reporting errno (it would be h_errno).
3090 * server-src/dumper.c: Ditto.
3091 * server-src/planner.c: Ditto.
3093 2002-01-17 Thomas Hepper <th@ant.han.de>
3095 * changer-src/scsi-changer-driver.c (DecodeSense): Check if it is
3096 an normal or an extended result from request sense, and only
3097 print the correct infos for the detected type.
3098 * changer-src/scsi-changer-driver.c (RequestSense): Use the passed
3099 pointer to store the result from request sense. Do not allocate
3100 an own buffer. Fixed the bufer size which is passed to teh SCSI
3102 * changer-src/scsi-changer-driver.c (ChangerStatus): Use the macros
3103 for setting the device to use for query, don't use fix values.
3104 * changer-src/scsi-changer-driver.c (SCSI_Run): skip the sleep
3105 if the status is ok, only sleep if we will loop.
3106 * changer-src/scsi-changer-driver.c (DebugPrint): Print an timestamp
3107 to see how many time is used between the prints and so see where
3110 2002-01-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3112 * common-src/fileheader.h (dumpfile_t): Add blocksize field.
3113 * common-src/fileheader.h (build_header): Change prototype.
3114 * common-src/fileheader.c (fh_init): blocksize default to
3116 * common-src/fileheader.c (parse_file_header): Parse BLOCKSIZE= line.
3117 * common-src/fileheader.c (build_header): Remove blocksize parameter,
3118 write the BLOCKSIZE= line.
3119 * tape-src/tapeio.c: set file.blocksize, Change call to build_header.
3120 * restore-src/amrestore.c: Ditto.
3121 * server-src/dumper.c: Ditto.
3122 * server-src/taper.c: Ditto.
3123 * server-src/holding.c: Ditto.
3125 2002-01-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3127 * changer-src/scsi-changer-driver.c (SCSI_ReadElementStatus):
3130 2002-01-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3132 * server-src/planner.c: Check for dp->todo.
3134 2002-01-10 Thomas Hepper <th@ant.han.de>
3136 * changer-src/scsi-changer-driver.c: Fixed prototype for SCSI_ReadElementStatus
3137 * changer-src/scsi-changer-driver.c (eject_tape): Fixed error in the rewind
3138 * changer-src/scsi-changer-driver.c (unload): Fixed error in the rewind logic
3139 * changer-src/scsi-changer-driver.c (load): Fixed error in the rewind logic
3140 * changer-src/scsi-changer-driver.c (GetElementStatus): Fixed error in the parameter list to SCSI_ReadElementStatus
3141 * changer-src/scsi-changer-driver.c (SCSI_ReadElementStatus): Changed the logic, if the size for DescriptorSize
3142 is 0 try to get the size the old way, if this parameter greate 0 take this value as the size for the data
3143 buffer which is used to hold the result. May fix a problem with an HP changer
3144 * changer-src/scsi-defs.h: Updated the structs for the different element types (Media Changer, Storage, Tape, Import)
3147 2002-01-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3148 Patch by Harlan Stenn <Harlan.Stenn@pfcs.com>
3150 * changer-src/chg-scsi.c: Typo.
3152 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3154 * changer-src/Makefile.am: Run `perl -c' on perl script.
3155 * client-src/Makefile.am: Ditto.
3156 * server-src/Makefile.am: Ditto.
3158 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3159 Reported by Geert Uytterhoeven <geert@linux-m68k.org>
3161 * README: Amanda compile on Linux/m68k.
3163 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3165 * changer-src/chg-rth.pl.in: Typo. fi -> }.
3167 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3168 Patch by Harlan Stenn <Harlan.Stenn@pfcs.com>
3170 * changer-src/chg-chio.pl.in: Typo. fi -> }.
3171 * changer-src/chg-chio.pl.in (prefix, exec_prefix): Set correctly.
3172 * changer-src/chg-chio.pl.in (max_picker): Init to -1.
3174 2002-01-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3176 * recover-src/extract_list.c (okay_to_continue_tape): Ignore \n
3179 2002-01-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3181 * server-src/amoverview.pl.in: Ignore some line from amadmin.
3183 2002-01-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3185 * Amanda 2.4.3b2 released
3186 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.3b2)
3187 * NEWS: New feature of amanda-2.4.3b2
3189 2002-01-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3191 * tape-src/output-tape.c (tape_tapefd_rewind, tape_tapefd_unload):
3193 * changer-src/scsi-irix.c (SCSI_OpenDevice): Cast to int.
3194 * common-src/match.c (clean_regex): Cast to int.
3196 2001-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3198 * config/ltconfig: Remove.
3199 * config/ltmain.sh, config/libtool.m4i: Update from libtool 1.4.2.
3200 * config/config.guess: Update from
3201 ftp://ftp.gnu.org/gnu/config/config.guess.
3202 * config/config.sub: Update from
3203 ftp://ftp.gnu.org/gnu/config/config.sub.
3204 * config/depcomp, config/install-sh, config/missing,
3205 config/mkinstalldirs: Update from automake 1.5.
3206 * config/Makefile.am (EXTRA_DIST): Remove ltconfig.
3208 2001-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3209 Patch by Harlan Stenn <Harlan.Stenn@pfcs.com>
3211 * configure.in: Add missing [.
3213 2001-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3215 * server-src/driver.c: Do not go in degraded mode in nodump mode.
3216 * server-src/conffile.c:Check many options to be sure they are positive.
3218 2001-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3220 * changer-src/chg-scsi.c (get_relative_target): return -1;
3221 * changer-src/scsi-irix.c (SCSI_ExecuteCommand): Remove Zero variable.
3222 * common-src/amanda.h: include strings.h if HAVE_STRINGS_H is defined.
3223 * server-src/amadmin.c (info_one): Remove lev0date variable.
3224 * server-src/amadmin.c (import_db): Remove vers_comment variable.
3225 * server-src/amindexd.c (main): Remove arg_len variable.
3226 * server-src/amtrmidx.c (main): Remove level_position and
3227 datestamp_position variables.
3228 * server-src/changer.c (changer_current): Remove checked variable.
3229 * server-src/conffile.c (read_confline): Check value of RESERVE.
3230 * server-src/conffile.c (get_tapetype): Check value of LENGTH and
3232 * server-src/diskfile.h: bit field of 1 bit must be unsigned.
3233 * server-src/driver.c (main): Don't check the value of RESERVE.
3234 * server-src/driver.c (find_diskspace): Remove as_pref variable.
3235 * server-src/driverio.c (getresult): cast cmd_t.
3236 * server-src/dumper.c (update_dataptr): save_type is a filetype_t.
3237 * server-src/find.c (search_logfile): Remove host_undo_ch and
3238 disk_undo_ch variables.
3239 * server-src/holding.c (pick_datestamp): Remove result variable.
3240 * server-src/server_util.c (getcmd): Loop on a cmd_t variable.
3241 * server-src/taper.c (tape_writer_side): Remove out_open variable.
3242 * tape-src/tapeio.c (tapefd_close): Cast to (void *).
3244 2001-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3246 * restore-src/amrestore.c: Fix compiler warning.
3247 * changer-src/chg-scsi.c: Ditto.
3248 * common-src/fileheader.c: Ditto.
3249 * changer-src/scsi-changer-driver.c: Ditto.
3250 * changer-src/scsi-defs.h: Ditto.
3251 * client-src/selfcheck.c: Ditto.
3253 2001-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3255 * configure.in: Set MAX_TAPE_BLOCK_KB on linux.
3257 2001-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3258 Patch by Blaz Zupan <blaz@amis.net>
3260 * changer-src/chg-zd-mtx.sh.in: typo.
3262 2001-12-20 Thomas Hepper <th@ant.han.de>
3263 * changer-src/scsi-changer-driver.c: Return error if the find_empty returns an error
3264 In function LogSense try to reset the error counter. Fixed wrong pDev struct pointer in
3265 TapeStatus. Must be INDEX_TAPECTL and not INDEX_TAPE at the start of the function
3267 2001-12-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3269 * client-src/selfcheck.c (check_access): New function (old check_file
3271 * client-src/selfcheck.c (check_file): Check that the filename is a
3273 * client-src/selfcheck.c (check_dir): Check that dirname is a directory.
3275 2001-12-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3276 Patch by Henning Schmiedehausen <henning@forge.intermeta.de>
3278 * common-src/file.c (safe_cd): Create the AMANDA_DBGDIR and
3279 AMANDA_TMPDIR directory.
3281 2001-12-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3283 * docs/Makefile.am (pkgdata_DATA): Include RAIT and VTAPE-API.
3285 2001-12-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3287 * server-src/amverify.sh.in: Check that @AMANDA_TMPDIR@ exist.
3288 * server-src/amrmtape.sh.in: Ditto.
3290 2001-12-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3292 * changer-src/Makefile.am: fix setting of libexec_PROGRAMS.
3294 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3296 * server-src/amstatus.pl.in: Work with amflush log.
3298 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3300 * server-src/driver.c (nodump): new argument, Don't start the dumpers
3302 * server-src/holding.c (get_flush): chdir to original cwd.
3303 * server-src/reporter.c: accept driver and amflush line in log.
3304 * server-src/amflush.c: exec driver to do the flushing.
3306 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3308 * server-src/amstatus.pl.in: Fixup for estimate, write flush line.
3310 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3312 * server-src/reporter.c (output_summary): Set origsize and
3315 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3317 * server-src/driver.c (start_some_dumps): Fixup length of dumporder.
3319 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3321 * recover-src/extract_list.c: You can change the tape device
3324 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3326 * restore-src/amrestore.c (restore): try to find the next chunk
3327 in the current directory.
3329 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3331 * example/amanda.conf.in: typo.
3333 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3335 Patch by Roland E. Lipovits <rel@lipo.at0.net>
3336 * example/amanda.conf.in: typo.
3338 2001-12-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3340 * server-src/dumper.c, server-src/taper.c: Replace TRY_AGAIN
3343 2001-11-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3345 * Amanda 2.4.3b1 released
3346 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.3b1)
3347 * NEWS: New feature of amanda-2.4.3
3349 2001-11-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3351 * server-src/diskfile.c (lookup_host): Match must be exact.
3353 2001-11-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3355 * server-src/planner.c: Add host, disk, datestamp and level on
3356 FLUSH line. Add datestamp on DUMP line.
3357 * server-src/driver.c (read_flush): Read new format of FLUSH line.
3358 * server-src/driver.c (read_schedule): Read new format of DUMP line.
3359 * server-src/amflush.c: Write a datestamp on stderr.
3360 * server-src/amdump.sh.in: Write a datestamp on stderr.
3361 * server-src/amstatus.pl.in: Works with autoflush.
3363 2001-11-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3365 * server-src/conffile.c (autoflush): New configuration options.
3366 * server-src/conffile.h (autoflush): New configuration options.
3367 * man/amanda.8.in: Document it.
3368 * example/amanda.conf.in: Document it.
3369 * server-src/holding.h (get_flush, pick_datestamp, pick_all_datestamp,
3370 cleanup_holdingdisk): New prototype.
3371 * server-src/holding.c (scan_holdingdir, cleanup_holdingdisk,
3372 get_flush): New function.
3373 * server-src/holding.c (pick_datestamp, pick_all_datestamp): New
3375 * server-src/amcleanupdisk.c: Change call to pick_all_datestamp.
3376 * server-src/amflush.c: Change call to pick_all_datestamp.
3377 * server-src/find.c: Change call to pick_all_datestamp.
3378 * server-src/planner.c: Write FLUSH line to driver, the schedule
3379 line contain the keyword DUMP.
3380 * server-src/planner.c: Add datestamp to SUCCESS and FAIL line.
3381 * server-src/amstatus.pl.in: New parsing of DUMP line.
3382 * server-src/driverio.h: New datestamp field in sched_t;
3383 * server-src/driver.c (build_diskspace): New function to build a
3384 assignedhd_t from an holding file.
3385 * server-src/driver.c (read_flush): New function to read the list
3387 * server-src/driver.c (read_schedule): Parse the keyword DUMP.
3388 * server-src/driver.c: Add datestamp to FAIL line.
3389 * server-src/dumper.c: Add datestamp to FAIL line.
3390 * server-src/reporter.c (timedata_t, repdata_t) : Major change of
3392 * server-src/taper.c: Add datestamp to FAIL line.
3394 2001-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3396 * server-src/conffile.c: New dumporder configuration.
3397 * server-src/conffile.h: Likewise.
3398 * server-src/driver.c (start_some_dumps): Use dumporder to
3399 select the next disk to dump.
3400 * example/amanda.conf.in: Give an example of dumporder.
3401 * man/amanda.8.in: Document it.
3403 2001-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3405 * recover-src/amrecover.h (cd_glob, cd_regex, cd_dir): New prototypes.
3406 * recover-src/set_commands.c (cd_glob, cd_regex, cd_dir): New functions.
3407 * recover-src/uparse.y: Add new token CDX, call cd_glob instead
3408 of set_directory for cd command, call cd_regex for cdx command.
3409 * recover-src/uscan.l: On cdx string return CDX token.
3410 * recover-src/help.c: Document it.
3411 * man/amrecover.8.in: Document it.
3413 2001-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3415 * server-src/taper.c: Backport from 2.5.0 the change to use only
3416 one cmd_t type for all program.
3417 * server-src/server_util.h: Likewise.
3418 * server-src/server_util.c: Likewise.
3419 * server-src/dumper.c.orig: Likewise.
3420 * server-src/dumper.c: Likewise.
3421 * server-src/driverio.h: Likewise.
3422 * server-src/driverio.c: Likewise.
3423 * server-src/driver.c: Likewise.
3424 * server-src/amflush.c: Likewise.
3426 2001-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3428 * server-src/reporter.c: Backport from 2.5.0 the change to allow
3429 the "[host [disk]*]*" arguments on command.
3430 * server-src/planner.c: Likewise.
3431 * server-src/logfile.h: Likewise.
3432 * server-src/logfile.c: Likewise.
3433 * server-src/find.h: Likewise.
3434 * server-src/find.c: Likewise.
3435 * server-src/diskfile.h: Likewise.
3436 * server-src/diskfile.c: Likewise.
3437 * server-src/amtrmidx.c: Likewise.
3438 * server-src/amindexd.c: Likewise.
3439 * server-src/amflush.c: Likewise.
3440 * server-src/amdump.sh.in: Likewise.
3441 * server-src/amcheck.c: Likewise.
3442 * server-src/amadmin.c: Likewise.
3443 * restore-src/amrestore.c: Likewise.
3444 * man/amrestore.8: Likewise.
3445 * man/amflush.8.in: Likewise.
3446 * man/amdump.8.in: Likewise.
3447 * man/amcheck.8.in: Likewise.
3448 * man/amanda.8.in: Likewise.
3449 * man/amadmin.8.in: Likewise.
3450 * common-src/match.c: Likewise.
3451 * common-src/amanda.h: Likewise.
3453 2001-10-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3455 * man/Makefile.am: add amdd.8 and ammt.8 to EXTRA_DIST.
3457 2001-09-26 John R. Jackson (jrj@purdue.edu)
3459 * server-src/reporter.c: Fix problem when column sizes are negative.
3461 2001-09-21 John R. Jackson (jrj@purdue.edu)
3463 * server-src/Makefile.am: Add -I../common-src so genversion.h can be
3464 found (since it is built on the fly). Only fails when build is done
3465 in a different directory than the sources.
3467 2001-09-17 John R. Jackson (jrj@purdue.edu)
3469 * server-src/getconf.c: Add capabilities to amgetconf to return
3470 build environment values and also to open and close a debug file
3472 * man/amgetconf.8.in: Ditto.
3473 * changer-src/chg-scsi.c: Ditto.
3474 * common-src/amanda.h: Ditto.
3475 * common-src/debug.c: Ditto.
3476 * common-src/error.c: Ditto.
3477 * server-src/dumper.c: Ditto.
3479 2001-09-17 John R. Jackson (jrj@purdue.edu)
3481 * server-src/planner.c: Make sure we do not attempt to bump beyond
3484 2001-09-15 Thomas Hepper (th@ant.han.de)
3485 * changer-src/chg-scsi.c: Added new config option autoinv,
3486 if not set no auto inventory will be done if the label db is out of
3487 sync. Reworked MapBarCode, now the parameters are passed as a struct
3488 and the result is returned in this struct (MBC_T),
3489 also removed some duplicate/nonsens code from MapBarCode
3490 Changed the definitions for slot_file. It was used duplicate,
3491 1. as the config file set by amanda.conf, and second set by the
3492 config option in the chg-scsi config file. Now the file from
3493 amanda.conf is called chg_scsi_conf. and changer_file is renamed
3495 Added check if cleanfile is not set, if true clean_file is set to NULL
3496 Now return if tape_device is not in the range 0-9.
3497 Added some checks if we have all informations like slot_file,
3498 devices etc. Fixed and error in the search function,
3499 if the searched vol is already loaded return the correct info
3500 and not 'label not found'. Fixed error in the parameter passing
3501 to get_relative_slot. If the option was -slot last we where
3502 1 above the end parameter..
3504 * changer-src/scsi-bsd.c: Fix compile problems.
3505 * changer-src/scsi-changer-driver.c: Fixed the last problems :-)
3506 for the label/barcode handling...
3507 * changer-src/scsi-defs.h: Added new struct MBC_T
3508 * changer-src/sense.c: Added some more messages for Exabyte 210 lib
3510 2001-09-01 John R. Jackson (jrj@purdue.edu)
3512 * client-src/sendsize.c: Fix memory allocation problem.
3514 2001-08-31 John R. Jackson (jrj@purdue.edu)
3516 * server-src/amindex.c: Fix memory leak. Compliments of Robert Minsk
3517 <egbert@centropolisfx.com>.
3518 * server-src/logfile.c: Fix memory leak. Compliments of Robert Minsk
3519 <egbert@centropolisfx.com>.
3521 2001-08-30 John R. Jackson (jrj@purdue.edu)
3523 * server-src/planner.c: Fix problem with maintenance of total level
3524 0 size when disk being brought back into the schedule was not doing
3525 a level 0. Compliments of Robert Minsk <egbert@centropolisfx.com>.
3527 2001-08-24 John R. Jackson (jrj@purdue.edu)
3529 * server-src/amverify.sh.in: Fix missing backtick error.
3531 2001-08-24 John R. Jackson (jrj@purdue.edu)
3533 * server-src/taper.c: Allocate buffers on page boundaries.
3535 2001-08-22 John R. Jackson (jrj@purdue.edu)
3537 * tape-src/Makefile.am: Add chown/chgrp rules for ammt/amdd install
3538 so they end up like all the other Amanda programs.
3540 2001-08-16 John R. Jackson (jrj@purdue.edu)
3542 * docs/Makefile.am: Fix PORTS.USAGE -> PORT.USAGE typo.
3544 2001-08-16 John R. Jackson (jrj@purdue.edu)
3546 * configure.in: Change release name to "2.4.2p2-tapeio". Add missing
3547 CAM header checks from the 2.5 branch.
3549 2001-08-15 Thomas Hepper (th@ant.han.de)
3550 * changer-src/chg-scsi.c. Removed version 1 DB support from mapBarCode. Changed the way parameter
3551 are given to MapBarCode and returned from there. No a struct is passed where all infos
3552 will be returned to the calling function.
3553 If eject is set we will not call LogSense in chg-scsi because it is also called in the
3555 * changer-src/scsi-defs.h: Added struct MBC_T used by MapBarCode.
3556 * changer-src/scsi-changer-driver.c: Changed all calls to MapBarCode to the new way
3558 2001-08-14 John R. Jackson (jrj@purdue.edu)
3560 * docs/EXCLUDE: New document from Andrew Hall <ahall@secureworks.net>
3561 describing how to set up and use GNU tar exclusions.
3562 * docs/Makefile.am: Added EXCLUDE and PORT.USAGE.
3564 2001-08-14 John R. Jackson (jrj@purdue.edu)
3566 * docs/PORT.USAGE: New document about how Amanda ports are used.
3568 2001-08-14 John R. Jackson (jrj@purdue.edu)
3570 * common-src/stream.c: Add stream_client_privileged() function to
3571 get a privileged port and fail if one is not available. The older
3572 stream_client() function gets a (non-privileged) port in the
3573 configured portrange, if set and possible, else anything available.
3574 * common-src/stream.h: Prototypes.
3575 * recover-src/amrecover.c: Use stream_client_privileged() instead of
3577 * recover-src/extract_list.c: Ditto.
3578 * configure.in: Added several more port range sanity checks. Added
3579 --with-tcpportrange as an alias for --with-portrange.
3581 2001-08-09 Thomas Hepper (th@ant.han.de)
3582 * changer-src/chg-scsi.c: Added check in MapBarCode if the labelfile
3583 parameter is empty, and if yes return.
3584 Added global variable do_inventory, and if set do an inventory before
3586 In MapBarCode changed the way the UPDATE_SLOT is done, now it uses
3587 the slot number passed to MapBarCode to find and update the record.
3588 * changer-src/scsi-changer-driver.c: Added def. for BreeceHill Q7
3589 Added global variables which are set by the tape_rdlabel function
3591 Reworked the way how the updates of the labelfile are done.
3592 * docs/TAPE.CHANGERS: Added note about solaris 8 and the sgen driver.
3594 2001-08-09 John R. Jackson (jrj@purdue.edu)
3596 * tape-src/output-tape.c: Missed a reference to TAPE_BLOCK_BYTES
3597 while doing the tapetype "blocksize" changes.
3599 2001-08-01 John R. Jackson (jrj@purdue.edu)
3601 * client-src/selfcheck.c: Fix typos I introduced into the PC subdir
3603 * client-src/sendbackup-gnutar.c: Ditto.
3604 * client-src/sendsize.c: Ditto.
3606 2001-08-01 Marko Injac <marko.injac@mail.insert.si> via John R. Jackson (jrj@purdue.edu)
3608 * client-src/findpass.c: Allow backup of subdirs of PC shares for
3609 amanda-2.4.1beta1 by Greg Shebert amanda-hackers list Tue Feb 1,
3610 2000. Ported to amanda-2.4.2p2 on debian potato by Marko Injac.
3611 * client-src/findpass.h: Ditto.
3612 * client-src/selfcheck.c: Ditto.
3613 * client-src/sendbackup-gnutar.c: Ditto.
3614 * client-src/sendsize.c: Ditto.
3615 * docs/SAMBA: Ditto.
3617 2001-08-01 John R. Jackson (jrj@purdue.edu)
3619 * client-src/sendsize.c: Prefix each debug line with sendsize process
3620 information to make picking out the output from a particular estimate
3621 run easier when maxdumps > 1.
3623 2001-08-01 John R. Jackson (jrj@purdue.edu)
3625 * server-src/amcheck.c: Unlink the temp files as soon as they are
3626 created so they always go away when amcheck terminates. Use
3627 pipespawn() instead of system() to call the MAILER program.
3629 2001-08-01 John R. Jackson (jrj@purdue.edu)
3631 * common-src/debug.c: Only rename files that end in ".debug".
3633 2001-08-01 John R. Jackson (jrj@purdue.edu)
3635 * common-src/pipespawn.c: Show empty pipespawn() args as "".
3637 2001-07-31 John R. Jackson (jrj@purdue.edu)
3639 * server-src/conffile.h: Add support for tapetype "blocksize" keyword.
3640 * server-src/conffile.c: Add tapetype "blocksize" keyword. Use
3641 DISK_BLOCK_KB where appropriate instead of TAPE_BLOCK_SIZE. Disallow
3642 negative tape length and tapemark size.
3643 * client-src/sendbackup.c: Use new STREAM_BUFSIZE constant. Use -1
3644 for new default buffer size flag.
3645 * common-src/alloc.c: Add new amtable_free() function. Adjust args
3646 to amtable_alloc() to be consistent with amtable_free().
3647 * common-src/amanda.h: Add new am_round() and am_floor() macros.
3648 Define new DISK_BLOCK_KB, DISK_BLOCK_BYTES, MAX_TAPE_BLOCK_KB,
3649 MAX_TAPE_BLOCK_BYTES constants. Remove TAPE_BLOCK_SIZE and
3651 * common-src/fileheader.c: Change write_header() to build_header().
3652 Add blocksize arg. Get rid of unused fill_buffer() function.
3653 * common-src/fileheader.h: Ditto.
3654 * common-src/stream.c: Use negative value to indicate default buffer
3656 * common-src/stream.h: Add NETWORK_BLOCK_BYTES and STREAM_BUFSIZE
3657 constants. Remove DATABUF_SIZE and DEFAULT_SIZE.
3658 * man/amanda.8.in: Document the new "blocksize" tapetype keyword.
3659 Document that "length" in tapetype has meaning to some output
3660 drivers. Fix "bumpdays" and "speed" defaults. Document new "file:"
3661 output driver record length data file.
3662 * man/amrestore.8: Add new "-b blocksize" arg. Add description of
3663 how to catalogue the images on a tape.
3664 * recover-src/amrecover.c: DEFAULT_SIZE -> -1.
3665 * recover-src/extract_list.c: DEFAULT_SIZE -> -1. Use DISK_BLOCK_BYTES
3666 instead of TAPE_BLOCK_BYTES for the header size.
3667 * restore-src/amrestore.c: Add new "-b blocksize" arg. Document how
3668 the header is handled. Deal with arbritrary tape record sizes.
3669 * server-src/amlabel.c: Use the tapetype blocksize.
3670 * server-src/driver.c: Use DISK_BLOCK_KB where appropriate instead of
3672 * server-src/dumper.c: Use DISK_BLOCK_BYTES and DISK_BLOCK_KB as
3673 appropropriate instead of older constants. Rewrite disk I/O buffer
3674 management. Never pad output stream (e.g. to holding disk). Use
3675 -1 for default stream buffer size.
3676 * server-src/holding.c: Change TAPE_BLOCK_BYTES to DISK_BLOCK_BYTES.
3677 Use fullread() instead of fill_buffer().
3678 * server-src/planner.c: Use tapetype blocksize instead of constant
3679 for tape length calculations.
3680 * server-src/taper.c: Support tapetype blocksize. Only pad writes if
3681 blocksize is negative. Reorganize shared memory buffers to put
3682 data on page boundaries. Try reducing tapebuf count if allocation
3684 * tape-src/output-file.c: Maintain record size information. Use mask
3685 and flags from caller.
3686 * tape-src/output-null.c: Use new amtable_alloc() arg order.
3687 * tape-src/output-rait.c: Use new amtable_alloc() arg order. Add
3688 private version of amtable_free() for standalone build. Fix off
3689 by one and other table allocation problems.
3690 * tape-src/output-rait.h: Maintain file descriptor count in the
3692 * tape-src/tapeio.c: Support tapetype blocksize. Use new
3693 amtable_alloc() arg order. Fix some error message text.
3694 * tape-src/tapeio.h: New prototypes with blocksize arg.
3695 * tape-src/tapetype.c: Add "-b blocksize" arg. Fix some end case
3698 2001-07-31 Ben Lewis (bhlewis@purdue.edu) via John R. Jackson (jrj@purdue.edu)
3700 * configure.in: Add missing CAM header checks from the 2.5 branch.
3702 2001-07-30 John R. Jackson (jrj@purdue.edu)
3704 * configure.in: Add CAM SCSI support section from the 2.5 branch.
3706 2001-07-30 Ben Lewis (bhlewis@purdue.edu) via John R. Jackson (jrj@purdue.edu)
3708 * recover-src/amrecover.c: Improve the "Unexpected server end of file"
3711 2001-07-30 Ben Lewis (bhlewis@purdue.edu) via John R. Jackson (jrj@purdue.edu)
3713 * man/amanda.8.in: Document includefile.
3714 * man/amdump.8.in: Add note that local crontab documention should be
3715 checked for proper syntax.
3716 * man/amrecover.8.in: Document use of PAGER environment variable.
3717 * man/amrestore.8: Document that GNU tar must be used as some vendor
3718 tar programs cannot read GNU tar format.
3719 * docs/FAQ: Update location of online FAQ.
3721 2001-07-25 John R. Jackson <jrj@purdue.edu>
3723 * docs/TAPE.CHANGER: Changes from Ben Lewis (bhlewis@purdue.edu) to
3724 document the new (but optional) searchable features.
3726 2001-07-20 John R. Jackson <jrj@purdue.edu>
3728 * common-src/security.c: Use NUM_STR_SIZE instead of hard coded
3730 * common-src/versuff.c.in: Ditto.
3732 2001-07-19 John R. Jackson <jrj@purdue.edu>
3734 * common-src/error.c: Add new function errordump() that acts like
3735 error() but calls abort() to (try to) drop core.
3736 * common-src/amanda.h: Prototype.
3737 * common-src/alloc.c: Call errordump() instead of error() for some
3738 memory allocation failures to aid traceback.
3740 2001-07-19 John R. Jackson <jrj@purdue.edu>
3742 * server-src/amadmin.c: Improve the error message when read_conffile()
3744 * server-src/amcheck.c: Ditto.
3745 * server-src/amcleanupdisk.c: Ditto.
3746 * server-src/amflush.c: Ditto.
3747 * server-src/amlabel.c: Ditto.
3748 * server-src/amlogroll.c: Ditto.
3749 * server-src/amtape.c: Ditto.
3750 * server-src/amtrmidx.c: Ditto.
3751 * server-src/amtrmlog.c: Ditto.
3752 * server-src/driver.c: Ditto.
3753 * server-src/dumper.c: Ditto.
3754 * server-src/getconf.c: Ditto.
3755 * server-src/planner.c: Ditto.
3756 * server-src/reporter.c: Ditto.
3757 * server-src/taper.c: Ditto.
3759 2001-07-19 John R. Jackson <jrj@purdue.edu>
3761 * server-src/driverio.c: Make the name "ps" reports match the dumper
3762 name (e.g. "dumper3").
3764 2001-07-18 John R. Jackson <jrj@purdue.edu>
3766 * changer-src/chg-chio.pl.in: Try to unload the drive before moving
3767 a tape back to a slot. Fixes a problem on Ecrix AutoPAK devices.
3768 Patch compliments of Sam Leffler <sam@errno.com>.
3770 2001-07-18 John R. Jackson <jrj@purdue.edu>
3772 * server-src/amverify.sh.in: Change to the Amanda temp directory
3773 instead of the config directory. In addition to making amverify
3774 act like most other Amanda programs, this gets around an
3777 2001-07-18 John R. Jackson <jrj@purdue.edu>
3779 * man/amanda.8.in: Describe the .amandahosts format better. Clean up
3780 a couple of minor typos.
3782 2001-07-13 John R. Jackson <jrj@purdue.edu>
3784 * common-src/dgram.h: Improve UDP datagram size calculation.
3785 * server-src/amcheck.c: Break up large requests into pieces.
3786 * server-src/planner.c: Break up large requests into pieces.
3788 2001-07-12 John R. Jackson <jrj@purdue.edu>
3790 * tape-src/amdd.c: Use tapefd_close() in amdd if the file was
3791 opened with tape_open(). This does any necessary output driver
3792 cleanup (such as moving the current file position for "file:").
3794 2001-07-12 John R. Jackson <jrj@purdue.edu>
3796 * Makefile.am: Fix automake warning.
3798 2001-07-11 John R. Jackson <jrj@purdue.edu>
3800 * tape-src/tapetype.c: Use tapefd_write() instead of write().
3802 2001-07-11 John R. Jackson <jrj@purdue.edu>
3804 * common-src/file.c: Fix a memory leak. Grab exponentially larger
3805 chunks of memory up to a point, then level out.
3807 2001-07-11 John R. Jackson <jrj@purdue.edu>
3809 * tape-src/tapetype.c: Only report a pass summary when stderr is not
3810 a tty. Deal with some obscure end cases.
3812 2001-07-10 John R. Jackson <jrj@purdue.edu>
3814 * server-src/Makefile.am: Backport development branch chg-scsi code
3816 * changer-src/chg-scsi.c: Ditto.
3817 * changer-src/libscsi.h: Ditto.
3818 * changer-src/scsi-aix.c: Ditto.
3819 * changer-src/scsi-bsd.c: Ditto.
3820 * changer-src/scsi-cam.c: Ditto.
3821 * changer-src/scsi-changer-driver.c: Ditto.
3822 * changer-src/scsi-defs.h: Ditto.
3823 * changer-src/scsi-hpux.c: Ditto.
3824 * changer-src/scsi-hpux_new.c: Ditto.
3825 * changer-src/scsi-irix.c: Ditto.
3826 * changer-src/scsi-linux.c: Ditto.
3827 * changer-src/scsi-solaris.c: Ditto.
3828 * changer-src/sense.c: Ditto.
3830 2001-07-10 John R. Jackson <jrj@purdue.edu>
3832 * server-src/amcheck.c: Move user name check before attempt to create
3833 temp files so more appropriate error message is generated.
3835 2001-07-09 John R. Jackson <jrj@purdue.edu>
3837 * common-src/dgram.c: Fix error end case unitialized variable.
3839 2001-07-05 John R. Jackson <jrj@purdue.edu>
3841 * docs/TAPE.CHANGERS: Minor docs/TAPE.CHANGERS update to clarify
3842 that -slot and -eject unload and put the current tape away.
3844 2001-07-02 John R. Jackson <jrj@purdue.edu>
3846 * changer-src/chg-manual.sh.in: Add yet another ONLINEREGEX, this one
3847 compliments of Nick (n_hibma@qubesoft.com) for some FreeBSD variant.
3849 2001-06-29 John R. Jackson <jrj@purdue.edu>
3851 * tape-src/tapeio.c: Move the device name parsing routines from the
3852 RAIT module to tapeio and make them generic. This allows one
3853 module to open another, e.g. rait:{null:,z1,z2,z3}. Maintain
3854 both the original open flags and mask and use them on the real open.
3855 * tape-src/amdd.c: Make sure this compiles "stand-alone". To do so,
3856 use: gcc -Wall -DNO_AMANDA amdd.c output-rait.c output-tape.c.
3857 Abort as soon as one of the open calls fails instead of waiting
3858 for read/write to report a bad file descriptor.
3859 Pass a mask to the open function in case the output is created.
3860 * tape-src/ammt.c: Make sure this compiles "stand-alone". To do so,
3861 use: gcc -Wall -DNO_AMANDA ammt.c output-rait.c output-tape.c.
3862 * tape-src/output-file.c: Maintain both the original open flags and
3863 mask and use them on the real open.
3864 * tape-src/output-null.c: Ditto.
3865 * tape-src/output-file.h: Change to non-prototype declaration of
3866 file_tape_open() to deal with the optional mask parameter.
3867 * tape-src/output-null.h: Ditto.
3868 * tape-src/output-tape.h: Ditto.
3869 * tape-src/tapeio.h: Ditto. Add device name parsing prototypes.
3870 * tape-src/output-rait.c: Make sure this compiles "stand-alone".
3871 Maintain both the original open flags and mask and use them on the
3873 * tape-src/output-rait.h: Make sure this compiles "stand-alone".
3874 * tape-src/output-tape.c: Make this part of the "stand-alone" compile
3875 of ammt and amdd since it knows all the proper ioctl operations.
3876 Maintain both the original open flags and mask and use them on the
3879 2001-06-27 John R. Jackson <jrj@purdue.edu>
3881 * changer-src/chg-manual.sh.in: Add "bs=32k" to the dd command so
3882 some kernels would not complain about the tape block being larger
3884 * changer-src/chg-mtx.sh.in: Ditto.
3886 2001-06-21 John R. Jackson <jrj@purdue.edu>
3888 * server-src/planner.c: If the compression rate is very small (such
3889 as zero after some types of errors) and FORCE_FULL is set, a path
3890 is taken that (among other bad things) generates a schedule that
3891 driver cannot read (syntax errors).
3892 * server-src/conffile.c: Do not allow negative comprate values.
3894 2001-06-19 John R. Jackson <jrj@purdue.edu>
3896 * server-src/holding.c: Use fullread() instead of read() to read the
3899 2001-06-19 John R. Jackson <jrj@purdue.edu>
3901 * server-src/amtape.c: Document "slot advance" in the help output.
3903 2001-06-19 John R. Jackson <jrj@purdue.edu>
3905 * server-src/amindexd.c: Minor gethostbyaddr() argument change to be
3906 consistent with other Amanda usage.
3908 2001-06-19 John R. Jackson <jrj@purdue.edu>
3910 * server-src/amverify.sh.in: Better cross platform tar detection.
3912 2001-06-19 John R. Jackson <jrj@purdue.edu>
3914 * server-src/amverify.sh.in: More of the vrestore vs. 'b' flag change.
3916 2001-06-19 John R. Jackson <jrj@purdue.edu>
3918 * recover-src/amrecover.c: Add more debugging to guess_disk()
3919 function to better track how the disk is determined from the
3920 current working directory. Report current working directory in
3921 error message. Change "Trying" to "Trying disk" to distinguish
3922 this from host attempts.
3923 * recover-src/set_commands.c: Remove redundant amfree() call. Remove
3924 redundant "OISD /" exchange. Change "Trying" to "Trying host" to
3925 distinguish this from disk attempts.
3927 2001-06-18 John R. Jackson <jrj@purdue.edu>
3929 * recover-src/extract_list.c: Do not pass a 'b' (blocking) factor
3930 flag to vrestore. Some versions do not like it.
3932 2001-06-18 John R. Jackson <jrj@purdue.edu>
3934 * common-src/dgram.c: Use a sin_addr arg to inet_ntoa() like all the
3936 * common-src/stream.c: Ditto.
3938 2001-06-18 John R. Jackson <jrj@purdue.edu>
3940 * changer-src/chg-manual.sh.in: Add yet another online regex. Found
3941 by George Herson <gherson@snet.net>.
3943 2001-06-01 John R. Jackson <jrj@purdue.edu>
3945 * server-src/amindexd.c (build_disk_table): Make sure a holding disk
3946 image is used rather than a copy also on tape, if both exist.
3948 2001-05-29 John R. Jackson <jrj@purdue.edu>
3950 * server-src/reporter.c: Fix PostScript output to only show what went
3951 on the tape, not what the total amount dumped. Compliments of
3952 Joshua Baker-LePain <jlb17@duke.edu>.
3954 2001-05-18 John R. Jackson <jrj@purdue.edu>
3956 * client-src/patch-system.sh.in: Missed a reference to kamanda in the
3957 last patch. Compliments of Tom Schutter <t.schutter@att.net>.
3959 2001-05-16 John R. Jackson <jrj@purdue.edu>
3961 * client-src/patch-system.sh.in: Go ahead and update /etc/services
3962 on a client even if the services themselves are not turned on to
3963 inetd. Compliments of Tom Schutter <t.schutter@att.net>. Add
3964 the TCP port for amandad for future use.
3966 2001-05-15 John R. Jackson <jrj@purdue.edu>
3968 * restore-src/amidxtaped.c: Call tape_stat() instead of stat() to
3969 decide if an image is a file or a tape.
3971 2001-05-14 John R. Jackson <jrj@purdue.edu>
3973 * client-src/amandad.c: Fix hang when the incoming packet size is
3974 larger than the pipe buffer. Also fix a buffer overflow bug.
3976 2001-05-11 John R. Jackson <jrj@purdue.edu>
3978 * changer-src/chg-scsi.c: Add support for "-slot advance".
3980 2001-05-11 John R. Jackson <jrj@purdue.edu>
3982 * common-src/util.c (bind_portrange): Log a debug message stating
3983 explicitly that all ports in the requested range were busy, or
3984 that a specific port failed bind() for an unexpected reason.
3986 2001-05-11 John R. Jackson <jrj@purdue.edu>
3988 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.2p2)
3990 2001-05-10 John R. Jackson <jrj@purdue.edu>
3992 * changer-src/scsi-changer-driver.c: Fix routine name in diagnostic
3993 messages for DLT4000Eject.
3995 2001-05-07 John R. Jackson <jrj@purdue.edu>
3997 * client-src/sendbackup-dump.c: Do not use full path to sed. Found by
3998 Roland E. Lipovits (rel@lipo.at0.net).
4000 2001-05-04 John R. Jackson <jrj@purdue.edu>
4002 * config/depcomp: Fix problem with argument processing and update to
4005 2001-04-25 John R. Jackson <jrj@purdue.edu>
4007 * changer-src/chg-rth.pl.in: Add exec_prefix back since it is usually
4008 used to define sbindir. Sigh. Include X=X assignments to get rid
4009 of the Perl warnings.
4010 * server-src/amoverview.pl.in: Ditto.
4012 2001-04-24 John R. Jackson <jrj@purdue.edu>
4014 * changer-src/chg-chio.pl.in: Remove unused exec_prefix to get rid of
4015 warning message. Patch from Nick Hibma <n_hibma@qubesoft.com>.
4017 2001-04-23 John R. Jackson <jrj@purdue.edu>
4019 * client-src/selfcheck.c: Allow Samba shares with no password.
4020 * client-src/sendbackup-gnutar.c: Ditto.
4021 * client-src/sendsize.c: Ditto.
4023 2001-04-21 John R. Jackson <jrj@purdue.edu>
4025 * tape-src/output-tape.c: Fix IRIX field reference (patch from Marc
4026 W. Mengel <mengel@fnal.gov>).
4028 2001-04-13 John R. Jackson <jrj@purdue.edu>
4030 * example/amanda.conf.in: Fix multiple holding disks comment.
4031 * example/amanda.conf.chg-scsi.in: Ditto, plus bring this file into
4032 sync with the base version.
4034 2001-04-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4036 * client-src/getfsent.h (search_fstab): New prototype.
4037 * client-src/getfsent.c (search_fstab): New arg check_dev, skip
4038 entry if check_dev==1 and device stats failed.
4039 * client-src/getfsent.c (open_fstab for linux): Open MOUNTED.
4040 * client-src/getfsent.c (close_fstab for linux): close MOUNTED.
4041 * client-src/getfsent.c (get_fstab_nextentry for linux): parse MOUNTED.
4042 * client-src/getfsent.c (amname_to_devname, amname_to_dirname,
4043 amname_to_fstype): Call search_fstab sequentialy with 1 and 0
4046 2001-04-10 John R. Jackson <jrj@purdue.edu>
4048 * docs/INSTALL: Update location to GNUPLOT per Lars Hecking
4051 2001-04-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4053 * config/config.guess: Upgrade from ftp://ftp.gnu.org/pub/gnu/config
4054 * config/config.sub: Upgrade from ftp://ftp.gnu.org/pub/gnu/config
4055 * config/mkinstalldirs: Upgrade from automake CVS.
4057 2001-04-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4059 * config/depcomp: new file for automake.
4061 2001-04-03 John R. Jackson <jrj@purdue.edu>
4063 * Makefile.am: Remove *.test.c from the distribution.
4065 2001-04-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4066 Upgrade to the 2.5.0 code.
4068 * changer-src/chg-zd-mtx.sh.in: Added barcode reader support,
4069 >9 tape slot support, variable for 'offline' or 'ONLINE'
4070 return value of tape device, and multi-config support. Moved
4071 all user settable variables to 'changerfile'.conf in the
4072 amanda config directory. Added commented out example of .conf
4074 * NEWS: updated chg-zd-mtx.sh.in changer.
4076 2001-04-02 John R. Jackson <jrj@purdue.edu>
4078 * NEWS: Initial notes for 2.4.2p2.
4080 2001-03-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4082 * client-src/getfsent.c (search_fstab): If the device doesn't
4083 exist, it will take the entry from /etc/mtab.
4085 2001-03-26 John R. Jackson <jrj@purdue.edu>
4087 * server-src/amtape.c: Do not rewind for slot "advance". Do not report
4088 device name (which is bogus) for slot "advance".
4090 2001-03-23 John R. Jackson <jrj@purdue.edu>
4092 * example/amanda.conf.in: Add warning that the sample amanda.conf
4093 will not work as is and must be edited to match the installation.
4095 2001-03-21 John R. Jackson <jrj@purdue.edu>
4097 * recover-src/extract_list.c (extract_files_child): Fix problem that
4098 caused xfsrestore arg list to not be NULL terminated.
4100 2001-03-19 John R. Jackson <jrj@purdue.edu>
4102 * configure.in: Add --with-debug-days (default is 4) and remove
4103 --with-pid-debug-files.
4104 * common-src/Makefile.am: Clean up test program dependencies.
4105 * common-src/debug.c: Create timestamped debug file names and remove
4106 files older (based on file name) than --with-debug-days. Rename old
4107 style names to new style (based on modification time) the first time
4109 * common-src/file.c: Use construct_datestamp() instead of private code.
4110 * common-src/genversion.c: Display AMANDA_DEBUG_DAYS and remove
4111 DEBUG_FILE_WITH_PID.
4112 * common-src/util.c: Move construct_datestamp to here and add new
4113 function construct_timestamp. Change time used to build string to
4114 be an optional parameter instead of always getting it in the routine.
4115 * common-src/util.h: Add prototypes.
4116 * server-src/amcleanupdisk.c: Change construct_datestamp call to pass
4117 indication that it should get the current time.
4118 * server-src/amflush.c: Ditto.
4119 * server-src/driver.c: Ditto.
4120 * server-src/dumper.c: Ditto.
4121 * server-src/planner.c: Ditto.
4122 * server-src/server_util.c: Remove construct_datestamp (now in util.c).
4123 * server-src/server_util.h: Remove prototype.
4125 2001-03-15 John R. Jackson <jrj@purdue.edu>
4127 * server-src/planner.c (analyze_estimate): Do not do an incremental
4128 if FORCE_NO_BUMP is set and the last dump was a level 0.
4130 2001-03-14 John R. Jackson <jrj@purdue.edu>
4132 * server-src/amcheck.c: Change message from NOTE to WARNING when
4133 the hold file exists.
4134 * man/amcheck.8.in: Ditto.
4136 2001-03-14 John R. Jackson <jrj@purdue.edu>
4138 * client-src/selfcheck.c: Send smbclient via pipe instead of command
4139 line arg. Various minor cleanups. Use pipespawn instead of system()
4140 to clean up quoting problems and be consistent with sendsize and
4142 * client-src/sendbackup-dump.c: Send smbclient via pipe instead of
4143 line arg. Various minor cleanups.
4144 * client-src/sendbackup-gnutar.c: Send smbclient via pipe instead of
4145 line arg. Various minor cleanups. Clean up listed incremental file
4147 * client-src/sendbackup.c: Various minor cleanups.
4148 * client-src/sendsize.c: Send smbclient via pipe instead of command
4149 line arg. Various minor cleanups. Clean up listed incremental file
4151 * common-src/pipespawn.c: Support optional password pipe. Various
4153 * common-src/pipespawn.h: Support optional password pipe. Various
4155 * common-src/util.c: Backport fullread() and fullwrite() from main
4157 * common-src/util.h: Backport fullread() and fullwrite() from main
4159 * docs/SAMBA: Update and cleanup.
4161 2001-03-13 John R. Jackson <jrj@purdue.edu>
4163 * recover-src/extract_list.c (extract_files_child): Fix xfsrestore
4164 argument list processing.
4166 2001-03-09 John R. Jackson <jrj@purdue.edu>
4168 * server-src/taper.c: Initialize tape_fd to -1 and test in a couple
4169 more places. Run normal protocol after a tape startup error (e.g.
4170 "cannot overwrite") instead of just exiting to keep driver from
4171 reporting a broken pipe.
4173 2001-03-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4174 Reported by Eric Schnoebelen <eric@cirr.com>
4176 * server-src/changer.c (): Fix fd leak.
4178 2001-02-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4180 * server-src/amadmin.c (info_one): typo.
4181 * server-src/planner.c (setup_estimate): Don't re-ask for level 0
4182 if last_level is 0 and FORCE_NO_BUMP is set.
4184 2001-02-27 John R. Jackson <jrj@purdue.edu>
4186 * common-src/stream.h: Move DATABUF_SIZE to stream.h.
4187 * client-src/sendbackup.c: Do not ask for a big receive buffer.
4188 * server-src/dumper.c: Ask for a bigger send buffer. Minor typos.
4189 * server-src/taper.c: Ask for a bigger receive buffer.
4190 * recover-src/amrecover.c: Use stream_client instead of specific
4191 (and incorrect) bind() code.
4192 * recover-src/extract_list.c: Ditto.
4194 2001-02-27 John R. Jackson <jrj@purdue.edu>
4196 * common-src/dgram.c: Add lots more error logging to help track down
4199 2001-02-27 John R. Jackson <jrj@purdue.edu>
4201 * common-src/stream.c: Add lots more error logging to help track down
4204 2001-02-27 John R. Jackson <jrj@purdue.edu>
4206 * server-src/amtape.c: Rewind after loading a slot either by slot
4209 2001-02-27 John R. Jackson <jrj@purdue.edu>
4211 * configure.in: Copy ssize_t type check code from main branch.
4213 2001-02-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4215 * docs/SYSTEM.NOTES: change cs.umd.edu by amanda.org.
4217 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4219 * server-src/amindexd.c (uncompress_file): remove uncompressed
4220 index file if the command failed.
4222 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4224 * changer-src/scsi-changer-driver.c (GenericRewind): init ret to 0
4225 to remove compiler warning.
4227 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4229 * server-src/planner.c (setup_estimate): ask for level 0 for
4230 a new disk if force-bump is set,
4231 log force-bump and force-nobump command.
4233 2001-02-21 Thomas Hepper <thqant.han.de>
4234 * changer-src/scsi-changer-driver.c: Do an Test Unit Ready
4235 before sending SCSI commands in GenericRewind
4236 * changer-src/chg-scsi.c: Fixed an type in the debug print
4239 2001-02-09 John R. Jackson <jrj@purdue.edu>
4241 * server-src/diskfile.c: Fix core dump in test program.
4243 2001-02-09 John R. Jackson <jrj@purdue.edu>
4245 * tape-src/output-file.c: Use a "data" subdirectory of the main
4246 file driver device directory to hold the tape "files". This
4247 allows the status file to be moved to the main directory.
4248 * man/amanda.8.in: Document these changes.
4250 2001-02-05 John R. Jackson <jrj@purdue.edu>
4252 * man/amanda.8.in: Fix mailto to space separated, not comma.
4254 2001-02-03 John R. Jackson <jrj@purdue.edu>
4256 * .cvsignore: Add entries to keep CVS quiet.
4257 * */.cvsignore: Ditto.
4259 2001-02-03 John R. Jackson <jrj@purdue.edu>
4261 * client-src/Makefile.am: Add CLEANFILES rule to remove *.test.c.
4262 * common-src/Makefile.am: Add more sources as needed to the test
4263 programs so they would compile.
4264 * server-src/Makefile.am: Create TEST_PROGS make variable ala the
4265 other Makefile.am files.
4266 * tape-src/Makefile.am: Add CLEANFILES rule to remove *.test.c.
4268 2001-02-02 John R. Jackson <jrj@purdue.edu>
4270 * server-src/reporter.c: Fix problem with enum being unsigned on
4273 2001-01-29 John R. Jackson <jrj@purdue.edu>
4275 * tape-src/output-tape.c (tape_tapefd_status): Convert flag values
4276 to booleans (compliments of Marc W. Mengel <mengel@fnal.gov>).
4277 * tape-src/tapeio.c (tape_fsf): Use ap_snprintf instead of snprintf
4278 (also compliments of Marc).
4280 2001-01-26 John R. Jackson <jrj@purdue.edu>
4282 * changer-src/Makefile.am: Double up the references to libamanda to
4283 handle systems that put regex in strange places.
4284 * client-src/Makefile.am: Ditto.
4285 * recover-src/Makefile.am: Ditto.
4286 * restore-src/Makefile.am: Ditto.
4287 * server-src/Makefile.am: Ditto.
4288 * tape-src/Makefile.am: Ditto.
4290 2001-01-24 John R. Jackson <jrj@purdue.edu>
4292 * docs/VTAPE-API: Added.
4294 2001-01-23 John R. Jackson <jrj@purdue.edu>
4296 * configure.in: Add tapeio switch from Marc Mengel <mengel@fnal.gov>,
4297 enhance and add "null" and "file" output drivers. Change all
4298 tape changers (except chg-scsi) to use amdd and ammt. Change all
4299 tape changers (except chg-scsi) to log and use a consistent
4300 error reporting scheme. Fix various bugs along the way. Add new
4301 chg-multi config option, posteject, which is an optional script
4302 to call after each "tape" is ejected (e.g. to use to start a
4303 CDROM writer). Remove special code for tapedev of /dev/null
4304 (now handled by the "null" output driver). Changed the taper
4305 protocol to pass the host/disk/level so the write can send that
4306 along to the output driver. Fairly major rework of amrestore
4307 to clean up tape/non-tape and other oddities.
4308 * changer-src/chg-chio.pl.in: Ditto.
4309 * changer-src/chg-chs.sh.in: Ditto.
4310 * changer-src/chg-manual.sh.in: Ditto.
4311 * changer-src/chg-mtx.sh.in: Ditto.
4312 * changer-src/chg-multi.sh.in: Ditto.
4313 * changer-src/chg-rth.pl.in: Ditto.
4314 * changer-src/chg-zd-mtx.sh.in: Ditto.
4315 * client-src/sendbackup.c: Ditto.
4316 * common-src/alloc.c: Ditto.
4317 * common-src/amanda.h: Ditto.
4318 * docs/INTERNALS: Ditto.
4319 * man/Makefile.am: Ditto.
4320 * man/amanda.8.in: Ditto.
4321 * man/amdd.8: Ditto.
4322 * man/ammt.8: Ditto.
4323 * restore-src/amrestore.c: Ditto.
4324 * server-src/amcheck.c: Ditto.
4325 * server-src/amlabel.c: Ditto.
4326 * server-src/amtape.c: Ditto.
4327 * server-src/amverify.sh.in: Ditto.
4328 * server-src/conffile.c: Ditto.
4329 * server-src/conffile.h: Ditto.
4330 * server-src/taper.c: Ditto.
4331 * tape-src/Makefile.am: Ditto.
4332 * tape-src/amdd.c: Ditto.
4333 * tape-src/ammt.c: Ditto.
4334 * tape-src/output-file.c: Ditto.
4335 * tape-src/output-file.h: Ditto.
4336 * tape-src/output-null.c: Ditto.
4337 * tape-src/output-null.h: Ditto.
4338 * tape-src/output-rait.c: Ditto.
4339 * tape-src/output-rait.h: Ditto.
4340 * tape-src/output-tape.c: Ditto.
4341 * tape-src/output-tape.h: Ditto.
4342 * tape-src/tapeio.c: Ditto.
4343 * tape-src/tapeio.h: Ditto.
4344 * tape-src/tests/amtapeio.test.000: Ditto.
4345 * tape-src/tests/amtapeio.test.001: Ditto.
4346 * tape-src/tests/amtapeio.test.002: Ditto.
4347 * tape-src/tests/amtapeio.test.003: Ditto.
4348 * tape-src/tests/amtapeio.test.004: Ditto.
4349 * tape-src/tests/amtapeio.test.005: Ditto.
4350 * tape-src/tests/amtapeio.test.006: Ditto.
4351 * tape-src/tests/amtapeio.test.007: Ditto.
4352 * tape-src/tests/amtapeio.test.008: Ditto.
4353 * tape-src/tests/amtapeio.test.009: Ditto.
4354 * tape-src/tests/amtapeio.test.010: Ditto.
4355 * tape-src/tests/amtapeio.test.011: Ditto.
4356 * tape-src/tests/amtapeio.test.012: Ditto.
4357 * tape-src/tests/amtapeio.test.013: Ditto.
4358 * tape-src/tests/amtapeio.test.014: Ditto.
4359 * tape-src/tests/amtapeio.test.015: Ditto.
4360 * tape-src/tests/amtapeio.test.016: Ditto.
4361 * tape-src/tests/amtapeio.test.017: Ditto.
4362 * tape-src/tests/amtapeio.test.018: Ditto.
4363 * tape-src/tests/cleartape: Ditto.
4364 * tape-src/tests/newtest: Ditto.
4365 * tape-src/tests/rerun: Ditto.
4366 * tape-src/tests/runtest: Ditto.
4367 * tape-src/tests/testdist: Ditto.
4368 * tape-src/tests/torture: Ditto.
4370 2001-01-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4372 * server-src/driverio.h (sched_t): new field no_space.
4373 * server-src/driver.c (start_some_dumps): don't start a disk if
4375 * server-src/driver.c (continue_dumps): set no_space if it's the
4376 only active dumpers, case c.
4377 * server-src/driver.c (read_schedule): set no_space to 0.
4379 2001-01-23 John R. Jackson <jrj@purdue.edu>
4381 * configure.in: Test for setmntent.
4382 * client-src/getfsent.c: Add some support for Redhat 7 /etc/fstab
4383 changes that indirectly reference the device for a file system.
4385 2001-01-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4387 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.2p1)
4389 2001-01-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4391 * NEWS: 2.4.2p1 is a bug fix release.
4393 2001-01-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4395 * docs/INSTALL: Notes about tar-1.13.19
4397 2001-01-07 Thomas Hepper <th@ant.han.de>
4399 * changer-src/chg-scsi.c: Moved defs. for config_t and changer_t
4401 New option havebarcode to force the reading of the barcode labels
4402 * changer/src/scsi-changer-driver.c: GenericBarCode now returns
4403 true/false depending on the setting of havebarcode.
4404 Removed EXB230DElementStatus, the exsisting Exabyte function works.
4405 Fixed more warnings from -Wshadow
4407 2001-01-04 John R. Jackson <jrj@purdue.edu>
4409 * common-src/error.c (error): If the debug file pointer is set, log
4410 any fatal error message to it and close the file so it has a good
4411 trace of what happened and when.
4413 2001-01-04 John R. Jackson <jrj@purdue.edu>
4415 * client-src/killpgrp.c: Calls to error() do not need a newline.
4417 2001-01-04 John R. Jackson <jrj@purdue.edu>
4419 * man/amanda.8.in: Try to make it clearer that dumpcycle and maxdumps
4420 changes in the main part of the config file must appear before any
4421 dumptype definitions, and also that inherited dumptypes must appear
4422 before their reference.
4424 2001-01-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4426 * server-src/driver.c (continue_dumps): Don't reduce est_size if
4427 it is already larger than holding space allocated.
4428 * server-src/dumper.c: Better handling of ENOSPC from open() and
4431 2001-01-04 John R. Jackson <jrj@purdue.edu>
4433 * server-src/conffile.c (main): Fix conffile test program so it builds
4436 2001-01-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4438 * changer-src/scsi-defs.h (ChangerCMD_T): replace array function
4439 pointer by enumerated pointers.
4440 * changer-src/scsi-changer-driver.c: Use new calling convention.
4442 2001-01-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4444 * server-src/amstatus.pl.in: Better support for TRY-AGAIN and
4445 ABORT-FINISHED result.
4447 2001-01-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4448 Patch by Andreas F Mueller <afm@othello.ch>
4450 * server-src/amadmin.c (force_no_bump_one): Fix message.
4452 2000-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4454 * server-src/planner.c (analyze_estimate): pick incremental level
4455 if no estimate of level 0.
4457 2000-12-24 John R. Jackson <jrj@purdue.edu>
4459 * server-src/getconf.c: Fix free() of static text string (BUGGY) when
4460 the parameter being looked up is bad.
4462 2000-12-23 David Wolfskill <dhw@whistle.com>
4464 * server-src/amcheck.c (start_server_check): Change directory
4465 writable check to be for the tapelist directory instead of
4466 the config file directory. Remove config file directory test.
4467 * man/amcheck.8.in: Add mention of tapelist directory and do
4468 some other directory writable cleanup.
4470 2000-12-13 John R. Jackson <jrj@purdue.edu>
4472 * docs/Makefile.am: Removing entries for missing RAIT/VTAPE-API files.
4474 2000-12-13 John R. Jackson <jrj@purdue.edu>
4476 * tape-src/tapeio.c: De-commit the RAIT feature from 2.4.2. It will
4477 be in 2.5 and 2.4.2-multitape.
4478 * tape-src/tapeio.h: Ditto.
4479 * tape-src/Makefile.am: Ditto.
4481 2000-12-12 John R. Jackson <jrj@purdue.edu>
4483 * client-src/sendbackup-gnutar.c: Fix regex pattern to accept blanks
4486 2000-12-12 John R. Jackson <jrj@purdue.edu> and Marc Mengel <mengel@fnal.gov>
4488 * Makefile.am: Work around problem with automake 1.4 not including
4490 * docs/RAIT: New file.
4491 * docs/VTAPE-API: New file.
4492 * docs/Makefile.am: Include RAIT and VTAPE-API in distribution.
4493 Work around problem with automake 1.4 not including pkgdata_DATA.
4494 * tape-src/output-rait.h: New File providing RAIT virtual tape type.
4495 * tape-src/output-rait.c: New File providing RAIT virtual tape type.
4496 * tape-src/Makefile.am: Add output-rait.c.
4497 * tape-src/tapeio.c: Major Surgery.
4498 (vtable): New static table of virtual tape types.
4499 (fdtable): New static table mapping file descriptors.
4500 (tapefd_fsf_ioctl): Renamed tapefd_fsf, with added ioctl argument.
4501 (tapefd_rewind_ioctl): Likewise.
4502 (tapefd_unload_ioctl): Likewise.
4503 (tapefd_weof_ioctl): Likewise.
4504 (tapefd_status_ioctl): Likewise.
4505 (tape_open): Now is a virtual tape table lookup and call.
4506 (tape_access): Now is a switch through virtual tape table.
4507 (tape_stat): Likewise.
4508 (tapefd_close): Likewise.
4509 (tapefd_fsf): Likewise.
4510 (tapefd_read): Likewise.
4511 (tapefd_rewind): Likewise.
4512 (tapefd_resetofs): Likewise.
4513 (tapefd_unload): Likewise.
4514 (tapefd_status): Likewise.
4515 (tapefd_weof): Likewise.
4516 (tapefd_write): Likewise.
4517 (plain_tape_access): Rename of tape_access.
4518 (plain_tape_open): Likewise.
4519 (plain_tapefd_read): Likewise.
4520 (plain_tape_stat): Likewise.
4521 (plain_tapefd_write): Likewise.
4522 (plain_tapefd_close): Likewise.
4523 (plain_tapefd_fsf): Now calls tapefd_fsf_ioctl with &ioctl().
4524 (plain_tapefd_rewind): Likewise.
4525 (plain_tapefd_resetofs): Likewise.
4526 (plain_tapefd_unload): Likewise.
4527 (plain_tapefd_status): Likewise.
4528 (plain_tapefd_weof): Likewise.
4530 2000-12-07 Thomas Hepper <th@ant.han.de>
4532 changer-src/scsi-changer-driver.c: Added Exabyte 230D Sense Handler
4533 (patch from Gary Algier gaa@ulticom.com)
4534 Fixed some compile warnings (-Wshadow)
4535 changer-src/scsi-solaris.c: Changed the return Value from
4536 SCSI_ExecuteCommand to the value of Command.uscsi_status if
4537 the return value of the ioctl is > 0
4539 2000-12-04 John R. Jackson <jrj@purdue.edu>
4541 server-src/amdump.sh.in: Temporary fix for $LOGNAME vs whoami problem.
4543 2000-12-04 John R. Jackson <jrj@purdue.edu>
4545 * common-src/security.c: Make the "./security" test code available
4546 for normal operation by #define so it can be seen in, e.g., the
4547 */amandad*debug file.
4549 2000-12-04 John R. Jackson <jrj@purdue.edu>
4551 * server-src/conffile.c (read_conffile_recursively): If the file name
4552 for the includefile directive is not absolute, make it relative to
4553 the configuration directory.
4555 2000-12-03 John R. Jackson <jrj@purdue.edu>
4557 * restore-src/amrestore.c: Fix header when compression is included.
4558 Use "fast" option for -c and add new -C option to get "best".
4559 * man/amrestore.8: Document the new option, the compression level,
4560 and clean up some nroff issues.
4562 2000-11-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4564 * Amanda 2.4.2 released
4566 2000-11-22 John R. Jackson <jrj@purdue.edu>
4568 * contrib/dbbackup.ksh: Deal with adm being a symlink.
4569 * contrib/dbbackup.tcl: Update for Tcl 8.3 and newer Oratcl versions.
4571 2000-11-22 John R. Jackson <jrj@purdue.edu>
4573 * Makefile.am: Forgot to add contrib/sst/README.Amanda to the list
4574 of files to put in a distribution.
4576 2000-11-21 John R. Jackson <jrj@purdue.edu>
4578 * recover-src/extract_list.c (extract_files_child): Add support for
4581 2000-11-21 John R. Jackson <jrj@purdue.edu>
4583 * server-src/amcheck.c: Minor message wording changes.
4585 2000-11-21 John R. Jackson <jrj@purdue.edu>
4587 * configure.in: Forgot to check in this part of new amgetconf.8.in.
4589 2000-11-21 John R. Jackson <jrj@purdue.edu>
4591 * contrib/sst/README.Amanda: New file of Amanda specific sst notes.
4592 * contrib/sst/sst.c: Attempt at letting gcc compile sst.
4594 2000-11-21 John R. Jackson <jrj@purdue.edu>
4596 * man/amgetconf.8.in: New man page.
4597 * man/Makefile.am: Add support for amgetconf.8.in.
4598 * man/amadmin.8.in: Update for 2.4.2 and do general cleanup.
4599 * man/amanda.8.in: Ditto.
4600 * man/amcheck.8.in: Ditto.
4601 * man/amcheckdb.8.in: Ditto.
4602 * man/amcleanup.8.in: Ditto.
4603 * man/amdump.8.in: Ditto.
4604 * man/amflush.8.in: Ditto.
4605 * man/amlabel.8.in: Ditto.
4606 * man/amrecover.8.in: Ditto.
4607 * man/amreport.8.in: Ditto.
4608 * man/amrestore.8: Ditto.
4609 * man/amrmtape.8.in: Ditto.
4610 * man/amstatus.8.in: Ditto.
4611 * man/amtape.8: Ditto.
4612 * man/amtoc.8.in: Ditto.
4613 * man/amverify.8.in: Ditto.
4615 2000-11-21 John R. Jackson <jrj@purdue.edu>
4617 * contrib/sst/sst.c (sst_ioctl): Allow non-root users to use sst.
4619 2000-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4621 * server-src/amdump.sh.in: exit if amgetconf exit with status != 0.
4622 * server-src/amcleanup.sh.in: ditto
4623 * server-src/amstatus.pl.in: ditto
4625 2000-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4627 * server-src/driver.c (start_some_dumps): don't check free_kps if
4629 * server-src/driver.c (free_kps): remove the kludge.
4631 2000-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4633 * server-src/conffile.c: It's an error to have a negative chunksize.
4634 * man/amanda.8.in: remove documentation of negative chunksize.
4635 * example/amanda.conf.in: ditto
4636 * example/amanda.conf.chg-scsi.in:ditto
4637 * NEWS: negative chunksize is no longer supported.
4639 2000-11-03 John R. Jackson <jrj@purdue.edu>
4641 * server-src/driver.c (handle_taper_result): the holding disk entry
4642 should not be removed just because taper could not write it out in
4643 the "too many taper retries" case. It should be left for amflush.
4645 2000-11-01 John R. Jackson <jrj@purdue.edu>
4647 * server-src/amverify.sh.in: use common form for getting the first
4648 line of a file/pipe. Sed is more portable than head.
4650 2000-11-01 John R. Jackson <jrj@purdue.edu>
4652 * common-src/security.c (bsd_security_ok): Same fix for amwait_t !=
4653 int as applied a while back to changer.c. Compliments of John E.
4654 Hein <jhein@timing.com>.
4656 2000-10-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4658 * client-src/selfcheck.c (check_disk): Write an appropriate
4659 message if the disk name start with '//' and the program is DUMP
4660 or SAMBA is not compiled in.
4662 2000-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4664 * server-src/driver.c (continue_dumps): set estimate to more than
4665 what is already use instead of setting no_hold=1 when a disk
4666 don't fit on holding disk.
4668 2000-10-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4670 * server-src/amstatus.pl.in: add '&' when calling &usage()
4673 2000-10-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4674 reported by The Hermit Hacker <scrappy@hub.org>
4676 * changer-src/chg-chio.pl.in: remove unused $libexecdir.
4678 2000-10-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4679 reported by The Hermit Hacker <scrappy@hub.org>
4681 * changer-src/chg-chio.pl.in: remove comma after LOG,
4682 typo: r should be 0.
4684 2000-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4686 * docs/INDEXING: doc updated.
4688 2000-10-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4690 * changer-src/scsi-defs.h: prototype SCSI_Inquiry, PrintInquiry,
4691 DecodeSCSI, ChangerReplay, BarCode and MapBarCode.
4692 * changer-src/scsi-linux.c: fix compiler warning.
4693 * changer-src/scsi-changer-driver.c: fix compiler warning.
4695 2000-10-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4697 * changer-src/chg-scsi.c: remove rcsid.
4698 * changer-src/scsi-aix.c: remove rcsid, add amanda Copyright.
4699 * changer-src/scsi-bsd.c: remove rcsid, add amanda Copyright.
4700 * changer-src/scsi-changer-driver.c: remove rcsid, add amanda Copyright.
4701 * changer-src/scsi-defs.h: add amanda Copyright.
4702 * changer-src/scsi-hpux.c: remove rcsid.
4703 * changer-src/scsi-hpux_new.c: remove rcsid, add amanda Copyright.
4704 * changer-src/scsi-irix.c: remove rcsid, add amanda Copyright.
4705 * changer-src/scsi-linux.c: remove rcsid, add amanda Copyright.
4706 * changer-src/scsi-solaris.c: remove rcsid, add amanda Copyright.
4708 2000-10-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4710 * AUTHORS: add Thomas Hepper.
4712 2000-10-14 Thomas Hepper <th@ant.han.de>
4714 * changer-src/scsi-changer-driver.c: Added support for the TreeFrog
4715 library (barcode support), fixed some signal 11 problems in the
4716 output of chg-scsi -status
4717 Removed unused variables
4718 * changer-src/chg-scsi.c: same
4719 * changer-src/scsi-defs.h: same
4721 2000-10-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4723 * server-src/amverify.sh.in: grep only the first line of the header.
4725 2000-10-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4727 * server-src/amverify.sh.in: verify with tar even if the
4728 server and the client are not configured with the same path.
4730 2000-10-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4732 * NEWS: A new `ctimeout' keyword in amanda.conf to replace
4733 the CHECK_TIMEOUT constant in amcheck.c.
4735 2000-10-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4737 * server-src/amlabel.c: Don't set tape_ok to 0 if
4738 tape_wrlabel is successful.
4740 2000-10-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4742 * server-src/taper.c: amfree(strclosing).
4744 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4746 * configure.in: --with-samba-user is deprecated.
4747 * docs/SAMBA: the username is now on the amandapass file.
4748 * NEWS: the username is now on the amandapass file.
4749 * client-src/findpass.c (findpass): accept "*" as diskname.
4750 * client-src/selfcheck.c (check_disk): call to samba changed.
4751 * client-src/sendsize.c (getsize_smbtar): ditto.
4752 * client-src/sendbackup-gnutar.c (start_backup): ditto.
4753 * recover-src/extract_list.c (extract_files_child): ditto.
4755 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4757 * server-src/dumper.c (write_tapeheader): set errno = ENOSPC
4758 and return -1 if is not fully written.
4760 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4762 * server-src/taper.c: give better message when failing
4765 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4767 * server-src/diskfile.c (headqueue_disk): new function to
4768 insert at the head of the queue.
4769 * server-src/diskfile.h (headqueue_disk): prototype.
4770 * server-src/driver.c (handle_taper_result,dump_to_tape):
4771 insert with headqueue_disk() after a TRY-AGAIN.
4773 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4775 * server-src/dumper.c (do_dump): wait for index compress
4776 process to terminate before renaming the index file.
4778 2000-10-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4780 * AUTHORS: fix my email address.
4782 2000-09-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4784 * server-src/amcheck.c: Don't accept -m or -M option if MAILER
4786 * server-src/reporter.c: Need a -f optionn if MAILER is not defined.
4788 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4789 patch by <jeg@time.ucsc.edu>
4791 * server-src/reporter.c (output_summary): check for tape_labels.
4793 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4795 * server-src/amindexd.c: use strcasecmp to compare hostname.
4797 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4799 * server-src/amstatus.pl.in: fix plural misuse.
4801 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4803 * man/amanda.8.in: add all pages in the SEE ALSO section.
4805 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4807 * client-src/sendbackup.c: set estr=NULL if the exclude
4810 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4812 * client-src/sendbackup-gnutar.c: use exclude string estr
4815 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4817 * man/amreport.8.in: amreport does not rotate the log.
4818 * man/amrestore.8: note on holdingdisk.
4819 * restore-src/amrestore.c: update usage.
4820 * server-src/amrmtape.sh.in: update usage.
4821 * server-src/amverify.sh.in.usage: update usage.
4823 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4825 * server-src/amoverview.pl.in: update usage information,
4826 -config is no longer needed for ccompatibility with other program.
4827 * man/amoverview.8.in: -config is no longer needed.
4829 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4831 * server-src/amadmin.c (usage): show disklist command.
4833 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4835 * example/amanda.conf.in: chunk should not be larger than
4836 MAX_FILE_SIZE - 1Mb.
4838 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4840 * client-src/sendsize.c (getsize_smbtar): remove unused debug_level
4842 * server-src/amlabel.c (main): init errstr to NULL,
4843 fix compiler warning.
4845 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4846 patch by jason Thomas <jet@users.sourceforge.net>
4848 * tape-src/tapetype.c: fix help message.
4850 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4851 patch by Rudolf Cejka <cejkar@users.sourceforge.net>
4853 * common-src/file.c (mkpdir): check p != NULL
4854 * man/amstatus.8.in: typo
4856 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4857 patch by Rudolf Cejka <cejkar@users.sourceforge.net>
4859 * client-src/calcsize.c:sets correct program name,
4860 prevent coredumps and some improrer command line error mesages
4862 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4864 * common-src/amanda.h: prototype clean_regex().
4865 * common-src/match.c: new function clean_regex() that escape
4866 all non-alphanumeric character.
4867 * recover-src/extract_list.c (add_file, delete_file): use clean_regex().
4869 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4871 * server-src/amcheck.c: (start_server_check): check for the oldlog
4874 2000-09-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4876 * server-src/amtrmlog.c: better check of the oldlog directory.
4878 2000-09-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4880 * server-src/amcheck.c: (start_server_check): don't check the tape
4881 if tapedev is /dev/null.
4883 2000-09-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4885 * server-src/reporter.c (output_tapeinfo): test reversed for run_tapes.
4887 2000-08-01 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4889 * client-src/sendbackup-gnutar.c (start_backup) <taropt>:
4890 NULL-terminate it correctly.
4892 2000-07-18 John R. Jackson <jrj@purdue.edu>
4894 * changer-src/chg-chio.pl.in (do_time): fix chg-chio.pl timestamp
4895 function to return a string instead of writing to stdout.
4897 2000-07-18 John R. Jackson <jrj@purdue.edu>
4899 * server-src/taper.c (file_reader_side): detach and destroy shared
4900 memory areas on an error condition. Found by Patrik Andersin
4903 2000-07-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4905 * client-src/sendsize.c (getsize_dump,getsize_gnutar): set
4906 dumppid to the return value of pipespawn.
4908 2000-06-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4910 * client-src/sendbackup.c (parse_options): set efile.
4912 2000-06-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4914 * server-src/list_dir.c (add_dir_list_item): add at head of list.
4916 2000-06-12 Jeroen Ruigrok van der Werven <asmodai@wxs.nl>
4918 * server-src/amlabel.c (main): Do not amfree(config_name).
4920 2000-06-03 Thomas Hepper <th@ant.han.de>
4922 * changer-src/scsi-defs.h: Add missing defines which are used by the
4924 * changer-src/scsi-solaris.c: Added patch to limit the recursion
4925 in Scsi_ExecuteCommand.
4927 2000-06-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4929 * server-src/holding.c (pick_datestamp): convert ch to upper.
4931 2000-05-28 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4933 * client-src/sendbackup-gnutar.c: Ignore `socket ignored' GNU tar
4936 2000-05-27 Ian Turner <vectro@pipeline.com>
4937 * client-src/sendbackup.c (pipespawn): Moved to...
4938 * common-src/pipespawn.c: ... new file. Redirect all std
4939 streams. Support skipping arguments.
4940 * common-src/pipespawn.h (pipespawn, skip_argument): Declare.
4941 * common-src/Makefile.am (noinst_HEADERS): Added pipespawn.h.
4942 (libamanda_la_SOURCES): Added pipespawn.c.
4943 * client-src/sendbackup-dump.c, client-src/sendbackup-gnutar.c:
4946 2000-04-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4948 * server-src/amstatus.pl.in: typo
4950 2000-04-20 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4952 * recover-src/Makefile.am (LDADD): Removed libamtape.
4953 Reported by Paul Yeatman <pyeatman@ucsd.edu>
4955 2000-04-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4957 * server-src/taper.c: don't crash if the tapelist file
4960 2000-04-09 Frank Wojcik <fwojcik@lucent.com>
4962 * server-src/taper.c (detach_buffers): Fixed typo in error message.
4964 * server-src/amrmtape.sh.in: Fix occurrence of `Infofile', that
4965 should have been `InfoFile'.
4967 2000-04-09 Davide Marchignoli <marchign@di.unipi.it>
4969 * server-src/conffile.h (confparm_t): Added CTIMEOUT.
4970 * server-src/conffile.c: Added ctimeout support. Default to 30.
4971 * example/amanda.conf.in: Likewise.
4972 * man/amanda.8.in: Documented it.
4973 * server-src/amcheck.c: Use ctimeout from configuration file instead
4976 2000-04-09 Stan Brown <stanb@awod.com>
4978 * recover-src/amrecover.c (guess_disk): Omit DEV_PREFIX only if
4979 it is actually a prefix of fsname.
4981 2000-04-09 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4983 * server-src/amlabel.c (main): Check label *after* writing end mark.
4985 2000-03-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4987 * server-src/amlabel.c: don't crash if the tapelist file
4990 2000-02-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4992 * server-src/amstatus.pl.in: "0 dumpers busy" should be "0 dumper busy".
4994 2000-02-08 Thomas Hepper <th@ant.han.de>
4996 * changer-src/scsi-linux.c (SCSI_ExecuteCommand) : Direction for the
4997 memcpy for the sense result was wrong, so every time the sense result
5000 * changer-src/scsi-changer-driver.c (GenericElementStatus) : Added
5001 flag to signal if it is either a tape drive or a library.
5003 2000-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5005 * server-src/amadmin.c (force_one, force_bump_one): FORCE_FULL
5006 and FORCE_BUMP are mutually exclusive.
5008 2000-01-30 Thomas Hepper <th@ant.han.de>
5010 * changer-src/chg-scsi.c : Exit it tapedev in amanda.conf is not a
5013 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5015 * server-src/amstatus.pl.in (prefix, exec_prefix): Refer to them
5016 twice to avoid warnings of possible typo.
5018 * amplot/amplot.awk: Ignore dumper's RQ-MORE-DISK.
5019 Reported by David Wolfskill <dhw@whistle.com>
5020 * amplot/amplot.awk: Handle taper's TRY-AGAIN like TAPE-ERROR.
5022 * server-src/amstatus.pl.in: Compute and display TRY-AGAIN tape
5024 Reported by David Wolfskill <dhw@whistle.com>
5026 * man/amtoc.8.in: Document -w.
5028 2000-01-21 David Wolfskill <dhw@whistle.com>
5030 * server-src/amtoc.pl.in: Add `-w' to add new lines and form feeds.
5032 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5034 * man/amlabel.8.in: Tapes are no longer requested in reverse order
5036 Reported by Brad Guillory <round@baileylink.net>
5038 * server-src/amstatus.pl.in: New option --stats, to display
5039 statistics about dumpers and taper.
5040 * man/amstatus.8.in: Document it.
5042 2000-01-21 David Wolfskill <dhw@whistle.com>
5044 * server-src/amstatus.pl.in: Sort dumpers by number.
5046 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5048 * server-src/amstatus.pl.in: Remove bogus (?) line `$$host=1'.
5050 * configure.in (MAILER): Warn or print an error if not found,
5051 depending on whether server code is disabled or not.
5053 * server-src/reporter.c (output_tapeinfo): Report used tapes
5054 regardless of tape errors.
5056 * config/acinclude.m4i (CF_WAIT): Simplify the test. Declare wait()
5057 in the global scope.
5059 2000-01-21 Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
5061 * config/acinclude.m4i (CF_WAIT): Avoid warnings on systems
5062 where `union wait' works but is deprecated.
5064 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5066 * recover-src/uscan.l (settape): Recognize it.
5067 * recover-src/uparse.y: Parse it.
5068 * recover-src/amrecover.h (set_tape): Declare it.
5069 * recover-src/set_commands.c (set_tape): Implement it.
5070 * recover-src/help.c (help_list): Document it.
5071 * man/amrecover.8.in: Likewise.
5072 * recover-src/extract_list.c (extract_files): Warn if tape device is
5074 * recover-src/amrecover.c (tape_device_name): Default to
5075 server-determined default.
5077 2000-01-17 Thomas Hepper <th@ant.han.de>
5078 * changer-src/scsi-changer-driver.c : Typo in CheckMove fixed .
5080 2000-01-17 Thomas Hepper <th@ant.han.de>
5082 * configure.in: check for scsi/sg.h on linux, and if true
5085 * changer-src/chg-scsi.c : New option -trace for debuging...
5086 new option changer_ident to set the internal driver for the changer
5088 * hanger-src/scsi-hpux_new.c: New function Tape_Status.
5089 returns the status of the tape. (loaded/empty etc)
5090 * changer-src/scsi-aix.c : Dummy function for Tape_Status
5091 * changer-src/scsi-bsd.c : Dummy function for Tape_Status
5092 * changer-src/scsi-irix.c : Dummy function for Tape_Status
5093 * changer-src/scsi-solaris.c : Dummy function for Tape_Status
5094 * changer-src/scsi-linux.c : Added better support for the sg driver.
5095 * changer-src/scsi-changer-driver.c : New driver for ADIC SDX and DLT448
5097 new function SDXMove for SDX library
5098 new function CheckMove to check if a move is legal based on the infs
5099 we get from the Mode Sense command
5100 * changer-src/scsi-defs.h : Added types returned by Tape_Status
5102 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5104 * server-src/driver.c (handle_dumper_result): When failed, set
5105 dp->inprogress to 0, not 1.
5107 2000-01-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5109 * configure.in: Recognize alpha*-*-linux-* and sparc*-*-linux-*.
5111 * tape-src/Makefile.am (../common-src/libamanda.$(LIB_EXTENSION)):
5112 Allow for `make tapetype' before libamanda is built.
5114 * server-src/amoverview.pl.in: Year doesn't take just 2 bytes.
5116 2000-01-06 David Wolfskill <dhw@whistle.com>
5118 * docs/TAPETYPES: Typo.
5120 2000-01-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5122 * docs/TAPETYPES: Removed all tapetype entries. Pointed to
5123 example/amanda.conf, to the mailing list archives and to the on-line
5124 tapetype list. Explained the meaning of length, filemark and speed,
5125 and how to build and use the tapetype utility.
5127 1999-12-12 John R. Jackson <jrj@purdue.edu>
5129 * configure.in: egrep was having trouble with quoting on some systems.
5130 Broke it apart into multiple unquoted statements. Also, changed the
5131 script to run the steps on all dump tests and added "Label" as another
5134 1999-12-12 John R. Jackson <jrj@purdue.edu>
5136 * tape-src/tapetype.c: tweak the algorithm to write files in both
5137 passes and compute the tape mark size as the difference. Never
5138 report a negative tape mark size. Various other minor cleanup.
5140 1999-11-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5142 * client-src/sendbackup-gnutar.c (re_table): #if out the debugging
5143 Samba messages unless SAMBA_VERSION < 2.
5145 1999-11-29 John E.P.Hynes <john@hytronix.ne.mediaone.net>
5147 * client-src/sendbackup-gnutar.c (re_table): Update for Samba 2.0.6.
5149 1999-11-10 John R. Jackson <jrj@purdue.edu>
5151 * recover-src/extract_list.c: report the tape server host in the
5152 message to check the amidxtaped.debug file. If extract_list_child
5153 fails (such as when amidxtaped fails to read the tape), ask if
5154 things should continue instead of aborting.
5156 1999-11-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5158 * server-src/driverio.c (update_info_dumper): Discard information on
5159 older same- or higher-level dumps.
5160 * server-src/driver.c (dump_to_tape): Add comment that _dumper must
5161 be called before _taper.
5163 * docs/FAQ: Sometimes FQDNs are wrong for amandahosts.
5165 1999-11-10 John R. Jackson <jrj@purdue.edu>
5167 * server-src/amindexd.c (build_disk_table): need to clear the old
5168 disk history list before building a new one.
5170 1999-11-10 John R. Jackson <jrj@purdue.edu>
5172 * server-src/taper.c (label_tape): issue a warning when tapedev is
5174 * server-src/amcheck.c (start_server_check): make warning message
5175 text the same for amcheck and taper when tapedev is /dev/null.
5177 1999-11-10 John R. Jackson <jrj@purdue.edu>
5179 * server-src/amcleanupdisk.c (main): try to remove empty holding disk
5181 * server-src/holding.c (scan_holdingdisk): do not automatically remove
5182 empty holding disk areas since this function is called by various
5183 utilities and a dump might be in progress.
5185 1999-11-10 James FitzGibbon <james@targetnet.com>
5187 * server-src/infofile.c (put_info): d.size should have been
5190 1999-11-09 John R. Jackson <jrj@purdue.edu>
5192 * server-src/amcheck.c (start_server_check): test tapedev for
5193 "/dev/null" and issue warning that dumps will be thrown away.
5195 1999-11-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5197 * common-src/amflock.c (struct flock): Do not assume the fields are
5198 declared in any particular order.
5199 Reported by Sean Kelly <kelly@plutotech.com>
5201 * Makefile.am (EXTRA_DIST): Added contrib/set_prod_link.pl.
5202 * docs/INSTALL: Likewise.
5204 1999-11-02 Ricardo Malta <rmalta@bigfoot.com>
5206 * contrib/set_prod_link.pl: Create the links for a configuration
5209 1999-11-02 Nicolas Mayencourt <Nicolas.Mayencourt@cui.unige.ch>
5211 * server-src/amtoc.pl.in: Correct a bug for total report.
5213 1999-11-01 John R. Jackson <jrj@purdue.edu>
5215 * server-src/driver.c (find_diskspace): make noisy holding space log
5216 message conditional on HOLD_DEBUG.
5218 1999-11-01 John R. Jackson <jrj@purdue.edu>
5220 * server-src/amcleanupdisk.c (main): do not free the config name (it
5223 1999-10-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5225 * common-src/debug.c: Do not assume stderr is a compile-time
5226 constant. On glibc 2.2 (RedHat Linux 6.1), it is not.
5228 1999-10-11 Nicolas Mayencourt <Nicolas.Mayencourt@cui.unige.ch>
5230 * server-src/amtoc.pl.in: Add new options -i and -t. Print original
5231 size, instead of size on tape.
5233 1999-10-07 John R. Jackson <jrj@purdue.edu>
5235 * common-src/stream.c (stream_server): remove reference to portrange
5236 variable. Compliments of Randy Dees <rrd@amherst.com>.
5238 1999-10-03 John R. Jackson <jrj@purdue.edu>
5240 * server-src/driver.c (main): now that multiple results can come back
5241 from taper and dumper without a handshake (e.g. NO-ROOM), we need to
5242 process them all rather than just the first one. Call the new
5243 areads_dataready() function to peek and see if more data is ready.
5244 * common-src/amanda.h: declare areads_dataready().
5245 * common-src/file.c: define areads_dataready(). Fix some variable
5246 types. Fix a buffer expansion problem. Add code to the test
5247 program to force buffer expansion to be checked out.
5249 1999-10-03 John R. Jackson <jrj@purdue.edu>
5251 * common-src/file.c (areads_getbuf): fix a buffer allocation problem.
5253 1999-10-03 John R. Jackson <jrj@purdue.edu>
5255 * common-src/amflock.c (main): do not use aclose() in the configure
5256 test case. During configure we do not have areads_relbuf()
5257 available and it makes configure think all the tests have failed.
5259 1999-10-03 John R. Jackson <jrj@purdue.edu>
5261 * common-src/amanda.h: protect the close macros and areads* from
5262 out of range file descriptors.
5263 * common-src/file.c: ditto.
5265 1999-10-02 John R. Jackson <jrj@purdue.edu>
5267 * server-src/amindexd.c (build_disk_table): only "OK" results from
5268 find_dump should be considered.
5270 1999-10-02 John R. Jackson <jrj@purdue.edu>
5272 * common-src/file.c (areads): when NO-ROOM became advisory and didn't
5273 participate in a full handshake, it exposed a problem in areads()
5274 where a static buffer was shared among all I/O. Changed it to use
5275 a separate buffer for each file descriptor. Enhanced the test
5276 program to check out the code.
5277 * common-src/amanda.h: ditto
5278 * restore-src/amidxtaped.c: minor areads/agets comment typo.
5279 * server-src/amindexd.c: ditto
5281 1999-10-02 John R. Jackson <jrj@purdue.edu>
5283 * server-src/driver.c: delete #define of HOLD_DEBUG, it was increasing
5284 the size of the amdump log file by a factor of 10 or more. Anyone
5285 who needs it can define it in CFLAGS or some other way.
5287 1999-09-29 John R. Jackson <jrj@purdue.edu>
5289 * server-src/dumper.c (do_dump): closed the dump messages file too
5292 1999-09-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5294 * recover-src/extract_list.c (samba_extract_method): Default to
5295 SAMBA_TAR, for similarity with other restore programs.
5296 (extract_files_child): If restore with SMBCLIENT is enabled, explain
5297 that Samba shares will be restored to the SMB share.
5299 1999-09-22 John R. Jackson <jrj@purdue.edu>
5301 * configure.in: wrong variable when processing LIBRARY_DIRS. Fix
5302 compliments of John M. Vogtle <jmvogtle@kodak.com>.
5304 1999-09-19 John R. Jackson <jrj@purdue.edu>
5306 * server-src/amverify.sh.in: this script is important enough it should
5307 not depend on having perl installed. Clean up the AIX "mt status"
5308 code. Test for presense of other restore programs and check that
5309 they are executable during processing.
5311 1999-09-19 John R. Jackson <jrj@purdue.edu>
5313 * server-src/amverify.sh.in: put back an "mt status" wait loop I
5314 erroneously removed, but protect it from AIX.
5316 1999-09-19 John R. Jackson <jrj@purdue.edu>
5318 * common-src/util.c: fix math in bind_portrange so ports requested
5319 are between those the caller passed and make sure port 0 does not
5320 accidentally get requested, which returns a non-privileged port.
5321 * common-src/dgram.c: bind_portrange last port argument is inclusive.
5322 * common-src/stream.c: ditto.
5323 * recover-src/amrecover.c: ditto.
5324 * recover-src/extract_list.c: ditto.
5326 1999-09-19 John R. Jackson <jrj@purdue.edu>
5328 * server-src/driver.c: do not send a FILE_WRITE to the taper when the
5329 tape queue is empty during a TRYAGAIN (driver core dumped).
5331 1999-09-19 John R. Jackson <jrj@purdue.edu>
5333 * server-src/taper.c: fix protocol problems when out of tape. Add
5334 FAKE_TAPE_ERROR debugging code to simulate tape errors. Fix problem
5335 with command line argument processing.
5337 1999-09-18 John R. Jackson <jrj@purdue.edu>
5339 * configure.in: several compress/uncompress variables were not being
5342 1999-09-18 John R. Jackson <jrj@purdue.edu>
5344 * client-src/sendbackup.c: pclose returns a child exit status of the
5345 pipe, not an errno, so do not try to strerror it.
5346 Have the index child process exit with the pclose exit code.
5347 Treat index failures as strange rather than fatal so the dump gets
5348 fully processed. It's more important to have the dump image than
5349 to skip it just because indexing had a (possibly unrelated) problem.
5351 1999-09-15 John R. Jackson <jrj@purdue.edu>
5353 * server-src/amtoc.pl.in: handle an image failing on one tape and
5354 succeeding on the next.
5356 1999-09-15 John R. Jackson <jrj@purdue.edu>
5358 * server-src/amstatus.pl.in: generalize the "driver: state" parsing
5359 so it can handle current and future information.
5361 1999-09-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5363 * server/driver.c (main): use the holding disk even if the
5364 datestamped directory already exist.
5366 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5368 * configure.in: Get snapshot date from SNAPSHOT file, if it exists.
5369 (VERSION): Add the date to it.
5370 (SNAPSHOT_STAMP): AC_SUBST to the SNAPSHOT file, if it exists.
5371 * Makefile.am (EXTRA_DIST): Added $(SNAPSHOT_STAMP).
5372 (config.status): Depend on $(SNAPSHOT_STAMP).
5373 (SNAPSHOT): Dummy rule to allow reconfigure if it's removed.
5375 * config/Makefile.am: Remove all traces of acconfig.h.
5377 * server-src/changer.c (changer_command): Fix for amwait_t != int.
5379 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5381 * config/acinclude.m4i: Added comments for config/config.h.in to all
5383 * configure.in: Likewise.
5384 * config/acconfig.h: Deleted.
5387 1999-09-13 John R. Jackson <jrj@purdue.edu>
5389 * server-src/amverify.sh.in: protect against uname not returning
5392 1999-09-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5394 * server-src/amcheck.c (start_server_check): use tapefile instead of
5395 conf_tapelist to open the file (we no longer cd to the config file).
5397 1999-09-11 John R. Jackson <jrj@purdue.edu>
5399 * server-src/reporter.c: sigh -- it was right the first time.
5401 1999-09-11 John R. Jackson <jrj@purdue.edu>
5403 * server-src/reporter.c: lost a few too many lines with the amlogroll
5404 changes to amreport.
5406 1999-09-11 John R. Jackson <jrj@purdue.edu>
5408 * server-src/amindex.c: minor memory leak.
5410 1999-09-11 John R. Jackson <jrj@purdue.edu>
5412 * server-src/amcheck.c: remove duplicated code.
5414 1999-09-11 John R. Jackson <jrj@purdue.edu>
5416 * server-src/Makefile.am: use new amlogroll utility to rename the log
5417 file to the datestamped name.
5418 * server-src/amcheck.c: ditto.
5419 * server-src/amcleanup.sh.in: ditto and call all utilities with the
5420 config file name as an argument.
5421 * server-src/amdump.sh.in: ditto and call all utilities with the
5422 config file name as an argument.
5423 * server-src/amflush.c: ditto.
5424 * server-src/amlogroll.c: new utility.
5425 * server-src/driverio.c: ditto and call all utilities with the
5426 config file name as an argument.
5427 * server-src/reporter.c: ditto.
5429 1999-09-10 John R. Jackson <jrj@purdue.edu>
5431 * client-src/rundump.c: minor compiler warnings.
5432 * common-src/security.c: minor compiler warnings.
5433 * server-src/amindexd.c: minor compiler warnings.
5434 * server-src/conffile.c: minor compiler warnings.
5436 1999-09-10 John R. Jackson <jrj@purdue.edu>
5438 * client-src/sendsize.c: typo in previous patch and pick a better
5439 variable name (ala other similar code).
5441 1999-09-10 John R. Jackson <jrj@purdue.edu>
5443 * client-src/amandad.c: clean up error messages after a fork or exec*
5445 * client-src/rundump.c: ditto.
5446 * client-src/runtar.c: ditto.
5447 * client-src/sendbackup.c: ditto.
5448 * client-src/sendsize.c: ditto.
5449 * restore-src/amidxtaped.c: ditto.
5450 * server-src/amflush.c: ditto.
5452 1999-09-07 John R. Jackson <jrj@purdue.edu>
5454 * configure.in: Add --with-tmpdir to ./configure and use it for
5455 all Amanda temporary files. Default --with-dbgdir to --with-tmpdir.
5456 Move libexec/getconf to sbin/amgetconf and add an optional
5457 config parameter. Add optional config parameter to several
5459 Add debugging to chg-chio.
5460 Call new safe_cd() function in most programs to cd to --with-tmpdir
5461 so if they drop core, it goes to a known spot. Rename existing
5462 core files so more than one failure may be tracked. Remove most
5463 chdir() and umask() calls (umask is set in safe_cd).
5464 * amplot/amplot.sh.in: ditto.
5465 * changer-src/chg-chio.pl.in: ditto.
5466 * changer-src/chg-chs.sh.in: ditto.
5467 * changer-src/chg-manual.sh.in: ditto.
5468 * changer-src/chg-mtx.sh.in: ditto.
5469 * changer-src/chg-multi.sh.in: ditto.
5470 * changer-src/chg-rth.pl.in: ditto.
5471 * changer-src/chg-scsi-chio.c: ditto.
5472 * changer-src/chg-scsi.c: ditto.
5473 * changer-src/chg-zd-mtx.sh.in: ditto.
5474 * client-src/amandad.c: ditto.
5475 * client-src/calcsize.c: ditto.
5476 * client-src/killpgrp.c: ditto.
5477 * client-src/rundump.c: ditto.
5478 * client-src/runtar.c: ditto.
5479 * client-src/selfcheck.c: ditto.
5480 * client-src/sendbackup-gnutar.c: ditto.
5481 * client-src/sendbackup.c: ditto.
5482 * client-src/sendsize.c: ditto.
5483 * common-src/alloc.c: ditto.
5484 * common-src/amanda.h: ditto.
5485 * common-src/amflock.c: ditto.
5486 * common-src/debug.c: ditto.
5487 * common-src/file.c: ditto.
5488 * common-src/genversion.c: ditto.
5489 * common-src/security.c: ditto.
5490 * config/acconfig.h: ditto.
5491 * dumper-src/gnutar.pl.in: ditto.
5492 * restore-src/amidxtaped.c: ditto.
5493 * server-src/Makefile.am: ditto.
5494 * server-src/amadmin.c: ditto.
5495 * server-src/amcheck.c: ditto.
5496 * server-src/amcheckdb.sh.in: ditto.
5497 * server-src/amcleanup.sh.in: ditto.
5498 * server-src/amcleanupdisk.c: ditto.
5499 * server-src/amdump.sh.in: ditto.
5500 * server-src/amflush.c: ditto.
5501 * server-src/amfreetapes.sh.in: ditto.
5502 * server-src/amindex.c: ditto.
5503 * server-src/amindex.h: ditto.
5504 * server-src/amindexd.c: ditto.
5505 * server-src/amlabel.c: ditto.
5506 * server-src/amrmtape.sh.in: ditto.
5507 * server-src/amstatus.pl.in: ditto.
5508 * server-src/amtape.c: ditto.
5509 * server-src/amtrmidx.c: ditto.
5510 * server-src/amtrmlog.c: ditto.
5511 * server-src/amverify.sh.in: ditto.
5512 * server-src/changer.c: ditto.
5513 * server-src/changer.h: ditto.
5514 * server-src/conffile.h: ditto.
5515 * server-src/diskfile.c: ditto.
5516 * server-src/driver.c: ditto.
5517 * server-src/driverio.c: ditto.
5518 * server-src/dumper.c: ditto.
5519 * server-src/find.c: ditto.
5520 * server-src/getconf.c: ditto.
5521 * server-src/holding.c: ditto.
5522 * server-src/infofile.c: ditto.
5523 * server-src/logfile.c: ditto.
5524 * server-src/planner.c: ditto.
5525 * server-src/reporter.c: ditto.
5526 * server-src/tapefile.c: ditto.
5527 * server-src/taper.c: ditto.
5529 1999-09-05 John R. Jackson <jrj@purdue.edu>
5531 * common-src/Makefile.am: change OBJ_EXTENSION to OBJEXT in line
5532 related to the "security" test tool.
5534 1999-09-05 John R. Jackson <jrj@purdue.edu>
5536 * changer-src/chg-chio.pl.in: add -w to #! line to catch more errors.
5537 * client-src/amandad.c: fix some compiler warnings.
5538 * common-src/protocol.c: fix some compiler warnings.
5539 * recover-src/display_commands.c: fix some compiler warnings.
5540 * recover-src/extract_list.c: fix some compiler warnings.
5541 * restore-src/amrestore.c: fix some compiler warnings.
5542 * server-src/conffile.c: fix some compiler warnings.
5543 * server-src/diskfile.c: fix some compiler warnings.
5544 * server-src/holding.c: fix some compiler warnings.
5545 * server-src/planner.c: fix some compiler warnings.
5547 1999-09-05 John R. Jackson <jrj@purdue.edu>
5549 * recover-src/extract_list.c: add VRESTORE and VXRESTORE support.
5551 1999-09-05 John R. Jackson <jrj@purdue.edu>
5553 * common-src/stream.c: make sure errno is returned properly from
5554 stream_client() and stream_server().
5555 * client-src/sendbackup.c: report errors from stream_server() and
5557 * server-src/taper.c: ditto.
5558 * recover-src/extract_list.c: make sure errno is preserved.
5560 1999-09-05 John R. Jackson <jrj@purdue.edu>
5562 * client-src/amandad.c: clean up a couple of debugging messages.
5564 1999-09-05 John R. Jackson <jrj@purdue.edu>
5566 * recover-src/amrecover.c: add missing ntohs calls. Reported by
5567 Kent Kalnasy <kkalnasy@ms.washington.edu>
5568 * recover-src/extract_list.c: ditto.
5570 1999-09-05 John R. Jackson <jrj@purdue.edu>
5572 * configure.in: make sure the dump and restore programs are defined
5573 in pairs, do not allow just the dump program without restore.
5574 * client-src/sendbackup-dump.c: assume restore program is present
5576 * common-src/genversion.c: assume restore program is present if
5579 1999-09-05 John R. Jackson <jrj@purdue.edu>
5581 * common-src/genversion.c: CLIENT_LOGIN has to be defined so there
5582 is no point testing for it.
5583 * server-src/conffile.c: ditto.
5585 1999-09-05 John R. Jackson <jrj@purdue.edu>
5587 * server-src/amverify.sh.in: add SMBCLIENT, VRESTORE, VXRESTORE
5588 and XFSRESTORE support.
5590 1999-09-05 John R. Jackson <jrj@purdue.edu>
5592 * server-src/conffile.c: add several common abbreviations to config
5595 1999-09-01 John R. Jackson <jrj@purdue.edu>
5597 * server-src/amtoc.pl.in: allow multiple -s entries.
5599 1999-09-01 John R. Jackson <jrj@purdue.edu>
5601 * server-src/reporter.c: handle/report a common columnspec syntax
5602 error instead of dumping core.
5604 1999-09-01 John R. Jackson <jrj@purdue.edu>
5606 * man/amanda.8.in: typo in columnspec description.
5608 1999-09-01 John R. Jackson <jrj@purdue.edu>
5610 * common-src/dgram.h: expressions in #define should be protected by
5613 1999-08-25 Alexandre Oliva <oliva@dcc.unicamp.br>
5615 * changer-src/chg-chs.sh.in (changerdev): Pass it as -f flag to CHS.
5616 * docs/TAPE.CHANGERS: Document it.
5617 Reported by Mike Horansky <moho@stanford.EDU>
5619 * server-src/conffile.c (read_dumptype): Renamed from get_dumptype.
5620 Extended to support reading a named dumptype from a specified FILE.
5621 (get_dumptype): Use read_dumptype.
5622 (main): Read disklist, so that custom dumptypes are shown.
5623 * server-src/conffile.h (read_dumptype): Declare.
5624 * server-src/diskfile.c (read_diskline): Use read_dumptype if
5625 dumptype starts with `{'.
5626 * man/amanda.8.in (disklist): Document it.
5628 * example/disklist: Exemplify it.
5630 1999-08-23 John R. Jackson <jrj@purdue.edu>
5632 * server-src/reporter.c (copy_template_file): make sure all data is
5633 written to label template pipeline.
5635 1999-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5636 Patch by Peter Conrad <conrad@opus5.de>
5638 * docs/INTERNALS: documented splitting of dumps across multiple
5640 * server-src/conffile.c: make sure that disksize and chunksize
5641 are multiple of TAPE_BLOCK_SIZE.
5642 * server-src/diskfile.c (find_disk): new function to see if a
5643 given disk is contained in a list structure.
5644 * server-src/diskfile.h (find_disk): prototype.
5645 * server-src/driverio.h (RQ_MORE_DISK): Added message.
5646 * server-src/driverio.h (free_assignedhd): prototype.
5647 * server-src/driverio.h (assignedhd_t): new data structure.
5648 * server-src/driverio.c (cmdstr): added comamnd RQ-MORE-DISK.
5649 * server-src/driverio.c (dumper_cmd): Modified format of CONTINUE
5650 * server-src/driverio.c (free_assignedhd): new function to free an
5651 array of assignedhd_t.
5652 * server-src/driver.c (roomq): new queue to replace stoppedq.
5653 * server-src/driver.c (find_diskspace, assign_holdingdisk,
5654 adjust_diskspace, delete_diskspace): rewrite.
5655 * server-src/driver.c (continue_dumps): new function to determine
5656 which dump should be continued.
5657 * server-src/driver.c (handle_taper_result): call continue_dumps
5658 to restart a roomq dump.
5659 * server-src/driver.c (handle_dumper_result): some rewrite,
5660 modified semantics of NO_ROOM, new message RQ-MORE-DISK.
5661 * server-src/dumper.c (main): Modified parsing of FILE_DUMP,
5663 * server-src/dumper.c (write_dataptr): NO-ROOM is informational only,
5664 trucate the file to a multiple of TAPE_BLOCK_BYTES.
5665 * server-src/dumper.c (update_dataptr): rewrite to emit RQ-MORE-DISK
5668 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
5670 * common-src/Makefile.am: Replace .o with OBJEXT. List sources
5671 explicitly, instead of LDADDing the corresponding objects.
5672 (OBJ_EXTENSION): Wipe out, use OBJEXT.
5674 * configure.in: Call AC_OBJEXT.
5675 (LTLIBOBJS, LTALLOCA): Define, according to ac_objext.
5676 * common-src/Makefile.am (libamanda_la_LIBADD): Use them.
5677 (libamanda_a_LIBADD): Use LIBOBJS and ALLOCA.
5679 * common-src/Makefile.am (genversion.o): Revert last change, it was
5680 just a bug in automake's --disable-dependency-tracking.
5682 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
5684 * README (platforms): Added OpenBSD.
5685 Reported by Ian Darwin <ian@sq.com>
5686 (platforms): Added SunOS 5.7.
5688 1999-08-15 Derek Ney <derek@hipgraphics.com>, Alexandre Oliva <oliva@dcc.unicamp.br>
5690 * client-src/sendsize.c (SAMBA_DEBUG_LEVEL): New macro, "0" for
5691 Samba >= 2, "3" for older ones.
5692 (getsize_smbtar): Use `du' if SAMBA_VERSION >= 2, and the
5693 appropriate SAMBA_DEBUG_LEVEL.
5695 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
5697 * common-src/Makefile.am (genversion.o): Depend on genversion.c
5698 too. It seems that IRIX's make doesn't work without it.
5699 Reported by Brian Cuttler <brian@wadsworth.org>
5701 1999-08-15 Jon LaBadie <jon@jgcomp.com>
5703 * tape-src/tapetype.c: Speed it up by using larger sections in the
5706 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
5708 * man/amanda.8.in (skip-full, incronly): Document existing bugs.
5710 * server-src/conffile.c (init_defaults): Default disksize to 0.
5711 * man/amanda.8.in (holdingdisk use): Document it.
5712 Reported by Grant Beattie <Grant.Beattie@fulcrum.com.au>
5714 * server-src/planner.c (setup_estimate): Typo.
5715 (next_level0): Typo.
5717 * config/ltconfig, config/ltmain.sh: Update from libtool 1.3.3.
5719 * example/amanda.conf.in: Clarify holdingdisk::use 0.
5721 * config/missing: Update from automake 1.4a.
5723 1999-07-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5725 * man/amanda.8.in: typo.
5727 1999-06-29 Alexandre Oliva <oliva@dcc.unicamp.br>
5729 * man/amrestore.8: Document holding-file usage.
5731 1999-06-25 Alexandre Oliva <oliva@dcc.unicamp.br>
5733 * Makefile.am (pkgdata_DATA): Install COPYRIGHTs.
5734 (EXTRA_DIST): Remove docs/*.
5735 * docs/Makefile.am: New file.
5736 (pkgdata_DATA): Install all docs.
5737 * configure.in: Output docs/Makefile.
5738 Suggested by Paul L. Lussier <plussier@baynetworks.com>
5740 * docs/FAQ (selfcheck time-out): NIS services, inetd rebooting,
5741 keyboard time-out, lsof.
5743 * server-src/amverify.sh.in (HEADER): Use `sed 1q' instead of the
5744 not-that-portable `head -1'.
5745 Reported by Andrew Lare <lare@eos913c.gsfc.nasa.gov>
5747 1999-06-20 Thomas Hepper <th@ant.han.de>
5749 * changer-src/chg-scsi.c: 2 new config keywords, changerident/tapeident
5751 * changer-src/scsi-changer-driver.c: deleted the linux driver at the
5752 beginning, (wrong window on cut and paste .......)
5754 * changer-src/scsi-defs.h: new element in Changer_IO which describes
5755 the type of device which is handled by this entry (tape/robot)
5757 * changer-src/scsi-changer-driver.c: New parameter to OpenDevice
5758 to override the selection of the driver for this device. (See
5759 also docs/TAPE.CHANGERS)
5761 1999-06-19 Alexander Zangerl <az@Austria.EU.net>
5763 * client-src/sendbackup-dump.c (re_table): Match Solaris vxdump
5766 1999-06-18 Thomas Hepper <th@ant.han.de>
5768 * server-src/changer.c: (changer_find) check if serachlabel is NULL
5769 if yes don't print it to the debug file
5771 * changer-src/scsi-solaris.c: (SCSI_ExecuteCommand) Add missing
5772 parameter to DecodeExtSense.
5774 * changer-src/scsi-aix.c: (SCSI_ExecuteCommand) Add missing
5775 parameter to DecodeExtSense.
5777 * changer-src/scsi-hpux.c: Added static char rcsid[] = ...
5778 * changer-src-/chg-scsi.c: dito
5779 * changer-src/scsi-changer-driver.c: dito
5781 1999-06-17 Thomas Hepper <th@ant.han.de>
5783 * configure.in: Add new example files amanda.conf.chg-scsi,
5784 chg-scsi-linux.conf, chg-scsi-solaris.conf, chg-scsi-hpux.conf
5786 * changer-src/chg-scsi-chio.c: Add parameter to find_empty
5788 * changer-src/chg-scsi.c: Changed the way files are opened, added
5789 FILE *debug_file because now it is possible to send some output to
5790 stdout. (scsi-changer-driver.c).
5791 (ask_clean) return 0 if result from get_clean_state is < 0
5792 if get_current_slot returns < 0 try to find the used slot by asking
5793 the robot. (happens if no slot file is available, or slot file is empty)
5795 * changer-src/scsi-changer-driver.c: New tape/robot types.
5796 (find_empty) new parameter to specify range where to search.
5797 More checks for NULL pointer ....
5798 (DumpDev) new function to print the info for the device struct.
5799 (ChangerStatus) some more output ....
5801 * changer-src/scsi-linux.c: Complete rewrite of SCSI_OpenDevice.
5803 * common-src/debug.c: (debug_fp) new function to return the FILE *
5806 * contrib/sst/sst.c: Removed the inquiry call, this is handled by
5807 chg-scsi. The old version will hang if for example no tape is loaded.
5809 * contrib/sst/Makefile: New Makefile, the old one does not work if not
5810 the complete SUNdrv kit is installed.
5813 1999-06-15 Adam Hammer <hammer@math.purdue.edu>
5815 * server-src/amverify.sh.in: Wait until device becomes ready after
5818 1999-06-15 Björn Brezger <Bjoern.Brezger@uni-konstanz.de>, Alexandre Oliva <oliva@dcc.unicamp.br>
5820 * client-src/calcsize.c (ROUND): Rewrite, it was broken.
5821 Reported by Erik Lindahl <erik@theophys.kth.se>
5823 1999-06-15 Alexandre Oliva <oliva@dcc.unicamp.br>
5825 * server-src/conffile.h: Changed all `long's to `int's, as they
5826 broke get_number et al on 64bit platforms.
5827 Reported by Erik Lindahl <erik@theophys.kth.se>
5829 * configure.in (bcopy, bzero): Oops, ICE_CHECK_DECL already checks
5832 * configure.in (bcopy, bzero): Check whether they're available.
5833 * common-src/amanda.h (bcopy, bzero): If not, use memmove and
5835 Reported by Grant Beattie <Grant.Beattie@fulcrum.com.au>
5837 * server-src/amcheck.c (start_server_check): If info file does not
5838 exist, explain that it is supposed to be created on the next run.
5840 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
5842 * server-src/tapefile.c (lookup_last_reusable_tape): Fix order of
5843 arguments in match() invocation.
5844 From Anthony Worrall <Anthony.Worrall@reading.ac.uk>
5846 1999-06-08 Mike Grupenhoff <kashmir@munge.com>
5848 * restore-src/amrestore.c: second arg to restore() is a char *, not
5849 a string_t. Adjust prototype accordingly.
5851 1999-06-07 Mike Grupenhoff <kashmir@munge.com>
5853 * common-src/util.c (bind_portrange): function that attempts
5854 to bind a network connection to a port in a given range.
5855 * common-src/util.h: prototype bind_portrange().
5856 * common-src/dgram.c (bind_reserved): remove, superceeded by
5858 (dgram_bind): use bind_portrange() instead of bind_reserved(), and
5859 try user specified ports first, then reserved ports, then regular
5861 * common-src/dgram.h: remove prototype for bind_reserved().
5862 * common-src/stream.c (stream_server, stream_client): use
5863 bind_portrange() instead of bind_reserved(), and try user
5864 specified ports first, then reserved ports, then regular
5866 * recover-src/amrecover.c (main): use bind_portrange() instead
5867 of bind_reserved(), and verify that the port it gives us is
5869 * recover-src/extract_list.c (extract_files_setup): use
5870 bind_portrange() instead of bind_reserved(), and verify that
5871 the port it gives us is a reserved one.
5873 1999-06-07 Mark F. Vlems <mvlems@vbox.xs4all.nl>
5875 * server-src/amindexd.c (reply, lreply, fast_lreply): Return code 0
5876 of printf does not imply an error on some systems (Openstep) even if
5877 the number of written characters is more than 0. The weakened error
5878 check has no implication for the correct implementations of printf.
5880 1999-06-03 Alexandre Oliva <oliva@dcc.unicamp.br>
5882 * server-src/driver.c (dump_to_tape): Tell hard from soft
5883 (retryable) failures in both dumper and taper results, and behave
5886 * docs/SYSTEM.NOTES: On Trusted Solaris, the format of inetd.conf is
5888 Reported by Julian Stevens <julian.stevens@baedsl.co.uk>
5890 1999-06-01 John Williams <williams@morinda.com>
5892 * changer-src/scsi-hpux.c (eject_tape): Enable it, it works.
5894 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
5896 * docs/INSTALL: Point to the patches page. Update version numbers.
5898 * example/config.site: Document UDPPORTRANGE.
5900 1999-06-01 Jens Persson <jens.persson@btj.se>
5902 * configure.in (UDPPORTRANGE): Set from --with-udpportrange.
5903 * config/acconfig.h: Add UDPPORTRANGE.
5904 * common-src/dgram.c: Implement it.
5906 1999-05-27 Alexandre Oliva <oliva@dcc.unicamp.br>
5908 * config/ltconfig, config/ltmain.sh, config/libtool.m4i: Updated
5909 to libtool 1.3.2 plus a few patches.
5910 * config/config.guess, config/config.sub: Ditto.
5912 1999-05-25 Alexandre Oliva <oliva@dcc.unicamp.br>
5914 * docs/FAQ (tar-patch): Mention sparse file problem.
5916 * recover-src/uscan.l: #undef `ECHO' after #include amanda.h; some
5917 system header files may define it.
5918 Reported by Dan Lipofsky <danlip@cyc.com>
5920 * */Makefile.am: Do not define ACLOCAL_M4, COMPILE or
5922 * Makefile.am: Create acinclude.m4 in the top-level directory.
5923 * config/Makefile.am: Create link to acconfig.h in the top-level
5925 * configure.in: Add AMANDA_CFLAGS to CFLAGS.
5926 * common-src/Makefile.am: Create genversion.h with #defines, to
5927 avoid genversion-specific CPPFLAGS.
5928 * common-src/genversion.c: #include genversion.h
5929 * common-src/version.h: VERSION_COMMENT must be const, as in
5932 1999-05-24 Mike Grupenhoff <kashmir@munge.com>
5934 * server-src/amcheck.c (main): if we reap a bogus pid, print
5935 out the error message we generate, instead of whatever junk
5936 happens to be in the buffer.
5938 1999-05-23 Alexandre Oliva <oliva@dcc.unicamp.br>
5940 * server-src/amindex.h: Keep P macro expression in a single line.
5941 Reported by Patrick Harrold <patrickh@nasco-inc.com>
5943 * common-src/Makefile.am (statfs_LDADD): Added alloc.obj.
5945 * common-src/statfs.c (STATFS_SCALE, sys/statvfs.h): If f_frsize is
5946 zero, use f_bsize. It now works with GNU libc 2.1.
5947 Reported by Heikki Vatiainen <hessu@cs.tut.fi>
5949 1999-05-22 Alex Pilosov <alex@pilosoft.com>
5951 * server-src/amindexd.c (is_dump_host_valid): sanitize_name(host)
5952 before doing a stat.
5953 * server-src/tapefile.c (lookup_nb_tape): init pos to 0.
5955 1999-05-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5957 * server-src/reporter.c: take the orig size from the SUCCESS line.
5958 use value from the infofile only the datestamp are equal.
5959 Write all available value.
5961 1999-05-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5963 * server-src/planner.c (pick_inclevel): check for base_level+1 if
5964 we don't have estimate for base_level. Needed for FORCE_BUMP.
5965 * server-src/planner.c (promote_highest_priority_incremental):
5966 Don't promote if we don't have level 0 estimate. No more need
5967 to check for skip_full, DS_NOFULL, DS_INCRONLY or FORCE_BUMP.
5969 1999-05-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5971 * server-src/amflush.c: ignore SIGPIPE
5972 * server-src/driver.c: ignore SIGPIPE
5973 * server-src/driverio.c (taper_cmd, dumper_cmd): return 0 on error,
5975 * server-src/driverio.h (taper_cmd, dumper_cmd): prototype.
5977 1999-05-14 Alexandre Oliva <oliva@dcc.unicamp.br>
5979 * docs/TAPE.CHANGERS (chg-rth): URL for chs is no longer valid.
5981 1999-05-10 Mike Grupenhoff <kashmir@munge.com>
5983 * client-src/sendsize.c (getsize_dump): print out the strerror
5984 if we can't exec killpgrp.
5986 1999-05-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5988 * example/amanda.conf.in: typo
5990 1999-05-05 Mike Grupenhoff <kashmir@munge.com>
5992 * server-src/amverify.sh.in (pecho): new function. Like echo
5993 but doesn't append newline, and supports \r, etc. Implemented
5995 * server-src/amverify.sh.in: use pecho where we used to use echo -n,
5996 etc. It's nearly impossible to figure out which echo needs what
5997 flags and also know if it supports \r. So we just punt and use
6000 1999-04-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6002 * server-src/planner.c (when_overwrite): return a big number (1024)
6003 if the tape is not reusable.
6005 1999-04-29 Alexandre Oliva <oliva@dcc.unicamp.br>
6007 * config/ltconfig, config/ltmain.sh, config/libtool.m4i: Updated
6010 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
6012 * common-src/versuff.c.in: Adjust constness to match version.h.
6014 * docs/SYSTEM.NOTES: Recommend GNU tar for Linux.
6016 1999-04-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6018 * server-src/amdump.sh.in: execute amtrmlog.
6020 1999-04-22 John R. Jackson <jrj@purdue.edu>
6022 * configure.in: add --with-broken-fsf to use a read() loop instead
6023 of the fsf ioctl on some broken systems.
6024 * config/acconfig.h: ditto
6025 * tape-src/tapeio.c (tapefd_fsf): ditto
6027 1999-04-22 Alexandre Oliva <oliva@dcc.unicamp.br>
6029 * docs/SYSTEM.NOTES: Typo
6030 * docs/SAMBA: Update on samba-largefs patch.
6031 * docs/FAQ: New FAQ about promotion of full dumps.
6033 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
6035 * tape-src/tapeio.c (tape_open): Retry after EBUSY and EINTR too.
6036 Comment out test that would set filename to /dev/null.
6038 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
6040 * docs/WISHLIST: Global reformat. Removed fixed issues. Added
6043 1999-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6045 * server-src/server_util.c: new file for utility function.
6046 New function construct_datestamp.
6047 * server-src/server_util.h: ditto
6048 * server-src/makefile.am: link server_util.c with libamserver.
6049 * amcleanupdisk.c (construct_datestamp): remove function.
6050 * server-src/driver.c: ditto
6051 * server-src/dumper.c: ditto
6052 * server-src/amflush.c: ditto
6053 * server-src/planner.c: ditto
6055 1999-04-15 Alexandre Oliva <oliva@dcc.unicamp.br>
6057 * docs/UPGRADE: Update URL for archived message.
6059 1999-04-07 John R. Jackson <jrj@purdue.edu>
6061 * tape-src/tapeio.c: allow tapedev to be /dev/null.
6062 * server-src/taper.c: allow tapedev to be /dev/null.
6063 * man/amanda.8.in: allow tapedev to be /dev/null.
6065 1999-04-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6067 * server-src/reporter.c (TextRule): Fix to write the full string.
6069 1999-04-06 David Mankins <dm@k12-nis-2.bbn.com>
6071 * common-src/security.c (bsd_security_ok): if an .amandahosts
6072 file is missing or unreadable, log this fact to the debug file
6073 instead of claiming that a user doesn't have permission.
6075 1999-04-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6077 * server-src/amcheck.c: -t should read the tapelist to validate
6080 1999-03-30 Alexandre Oliva <oliva@dcc.unicamp.br>
6082 * patches/samba-largefs.patch: updated to patch that ended up
6083 installed in the Samba CVS tree
6085 * patches/tar-1.12.patch: patch the configure script so that it
6086 requires autoconf and autoheader to be run; improve the
6087 printf_long_long test so that it doesn't get false positives because
6090 * changer-src/scsi-chio.c: since we do not support FreeBSD 3's
6091 camlib.h interface, #ifdef out all the code
6092 Reported by Francis Lam <Francis.Lam@Leitch.com>
6094 * configure.in (VXSYSLOCPATH): apparently a complex path expression
6095 gets AC_PATH_PROGS confused; set the path beforehand
6096 Reported by Francis Lam <Francis.Lam@Leitch.com>
6098 1999-03-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6100 * server-src/reporter.c: compiler warning.
6102 1999-03-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6104 * server-src/amtrmlog.c: new program to move unused log
6106 * server-src/Makefile.am: install amtrmlog.
6107 * server-src/find.h: declare find_log().
6108 * server-src/find.c(find_log): new function to return an array of
6109 all the logfile name that are still needed.
6110 * server-src/find.c(search_logfile): special case if output_find==NULL,
6111 return 1 if it the logfile fir the label.
6113 1999-03-25 Neil Crellin <neil@wallaby.cc>
6115 * docs/TAPE.CHANGERS (chg-chs): URL for chs
6117 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>, Tom Schutter <tom@platte.com>, Cloyce D. Spradling <cloyce@headgear.org>
6119 * patches/samba-largefs.patch: updated for Samba 2.0.*
6121 1999-03-25 Charles Owens <owensc@enc.edu>
6123 * changer-src/chg-chio.pl.in (changeTape): do not print status to
6124 both stdout and stderr; this causes failures on FreeBSD
6126 1999-03-21 Elmar Bartel <bartel@Informatik.TU-Muenchen.DE>
6128 * conffile.h, conffile.c: new columnspec option
6129 * reporter.c: use it
6130 * man/amanda.8.in: description and example
6131 * example/amanda.conf.in: ditto
6133 1999-03-20 Dahn Nilsson <dahn.nilsson@maxlab.lu.se>
6135 * configure.in: SAMBA_VERSION is not set correctly.
6137 1999-03-17 Alexandre Oliva <oliva@dcc.unicamp.br>
6139 * client-src/sendbackup-dump.c (re_table): generalize a bit some of
6140 the regular expressions, so as to make us more adaptable to future
6141 minor changes and bugfixes the the output format of some dumps
6143 1999-03-15 Thomas Hepper <th@ant.han.de>
6144 * changer-src/chg-scsi.c: If the open of the TapeDevice fails
6145 the programm is not terminated.
6146 * changer-src/scsi-aix.c: The wrong ident string was checked
6148 * changer-src/scsi-bsd.c: see scsi-aix.c
6149 * changer-src/scsi-linux.c: see scsi-aix.c
6150 * changer-src/scsi-solaris.c: see scsi-aix.c
6151 * changer-src/scsi-changer-driver.c: Added some more debug prints.
6152 Wrong fd passwd to LogSense.
6153 * docs/TAPE.CHANGERS: added note about linux and aha1542
6155 1999-03-15 Michael Povel <mcp@ladyada.han.de>
6156 * server-src/amlabel.c: Wrong parameter to changer_label
6157 * server-src/amtape.c: New function update_one_slot,
6159 * server-src/changer.c: Changed slotsp from int to char, some
6161 * server-src/changer.h: Changed prototype for changer_label
6163 1999-03-15 Alexandre Oliva <oliva@dcc.unicamp.br>
6165 * config/ltconfig, config/ltmain.sh: updated from libtool 1.2f
6166 * config/libtool.m4i, config/config.guess, config/config.sub: ditto
6167 * configure.in: dropped AC_PROG_RANLIB, as suggested by libtoolize
6169 1999-03-14 Mathias Herberts <Mathias.Herberts@ago.fr>
6171 * man/amrecover.8.in: document mode and setmode
6173 1999-03-14 Jon Stevens <jon@clearink.com>
6175 * common-src/security.c (bsd_security_ok): increase the verbosity of
6176 failed authentication messages
6178 1999-03-14 Alexandre Oliva <oliva@dcc.unicamp.br>
6180 * configure.in (powerpc-*-linux-*): supported platform
6182 Reported by Jon Stevens <jon@clearink.com>
6184 1999-03-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6186 * server-src/dumper.c (startup_dump): rename dumpname to progname.
6187 the function will use the parameter progname instead of the
6190 1999-03-06 Alexandre Oliva <oliva@dcc.unicamp.br>
6192 * configure.in (openbsd): according to Ralf Gebhart
6193 <rgebhart@cybernet-ag.net>, sparc-unknown-openbsd2.3 is supported;
6194 I assume other openbsd platforms work too.
6196 1999-03-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6198 * configure.in: set SAMBA_VERSION
6199 * client-src/sendbackup-gnutar.c (start_backup): use -q flag
6200 if SAMBA_VERSION >= 2
6202 1999-03-05 Mathias Herberts <Mathias.Herberts@ago.fr>
6204 * recover-src/amrecover.h (set_mode, show_mode) declare new functions.
6205 * recover-src/amrecover.h (SAMBA_SMBCLIENT, SAMBA_TAR) define new
6207 * recover-src/extract_list.c: declare variable samba_extract_method.
6208 * recover-src/extract_list.c (extract_files_child): set dumptype
6209 according to samba_extract_method.
6210 * recover-src/help.c (help_list): print help for new command mode
6212 * recover-src/set_commands.c (set_mode, show_mode): new functions.
6213 * recover-src/uscan.l:
6214 * recover-src/uparse.y:
6216 1999-03-04 Thomas Hepper <th@ant.han.de>
6217 * configure.in Check if samba tar accept the q option
6218 * changer-src/chg-scsi.c New command -status. Display slot status.
6219 add debug prints to parse_args. Missing {} in case COM_SLOT
6220 add put_current_slot if reset was successfull
6221 * changer-src/aix.c Init struct pwork with 0's.
6222 Fixed error in copy of the product indent form the inquiry
6223 * changer-src/scsi-bsd.c see aix.c
6224 * changer-src/scsi-hpux_new.c see aix.c
6225 * changer-src/scsi-irix.c see aix.c
6226 * changer-src/scsi-linux.c see aix.c
6227 * changer-src/scsi-solaris.c see aix.c
6228 * changer-src/scsi-changer-driver.c New function TerminatString,
6229 places 0 from the end of a string until first char/num
6230 Fixed wrong parameter for GenericRewind in LogSense
6231 In GenericElementStatus terminate VOL Tag String with 0
6232 New function CHangerStatus. dumps changer info on stdout.
6233 * changer-src/scsi-defs.h VolTag[TAG_SIZE+1] to have place for
6235 * client-src/sendbackup-gnutar.c Add option q to tar call if
6236 samba tar understand q option
6237 * config/acconfig.h New define if samba tar accepts q option
6238 * docs/TAPE.CHANGERS Add note on how to init the labelfile
6241 1999-03-03 Ralf Fassel <ralf@akutech.de>
6243 * common-src/conffile.h: bit field of length 1 should be unsigned int,
6246 1999-03-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6248 * server-src/driverio.h: new parameter level to update_info_taper().
6249 * server-src/driverio.c (update_info_taper): use parameter instead
6250 of sched(dp)->level.
6251 * server-src/driver.c: call update_info_taper with level parameter.
6252 * server-src/amflush.c: call update_info_taper with level parameter.
6253 no longer need to create a sched_t struct.
6255 1999-03-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6257 * server-src/driverio.h: remove declaration of inparallel, cmdstr()
6258 and childstr(), declare init_driverio(), add inparallel parameter
6259 to startup_dump_processes().
6260 * server-src/driverio.c (init_driverio): new function to initialize
6262 * server-src/driverio.c (childstr): scan for all dumpers (MAX_DUMPERS)
6263 instead of only inparallel
6264 * server-src/driverio.c (startup_dump_processes): new parameter
6265 inparallel is used instead of global variable.
6266 * server-src/driver.c (main): call init_driverio.
6267 * server-src/driver.c (main): call startup_dump_processes with
6268 inparallel parameter.
6269 * server-src/amflush.c (main): call init_driverio.
6271 1999-03-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6273 * server-src/amrmtape.sh.in: work with "last_level" and
6274 "consecutive_runs" in the ouput of "amadmin export".
6276 1999-02-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6278 * docs/WISHLIST: protocol between the driver and dumpers.
6280 1999-02-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6282 * server-src/amtoc.pl.in: output the datestamp of each dump, because
6283 amflush can flush the same disk multiple date.
6285 1999-02-27 Thomas Hepper <th@ant.han.de>
6286 * server-src/amlabel.c fixed call to changer_label
6288 1999-02-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6290 * server-src/holding.h: declare struct holding_t. Remove
6291 declaration of insert_dirname, scan_holdingdisk. Declare
6292 new function free_holding_list. pick_datestamp and
6293 pick_all_datestamp now return (holding_t *).
6294 * server-src/holding.c (insert_dirname): new parameter holding_list
6295 where we add the name. Can add more than MAX_DIRS name.
6296 * server-src/holding.c (free_holding_list): new function to free
6298 * server-src/holding.c (scan_holdingdisk): new parameter holding_list.
6299 * server-src/holding.c (pick_all_datestamp, pick_datestamp): return
6300 a list instead of a (char **).
6301 * server-src/find.c (search_holding_disk): use the list return by
6303 * server-src/amflush.c: use the list return by pick_datestamp.
6304 * server-src/amcleanupdisk.c (check_disks): use the list return by
6307 1999-02-26 Thomas Hepper <th@ant.han.de>
6309 * changer-src/chg-scsi.c Added global structs for the openend
6310 devices. Added new options label and search for the barcode
6311 support. New function MapBarCode, map barcode from reader
6312 to amanda tape labels.
6313 *changer-src/scsi-aix.c Error in copying SCSI ident fixed.
6314 A space mut not be the end of the string...
6315 * changer-src/scsi-bsd.c same as scsi-aix.c
6316 * changer-src/scsi-irix.c same as scsi-aix.c
6317 * changer-src/scsi-solaris.c same as scsi-aix.c
6318 * changer-src/scsi-hpux_new.c same as scsi-aix.c
6319 * changer-src/scsi-linux.c same as scsi-aix.c , fixed
6320 error in check if we open an sg device.
6321 * changer-src/scsi-changer-driver.c Removed LookupFunction
6322 and LookupDevice functions .
6323 * docs/TAPE.CHANGERS update info about chg-scsi
6325 1999-02-26 Michael Povel <mcp@ladyada.han.de>
6327 * server-src/amcheck.c Added debug output for barcode
6329 * server-src/amlabel.c Added debug output, inform chg-scsi
6331 * server-src/amtape.c Added debug output, inform chg-scsi
6333 * server-src/changer.c Added debug output, filled function
6334 changer-label with live, label search should work now
6336 1999-02-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6338 * server-src/driverio.c (addfd): bug fixe.
6340 1999-02-22 Alexandre Oliva <oliva@dcc.unicamp.br>
6342 * client-src/sendbackup-gnutar.c: new regexp for SAMBA
6343 Reported by Grzegorz Mucha <grzegorz.mucha@solidex.com.pl>
6345 1999-02-17 Alexandre Oliva <oliva@dcc.unicamp.br>
6347 * server-src/amtoc.pl.in: minor fixes for multi-tape runs
6349 1999-02-17 Nicolas Mayencourt <Nicolas.Mayencourt@cui.unige.ch>
6351 * server-src/amtoc.pl.in: complete, backward-incompatible rewrite;
6352 command-line arguments changed
6353 * man/amtoc.8.in: ditto
6355 1999-02-17 Alexandre Oliva <oliva@dcc.unicamp.br>
6357 * changer-src/chg-multi.sh.in: minor portability changes
6358 * docs/TAPE.CHANGERS: originally by James da Silva
6360 1999-02-17 Jean-Francois Dockes <dockes@cdkit.remcomp.fr>
6362 * changer-src/chg-multi.sh.in: various portability changes and
6363 general fixes, particularly for multieject; new cycle mode
6364 * docs/TAPE.CHANGERS: detailed description of chg-multi
6365 * example/chg-multi.conf: updated; added reference to
6366 docs/TAPE.CHANGERS for details
6368 1999-02-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6370 * server-src/driverio.h: remove declaration of addfd.
6371 * server-src/driverio.c (addfd): 2 new arguments, readset and maxfd,
6372 don't use global variable.
6373 * server-src/driverio.c (startup_tape_process, startup_dump_process):
6374 call addfd with new argument.
6376 1999-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6378 * server-src/driverio.c (startup_tape_process): new taper_program
6380 * server-src/driverio.h: remove declaration of taper_program.
6381 * server-src/driver.c (main): declare taper_program.
6382 * server-src/driver.c: call startup_tape_process with the new
6383 taper_program argument.
6384 * server-src/amflush.c (run_dumps): declare taper_program.
6385 * server-src/amflush.c (run_dumps): call startup_tape_process with
6386 the new taper_program argument.
6388 1999-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6390 * server-src/driverio.c (startup_dump_process, startup_dump_processes):
6391 new dumper_program argument.
6392 * server-src/driverio.h: remove declaration of dumper_program.
6393 * server-src/driver.c: declare dumper_program.
6394 * server-src/driver.c: call startup_dump_process and
6395 startup_dump_processes with the new dumper_program argument.
6397 1999-02-15 Thomas Hepper <th@ant.han.de>
6399 * changer-src/scsi-changer-driver.c forget to increment retry
6401 * changer-src/chg-scsi.c (clean_tape) added sleep(60) after
6402 loading the cleaning tape and before unloading
6404 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6406 * server-src/list_dir.h: remove global variable dir_list, declare
6407 new function get_dir_list.
6408 * server-src/list_dir.c (get_dir_list): new function to return dir_list.
6409 * server-src/amindexd.c (opaque_ls): use get_dir_list.
6411 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6413 * server-src/holding.h: remove declaration of get_letter_from_user()
6415 * server-src/holding.c: remove function get_letter_from_user() and
6417 * server-src/holding.c (pick_datestamp): return empty array instead
6418 of calling exit if no directory are found.
6419 * server-src/amflush.c (get_letter_from_user): new function copied
6421 * server-src/amflush.c (confirm): write a message and exit if no
6422 directory were found.
6424 1999-02-14 Thomas Hepper <th@ant.han.de>
6426 * changer-src/scsi-changer-driver.c New function SCSI_Move
6427 removed move in GenericMove, call now SCSI_Move
6428 Now check in GenericMove if the move is legal, based on the info
6429 from the device capabilities page
6430 * changer-src/scsi-linux.c (SCSI_OpenDevice) check if the device
6431 is an sg device, or an link to an sg device. If no set SCSI flag to 0
6432 Set timeout for SCSI commands, the default will not work if there is an
6433 IES on slow changers, if not set high maschine hangs with lot of SCSI bus
6436 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6438 * server-src/amindexd.c: remove duplication inclusion of version.h.
6439 Include tapefile.h to get read_tapelist() prototype.
6440 * server-src/amindexd.c (build_disk_table): remove a plethora of
6442 * server-src/planner.c: FORCE_FULL command was not cleared.
6444 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6446 * server-src/amflush.c (flush_holdingdisk): don't update the database
6447 when flushing a partial dump.
6449 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6451 * server-src/holding.h (get_dumpfile): new function
6452 * server-src/holding.c (get_dumpfile): new function to fill a
6453 dumpfile_t struct from a holding file.
6455 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6457 * server-src/amlabel.c: compiler warning: too many arguments for format
6459 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6461 * server-src/amlabel.c: remove the label from the tapefile in
6462 case it was already there (-f).
6464 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6466 * server-src/dumper.c: make sure holding files are not larger
6469 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6471 * server-src/amcleanupdisk.c: new program to scan and find temporary
6472 file on holding disks.
6473 * server-src/Makefile.am (libexec_PROGRAMS): add amcleanupdisk.
6474 * server-src/amcleanup.sh.in: call amcleanupdisk.
6476 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6478 * server-src/holding.c (pick_all_datestamp): new function to return
6479 all datestamp in the holding disks.
6480 * server-src/holding.h: declare pick_all_datestamp.
6482 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6484 * server-src/diskfile.h (host_t): new start_t field.
6485 * server-src/diskfile.c (read_diskline): set start_t to 0.
6486 * server-src/driver.c (start_some_dumps): Don't start a dump if
6487 the host->start_t > now.
6488 * server-src/driver.c (start_some_dumps): set host->start_t to 15 sec
6489 in the future when starting a FILE_DUMP.
6490 * server-src/driver.c (dump_to_tape): set host->start_t to 15 sec in
6491 the future when starting a PORT_DUMP.
6493 1999-02-12 Thomas Hepper <th@ant.han.de>
6494 * changer-src/Makefile.am added tape-src to the include list
6495 * changer-src/chg-scsi.c removed the changes for not using the
6497 * changer-src/scsi-aix.c Added debug output in SCSI_ExecuteCommand
6498 added size parameter to the SCSI_Inquiry call
6499 * changer-src/scsi-bsd.c added size parameter to the SCSI_Inquiry call
6500 * changer-src/scsi-hpux_new.c same as above
6501 * changer-src/scsi-irix.c same as above
6502 * changer-src/scsi-solaris.c same as above
6503 * changer-src/scsi-linux swich from ioctl interface to sg interface.
6504 Not full tested yet !!
6505 * changer-src/scsi-changer-driver.c Added new structs for new devices.
6506 complete rewrite of Sense Handling. Removed now unused functions.
6507 Added first functions for Barcode reader support.
6508 Now use MODE_SENSE to get the number of Drives/Slots/Robots.
6509 Split up functions in SCSI functions (prefix SCSI, Generic functions,
6510 prefix Generic. Not complete yet). Rewrite of GenericElementStatus
6511 * changer-src/scsi-defs.h added new structs, reordered some defines.
6512 * changer-src/chg-scsi-chio.c New file(copy of chg-scsi.c).
6513 Too difficult to maintain chg-scsi and chg-scsi-chio from one file
6515 1999-02-10 Alexandre Oliva <oliva@dcc.unicamp.br>
6517 * server-src/amlabel.c (main): try to read just-written tape label
6518 back; if wrendmark overwrote the label, suggest using a
6519 non-rewinding device
6520 * tape-src/tapeio.c (tape_wrendmark): would not close tape device if
6523 1999-02-10 Paul Bijnens <Paul.Bijnens@lant.be>
6525 * server-src/amoverview.pl.in: Y2K fix in output to user
6526 * server-src/amtoc.pl.in (print_info): ditto
6528 1999-02-10 Alexandre Oliva <oliva@dcc.unicamp.br>
6530 * client-src/sendsize.c (getsize_dump): do not redirect standard
6531 output of estimator to /dev/null if we HAVE_DUMP_ESTIMATE
6533 1999-02-03 Alexandre Oliva <oliva@dcc.unicamp.br>
6535 * NEWS: fix description of incronly: it won't really perform full
6538 * NEWS: support for ufsdump -S, incronly strategy and new chunksize
6541 * server-src/conffile.c (init_holdingdisk_defaults, chunksize):
6543 * example/amanda.conf.in: ditto
6544 * man/amanda.8.in: ditto
6546 * configure.in (amanda_cv_dump_estimate): check for support for -S
6547 too, and define HAVE_DUMP_ESTIMATE as the estimate switch, if any
6548 * client-src/sendsize.c (re_size): new regexps for Solaris ufsdump
6549 -S and Samba `du'. Restrict regexp that matched Digital Unix'
6550 dump -E so that it doesn't match smbclient's output any more.
6551 Move some regexps around, and only define them if the corresponding
6552 dump program is available
6554 1999-02-01 Alexandre Oliva <oliva@dcc.unicamp.br>
6556 * example/amanda.conf.in: document the behavior of relative
6558 * man/amanda.8.in: ditto
6560 * man/amanda.8.in (exclude list): the GNU tar flag is
6561 --exclude-from, not --exclude-list
6562 Reported by Tom Schutter <tom@platte.com>
6564 1999-02-01 Alexandre Oliva <oliva@dcc.unicamp.br>
6566 * client-src/sendbackup-gnutar.c (re_table): ignore `session request
6567 to' message printed by Samba 2.0.0
6569 1999-01-28 Alexandre Oliva <oliva@dcc.unicamp.br>
6571 * man/amanda.8.in (comprate): it is not used when there is history
6572 information; useful for large disks that compress little
6573 Reported by job bogan <job@piquin.uchicago.edu>
6575 1999-01-28 Alexandre Oliva <oliva@dcc.unicamp.br>
6577 * Makefile.am: select which SUBDIRS to descend to here
6578 * client-src/Makefile.am: removed if WANT_CLIENT
6579 * tape-src/Makefile.am: removed if WANT_TAPE
6580 * server-src/Makefile.am: removed if WANT_SERVER
6581 * changer-src/Makefile.am: ditto
6582 * restore-src/Makefile.am: removed if WANT_RESTORE
6583 * recover-src/Makefile.am: removed if WANT_RECOVER
6584 * amplot/Makefile.am: removed if WANT_AMPLOT
6586 1999-01-27 Alexandre Oliva <oliva@dcc.unicamp.br>
6588 * NEWS: chg-scsi ports and Samba 2.0.0 support
6590 * configure.in (USE_AMANDAHOSTS): enable by default
6591 * example/config.site: ditto
6592 * docs/INSTALL: ditto
6595 * docs/INSTALL: updated URLs for GNU packages and Samba
6596 * docs/SAMBA: note that Samba 2.0.0 is supported
6598 * docs/SYSTEM.NOTES (HP/UX): what does `Link severed' mean?
6600 1999-01-27 Thomas Hepper <th@ant.han.de>
6601 * changer-src/scsi-changer-driver.c SCSI_ReadElementStatus
6602 A while loop has to start with while, not if .....
6604 1999-01-27 Alexandre Oliva <oliva@dcc.unicamp.br>
6606 * Makefile.am (EXTRA_DIST): sst was added within contrib
6608 * ltmain.sh, ltconfig, libtool.m4i: updated from libtool CVS
6609 * configure.in: AC_SUBST LIBTOOL_DEPS
6610 * Makefile.am: regen libtool if neded
6612 * Makefile.am: declare that we want automake 1.4 and we're a foreign
6615 * configure.in: require autoconf 2.13, and use
6616 AC_VALIDATE_CACHED_SYSTEM_TUPLE instead of
6617 AC_VALIDATE_CACHE_SYSTEM_TYPE
6618 * config/acinclude.m4i: removed AC_VALIDATE_CACHE_SYSTEM_TYPE
6620 * configure.in (SAMBA_CLIENT): updated check for smbclient to
6623 1999-01-26 Alexandre Oliva <oliva@dcc.unicamp.br>
6625 * server-src/amdump.sh.in (runuser): set to LOGNAME if defined, and
6626 to the output of whoami otherwise
6627 Reported by Tom Schutter <tom@platte.com>
6629 1999-01-26 Thomas Hepper <th@ant.han.de>
6630 * Makefile.am Added sst driver files to EXTAR_DIST
6632 1999-01-26 Thomas Hepper <th@ant.han.de>
6633 * changer-src/chg-scsi.c If statfile is not set try to get the info
6634 about the current loaded tape direct from the changer.
6635 Fixed debug output for the eject value if > 1
6636 * changer-src/libscsi.h Prototype for GetCurrentSlot
6637 * changer-src/scsi-aix.c If the Device we open is not a changer or tape
6638 return NULL, so that the above function can abort. New eject per mtio ioctl.
6639 * changer-src/scsi-bsd.c see scsi-aix.c
6640 * changer-src/scsi-linux.c see scsi-aix.c
6641 * changer-src/scsi-hpux_new.c see scsi-aix.c
6642 * changer-src/scsi-irix.c see scsi-aix.c
6643 * changer-src/scsi-solaris.c see scsi-aix.c and added a retry loop for
6644 the execution of SCSI commands.
6645 * changer-src/scsi-changer-driver.c New Function SCSI_ReadElementStatus
6646 split ReadElementStatus in device and device independed part
6647 New EXB120ElementStatus, renamed ReadElementStatus in GenericElementStatus
6648 added EXB 120 and DLT7000 to the devices list.
6649 Removed the linked list for the element status. Now every element
6650 type has its own array allocated in the *ElementStatus functions.
6651 Check in the functions which sends SCSI commands if the fd is able to
6652 receive SCSI commands.
6653 In GenericEject check which type of eject to use (ioctl/SCSI)
6654 New GetCurrentSlot, try to get the info about the loaded tape direct from
6656 * changer-src/scsi-chio.c Add function GetCurrentSlot (not well tested yet)
6657 * changer-src/scsi-defs.h Added missing decl. in MediumTransportElementDescriptor_T
6658 for LITTLE_ENDIAN_BITFIELDS
6659 new field from in ElementInfo_T
6660 * changer-src/sci-hpux.c EMpty function GetCurrentSlot, do we still need scsi-hpux.c ?
6661 * docs/TAPE.CHANGERS added some notes for HP-UX, expanded list of tested devices
6663 1999-01-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6665 * server-src/conffile.c (init_defaults): default value of runspercycle
6667 * server-src/amadmin.c (balance): use default value of runspercycle.
6668 * server-src/planner.c (main): use default value of runspercycle.
6670 1999-01-22 Martin Apel <apel@tecmath.de>
6672 * example/amanda.conf.in: explanation of incronly strategy.
6673 * man/amanda.8.in: explanation of incronly strategy.
6674 * server-src/amadmin.c: recognize incronly strategy
6675 * server-src/conffile.c: read the incronly strategy in the
6677 * server-src/conffile.h: definition of DS_INCRONLY
6678 * server-src/planner.c: Do planning for incronly strategy:
6679 If the force flag is set perform a full dump, otherwise do
6680 normal incremental processing but avoid full dumps.
6681 * server-src/tapefile.c: Bugfix so only tapes which match
6682 the regular expression for tape labels in the current
6683 configuration are considered for writing.
6685 1999-01-22 Alexandre Oliva <oliva@dcc.unicamp.br>
6687 * configure.in: require autoconf 2.12.2
6689 * changer-src/Makefile.am (LDADD): add libamtape, because
6690 tapefd_rdlabel() is used in scsi-changer-driver.c
6692 * server-src/planner.c (output_scheduleline): removed `or historical
6693 data' from `no estimate' message; historical data doesn't matter any
6695 Reported by Giorgos Vlachos <Giorgos.Vlachos@eurodyn.com>
6697 1999-01-20 Todd Pfaff <pfaff@mcmaster.ca>
6699 * client-src/sendbackup-gnutar.c: more Samba 2.0.0 messages
6701 * client-src/sendbackup-gnutar.c: new Samba 2.0.0 message
6703 1999-01-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6705 * server-src/amflush.c: use ap_snprintf instead of snprintf.
6706 * server-src/amflush.c: rotation of new amflush log was broken.
6708 1999-01-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6710 * server-src/reporter.c: always call output_stats(), the problem is
6711 that degraded_mode is set if amflush fills the tape.
6713 1999-01-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6715 * server-src/amflush.c: write debuging info to $logdir/amflush
6716 instead of /dev/null if we run in background.
6717 * server-src/amcleanup.sh.in: rename $logdir/amflush.
6719 1999-01-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6721 * server-src/amstatus.pl.in: fix a divide by zero error.
6723 1999-01-10 Thomas Hepper <th@ant.han.de>
6724 * rewite of the scsi-changer-driver.c and the os depnedent
6725 parts. Removed one layer of functions (Move, Eject, Clean ...)
6727 1999-01-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6729 * server-src/amstatus.pl.in: report the current dump when reporting
6730 the busy time of each dumper.
6732 1998-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6734 * server-src/dumper.c: open temporary holding file with O_TRUNC flags
6737 1998-12-28 John R. Jackson <jrj@purdue.edu>
6739 * server-src/reporter.c: do not drop core generating labels if the
6740 tape label is not defined, e.g. in degraded mode (compliments of
6741 Jan L. Peterson <jlp@Part.NET>).
6743 1998-12-28 John R. Jackson <jrj@purdue.edu>
6745 * server-src/amtape.c: initialize two strings to NULL to avoid a
6746 core dump, compliments of G. Allen Morris III <gam3@acm.org>.
6748 1998-12-27 John R. Jackson <jrj@purdue.edu>
6750 * man/amreport.8.in: remove reference to 8.5x11 paper size for the
6753 1998-12-27 John R. Jackson <jrj@purdue.edu>
6755 * example/3hole.ps: new lbl-templ file for 3 hole punch reports
6756 * example/Makefile.am: add 3hole.ps
6758 1998-12-22 Thomas Hepper <th@icem.de>
6760 * docs/TAPE.CHANGERS Update notes about chg-scsi
6761 * changer-src/chg-scsi.c Added new config option tapestatus,
6762 if set the tape log pages are written to this file.
6763 changed parameter list for get_clean_state/ask_clean,
6764 * changer-src/libscsi.h changed parameter list for get_clean_state
6765 * changer-src/scsi-changer-driver.c Added new functions OpenDevice
6766 CloseDevice LookupDevice.
6767 Added new functions to read and decode the Tape LOG Pages.
6768 Tape Eject and ready check is now done by SCSI calls
6770 * changer-src/scsi-aix.c
6771 * changer-src/scsi-bsd.c
6772 * changer-src/scsi-hpux_new.c
6773 * changer-src/scsi-hpux.c
6774 * changer-src/scsi-irix.c
6775 * changer-src/scsi-solaris.c
6776 Changed all SCSI_OpenDevice/SCSI_CloseDevice functions so that they
6777 fit to the new OpenDevice/CloseDevice calls. Removed mtio.h from
6778 includes, remove Tape_Ready and Tape_Eject
6779 * changer-src/scsi-chio.c
6780 * changer-src/scsi-defs.h
6782 For all changer-src files, removed tabs, run indent (from xemacs)
6783 Added emacs variables to the end (no tab, gnu style)
6785 1998-12-21 John R. Jackson <jrj@purdue.edu>
6787 * man/amanda.8.in: document the lbl-templ tapetype option.
6789 1998-12-21 John R. Jackson <jrj@purdue.edu>
6791 * man/amreport.8.in: fix formatting problem.
6793 1998-12-20 John R. Jackson <jrj@purdue.edu>
6795 * configure.in: define NEED_RESETOFS unless LFS (large file system
6796 support) is available.
6797 * config/acconfig.h: add NEED_RESETOFS tag.
6798 * server-src/taper.c: only reset the tape offset if NEED_RESETOFS
6799 is defined and only once per 2 GBytes.
6801 1998-12-20 Alexandre Oliva <oliva@dcc.unicamp.br>
6803 * server-src/amlabel.c (main): datestamp for new tapes is now 0
6804 * server-src/tapefile.c (reusable_tape): recognize datestamp 0 as
6806 * man/amlabel.8.in: document that tapes are added to tapelist
6808 1998-12-19 John R. Jackson <jrj@purdue.edu>
6810 * server-src/amstatus.pl.in: instead of just displaying why no
6811 dumpers were busy, display reason(s) why N+1 were not busy.
6813 1998-12-18 John R. Jackson <jrj@purdue.edu>
6815 * server-src/amstatus.pl.in: add statistics about how much time
6816 taper and each dumper is busy, how much time N dumpers are busy
6817 and why no dumpers were busy.
6819 1998-12-18 John R. Jackson <jrj@purdue.edu>
6821 * server-src/amstatus.pl.in: fix two perl warnings.
6823 1998-12-18 John R. Jackson <jrj@purdue.edu>
6825 * server-src/amstatus.pl.in: fix two minor typos. Add percentage
6826 display to the summary comparing real and estimated size and real
6827 versus total estimate (showing how well the estimates are doing and
6828 a rough guess at how far along the run is). Also the percentage of
6829 total holding disk space in use.
6831 1998-12-18 John R. Jackson <jrj@purdue.edu>
6833 * server-src/amstatus.pl.in: take the --file argument as is if it
6834 is an absolute path.
6836 1998-12-18 John R. Jackson <jrj@purdue.edu>
6838 * server-src/driver.c: call short_dump_state() one last time before
6839 quitting so amstatus gets a last good status. Tell taper to quit
6840 after the dumpers since it writes more information to the amdump
6841 file (helps prevent mixed messages).
6843 1998-12-17 Alexandre Oliva <oliva@dcc.unicamp.br>
6845 * common-src/Makefile.am (noinst_DATA): removed; bogus
6846 * config/config.guess, config/config.sub: config/install-sh,
6847 config/mkinstalldirs: updated to current pre-2.13 autoconf CVS tree
6848 * patches/autoreconf.patch: removed
6849 * config/libtool/libtool.m4: renamed to config/libtool.m4i
6850 * config/acinclude.m4: renamed to config/acinclude.m4i
6851 * config/Makefile.am (EXTRA_DIST): updated to reflect changes
6852 * autogen: build config/acinclude.m4 by concatenating acinclude.m4i
6854 * configure.in: no longer test whether libtool is installed; require
6856 * config/ltconfig, config/ltmain.sh, config/libtool.m4i: updated to
6858 * amplot/Makefile.am (EXTRA_DIST): no longer needed
6859 * changer-src/Makefile.am (chg_scsi_SOURCE): move scsi-defs.h closer
6860 to the beginning of the list
6861 * docs/INSTALL: fixed URL to gnuplot; recommend autoconf and
6864 1998-12-14 Alexandre Oliva <oliva@dcc.unicamp.br>
6866 * configure.in (BSD SCSI): test ... -a ... is not portable, and less
6867 so when written test ... -a test ... :-)
6869 1998-12-14 Thomas Hepper <th@icem.de>
6871 * changer-src/Makefile.am Added scsi-bsd.c
6872 * changer-src/chg-scsi.c Initialize *scsitapedevice
6873 * changer-src/scsi-changer-driver.c remove LITTLE_ENDIAN_BITFILEDS
6875 changed RequestSense to pRequestSense (there is a function
6876 called RequestSense)
6877 changed error handling in ResetStatus (fix for IRIX)
6878 FIxed length handling for the pages in ReadElemtStatus
6879 * changer-src/scsi-chio.c get_clean_state only returns 0, the
6880 ioctl to get the clean flag is not portable ;-(
6881 changed all (f)printf to dbprintf
6883 * changer-src/scsi-defs.h ElementStatusData_T is for BIG and
6884 LITTLE endian the same ...
6886 * changer-src/scsi-bsd.c New file for FreeBSD
6888 * changer-src/scsi-irix.c Clean up in the return handling
6889 changed RequestSense to pRequestSense
6890 Removed unused function TapeStatus
6892 * changer-src/scsi-linux.c changed RequestSense to pRequestSense
6893 Removed unused function TapeStatus
6895 * changer-src/scsi-solaris.c changed RequestSense to pRequestSense
6896 Removed unused function TapeStatus
6898 * config/acconfig.h added def for BSD_LIKE_SCSI
6900 * configure.in Added check for ENDIAN type AC_C_BIGENDIAN
6901 added sys/scsiio.h and check for BSD SCSI interface
6903 1998-12-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6905 * server-src/driver.c (handle_dumper_result): rename .tmp files
6906 when receiving ABORT_FINISHED.
6908 1998-12-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6910 * server-src/driver.c (start_some_dumps): Use the holdp returned
6911 by find_diskspace for a big_dumper in degraded mode.
6913 1998-12-11 Alexandre Oliva <oliva@dcc.unicamp.br>
6915 * docs/SYSTEM.NOTES (Ultrix): recommend gcc or egcs
6916 (IRIX): patch for xfsdump estimates
6918 1998-12-10 John R. Jackson <jrj@purdue.edu>
6920 * common-src/amflock.c (main): remove call set_pname() for
6921 CONFIGURE_TEST since error.o is not linked in.
6923 1998-12-10 John R. Jackson <jrj@purdue.edu>
6925 * common-src/amflock.c (main): report CONFIGURE_TEST error messages to
6928 1998-12-10 John R. Jackson <jrj@purdue.edu>
6930 * common-src/amflock.c (main): call set_pname() for CONFIGURE_TEST.
6931 * configure.in: do not set up pname global for lnlock CONFIGURE_TEST.
6933 1998-12-09 Henning P. Schmiedehausen <henning@tanstaafl.de>
6935 * client-src/sendbackup.c (parse_options): Added check whether the
6936 pathname of the exclude file is relative and if yes, use the
6937 mountpoint of the filesystem as anchor. So you can put your exclude
6938 file in the root of the filesystem to backup.
6939 * client-src/sendsize.c (getsize_gnutar): added the same check as
6940 above so sendsize uses the same exclude file.
6942 1998-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6944 * server-src/holding.c (size_holding_files): return size in KB.
6945 * server-src/driver.c (adjust_diskspace): use KB returned by
6947 * server-src/driver.c: rename .tmp file
6948 * server-src/dumper.c: do not rename .tmp file. let the driver do it.
6950 1998-12-09 John R. Jackson <jrj@purdue.edu>
6952 * common-src/stream.c (stream_server): do not request a reserved port
6953 if we are root but PORTRANGE is defined. Also, clean up the code
6954 and make sure *portp is -1 on all error returns.
6956 1998-12-08 John R. Jackson <jrj@purdue.edu>
6958 * Makefile.am: add the user-contributed area.
6959 * contrib/README: describe the user-contributed area.
6960 * contrib/dbbackup.README: README for Oracle database backup system.
6961 * contrib/dbbackup.ksh: Oracle database backup system wrapper.
6962 * contrib/dbbackup.sql: Oracle database backup system setup commands.
6963 * contrib/dbbackup.tcl: Oracle database backup system main body.
6965 1998-12-08 John R. Jackson <jrj@purdue.edu>
6967 * amplot/Makefile.am: fix install rule when DESTDIR is non-null,
6968 compliments of Henning P. Schmiedehausen <hps@tanstaafl.de>.
6970 1998-12-08 John R. Jackson <jrj@purdue.edu>
6972 * configure.in: fix reversed code for --with-amrecover, compliments
6973 of Yar Tikhiy <yar@radio-msu.net>.
6975 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6977 * common-src/fileheader.h (dumpfile_t): new is_partial field.
6978 * common-src/fileheader.c: add codee for new is_partial field.
6979 * server-src/holding.h (rename_tmp_holding): declare new function.
6980 * server-src/holding.c (rename_tmp_holding): new function.
6981 * server-src/dumper.c (do_dump): return 1 if succeded, otherwise 0.
6982 * server-src/dumper.c (main): open .tmp when dumping to disk,
6983 rename .tmp if do_dump return 1.
6984 * server-src/dumper.c (update_dataptr): open .tmp for new chunk.
6985 * server-src/amstatus.pl.in (dump_size): return size of .tmp file.
6987 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6989 * NEWS: document new force-bump, force-no-bump and unforce-bump
6992 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6994 * server-src/holding.c (size_holding_files): new function to
6995 return the sum of the size of all chunk of an image.
6996 * server-src/holding.h (size_holding_files): declare.
6997 * server-src/driver.c (adjust_diskspace): use size_holding_files
6998 instead of doing a stat of only the first chunk.
7000 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7002 * server-src/amadmin.c: new force-bump, force-no-bump and unforce-bump
7004 * man/amadmin.8.in: document them.
7006 1998-12-05 Alexandre Oliva <oliva@dcc.unicamp.br>
7008 * docs/FAQ (large filesystems): fixed reference to results missing
7009 (results missing): updated to 64Kb UDP packets
7011 1998-12-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7013 * server-src/infofile.h: rename PLANNER_FORCE to FORCE_FULL
7014 * server-src/planner.c: rename PLANNER_FORCE to FORCE_FULL
7015 * server-src/amadmin.c: rename PLANNER_FORCE to FORCE_FULL
7017 1998-12-01 John R. Jackson <jrj@purdue.edu>
7019 * server-src/amcheck.c: make -t mean do the tape checks, add new -l
7020 option for doing just the local server (non-tape) checks. Have -w
7021 turn on -t. Have -cs (or -sc) do both server and client checks.
7022 * man/amcheck.8.in: document above changes and clean up some minor
7025 1998-11-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7027 * server-src/driver.c (start_some_dumps): In degraded mode,
7028 a big dumper should do high priority dump before low priority.
7029 * server-src/driver.c (sort_by_priority_reversed): sort by
7030 time if priority is equal.
7032 1998-11-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7034 * server-src/infofile.h: declare FORCE_BUMP and FORCE_NO_BUMP
7036 * server-src/amadmin.c (force_one,unforce_one,info_one): work
7037 with info.command with bit operator.
7038 * server-src/planner.c (setup_estimate): work with info.command
7039 with bit operator, support for FORCE_BUMP and FORCE_NO_BUMP command.
7041 1998-11-27 Thomas Hepper <th@icem.de>
7043 * changer-src/scsi-aix.c Some changes in the error handling in
7044 scsi command execution
7045 * changer-src/scsi-changer-driver.c More debug prints.
7046 removed Endian16/Endian24 (replaced with macros)
7047 * changer-src/scsi-chio.c make get_clean_state work on linux
7048 * changer-src/scsi-defs.h added macros for converting from/to
7050 * docs/TAPE.CHANGERS add note about AIX and chg-scsi
7052 1998-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7054 * server-src/amadmin.c(export_one): export the last_level and
7055 consecutive_runs field.
7056 * server-src/amadmin.c(import_one): import the last_level and
7057 consecutive_runs field.
7059 1998-11-24 John R. Jackson <jrj@purdue.edu>
7061 * server-src/amlabel.c: insist on being run as the dump user (ala
7062 amlabel) to keep permissions straight.
7064 1998-11-24 John R. Jackson <jrj@purdue.edu>
7066 * server-src/amadmin.c: fix minor message format problem.
7068 1998-11-24 John R. Jackson <jrj@purdue.edu>
7070 * server-src/amlabel.c: insist on being run as the dump user (ala
7071 amflush) to keep permissions straight.
7073 1998-11-24 John R. Jackson <jrj@purdue.edu>
7075 * server-src/amrmtape.sh.in: insist on being run as the dump user (ala
7076 amdump) to keep permissions straight.
7078 1998-11-24 John R. Jackson <jrj@purdue.edu>
7080 * server-src/amadmin.c: issue a warning for update commands that might
7081 leave ownership incorrect.
7083 1998-11-24 John R. Jackson <jrj@purdue.edu>
7085 * server-src/amcheck.c: add a "-t" option to disable tape tests in the
7086 server checks. This lets server checks be done without mounting a
7087 tape. Add lots more sanity checks, in particular, ownership and
7088 permissions of the index area and text format database. Warn if
7089 amcheck is not run as the dump user listed in amanda.conf. Minor
7090 consistency cleanup in the messages.
7091 * man/amcheck.8.in: document the changes.
7093 1998-11-20 Alexandre Oliva <oliva@dcc.unicamp.br>
7095 * server-src/amcleanup.sh.in (logdir/amdump): arrange that it is
7096 renamed if it exists, even if no log file could be found.
7098 1998-11-19 Alexandre Oliva <oliva@dcc.unicamp.br>
7100 * config/ltmain.sh, config/ltconfig, config/libtool/libtool.m4:
7101 updated to current CVS libtool
7103 1998-11-19 John R. Jackson <jrj@purdue.edu>
7105 * server-src/conffile.c (get_holdingdisk, init_holdingdisk_defaults):
7106 set the default chunksize and the "0" and "-1" special chunksizes
7107 to 64 KBytes less than the maximum to allow the final read at EOF.
7108 * server-src/dumper.c (main): leave the chunksize as it is when it
7109 comes in except to truncate it to a 32 KByte boundary.
7110 * man/amanda.8.in: add some chunksize comments and clean up a few
7111 minor odds and ends.
7113 1998-11-19 John R. Jackson <jrj@purdue.edu>
7115 * recover-src/amrecover.c (main): use set_host to find the initial
7116 host name so we get the same alias resolution at startup as the
7118 * recover-src/set_commands.c (set_host): report alternate names being
7119 attempted and only clear the directory list if a host is found.
7121 1998-11-19 Alexandre Oliva <oliva@dcc.unicamp.br>
7123 * server-src/driverio.c (update_info_dumper): do not update
7124 compression or dump rates when called from
7125 update_failed_dump_to_date
7126 Reported by Michael Schmitz <mschmitz@sema.de>
7128 1998-11-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7130 * server-src/dumper.c (main): reduce the size of the chunksize by
7133 1998-11-18 Alexandre Oliva <oliva@dcc.unicamp.br>
7135 * configure.in: hack for paxutils was not working; fixed
7137 1998-11-18 Michael Povel <mcp@ladyada.han.de>
7139 * server-src/changer.h added new functions:changer_query
7140 ,changer_search,changer_find, changer_label
7141 * server-src/changer.c added changer_query, changer_search,
7142 changer_find, changer_label
7143 * server-src/amcheck.c (taper_scan) now uses changer_find
7144 * server-src/amtape.c (load_label and taper_scan) now use changer_find
7145 * server-src/taper.c (taper_scan) now uses changer_find
7146 * server-src/amlabel.c (main) added call to changer_label
7147 which is only an empty dummy at the moment
7149 1998-11-18 Thomas Hepper <th@icem.de>
7151 * changer-src/chg-scsi.c Added debug print option
7152 * changer-src/chg-scsi.c If the load fails do not continue
7153 * changer-src/scsi-aix.c changed #include <config.h> to <amanda.h>
7154 * changer-src/scsi-aix.c Added debug prints to SCSI_ExecuteCommand
7155 * changer-src/scsi-changer-driver.c changed #include <config.h> to
7157 * changer-src/scsi-changer-driver.c Added debugging prints
7158 * changer-src/scsi-changer-driver.c Remove unused funktion TestUnitReady
7159 * changer-src/scsi-chio.c added missing funktion Tape_Ready
7160 * changer-src/scsi-hpux.c removed #include "config.h", is already done
7162 * changer-src/scsi-hpux_new.c changed #include <config.h> to
7164 * changer-src/scsi-irix.c changed #include <config.h> to
7166 * changer-src/scsi-linux.c changed #include <config.h> to
7168 * changer-src/scsi-solaris.c changed #include <config.h> to
7171 1998-11-17 Alexandre Oliva <oliva@dcc.unicamp.br>
7173 * client-src/sendsize.c: disable HAVE_DUMP_ESTIMATE if SAMBA_CLIENT
7176 1998-11-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7178 * server-src/tapefile.c (lookup_last_reusable_tape): Wrong order
7179 to shift the tpsave array.
7181 1998-11-17 Alexandre Oliva <oliva@dcc.unicamp.br>
7183 * example/amanda.conf.in: document that infofile is supposed to be a
7184 directory with the default database format
7185 * docs/FAQ: New questions: `infofile update failed' and `using the
7186 same host in different configurations'
7188 1998-11-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7190 changer-src/scsi-linux.c (Tape_Ready): typo, the argument Device
7191 to the SCSI_CloseDevice() is not defined, I changed it to tapedev.
7193 1998-11-17 Brendan M Coffey <bcoffey@connix.com>
7195 * common-src/stream.c (stream_server): add requested send and receive
7196 socket size parameters.
7197 * common-src/stream.h (stream_server): ditto
7198 * server-src/taper.c (file_reader_side): set a large receive socket
7200 * client-src/sendbackup.c (main): set a large send and receive socket
7201 buffer size for the data path, use defaults for the message and index
7204 1998-11-16 Alexandre Oliva <oliva@dcc.unicamp.br>
7206 * changer-src/scsi-solaris.c (Tape_Ready): typo in Thomas' patch
7208 1998-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7210 * server-src/infofile.h (get_dumpdate): rename record parameter to info.
7211 * server-src/infofile.h (get_info): rename record parameter to info.
7212 * server-src/infofile.h (put_info): rename record parameter to info.
7213 * server-src/infofile.c (get_dumpdate): rename rec parameter to info.
7214 * server-src/infofile.c (zero_info): rename ip parameter to info.
7215 * server-src/infofile.c (get_info): rename record parameter to info.
7216 * server-src/infofile.c (put_info): rename record parameter to info.
7217 * server-src/infofile.c (dump_rec): rename r parameter to info.
7218 * server-src/infofile.c (dump_db): rename record variable to info.
7219 * server-src/planner.c (last_level): rename ip parameter to info.
7220 * server-src/planner.c (next_level0): rename ip parameter to info.
7221 * server-src/planner.c (runs_at): rename ip parameter to info.
7222 * server-src/planner.c (askfor): rename inf parameter to info.
7223 * server-src/planner.c (setup_estimate): rename inf variable to info.
7224 * server-src/driverio.c (update_info_dumper): rename inf parameter
7226 * server-src/driverio.c (update_info_taper): rename inf parameter
7228 * server-src/amadmin.c (next_level0): rename ip parameter to info.
7229 * server-src/amadmin.c (force_one): rename inf variable to info.
7230 * server-src/amadmin.c (unforce_one): rename inf variable to info.
7231 * server-src/amadmin.c (delete_one): rename inf variable to info.
7232 * server-src/amadmin.c (info_one): rename inf variable to info.
7233 * server-src/amadmin.c (due_one): rename inf variable to info.
7234 * server-src/amadmin.c (balance): rename inf variable to info.
7236 1998-11-11 Thomas Hepper <th@icem.de>
7238 * configure.in: amanda_cv_hpux_scsi was double defined.
7239 Replaced it in the chio check with amanda_cv_hpux_scsi_chio
7240 * docs/TAPE.CHANGERS: update the notes about chg-scsi
7241 * changer-src/chg-scsi.c: Unload the cleaning tape only
7243 Pass the changerdev and tapedev Tape_Ready, so we can check
7244 if changerdev=tapedev. In this case the fd is already open.
7245 * changer-src/scsi-aix.c: cleanup and first parts are running :-)
7246 * changer-src/scsi-changer-driver.c: Pass back the scsi status
7247 field to the calling function, not the result from the ioctl
7248 if the return form the ioctl is >= 0
7249 * changer-src/scsi-hpux.c: Add additional param to Tape_Ready
7250 fill Tape_Ready with live
7251 * changer-src/scsi-hpux_new.c: Return the scsi status if
7252 the ioctl result is >=0. Add new Parameter to Tape_Ready
7253 * changer-src/scsi-irix.c: same as scsi-hpux_new.c
7254 * changer-src/scis-linux.c: Add additional param to Tape_Ready
7255 * changer-src/scsi-solaris.c: same as scsi-hpux_new.c
7257 1998-11-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7259 * server-src/driver.c (main): redo my patch about total_disksize that
7260 Alexendre has undone, only the 2.4.1 branch was broken.
7262 1998-11-10 Alexandre Oliva <oliva@dcc.unicamp.br>
7264 * server-src/driver.c (main): total_disksize was only added after
7265 the loop terminated, i.e., when hdp was NULL -> crash. fixed.
7267 1998-11-09 John R. Jackson <jrj@purdue.edu>
7269 * server-src/reporter.c (main): ignore SIGPIPE so if a child process
7270 dies we do not also go away. Also fix a core dump if amanda.conf
7271 cannot be processed, and clean up a few error messages.
7273 1998-11-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7275 * server-src/infofile.h (struct info_s): add last_level and
7277 * server-src/infofile.c: support new last_level and consecutive_runs
7278 * server-src/planner.c (last_level): return ip->last_level.
7279 * server-src/planner.c (runs_at): return ip->consecutive_runs.
7280 * server-src/driverio.c (update_info_dumper): update inf.last_level
7281 and inf.consecutive_runs.
7283 1998-11-09 Mike Grupenhoff <kashmir@munge.com>
7284 * client-src/sendbackup-dump.c (start_backup): don't close indexf
7285 if it was never open
7286 * client-src/sendbackup-gnutar.c (start_backup): ditto
7288 1998-11-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7290 * server-src/driver.c (main): add hdp->disksize to total_disksize
7291 even when we create the datestamp dir. (reserve was unusable).
7293 1998-11-07 Alexandre Oliva <oliva@dcc.unicamp.br>
7295 * configure.in (GNUTAR): accept tar from Free paxutils, the new name
7298 1998-11-07 Alexandre Oliva <oliva@dcc.unicamp.br>
7300 * changer-src/scsi-solaris.c: added missing #endif
7302 * configure.in: merge with camlib.h patch from Oct 31.
7303 remove all uses of test ... -a ...; this is not portable.
7304 (AC_CHECK_HEADERS) added header files for Linux and Solaris
7306 1998-11-07 Thomas Hepper <th@icem.de>
7308 * changer-src/chg-scsi: Add config option scsidev
7309 * changer-src/chg-scsi: Remove function tape_ready
7310 * changer-src/chg-scsi: Add new parameter tapedev to function
7312 * changer_src/scsi-hpux.c: changed HAVE_HPUX_SCSI to
7313 HAVE_HPUX_SCSI_CHIO, changed in configure.in too
7314 * changer-src/libscsi.h: Expand definition for get_clean_state
7315 * new files in /changer-src:
7316 scsi-aix.c, scsi-changer-driver.c, scsi-defs.h
7317 scsi-hpux_new.c, scsi-irix.c, scsi-linux.c, scsi-solaris.c
7318 * configure.in checks for scsi ioctl added, check for header files
7319 for the scsi suport added
7320 * config/acconfig.h new:
7321 HAVE_HPUX_LIKE_SCSI, HAVE_HPUX_SCSI_CHIO, HAVE_LINUX_LIKE_SCSI
7322 HAVE_IRIX_LIKE_SCSI, HAVE_SOLARIS_LIKE_SCSI, HAVE_AIX_LIKE_SCSI
7323 removed: HAVE_HPUX_SCSI
7324 * changer-src/Makefile.am: New conditional for building chg-scsi-chio
7325 and chg-scsi. chg-scsi-chio is the old chg-scsi
7327 1998-11-05 John R. Jackson <jrj@purdue.edu>
7329 * server-src/amverify.sh.in: tolerate extra amtape output.
7331 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7333 * recover-src/amrecover.c: remove declaration of errstr.
7335 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7337 * server-src/amindexd.c (build_disk_table): call find_dump() instead
7338 of popen("amadmin <conf> find ...")
7340 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7342 * server-src/holding.h: rename dir_list to holding_list because
7343 dir_list is also declared in amflush.c
7344 * server-src/holding.c: ditto
7345 * server-src/find.c: ditto
7347 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7349 * server-src/amstatus.pl.in: remove warning.
7351 1998-11-04 Alexandre Oliva <oliva@dcc.unicamp.br>
7353 * server-src/taper.c (read_file): if a new tape cannot be found,
7354 report a no-tape error to the log file and exit, just like it does
7357 1998-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7359 * server-src/planner.c (pick_inclevel): return base_level even
7360 when the estimate failed.
7361 * server-src/planner.c (output_scheduleline): test for degr_size
7362 instead of degr_level.
7364 1998-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7366 * server-src/planner.c (last_level): update last_date otherwise only
7367 level 0 or the highest is returned.
7369 1998-11-03 Mike Grupenhoff <kashmir@munge.com>
7371 * common-src/alloc.c: const arguments to the stralloc functions
7372 * common-src/amanda.h: update stralloc prototypes for const
7375 1998-11-03 John R. Jackson <jrj@purdue.edu>
7377 * server-src/dumper.c (do_dump): do not report FAILED back to driver
7378 when it sent us ABORT. Clean up and send back ABORT-FINISHED.
7380 1998-11-03 John R. Jackson <jrj@purdue.edu>
7382 * server-src/driver.c (handle_dumper_result): do not abort a dumper
7383 that reports NO-ROOM if taper is busy since some holding disk space
7384 will eventually be released (this code it not used when PORT-DUMP is
7387 1998-11-03 John R. Jackson <jrj@purdue.edu>
7389 * server-src/taper.c (write_buffer): calling lseek after every tape
7390 write is wasteful and makes utilities like lsof less useful. Only
7391 reset the offset when the amount written is about to go over 2 GBytes.
7393 1998-11-02 John R. Jackson <jrj@purdue.edu>
7395 * server-src/driver.c (main, start_degraded_mode): fix rounding problem
7396 that made the code think there was a little room for full dumps in
7397 degraded mode, and fix the code that decides whether to do a full dump
7400 1998-11-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7402 * server-src/amstatus.pl.in: initialize variable to remove warning.
7404 1998-11-02 Alexandre Oliva <oliva@dcc.unicamp.br>
7406 * client-src/Makefile.am (CLIENT_SCRIPTS): rename to
7407 CLIENT_SCRIPTS_OPT, because *_SCRIPTS is interpreted by automake
7408 * configure.in (CLIENT_SCRIPTS): ditto
7409 Reported by Thomas Hepper <Thomas.Hepper@icem.de>
7411 * configure.in (LIBTOOL_M4): no longer defined
7412 (LIBTOOL_M4_MACRO_DIR): defined assuming CWD is top_srcdir
7413 * Makefile.am (ACLOCAL_M4_FROM_SRCDIR): relative to srcdir
7414 (ACLOCAL_M4): defined and created using ACLOCAL_M4_FROM_SRCDIR
7415 Reported by Thomas Hepper <Thomas.Hepper@icem.de>
7417 * client-src/sendbackup.c (backup_program): rename to
7418 gnutar_program, that's the name it should have had from the
7420 * client-src/sendbackup-gnutar.c (backup_program): ditto
7422 1998-10-31 Michael Schmitz <mschmitz@iname.com>
7424 * configure.in: let configure check whether strcasecmp is
7426 * common-src/strcasecmp.c: new file which contains a definition
7428 * common-src/amanda.h: added code to declare strcasecmp in
7429 case it's not declared in a standard header
7431 1998-10-31 Alexandre Oliva <oliva@dcc.unicamp.br>
7433 * configure.in (snprintf): arrange that it is included in the
7434 distribution automatically
7435 * common-src/Makefile.am (EXTRA_DIST): removed, not needed
7437 * changer-src/Makefile.am (libexec_SCRIPTS): would only be enabled
7440 * configure.in (NO_SCSI_CHANGER_MODE): chg-scsi does not support the
7441 new FreeBSD 3.0 chio.h, so disable it if camlib.h is found.
7442 * docs/SYSTEM.NOTES (FreeBSD 3.0): add a note about this
7443 (SunOS 4.x): libtool will no longer find incorrect library versions
7445 1998-10-30 John R. Jackson <jrj@purdue.edu>
7447 * common-src/security.c (bsd_security_ok): change error message to
7448 reflect that it is a host name we were looking up rather than an
7449 address (also makes the two similar messages unique).
7451 1998-10-28 Alexandre Oliva <oliva@dcc.unicamp.br>
7453 * docs/SYSTEM.NOTES: Debian 2's dump uses /var/lib/dumpdates
7455 1998-10-28 John R. Jackson <jrj@purdue.edu>
7457 * recover-src/set_commands.c (set_host): if the host given by the user
7458 does not work, try the canonical name and aliases returned by
7461 1998-10-28 John R. Jackson <jrj@purdue.edu>
7463 * configure.in: use "df /" instead of just "df" when trying to find
7464 the device that has the root file system to avoid things like NFS
7465 hangs that df sometimes suffers from.
7467 1998-10-27 Mike Grupenhoff <kashmir@munge.com>
7469 * common-src/stream.c (stream-client): add a 'localport' argument
7470 in which we can get the port this stream is bound to locally
7471 * common-src/stream.h (stream-client): update prototype
7472 * server-src/dumper.c: update stream-client calls
7474 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7476 * client-src/amandad.c (main): better logging of received packet,
7477 do not send a P_ACK when the received packet is not a P_REQ.
7479 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7481 * client-src/amandad.c (main): terminate immediately if started
7482 by a P_ACK packet without sending a P_NAK packet.
7484 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7486 * server-src/conffile.h (dtimeout): new keyword
7487 * server-src/conffile.c (dtimeout): ditto
7488 * server-src/dumper.c: use dtimeout instead of READ_TIMEOUT
7489 * example/amanda.conf.in: document it
7490 * man/amanda.8.in: ditto
7493 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7495 * server-src/dumper.c (sendbackup_response): a nak error will
7496 be a TRY-AGAIN instead of a FAILED.
7498 1998-10-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7500 * server-src/amlabel.c: move declaration of vtbl_no, datestr
7501 and slotcommand to the main function.
7503 1998-10-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7505 * server-src/amlabel.c: remove declaration of pname.
7507 1998-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7509 * server-src/amcheckdb.sh.in: modify to match new tapelist file
7510 format (keyword reuse and no-reuse). Probably no-one use this
7513 1998-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7515 * server-src/driver.c (handle_dumper_result): Add sleep time
7516 when a dumper failed, it could be a temporary network problem,
7517 such as NIS or NFS, better wait a few seconds before retrying.
7519 1998-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7521 * server-src/driverio.h: remove declaration of argc et argv.
7522 * server-src/driverio.h (getresult): add parameters result_argc,
7523 result_argv and max_arg.
7524 * server-src/driverio.c (getresult): use new parameters.
7525 * server-src/amflush.c (flush_holdingdisk, run_dumps): declare
7526 and use result_argc and result_argv instead of global variables
7528 * server-src/driver.c (main, handle_taper_result,
7529 handle_dumper_result, dump_to_tape): ditto
7531 1998-10-24 John R. Jackson <jrj@purdue.edu>
7533 * server-src/amstatus.pl.in: do not be quite so accurate in matching
7534 the log file lines since messages may be intermixed. Turn on perl
7535 -w switch and make first cut at cleaning up warnings.
7537 1998-10-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7539 * server-src/driverio.h: remove datestamp declaration.
7540 * server-src/amcheck.c: remove 'extern' to datestamp declaration.
7541 * server-src/amflush.c: declare datestamp.
7542 * server-src/amtape.c: remove 'extern' to datestamp declaration.
7543 * server-src/driver.c: declare datestamp.
7544 * server-src/dumper.c: remove 'extern' to datestamp declaration.
7545 * server-src/reporter.c: remove 'extern' to datestamp declaration.
7547 1998-10-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7549 * server-src/driverio.h: remove declaration of tok.
7550 * server-src/amflush.c (flush_holdingdisk,run_dumps): declare
7552 * server-src/driver.c (main, handle_taper_result, handle_dumper_result,
7553 dump_to_tape): declare tok locally.
7555 1998-10-23 John R. Jackson <jrj@purdue.edu>
7557 * configure.in: disable the -E and -h dump estimate checks if $DUMP
7560 1998-10-19 John R. Jackson <jrj@purdue.edu>
7562 * server-src/amindexd.c (is_config_valid): fix core dump by moving
7563 amfree of conf_dir later in case it is needed in an error message.
7565 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7567 * server-src/reporter.c: remove declaration of curlinenum,
7568 curlog, curprog and curstr.
7570 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7572 * server-src/amflush.c (main): move declaration of diskqp from
7575 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7577 * server-src/amcheck.c (main): move declaration of mailout and
7578 tempfname from global to local.
7580 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7582 * server-src/amadmin.c (search_logfile): remove declaration
7584 1998-10-15 Mike Grupenhoff <kashmir@munge.com>
7586 * server-src/amadmin.c (reuse, no-reuse): don't core dump if tape
7589 1998-10-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7591 * server-src/conffile.h: remove declaration of holdingdisks and
7592 num_holdingdisks, declare getconf_holdingdisks().
7593 * server-src/conffile.c: define getconf_holdingdisks(),
7594 * server-src/holding.c: use getconf_holdingdisks
7595 * server-src/find.c: ditto
7596 * server-src/amcheck.c: ditto
7597 * server-src/amflush.c: ditto
7598 * server-src/driver.c ditto
7600 1998-10-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7602 * server-src/driver.c: remove verbose and force_parameters
7605 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7607 * server-src/dumper.c: remove declaration of pid.
7608 * server-src/dumper.c(do_dump): move declaration of runtime,
7609 dumptime, compresspid, indexpid and killerr from global to local.
7611 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7613 * server-src/planner.c: remove declaration of total_waiting and
7615 * server-src/planner.c(main): move declaration of initial_size from
7618 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7620 * server-src/driverio.h,server-src/driver.c: move declaration
7621 of big_dumpers, degraded_mode and reserved_space from
7622 driverio.h to driver.c
7624 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7626 * server-src/driverio.h (optionstr): remove declaration
7628 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7630 * configure.in (SAMBA_CLIENT): fix typo
7632 1998-10-14 John R. Jackson <jrj@purdue.edu>
7634 * restore-src/amrestore.c (read_file_header): make a couple of error
7635 messages clearer that they refer to problems with a header rather
7636 than the image data.
7638 1998-10-13 Alexandre Oliva <oliva@dcc.unicamp.br>
7640 * client-src/Makefile.am (libamclient_a_SOURCES): missing since
7643 1998-10-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7645 * docs/INTERNALS (driver and dumper): document <dumpdate> in
7646 FILE-DUMP and PORT-DUMP request, document <chunksize> in
7649 1998-10-12 John R. Jackson <jrj@purdue.edu>
7651 * server-src/amtape.c (usage, main, show_device): apply patch from
7652 Chris Jones <cjones@clydesdale.math.montana.edu> to support "device"
7653 as an option to return the drive device name as reported by the
7655 * man/amtape.8: document the new "device" option.
7656 * server-src/amverify.sh.in: use the new amtape "device" option to
7657 better handle tape changers. Overhaul for general cleanup and some
7658 security issues, plus amverify now tries to support non-tar images.
7659 * man/amverify.8.in: document non-tar image issues.
7661 1998-10-08 John R. Jackson <jrj@purdue.edu>
7663 * example/amanda.conf.in: fix runspercycle example and comments
7665 1998-10-08 Alexandre Oliva <oliva@dcc.unicamp.br>
7667 * configure.in (SAMBA_CLIENT): try to find it by default; minimal
7669 * client-src/Makefile.am (WANT_SAMBA): use automake conditionals to
7671 * docs/SAMBA: document that --with-smbclient is no longer required
7672 to enable SAMBA support
7674 * docs/FAQ: about inconsistencies in active filesystems
7676 1998-10-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7678 * docs/DUMPER-API: add `no-record' option to the `backup' command.
7680 1998-10-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7682 * docs/DUMPER-API: subdivise section 3.1.
7684 1998-10-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7686 * docs/DUMPER-API: New `index-<mode>' options.
7687 define `support parse-estimate' and `support parse-backup' subcommand.
7688 New 'estimate-direct', `estimate-parse', `backup-direct' and
7689 `backup-parse' options.
7690 Remove PARSE keyword from estimate and backup command.
7692 1998-10-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7694 * docs/DUMPER-API: define PARSE keyword in stderr of the backup
7697 1998-10-03 Alexandre Oliva <oliva@dcc.unicamp.br>
7699 * man/Makefile.am (EXTRA_DIST): make sure the man-pages that are not
7700 generated by autoconf get into the distribution
7702 1998-10-02 Josef Karthauser <joe@pavilion.net>
7704 * changer-src/chg-chio.pl.in (getTapeParams): fix regular expression
7705 for $line; the trailing `s' of slots was missing
7707 1998-10-02 John R. Jackson <jrj@purdue.edu>
7709 * server-src/amstatus.pl.in: fix error message.
7711 1998-10-02 John R. Jackson <jrj@purdue.edu>
7713 * server-src/taper.c (write_file): fix a problem with tha taper
7714 stats where the times were all the same. The wallclock_str function
7715 returns a pointer to a static area so it cannot be called more
7716 than once as an argument to a function.
7718 1998-10-01 John R. Jackson <jrj@purdue.edu>
7720 * common-src/protocol.c (parse_integer): allow negative numbers.
7722 1998-10-01 John R. Jackson <jrj@purdue.edu>
7724 * server-src/amstatus.pl.in: add timestamps.
7726 1998-10-01 Alexandre Oliva <oliva@dcc.unicamp.br>
7728 * docs/DUMPER-API: define `support index', to be used instead of the
7729 previous `index-*' sub-commands
7731 1998-09-30 Alexandre Oliva <oliva@dcc.unicamp.br>
7733 * server-src/Makefile.am (libexec_PROGRAMS, sbin_SCRIPTS): don't use
7734 backslashes for continuation; this seems to break automake :-(
7736 1998-09-30 John R. Jackson <jrj@purdue.edu>
7738 * man/amanda.8.in: minor typo in "reserve" description.
7740 1998-09-29 John R. Jackson <jrj@purdue.edu>
7742 * server-src/taper.c (end_tape): do not rewind the tape when done.
7744 1998-09-29 Alexandre Oliva <oliva@dcc.unicamp.br>
7746 * configure.in (WANT_CLIENT, WANT_RESTORE, WANT_SERVER,
7747 WANT_RECOVER, WANT_TAPE, WANT_AMPLOT, WANT_CHG_SCSI): automake
7749 * amplot/Makefile.am: use them
7750 * changer-src/Makefile.am: ditto
7751 * client-src/Makefile.am: ditto
7752 * common-src/Makefile.am: ditto
7753 * man/Makefile.am: ditto
7754 * recover-src/Makefile.am: ditto
7755 * restore-src/Makefile.am: ditto
7756 * server-src/Makefile.am: ditto
7757 * tape-src/Makefile.am: ditto
7759 * Makefile.am: don't print commands that work around old aclocal bug
7761 * docs/DUMPER-API: remove environment variables, and mention a
7762 program that will help translating disklist entries to device names,
7763 mount points and filesystem types
7765 * recover-src/extract_list.c (extract_files_child): do not crash
7766 after failing to read the dump file header
7767 Reported by Jose Cheng <jcheng@math.ist.utl.pt>
7769 1998-09-28 Alexandre Oliva <oliva@dcc.unicamp.br>
7771 * server-src/taper.c (taperscan_slot): initialize scan_datestamp, to
7772 avoid amfree of uninitialized pointer
7773 Reported by Lance A. Brown <brown9@niehs.nih.gov>
7775 1998-09-27 Alexandre Oliva <oliva@dcc.unicamp.br>
7777 * docs/DUMPER-API (USER, GROUP): detailed security mechanisms
7778 (estimate, estimate-parse): can print `KILL' after the estimate
7780 * docs/DUMPER-API: various suggestions from Eric Siegerman
7781 <erics@now.com> and some explanations added
7783 1998-09-27 Andy Farkas <andyf@speednet.com.au>
7785 * man/amlabel.8.in (labelstr): fix typo
7787 1998-09-26 Alexandre Oliva <oliva@dcc.unicamp.br>
7789 * recover-src/extract_list.c (extract_files_child): fix-up
7790 no_initial_params if password or domain information is not found
7791 Reported by Jose Cheng <jcheng@math.ist.utl.pt>
7793 * docs/DUMPER-API: extended `index' to `index-from-output' or
7794 `index-from-image', as suggested by Dale Hagglund <rdh@best.com>.
7795 Explained that the dumptype option `program' is the name of the
7798 1998-09-25 John R. Jackson <jrj@purdue.edu>
7800 * configure.in: fix --with-dump-honor-nodump test. Patch by
7801 Jonas Oberg <jonas@coyote.org>.
7803 1998-09-24 John R. Jackson <jrj@purdue.edu>
7805 * example/disklist: document the "spindle" and "interface" fields.
7806 Reported by Brendan M Coffey <bcoffey@connix.com>.
7808 1998-09-24 Alexandre Oliva <oliva@dcc.unicamp.br>
7810 * docs/DUMPER-API: added draft description of the DUMPER API
7811 * Makefile.am (EXTRA_DIST): add it to the distribution
7813 * config/acinclude.m4 (AC_VALIDATE_CACHE_SYSTEM_TYPE): make sure
7814 cached values for host, build and target system types match with the
7816 * configure.in: use it
7818 1998-09-23 John R. Jackson <jrj@purdue.edu>
7820 * server-src/amstatus.pl.in: sort the host and partition names.
7821 From David Wolfskill <dhw@whistle.com>.
7823 1998-09-23 Alexandre Oliva <oliva@dcc.unicamp.br>
7825 * server-src/taper.c (getcmd): typo in last DEBUGging patch
7827 1998-09-22 Tim Perkins <Tim.Perkins@ddg.phar.cam.ac.uk>, Alexandre Oliva <oliva@dcc.unicamp.br>
7829 * client-src/selfcheck.c (check_disk): fix VDUMP auto-detection
7831 1998-09-22 Alexandre Oliva <oliva@dcc.unicamp.br>
7833 * changer-src/chg-mtx.sh.in: replace rew with rewind
7834 * changer-src/chg-zd-mtx.sh.in: ditto
7835 Reported by Henning Holtschneider <hh@loca.net>
7837 * client-src/sendsize.c: remove usage of #error
7838 Reported by Jay Orr <orr@vss.fsi.com>
7840 1998-09-21 John R. Jackson <jrj@purdue.edu>
7842 * man/amanda.8.in: document the new "tapebufs" parameter.
7844 1998-09-21 Kelly Setzer <setzer@telalink.net>
7846 * server-src/taper.c (NBUFS): replaced with conf_tapebufs
7847 (THRESHOLD): now means `empty bufs' instead of `full bufs'
7848 * server-src/conffile.c: add support for the "tapebufs" option
7849 * server-src/planner.c: ditto
7850 * examples/amanda.conf.in: add sample "tapebufs" entry
7852 * server-src/amlabel.c (main): adds entry to tapelist with date
7855 1998-09-20 Alexandre Oliva <oliva@dcc.unicamp.br>
7857 * server-src/taper.c (getcmd): print DEBUGging output to stderr
7858 Reported by Henning Holtschneider <hh@loca.net>
7860 1998-09-19 Eric Doutreleau <Eric.doutreleau@int-evry.fr>
7862 * server-src/driverio.h (MAX_DUMPERS): increased from 15 to 63 in
7863 order to launch more dumper in parallel
7864 * example/amanda.conf.in (inparallel): Add the fact that it is
7865 limited by MAX_DUMPERS
7867 1998-09-18 Alexandre Oliva <oliva@dcc.unicamp.br>
7869 * common-src/Makefile.am (libamanda_la_LDFLAGS): use libtool
7870 -release instead of -version_info, so as to encode the Amanda
7871 release number in the library name. Problems related with
7872 pre-installed libraries should disappear, and separate releases can
7873 now be installed into the same directory without the risk of one
7874 using libraries from the other.
7876 1998-09-18 Michael C. Povel <Michael.Povel@hub.de>
7878 * changer-src/chg-scsi.c (wait_ready): new function; keeps retrying
7879 until success or timeout
7880 (ask_clean, main): use it
7882 1998-09-18 Alexandre Oliva <oliva@dcc.unicamp.br>
7884 * client-src/selfcheck.c (check_options): don't require runtar for
7887 * client-src/rundump.c: fix support for VDUMP-only installation
7888 * client-src/selfcheck.c (check_options): fix detection of advfs
7889 * client-src/sendsize.c (getsize_dump): ditto
7890 * client-src/sendbackup-dump.c (start_backup): ditto
7891 Reported by Tim Perkins <Tim.Perkins@ddg.phar.cam.ac.uk>
7893 1998-09-16 John R. Jackson <jrj@purdue.edu>
7895 * man/amadmin.8.in: document that "hostname" is optional for "info".
7896 Reported by David Wolfskill <dhw@whistle.com>.
7898 1998-09-15 Alexandre Oliva <oliva@dcc.unicamp.br>
7900 * docs/FAQ: common compile-time and link-time errors
7902 1998-09-11 John R. Jackson <jrj@purdue.edu>
7904 * server-src/tapefile.c (lookup_last_reusable_tape): use new
7905 calling sequence that passes how old a tape to return. Remove
7906 lookup_previous_reusable_tape().
7907 * server-src/tapefile.h (lookup_last_reusable_tape): use new
7908 calling sequence that passes how old a tape to return. Remove
7909 lookup_previous_reusable_tape().
7910 * server-src/amadmin.c (tape): use new lookup_last_reusable_tape
7912 * server-src/amcheck.c (taper_scan, start_server_check): use new
7913 lookup_last_reusable_tape calling sequence.
7914 * server-src/amflush.c (confirm): use new lookup_last_reusable_tape
7916 * server-src/amtape.c (taper_scan): use new lookup_last_reusable_tape
7918 * server-src/reporter.c (output_tapeinfo): use new
7919 lookup_last_reusable_tape calling sequence.
7920 * server-src/taper.c (taper_scan): use new lookup_last_reusable_tape
7923 1998-09-11 Alexandre Oliva <oliva@dcc.unicamp.br>
7925 * client-src/sendbackup-gnutar.c (re_table): ignore
7926 `load_client_codepage' message from SAMBA
7928 1998-09-11 John R. Jackson <jrj@purdue.edu>
7930 * server-src/amstatus.pl.in (all): fix USE_VERSION_SUFFIXES=yes
7931 problems. Reported by David Eckelkamp <davide@locutus.tradewave.com>.
7933 * man/amstatus.8.in (all): fix minor typos.
7935 1998-09-10 John R. Jackson <jrj@purdue.edu>
7937 * configure.in (LFS): add code that might support configuring large
7940 1998-09-10 Alexandre Oliva <oliva@dcc.unicamp.br>
7942 * server-src/conffile.c (dump_configuration): runspercycle is not a
7943 member of dumptype_t
7944 (init_holdingdisk_defaults): init chunksize with documented default,
7945 not -1, because it wouldn't be recalculated
7947 * docs/INSTALL: URL for SAMBA was broken; note about 1.9.18p10 bug
7949 1998-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7951 * docs/SAMBA: 1.9.18p10 has a bug
7953 1998-09-09 Terje Malmedal <tm@funcom.com>
7955 * common-src/stream.c (stream_server, stream_client): added
7956 SO_KEEPALIVE option so we get an error if the other side crashes
7958 1998-09-09 Alexandre Oliva <oliva@dcc.unicamp.br>
7960 * configure.in (CHIO): look for chio and AC_SUBST it
7961 (MT, CHS): if not found, use just the program name
7963 1998-09-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7965 * server-src/planner.c (last_level): return the last level
7966 even it is still on holding disk if reserve < 100.
7968 1998-09-09 Alexandre Oliva <oliva@dcc.unicamp.br>
7970 * server-src/reporter.c (divzero, divzero_wide): print `#'s on
7973 * server-src/amtape.c (show_init): no longer print `scanning'
7975 (show_init_show, current_init_all): call show_init, then print the
7976 appropriate `scanning' message
7977 Reported by David Wolfskill <dhw@whistle.com>
7979 * changer-src/chg-scsi.c (main): use new multi-configuration
7980 mechanism only if tape_device contains only a single digit
7982 1998-09-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7984 * server-src/planner.c (setup_estimate): Don't write a
7985 "mismatch: no tapelist record, but curinfo next_level0" message
7986 and force a level 0 when reserve < 100.
7988 1998-09-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7990 * server-src/holding.h (get_amanda_names): return a filetype_t
7992 * server-src/holding.c (get_amanda_names): return the filetype_t
7993 of the file or F_UNKNOWN if it's not an amanda file.
7994 * server-src/find.c (search_holding_disk): Use the new return
7995 type of get_amanda_names.
7996 * server-src/amflush.c (flush_holdingdisk): Don't write a
7997 "ignoring cruft file" message for chunk files,
7998 filetype is F_CONT_DUMPFILE.
8000 1998-09-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8002 * recover-src/extract_list.c (extract_files_child): don't write
8003 the samba password to the debug file.
8005 1998-09-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8007 * server-src/driverio.c (update_info_dumper): set inf.command to
8008 NO_COMMAND if reserve< 100 because if you force a level 0 with
8009 'amadmin force', it will do level 0 every days until you flush them
8012 1998-09-03 Matthias Urlichs <smurf@noris.net>
8014 * recover-src/uscan.l: recognize "?" as alias for "help"
8016 * configure.in (MAILER): recognize "mail" as well as "Mail" and
8019 * client-src/calcsize.c (add_file_dump, add_file_unknown): only get
8020 sizes of directories and files
8022 * client-src/amandates.c (start_amandates): create amandates if
8023 error is either EINTR or ENOENT
8025 * common-src/dgram.c (dgram_send_addr): handle ECONNREFUSED by not
8026 dying when receiving, and retrying when sending, a packet. The
8027 server may get this error when a client reboots and hasn't started
8029 * common-src/protocol.c (handle_incoming_packet): ditto
8031 * server-src/driver.c (read_schedule): catch cases when the time
8032 goes negative. Some operators have the bad habit of syncing clocks
8035 * common-src/dgram.h (MAX_DGRAM): increased to 64Kb
8037 * client-src/amandad.c (main): read the pipe from the child
8038 incrementally: the pipe buffer of many OSes is shorter than
8039 MAX_DGRAM. Instead of SIGCHLD, note end-of-data by way of
8041 (sigchild_jump, sigchild_flag): removed
8042 * client-src/sendbackup.c (main): instead of fork-and-exit, tell
8043 amandad to process our data by closing our end of the pipe
8045 1998-09-03 Alexandre Oliva <oliva@dcc.unicamp.br>
8047 * NEWS: another typo (too late :-(
8049 1998-09-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8051 * server-src/driver.c: amanda will not use an holding disk
8052 if the directory with the datestamp already exist.
8054 1998-09-03 Alexandre Oliva <oliva@dcc.unicamp.br>
8056 * Amanda 2.4.1 released
8058 1998-08-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8062 1998-08-27 Alexandre Oliva <oliva@dcc.unicamp.br>
8064 * docs/INSTALL: update some version numbers; SAMBA 1.9.18p10 has
8065 fixed the bug in p8; using p8 is not recommended any more
8068 * config/config.guess: updated to libtool 1.2b's, in order to
8069 auto-detect some recent architectures
8070 * config/config.sub: ditto
8072 * server-src/amcleanup.sh.in (sbindir): amreport now lives in
8073 sbindir; added it to PATH and removed full pathnames to binaries
8075 1998-08-27 Blair Zajac <blair@gps.caltech.edu>
8077 * configure.in: Add the directory /usr/lib/fs/vxfs to the search
8078 path where configure looks for vxdump and vxrestore. This is for
8079 Solaris so it can automatically handle vxfs filesystems.
8080 * client-src/sendbackup-dump.c: add missing last NULL argument to
8082 * server-src/dumper.c: add missing last NULL argument to
8084 * NEWS: reorder 2.4.1 items into most to least important for most
8086 * config/acconfig.h: update comment for VXDUMP and VXRESTORE to
8087 include systems where the Veritas filesystem is used.
8089 1998-08-21 Alexandre Oliva <oliva@dcc.unicamp.br>
8091 * man/amanda.8.in (nofull): only level 1 incrementals
8093 1998-08-20 Alexandre Oliva <oliva@dcc.unicamp.br>
8095 * changer-src/chg-mtx.sh.in (PATH): added /usr/local/bin
8097 * configure.in (BUILD_CHANGER_SCRIPTS_LIBEXEC): added chg-zd-mtx
8099 * changer-src/Makefile.am (EXTRA_SCRIPTS): ditto
8100 * docs/TAPE.CHANGERS (chg-zd-mtx): documented it
8101 (chg-mtx): mentioned chg-zd-mtx
8103 1998-08-20 Eric Doutreleau <Eric.Doutreleau@int-evry.fr>
8105 * changer-src/chg-zd-mtx.sh.in: new changer script for
8106 Zubkoff/Dandelion version of mtx.
8108 1998-08-19 Alexandre Oliva <oliva@dcc.unicamp.br>
8110 * docs/SAMBA: updated; documented new patch (sambatar.diff,
8111 available in the patches page) and requirements about backup user.
8112 * docs/INSTALL: documented new patch
8114 1998-08-18 Alexandre Oliva <oliva@dcc.unicamp.br>
8116 * client-src/sendsize.c (regex_s): refuse to compile if SAMBA_CLIENT
8117 and HAVE_DUMP_ESTIMATE are both defined: the regexp that matches the
8118 estimate from DU 4.0's dump also matches an output line from
8119 smbclient, that provides an incorrect estimate.
8120 * docs/SYSTEM.NOTES: document the problem
8122 1998-08-14 John R. Jackson <jrj@purdue.edu>
8124 * docs/TAPE.CHANGERS: describe "advance" and clean up some spelling.
8126 1998-08-13 Alexandre Oliva <oliva@dcc.unicamp.br>, Marcel Hild <hild@id-pro.de>
8128 * configure.in (--with-portrange): validate and define PORTRANGE
8129 * example/config.site: document it
8130 * config/acconfig.h (PORTRANGE): prepare for configure define
8131 * common-src/stream.c (stream_server): use PORTRANGE to limit TCP
8132 unreserved server sockets
8134 1998-08-12 Alexandre Oliva <oliva@dcc.unicamp.br>
8136 * docs/FAQ: working around `dumps way too big'
8138 1998-08-11 Alexandre Oliva <oliva@dcc.unicamp.br>, Gunnar Gunnarsson <gunnar@ki.ericsson.se>
8140 * common-src/token.h (rxquote, shquote): new functions
8141 * common-src/token.c (rxquote) quotes a string into an equivalent
8143 (shquote): quotes all shell special meta-characters, so that a
8144 string can be safely passed down for shell interpretation in
8145 system() or popen()-like calls
8146 * server-src/amindexd.c (build_disk_table): quote the disk_name with
8147 both rxquote and shquote
8149 1998-08-11 John R. Jackson <jrj@purdue.edu>
8151 * changer-src/chg-manual.sh.in: put the debug file in DEBUG_DIR for
8152 security. Clean up and enhance logging. Fix locations of the
8153 changer files. Source the changerfile into the script so it can
8154 override the request() function and allow alternatives to /dev/tty
8155 (e.g. E-mail, syslog). Issue rewind before status (Solaris does
8156 not give a good status report right after a tape is loaded).
8158 1998-08-10 Nick Hibma <nick.hibma@jrc.it>
8160 * changer-src/chg-chio.pl.in: move to first slot if last is unused
8162 1998-08-07 Alexandre Oliva <oliva@dcc.unicamp.br>
8164 * example/Makefile.am (EXTRA_DIST): add DIN-A4.ps
8166 1998-08-07 Günter Felkel <G.Felkel@edelmann.de>
8168 * example/DIN-A4.ps: new file
8170 1998-08-06 Alexandre Oliva <oliva@dcc.unicamp.br>
8172 * tape-src/tapetype.c (initrandombytes): use random() instead of
8173 rand(), its low-order bits are more random
8174 (main): call srandom(seed) instead of srand(seed)
8175 (USE_RAND): if defined, reverts to using rand() and srand(seed)
8177 * docs/FAQ: some notes about driving real tape changers
8179 1998-08-05 Alexandre Oliva <oliva@dcc.unicamp.br>
8181 * man/amreport.8.in (SYNOPSIS): replace `amtoc' with `amreport'
8183 1998-08-04 Alexandre Oliva <oliva@dcc.unicamp.br>
8185 * client-src/sendsize.c: revert 1998-08-01's change, it wouldn't
8186 even compile, as amfree() expands to a statement, not an expression,
8187 so it cannot be used as the `increment' part of a for loop.
8189 * server-src/planner.c (main): if runs_per_cycle is set to zero or
8190 negative, set it to 1, in order to avoid division by zero.
8191 * server-src/amadmin.c (balance): ditto
8193 1998-08-01 Alexandre Oliva <oliva@dcc.unicamp.br>
8195 * client-src/sendsize.c: replace free(line) with amfree(line),
8196 because line is not ensured to be non-NULL
8198 * docs/FAQ: amandad: error receiving message
8200 * docs/FAQ: difference between skip-full and strategy nofull
8202 1998-07-31 Alexandre Oliva <oliva@dcc.unicamp.br>
8204 * docs/FAQ: software or hardware compression?
8206 * server-src/driver.c (adjust_diskspace): do not abort just because
8207 a holding disk file is missing
8208 (main): report warning if holding disk directory could not be
8209 created, and do not use it
8210 Reported by Albrecht Gebhardt <agebhard@zidsrv.sci.uni-klu.ac.at>
8212 * example/Makefile.am (EXTRA_DIST): add 8.5x11.ps to the
8214 Reported by Jason L Tibbitts III <tibbs@hpc.uh.edu>
8216 * server-src/conffile.c (get_holdingdisk): define chunksize 0 as
8217 INT_MAX/1024, and chunksize -1 as -INT_MAX/1024
8218 * server-src/driver.c (find_diskspace): accept negative chunksizes
8219 as the maximum size (in modulus) for using the holding disk
8220 * man/amanda.8.in (chunksize): document the usage of negative
8221 values, and improve the explanation of chunking
8222 * example/amanda.conf.in: ditto
8224 1998-07-29 Alexandre Oliva <oliva@dcc.unicamp.br>
8226 * docs/FAQ: disk offline
8228 1998-07-27 Alexandre Oliva <oliva@dcc.unicamp.br>
8230 * restore-src/amidxtaped.c (main): use tape_rewind() instead of
8233 * server-src/amcleanup.sh.in (reporter): update to call amreport.
8234 (amdump.<n>) update to use the same renaming technique introduced in
8235 June 30's change to amdump.
8237 1998-07-25 Michael Graff <explorer@vix.com>
8239 * changer-src/Makefile.am (install-exec-hook): support $(DESTDIR)
8240 * client-src/Makefile.am (install-exec-hook): ditto
8241 * man/Makefile.am (install-data-hook): ditto
8242 * recover-src/Makefile.am (install-exec-hook): ditto
8243 * restore-src/Makefile.am (install-exec-hook): ditto
8244 * server-src/Makefile.am (install-exec-hook): ditto
8246 * configure.in: link krb5 and com_err in for Kerberos support, if
8249 1998-07-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8251 * server-src/reporter.c (copy_template_file): add braces to
8253 * tape-src/tapeio.h: declare is_zftape to remove warning in
8254 amlabel.c and taper.c
8256 1998-07-23 Alexandre Oliva <oliva@dcc.unicamp.br>
8258 * server-src/driver.c (any_delayed_disk): new variable, to ensure
8259 that we do not leave the main driver loop if there are delayed disks
8260 but there are no active dumpers
8261 (main): instead of checking whether idle_reason is IDLE_START_WAIT,
8262 check whether there is any_delayed_disk for remaining in the loop
8263 (start_degraded_mode): set any_delayed_disk when needed
8264 Reported by Peter Walker <peter@talarian.com>
8266 1998-07-23 John R. Jackson <jrj@purdue.edu>
8268 * server-src/reporter.c (main): handle LPRCMD being undefined.
8270 1998-07-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8272 * client-src/selfcheck.c (check_suid): new function to check if a
8273 program is SUID root.
8274 * client-src/selfcheck.c (check_overall): check that runtar and
8275 rundump are SUID root.
8277 1998-07-22 Alexandre Oliva <oliva@dcc.unicamp.br>
8279 * configure.in: version number set to 2.4.1
8281 * recover-src/Makefile.am (LDADD): libamtape imports symbols from
8282 libamanda, so it must be listed first
8284 * changer-src/Makefile.am (LDADD): remove duplication of libamserver
8285 and libamanda, as they no longer provide symbols for each other
8286 * server-src/Makefile.am (LDADD): ditto
8288 1998-07-21 Blair Zajac <blair@gps.caltech.edu>
8290 * server-src/amrmtape.sh.in: now use amanda.conf's tapelist variable
8291 * server-src/amcheckdb.sh.in: now use amanda.conf's tapelist variable
8292 * server-src/amfreetapes.sh.in: now use amanda.conf's tapelist variable
8293 * server-src/amtoc.pl.in: now use amanda.conf's tapelist variable,
8294 make perl4 compatible
8296 1998-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
8298 * docs/FAQ (results missing): suggestions to work around the UDP
8301 1998-07-16 Alexandre Oliva <oliva@dcc.unicamp.br>
8303 * docs/FAQ (amrecover): a config name may have to be specified
8304 Reported by digital messiah <dmessiah@silcon.com>
8306 1998-07-15 Blair Zajac <blair@gps.caltech.edu>
8308 * server-src/reporter.c (main): declare optind
8310 1998-07-15 Alexandre Oliva <oliva@dcc.unicamp.br>
8312 * configure.in: created Amanda 2.4.1 branch
8314 * example/amanda.conf.in: strategy noinc is not implemented yet
8316 1998-07-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8318 * NEWS: new runspercycle keyword
8319 * server-src/conffile.h: new runspercycle keyword
8320 * server-src/conffile.c: new runspercycle keyword
8321 * server-src/amadmin.c (balance): new runspercycle keyword
8322 * server-src/planner.c (main): new runspercycle keyword
8323 * man/amanda.8.in: document new runspercycle keyword
8324 * example/amanda.conf.in: example for new runspercycle keyword
8326 1998-07-13 Alexandre Oliva <oliva@dcc.unicamp.br>
8328 * docs/FAQ: What to do if DUMP program is not available.
8329 * client-src/selfcheck.c (check_overall): if a needed program is
8330 missing, print an error message.
8331 Reported by Klaus Hoffmann <handatalog@csi.com>
8333 * */Makefile.am: checked library version numbers, no need for update
8335 * configure.in: version number set to 2.4.1b1
8337 1998-07-11 Alexandre Oliva <oliva@dcc.unicamp.br>
8339 * docs/FAQ: new entries: how to label tapes, (not) spanning large
8340 filesystems across tapes, how to enable index generation,
8341 overwriting selected tapes, cleaning up databases, selecting tape
8344 1998-07-10 Alexandre Oliva <oliva@dcc.unicamp.br>
8346 * man/Makefile.am (EXTRA_DIST): amreport.8 is built from .8.in
8348 * configure.in (AC_OUTPUT): generate chg-chio.pl
8349 * changer-src/Makefile.am (EXTRA_DIST): removed chg-chio.c
8350 * changer-src/chg-chio.c: removed, as it was confusing make
8352 1998-07-10 Nick Hibma <nick.hibma@jrc.it>, Alexandre Oliva <oliva@dcc.unicamp.br>
8354 * changer-src/chg-chio.pl.in: new script, created to replace old
8355 chg-chio written in C
8356 * docs/TAPE.CHANGERS (chg-chio): document it
8357 * changer-src/Makefile.am (EXTRA_SCRIPTS): add chg-chio
8358 (EXTRA_DIST): still include chg-chio.c, just in case it is useful
8359 * configure.in (BUILD_CHANGER_SCRIPTS_LIBEXEC): add chg-chio
8361 1998-07-08 Alexandre Oliva <oliva@dcc.unicamp.br>
8363 * server-src/reporter.c (main): if no arguments are given, preserve
8364 original behavior; require config name otherwise. Perform better
8366 * example/DLT.ps (DrawHost): discard additional argument introduced
8367 in Steven Freed's modification
8368 * example/EXB-8500.ps (DrawHost): ditto
8369 * example/HP-DAT.ps (DrawHost): ditto
8371 * server-src/Makefile.am (amreport_SOURCES): build from reporter.c
8372 (driver_SOURCES) removed, no longer needed
8373 * man/Makefile.am (EXTRA_DIST): added amreport.8
8375 1998-07-08 Steven Freed <sfreed@gilasoft.com>
8377 * server-src/reporter.c (usage): new function
8378 (main): accept command-line arguments for selecting config name,
8379 output file, log file name to read from, postscript file to write
8381 (output_summary): print tape labels list, tape section numbers and
8383 * server-src/amdump.sh.in: run amreport
8384 * server-src/amflush.c (main): ditto
8386 * configure.in (BUILD_SERVER_PROGS_SBIN): add amreport
8387 (BUILD_SERVER_PROGS_LIBEXEC): remove reporter
8388 * man/amreport.8.in: new file
8389 * man/Makefile.am (man_MANS): added amreport.8
8390 * example/8.5x11.ps: new file
8392 1998-07-08 Alexandre Oliva <oliva@dcc.unicamp.br>
8394 * Makefile.am (ACLOCAL_M4): fix ||/&& precedence problem
8396 1998-07-07 John R. Jackson <jrj@purdue.edu>
8398 * changer-src/scsi-chio.c: move #include's so this will compile on
8399 systems without <sys/mtio.h> (e.g. AIX).
8401 1998-07-06 John R. Jackson <jrj@purdue.edu>
8403 * client-src/sendsize.c (handle_dumpline): allow the dump block
8404 count estimate to be negative. Found by Lance A. Brown
8405 <brown9@niehs.nih.gov> on NeXT.
8407 * common-src/Makefile.am, common-src/security.c: add TEST code to
8408 security.c so people can do "make security" and have a test program
8409 to track down why they are getting "access as XXX not allowed from
8412 * common-src/security.c (bsd_security_ok): allow the remote user
8413 field in .amandahosts to be empty ala .rhosts.
8415 1998-07-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8417 * server-src/amcheck.c (start_server_check): report space use for
8418 holding disk if a negative value is given in the use parameter.
8420 * server-src/driver.c (main): compute holding disk space if
8421 a negative value is given in the use parameter..
8423 * man/amanda.8.in (use) : document negative use paramater for
8426 * example/amanda.conf.in (use): document negative use paramater for
8429 1998-07-04 Alexandre Oliva <oliva@dcc.unicamp.br>
8431 * man/amanda.8.in (reserve): document it
8432 * example/amanda.conf.in (reserve, gigabytes): ditto
8433 (etimeout) negative number stands for total estimate time
8435 * NEWS: documented major changes since amanda 2.3.0.4
8437 * docs/INSTALL: refer to patch-system for editing services and
8440 * docs/FAQ: added entries for common amdump and amcheck errors
8442 * COPYRIGHT: updated to 1998, refer to Amanda Development Team
8443 * AUTHORS: who is the Amanda Development Team
8445 1998-07-03 John R. Jackson <jrj@purdue.edu>
8447 * docs/SYSTEM.NOTES: add comment about using the variable device name
8448 on IRIX. Otherwise, IRIX will write 4KByte physical blocks, which
8449 it appears to read OK, but not if you take the tape to some other
8450 system that does what you tell it. Discovered by Steve E. Khoo
8451 (steve@gordian.com).
8453 1998-07-02 Alexandre Oliva <oliva@dcc.unicamp.br>
8455 * server-src/planner.c (setup_estimate): handle new disks with
8456 skip-full correctly.
8458 * Makefile.am (aclocal.m4): must depend on libtool.m4, so as to
8459 force it to be newer on distributions.
8461 1998-07-01 John R. Jackson <jrj@purdue.edu>
8463 * server-src/driverio.h: change reserved_space to unsigned long to
8464 match free_space() and avoid a compiler warning.
8466 1998-06-30 John R. Jackson <jrj@purdue.edu>
8468 * man/amanda.8.in: fix amrecover synopsis and add a short description.
8469 Noted by Brendan M Coffey <bcoffey@connix.com>.
8471 * example/amanda.conf.in: make tapecycle example fit dumpcycle value
8472 better. Noted by Tom.Croll@radisys.com and suggested comments from
8473 Alexandre Oliva <oliva@dcc.unicamp.br>.
8475 1998-06-30 Alexandre Oliva <oliva@dcc.unicamp.br>
8477 * server-src/amdump.sh.in (maxdays): set up with tapecycle+2
8478 (days): loops from 1 to $maxdays, but stops if amdump.$days does not
8479 exist, so that we only rename amdump log files that exist. This
8480 prevents too long loops in case of an infinite tapecycle.
8481 Reported by Nick Hibma <nick.hibma@jrc.it>
8483 1998-06-28 Alexandre Oliva <oliva@dcc.unicamp.br>
8485 * common-src/security.c (bsd_security_ok): accept case mismatches
8486 when comparing hostnames and usernames from amandahosts, and assume
8487 localuser if username is missing.
8488 * docs/INSTALL: clarify BSD security and amandahosts, WRT to
8490 Reported by Chris Shenton <chris@absinthe.shenton.org>
8492 * server-src/reporter.c (output_tapeinfo): degraded mode no longer
8493 implies incremental dumps only.
8494 Reported by Randy Dees <rrd@amherst.com>
8496 1998-06-26 John R. Jackson <jrj@purdue.edu>
8498 * configure.in: fix BSD/OS Kerberos include file location.
8500 1998-06-26 Alexandre Oliva <oliva@dcc.unicamp.br>
8502 * config/ltmain.sh: install official patch to libtool 1.2a
8504 * configure.in: do not set max file size for Solaris 2.6, it is no
8507 1998-06-26 Tim McNerney <mumbly@netcom.com>
8509 * common-src/fileheader.c (parse_file_header): accept missing
8510 PROGRAM in tape section header, for backward compatibility.
8512 1998-06-25 Blair Zajac <blair@gps.caltech.edu>
8514 * server-src/amflush.c: fix mismatch arguments to error()
8516 1998-06-24 Steven Freed <sfreed@gilasoft.com>
8518 * configure.in (dump-honor-nodump): fix test for `-h' support
8520 1998-06-24 Scott Mesches <mesches@allison.Colorado.EDU>
8522 * example/DLT.ps: new file
8523 * example/Makefile.am (EXTRA_DIST): add DLT.ps
8525 1998-06-24 Alexandre Oliva <oliva@dcc.unicamp.br>
8527 * Makefile.am (EXTRA_DIST): moved CHANGES into ChangeLog
8529 * recover-src/extract_list.c (extract_files_child): handle
8530 IS_UNKNOWN dumptype as IS_DUMP
8532 * client-src/sendsize.c (getsize_dump): always create pipe for
8535 * client-src/amandad.c (sendnak): report `UNKNOWN' error if str is
8538 * amplot/amplot.awk: ignore `interface-state'
8539 Reported by Peter Walker <peter.walker@talarian.com>
8541 1998-06-24 Alexandre Oliva <oliva@dcc.unicamp.br>
8543 * server-src/amrmtape.sh.in: enable verbose by default; implement -q
8545 * man/amrmtape.8.in: ditto
8546 Suggested by Nick Hibma <nick.hibma@jrc.it>
8548 1998-06-24 Nick Hibma <nick.hibma@jrc.it>
8550 * server-src/amrmtape.sh.in: better error reporting for incorrect
8553 1998-06-24 Dan Swartzendruber <dswartz@druber.com>
8555 * server-src/conffile.h (RESERVE): new keyword.
8556 * server-src/conffile.c (RESERVE): ditto.
8557 (getconf_seen): recognize "reserve" keyword.
8558 (getconf_int): return value of "reserve" keyword.
8559 (read_confline): parse "reserve" line.
8560 * server-src/driverio.h (reserved_space): new global
8561 * server-src/driver.c (main): compute holding disk space to reserve
8563 (start_degraded_mode): if we haven't hit degraded mode reservation
8564 limit, allow full dump.
8566 1998-06-18 Blair Zajac <blair@gps.caltech.edu>
8568 * config/ltconfig: update to 1.2a
8569 * config/ltmain.sh: update to 1.2a
8570 * config/libtool/libtool.m4: update to 1.2a
8572 1998-06-17 John R. Jackson <jrj@purdue.edu>
8574 * server-src/dumper.c (write_tapeheader): comment out some variables
8575 to get rid of a compiler warning.
8577 1998-06-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8579 * server-src/amadmin.c (bumpsize): write wrong equation for bump
8582 1998-06-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8584 * man/amanda.8.in: add info about the chunksize parameter
8586 * man/amanda.8.in: add info about amstatus command
8588 1998-06-13 Alexandre Oliva <oliva@dcc.unicamp.br>
8590 * common-src/Makefile.am (libamanda_version): updated
8591 * tape-src/Makefile.am (libtape_version): updated
8592 * client-src/Makefile.am (libclient_version): updated
8593 * server-src/Makefile.am (libserver_version): updated
8595 * server-src/taper.c (read_file): if switching to the next file
8596 fails or there's no next file, do not send a `W' to taper writer.
8598 * server-src/changer.h (changer_clean): new function
8599 * server-src/changer.c (changer_clean): ditto
8601 1998-06-13 Michael C. Povel <mcp@ladyada.han.de>
8603 * changer-src/chg-scsi.c: added ejetct_tape and sleep for external
8604 tape devices, and changed some code to allow multiple drives to use
8605 their own slots. Also added support for reserverd slots.
8606 * changer-src/libscsi.h (get_clean_state, eject_tape): new functions
8607 * changer-src/scsi-chio.c (get_clean_state, eject_tape): implemented
8609 * changer-src/scsi-hpux.c (get_clean_state, eject_tape): do nothing,
8610 until someone implements them
8611 * changer-src/scsi-proto.c (get_clean_state, eject_tape): new
8613 * docs/TAPE.CHANGERS: document new configuration file format
8614 * example/chg-scsi.conf: sample configuration file
8615 * example/Makefile.am: add chg-scsi.conf to the distribution
8616 * server-src/amtape.c: add support for `clean' command
8618 1998-06-13 Alexandre Oliva <oliva@dcc.unicamp.br>
8620 * docs/SYSTEM.NOTES: clean-up
8622 * docs/FAQ: new file
8623 * docs/SUNOS4.BUG: removed
8624 * Makefile.am: remove docs/SUNOS4.BUG and add docs/FAQ
8626 * example/amanda.conf.in (bumpmult): fixed equation for threshold
8627 * man/amanda.8.in (bumpsize): fix threshold example.
8628 problem reported by Brian McEntire <brianm@fsg1.nws.noaa.gov>
8630 * server-src/logfile.c (open_log): open log file with mode 0600.
8632 * server-src/amdump.sh.in: refuse to run if either amdump or log
8634 * server-src/amflush.c (main): refuse to run if log exists.
8635 * server-src/amcheck.c (start_server_check): do not perform tape
8636 testing if amdump and/or log exist in logdir.
8638 1998-06-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8640 * restore-src/amrestore.c (restore): fixed -p flag (and amrecover)
8641 should not dup2( A, B ); aclose(A) when A == B
8643 1998-06-10 Alexandre Oliva <oliva@dcc.unicamp.br>
8645 * client-src/sendsize.c (getsize_dump): use killpgrp
8646 unconditionally, so we're not bitten by setuid dump programs.
8647 * client-src/killpgrp.c: enable unconditionally.
8649 * tape-src/tapetype.c: new program: calculates tapetype parameters.
8650 * tape-src/Makefile.am (EXTRA_PROGRAMS): added tapetype.
8651 * example/amanda.conf.in: point to tapetype program.
8653 1998-06-09 Alexandre Oliva <oliva@dcc.unicamp.br>
8655 * docs/SAMBA: added notes about (not) backing up registry files and
8657 * docs/INSTALL: point to docs/SAMBA for usage and limitations
8659 1998-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
8661 * configure.in (amanda_cv_print_command): removed; using PRINT
8664 1998-06-07 Todd Kover <kovert@omniscient.com>
8666 * add --with-owner option to allow installed binaries to be owned
8667 by someone other than the amanda user
8669 * add GB as valid holding disk size.
8671 1998-06-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8673 * server-src/amadmin.c (info): don't need to specify an host.
8675 * server-src/amadmin.c (due): new due command to write when a
8676 filesystem is due ffor next level 0 or how much days it is
8679 * server-src/amstatus.pl.in (dump_size): new function to report
8680 the size of a dump split on multiple files.
8682 1998-06-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8684 * recover-src/extract_list.c (read_buffer): write a message
8685 when amrecover timeout waiting for amrestore to send the dump.
8687 1998-06-04 John R. Jackson <jrj@purdue.edu>
8689 * client-src/getfsent.c (main): use a dynamically allocated string
8690 for the lookups since dev2rdev alters it on the fly and some systems
8691 drop core for trying to write into read only memory. Also add the
8692 capability of passing additional lookups on the command line.
8694 * common-src/Makefile.am, common-src/file.c (main),
8695 common-src/token.c (main), server-src/conffile.c (dump_configuration,
8696 main), server-src/diskfile.c (main), server-src/infofile.c (main):
8697 Clean up compiler warnings in the test programs and make them all
8700 1998-06-03 Alexandre Oliva <oliva@dcc.unicamp.br>
8702 * amplot/amplot.sh.in: modified command line argument parsing
8703 mechanism, so as to prevent shell quoting problems and unportable
8705 Reported by Chris Jones <cjones@clydesdale.math.montana.edu>
8707 1998-06-02 John R. Jackson <jrj@purdue.edu>
8709 * server-src/amcheck.c (main), server-src/reporter.c (main): make
8710 sure internal errors, such as the mail command failing, get
8711 reported. In the case of amcheck, they go to stderr even if -m is
8712 set since there didn't seem to be anyplace better to do so and if
8713 this is running from a cron job it might get back to a real user.
8714 For reporter, the errors go to .../amdump along with everything
8715 else from the amdump script, and they should also go to .../log,
8716 except since it's reporter that's having the trouble, they probably
8717 will not make it into the mail report.
8719 1998-06-01 John R. Jackson <jrj@purdue.edu>
8721 * client-src/killpgrp.c: clean up minor compiler warnings by not
8722 building term_kill_{soft,hard} unless they are needed.
8724 * server-src/driverio.c (dumper_cmd): clean up compiler warning
8725 in printf format by forcing argument to always be long and using %ld.
8727 * server-src/driver.c: include <holding.h> to get declaration for
8728 unlink_holding_files and avoid a compiler warning.
8730 * common-src/amanda.h, common-src/match.c (validate_glob, match_glob,
8731 glob_to_regex), recover-src/amrecover.h, recover-src/extract_list.c
8732 (add_glob, add_regex, add_file, delete_glob, delete_regex,
8733 delete_file), recover-src/help.c (help_list), recover-src/uparse.y,
8734 recover-src/uscan.l, man/amrecover.8.in: add shell wildcard support
8735 for the add/delete amrecover commands. Add addx/deletex commands
8736 that use regular expressions. Support more characters in path names.
8738 1998-06-01 Dan Swartzendruber <dswartz@druber.com> via John R. Jackson
8740 * server-src/amlabel.c (main): check argc before referencing too
8741 far into argv for "-f".
8743 1998-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
8745 * docs/SYSTEM.NOTES: advise Linux users to use dump without
8748 * docs/INDEXING: update dumptype syntax
8750 1998-05-29 John R. Jackson <jrj@purdue.edu>
8752 * server-src/amindexd.c (uncompress_file, process_ls_dump,
8753 build_disk_table, is_dir_valid_opaque, opaque_ls): fix file
8754 descriptor leak, log the amadmin find command, fix error reporting
8755 from routines that do not generate system errors.
8756 * common-src/amanda.h: make sure errno is saved through amfree().
8758 1998-05-28 Alexandre Oliva <oliva@dcc.unicamp.br>
8760 * docs/SYSTEM.NOTES: GNU tar must be patched on HP/UX.
8761 * patches/tar-1.12.patch: ditto.
8763 * server-src/taper.c (endtape): do not log amount of used tape after
8764 entering degraded mode.
8766 * client-src/sendsize.c (getsize_dump): pass at least argv[0] to
8769 1998-05-28 Paul R. Johnson <prj@mit.edu>
8771 * client-src/sendbackup.c (check_status): when checking whether
8772 return status 1 is valid for dump, make sure it was *not* tar that
8775 1998-05-28 Tom Lear <toml@accesscom.com>, John R. Jackson <jrj@purdue.edu>
8777 * man/amcheck.8.in: document new -Maddress command line flag.
8778 * server-src/amcheck.c (usage, main): add -Maddress command line
8779 flag to send mail to a specific address instead of mailto from
8782 1998-05-27 John R. Jackson <jrj@purdue.edu>
8784 * man/amrestore.8: update for host/disk/date triplets.
8785 * recover-src/extract_list.c (extract_files_setup): pass datestamp
8786 argument in new position and without -d.
8787 * restore-src/amidxtaped.c (main): remove -d checks.
8788 * restore-src/amrestore.c (restore, usage, main): fix file descriptor
8789 leak, move datestamp to host/disk triplet and allow all to be repeated.
8791 1998-05-27 Alexandre Oliva <oliva@dcc.unicamp.br>
8793 * client-src/killpgrp.c (main): wait for either SIGTERM or EOF on
8796 * client-src/sendsize.c (getsize_dump): close the other end of
8797 killpgrp's stdin pipe before trying to kill it, because we just
8800 * configure.in (HAVE_HPUX_SCSI): check whether sys/scsi.h actually
8801 supports HP/UX-like changer commands.
8803 * config/acconfig.h (HAVE_HPUX_SCSI): indicates HP/UX-like changer
8804 interface is supported.
8806 * changer-src/scsi-hpux.c: check for HAVE_HPUX_SCSI instead of
8809 1998-05-25 Allen Briggs <briggs@canolog.ninthwonder.com>
8811 * changer-src/chg-manual.sh.in (ONLINEREGEX): add `^er=0$' for
8814 1998-05-23 Alexandre Oliva <oliva@dcc.unicamp.br>
8816 * client-src/sendsize.c (getsize_dump): killpgrp must be direct
8817 child of sendsize, otherwise sendsize won't be able to kill it.
8819 1998-05-23 Alexandre Oliva <oliva@dcc.unicamp.br>
8821 * configure.in (bcopy, bzero, fread, fwrite, vfprintf, vprintf,
8822 vsprintf): check for these in stdlib.h
8823 (memmove): check for it in strings.h
8825 * common-src/amanda.h (memmove): fix declaration of memmove, so as
8826 to be compatible with the ones in common-src/memmove.c and
8827 regex-src/fake/memmove.c
8829 reported by Tim Potter <tpot@acsys.anu.edu.au>
8831 1998-05-20 Alexandre Oliva <oliva@dcc.unicamp.br>
8833 * client-src/sendbackup.c (check_status): when checking whether dump
8834 returned 1, make sure it was not tar; #ifdef'ed out the code that
8835 ignores exit status 2 from gnutar (will be compiled in only if
8836 IGNORE_TAR_ERRORS is defined)
8837 * client-src/sendbackup-gnutar.c (GNUTAR active filesystem errors):
8838 updated comment; compile in GNUTAR error messages as DMP_NORMAL if
8839 IGNORE_TAR_ERRORS is defined; compile in SMBCLIENT error messages as
8840 DMP_NORMAL if IGNORE_SMBCLIENT_ERRORS is defined.
8842 1998-05-20 Tom Lear <toml@accesscom.com>
8844 * client-src/sendbackup.h (tarpid): new variable, used to check
8845 whether it is gnutar that is running
8846 * client-src/sendbackup-gnutar.c (start_backup): set tarpid when
8848 * client-src/sendbackup.c (check_status): if gnutar returns 2,
8851 1998-05-19 Jean-Louis Martineau <martineau@IRO.UMontrealCA>
8853 * client-src/amandad.c: set parse_errmsg when unexpected packet
8854 * recover-src/amrecover.c: overflow in clean_pathname()
8855 * recover-src/extract_list.c: add log in delete_file().
8856 small bug when call clean_pathname()
8857 * server-src/amindexd.c: ORLD command is not working
8858 * server-src/dumper.c: fixe overflow
8860 1998-05-17 Alexandre Oliva <oliva@dcc.unicamp.br>
8862 * configure.in: do not check for MAXFILESIZE
8863 * config/acconfig.h: do not define MAXFILESIZE
8864 * server-src/conffile.c: use INT_MAX instead of MAXFILESIZE
8865 * example/amanda.conf.in: ditto
8867 * server-src/driver.c (interface_state): new function; print the
8868 free bandwidth for each interface.
8869 (short_dump_state): call interface_state before holdingdisk_state
8871 * ChangeLog: renamed from CHANGES. Original entries follow.
8873 fix skip-incr handling so that reporter reports SKIPPED
8874 instead of missing result.
8875 -Jim Simmons <s4i@sws6.ctd.ornl.gov>
8877 split big dumps ( > MAXFILESIZE ) in multiple files on holding disk.
8878 new chunksize parameter in holdingdisk description of
8879 the amanda.conf file.
8880 -J-L Martineau <martineau@IRO.UMontreal.CA>
8882 an amstatus command that give the current state of a run.
8883 -J-L Martineau <martineau@IRO.UMontreal.CA>
8885 possibility to amflush multiple runs on one tape.
8886 possibility to select dump by datestamp in amrestore (-d datestamp).
8887 -J-L Martineau <martineau@IRO.UMontreal.CA>
8889 amidxtrm keep index of all active tapes as listed in tapelist file.
8890 -J-L Martineau <martineau@IRO.UMontreal.CA>
8892 the tapelist file keep every active tapes.
8893 "amadmin reuse" and "amadmin no-reuse" to mark tapes you want
8894 to keep for a long time.
8895 -J-L Martineau <martineau@IRO.UMontreal.CA>
8897 amlabel will not overwrite an amanda tape.
8898 The -f flag allow to overwriting an amanda tape.
8899 -J-L Martineau <martineau@IRO.UMontreal.CA>
8901 be consistent and use 1048576 as a dump size everyplace instead of
8902 100000 in some places (mostly cosmetic). -JJ
8904 negative numbers are now accepted in the configuration file
8907 allow a total estimate time-out to be specified. -oliva
8908 Suggested by Martyn Johnson <Martyn.Johnson@cl.cam.ac.uk>
8910 fix amtoc behavior in case of failed reads.
8911 -Niek Rijnbout <niek@knoware.nl>
8913 index files are now stored in a directory tree ala curinfo instead
8914 of a flat namespace. -JJ
8916 amrecover will now restore files using SAMBA.
8917 -Rob Riggs <rob@devilsthumb.com>
8919 VXDUMP needs not be run as root, so it no longer enables
8920 rundump automatically. -oliva
8922 new `killpgrp' setuid-root program. It is used to kill
8923 VDUMP, VXDUMP and XFSDUMP or with-rundump DUMP estimates in a
8925 -Joerg Behrens <jbehren@umpa06.gwdg.de> & oliva
8927 fixed amrmtape so that it will delete from tapelist only the
8928 entry that corresponds to the specified tape, not others that
8929 contain the tape name as a substring.
8930 -Nick Hibma <nick.hibma@jrc.it> & oliva
8932 Added support for FreeBSD dump -h flag (honor nodump).
8933 -James E. Housley <housley@pr-comm.com>
8935 Added support for ZFTAPE on Linux.
8936 -Albrecht Gebhardt <agebhard@zidsrv.sci.uni-klu.ac.at>
8938 Added support for printing tape labels.
8939 -Scott Mesches <mesches@allison.Colorado.EDU>
8941 Do not let amrecover die because of SIGPIPE if the pager terminates
8942 early during a long listing. Use the PAGER environment variable if
8943 available, else "more". -JJ
8945 Change log() calls to log_add() so it does not conflict with the math
8946 function of the same name. Replace pname global variable with two
8947 functions to set/get. Get rid of libamnolog. -JJ
8949 chg-chio was renamed to chg-scsi, and now it will support not
8950 only chio.h, but also tape changer interfaces available on
8951 HPUX, Solaris 2.5, IRIX and possibly others. Currently, only
8952 chio and HPUX are implemented.
8953 -Eric Schnoebelen <eric@cirr.com>
8955 Numerous bugs/errors were fixed in chg-chio/chg-scsi. it now
8956 properly responds to -eject requests, among other things.
8957 -Eric Schnoebelen <eric@cirr.com>
8961 updated to libtool 1.2a. -oliva
8963 fix kerberos encryption to work. -Chris Ross <cross@uu.net>
8965 add --with-owner option to optionally not have things owned by
8966 the amanda user. (meant to be in 2.4.0) -kovert
8968 only call initgroups() if it is available. -oliva
8970 check whether GNUTAR_LISTED_INCREMENTAL_DIR is a directory.
8971 -oliva, reported by J.A. Gutierrez <spd@gtc1.cps.unizar.es>
8973 amindexd no longer considers prefixes of hostnames as valid
8976 fix strappend2 so that it accepts a NULL first argument.
8977 -Rob Riggs <rob@devilsthumb.com>
8979 pass kerberos encryption switch to client.
8980 -Fredrik Jönsson <fjo@nada.kth.se>
8982 rename afree to amfree, to work around IRIX 6.4's afree.
8983 -oliva, reported Stephan P. Martin <smartin@schlund.de>
8985 implement `strategy skip' just like `ignore'.
8987 reported by Michael O'Shaughnessy <mikeo@emg.sms.siemens.com>
8989 amcheck now checks whether COMPRESS_PATH is executable, which
8990 would prevent server-compression and indexing from working.
8991 -oliva, reported by Peter Schultze <peter@mbi.ucla.edu>
8993 fixed dump estimate regular expression for DU 4.0.
8994 -Andreas Schmitz <schmitz@theorie.physik.uni-wuppertal.de>
8998 fixed memory corruption error in amtape.
9001 fixed VXDUMP support.
9002 -Andrew Ivanov <ivanov@mics.msu.su> & oliva
9004 typos fixed in chg-chs.
9005 -David Barr <dbarr@simplex.com>
9007 chg-mtx now prints error message if tapedev or changerdev must
9009 -Adrian T. Filipi-Martin <atf3r@cs.virginia.edu>
9011 fixed amflush problem, reported by Dietmar Goldbeck
9012 <dietmar@telemedia.de> -oliva
9014 Version 2.4.0-980319
9016 chg-mtx should use changer-dev if specified.
9017 -Steve Khoo <steve@gordian.com>
9019 flex-related backward-compatibility problem fixed.
9020 -Norman K Scherer <nsche@seros-48.hac.com>
9022 ported to RISCOS 4BSD. -Harlan Stenn <Harlan.Stenn@pfcs.com>
9024 when amrecover starts up, it will warn you $CWD is not the root
9025 of the selected filesystem. -oliva
9027 removed all uses of #elif, because some C compilers won't
9028 handle it correctly. -Gunther Felkel <G.Felkel@edelmann.de>
9030 fixed VDUMP-only (no DUMP defined) estimates.
9031 -Joern Behrens <jbehren@umpa05.gwdg.de>
9033 ported to UnixWare. -Jeff Moscow <jeff@rtr.com>
9035 improved vxdump support so that rundump will be used for vxfs
9036 filesystems only, and it will be enabled automatically. -oliva
9038 various portability problems fixed.
9040 taper will now log reason for tape error to log.<DATE> file,
9041 in addition to amdump.<n>.
9042 -Liudvikas Bukys <bukys@cs.rochester.edu>
9044 amflush now correctly updates the info database. -oliva
9045 reported by Liudvikas Bukys <bukys@cs.rochester.edu>
9047 sendsize now wait()s for tar and samba child processes. -oliva
9048 reported by Brian Morris <brian@mvhs.fuhsd.org>
9050 ensure that `amadmin find' reports multiple backups performed on
9051 the same day in the correct sequence.
9052 -Liudvikas Bukys <bukys@cs.rochester.edu>
9054 if backup server has multiple IP addresses, security code
9055 might reject it. -Gunnar Gunnarsson <gunnar@ki.ericsson.se>
9057 vdump would not work. -oliva
9059 kerberos support was broken. -mike
9061 Version 2.4.0-980222
9063 retry tape open on AIX if it fails with EAGAIN errno.
9064 -Francois Morris <Francois.Morris@lmcp.jussieu.fr>
9066 fix amrmtape so that it behaves well when files to amflush
9067 remain. Reported by Dietmar Goldbeck <dietmar@telemedia.de>
9069 retry tape rewind on FreeBSD. -Bob Willcox <bob@prm.com>
9071 read all output from amrestore otherwise, instead of the
9072 beginning of the next tape section, it would read garbage.
9073 -Terje Malmedal <tm@odin.funcom.com> & oliva
9075 formatting error in amoverview fixed.
9076 -Terje Malmedal <tm@odin.funcom.com>
9080 use vdump to dump advfs filesystems only. add support for vdump
9082 -Martyn Johnson <Martyn.Johnson@cl.cam.ac.uk> & oliva
9084 change index generation commands so that they are less prone
9085 to be fooled by blanks or strange characters in filenames.
9088 check whether exclude-list file exists before calling gnutar.
9089 If it does not, log a message to debugging file and discard it.
9090 selfcheck should check for that too, and print a warning message,
9091 but this is left for a future version. -oliva
9093 fix sendbackup-gnutar crashing problem. -oliva
9095 ensure that, in case of tape failure when dumping to tape, no
9096 incremental relative to the failed backup is performed.
9097 -oliva & Liudvikas Bukys <bukys@cs.rochester.edu>
9099 Fix buffer use and write() error handling in the index pipeline.
9100 -Dietmar Goldbeck <dietmar@telemedia.de>
9101 & Lars Fenneberg <lf@elemental.net>
9103 new index generation commands. -oliva
9107 accept curses and ncurses in addition to termcap for readline
9108 support, just as readline itself does. -oliva
9110 fix NO-ROOM handling when Kerberos encryption is enabled.
9111 -oliva & Eric Siegerman <erics@now.com>
9113 patch file for automake 1.2d provided. -oliva
9115 sendbackup.debug now contains the argument list of child
9118 wait() for child processes, such as server compressor, before
9119 accepting other commands.
9120 -Liudvikas Bukys <bukys@cs.rochester.edu>
9122 amrecover will print an error message if it is not run by root.
9123 It will not crash if you `pwd' before selecting a disk. -oliva
9125 updated to libtool 1.0i. -oliva
9127 fixed tape block size of vxdump on HPUX 10.20.
9128 -Andrew Ivanov <ivanov@mics.msu.su>
9130 Use "a" mode instead of "w" for the fdopen of the debug file.
9131 -David Lamkin <drl@net-tel.co.uk>
9133 allow multiple concurrent gnutar backups, by fixing amandates
9135 -Liudvikas Bukys <bukys@cs.rochester.edu>
9137 amdump should check for a hold file, as says the man-page.
9140 fix automatic enabling of USE_RUNDUMP for systems that require
9141 this. xfsdump support no longer requires USE_RUNDUMP to be
9142 defined, rundump will be enabled and used for xfs filesystems
9143 even if USE_RUNDUMP is not defined, unless XFSDUMP is not defined.
9144 This seems to have completely solved the xfsdump problems.
9147 when USE_RUNDUMP is enabled, instead of checking for read or write
9148 access in selfcheck, just test for the existence of disk devices.
9151 fixed code that computed the dump size when incomplete
9152 writes occurred in dumper. -Eric Siegerman <erics@now.com>
9154 amplot no longer crashes if there's no holding disk. -oliva
9158 fix xfsdump index generation command.
9159 -Robert Tarrall <tarrall@bamboo.colorado.edu>
9161 tape device wouldn't rewind if opened O_WRONLY.
9162 -Palle Girgensohn <girgen@partitur.se> & oliva
9164 use setpgid instead of setpgrp if available
9165 -Mark Woodford <woodford@uniprise.com> & oliva
9167 chg-mtx will check whether slot 6 is a cleaning tape or not.
9168 -Martyn Johnson <Martyn.Johnson@cl.cam.ac.uk>
9170 amrmtape updated to text database. -oliva
9172 incorrect NO-ROOM error when dumping directly to tape fixed.
9175 --with-user and --with-group become are now required. -oliva
9177 patch-system script much more configurable. -oliva
9179 amindexd must get an exact match for diskname.
9180 -Richard Kail <e8903122@student.tuwien.ac.at> & oliva
9182 fix serial number message in amflush
9183 -Liudvikas Bukys <bukys@cs.rochester.edu>
9185 removed backslashes from inside macro calls.
9186 un-indented # directives.
9187 -Gregory Neil Shapiro <gshapiro@WPI.EDU>
9189 bsd-security is now enabled by default. -oliva
9191 fixed estimate command for XFSDUMP.
9192 -Mark Radleigh <radleigh@image.ucr.edu>
9193 & Jeff Moskow <jeff@rtr.com>
9197 documented etimeout configuration option. -oliva&jrj
9199 prevent a few crashes in dumper and reporter. -jrj
9201 reporter would report the same host and disk for RESULTS MISSING.
9204 fix a few file-locking configure bugs. -oliva
9206 chg-multi updates and bugfixes.
9207 -Liudvikas Bukys <bukys@cs.rochester.edu>
9211 amindexd bugfix -Jos Alsters <Jos.Alsters@sci.kun.nl>
9213 New --disable-libtool configure option, for those who really don't
9214 want libraries to be installed. Shared libraries won't be
9215 built, of course. -oliva
9217 samba-related bugfixes.
9218 -Klaus Thiele <kth@becker-software.com>
9220 xfsdump, DNS and amidxtaped bugfixes. -martineau
9222 exclude-list support was broken, the filename was not copied
9223 to the gnutar argument list.
9224 -Stefan Bohm <Stefan.Bohm@rp-online.de>
9226 chg-chio still thought it was seagate-changer, and contained a
9227 few bugs. -Tim Tsai <tim@futuresouth.com>
9229 New file docs/RESTORE, by Daniel Moore <dmoore@jeffco.k12.co.us>
9233 Make sure amverify waits for the tape device to be ready before it
9234 starts reading each section. -oliva
9236 Fix amrecover so that it accepts filenames with blanks.
9237 -J. Shirk <jshirt@ksu.edu> & oliva
9239 Add a TIMEOUT config file parameter to replace the hard coded value
9240 in planner. -Daniel David Benson <bensond@ucdavis.edu>
9242 Change amrecover/amindexd/amidxtaped to require a SECURITY
9243 exchange if --with-bsd-security is enabled. It is done on a
9244 reserved port, which means amrecover must be run as root and that
9245 amindexd/amidxtaped need an entry for the incoming amrecover in
9246 either .rhosts or .amandahosts (Kerberos is not yet supported). --JJ
9248 Make our internal TEXTDB the default database style for the infofile.
9249 If you wish to keep using a dbm style database use the configure
9250 option "--with-db={db,dbm,gdbm,ndbm}".
9253 Sanitise the disk name in the TEXTDB code.
9254 **NOTE** if your infofile database uses TEXTDB (which has only been
9255 available since Amanda-2.4.0b1) and you have '/'s in the
9256 first field in disklist you will need to 'amadmin export'
9257 the data using the old version of Amanda, 'mv' the old
9258 database out of the way and 'amadmin import' it back again
9259 using the new version. When you are happy with the new
9260 version you may delete the old database.
9263 Get rid of DEV_ROOT/DEV_RROOT and figure out the raw name on the
9264 fly by trying a leading 'r' before each path element one at a time
9265 until we find a character device. This should handle all the current
9266 cases plus things like Solaris DiskSuite that have /dev/md/rdsk/xxx
9269 Change kill logic in sendsize to try TERM first, then KILL if that
9270 does not get dump's attention. This fixes a problem on AIX 4.x
9271 where dump was always getting a KILL and leaving orphaned message
9272 queues, which would eventually run the system out of resources. -JJ
9274 Extensive buffer management, bug and defensive coding overhaul
9276 * Use proper fgets/fread/read buffer size.
9277 * Wrote agets and areads to get a line without buffer overflow
9278 and changed most gets/fgets and some read calls to use it.
9279 * Replaced all *scanf("...%s...") with explicit pointer work.
9280 * Replaced most fixed size buffers with dynamic ones. This has
9281 no doubt introduced some memory leaks.
9282 * Replaced most sprintf calls with vstralloc (new routine).
9283 * Added overflow checks to some remaining explicit buffer
9285 * Made almost all read() and write() calls into loops to handle
9286 short and broken up transfers.
9287 * Fixed potentially uninitialized fstype field.
9288 * Added more sanity checks when parsing various things, including
9289 converting some assert() calls to real code.
9290 * The pattern amtrmidx used to find old index files to delete
9291 thought the date field was YYYY-MM-DD, but it is YYYYMMDD,
9292 so no files were being deleted.
9293 * Limited the number of directories listed by amflush to 26 to
9294 avoid funny characters in the user prompt.
9295 * Changed some of the amrecover routines to soak up the rest of
9296 the continuation lines after an error.
9297 * If a dumper dies, driver still tries to send a QUIT command
9298 which fails because the file descriptor has been closed.
9299 * Wrote afree macro that calls free and then sets the pointer
9300 to NULL. Changed most free calls to afree.
9301 * Wrote aclose/afclose/apclose macros to do the associated close
9302 and then set the argument to something invalid (-1 or NULL).
9303 * Check the file descriptor before calling FD_ISSET in dumper.
9304 Otherwise it goes to -1 on EOF and FD_* doesn't like that.
9305 * Call aclose() after FD_CLR (so the descriptor is not -1).
9307 * Added some TEXTDB support code to the infofile test program.
9308 * Set it up so -DPROTO_DEBUG could come from the compiler command
9309 line instead of having to modify the source.
9310 * Added -t command line flag code to sendbackup.c to support some
9312 * Added a test to amcheck to see if the log file is writable
9313 (if it already exists). During debugging, I keep leaving one
9314 around owned by root :-).
9315 * Changed upper limit on close loops from 255 to FD_SETSIZE.
9316 This probably needs some more study.
9319 If krb4 auth was compiled in but not enabled, clients would hang
9320 forever. -Aidan Cully <aidan@panix.com>
9322 Make sure SAMBA will not clear archive bits when performing an
9323 incremental backup, so any incremental will be a level 1.
9326 Add a LOGDIR option to amanda.conf and use it to replace the
9327 --with-logdir option to configure (this was only used for the
9328 amdump files) and the logfile option in amanda.conf. Log
9329 files are now LOGDIR/log and amdump files are LOGDIR/amdump.
9330 Note: if there is a LOGFILE option in amanda.conf it has its
9331 filename removed and is used as the LOGDIR (eg, if you have
9332 "logfile /usr/adm/amanda/log" in amanda.conf it is translated to
9333 "logdir /usr/adm/amanda" instead). This should not cause a
9334 problem for most sites.
9337 Remove --with-dbdir option from configure. This was only used
9338 to setup things for the man pages and example files. Oh.. and
9339 amrmtape. Fix this as well.
9342 Remove --with-indexdir option from configure. This is obtained
9343 from amanda.conf at run time. Also fix things so that it *is*
9344 obtained from amanda.conf in all cases.
9347 This is no longer tested on configure.in, since it is
9348 expressly forbidden to include kernel headers under glibc,
9349 according to Matthias Urlichs <smurf@noris.de>. However, Eric
9350 Doutreleau <ed@cti.ecp.fr> said he needed to include this
9351 header file in order to build amanda on
9352 sparc-unknown-linux-gnu. -oliva
9354 It is now possible to specify a username to be used to backup
9356 -Jean-Louis Martineau <martinea@iro.umontreal.ca>
9358 Make sure dumper replies with ABORT_FINISHED when a PORT-DUMP
9359 is aborted because of tape error.
9360 -Michael C. Povel <Michael.Povel@hub.de>
9362 Amcheck checks only for the needed features.
9363 -Jean-Louis Martineau <martinea@iro.umontreal.ca>
9365 Performance and memory-usage improvements to amrecover.
9366 -Jean-Louis Martineau <martinea@iro.umontreal.ca>
9368 Use extended regular expressions.
9369 -Noel Hunt <noel@jpmorgan.com>
9371 Fixed regular expressions for samba support.
9372 -Brian Fernald <fernald@nsi.edu>
9374 Fixed a few bugs that caused arithmetic exceptions in planner.
9375 -Bob Willcox <bob@luke.pmr.com>, Evan Champion
9376 <evanc@synapse.net>, scott and oliva
9378 amrecover should now be able to handle GNUtar restores.
9379 -Jean-Louis Martineau <martinea@iro.umontreal.ca>, plus
9380 incremental (-G) patch by Lars Fenneberg <lf@elemental.net>
9382 Ported to SINIX (Reliant Unix V5.43).
9383 -Michael Schmitz <mschmitz@iname.com>
9385 Configure now looks for large file support and will use it under
9386 Solaris 2.6 and above.
9387 -Blair Zajac <blair@gps.caltech.edu>
9389 Compatibility problems fixed for:
9390 SCO OpenServer 5.0.2: Paul Gampe <paulg@twics.com>
9394 New changerfile and changerdev configuration keywords, that
9395 allow changer scripts to be configured in the main amanda
9396 configuration file. Each changer script has been adapted, so
9397 that it uses those flags whenever possible. Also,
9398 documentation about built-in scripts has been added to
9399 docs/TAPE.CHANGERS. -oliva & Eric Schnoebelen
9400 <eric@egsner.cirr.com>
9402 --with-debugging now accepts a directory name, where debugging
9403 files should be stored. -John R. Jackson <jrj@cc.purdue.edu>
9405 Compatibility problems fixed for:
9406 NextStep 3.3: Fabrice GAILLARD <gaillard@ina.fr>
9407 SCO OpenServer V5: Christopher B. Olsen <colsen@compus.com>
9408 AIX: Georg Rehfeld <georg@wmd.de>
9410 Planner would core dump if it had to delay dumps. -Georg
9411 Rehfeld <georg@wmd.de>
9413 Added patch for samba to support very long filenames. -Todd
9414 Pfaff <todd@edge.cis.mcmaster.ca>
9416 Added VXDUMP support to estimate program. -oliva & John
9417 R. Jackson <jrj@cc.purdue.edu>
9419 Fixed amflush so that it cd's to the configuration directory
9420 before invoking reporter. -oliva
9422 driver no longer opens the infofile, so a deadlock is
9423 prevented. -oliva & John R. Jackson <jrj@cc.purdue.edu>
9425 Fixed typo in sendbackup-dump that would prevent compilation
9426 if either xfsdump or vxdump were enabled. -oliva
9428 Debugging messages produced by sendbackup are no longer
9429 included in the dump stream. -oliva
9431 amrestore should wait for the child process to die before
9432 re-opening the tape device. -Dietmar Braun
9433 <dietmar@tin-lizzy.hig>
9437 fixed race condition in debug file open operation. -oliva and
9440 exclude-list and exclude-file are correctly handled by
9441 sendsize. -oliva and Johann Klasek <jk@auto.tuwien.ac.at>
9443 fix some kerberos4 problems; no longer require low ports for
9444 kerberized connections; now use amanda@REALM instead of
9445 amanda.amanda@REALM in .klogin's. -kovert
9447 amrecover no longer depends on GNU flex library. -oliva
9449 Ensure that malloc(0) is not called. -Wolfram Schmidt
9450 <Wolfram.Schmidt@iao.fhg.de>
9452 Compression is now performed where specified, and server
9453 compress best specifications are obeyed. -oliva
9455 genversion now correctly recognizes the selected locking scheme.
9456 -Thomas Schmeidl <schmeidl@nwp.kwu.siemens.de>
9460 Several bugfixes by John R. Jackson <jrj@cc.purdue.edu>
9462 AIX's restore support added to amrecover. -David B. Anderson
9463 <dbanders@mail.physics.utah.edu>
9465 Dump process would not be killed unless it supported the -E
9466 flag (flipped #ifdef): fixed. -Steve Bower <sbower@raytheon.com>
9468 --with-testing now supports a trailing argument, that
9469 specifies the a string to be appended to service names. -oliva
9471 Recent versions of Samba require additional arguments so that
9472 estimates and total sizes are logged to stdout, not to syslog.
9473 -Ernie Oporto <ernie_oporto@MENTORG.COM> & Norbert Holzknecht
9474 <Holzknecht@fs31.vdeh-bfi.de>
9478 Improved planner backup-delaying mechanism. -scott
9480 Concurrent estimates are now supported. -oliva
9482 Shared library support included with GNU libtool. -oliva
9484 New hard-link-based locking mechanism for operating systems
9485 that do not support standard locking system calls. -scott
9487 New configuration file format, simpler and easier to
9490 New curinfo database format that uses only text files. The
9491 old dbm format is used by default, though. -scott
9493 DGUX support. -Brian Harvey <bharvey@raven.phs.com>
9495 Tentative HPUX vxdump support. -oliva
9497 Integrated amgetidx into dumper/sendbackup protocol. This
9498 ***breaks backward compatibility***! -oliva
9500 Have sendbackup-dump and sendbackup-gnutar list the actual
9501 program that should be used to restore a file from a backup
9502 instead of just listing restore or gtar. -blair&oliva
9504 Have configure check for the initgroups() declaration in
9505 unistd.h in addition to grp.h and sys/types.h, which is where
9506 some OSes have the declaration. -blair
9508 SAMBA backups wouldn't succeed if GNUTAR listed incrementals
9509 were enabled. SAMBA password file can now specify workgroup
9510 and may contain comments. -oliva
9512 Fixed xfsdump support. -oliva
9514 Fixed srvcompress option. -oliva
9516 Fixed exclude/exclude-list support. -oliva
9518 Change umask to 066 before creating index file in /tmp. -oliva
9520 Fixed autoconf for gdbm on linux. -oliva
9522 configure now seeks out a few possible locations for
9523 kerberos4 includes and tries to find the correct path if
9524 the kerberos bits have been installed. It's possible for
9525 someone to just specify the root of a kerberos tree for
9526 where the bits live, as well. -kovert
9530 Have bsd_security_ok() in amandad return 1 when BSD security is
9531 not turned on. Patch from Michael C. Grant
9532 <mcgrant@rascals.Stanford.EDU>.
9534 Add a configure option, --with-db, which lets the user specify
9535 the database library to use. The available codes to look for
9536 are db,dbm,gdbm,ndbm. The new configure code goes to a lot
9537 more length to find pairs of header files and libraries. If a
9538 header file exists and the library does not, but dbm_open() is
9539 found by linking against -lc, then that header file is used.
9540 Patch from Blair Zajac <blair@gps.caltech.edu>.
9542 Fixed bug at line 158 where selfcheck was testing that the
9543 result returned by open() was nonzero. The correct thing to do
9544 is check for non-negative values returned by open(). Changed
9545 the "ERROR" in line 169 to "OK" to prevent selfcheck from
9546 flagging the non-existence of /etc/amandapass as an error.
9547 Using "OK" in this line flags this condition as an informative
9548 statement rather than an error - which is to say this will be
9549 reported along with other errors but it isn't enough in itself
9550 to generate an error report. The reason that I think this is
9551 the right fix is because although every Amanda client is
9552 capable of backing up PCs using smbclient it isn't the case
9553 that we will back up PCs with every Amanda client. This also
9554 implies that we don't want to have /etc/amandapass files on all
9555 these machines either. If an Amanda client does have a samba
9556 "//host/share" entry in its disklist file then selfcheck will
9557 flag the non-existence of the /etc/amandapass file on line 105
9558 when it attempts to check that partition, so I believe that
9559 this is a safe fix. Patch from Michael Brantley
9560 <Michael-Brantley@deshaw.com>.
9562 Have all calls to gethostname() leave the result in character
9563 arrays of length 1025. This will make sure that gethostname
9564 behaves correctly. Patch from blair Zajac
9565 <blair@gps.caltech.edu>.
9567 Have amrecover.c include history.h or readline/history.h if
9568 configure finds it. Patch from blair Zajac
9569 <blair@gps.caltech.edu>.
9571 Have Amanda use cat if gzip and compress cannot be found. In
9572 this case, do not #define COMPRESS_FAST_OPT, COMPRESS_BEST_OPT,
9573 or UNCOMPRESS_OPT as "" since cat will look look for a file by
9574 the name of "". Place #ifdef's around code that uses any of
9575 the _OPT defines. Patch from Blair Zajac
9576 <blair@gps.caltech.edu>.
9578 Rewrite amgetidx to use amandad instead of rsh/rcp. amgetidx
9579 now only gets the index files from a given day. It now takes
9580 two optionally arguments <on day> or <ago days>. <on day> lets
9581 the user specify the day in one of the forms YYYYMMDD MMDD DD
9582 YYYY-MM-DD --MM-DD ---DD. <ago days> gets the files from days
9583 days ago. Have configure look for an appropriate directory to
9584 use for the temporary files on the clients. Use /var/tmp, then
9585 /usr/tmp, and if neither of those exist, then use /tmp. Have
9586 selfcheck check if the index holding directory has enough space
9587 in it. Add a new program called sendindex which sends the
9588 index files. Add the file docs/INDEXING which describes the
9589 index code. Patch from Alan McIvor <alan@auck.irl.cri.nz>.
9591 Have configure set up mt to use either the -f or the -t option
9592 depending upon the operating system. Patch from Blair Zajac
9593 <blair@gps.caltech.edu>.
9595 Include the amanda_tapetypes.txt file as docs/TAPETYPES. File
9596 composed by Chris Stacey <chris@snrc.uow.edu.au>.
9598 Allow certain dumptypes to be kicked off at specific times.
9599 Add a new, optional, parameter to the dumptype description in
9600 the config file. The parameter is called "starttime" and takes
9601 one argument which is a time of day (local timezone) formated
9602 as either hhmm or hmm (no `.'s, no `:'s, just an integer).
9603 define dumptype comp-user-2am {
9604 comment "Non-root partitions on fast machines"
9605 options compress-fast
9609 Any partitions listed in disklist with this dumptype will be
9610 fired off no earlier than 2am. If 2am today is less than 43200
9611 seconds past (12 hours ago) it will assume you meant 2am today
9612 and fire the dumps off right away. But if 2am today is more
9613 than 12 hours in the past, it will wait till 2am tomorrow.
9614 Patch from Brad Huntting <huntting@misc.glarp.com>.
9616 Totally rewrite the socket buffering code for dumper.
9617 Eliminate SO_SNDTIMEO and SO_RCVTIMEO setsockopt calls. Remove
9618 the check for HAVE_SO_SNDTIMEO from configure. Add a new
9619 option to configure named --enable-buffered-dump to enable this
9620 code. Patch from Brad Huntting <huntting@misc.glarp.com>.
9622 Have amflush call setsid() to detach amflush from the
9623 controlling terminal. Patch from Ken Laprade
9624 <klaprade@harris.com>.
9626 Have configure correctly work on systems where dbm_open is in
9627 libc. Patch from Farzad Farid <farzy@sgip.fr>.
9629 Patches to amrmtape which remove C style comments and let the
9630 script remove a tape if there is only one tape in the tapelist
9631 file. Patch from Andrew A. Ivanov <IVANOV@mics.msu.su>.
9633 Sprintf formatting error in amgetidx fixed. Patch from Yossi
9634 Gottlieb <yogo@xpert.com>.
9636 I'm using a Sony SDT/STL-7000 4mm DAT changer. I could not
9637 find any method of directly controlling the device, except for
9638 simply using the 'offline' mt command for advancing to the next
9639 tape. Using this method, however, I could not go beyond the
9640 last cassette (that is, to roll back to the first one). This
9641 means the device is currently being used as a simple gravity
9642 changer, only able to change forward. The chg-generic.conf
9643 should list the default tape device for all slots, disable
9644 'needeject', enable 'gravity' and enable the new option named
9645 'multieject'. Patch from Yossi Gottlieb <yogo@xpert.com>.
9647 Update the example chg-generic.conf file to include comments
9648 that describe how to use the multieject feature of the script.
9649 Patch from Yossi Gottlieb <yogo@xpert.com>.
9651 Protocol seems to loop when a A_TIMEOUT occurs because
9652 p->reqtries was not being decremented. Problem noted by Neal
9653 Becker <neal@ctd.comsat.com>.
9655 About half the calls to gethostname() in Amanda fail to
9656 null-terminate properly. This patch makes them all
9657 consistent. In addition it updates sendbackup-dump and
9658 sendbackup-gnutar so they handle USE_FQDN is a way consistent
9659 with the amindex stuff. In particular when USE_FQDN is set,
9660 the dump clients will not truncate their hostname before
9661 putting it in the dump headers. My patches to amflush are
9662 already in the Amanda betas so amflush should be able to match
9663 up both FQDN and non-FQDN clients against FQDN and non-FQDN
9664 disklist files. I also fixed an error message that was
9665 attributed to gethostname when it actually came from
9666 getpeername. Patches from James Mathiesen
9667 <james@nyc.deshaw.com>.
9669 I have run into the problem, on a Linux system, where the first
9670 time I run configure it generates valid Makefiles and Amanda
9671 compiles without problem. If I run configure again, or I alter
9672 a Makefile.in or something which causes autoconf to be called,
9673 the resulting Makefiles are no good - the programs in
9674 server-src don't finish linking because there is no dbm
9675 library. That is, the first time through configure -lgdbm is
9676 added to LIBS but the second, and any subsequent times, it is
9677 not. Patch from Alan McIvor <alan@auck.irl.cri.nz>.
9679 I've just found a bug that has prevented Amanda from running on
9680 my site for almost one week. Just after a dumper replied that
9681 it timed-out, the driver would send it another dump request.
9682 Then the driver would log to amdump an event of receiving a
9683 message from the dumper, but that message would be empty, the
9684 holding file for the requested filesystem would not exist, and
9685 driver would quit. It turned out that the problem was that
9686 dumper started to close its sockets (datafd, mesgfd and outfd)
9687 since release 2.3.0.4b3. outfd is initialized before invoking
9688 startup_dump, but it is sendbackup_response, intended to be
9689 invoked by the amandad protocol driver, that opens sockets and
9690 initializes datafd and mesgfd. If sendbackup_response is never
9691 run (because the amandad request times out), datafd and mesgfd
9692 will not be initialized, so they may contain already closed
9693 (and possibly already reopened) file descriptor numbers or
9694 still be uninitialized, containing any garbage, but usually 0
9695 --- but 0 is stdin, used for reading commands from the driver,
9696 it should not be closed! I've solved the problem by
9697 initializing them to -1 in startup_dump. Patch from Alexandre
9698 Oliva <oliva@dcc.unicamp.br>.
9700 Include declarations for select(), bind(), connect(), fread(),
9701 fwrite(), getopt(), getpeername(), getsockname(), getsockopt(),
9702 initgroups(), listen(), lstat(), mktemp(), mktime(), puts(),
9703 recvfrom(), select(), sendto(), setpgrp(), setsockopt(),
9704 shmat(), shmctl(), shmdt(), shmget(), socketpair(), sscanf(),
9705 strftime(), strncasecmp(), system() if the system does not
9706 declare these in any header files. Patch from Blair Zajac
9707 <blair@gps.caltech.edu>.
9709 Have configure correctly substitute for DB_DIR and LOG_DIR in
9710 example/amanda.conf when --prefix was not used. Problem noted
9711 by Philippe Charnier <charnier@xp11.frmug.org>.
9713 Include seagate-changer.c from Larry D. Pyeatt
9714 <pyeatt@cs.colostate.edu>. This program was written to control
9715 the Seagate/Conner/Archive autoloading DAT drive. This drive
9716 normally has 4 tape capacity but can be expanded to 12 tapes
9717 with an optional tape cartridge. This program may also work on
9718 other drives. This program works for me under Linux with Gerd
9719 Knorr's <kraxel@cs.tu-berlin.de> SCSI media changer driver
9720 installed as a kernel module. The kernel module is available
9722 http://sunsite.unc.edu/pub/Linux/kernel/patches/scsi/scsi-changer*
9723 Since the Linux media changer is based on NetBSD, this program
9724 should also work for NetBSD, although I have not tried it. It
9725 may be necessary to change the IOCTL calls to work on other
9728 Add a new configure option, --with-group, which tells Amanda
9729 the group to install all files as. Patch from Alexandre Oliva
9730 <oliva@dcc.unicamp.br>.
9732 If --with-bsd-security was not set, then dumper would not find
9733 the amanda/udp port to use to connect to clients. Patch from
9734 Alan McIvor <alan@auck.irl.cri.nz>.
9736 The order of dump programs to search for (ufsdump, vdump, dump,
9737 backup) didn't work on AIX systems, where backup should be used
9738 but a program named dump exists on the system. Patch by Blair
9739 Zajac <blair@gps.caltech.edu>.
9741 The configure --with-mmap was not working properly since
9742 configure was using the wrong variable to see if the system had
9743 a working mmap(). Problem noted by Keith Mitchell
9744 <kmitch@weenix.guru.org>.
9748 Save the results of getchar() into int's instead of char's in
9749 amidxtaped.c. Patch by Blair Zajac <blair@gps.caltech.edu>.
9751 Fix sendbackup-gnutar so that it can be compiled with a K&R
9752 compiler. Patch by Blair Zajac <blair@gps.caltech.edu>.
9754 Since I installed Amanda 2.3.0.4b3, I noticed some annoying
9756 dumper: pid 8696 setsockopt(SO_SNDTIMEO): Invalid argument
9757 This is because Solaris 2.5 does declare SO_SNDTIMEO in
9758 sys/socket.h, but fails to setsockopt with the given
9759 arguments. Unfortunately, it is not documented, so I could not
9760 find out the correct way to do this, so I just added a test in
9761 configure to check whether SO_SNDTIMEO works as expected or
9762 not. Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
9764 Include amplot-2.2.6 written by Olafur Gudmundsson
9765 <ogud@tis.com> into Amanda. Have amplot be configured using
9766 configure instead of amplot.conf. It will be installed if
9767 gnuplot and the version of awk configure finds can handle
9768 variable assignment from the command line. I also changed some
9769 of the command line options so that the amdump files will not
9770 be compressed unless amplot is told to do so on the command
9771 line. It also takes a new command line option, -t, which lets
9772 the user set the time of the right side of the plot. Work done
9773 by Blair Zajac <blair@gps.caltech.edu>.
9775 Made rth-changer check all system calls for valid returns.
9776 Patch by Blair Zajac <blair@gps.caltech.edu>.
9778 amrestore.c and sendbackup-common.c would do an ifdef on
9779 HAVE_GZIP, which was no longer being defined if Amanda was
9780 using gzip. Now, define HAVE_GZIP if gzip is being used.
9781 Patch by Blair Zajac <blair@gps.caltech.edu>.
9783 Include a script, amoverview, that outputs an overview of all
9784 of the backups done on all of the disks. Script written by
9785 Dave Disser <disser@sdd.hp.com>.
9787 The prototype for amname_to_fstype() is missing in
9788 createindex-dump.c when xfsdump is available. Patch from Ken
9789 Laprade <klaprade@harris.com>.
9791 Apparently SGI provides a dummy libsun.a that does not really
9792 have anything in it. I guess this tricks configure into adding
9793 it to the Makefile. Have configure not check for libsun.a on
9794 SGI systems. Patch from Ken Laprade <klaprade@harris.com>.
9796 The global variable overwrite in amcheck.c apparently is seen
9797 as a potential conflict with the overwrite() curses function
9798 which is apparently in SGI's libtermcap.a. Declaring the
9799 variable static eliminates the warning. Patch from Ken Laprade
9800 <klaprade@harris.com>.
9802 Add a new configure option, --with-fqdn, which allows Amanda to
9803 back up systems in different domains. This requires that the
9804 disklist file have the fully qualified domain names (FQDNs)
9805 listed. Patch from Joe Ammond <Joe.Ammond@ee.gatech.edu>.
9807 Include rundump, a setuid program that runs dump as root. This
9808 is used under OSF1 systems. Patch from Alexandre Oliva
9809 <oliva@dcc.unicamp.br>.
9811 Install setuid files executable only by the owner and group of
9812 the files. This stops other users from running these programs,
9813 making security tighter. Patch from Alexandre Oliva
9814 <oliva@dcc.unicamp.br>.
9816 On FreeBSD 3.0, amanda.h needs to include <sys/types.h> before
9817 <dirent.h>. Problem noted by Keith Mitchell
9818 <kmitch@weenix.guru.org>.
9820 Amanda had a bug regarding the recent addition of support for
9821 excluding files in GNUTAR. planner and sendsize did not
9822 understand each other about empty exclusion lists, so there
9823 were failures using gnutar, as dump does not support excludes.
9824 Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
9826 Fixed a problem in configure where DUMP was being set to
9827 /no/restore/available when no restore program could be found
9828 instead of setting RESTORE to this. Patch from Alexandre Oliva
9829 <oliva@dcc.unicamp.br>.
9831 Have no-changer and hp-changer check for the existence of the
9832 logging directory before trying to use it. Patch by Blair
9833 Zajac <blair@gps.caltech.edu>.
9835 Patches to have nicer looking Samba support code. Patch from
9836 Michael Zucchi <cismpz@cis.unisa.edu.au>.
9838 Got Amanda to compile fine on a m88k-motorola-sysv4 system.
9839 Patches from Blair Zajac <blair@gps.caltech.edu>.
9841 In amandad.c, pk_t dupmsg was conflicting with dupmsg in
9842 /usr/include/sys/stream.h on an m88k-motorola-sysv4 system.
9843 Rename dupmsg to dup_msg. To keep things consistent, rename
9844 inmsg to in_msg and outmsg to out_msg. Patch by Blair Zajac
9845 <blair@gps.caltech.edu>.
9847 Check for the dbm_open declaration in any header file that may
9848 contain it. If it doesn't exist, then declare it and all of
9849 the other dbm_ functions. Check if struct datum is declared in
9850 any header files and if it isn't then declare it. Patch from
9851 Blair Zajac <blair@gps.caltech.edu>.
9853 Have runtar make sure that it is being invoked by the
9854 CLIENT_LOGIN user, since it is a suid executable. Patch from
9855 Alexandre Oliva <oliva@dcc.unicamp.br>.
9857 Have selfcheck check for /etc/vdumpdates if vdump is being
9858 used. Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
9860 If we're on an Ultrix system, then define STATFS_ULTRIX. Patch
9861 by Blair Zajac <blair@gps.caltech.edu>.
9863 amadmin export produces a full version number (2.3.0.4b2, for
9864 instance), while amadmin import expects three integers
9865 separated by dots, so it fails to import an exported file by
9866 itself. Patch by Alexandre Oliva <oliva@dcc.unicamp.br>.
9868 Sendsize.c would loop forever if debugging was not turned on.
9869 Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
9871 Define STATFS_OSF1 if we are on a *-dec-osf-* system. Change
9872 ifdef OSF1_HANG_BUG to ifdef OSF1_VDUMP, since I'd rather not
9873 have too many defines floating around. Patch by Blair Zajac
9874 <blair@gps.caltech.edu>.
9876 There was a bug in selfcheck.c when Blair installed the Samba
9877 support. I deleted an extra space that was added after
9878 SAMBA_CLIENT when the command was being put together. Fix by
9879 Michael Zucchi <cismpz@cis.unisa.edu.au>.
9881 Add a needed ; to client-src/Makefile.am and
9882 server-src/Makefile.am. Patch from Alexandre Oliva
9883 <oliva@dcc.unicamp.br>.
9885 Have planner.c and amcheck.c always get the amanda port number
9886 even if BSD security is turned off. Patch by Blair Zajac
9887 <blair@gps.caltech.edu>.
9889 Change the way amgetidx caches host up/down information. It
9890 used to stralloc() a string depending on if the host was up or
9891 down. Now, create two static character arrays, one holding
9892 "down" and the other holding "up" and simply point the
9893 hostinfo->up pointer to one of the two arrays. This should
9894 save a little memory. Patch by Blair Zajac
9895 <blair@gps.caltech.edu>.
9897 The Bourne shell in FreeBSD can't handle setting IFS to : and
9898 expanding $LOCPATH:$SYSPATH. Create two new variables before
9899 their use called $LOCSYSPATH and $SYSLOCPATH. Patch by Blair
9900 Zajac <blair@gps.caltech.edu>.
9902 Have open_fstab for BSD systems return the value of setfsent.
9903 Patch by Blair Zajac <blair@gps.caltech.edu>.
9905 Configure was searching for the dump program in the following
9906 order: ufsdump, vdump, backup, dump. On HP-UX systems,
9907 configure would find backup, which is a valid program but does
9908 not do what dump does. So switch the order of the programs to
9909 ufsdump, vdump, dump, backup. Patch by Blair Zajac
9910 <blair@gps.caltech.edu>.
9912 Fixed some dbprintf(()) bugs in amgetidx.c. Patch by Blair
9913 Zajac <blair@gps.caltech.edu>.
9915 Have amrecover.c always declare
9916 extern char *optarg;
9918 This makes amrecover.c compile on Ultrix systems. Problem
9919 noted by Scott Gasch <scott@cray-ymp.acm.stuorg.vt.edu>.
9921 Patch to configure to have it recognize gnutar version 1.11.2.
9922 Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
9926 Have amcleanup, no-changer, and hp-changer find out where the
9927 logging directory, or amdump error file is from getconf instead
9928 of using @LOG_DIR@ or @DB_DIR@ from configure. Problem noted
9929 by Joe Ammond <Joe.Ammond@ee.gatech.edu>.
9931 Remove VarDir=@DB_DIR@ from amrmtape.sh.in, since amrmtape
9932 figures out where the curinfo files are from the amanda.conf
9933 file. Problem noted by Joe Ammond <Joe.Ammond@ee.gatech.edu>.
9935 Include rth-changer, a tape changer script for the Robotic Tape
9936 Handling system OEM'd by Andataco (RTH-406). Script written by
9937 Erik Frederick <edf@tyrell.mc.duke.edu>.
9939 Add a new configure option called --with-pid-debug-files which
9940 has Amanda append the process ID to the debugging files placed
9941 in /tmp. The PID will not be appended unless this option is
9942 used. Suggestion by Joe Ammond <Joe.Ammond@ee.gatech.edu>.
9944 Add a new #define UNCOMPRESS_OPT to pass to UNCOMPRESS_PATH to
9945 get compressed standard input decompressed and pass it to
9946 standard output. The configure script only recognized gzip and
9947 compress right now, so it will set UNCOMPRESS_OPT to -dc and
9948 set UNCOMPRESS_PATH to the same value as COMPRESS_PATH. Edit
9949 all of the files that make use of UNCOMPRESS_PATH to also make
9950 use of UNCOMPRESS_OPT now. Patch by Blair Zajac
9951 <blair@gps.caltech.edu>.
9953 The readline() substitute in amrecover.c when the real
9954 readline() code is not available did not return to the caller
9955 what the user typed in. It now does so. Patch from Blair
9956 Zajac <blair@gps.caltech.edu>.
9958 Avoid -lnsl on Irix. On IRIX 5.x and 6.x systems that have the
9959 svr4net module installed, there will be a /usr/lib/libnsl.so
9960 present on the system. The configure script looks for this and
9961 tosses into the library list if it's there. It is not
9962 advisable to link against libnsl on IRIX unless you really need
9963 it for SVR4 networking (TLI/STREAMS). If you _do_ link against
9964 it, you should use include '-lc' _before_ '-lnsl'. The reason
9965 for this is that libnsl.so also contains the SysV TI-RPC code,
9966 which is RPC based on STREAMS/TLI rather than sockets. (Solaris
9967 2.x now uses this by default.) TI-RPC has some compatibility
9968 functions with the same names as older RPC functions, such as
9969 clnt_call(), clnt_create(), clnt_destroy(), and these conflict
9970 with the functions in libc.so. The main place this will hose
9971 you is NIS: NIS v2 expects the underlying RPC code to use
9972 sockets, not STREAMS, and it fails if the TI-RPC symbols in
9973 libnsl.so override the RPC symbols in libc.so. Again, you
9974 don't need libnsl.so unless you're actually using STREAMS/TLI
9975 or TI-RPC, so in Amanda's case it's safe to just ignore it. If
9976 you _do_ need it, you must do 'cc -o foo foo.c -lc -lnsl' in
9977 order to make sure the linker resolves the RPC symbol
9978 references correctly. The primary symptom of this problem is
9979 that things like getpwent(), getgrent() and getnetgrent() stop
9980 working in an NIS environment. To make a long story short: on
9981 IRIX, avoid using libnsl. Amanda doesn't need it anyway. So far
9982 I haven't encountered a problem with this, but you never know.
9983 Note from Bill Paul <wpaul@ctr.columbia.edu>.
9985 Include patches to have Amanda do incrementals of gnutar based
9986 backups. Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
9988 Delete the GNUTAR_BROKEN_PIPE from configure and acconfig.h
9989 since no code was testing for it. Patch by Blair Zajac
9990 <blair@gps.caltech.edu>.
9992 Have configure check for the number of arguments that
9993 gettimeofday takes and have clock.c use the appropriate number
9994 of arguments. Patch by Blair Zajac <blair@gps.caltech.edu>.
9996 Have sendbackup-common.c include tapeio.h instead of defining
9997 BUFFER_SIZE. Fix by Philip Guenther <guenther@gac.edu>.
9999 Put in more support for AIX by defining AIX_BACKUP if the
10000 system is an AIX system. Fix createindex-dump.c to pass the -B
10001 flag to restore to have it read from standard input. Problem
10002 noted by Bill Paul <wpaul@ctr.columbia.edu>. Patch by Blair
10003 Zajac <blair@gps.caltech.edu>.
10005 Add a regexp for AIX 4's backup in sendbackup-dump.c and
10006 sendsize.c. Patch from Bill Paul <wpaul@ctr.columbia.edu>.
10008 Add a comment to tapeio.h about BUFFER_SIZE and what it is used
10009 for and how people should not change it. Noted by Bill Paul
10010 <wpaul@ctr.columbia.edu>.
10012 Added a --with-mmap option to force the use of mmap() instead
10013 of shared memory support. Requested by wpaul@ctr.columbia.edu
10014 <Bill Paul>. Patch by Blair Zajac <blair@gps.caltech.edu>.
10016 On FreeBSD 2.x and 3.x, the SO_SNDTIMEOUT value is too large in
10017 dumper.c. Looking at the kernel source, the maximum value for
10018 tv_sec is about 227. The value used is READ_TIMEOUT/4, or
10019 (30*60)/4 == 450 seconds. This causes setsockopt() to return
10020 EDOM (Numerical argument out of domain), and again everything
10021 grinds to a halt. I changed the value from READ_TIMEOUT/4 to
10022 READ_TIMEOUT/8, which reduces the SO_SNDTIMEO value to 225. I
10023 haven't extensively tested this yet, but based on eyeballing
10024 the kernel source it should work. Patch from Bill Paul
10025 <wpaul@ctr.columbia.edu>.
10027 In dumper.c:do_dump(), there is code to set the transmission
10028 timeout, receive buffer size and receive low water mark on the
10029 data socket using setsockopt(). For SO_RECVBUF, the receive
10030 buffer size (recbuf) is set to DATABUF_SIZE * 4, which is
10031 32*1024*4, or 131072. On SunOS 4.1.x, this value is too
10032 large: dumper generates a 'no buffer space available' error
10033 and everything grinds to a halt. I took away the '*4', which
10034 reduces the size to 32767 bytes, which seems to work. I'm
10035 surprised nobody else has noticed this since it breaks SunOS
10036 Amanda servers. I can only surmise that people aren't using
10037 SunOS machines as servers these days. :) Patch from Bill Paul
10038 <wpaul@ctr.columbia.edu>.
10040 Have Amanda include either readline.h or readline/readline.h
10041 Fix suggested by Neal Becker <neal@ctd.comsat.com>.
10043 Have --with-includes put the -I flags into $CPPFLAGS and
10044 $CFLAGS so that AC_CHECK_HEADERS will find other include
10045 files. Problem noted by Neal Becker <neal@ctd.comsat.com>.
10047 Fixed common-src/Makefile.am to put the extra libamanda.a
10048 sources into the EXTRA_libamanda_a_SOURCES variable instead of
10049 EXTRA_DIST. Fix from Tom Tromey <tromey@drip.Colorado.EDU>.
10051 When compiling amgetidx.c with some compilers, trigraph
10052 substitutions were being made when they should not have been.
10053 Protect the code from this. Patch from Blair Zajac
10054 <blair@gps.caltech.edu>.
10056 Test for flock support in the following order:
10057 1) POSIX fcntl file locking
10060 The common-src/flock.c file will only be used if the lockf type
10061 locking is needed on this system. Patch from Blair Zajac
10062 <blair@gps.caltech.edu>.
10064 Have Samba support compile in only if requested by the user.
10065 Patch from Blair Zajac <blair@gps.caltech.edu>.
10067 Configure was not using $CFLAGS and $CPPFLAGS when trying to
10068 calculate the select argument type. Patch from Blair Zajac
10069 <blair@gps.caltech.edu>.
10071 Updated amanda.h to include alloca.h if the system has it and
10072 if it's ok to include. Also protect more include files with
10073 #ifdefs found by configure. Patch from Blair Zajac
10074 <blair@gps.caltech.edu>.
10076 Linux does not use the raw device names to do backups.
10077 configure now checks to see if it can find a raw disk device
10078 file whose name is built from root's mount point. If it can't,
10079 then set RDEV_PREFIX to use /dev/ instead of /dev/r. Fix
10080 suggested by Brian <brian.s.mogged@uwrf.edu> and Ken Latta
10081 <latta@parc.xerox.com>.
10083 Fixed const cast message from regex.c. Problem noted by Ken
10084 Laprade <klaprade@harris.com>. Patch from Blair Zajac
10085 <blair@gps.caltech.edu>.
10087 Configure was not checking for the OSF1_VDUMP #ifdef used in
10088 Amanda. It now will set OSF1_VDUMP if vdump is found on the
10089 system. However, it does not check if the system is really a
10090 OSF system. Patch from Blair Zajac <blair@gps.caltech.edu>.
10092 Have configure check for asm/byteorder.h for
10093 sparc-unknown-linux-gnu. Problem noted by Eric Doutreleau
10096 Remove the check for libintl.h from configure. It was only
10097 being used for regex.c, which really didn't need it. Patch
10098 from Blair Zajac <blair@gps.caltech.edu>.
10100 Convert all code to K&R C by trying to compile Amanda using
10101 /usr/bin/cc on a SunOS 4.1.1 machine. Have configure check if
10102 the compiler can handle the volatile keyword and if it can't,
10103 #define it to empty in the config.h file. Patch from Blair
10104 Zajac <blair@gps.caltech.edu>.
10106 Move the contents of versuff.h into version.h and remove
10107 versuff.h. Add a new function called version() which returns
10108 the version string. Use version() in some of the programs.
10109 Patch from Blair Zajac <blair@gps.caltech.edu>.
10111 m88k-motorola-sysv4 systems define L_FAIL, which is used by
10112 logfile.h. Undefine it in logfile.h. Patch from Blair Zajac
10113 <blair@gps.caltech.edu>.
10115 Include amindex-1.0 from Alan McIvor. It includes these
10116 improvements over 0.3:
10117 Amrecover now provides the ability to restore files
10118 from the tapes, via the "extract" command.
10120 Support for gnutar based index generation (but not file
10123 Numerous bug fixes.
10125 Have amgetidx try to open a socket to the shell/tcp port on the
10126 remote machine and cache if it succeeds. If it connection
10127 attempt succeeds, then attempt to get the index files over from
10128 the client. Patch from Blair Zajac <blair@gps.caltech.edu>.
10130 Update patch-system to include the amidxtape service at
10131 10083/tcp. Patch from Blair Zajac <blair@gps.caltech.edu>.
10133 Configure said that the server configuration was OK and then
10134 next said it wasn't. Remove these checks. Patch from Blair
10135 Zajac <blair@gps.caltech.edu>.
10137 Fixed building Amanda for multiple architectures in
10138 subdirectories of Amanda. Problem noted by Thomas Hepper
10139 <Thomas.Hepper@icem.de>.
10143 Fix a problem with `amadmin <conf> balance' dumping core. If
10144 some disks are overdue, they are stored in the sequence array
10145 with a negative index. This has the potential to cause memory
10146 corruption, and it makes the reported balance figures not add up
10147 to the same as the total. Since overdue disks are really going
10148 to be candidated for today's backups, they are thrown in the
10149 bin for those. Patch from Ken Laprade <klaprade@harris.com>.
10151 Add Samba client support using smbclient to Amanda. Samba must
10152 be patched with the file patches/samba-1.9.16p2.1.patch - this
10153 is a patch for 1.9.16p2 of Samba, and modifies the way the
10154 'dir' command works, and adds totals to both the dir command
10155 and the tar command, via stderr. These are used by amanda to
10156 estimate and count backup sizes. This should be installed on
10157 an amanda 'client' host, that will act as the 'samba server'
10158 host. This will most likely be the same machine as the Amanda
10159 master server. Patches from Michael Zucchi
10160 <zucchi@cis.unisa.edu.au>.
10162 Amrmtape converted from Bash to Bourne shell. Patch from Blair
10163 Zajac <blair@gps.caltech.edu>.
10165 Fix the indexing code to use "arglist.h" instead of <stdarg.h>
10166 Patch from Blair Zajac <blair@gps.caltech.edu>.
10168 Have amdump call amgetidx and amtrmidx. Put amgetidx and
10169 amtrmidx into the libexec directory instead of the bin
10170 directory, since Amanda users will not use these by hand.
10171 Patch from Blair Zajac <blair@gps.caltech.edu>.
10173 Modified diskfile.c to match hostname in the backup header
10174 against the fully qualified domain name in disklist file,
10175 because amflush fails in a multidomain backup environment, as
10176 backup headers have only the hostname. Patch from Karl
10177 Lehenbauer <karl@neosoft.com>.
10179 Have autoconf figure out if some functions are not declared and
10180 if they are not, then declare them. Patch from Blair Zajac
10181 <blair@gps.caltech.edu>.
10183 Add security fixes to amandad.c. It now checks the forward and
10184 reverse DNS names for consistency. Added a configure option
10185 --amandahosts to use Michael's code to use .amandahosts instead
10186 of .rhosts. Patch from Michael Douglass <mikedoug@texas.net>.
10188 Add amverify, a simple shell script to check Amanda tapes -
10189 gnutar driven backups only. Patch from Thomas Hepper
10190 <Thomas.Hepper@icem.de>.
10192 Add the version option to amadmin (eg amadmin <conf> version).
10193 Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
10195 Add the current option to amtape (eg amtape <conf> current).
10196 This let's you the label of the current tape only without using
10197 dd. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
10199 Gnutar support for amindex added. Patch from Thomas Hepper
10200 <Thomas.Hepper@icem.de>.
10202 Calcsize supports exclude-list (gtar). The source was
10203 extracted from gnutar itself to be 100% compatible. Patch from
10204 Thomas Hepper <Thomas.Hepper@icem.de>.
10206 Calcsize checks the file type and ignores special files and
10207 pipes. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
10209 Calcsizes calculation for gnu tar archives had a bug (gtar file
10210 blocks always are a multiple of 2k). Patch from Thomas Hepper
10211 <Thomas.Hepper@icem.de>.
10213 `amandates.c': amdandad suffered by missing AMANDATES_FILE.
10214 Now it creates this file before missing it. Patch from Thomas
10215 Hepper <Thomas.Hepper@icem.de>.
10217 `createindex-gnutar.c' added. Patch from Thomas Hepper
10218 <Thomas.Hepper@icem.de>.
10220 alloca(), strdup.c and getcwd added for those system who don't
10221 have them. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
10223 A dirty hack for BSD based systems without sigaction(), see
10224 amanda.h. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
10226 Add two scripts, hp-changer and no-changer. hp-changer is a
10227 tape changer script for a HP DAT changer. Every 10th tape a
10228 taper clean runs. no-changer is a changer-like script for
10229 single tape streamer. It makes Amanda see a tape changer unit
10230 with an infinite count of tapes (and requires an operator to
10231 change the tapes :-)). Every 10 tapes the operator is
10232 recommended to insert a cleaning tape. Patch from Thomas
10233 Hepper <Thomas.Hepper@icem.de>.
10235 The version suffix adding is done with a seperate function
10236 versionsuffix() also available as standalone program. Patch
10237 from Thomas Hepper <Thomas.Hepper@icem.de>.
10239 Several files got debug support. Patch from Thomas Hepper
10240 <Thomas.Hepper@icem.de>.
10242 Added an idle type file-too-large to driver.c to avoid dumping
10243 files to the holding disk(s) which exceed the maximum file size
10244 (2 GB on the most 32-bit machines). Patch from Thomas Hepper
10245 <Thomas.Hepper@icem.de>.
10247 Some minor bug fixes, mostly regarding missing or wrong casts
10248 confusing c compilers (shmat()/shmdt(), select()). Patch from
10249 Thomas Hepper <Thomas.Hepper@icem.de>.
10251 Genversion gives some more information. Patch from Thomas
10252 Hepper <Thomas.Hepper@icem.de>.
10254 getfsent.c and statfs.c have been cleaned up. The have to be
10255 checked on non-Irix/Solaris/NextStep/HPUX/AIX/Linux-systems.
10256 Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
10258 Simple support if readline.a is missing. NEVER TESTED! Patch
10259 from Thomas Hepper <Thomas.Hepper@icem.de>.
10261 Linux requires libdb.a and ndbm.h to handle database files. Not
10262 really what I expected. Patch from Thomas Hepper
10263 <Thomas.Hepper@icem.de>.
10265 Here's a simple patch which fixes a problem that causes amflush
10266 to erroneously complain "ignoring cruft file" about good dump
10267 files on the holding disk, and fail to flush them to tape.
10268 This happens if your holding disk directory has a long name,
10269 and the dump file also has a long name (i.e. if you use
10270 filesystem mount points in disklist). The problem occurs if
10271 the holding directory + filename exceeds 80 bytes. The patch
10272 still leaves a length limitation, but at least it matches the
10273 size limit imposed by driver (and thus dumper & taper) of 128
10274 bytes. Patch from Marion Hakanson <hakanson@cse.ogi.edu>.
10276 Use regex.h and regex.c from
10277 ftp://prep.ai.mit.edu/sh-utils-1.15.tar.gz instead of the regex
10278 checking code in the system. This code includes re_comp and
10279 re_exec calls, so it will work on any system. Patch by Blair
10280 Zajac <blair@gps.caltech.edu>.
10282 Amadmin find reports the wrong tape file numbers after when a
10283 dump is amflush'ed to tape. Patch by Ralf Fassel
10284 <ralf@atg.venture.de>.
10286 Fix a bug where dumps of disks on the Amanda server are counted
10287 against the available network bandwidth. Patch from Marion
10288 Hakanson <hakanson@cse.ogi.edu>.
10290 Tell gnutar to not exit with a nonzero value if a read failed.
10291 This prevents backups from aborting if a file disappeared
10292 before gnutar could save it. Patch from Hal Snyder
10295 Fix dumper which can cause the entire amdump run to hang after
10296 dumper issues a "TRY-AGAIN" message to driver while dumping
10297 directly to tape. Patch from Marion Hakanson's
10298 <hakanson@cse.ogi.edu>.
10300 Added Marion Hakanson's <hakanson@cse.ogi.edu> patches to fix
10301 problems when amanda dumps directly to tape (i.e. when holding
10302 space is full, or you're backing up a huge filesystem, etc.).
10303 The bug occurs in the way taper determines it has succeeded
10304 when doing a PORT-WRITE operation (i.e. dumping directly to
10305 tape). It used to assume that an EOF meant no more data --
10306 true if it's reading from a file, but when reading from a port
10307 (i.e. directly from a dump process), an EOF could signal
10308 abnormal exit as well as a normal one. So, I extended the
10309 protocol between driver and taper when dumping directly to tape
10310 (see dump_to_tape() in driver.c) so the taper will wait for the
10311 driver to pass PORT-WRITE-SUCCESS or PORT-WRITE-FAILURE to the
10312 taper (since driver gets OK/not-OK from the dumper) before the
10313 taper records success or failure. Note that this change
10314 affects only the PORT-WRITE case in taper. FYI, the bug
10315 resulted in the curinfo database for a failed port-dump to have
10316 the tape-label & file-number fields updated with the location
10317 of the failed dump, even though the timestamp & dump statistics
10318 still have the values of the last successful dump (the latter
10319 fields are updated by dumper itself).
10321 Patches from George Scott <George.Scott@cc.monash.edu.au> to
10322 fix the following problems in planner.c.
10323 1) Initialise total_size, total_lev0 and balanced_size. They
10324 are updated in analyze_estimates() but never initialised. Zero
10325 them before the first call.
10326 2) Remove oversize dumps. If there is a dump whose estimated
10327 size is larger than the tape the planner would tend to throw
10328 away all the other dumps and then probably generate an
10329 unworkable plan anyway. (The standard 2.2.6 planner probably
10330 tossed these dumps fairly quickly for other reasons, but my
10331 next fix made this one almost mandatory!) The fix is to drop
10332 these enormous dumps right at the begining. This shouldn't be
10333 triggered for anyone with a sane configuration.
10334 3) Promote hills. There are two ways to create a balanced
10335 cycle. The first is to fill in any holes and the second is to
10336 remove any hills. The original planner is good at doing the
10337 first but doesn't even attempt the second. A quick look at
10338 "amadmin balance" would show big hills quite clearly. This fix
10339 effectively does an "amadmin balance" and promotes a dump from
10340 one of the "hills". This type of promotion is quite
10342 - don't bother if we already plan to do any level 0 dumps
10343 - don't promote a dump if it was going to be the only level 0
10344 to be done on that run (ie, ignore hills that are only one
10346 - only promote one level 0 by this method
10347 - don't exceed tape_length
10348 The key to it is the first restriction. Large sites (with
10349 large numbers of disks and a large balanced_size) will have at
10350 least one level 0 scheduled for each day in the dump cycle and
10351 will already have a balanced cycle. This code will not
10352 activate for them. Small sites will probably not have a level
10353 0 scheduled and will benefit. The second restriction will stop
10354 Amanda from constantly promoting dumps when the schedule is as
10355 balanced as it will go. The third restriction will stop Amanda
10356 over reacting. Promoting one dump by this method would take
10357 total_lev0 larger that balanced_size. If it wouldn't then the
10358 first stage promotion didn't work like it should.
10359 4) Initialise got_estimate for all cases. This fix was from
10360 der Mouse <mouse@collatz.mcrcim.mcgill.edu>. "got_estimate"
10361 wasn't being initialised for skipped disks. Later in the code
10362 it was being used in all cases. The fix is to move its
10363 initialisation up a few lines.
10364 5) Explicitly ignore off-line disks. If a disk is off-line
10365 when the planner is run it gets -1 for all dump sizes. These
10366 were ignored at a later stage. This fix explicitly ignores
10368 6) Ignore down machines. If a machine is down when the planner
10369 is run it guesses from historical data what the size of
10370 tonights dump is likely to be and schedules a dump anyway. The
10371 dumper then usually discovers that the machine is still down
10372 and ends up with a half full tape. Unfortunately the planner
10373 had to delay another dump because it thought that the tape was
10374 full. The fix here is for the planner to discard unavailable
10375 machines totally rather than just ignore the fact that they are
10377 7) Keep at least one total. Amanda moves level 0 dumps back to
10378 incrementals to try and fit everything onto the tape.
10379 Unfortunately if all your incrementals are too big (or your
10380 tape too small) it can move all of your level 0 dumps. This
10381 ends up being a kind of deadlock since, unless a level 0 gets
10382 done, the incrementals will not reduce in size and until the
10383 incrementals reduce in size there will not be enough room to
10384 fit in a level 0. (This is not quite accurate since a level 4
10385 dump can get bumped to a level 5 which reduces its size.
10386 However, this deadlock has happened to me and for many days in
10387 a row.) The fix is to pick on the highest priority level 0 and
10388 not let it be moved. This change will not affect users with
10389 reasonably sized tapes since Amanda would not have moved all
10390 their disks to incrementals.
10391 8) Make usage of total_lev0 consistent. "total_lev0" is a
10392 double and doesn't include tape_mark's. Make it so.
10394 Add a fflush(outf) to amcheck.c. Patch from Mike Russell
10395 <Michael_Russell@Brown.EDU>.
10397 Fix problems with amhpfixdevs. Patch from Michael Schmitz
10398 <mschmitz@iname.com>.
10400 Have DEC OSF1 use installbsd instead of install. Patch from
10401 Rainer Landes <rlandes@fphws01.physik.uni-karlsruhe.de>.
10403 Have amcontrol take the first command line argument as the
10404 configuration to use. If there are no command line arguments,
10405 then use daily. Patch from Thomas Schmeidl
10406 <schmeidl@nwp.kwu.siemens.de>.
10408 Removed --atime-preserve from sendbackup-gnutar.c so that
10409 incremental backups of filesystems will work. Patch from
10410 Alexandre Oliva <oliva@dcc.unicamp.br>.
10412 Change all #if __STDC__ to #ifdef __STDC__ for those systems
10413 that define __STDC__ to 0, such as Solaris using cc -Xt, cc
10414 -Xa. Patch from Blair Zajac <blair@gps.caltech.edu>.
10416 Increase the socket buffer size, and set a low watter mark at
10417 32k. This cut the number of syscalls done to process one 32k
10418 block from dozens down to 4 (select, read, lseek, write).
10419 Patch from Brad Huntting <huntting@glarp.com>.
10421 Include amindex-0.3 from Alan McIvor <alan@salan.auck.irl.cri.nz>.
10423 Add the "srvcompress" option to compress dumps on the tape host
10424 instead of on the client machines. This may be useful when a
10425 fast tape host is backing up slow clients. The patches add a
10426 dump-type option, analogous to "compress-fast" or
10427 "compress-best" - the way to use it is to create a new dumptype
10428 in your amanda.conf that includes "srvcompress" and use the new
10429 dumptype for those filesystems you wish to have compressed on
10430 the tape server. For example, in amanda.conf:
10431 define dumptype srvcomp-user {
10432 comment "Partitions on slow machines, compressed on tapehost"
10433 options srvcompress
10436 Patches from Eric Volpe <epv@panix.com>.
10438 Increase the planner timeout for one estimate from 30 seconds
10439 to 120 seconds. Patch from Michael Schmitz
10440 <mschmitz@iname.com>.
10442 The select(2) prototype on HPUX specifies 'int' as argument
10443 type of the filedescriptor arguments. All other systems I know
10444 of use 'fd_set'. This has been fixed by having configure check
10445 the argument type to select and adding casts to the select(2)
10446 calls. Patch from Michael Schmitz <mschmitz@iname.com>.
10448 Improve the diagnostic output and increase the robustness of
10449 the system by adding better error checking on communication
10450 between taper & driver, and among the two taper processes.
10451 Patches from Marion Hakanson <hakanson@cse.ogi.edu>.
10453 Convert all flock() calls to use POSIX-style locks via the
10454 fcntl(2) call. This operation was prompted by the fact that
10455 the flock() emulation in the Amanda-provided common-src/flock.c
10456 was broken for read-only file descriptors, and the fcntl(2)
10457 locks are widely available. This patch makes it possible to
10458 have a read-only lock on the /etc/amandates file on systems
10459 which want to use it. I've built and tested the patched code
10460 on Amanda servers running on Digital Unix v3.2B (on Alpha
10461 hardware) and on SPARC Solaris-2.5.1. It's also been compiled
10462 here on SPARC's running SunOS-4.1.3u1b, HP-UX 9.0[345], and
10463 NeXTstep-3.3 (NeXT hardware). Note that the patches also
10464 remove all trace of the NEED_FLOCK define, and I have removed
10465 the file common-src/flock.c from our source tree here. Patch
10466 from Marion Hakanson <hakanson@cse.ogi.edu>.
10468 For disk/filesystem names which are wider than 14 characters,
10469 have reporter print out the rightmost characters of the disk
10470 name, which is usually more meaningful in a daily backup
10471 summary. Patch from Marion Hakanson <hakanson@cse.ogi.edu>.
10473 Lets amflush work in a wider variety of cases than was
10474 previously true (it used to work if the disklist contains only
10475 the first token of each hostname). sendbackup-dump.c and
10476 sendbackup-gnutar.c now do not trim the domain name from the
10477 host name that is sent back to the server. amflush now looks
10478 for an exact match, in the database. If it can't find one it
10479 strips the last token off the dump header hostname and keeps
10480 trying until it finds a match in the disklist or runs out of
10481 tokens. This also has the advantage that if gethostname()
10482 returns FQDNs and you specify the same FQDNs in the disklist,
10483 then amflush will always work. It will also work as long as
10484 the disklist and gethostname() on the clients return enough
10485 information to be unambiguous. Patch from James Mathiesen
10486 <james@deshaw.com>.
10488 Increase the READ_TIMEOUT in dumper.c to 30 minutes. This
10489 needs to be longer than the longest amount of time dump will
10490 not produce output. People have observed dumps taking more
10491 than 10 minutes to finish mapping some of the passes
10492 sometimes. Patch from James Mathiesen <james@deshaw.com>.
10494 Added Adrian T. Filipi-Martin's <atf3r@cs.virginia.edu>
10495 amrmtape script, which allows you to invalidate the contents of
10496 an existing backup tape within the Amanda current tape
10497 database. This is meant as a recovery mecanism for when a good
10498 backup is damaged either by faulty hardware or user error,
10499 i.e. the tape is eaten by the tape drive, or the tape has been
10500 overwritten. Blair Zajac wrote a quick little manual page for
10503 amrmtape was using the return value from amadmin and amadmin
10504 was exiting with a non-zero value, causing amrmtape to quit.
10505 Added a return 0 statement to amadmin.c. Patch from Blair
10506 Zajac <blair@gps.caltech.edu>.
10508 Went through all of the files and changed void main()'s to int
10509 main()'s. Patch from Blair Zajac <blair@gps.caltech.edu>.
10511 Removed the 50 tape file limit in amcleanup and amdump.
10513 createindex-dump and sendbackup-dump did not always take into
10514 account the version suffix. This is now handled. Patch from
10515 Philippe Charnier <charnier@lirmm.fr>
10517 Compile and install amrecover and amrestore as client programs,
10518 not a server program. The motovation for this is that
10519 amrecover is truly a program for all of the users on the
10520 system, while the remaining amanda programs could be used by
10521 only the system administrator. Patch from Alexandre Oliva
10522 <oliva@dcc.unicamp.br>.
10524 The program amtrmidx fails to close some of the pipes it uses,
10525 and this can lead to failure on systems with large numbers of
10526 disks with incomplete database sets, and file descriptor
10527 ulimits set. Patch from Alan McIvor <alan@auck.irl.cri.nz>.
10531 Expanded the width of the DISK column from the reporter
10532 output. I like to use mount points like /export/home?? instead
10533 of device names to back up. Since the width of the disk name
10534 field from reporter's output is pretty small, I couldn't easily
10535 figure out the statistics for a particular partition. Patch
10536 from Blair Zajac <blair@gps.caltech.edu>.
10538 Included Eric Doutreleau <ed@cti.ecp.fr> patch's for amadmin to
10539 handle multiple tapes better. The patch that he posted on used
10540 a hardwired value of 6 for runtapes, which I changed.
10542 Included Marion Hakanson's <hakanson@cse.ogi.edu> patches to
10543 amadmin.c and amadmin.8 to let amadmin use the same disk
10544 regular expression matching as amrestore. So now "^/$" will
10545 match only the root partition, not all of the disks.
10547 Added a patch from George.Scott@cc.monash.edu.au which makes
10548 new disks and forces dump with a higher priority.
10550 Changed tools/munge to delete blank lines and the commented
10551 lines that the C preprocessor generates (i.e. # 123). We also
10552 remove the space after the = sign that can be generated by cpp
10555 Installed amindex-0.2 from Alan McIvor <alan@auck.irl.cri.nz>
10556 with the following patches:
10558 Fix problem so that rsh'ing on a hpux host works.
10559 Patch from Neal Becker <neal@ctd.comsat.com>. This
10560 patch includes a new #define for RSH_COMMAND, which is
10561 set to rsh in config-common.h and defined as remsh in
10564 Fix bugs in createindex-dump.c when comparing errno to
10565 EINTR. The code was using = instead of ==. Patch from
10566 Neal Becker <neal@ctd.comsat.com>. I'm guessing this
10567 might fix some of the runaway createindex-dump
10568 processes that I have seen on my system.
10570 On my system, we use MAE which likes to generate path
10571 names with spaces in them. I patched
10572 createindex-dump.c so that filenames with spaces have
10573 the whole filename listed. Patch from Blair Zajac
10574 <blair@gps.caltech.edu>.
10576 Patch amtrmidx.c so that backups using the mount points
10577 for disks instead of the device name have the /'s
10578 replaced with _'s. Patch from Blair Zajac
10579 <blair@gps.caltech.edu>.
10583 Changed the signals being sent to xfsdump for Irix so that it
10584 will be killed without dumping a core.
10586 Fixed a typo in the definition of XFSDUMP in config.h-irix.
10588 Removed the extra option.s-* and copied options.h to
10591 Moved the amrestore manual page into the man directory so it
10592 would get installed.
10596 amindex-0.1 written by Alan McIvor <alan@kauri.auck.irl.cri.nz>
10597 installed. amindex generates an index of all of the files that
10598 were dumped. It is nice to see what files were dumped before
10599 you restore a whole bunch of tapes looking for a file. I
10600 patched some of this code. Here are some of the changes:
10602 Switched the Imakefile to Makefile and Makefile.in to
10603 be more consistent with the system used by the rest of
10606 Moved the configuration #defines out of the specific
10607 files (such as amrecover.c) into options.h, so that
10608 people installing this version of amanda would be able
10609 to see the required changes more easily and not have to
10610 edit multiple files.
10612 Made some changes to the codes to remove #include's
10613 where amanda.h would include them and also check if the
10614 system had the particular include file.
10616 Added code to set_commands.c and amgetidx.c to change
10617 /'s in disk names to _'s.
10619 Added code to amrecover.c to properly compile on
10622 With the -Xc compiler option on Solaris and with
10623 amindex, the sigaction structure was not being
10624 declared. Added -D__EXTENSIONS__ to config.h-sunos5 so
10625 that sigaction would be declared.
10627 I changed a bunch of fprintf to perrors.
10629 Include Sean Kelly's <kelly@fsl.noaa.gov> patch for tools/munge
10632 Used Peter Lackner's <plo@came.sbg.ac.at> patches for DU 4.0.
10634 Installed Ken Laprade's <klaprade@harris.com> patches for
10635 amanda to handle both EFS and XFs file systems on the same
10636 client. The only change from his patch is to #ifdef XFSDUMP
10637 the kill(-dumppid, SIGTERM) so the SIGTERM signal will be used
10638 on other systems, while SIGQUIT will be used on Irix systems.
10640 Installed Marion Hakanson's <hakanson@cse.ogi.edu> patches for
10641 the main config file to include subsidiary config files.
10643 On Solaris, sometimes the hdr->handle variable in amandad.c
10644 would be null, causing core dumps when it was used in a sprintf
10645 statement. The code now checks if hdr->handle is null and
10646 prints a "" if it is null. This was only done in amandad.c.
10648 Fix a problem where new disks would be added but not backed up
10649 concurrently. Changes to diskfile.c. I forgot who put this
10650 patch up on the mailing list.
10652 I made some changes to options.h to allow the user to more
10653 easily install the programs under a different user. This meant
10654 defining two new #defines, MK_AMANDA_USER and
10655 MK_QUOTED_AMANDA_USER which are used in the appropriate
10658 Used Marion Hakanson's <hakanson@cse.ogi.edu> patch for taper.c
10659 for multiple tapes.
10661 Included Joachim Loehr's <Joachim.Loeh@stadt-mh.de>
10662 script to automatically figure out which kind of HP-UX file
10663 system is being dumped. Look in tools for the script and a