1 2004-06-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3 * Amanda 2.4.4p3 released.
4 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.4p3).
5 * News: Changes in release 2.4.4p3.
7 2004-05-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
10 * server-src/planner.c: Log L_DISK for autoflush disk.
12 2004-04-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
14 * common-src/amanda.h: #include "amanda-int.h" only if !CONFIGURE_TEST.
16 2004-04-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
18 * config/acinclude.m4i (AX_CREATE_STDINT_H) : New macro.
19 * configure.in: Use AX_CREATE_STDINT_H(common-src/amanda-int.h).
20 * common-src/amanda.h: include "common-src/amanda-int.h".
21 * changer-src/scsi-cam.c: Change u_int32_t for uint32_t.
22 * client-src/amandad-krb4.c: Change u_int32_t for uint32_t.
23 * common-src/krb4-security.c: Change u_int32_t for uint32_t.
24 * common-src/krb4-security.h: Change u_int32_t for uint32_t.
25 * common-src/protocol.h: Change u_int32_t for uint32_t.
26 * common-src/security.c: Change u_int32_t for uint32_t.
28 2004-04-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
30 * configure.in: Fix for automake 1.8.4.
31 * config/acinclude.m4i: Fix for automake 1.8.4.
33 2004-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
35 * configure.in: Result of autoupdate.
37 2004-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
39 * config/config.guess: Update from automake 1.8.
40 * config/config.sub: Update from automake 1.8.
41 * config/depcomp: Update from automake 1.8.
42 * config/install-sh: Update from automake 1.8.
43 * config/missing: Update from automake 1.8.
44 * config/mkinstalldirs: Update from automake 1.8.
45 * config/ltmain.sh: Update from libtool-1.5.6.
46 * config/libtool.m4i: Update from libtool-1.5.6.
48 2004-04-26 Marc Mengel <mengel@fnal.gov>
50 * tape-src/output-rait.c: Verify reads correctly.
52 2004-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
54 * server-src/driver.c (continue_dumps): Fix deadlock if holding disk
55 fill up when in degraded mode.
57 2004-04-23 Eric Siegerman <eric_97@pobox.com>
59 Bug fix: amflush would run, and consume a tape, even if there
60 were no Amanda directories waiting to be flushed:
61 * common-src/sl.c (is_empty_sl): New function to test
62 whether a list is empty.
63 * common-src/sl.h (is_empty_sl): Prototype.
64 * server-src/amflush.sh (main): Use is_empty_sl(),
65 rather than ==NULL, to test emptiness of datestamp_list.
67 2004-04-23 Jean-Louis Martineau <martineau@iro.umontreal.ca>
69 * server-src/planner.c (setup_estimate): Typo.
71 2004-04-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
72 Fix by Paul Bijnens <paul.bijnens@xplanation.com>
74 * server-src/planner.c (setup_estimate): Only ask for level 0 estimate
77 2004-04-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
78 Documentation from Paul Bijnens <paul.bijnens@xplanation.com>
80 * man/amoverview.8.in: Document results.
82 2004-04-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
83 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
85 * server-src/amoverview.pl.in: Print last two characters.
87 2004-04-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
89 * changer-src/chg-disk.sh.in: Fix for sh compatibility.
91 2004-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
92 Fix by John Koyle <jkoyle@rfpdepot.com>
94 * common-src/protocol.c: Fix EAGAIN on Linux.
96 2004-03-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
98 * server-src/amcheck.c: Do labelstr check in correct order.
100 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
101 Reported by Allen Liu <allen@bellglobal.com>
103 * server-src/amverifyrun.sh.in: Replace '-e' test by '-f'.
105 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
107 * server-src/amcheck.c: Verify the tape is listed in the tapelist file.
108 * server-src/taper.c: Ditto
109 * NEWS: * amanda will not use a tape if it's label is not in the
110 tapelist file (eg. after an amrmtape).
112 2004-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
113 Patch by Philippe Charnier <charnier@xp11.frmug.org>
115 * server-src/amtrmidx.c: Add '\n'.
117 2004-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
119 * recover-src/set_commands.c (cd_glob): Fix memory leak.
121 2004-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
123 * recover-src/set_commands.c (cd_dir, set_directory): Fix memory leak.
124 * recover-src/uscan.l: Fix double amfree.
126 2004-01-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
128 * Makefile.am (EXTRA_DIST): Add contrib/mkamandisk.
130 2004-01-29 Christoph Pospiech <pospiech@de.ibm.com>
132 * configure.in (AC_CONFIG_FILES): Add changer-src/chg-iomega.pl.
133 * changer-src/Makefile.am (libexec_SCRIPTS) Add chg-iomega.
134 * changer-src/chg-iomega.pl.in: New changer script.
135 * docs/TAPE.CHANGERS: Document chg-iomega.
136 * contrib/mkamandisk: Script to format iomega disk.
137 * NEWS: New chg-iomega changer script.
139 2004-01-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
141 * restore-src/amidxtaped.c (scan_init): Remove the log file if it exit.
143 2004-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
145 * configure.in: Set GNUTAR_LISTED_INCREMENTAL_DIRX.
146 * example/amanda.conf.in: Update record documentation.
147 * man/amanda.8.in: Update record documentation.
149 2004-01-13 Greg Troxel <gdt@t...>
151 * common-src/krb4-security.c (errstr;): Make krb4 work on 64-bit
152 platforms. Essentially, change 'unsigned long' to u_int32_t for
153 on-the-wire representation of checksums, declaring that the wire
154 protocol is defined by existing use of unsigned long on 32-bit
157 Modify the data/control handshake similarly, defining a
158 'net_timeval' that uses int32_t rather than long. Cleanup a latent
159 bug in handshake code that didn't cause trouble before when
160 everything was the same type.
162 This change preserves interoperability with the previous code
163 on 32 bit machines. (It is likely that 64/64 interoperability
164 was ok, but unlikely that it was important to anyone, given
165 the low population of amanda-krb users.)
167 2004-01-14 Stefan G. Weichinger <monitor@oops.co.at>
169 * docs/INSTALL: Add config for xinetd.
171 2004-01-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
173 * Amanda 2.4.4p2 released.
174 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.4p2).
177 2004-01-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
179 * server-src/planner.c (handle_result): Detect bad estimate (-1).
180 * server-src/planner.c (analyze_estimate): Don't schedule level
181 if the estimate is bad.
183 2003-12-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
185 * client-src/Makefile.am (EXTRA_DIST): Add amandad-krb4.c,
186 sendbackup-krb4.c and sendbackup-krb4.h.
187 * common-src/Makefile.am (EXTRA_DIST): Add krb4-security.c and
189 * server-src/Makefile.am (EXTRA_DIST): Add dumper-krb4.c.
190 * NEWS: Kerberos 4 support integrated and functional again.
192 2003-12-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
193 patch by Greg Troxel <gdt@ir.bbn.com>
194 and Beverly Schwartz <bschwart@bbn.com>
196 Original *krb4* files are taken form the amanda-krb repository.
198 Add kerberos 4 support.
199 * client-src/amandad-krb4.c: New file.
200 * client-src/amandad.c: Fix close of req_pipe[0]/rep_pipe[1].
201 * client-src/sendbackup-krb4.c: New file.
202 * client-src/sendbackup-krb4.h: New file.
203 * client-src/sendbackup.c: Use options->krb4_auth.
204 * common-src/amanda.h: Fix for initgroups.
205 * common-src/krb4-security.c: New file.
206 * common-src/krb4-security.h: New file.
207 * common-src/token.h: Use HAVE_SHQUOTE_DECL.
208 * configure.in: Enhance finding krb libs.
209 * server-src/diskfile.c: Fix.
210 * server-src/dumper-krb4.c: New file.
211 * server-src/getconf.c: Define HOSTNAME_INSTANCE.
213 2003-12-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
215 * docs/HOWTO-FILE-DRIVER: New file.
216 * docs/TAPE.CHANGERS: Explain chg-disk.
217 * docs/Makefile.am (pkgdata_DATA): add HOWTO-FILE-DRIVER.
219 2003-12-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
221 * docs/SYSTEM.NOTES: Add a note about sendsize coredump on AIX.
223 2003-11-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
224 Patch by Jean-Christian SIMONETTI <simonetti@echo.fr>
226 * changer-src/chg-disk.sh.in: New changer script.
227 * changer-src/Makefile.am (libexec_SCRIPTS): Add chg-disk.
228 * configure.in (AC_CONFIG_FILES): Add changer-src/chg-disk.sh.
229 * NEWS: new chag-disk changer script to use with the file: driver.
231 2003-11-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
233 * tape-src/tapetype.c: extern int optind.
234 * tape-src/tapeio.c: extern int optind.
236 2003-11-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
237 Patch by C.Scheeder <christoph.scheeder@scheeder.de
239 * changer-src/sense.c (SenseType): Add "DAT AutoChanger" and "C1537A".
241 2003-11-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
243 * server-src/driver.c: Print the tape size.
244 * server-src/amstatus.pl.in: print % of tape use.
246 2003-11-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
248 * server-src/conffile.c (copy_dumptype): Copy in/exclude only if seen.
250 2003-11-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
252 * server-src/reporter.c (output_tapeinfo): Fix printing of new tape.
254 2003-11-25 Jean-Louis Martineau <martineau@iro.umontreal.ca>
256 * server-src/amcheck.c (taperscan_slot): Deal with label not in
258 * server-src/amtape.c (taperscan_slot): Ditto.
259 * server-src/taper.c (taperscan_slot): Ditto.
261 2003-11-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
263 * server-src/driver.c (handle_taper_result): Empty tapeq in TAPE_ERROR
266 2003-11-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
268 * server-src/driver.c (handle_taper_result): Always call
269 continue_dumps() in TRYAGAIN case.
271 2003-11-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
273 * changer-src/chg-chio.pl.in (getTapeStatus): Set $drives[$num] to 0
276 2003-11-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
278 * docs/Makefile.am (pkgdata_DATA): Add HOWTO-AFS.
280 2003-11-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
281 Patch by Mitch Collinsworth <mitch@ccmr.cornell.edu>
283 * client-src/selfcheck.c: Skip accessibility check for AFS entries.
284 * docs/HOWTO-AFS: New file.
286 2003-11-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
288 * server-src/amadmin.c (tape): Display the next new tapes.
289 * server-src/reporter.c (output_tapeinfo): Ditto.
291 2003-10-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
293 * docs/Makefile.am (pkgdata_DATA): Add chg-scsi.notes.
295 2003-10-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
297 * server-src/amcheck.c (taperscan_slot): Set found=3 if new tape.
298 * server-src/amcheck.c (taper_scan): Handle found==3.
299 * server-src/amtape.c (taperscan_slot): Set found=3 if new tape.
300 * server-src/amtape.c (taper_scan): Handle found==3.
301 * server-src/taper.c (taperscan_slot): Set found=3 if new tape.
302 * server-src/taper.c (taper_scan): Handle found==3.
304 2003-10-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
306 * server-src/amcheck.c: Use stralloc(optarg).
307 * tape-src/ammt.c: Use stralloc(optarg).
308 * tape-src/tapetype.c: Use stralloc(optarg).
310 2003-10-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
311 Patch by Jay Fenlason <fenlason@redhat.com>
313 * server-src/dumper.c: Don't set SIGCHLD to SIG_IGN.
315 2003-10-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
316 Patch by Andrew Rucker Jones <arjones@simultan.dyndns.org>
318 * client-src/sendbackup-gnutar.c (AM_SIZE_RE): Fix regex for samba3.
320 2003-10-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
322 * server-src/amadmin.c (find): Call find_dump to allow dynamic disklist.
323 * server-src/amindexd.c: Call find_dump to allow dynamic disklist.
324 * server-src/amtrmidx.c: Call find_dump to allow dynamic disklist.
325 * server-src/diskfile.c (add_disk): Set device and todo.
326 * server-src/find.c: Build disklist dynamicaly from log files.
327 * server-src/find.h (find_dump): New prototype.
328 * NEWS: 'amadmin find' list disk removed from the disklist.
329 * NEWS: amrecover can recover a disk removed from the disklist file.
331 2003-10-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
333 * server-src/amlogroll.c: set_pname("amlogroll").
335 2003-10-24 Todd M. Kover <kovert@omniscient.com>
337 * add amqde for "quick and dirty estimates" under gnutar (program
338 that will traverse the filesystem rather than invoke gnutar).
339 controlled via configure option --with-qde. This really wants to
340 be configured in the server.
342 2003-10-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
344 * server-src/amverify.sh.in: Fix usage message.
345 * common-src/fileheader.c (print_header): fprintf to outf.
346 * server-src/tapefile.c (lookup_last_reusable_tape): Check for
348 * server-src/amadmin.c (disklist_one): Don't print ':' on device line.
350 2003-10-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
351 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
353 * client-src/amandates.c (finish_amandates): Call error() if the
355 * common-src/amflock.c (create_lock): Return -1 if the close of f fail.
356 * common-src/amflock.c (read_lock): Don't set f to NULL if the close
358 * server-src/tapefile.c (write_tapelist): Return 1 if the close of
361 2003-10-14 John R. Jackson (jrj@purdue.edu)
363 * docs/SYSTEM.NOTES: Add FreeBSD 5.1 note about setting the UDP packet
364 size, compliments of Nicolas Ecarnot <nicolas.ecarnot@accim.com>.
366 2003-10-14 John R. Jackson (jrj@purdue.edu)
368 * client-src/sendsize.c: Handle case where PID's get re-used.
370 2003-10-14 John R. Jackson (jrj@purdue.edu)
372 * configure.in: Need to check for sys/gscdds.h on AIX to enable
375 2003-10-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
377 * common-src/genversion.c (prundefvar): New macro to print an
379 * common-src/genversion.c: Print undefined variable.
380 * server-src/amcheck.c: Improve message for no LPRCMD defined.
382 2003-07-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
384 * restore-src/amidxtaped.c: Don't clear re_label before checking
387 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
388 Patch by Scott Mcdermott <smcdermott@questra.com>
390 * changer-src/chg-zd-mtx.sh.in (initial_poll_delay): New config
391 variable to add a pause after a tape loading.
392 * News: New initial_poll_delay config in chg-zd-mtx.
394 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
395 Fix by John E. Hein <jhein@timing.com>
397 * changer-src/chg-manual.sh.in: Quote @EGREP@.
398 * changer-src/chg-null.sh.in: Quote @EGREP@.
400 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
402 * amplot/amplot.sh.in: Remove files before runnig amplot.awk.
403 * amplot/amplot.awk: Parse 'flush line', fix tape_wait line.
404 * server-src/driver.c (read_flush): Write a 'flush size' to the
407 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
409 * changer-src/chg-chio.pl.in: Fix next/prev command.
411 2003-07-06 Thomas Hepper <th@ant.han.de>
412 * changer-src/chg-scsi.c: Added debug Information to see which sg
414 * changer-src/scsi-linux.c: Added debug Information to see which sg
416 Removed check if an data packet is larger than 4096 byte.
418 2003-07-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
419 patch by Paul Bijnens <paul.bijnens@xplanation.com>
421 * client-src/client_util.c (add_include): Count include with 2 /,
424 2003-06-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
426 * Amanda 2.4.4p1 released.
427 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.4p1).
430 2003-06-25 Jean-Louis Martineau <martineau@iro.umontreal.ca>
432 * server-src/amstatus.pl.in: Fix print spacing for idle dumpers.
434 2003-06-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
435 patch by Paul Bijnens <paul.bijnens@xplanation.com>
437 * tape-src/tapetype.c: Avoid a numerical overflow for large tape
440 2003-06-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
442 * server-src/amstatus.pl.in: Fix to failed tape.
444 2003-06-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
446 * server-src/planner.c (delay_dumps): Delay not delay forced full
449 2003-06-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
451 * changer-src/chg-zd-mtx.sh.in: Log the changer file used.
453 2003-06-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
455 * server-src/holding.c: Skip lost+found directories on holding disks.
457 2003-06-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
459 * server-src/amverify.sh.in: Do not advance to next tape.
461 2003-06-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
462 patch by Eric Siegerman <eric_97@pobox.com>
464 * server-src/planner.c: Make promote_hills() honour maxpromotedays.
466 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
468 * changer-src/scsi-bsd.c: Use pDev[DeviceFD].fd instead of DeviceFD.
469 * changer-src/scsi-hpux_new.c:Use pDev[DeviceFD].fd instead of DeviceFD.
470 * changer-src/scsi-linux.c: Use pDev[ip].fd instead of DeviceFD.
472 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
474 * server-src/amflush.c: Implement new -b and -s options.
475 * man/amflush.8.in: Document it.
477 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
479 * server-src/driver.c (dump_to_tape): Don't go in degraded mode if
482 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
484 * tape-src/output-rait.c: Don't call waitpid if we didn't fork.
486 2003-06-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
488 * server-src/amverify.sh.in: Use @MAXTAPEBLOCKSIZE@ instead of 32.
490 2003-06-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
491 Bug reported by Sven Rudolph <rudsve@drewag.de>
493 * server-src/holding.c (mkholdingdir): New function to create a holding
495 * server-src/holding.h (mkholdingdir): Prototype.
496 * server-src/driver.c: Use mkholdingdir;
497 * server-src/dumper.c: Call mkholdingdir before opening a file for
500 2003-06-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
501 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
503 * server-src/amstatus.pl.in: Fix for missing amdump.1 or amflush.1.
505 2003-06-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
506 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
508 * server-src/amstatus.pl.in: If nothing is active, it now gives the
509 status of the last run (amdump or amflush).
510 * man/amstatus.8.in: Document it.
512 2003-05-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
514 * tape-src/output-file.c (check_online): Write error if opendir failed.
516 2003-05-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
517 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
519 * server-src/amoverview.pl.in: Use 'amadmin <conf> disklist' instead
520 of parsing the disklist file.
522 2003-05-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
524 * server-src/tapefile.c (read_tapelist,parse_tapeline): Fix for
527 2003-05-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
529 * example/amanda.conf.in: Add more amrecover_changer doc.
530 * man/amanda.8.in: Add more amrecover_changer doc.
531 * man/amrecover.8.in: Add more amrecover_changer doc.
533 2003-05-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
535 * server-src/tapefile.c (read_tapelist): Ignore blank line.
536 * server-src/tapefile.c (parse_tapeline): Newer status parameter, set
537 it to '1' when reading blank line.
539 2003-04-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
541 * configure.in (AC_CHECK_HEADERS): Remove linux/ftape-header-segment.h,
542 linux/ftape-vendors.h and linux/ftape.h.
544 2003-04-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
545 Patch by Darin Dugan <dddugan@iastate.edu>
547 * server-src/amcheck.c: Change subject in email if no error.
549 2003-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
551 * common-src/error.c (output_error_message): Always prepend program
553 * server-src/dumper.c (process_dumpeof): 'missing size line' and
554 'missing end line' should be failed, not strange.
556 2003-04-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
558 * server-src/amstatus.pl.in: Fix for estimate disk.
560 2003-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
562 * server-src/taper.c: Read holding file correctly if blocksize != 32k.
564 2003-04-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
565 New file by Robert C Dege <RDege@northropgrumman.com>
567 * configure.in: Find mcutil binary.
568 * configure.in (AC_CONFIG_FILES): Add changer-src/chg-mcutil.sh and
569 example/chg-mcutil.conf.
570 * changer-src/Makefile (libexec_SCRIPTS): Add chg-mcutil.
571 * changer-src/chg-mcutil.sh.in: New file.
572 * example/Makefile (EXTRA_DIST): Add chg-mcutil.conf
573 * example/chg-mcutil.conf.in: New file.
575 2003-04-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
577 * man/amanda.8.in (blocksize): Document the --with-maxtapeblocksize
580 2003-04-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
582 * server-src/amverifyrun.sh.in: Run the amverify command.
584 2003-04-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
585 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
587 * server-src/reporter.c: Get the filenumber correct.
589 2003-04-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
590 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
592 * server-src/reporter.c: Print a postscript label for each tape used.
593 * NEWS: Print a postscript label for each tape used.
595 2003-03-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
597 * configure.in (*-sco3.2v4*): It is not like *-sco3.2v5*,
598 define DEV_PREFIX and RDEV_PREFIX.
600 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
602 * configure.in: Typo.
604 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
605 Patch by Gert Doering <gert@greenie.muc.de>
607 * client-src/getfsent.c (get_fstab_nextentry): Compile on *-sco3.2v4*.
609 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
611 * configure.in: Compile on *-sco3.2v4*
613 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
615 * configure.in: Use '=' instead of '=='.
617 2003-03-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
619 * recover-src/set_commands.c (set_tape): Recognize null:, rait:,
620 file: and tape: as driver, not host name.
622 2003-03-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
624 * server-src/amrmtape.sh.in: Print better output.
626 2003-03-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
628 * changer-src/Makefile.am (libexec_SCRIPTS): Missing \.
630 2003-03-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
632 * NEWS: amrecover_changer works with chg-multi.
634 2003-03-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
636 * client-src/client_util.c (add_include): If include contain 2 '/' then
637 use at asis, don't try to match it.
639 2003-03-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
641 * file tape-src/output-rait.c (rait_open): Call tapefd_set_master_fd();
642 * file tape-src/tapeio.c (struct tape_info): Add master_fd field.
643 * file tape-src/tapeio.c (tape_info_init): Set master_fd to -1;
644 * file tape-src/tapeio.c (tapefd_getinfo_host, tapefd_getinfo_disk,
645 tapefd_getinfo_level): Return info of master_fd.
646 * file tape-src/tapeio.c (tapefd_set_master_fd): New function to set
648 * file tape-src/tapeio.h (tapefd_set_master_fd): Prototype.
649 * NEWS: rait: works with file:
651 2003-03-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
653 * tape-src/output-file.c (file_tapefd_can_fork): New function that
654 return 1 if the file: can be run under a forked process.
655 * tape-src/output-file.h (file_tapefd_can_fork): Prototype.
656 * tape-src/output-null.c (null_tapefd_can_fork): New function that
657 return 1 if the null: can be run under a forked process.
658 * tape-src/output-null.h (null_tapefd_can_fork): Prototype.
659 * tape-src/output-rait.c (rait_close, rait_tapefd_ioctl): Fork only if
660 * tapefd_can_fork() return 1.
661 * tape-src/output-rait.c (rait_tapefd_can_fork): New function that
662 return 1 if the rait: can be run under a forked process.
663 * tape-src/output-rait.h (rait_tapefd_can_fork): Prototype.
664 * tape-src/output-tape.c (tape_tapefd_can_fork): New function that
665 return 1 if the tape: can be run under a forked process.
666 * tape-src/output-tape.h (tape_tapefd_can_fork): Prototype.
667 * tape-src/tapeio.c (struct virtualtape): Add xxx_tapefd_can_fork and
669 * tape-src/tapeio.c (tapefd_can_fork): New function to can the driver
670 xxx_tapefd_can_fork function.
671 * tape-src/tapeio.h (tapefd_can_fork): Prototype.
673 2003-03-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
675 * tape-src/output-file.c (file_tapefd_write): Call file_release(fd)
676 before opening the file for writing.
678 2003-03-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
680 * changer-src/chg-zd-mtx.sh.in: Default for driveslot is 0.
681 * NEWS: default driveslot for chg-zd-mtx is now 0.
683 2003-03-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
685 * amplot/amplot.sh.in: New -b option for b/w postscript.
686 * amplot/amplot.awk: Add 'color' to command if bw is set.
687 * amplot/amplot.g: Change line 6 to line 8.
688 * man/amplot.8: Document -b option.
689 * NEWS: Document amplot -b option.
691 2003-03-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
693 * recover-src/extract_list.c: Fix the name of the
694 amidxtaped.<timestamp>.debug file.
696 2003-02-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
697 Patch by Eric Doutreleau <Eric.Doutreleau@int-evry.fr>
699 * restore-src/amidxtaped.c: Use the device sent by the changer.
701 2003-02-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
703 * restore-src/amidxtaped.c: Remove lock 'unlink(conf_logfile)' on
706 2003-02-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
707 Patch by Martin Forssen <maf@appgate.com>
709 * server-src/changer.c (changer_label): Do not amfree(rest).
711 2003-02-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
713 * Amanda 2.4.4 released.
714 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.4).
716 2003-02-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
718 * client-src/client_util.c: Print error except ENOENT for
719 exclude/include files.
721 2003-02-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
723 * tape-src/tapetype.c: Use %ld to print some variable.
725 2003-02-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
727 * server-src/conffile.c (init_defaults): conf_printer.s must be set
730 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
731 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
733 * tape-src/tapetype.c: Document -c option.
735 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
737 * changer-src/chg-zd-mtx.sh.in:Print "are you sure your drive slot is n"
739 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
741 * server-src/tapefile.c (read_tapelist): return 1 if can't open the
744 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
746 * man/amtapetype.8.in: Add doc from a mail by John R. Jackson.
748 2003-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
750 * server-src/amcheck.c: New -a option.
751 * man/amcheck.8.in: Document it.
754 2003-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
756 * server-src/amindexd.c (build_disk_table): Compare the level.
758 2003-02-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
759 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
761 * tape-src/tapetype.c: New -c argument to do only the compression test.
762 Better detection of compression.
763 * man/amtapetype.8.in: Document -c argument.
765 2003-02-09 John R. Jackson (jrj@purdue.edu)
767 * tape-src/tapetype.c: Allocate the I/O buffers on page boundaries.
768 This helps performance on some OS's.
770 2003-02-08 John R. Jackson (jrj@purdue.edu)
772 * restore-src/amrestore.c: Clean up strtol() argument processing.
774 2003-02-08 John R. Jackson (jrj@purdue.edu)
776 * docs/INSTALL: Clean up supporting package versions and URL's.
778 2003-02-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
780 * docs/Makefile.am (pkgdata_DATA): Add HOWTO-CYGWIN.html.
782 2003-02-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
783 Patch by Christophe Kalt <kalt@taranis.org>
785 * client-src/sendbackup-dump.c: New AM_SIZE_RE for NetApp.
786 * client-src/sendsize.c: New re_size for NetApp.
788 2003-02-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
789 Fix by Colin Henein <cmh@orange-carb.org>
791 * common-src/amanda.h: Fix for the where S_ISDIR is not defined.
793 2003-02-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
794 Patch by Doug Kingston <dpk@randomnotes.org>
796 * configure.in (NEED_SETUID_CLIENT): Set to false on *-pc-cygwin.
797 * configure.in (WANT_SETUID_CLIENT): Set if NEED_SETUID_CLIENT != false.
798 * client-src/Makefile.am: Don't chmod u+s if WANT_SETUID_CLIENT.
800 2003-02-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
801 Patch by Andrew Rucker Jones <arjones@simultan.dyndns.org>
803 * man/amtapetype.8.in: Fix example.
805 2003-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
807 * Amanda 2.4.4b1 released.
808 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.4b1).
810 2003-01-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
812 * common-src/amanda.h: #define S_ISDIR if not already defined.
814 2003-01-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
815 File from Doug Kingston <dpk@randomnotes.org>
817 * docs/HOWTO-CYGWIN.html: New file.
819 2003-01-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
821 * configure.in: Define WANT_RUNTIME_PSEUDO_RELOC on cygwin
822 * client-src/Makefile.am: AM_LDFLAGS="-Wl,-enable-runtime-pseudo-reloc"
823 if WANT_RUNTIME_PSEUDO_RELOC.
824 * recover-src/Makefile.am: Ditto.
826 2003-01-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
828 * tape-src/output-rait.h: #define stralloc strdup
829 * tape-src/output-rait.c: Revert patch of 2003-01-26, we don't have
830 vstralloc in standalone.
832 2003-01-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
833 Reported by Doug Kingston <dpk@randomnotes.org>
835 * recover-src/Makefile.am: Set AM_YFLAGS instead of YFLAGS.
837 2003-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
839 * tape-src/output-rait.c (tapeio_next_devname): Use vstralloc.
841 2003-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
843 * changer-src/chg-scsi-chio.c: Change strdup to stralloc.
844 * changer-src/chg-scsi.c: Ditto.
845 * changer-src/scsi-aix.c: Ditto.
846 * changer-src/scsi-bsd.c: Ditto.
847 * changer-src/scsi-cam.c: Ditto.
848 * changer-src/scsi-changer-driver.c: Ditto.
849 * changer-src/scsi-hpux_new.c: Ditto.
850 * changer-src/scsi-irix.c: Ditto.
851 * changer-src/scsi-linux.c: Ditto.
852 * changer-src/scsi-solaris.c: Ditto.
853 * changer-src/sense.c: Ditto.
854 * tape-src/output-rait.c: Ditto.
856 2003-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
858 * server-src/taper.c (read_file): Don't count header in filesize.
860 2003-01-25 John R. Jackson (jrj@purdue.edu)
862 * tape-src/tapeio.c: Fix tape_access() and tape_stat() problem caused
863 by indeterminate compiler order of evaluation.
865 2003-01-25 John R. Jackson (jrj@purdue.edu)
867 * restore-src/amidxtaped.c: Log errno when tape_stat fails.
868 * restore-src/amrestore.c: Ditto.
869 * tape-src/output-rait.c: Ditto.
871 2003-01-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
873 * server-src/amstatus.pl.in: print an usage by tape.
875 2003-01-23 Jean-Louis Martineau <martineau@iro.umontreal.ca>
877 * recover-src/extract_list.c (add_extract_item, delete_extract_item):
878 Check also for level when comparing label.
880 2003-01-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
882 * server-src/dumper.c (update_dataptr): Loop if rc == 0.
884 2003-01-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
886 Do not build chg-scsi-chio, it is buggy.
887 * changer-src/Makefile.am (libexec_PROGRAMS): remove $(CHIO_SCSI).
888 * changer-src/Makefile.am (EXTRA_PROGRAMS): add $(CHIO_SCSI).
890 2003-01-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
892 * configure.in: disable amrestore if --without-server is set.
894 2003-01-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
896 * client-src/amandad.c: Use the dbfd macro instead of the external
898 * client-src/selfcheck.c: Ditto.
899 * client-src/sendbackup.c: Ditto.
900 * client-src/sendsize.c: Ditto.
901 * client-src/sendbackup-gnutar.c: Use save_errno instead of errno.
902 * common-src/debug.c: Move most declaration inside #ifdef DEBUG_CODE.
903 * server-src/amindexd.c: dup db_fd() to stderr.
904 * server-src/conffile.c: Don't call error() if the config file does not
905 exist, just write to stderr and set got_parserror.
907 2003-01-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
909 * recover-src/amrecover.c: Fix memory leak.
911 2003-01-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
913 Add new maxpromoteday option in a dumptype.
915 * example/amanda.conf.in: Give an example
916 * man/amanda.8.in: Document it.
917 * server-src/amadmin.c: Print it in the disklist subcommand.
918 * server-src/conffile.c: read it.
919 * server-src/conffile.h (dumptype_t): Add maxpromoteday and
921 * server-src/diskfile.c (read_diskline): Copy maxpromoteday from
922 dumptype_t to disk_t.
923 * server-src/diskfile.h (disk_t): Add maxpromoteday.
924 * server-src/planner.c (promote_highest_priority_incr): Don't promote
925 a disk if est(dp)->next_level0 > dp->maxpromoteday.
927 2003-01-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
928 Reported by Josh More <jmore@remote-print.com>
930 * client-src/client_util.c (add_exclude, add_include): Remove the
933 2003-01-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
934 Fix by Josh More <jmore@remote-print.com>
936 * tape-src/output-tape.c: Add a ; after f = MT_UNLOAD
938 2003-01-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
940 * server-src/amcheck.c (handle_response): Print 'request timed out' or
942 * server-src/dumper.c (sendbackup_response): Print 'request timeout' or
945 2003-01-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
947 * common-src/protocol.h (proto_t): Add prevstate field.
948 * common-src/protocol.c: Keep prevstate up to date.
949 * server-src/planner.c (handle_result): Use prevstate to write
950 Request or Estimate timeout.
952 2003-01-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
953 Undo patch of 2002-11-27. That doesn't work well for the planner.
955 * common-src/amanda.h (days_diff): Revert to old macro.
956 * server-src/amadmin.c: Undo Fix for newer days_diff.
957 * server-src/planner.c: Undo Fix for newer days_diff.
959 2003-01-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
961 * client-src/client_util.c: Fix memory leak reported by valgrind.
962 * client-src/selfcheck.c: Ditto.
963 * client-src/sendbackup.c: Ditto.
964 * client-src/sendsize.c: Ditto.
965 * common-src/amfeatures.c: Ditto.
966 * common-src/debug.c: Ditto.
967 * common-src/file.c: Ditto.
968 * common-src/security.c: Ditto.
969 * recover-src/amrecover.c: Ditto.
970 * recover-src/extract_list.c: Ditto.
971 * recover-src/set_commands.c: Ditto.
972 * recover-src/uparse.y: Ditto.
973 * recover-src/uscan.l: Ditto.
974 * server-src/amcheck.c: Ditto.
975 * server-src/amindexd.c: Ditto.
976 * server-src/amlabel.c: Ditto.
977 * server-src/amlogroll.c: Ditto.
978 * server-src/amtape.c: Ditto.
979 * server-src/amtrmidx.c: Ditto.
980 * server-src/amtrmlog.c: Ditto.
981 * server-src/changer.c: Ditto.
982 * server-src/conffile.c: Ditto.
983 * server-src/diskfile.c: Ditto.
984 * server-src/driver.c: Ditto.
985 * server-src/driverio.c: Ditto.
986 * server-src/dumper.c: Ditto.
987 * server-src/find.c: Ditto.
988 * server-src/getconf.c: Ditto.
989 * server-src/holding.c: Ditto.
990 * server-src/logfile.c: Ditto.
991 * server-src/planner.c: Ditto.
992 * server-src/reporter.c: Ditto.
993 * server-src/tapefile.c: Ditto.
994 * server-src/taper.c: Ditto.
996 2002-12-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
998 * amplot/amplot.awk: Many fix.
1000 2002-12-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1002 * server-src/planner.c (promote_highest_priority_incremental): Promote
1003 a disk > balanced size if no full today. Do not promote a disk it's
1004 the only disk due that day and no full today.
1006 2002-12-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1007 Patch by Brad Roberts <braddr@puremagic.com>
1009 * server-src/amflush.c: Remove 2 redundant amfree call after remove_sl.
1010 * server-src/holding.c (get_flush): Ditto.
1012 2002-12-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1014 * server-src/conffile.c: New taperalgo configuration keyword.
1015 * server-src/conffile.h: Ditto.
1016 * man/amanda.8.in: Document it.
1017 * server-src/driver.c (startaflush): New function to start a flush to
1020 2002-12-23 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1022 * server-src/amstatus.pl.in: Parse features from PORT-WRITE line.
1024 2002-12-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1026 Don't use the G flag for samba backup restore by tar.
1027 * recover-src/extract_list.c (enum dumptypes): Add IS_SAMBA_TAR.
1028 * recover-src/extract_list.c (extract_files_child): Set dumptype to
1029 IS_SAMBA_TAR if it's a SAMBA backup. Don't pass the G flag to tar
1030 if it's IS_SAMBA_TAR.
1032 2002-12-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1034 * amplot/amplot.awk: Parse line with features, parse ENDFLUSH line.
1036 2002-12-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1038 * server-src/planner.c (promote_highest_priority_incremental): Newer
1039 algorithm that reduce the number of level 0 by hosts on a single day.
1041 2002-12-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1043 * amplot/amplot.awk: Parse newer log lines.
1045 2002-12-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1047 * client-src/selfcheck.c: Typo.
1049 2002-12-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1051 * server-src/reporter.c (output_stats): Typo.
1053 2002-12-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1055 * server-src/reporter.c: Print an usage by tape.
1057 2002-12-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1059 * tape-src/tapeio.c (do_read): Init count to 0.
1061 2002-12-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1063 * tape-src/Makefile.am: Install tapetype program as amtapetype.
1064 * docs/TAPETYPES: Change for amtapetype.
1065 * man/amtapetype.8.in: New man page
1066 * man/Makefile.am: Install it.
1067 * configure.in (AC_CONFIG_FILES): Add man/amtapetype.8.
1069 2002-12-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1071 * tape-src/ammt.c (optind): Add prototype.
1072 * tape-src/amdd.c (optind): Add prototype.
1074 2002-12-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1076 * common-src/arglist.h (printf_arglist_function,
1077 printf_arglist_function1, printf_arglist_function2): Define if
1078 STDC_HEADERS is not defined.
1080 2002-12-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
1082 * server-src/amstatus.pl.in: New --date option to display datestamp.
1083 * server-src/amstatus.pl.in: Increase some field size.
1084 * server-src/amstatus.pl.in: The host field adjust it's length to the
1087 2002-11-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1089 * common-src/amanda.h (days_diff): Don't add a half day.
1090 * server-src/amadmin.c: Fix for newer days_diff.
1091 * server-src/planner.c: Fix for newer days_diff.
1093 2002-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1095 * tape-src/tapetype.c: Cast time_t to long for printing.
1097 2002-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1099 * server-src/amflush.c: Write a "amflush: start at ???" line.
1100 * server-src/amstatus.pl.in: parse the "amflush: start at ???" line.
1102 2002-11-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1104 * server-src/planner.c (delay_dumps): Use ap_snprintf.
1106 2002-11-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1108 * common-src/debug.c: Most of the code must in #ifdef DEBUG_CODE.
1109 * client-src/client_util.c: Use AMANDA_TMPDIR instead of AMANDA_DBGDIR.
1111 2002-11-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1113 * docs/TAPE.CHANGERS: Sync with 2.5.0
1114 * changer-src/chg-juke.sh.in: New changer from 2.5.0
1115 * changer-src/chg-rait.sh.in: New changer from 2.5.0
1116 * changer-src/chg-null.sh.in: New changer from 2.5.0
1117 * changer-src/Makefile.am: Install them.
1118 * configure.in (AC_CONFIG_FILES): Add chg-juke.sh.in, chg-rait.sh.in and
1121 2002-11-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1123 * server-src/amadmin.c: Cleanup.
1125 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1127 * man/amadmin.8.in: Document new --days option of balance subcommand.
1129 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1131 * server-src/amadmin.c (days_diff): Make next_level0 more acurate.
1132 * server-src/amadmin.c (balance): Improve output.
1134 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1136 * recover-src/extract_list.c: Add Retry and Skip command to amrecover.
1138 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1140 * tape-src/output-tape.c (tape_tapefd_fsf): Must not be static.
1142 2002-11-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1144 * server-src/reporter.c: Fix for LPRCMD not defined.
1146 2002-11-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1147 Patch by Orion Poplawski <orion@colorado-research.com>
1149 * server-src/planner.c (delay_dumps): Add the estimate size to all call
1152 2002-11-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1154 * server-src/reporter.c: Increase width of some field.
1156 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1158 * changer-src/scsi-solaris.c (SCSI_ExecuteCommand): Init ret to 0.
1160 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1162 * recover-src/extract_list.c (delete_file): j is int.
1163 * changer-src/scsi-defs.h (B, B1): Check if already defined.
1164 * server-src/taper.c: Some cast to int.
1165 * tape-src/amdd.c (read_func, write_func): Complete prototype.
1166 * tape-src/tapeio.h (tapefd_read, tapefd_write): return ssize_t,
1167 third argument is size_t.
1168 * tape-src/tapeio.c: Ditto.
1169 * tape-src/output-file.h (file_tapefd_read, file_tapefd_write): return
1170 ssize_t, third argument is size_t.
1171 * tape-src/output-file.c: Ditto.
1172 * tape-src/output-null.h (null_tapefd_read, null_tapefd_write): return
1173 ssize_t, third argument is size_t.
1174 * tape-src/output-null.c: Ditto.
1175 * tape-src/output-rait.h (rait_read, rait__write): return ssize_t,
1176 third argument is size_t.
1177 * tape-src/output-rait.c: Ditto.
1178 * tape-src/output-tape.h (tape_tapefd_read, tape_tapefd_write): return
1179 ssize_t, third argument is size_t.
1180 * tape-src/output-tape.c: Ditto.
1182 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1184 * configure.in: socklen_t default to int.
1185 * common-src/dgram.c (dgram_recv): addrlen is socklen_t.
1186 * common-src/stream.c (stream_server): len is socklen_t.
1187 * recover-src/extract_list.c (add_file): j is int.
1189 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1191 * client-src/client_util.c (test_name_len) Remove variable.
1192 * common-src/match.c (len_prefix): Change type to int.
1193 * server-src/taper.c: Use %p to print pointer.
1194 * tape-src/amdd.c (read_func, write_func):Change return type to ssize_t.
1195 * tape-src/amdd.c (debug): Renamed to debug_amdd.
1196 * tape-src/ammt.c (debug): Renamed to debug_ammt.
1198 2002-11-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1200 * restore-src/amidxtaped.c: Fix restore from file.
1202 2002-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1204 * restore-src/amidxtaped.c: Fix newline in string literal.
1206 2002-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1208 * server-src/conffile.c (maxdumpsize): New option.
1209 * server-src/conffile.h: Ditto.
1210 * server-src/planner.c: Use maxdumpsize if set.
1211 * example/amanda.conf.in: Document it.
1212 * man/amanda.8.in: Document it.
1214 2002-11-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1216 * common-src/amfeatures.h (fe_amidxtaped_fsf, fe_amidxtaped_label,
1217 fe_amidxtaped_device, fe_amidxtaped_host, fe_amidxtaped_disk,
1218 fe_amidxtaped_datestamp, fe_amidxtaped_header, fe_amidxtaped_nargs,
1219 fe_amidxtaped_config): New features.
1220 * common-src/amfeatures.c (am_init_feature_set): Set new features.
1221 * recover-src/extract_list.c: Send new protocol data to amidxtaped.
1222 * restore-src/Makefile.am: amidxtaped.c need libamserver.
1223 * restore-src/amidxtaped.c: Read new protocol data from amrecover.
1224 * restore-src/amidxtaped.c: Use new configuration options.
1225 * server-src/conffile.c (conf_amrecover_do_fsf,
1226 conf_amrecover_check_label, conf_amrecover_changer): New config.
1227 * server-src/conffile.h: New config options.
1228 * example/amanda.conf.in: Document them.
1229 * man/amanda.8.in: Document them.
1231 2002-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1233 * autogen: touch config/config.h.in
1234 * configure.in: Patch from autoupdate-2.53 and LIBOBJS.
1235 * common-src/Makefile.am: Build versuff.o before version.o
1236 * recover-src/Makefile.am: Remove work around for automake-1.2
1238 2002-11-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1240 * configure.in: Remove --disable-libtool.
1241 * */Makefile.am: Remove WANT_LIBTOOL.
1243 2002-11-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1245 * changer-src/chg-scsi.c (config_name, config_dir): Remove declaration.
1246 * server-src/amadmin.c: Ditto.
1247 * server-src/amcheck.c: Ditto.
1248 * server-src/amcleanupdisk.c: Ditto.
1249 * server-src/amflush.c: Ditto.
1250 * server-src/amindexd.c: Ditto.
1251 * server-src/amlabel.c: Ditto.
1252 * server-src/amlogroll.c: Ditto.
1253 * server-src/amtape.c: Ditto.
1254 * server-src/amtrmidx.c: Ditto.
1255 * server-src/amtrmlog.c: Ditto.
1256 * server-src/diskfile.c: Ditto.
1257 * server-src/driver.c: Ditto.
1258 * server-src/dumper.c: Ditto.
1259 * server-src/getconf.c: Ditto.
1260 * server-src/planner.c: Ditto.
1261 * server-src/reporter.c: Ditto.
1262 * server-src/taper.c: Ditto.
1263 * server-src/conffile.c: (config_name, config_dir): Add declaration.
1265 2002-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1267 * man/amrestore.8: Amrestore doesn't use a changer.
1269 2002-11-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1271 * configure.in (SHELL): Don't set it, libtool do it.
1273 2002-10-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1275 * config/ltmain.sh, config/libtool.m4i: Update from libtool 1.4.3.
1277 2002-10-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1279 * restore-src/amrestore.c: New '-l <label>' flag, Do a rewind and
1280 check the label before restoring.
1281 * man/amrestore.8: Document -l flag.
1283 2002-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1285 * configure.in (AM_HAVE_MT_FLAGS, AM_HAVE_MT_FILENO, AM_HAVE_MT_BLKNO,
1286 AM_HAVE_MT_DSREG,AM_HAVE_MT_ERREG): Rename to HAVE_MT_FLAGS,
1287 HAVE_MT_FILENO, HAVE_MT_BLKNO, HAVE_MT_DSREG and HAVE_MT_ERREG.
1288 * tape-src/output-tape.c: Ditto.
1290 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1291 Undo patch of 2002-10-24. They are needed by amrecover.
1293 * client-src/getfsent.h (open_fstab, close_fstab, get_fstab_nextentry,
1294 is_local_fstype): Add Prototype.
1295 * client-src/getfsent.c (open_fstab, close_fstab, get_fstab_nextentry,
1296 is_local_fstype): remove Prototype.
1298 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1299 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
1301 * tape-src/tapetype.c: Detects and warns the user if the tape drive
1302 has hardware compression enabled.
1304 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1306 * restore-src/amrestore.c: New '-f <fileno>' flag, Do a rewind and
1307 'fsf <fileno>' if -f is set.
1308 * man/amrestore.8: Document -f flag.
1310 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1312 * common-src/amfeatures.h (fe_amindexd_fileno_in_OLSD,
1313 fe_amindexd_fileno_in_ORLD): New amfeatures.
1314 * common-src/amfeatures.c (am_init_feature_set): Set
1315 fe_amindexd_fileno_in_OLSD and fe_amindexd_fileno_in_ORLD.
1316 * recover-src/amrecover.h (struct DIR_ITEM): Add fileno.
1317 * recover-src/display_commands.c (add_dir_list_item): Set fileno
1319 * recover-src/display_commands.c (suck_dir_list_from_server): Read
1320 fileno if fe_amindexd_fileno_in_OLSD is set.
1321 * recover-src/extract_list.c (struct EXTRACT_LIST): Add fileno.
1322 * recover-src/extract_list.c (add_file): Read fileno if
1323 fe_amindexd_fileno_in_ORLD is set.
1324 * recover-src/extract_list.c (delete_file): Read fileno if
1325 fe_amindexd_fileno_in_ORLD is set.
1326 * server-src/amindexd.c (opaque_ls): Write fileno if
1327 fe_amindexd_fileno_in_OLSD or fe_amindexd_fileno_in_ORLD are set.
1329 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1330 Patch by Doug Kingston <dpk@pobox.com>
1332 * configure.in (NEED_PATH_ENV, IGNORE_UID_CHECK, IGNORE_FSTAB,
1333 DONT_SUID_ROOT): Defined if on *-pc-cygwin.
1334 * client-src/Makefile.am: Fix for cygwin.
1335 * client-src/getfsent.c: Don't use fstab if IGNORE_FSTAB.
1336 * client-src/killpgrp.c: Don't suid(0) if DONT_SUID_ROOT.
1337 * client-src/rundump.c: Don't suid(0) if DONT_SUID_ROOT.
1338 * client-src/runtar.c: Don't suid(0) if DONT_SUID_ROOT.
1339 * client-src/selfcheck.c (check_suid): Don't check uid if
1341 * common-src/alloc.c (safe_env): Add PATH to ENV if NEED_PATH_ENV.
1342 * recover-src/amrecover.c: Don't check uid if IGNORE_UID_CHECK.
1344 2002-10-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1346 * client-src/getfsent.h (open_fstab, close_fstab, get_fstab_nextentry,
1347 is_local_fstype): Remove Prototype.
1348 * client-src/getfsent.c (open_fstab, close_fstab, get_fstab_nextentry,
1349 is_local_fstype): Add Prototype.
1351 2002-10-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1353 * server-src/amindexd.c: New FEATURES command that read the features
1354 set from the client and reply the features set of the server.
1355 * recover-src/amrecover.h: include "amfeatures.h"
1356 * recover-src/amrecover.c: Send the FEATURES command to the server
1357 and read it's features set.
1359 2002-10-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1361 * client-src/Makefile.am: Work around for CYGWIN.
1362 * server-src/Makefile.am: Ditto.
1364 2002-10-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1366 * configure.in: Remove empty command from $program_transform_name.
1368 2002-10-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1370 * recover-src/extract_list.c (READ_TIMEOUT): Increased to 240*60.
1372 2002-10-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1374 * Amanda 2.4.3 released.
1375 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.3).
1377 2002-09-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1379 * client-src/getfsent.c (open_fstab): Check if MNTTAB is defined.
1381 2002-09-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1383 * NEWS: Changes in release 2.4.3.
1385 2002-09-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1387 * server-src/amverifyrun.sh.in: New program.
1388 * man/amverifyrun.8.in: Man page for amverifyrun.
1389 * configure.in (AC_OUTPUT): add man/amverifyrun.8 and
1390 server-src/amverifyrun.sh.
1391 * man/Makefile.am (SERVER_MAN_PAGES): Add amverifyrun.8.
1392 * man/amanda.8.in: Add amdd, ammt and amverifyrun in SEE ALSO.
1393 * man/amverify.8.in: Add amverifyrun(8) in SEE ALSO.
1394 * server-src/Makefile.am (sbin_SCRIPTS): Add amverifyrun.
1396 2002-09-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1398 * server-src/amverify.sh.in: Accept runtapes as a third argument.
1399 * man/amverify.8.in: Document it.
1401 2002-09-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1403 * config/missing: Updated from automake-1.5.
1405 2002-09-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1407 * config/config.guess: Updated from ftp://ftp.gnu.org/gnu/config/
1408 * config/config.sub: Updated from ftp://ftp.gnu.org/gnu/config/
1410 2002-09-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1412 * client-src/sendsize.c (getsize_dump): Print the fstype.
1413 * client-src/sendbackup-dump.c (start_backup): Print the fstype.
1415 2002-09-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1416 Patch by Florian Hars <hars@bik-gmbh.de>
1418 * changer-src/chg-zd-mtx.sh.in: Fix default value for cleancycle.
1420 2002-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1422 * recover-src/extract_list.c (extract_files): print tape drive
1423 and host before asking to load tape.
1425 2002-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1427 * server-src/taper.c (read_file): Initialize file,
1428 stat(file.cont_filename) before opening it.
1430 2002-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1432 * server-src/amverify.sh.in: Don't check that the device is
1433 a character device, it could be a file: or rait:
1435 2002-09-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1437 * common-src/amfeatures.c (am_set_default_feature_set):
1438 fe_rep_options_sendbackup_options is a default feature.
1440 2002-09-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1442 * server-src/amstatus.pl.in: Sort a disk in datestamp order.
1444 2002-09-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1445 Text by Jean-Francois Malouin <Jean-Francois.Malouin@bic.mni.mcgill.ca>
1447 * docs/EXCLUDE: Improve documentation.
1449 2002-09-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1451 * server-src/reporter.c: Fix compilation error if LPRCMD is not defined.
1453 2002-08-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1455 * Amanda 2.4.3b4 released.
1456 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.3b4).
1457 * NEWS: Changes in release 2.4.3b4.
1459 2002-08-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1460 Patch by Jason Brooks <jason0@mail.wrs.com>
1462 * docs/chg-scsi.notes: New document.
1463 * changer-src/chg-scsi.c: Adding printout of "emubarcode" values
1465 * changer-src/scsi-changer-driver.c: Added dlt8000 and L500 to
1467 * changer-src/sense.c: Added dlt8000 and L500 to SenseType[].
1469 2002-08-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1471 * tape-src/output-null.c (null_tape_stat, null_tape_access): Use
1472 "/dev/null" instead of filename.
1474 2002-08-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1476 * changer-src/scsi-hpux.c: Add amanda copyright.
1478 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1480 * recover-src/uparse.y: Fix compiler warning.
1482 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1484 * server-src/amtrmidx.c: Continue if a directory doesn't exist.
1486 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1488 * man/amanda.8.in (tapecycle): Improve documentation.
1490 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1492 * server-src/amstatus.pl.in: Works with features.
1494 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1496 * common-src/amfeatures.c (am_feature_to_string): Return the string
1497 "UNKNOWNFEATURE" if no features.
1498 * common-src/amfeatures.c (am_string_to_feature): Return NULL if the
1499 string is "UNKNOWNFEATURE".
1501 2002-08-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1503 * common-src/file.c (debug_agets): line_free was badly set when
1504 the buffer size in increased.
1506 2002-07-19 John R. Jackson (jrj@purdue.edu)
1508 * common-src/amanda.h: Fix bad #define.
1510 2002-07-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1511 Patch by David Munro <D.Munro@surrey.ac.uk>
1513 * common-src/sl.c (new_sl): Alloc (sl_t) instead of (sl_t *).
1515 2002-06-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1517 Jonathan R. Johnson <Jonathan.Johnson@MinnetonkaSoftware.com>
1519 * server-src/reporter.c: Fix psfname filename.
1521 2002-05-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1523 * client-src/sendbackup.c: Don't do compression if it is server side.
1524 * client-src/sendbackup-dump.c: Ditto.
1525 * client-src/sendbackup-gnutar.c: Ditto.
1527 2002-05-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1528 Patch by Manuel Bouyer <bouyer@antioche.lip6.fr>
1530 * server-src/taper.c (detach_buffers): Fix compilation with mmap.
1532 2002-04-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1534 * recover-src/extract_list.c (extract_files): Set dump_device_name
1535 after the call of okay_to_continue.
1537 2002-04-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1539 New features to describe the OPTIONS line of a REP packet.
1540 * common-src/amfeatures.h: Add fetures fe_rep_options_maxdumps,
1541 fe_rep_options_hostname, fe_rep_options_features and
1542 fe_rep_options_sendbackup_options.
1543 * common-src/amfeatures.c (am_init_feature_set): Add
1544 fe_rep_options_features.
1545 * client-src/selfcheck.c: Write REP packet according to server features.
1546 * client-src/sendbackup.c: Ditto.
1547 * client-src/sendsize.c: Ditto.
1549 2002-04-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1551 * common-src/amfeatures.h:
1552 Rename fe_g_options_maxdump to fe_req_options_maxdumps
1553 Rename fe_g_options_hostname to fe_req_options_hostname
1554 Rename fe_g_options_features to fe_req_options_features
1555 * common-src/amfeatures.c: Ditto
1556 * server-src/amcheck.c: Ditto
1557 * server-src/dumper.c: Ditto
1558 * server-src/planner.c: Ditto
1560 2002-04-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1562 * server-src/amcheck.c: Check if it can send features, hostname or
1563 maxdumps on the global options line. Don't send hostname and
1564 maxdumps for a noop service.
1565 * server-src/dumper.c: Ditto.
1566 * server-src/planner.c: Ditto.
1568 2002-04-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1570 * client-src/sendbackup.c: (optionstr): Add srvcomp-best and
1571 srvcomp-fast options.
1573 2002-04-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1575 * server-src/amcheck.c (start_host): Check the todo bit before
1578 2002-04-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1580 * client-src/client_util.c (parse_options, parse_g_options): Check
1581 for duplication options.
1582 * client-src/client_util.h (COMPR_SERVER_FAST, COMPR_SERVER_BEST):
1584 * client-src/selfcheck.c: Check for COMPR_FAST or COMPR_BEST.
1586 2002-04-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1588 * client-src/selfcheck.c (host):Remove variable,use g_options->hostname.
1589 * client-src/sendbackup.c: Ditto.
1590 * client-src/sendsize.c: Ditto.
1592 2002-04-20 Thomas Hepper <th@ant.han.de>
1593 * changer-src/scsi-aix.c: Fixed bug with the setting of the GSC driver
1594 Added detection and setting of device type tape/robot
1595 * changer-src/scsi-bsd.c: Added detection and setting of device
1597 * changer-src/scsi-cam.c: Added detection and setting of device
1599 * changer-src/scsi-hpux_new.c: Added detection and setting of device
1601 * changer-src/scsi-linux.c: Added detection and setting of device
1603 * changer-src/scsi-solaris.c: Added detection and setting of device
1605 * changer-src/scsi-irix.c: Added detection and setting of device
1607 * changer-src/scsi-changer-driver.c: Now there is an device handler
1608 for an generic tape and an generic robot.
1609 The result length from the read element status is now checked
1610 and only fields which are in this area are used.. (Some librarys
1611 retrun only 4 byte, expected are 52)
1612 * changer-src/scsi-defs.h: Fixed the some defines in
1613 ElementStatusPage_T,
1615 2002-04-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1617 * client-src/client_util.c (parse_g_options) New function to parse
1618 the global options string.
1619 * client-src/client_util.h (parse_g_options): Prototype.
1620 * client-src/selfcheck.c: use parse_g_options.
1621 * client-src/sendbackup.c: use parse_g_options.
1622 * client-src/sendsize.c: use parse_g_options.
1624 2002-04-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1626 * server-src/diskfile.c: Improve message for missing features.
1628 2002-04-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1631 * common-src/amfeatures.c (am_set_default_feature_set): New function
1632 to set the default features set.
1633 * common-src/amfeatures.h (am_set_default_feature_set): Prototype.
1634 * common-src/amfeatures.h: Rename amanda_feature_auth_keyword to
1636 * client-src/client_util.c: Check features.
1637 * server-src/amcheck.c: Ditto.
1638 * server-src/diskfile.c: Ditto.
1639 * server-src/driverio.c: Ditto.
1640 * server-src/planner.c: Ditto.
1641 * server-src/diskfile.h (optionstr): Change prototype.
1642 * client-src/sendsize.c: Fix compiler warning.
1644 2002-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1646 * common-src/amfeatures.c: Renamed from features.c
1647 * common-src/amfeatures.h: Renamed from features.h
1648 * common-src/Makefile.am: Rename features to amfeatures.
1649 * client-src/amandad.c: Ditto.
1650 * client-src/client_util.h: Ditto.
1651 * client-src/selfcheck.c: Ditto.
1652 * client-src/sendbackup.c: Ditto.
1653 * client-src/sendsize.c: Ditto.
1654 * server-src/amcheck.c: Ditto.
1655 * server-src/diskfile.h: Ditto.
1656 * server-src/dumper.c: Ditto.
1657 * server-src/planner.c: Ditto.
1658 * server-src/taper.c: Ditto.
1660 2002-04-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1662 * server-src/conffile.c: Default dumporder set to "ttt".
1663 * server-src/driver.c: If dumporder is too short, use t and T.
1664 * man/amanda.8.in: Default dumporder set to "ttt".
1666 2002-04-13 John R. Jackson (jrj@purdue.edu)
1668 * common-src/features.c: Add amanda_feature_auth_keyword feature so
1669 authorization in the OPTIONS string is backward compatible.
1670 * common-src/features.h: Ditto.
1671 * client-src/client_util.c: Ditto.
1672 * client-src/client_util.h: Ditto.
1673 * client-src/selfcheck.c: Ditto.
1674 * client-src/sendbackup.c: Ditto.
1675 * client-src/sendsize.c: Ditto.
1676 * server-src/diskfile.c: Ditto.
1678 2002-04-13 John R. Jackson (jrj@purdue.edu)
1680 * server-src/diskfile.c: Fix memory leak.
1682 2002-04-13 John R. Jackson (jrj@purdue.edu)
1684 * common-src/features.c: New file. Add support for feature sets so
1685 different Amanda versions can work together.
1686 * common-src/features.h: Ditto.
1687 * common-src/Makefile.am: Ditto. Add "features" test program.
1688 * client-src/amandad.c: Add "noop" service to return the feature set.
1689 * client-src/selfcheck.c: Accept and return a feature set in OPTIONS.
1691 * client-src/sendbackup.c: Ditto.
1692 * client-src/sendsize.c: Ditto.
1693 * common-src/error.c: Use strcasecmp.
1694 * common-src/protocol.c: Use dbprintf for PROTO_DEBUG and improve
1695 messages. Improve parsing.
1696 * common-src/security.c: Improve parsing.
1697 * server-src/amcheck.c: Ask for client features via "noop" before
1698 doing the real "selfcheck" service requests. Improve parsing.
1699 * server-src/amflush.c: Minor coding format cleanup.
1700 * server-src/diskfile.c: Initialize the features hosttype field.
1701 * server-src/diskfile.h: Add the features hosttype field.
1702 * server-src/driver.c: Save the features from the schedule. Clean
1703 up some error messages.
1704 * server-src/driverio.c: Add features string to several commands.
1705 * server-src/dumper.c: Deal with features string in commands. Improve
1707 * server-src/planner.c: Ask for client features via "noop" before
1708 doing the real "sendsize" service requests. Improve parsing.
1709 * server-src/server_util.c: Minor coding cleanup.
1710 * server-src/server_util.h: Increase the number of args allowed on
1712 * server-src/taper.c: Deal with features string in commands. Improve
1715 2002-04-11 John R. Jackson (jrj@purdue.edu)
1717 * common-src/stream.c: Clean up an error message.
1719 2002-04-09 John R. Jackson (jrj@purdue.edu)
1721 * server-src/driver.c: Fix send of QUIT to taper when it is down.
1723 2002-04-07 John R. Jackson (jrj@purdue.edu)
1725 * server-src/reporter.c: Move column routines to conffile.c so amcheck
1726 can use them in its tests. Do not abort on several failures, but
1727 generate messages in the FAILURE AND STRANGE DUMP SUMMARY section.
1728 * server-src/conffile.c: Move column routines to here.
1729 * server-src/conffile.h: Ditto.
1730 * server-src/amcheck.c: Add several config file tests.
1731 * server-src/logfile.c: Change "reporter" to "amreport".
1733 2002-04-07 John R. Jackson (jrj@purdue.edu)
1735 * configure.in: Add /usr/local/sbin to LOCPATH.
1737 2002-03-31 John R. Jackson (jrj@purdue.edu)
1739 * server-src/amcheck.c: Send maxdumps and hostname in packet OPTIONS.
1741 2002-03-31 John R. Jackson (jrj@purdue.edu)
1743 * changer-src/scsi-defs.h: Fix compiler warning and bug it was hiding.
1744 * changer-src/scsi-solaris.c: Ditto.
1746 2002-03-31 John R. Jackson (jrj@purdue.edu)
1748 * client-src/amandad.c: Add relative timestamps to a lot of debug
1749 file messages, and add more messages, to better track what is
1750 going on. Various general cleanup.
1751 * client-src/calcsize.c: Ditto.
1752 * client-src/client_util.c: Ditto.
1753 * client-src/selfcheck.c: Ditto.
1754 * client-src/sendbackup-dump.c: Ditto.
1755 * client-src/sendbackup-gnutar.c: Ditto.
1756 * client-src/sendbackup.c: Ditto.
1757 * client-src/sendbackup.h: Ditto.
1758 * client-src/sendsize.c: Ditto.
1759 * common-src/Makefile.am: Ditto.
1760 * common-src/amanda.h: Ditto.
1761 * common-src/clock.c: Ditto.
1762 * common-src/clock.h: Ditto.
1763 * common-src/debug.c: Ditto.
1764 * common-src/dgram.c: Ditto.
1765 * common-src/error.c: Ditto.
1766 * common-src/pipespawn.c: Ditto.
1767 * common-src/security.c: Ditto.
1768 * common-src/stream.c: Ditto.
1769 * common-src/util.c: Ditto.
1770 * man/amanda.8.in: Ditto.
1771 * restore-src/amidxtaped.c: Ditto.
1772 * restore-src/amrestore.c: Ditto.
1773 * server-src/amindexd.c: Ditto.
1774 * server-src/getconf.c: Ditto.
1775 * server-src/planner.c: Ditto.
1777 2002-03-31 John R. Jackson (jrj@purdue.edu)
1779 * client-src/sendsize.c: Pay attention to the spindle number.
1781 2002-03-30 John R. Jackson (jrj@purdue.edu)
1783 * server-src/planner.c: General delay_dumps code cleanup.
1785 2002-03-30 John R. Jackson (jrj@purdue.edu)
1787 * server-src/planner.c: Make sure individual dumps larger than a tape
1788 are not added back into the schedule. Found by Uncle George
1789 <gatgul@voicenet.com>.
1791 2002-03-29 John R. Jackson (jrj@purdue.edu)
1793 * man/amanda.8.in: Move "comment" in tapetype after inclusion of
1794 previous definition. Found by Uncle George <gatgul@voicenet.com>.
1796 2002-03-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1798 * client-src/client_util.c (fixup_relative): New function to prepend
1799 the dirname if relative.
1800 * client-src/client_util.c (build_exclude, build_include): Use
1802 * client-src/client_util.c (parse_options): Do not prepend the dirname.
1803 * client-src/selfcheck.c (check_options): Don't generate ERROR for samba
1806 2002-03-24 John R. Jackson (jrj@purdue.edu)
1808 * common-src/debug.c: Change dbopen() message slightly to match what
1809 amdump generates, making it easier to parse.
1811 2002-03-24 John R. Jackson (jrj@purdue.edu)
1813 * common-src/Makefile.am: Move clock routines to common-src so
1814 everyone may use them.
1815 * server-src/Makefile.am: Ditto.
1817 2002-03-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1819 * client-src/sendbackup-gnutar.c: Fix use of no_record.
1821 2002-03-24 Thomas Hepper ( th@ant.han.de)
1822 * changer-src/chg-scsi-chio.c: Fixed problems introduced by the agets change
1823 * client-src/sendbackup-dump.c: Fixed compile problem on AIX, no_record
1824 is no longeer defined, ist is now options->no_record.
1826 2002-03-24 John R. Jackson (jrj@purdue.edu)
1828 * client-src/amandad.c: Make sure argv[0] is valid before using it.
1829 * restore-src/amidxtaped.c: Ditto.
1830 * server-src/amindexd.c: Ditto.
1832 2002-03-24 John R. Jackson (jrj@purdue.edu)
1834 * client-src/client_util.c: Use the Amanda memory allocation code.
1835 * client-src/sendbackup-gnutar.c: Ditto.
1836 * client-src/sendsize.c: Ditto.
1837 * common-src/match.c: Ditto.
1838 * recover-src/amrecover.c: Ditto.
1839 * recover-src/display_commands.c: Ditto.
1840 * recover-src/extract_list.c: Ditto.
1841 * restore-src/amidxtaped.c: Ditto.
1842 * server-src/amflush.c: Ditto.
1843 * server-src/disk_history.c: Ditto.
1844 * server-src/driver.c: Ditto.
1845 * server-src/dumper.c: Ditto.
1846 * server-src/list_dir.c: Ditto.
1847 * common-src/amanda.h: Always pass the source file and line number
1848 to the memory routines to make it easier to debug.
1849 * common-src/alloc.c: Ditto.
1850 * common-src/file.c: Ditto.
1851 * common-src/dgram.c: Ditto.
1852 * common-src/dgram.h: Ditto.
1854 2002-03-24 Thomas Hepper ( th@ant.han.de)
1855 * changer-src/chg-scsi.c: Fixed problems introduced by the agets change
1856 * changer-src/chg-scsi.c (MapBarCode): Fixed error in eof handling
1857 eof was not correctly detected, now use the feof function.
1858 * changer-src/scsi-aix.c (SCSI_OS_Version()): New function to print
1860 * changer-src/scsi-aix.c: same as above
1861 * changer-src/scsi-cam.c: same as above
1862 * changer-src/scsi-hpux_new.c: same as above
1863 * changer-src/scsi-irix.c: same as above
1864 * changer-src/scsi-linux.c: same as above
1865 * changer-src/scsi-solaris.c: same as above
1866 * changer-src/scsi-changer-driver.c (DLT448ElementStatus()): Fixed
1867 error messages. Fixed some errors with the barcode handling.
1869 2002-03-23 John R. Jackson (jrj@purdue.edu)
1871 * changer-src/chg-scsi-chio.c: Use agets instead of fgets.
1872 * changer-src/chg-scsi.c: Use agets instead of fgets.
1873 * client-src/client_util.c: Use agets instead of fgets.
1874 * recover-src/amrecover.c: Clean up output on EOF.
1875 * recover-src/extract_list.c: Use agets instead of direct stdio.
1876 Clean up output on EOF. Add '?' help.
1877 * recover-src/set_commands.c: Quote the new device in the verify
1878 output to make it stand out.
1879 * server-src/amflush.c: Clean up output on EOF. Clean up output
1880 when multiple holding disk areas selected. Clean up parsing.
1881 Loop until valid user response.
1882 * server-src/find.c: Do not complain if log file is missing for
1883 a new (datestamp == 0) tape.
1884 * server-src/holding.c: Use agets instead of fgets. Clean up
1885 interactive input and output.
1887 2002-03-23 John R. Jackson (jrj@purdue.edu)
1889 * client-src/selfcheck.c: Fix a compiler warning.
1890 * client-src/sendbackup.c: Ditto.
1891 * client-src/sendsize.c: Ditto.
1893 2002-03-23 John R. Jackson (jrj@purdue.edu)
1895 * client-src/getfsent.c (close_fstab()): Call endfsent() instead
1896 of fclose(), if available.
1898 2002-03-23 John R. Jackson (jrj@purdue.edu)
1900 * common-src/dbprintf (debug_printf): Make sure errno is preserved
1901 across dbprint() calls.
1903 2002-03-23 John R. Jackson (jrj@purdue.edu)
1905 * configure.in: Add -R$dir as well as -L$dir on Solaris when processing
1906 --with-libraries to support shared libraries of support products.
1908 2002-03-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1910 * server-src/tapefile.c (write_tapelist): Write to a temp file and
1912 * server-src/amlabel.c: Do not rename the tapelist file.
1913 * server-src/taper.c (label_tape): Do not rename the tapelist file.
1915 2002-03-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1917 * client-src/client_util.c (parse_options): Do not check if the
1918 exclude file exist, it's done later.
1920 2002-03-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1922 * client-src/client_util.c (parse_options): Parse exclude-optional and
1924 * client-src/client_util.h (option_t): New exclude_optional and
1925 include_optional field.
1926 * man/amanda.8.in: Document optional.
1927 * server-src/amadmin.c (disklist_one): Display optional.
1928 * server-src/conffile.c: Parse optional keyword.
1929 * server-src/conffile.h (dumptype_t): New exclude_optional and
1930 include_optional field.
1931 * server-src/diskfile.c (read_diskline): Copy optional bits.
1932 * server-src/diskfile.c (optionstr): Print optional bits.
1933 * server-src/diskfile.h (disk_t): New exclude_optional and
1934 include_optional field.
1935 * server-src/planner.c (getsize): Use new sendsize format if optional
1938 2002-03-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1940 * server-src/driver.c (dump_to_tape): Call start_degraded_mode() if
1943 2002-03-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1945 * recover-src/extract_list.c (extract_files_setup): Add ^$ to host.
1947 2002-03-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1948 Patch from Michael Frankowski <mfrankow@winternet.com>
1950 * client-src/sendbackup-gnutar.c: Test for subdir before dbprintf.
1952 2002-03-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1954 * client-src/client_util.c (init_options): New function.
1955 * client-src/client_util.h (init_options): Prototype.
1956 * client-src/sendsize.c (main): Use init_options.
1958 2002-03-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1960 * client-src/client-util.c: Check for include and exclude files.
1962 2002-03-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1964 * server-src/amstatus.pl.in: Fix.
1965 * server-src/conffile.c(get-compress): Change message for bad
1968 2002-03-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1970 * server-src/amstatus.pl.in: Fix.
1972 2002-03-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1974 * client-src/sendbackup-dump.c: use amdevice as argument to
1977 2002-03-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1979 * Amanda 2.4.3b3 released
1980 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.3b3)
1982 2002-03-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1984 * ReleaseNotes: New file.
1985 * NEWS: New item for 2.4.3b3.
1987 2002-03-07 John R. Jackson (jrj@purdue.edu)
1989 * changer-src/chg-zd-mtx.sh.in: Allow whitespace on a VolumeTag line.
1990 Compliments of Christopher McCrory <chrismcc@pricegrabber.com>.
1992 2002-03-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
1994 * recover-src/amrecover.h (list_disk): Prototype.
1995 * recover-src/set_commands.c (list_disk): New function.
1996 * recover-src/uparse.y: parse LISTDISK.
1997 * recover-src/uscan.l: listdisk keyword.
1998 * recover-src/help.c: help for listdisk.
1999 * man/amrecover.8.in: Doc for listdisk.
2000 * server-src/amindexd.c: New LISTDISK command.
2001 * docs/INDEXING: Document LISTDISK command.
2003 2002-03-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2005 * server-src/amstatus.pl.in: Better output for autoflush.
2007 2002-03-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2009 * server-src/amstatus.pl.in: Fix.
2011 2002-03-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2013 * server-src/amadmin.c (disklist_one): Print dp->device.
2014 * server-src/amcheck.c (start_host): Send device if specified.
2015 * server-src/amstatus.pl.in: Parse line with device.
2016 * server-src/diskfile.c (parse_diskline): Parse device.
2017 * server-src/diskfile.c (match_disklist): Match on device.
2018 * server-src/diskfile.h (disk_t): New field device.
2019 * server-src/driverio.c: (dumper_cmd): Send device.
2020 * server-src/dumper.c (main): Parse device in request.
2021 * server-src/dumper.c (start_dump): New device argument, send
2023 * server-src/planner.c (getsize): Send device to client.
2024 * server-src/server_util.h (MAX_ARGS): Set it to 12.
2025 * client-src/client_util.c (add_include, build_exclude, build_include,
2026 parse_options): New device argument.
2027 * client-src/client_util.h (build_exclude,build_include,parse_options):
2029 * client-src/selfcheck.c: Use device.
2030 * client-src/sendbackup-dump.c: Use device.
2031 * client-src/sendbackup-gnutar.c: Use device.
2032 * client-src/sendbackup.c: Use device.
2033 * client-src/sendbackup.h (start_backup): New device argument.
2034 * client-src/sendsize.c: Use device.
2035 * man/amanda.8.in: Document new disklist syntax.
2036 * example/disklist: Give example.
2038 2002-03-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2040 * server-src/amstatus.pl.in: Write "wait to flush" only if waittaper
2043 2002-03-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2045 * server-src/amstatus.pl.in: Fix for failed tape.
2047 2002-02-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2049 * man/amanda.8.in: Document multiple exclude.
2050 * man/amanda.8.in: Document include.
2052 2002-02-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2054 * client-src/client-util.c (add_include): Include are glob expression.
2056 2002-02-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2058 * common-src/debug.c (debug_open); Don't try to renmae an already
2061 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2063 * server-src/conffile.c (dump_configuration): Print multiple
2064 exclude and include.
2066 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2068 * client-src/client_util.c (add_exclude, add_include): Typo.
2070 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2072 * client-src/client_util.c (build_include, build_exclude): Fix for
2075 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2077 * client-src/client_util.c (get_name): Create a file name.
2078 * client-src/client_util.c (build_name): Remove old files,
2079 build an unused file name.
2080 * client-src/client_util.c (add_exclude): Add an exclude pattern to
2082 * client-src/client_util.c (add_include): Add an include to the
2084 * client-src/client_util.c (build_exclude): Concat all excludes in
2086 * client-src/client_util.c (build_include): Concat all includes in
2088 * client-src/client_util.h (build_exclude, build_include): Prototype.
2089 * client-src/selfcheck.c.diff (check_options): Call build_exclude
2091 * client-src/sendsize.c.diff: Call gtar with one
2092 exclude file/include file.
2093 * client-src/sendbackup-gnutar.c.diff: Call gtar with one
2094 exclude file/include file.
2096 2002-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2098 * common-src/amanda.h (amfree): Change e local variable to e__errno.
2099 * common-src/amanda.h (strappend): Change t local variable to t_t_t.
2101 2002-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2103 * client-src/sendsize.c: Set include_file and include_list to NULL
2104 when using old protocol.
2105 * client-src/sendbackup-gnutar.c: Include "." when using old protocol.
2107 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2109 * server-src/conffile.h (dumptype_t): Add include_file and include_list.
2110 * server-src/conffile.c: Read include.
2111 * server-src/diskfile.h (disk_t): Add include_file and include_list.
2112 * server-src/diskfile.c (optionstr): Add include to the optionstr.
2113 * server-src/amadmin.c (disklist_one): Print include.
2114 * server-src/planner.c: Use new protocol if include is used.
2115 * client-src/client_util.h (option_t): Add include_file and include_list
2116 * client-src/client_util.c (parse_options): Parse include.
2117 * client-src/selfcheck.c (check_options): Print ERROR if include are
2118 used for SAMBA or DUMP.
2119 * client-src/sendsize.c: Send include to gnutar.
2120 * client-src/sendbackup-gnutar.c: Send include to gnutar.
2122 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2124 * client-src/client_util.c (parse_options): Check that files from
2125 'exclude list' exist'.
2126 * client-src/selfcheck.c (check_options): Give ERROR if multiple
2127 exclude are used with samba or if exclude are used with DUMP.
2129 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2131 * client_src/client_util.c (parse_options): Function to parse
2133 * client_src/client_util.h (parse_options): Prototype.
2134 * client_src/client_util.h (option_t): Struct for options.
2135 * client_src/Makefile.am: Compile client_util.
2136 * client_src/selfcheck.c: Use new option_t and multiple exclude.
2137 * client_src/sendbackup.h: Use new option_t and multiple exclude.
2138 * client_src/sendbackup.c: Use new option_t and multiple exclude.
2139 * client_src/sendbackup-dump.c: Use new option_t and multiple exclude.
2140 * client_src/sendbackup-gnutar.c: Use new option_t and multiple exclude.
2141 * client_src/sendsize.c: Use new option_t and multiple exclude.
2142 * server-src/conffile.h: Use sl_t for exclude_file and exclude_list.
2143 * server-src/conffile.c: Multiple exclude.
2144 * server-src/diskfile.h: Use sl_t for exclude_file and exclude_list.
2145 * server-src/diskfile.c: Multiple exclude.
2146 * server-src/planner.c: Multiple exclude.
2148 2002-02-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2150 * common-src/pipespawn.c (pipespawnv): New funtion taking an
2152 * common-src/pipespawn.h (pipespawnv): Prototype.
2154 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2156 * server-src/holding.h: Use sl_t instead of holding_t
2157 * server-src/holding.c: Ditto.
2158 * server-src/amcleanupdisk.c: Ditto.
2159 * server-src/amflush.c: Ditto.
2160 * server-src/find.c: Ditto.
2161 * server-src/planner.c: Ditto.
2163 2002-02-11 John R. Jackson (jrj@purdue.edu)
2165 * configure.in: AIX needs the "other" getconf argument to find out
2166 about large file support (XBS5_ILP32_OFFBIG instead of LFS).
2168 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2170 * common-src/sl.h: New header file
2171 * common-src/sl.c: New file for list of string struct.
2172 * common-src/Makefile.am: Compile sl.c
2174 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2176 * changer-src/chg-zd-mtx.sh.in: Don't use '^' in expr match argument.
2178 2002-02-10 John R. Jackson (jrj@purdue.edu)
2180 * configure.in: Add new file-pad tapetype option to take the place
2181 of a positive/negative blocksize. Blocksize may now only be
2182 positive. File-pad defaults to "true" which pads the last tape
2183 record like it always has.
2184 * man/amanda.8.in: Ditto.
2185 * server-src/amlabel.c: Ditto.
2186 * server-src/conffile.c: Ditto. Fix typo in conffile test program.
2187 * server-src/conffile.h: Ditto.
2188 * server-src/planner.c: Ditto.
2189 * server-src/taper.c: Ditto.
2191 2002-02-10 John R. Jackson (jrj@purdue.edu)
2193 * configure.in: Save the ./configure args and display them in the
2194 version string (e.g. amandad*debug and "amadmin xx version").
2195 * common-src/genversion.c: Ditto.
2197 2002-02-10 John R. Jackson (jrj@purdue.edu)
2199 * common-src/alloc.c: Fix type mismatch issues discovered by splint
2200 (www.splint.org). Compliments of jens persson <jens@persson.cx>.
2201 * common-src/debug.c: Ditto.
2202 * common-src/dgram.c: Ditto.
2203 * common-src/file.c: Ditto.
2204 * common-src/fileheader.c: Ditto.
2205 * common-src/fileheader.h: Ditto.
2206 * common-src/getcwd.c: Ditto.
2207 * common-src/match.c: Ditto.
2208 * common-src/security.c: Ditto.
2209 * common-src/stream.c: Ditto.
2210 * common-src/strstr.c: Ditto.
2211 * common-src/token.c: Ditto.
2212 * recover-src/amrecover.c: Ditto.
2213 * recover-src/display_commands.c: Ditto.
2214 * recover-src/extract_list.c: Ditto.
2215 * recover-src/set_commands.c: Ditto.
2216 * server-src/reporter.c: Ditto.
2218 2002-02-10 John R. Jackson (jrj@purdue.edu)
2220 * changer-src/chg-zd-mtx.sh.in: Major cleanup and general overhaul.
2221 * docs/TAPE.CHANGERS: Cleanup.
2223 2002-02-09 John R. Jackson (jrj@purdue.edu)
2225 * common-src/arglist.h: Clean up gcc detection of printf style variable
2226 argument list functions.
2227 * changer-src/scsi-changer-driver.c: Ditto.
2228 * common-src/debug.c: Ditto.
2229 * common-src/error.c: Ditto.
2230 * common-src/snprintf.c: Ditto.
2231 * common-src/token.c: Ditto.
2232 * common-src/token.h: Ditto.
2233 * server-src/amindexd.c: Ditto.
2234 * server-src/conffile.c: Ditto.
2235 * server-src/diskfile.c: Ditto.
2236 * server-src/logfile.c: Ditto.
2237 * server-src/logfile.h: Ditto.
2238 * server-src/server_util.c: Ditto.
2240 2002-02-09 John R. Jackson (jrj@purdue.edu)
2242 * configure.in: Must look in both strings.h and string.h when trying
2243 to find function declarations (strncasecmp was not found on AIX
2244 but is really there and our override caused a mismatch error).
2246 2002-02-09 John R. Jackson (jrj@purdue.edu)
2248 * configure.in: Add code to test for a type defined in other than the
2249 autoconf expected locations. Use it to look for socklen_t.
2251 2002-02-08 John R. Jackson (jrj@purdue.edu)
2253 * server-src/amadmin.c (check_dumpuser): Make it fatal to attempt to
2254 do an operation that would alter any files when run as someone other
2255 than the dump user from amanda.conf. This should prevent files from
2256 ending up with incorrect ownership.
2258 2002-02-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2260 * man/amrecover.8.in (settape): Document that the hostname is required
2261 if the protocol (tape:, file:, rait:, null:) is specified.
2262 * man/amrecover.8.in (settape): Document that it is posible to
2263 change the tape device when asked to load tape.
2265 2002-02-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2267 * server-src/holding.c (scan_holdingdir): Create the list in
2270 2002-02-02 John R. Jackson (jrj@purdue.edu)
2272 * configure.in: Add unistd.h to list of places to look for ruserok()
2273 declaration. Reported by John Koenig <jfkoenig@vipb.com> on ALPHA
2276 2002-02-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2277 Reported by Roland E. Lipovits <rel@lipo.at0.net>
2279 * server-src/amstatus.pl.in: Don't double-counts the failed
2280 estimate partitions.
2282 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2284 * configure.in: New --with-maxtapeblocksize with a default of 32.
2285 * common-src/amanda.h: MAX_TAPE_BLOCK_KB is defined in amanda.h
2287 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2289 * common-src/fileheader.c (build_header): Never write the
2291 * common-src/fileheader.c (parse_file_header): Do not parse the
2294 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2296 * common-src/fileheader.c (build_header): Write the BLOCKSIZE= line
2297 after the dd if=... line.
2298 * common-src/fileheader.c (parse_file_header): Ignore unknown line.
2300 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2302 * server-src/driver.c: Init code to 0.
2304 2002-01-29 John R. Jackson (jrj@purdue.edu)
2306 * tape-src/output-tape.c (tape_tapefd_fsf): Some systems cannot deal
2307 with large stack variables, so allocate tape I/O buffers dynamically.
2308 * tape-src/tapeio.c (tapefd_rdlabel): Ditto.
2310 2002-01-25 John R. Jackson (jrj@purdue.edu)
2312 * server-src/driver.c: Log non-zero exit codes and signals from all
2313 the dumpers and taper.
2315 2002-01-25 John R. Jackson (jrj@purdue.edu)
2317 * server-src/amindexd.c: Clean up reporting of errors by gethostby*()
2318 functions. Make sure they always report what they were trying to
2319 look up, and don't bother reporting errno (it would be h_errno).
2320 * server-src/dumper.c: Ditto.
2321 * server-src/planner.c: Ditto.
2323 2002-01-17 Thomas Hepper <th@ant.han.de>
2325 * changer-src/scsi-changer-driver.c (DecodeSense): Check if it is
2326 an normal or an extended result from request sense, and only
2327 print the correct infos for the detected type.
2328 * changer-src/scsi-changer-driver.c (RequestSense): Use the passed
2329 pointer to store the result from request sense. Do not allocate
2330 an own buffer. Fixed the bufer size which is passed to teh SCSI
2332 * changer-src/scsi-changer-driver.c (ChangerStatus): Use the macros
2333 for setting the device to use for query, don't use fix values.
2334 * changer-src/scsi-changer-driver.c (SCSI_Run): skip the sleep
2335 if the status is ok, only sleep if we will loop.
2336 * changer-src/scsi-changer-driver.c (DebugPrint): Print an timestamp
2337 to see how many time is used between the prints and so see where
2340 2002-01-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2342 * common-src/fileheader.h (dumpfile_t): Add blocksize field.
2343 * common-src/fileheader.h (build_header): Change prototype.
2344 * common-src/fileheader.c (fh_init): blocksize default to
2346 * common-src/fileheader.c (parse_file_header): Parse BLOCKSIZE= line.
2347 * common-src/fileheader.c (build_header): Remove blocksize parameter,
2348 write the BLOCKSIZE= line.
2349 * tape-src/tapeio.c: set file.blocksize, Change call to build_header.
2350 * restore-src/amrestore.c: Ditto.
2351 * server-src/dumper.c: Ditto.
2352 * server-src/taper.c: Ditto.
2353 * server-src/holding.c: Ditto.
2355 2002-01-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2357 * changer-src/scsi-changer-driver.c (SCSI_ReadElementStatus):
2360 2002-01-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2362 * server-src/planner.c: Check for dp->todo.
2364 2002-01-10 Thomas Hepper <th@ant.han.de>
2366 * changer-src/scsi-changer-driver.c: Fixed prototype for SCSI_ReadElementStatus
2367 * changer-src/scsi-changer-driver.c (eject_tape): Fixed error in the rewind
2368 * changer-src/scsi-changer-driver.c (unload): Fixed error in the rewind logic
2369 * changer-src/scsi-changer-driver.c (load): Fixed error in the rewind logic
2370 * changer-src/scsi-changer-driver.c (GetElementStatus): Fixed error in the parameter list to SCSI_ReadElementStatus
2371 * changer-src/scsi-changer-driver.c (SCSI_ReadElementStatus): Changed the logic, if the size for DescriptorSize
2372 is 0 try to get the size the old way, if this parameter greate 0 take this value as the size for the data
2373 buffer which is used to hold the result. May fix a problem with an HP changer
2374 * changer-src/scsi-defs.h: Updated the structs for the different element types (Media Changer, Storage, Tape, Import)
2377 2002-01-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2378 Patch by Harlan Stenn <Harlan.Stenn@pfcs.com>
2380 * changer-src/chg-scsi.c: Typo.
2382 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2384 * changer-src/Makefile.am: Run `perl -c' on perl script.
2385 * client-src/Makefile.am: Ditto.
2386 * server-src/Makefile.am: Ditto.
2388 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2389 Reported by Geert Uytterhoeven <geert@linux-m68k.org>
2391 * README: Amanda compile on Linux/m68k.
2393 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2395 * changer-src/chg-rth.pl.in: Typo. fi -> }.
2397 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2398 Patch by Harlan Stenn <Harlan.Stenn@pfcs.com>
2400 * changer-src/chg-chio.pl.in: Typo. fi -> }.
2401 * changer-src/chg-chio.pl.in (prefix, exec_prefix): Set correctly.
2402 * changer-src/chg-chio.pl.in (max_picker): Init to -1.
2404 2002-01-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2406 * recover-src/extract_list.c (okay_to_continue_tape): Ignore \n
2409 2002-01-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2411 * server-src/amoverview.pl.in: Ignore some line from amadmin.
2413 2002-01-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2415 * Amanda 2.4.3b2 released
2416 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.3b2)
2417 * NEWS: New feature of amanda-2.4.3b2
2419 2002-01-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2421 * tape-src/output-tape.c (tape_tapefd_rewind, tape_tapefd_unload):
2423 * changer-src/scsi-irix.c (SCSI_OpenDevice): Cast to int.
2424 * common-src/match.c (clean_regex): Cast to int.
2426 2001-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2428 * config/ltconfig: Remove.
2429 * config/ltmain.sh, config/libtool.m4i: Update from libtool 1.4.2.
2430 * config/config.guess: Update from
2431 ftp://ftp.gnu.org/gnu/config/config.guess.
2432 * config/config.sub: Update from
2433 ftp://ftp.gnu.org/gnu/config/config.sub.
2434 * config/depcomp, config/install-sh, config/missing,
2435 config/mkinstalldirs: Update from automake 1.5.
2436 * config/Makefile.am (EXTRA_DIST): Remove ltconfig.
2438 2001-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2439 Patch by Harlan Stenn <Harlan.Stenn@pfcs.com>
2441 * configure.in: Add missing [.
2443 2001-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2445 * server-src/driver.c: Do not go in degraded mode in nodump mode.
2446 * server-src/conffile.c:Check many options to be sure they are positive.
2448 2001-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2450 * changer-src/chg-scsi.c (get_relative_target): return -1;
2451 * changer-src/scsi-irix.c (SCSI_ExecuteCommand): Remove Zero variable.
2452 * common-src/amanda.h: include strings.h if HAVE_STRINGS_H is defined.
2453 * server-src/amadmin.c (info_one): Remove lev0date variable.
2454 * server-src/amadmin.c (import_db): Remove vers_comment variable.
2455 * server-src/amindexd.c (main): Remove arg_len variable.
2456 * server-src/amtrmidx.c (main): Remove level_position and
2457 datestamp_position variables.
2458 * server-src/changer.c (changer_current): Remove checked variable.
2459 * server-src/conffile.c (read_confline): Check value of RESERVE.
2460 * server-src/conffile.c (get_tapetype): Check value of LENGTH and
2462 * server-src/diskfile.h: bit field of 1 bit must be unsigned.
2463 * server-src/driver.c (main): Don't check the value of RESERVE.
2464 * server-src/driver.c (find_diskspace): Remove as_pref variable.
2465 * server-src/driverio.c (getresult): cast cmd_t.
2466 * server-src/dumper.c (update_dataptr): save_type is a filetype_t.
2467 * server-src/find.c (search_logfile): Remove host_undo_ch and
2468 disk_undo_ch variables.
2469 * server-src/holding.c (pick_datestamp): Remove result variable.
2470 * server-src/server_util.c (getcmd): Loop on a cmd_t variable.
2471 * server-src/taper.c (tape_writer_side): Remove out_open variable.
2472 * tape-src/tapeio.c (tapefd_close): Cast to (void *).
2474 2001-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2476 * restore-src/amrestore.c: Fix compiler warning.
2477 * changer-src/chg-scsi.c: Ditto.
2478 * common-src/fileheader.c: Ditto.
2479 * changer-src/scsi-changer-driver.c: Ditto.
2480 * changer-src/scsi-defs.h: Ditto.
2481 * client-src/selfcheck.c: Ditto.
2483 2001-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2485 * configure.in: Set MAX_TAPE_BLOCK_KB on linux.
2487 2001-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2488 Patch by Blaz Zupan <blaz@amis.net>
2490 * changer-src/chg-zd-mtx.sh.in: typo.
2492 2001-12-20 Thomas Hepper <th@ant.han.de>
2493 * changer-src/scsi-changer-driver.c: Return error if the find_empty returns an error
2494 In function LogSense try to reset the error counter. Fixed wrong pDev struct pointer in
2495 TapeStatus. Must be INDEX_TAPECTL and not INDEX_TAPE at the start of the function
2497 2001-12-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2499 * client-src/selfcheck.c (check_access): New function (old check_file
2501 * client-src/selfcheck.c (check_file): Check that the filename is a
2503 * client-src/selfcheck.c (check_dir): Check that dirname is a directory.
2505 2001-12-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2506 Patch by Henning Schmiedehausen <henning@forge.intermeta.de>
2508 * common-src/file.c (safe_cd): Create the AMANDA_DBGDIR and
2509 AMANDA_TMPDIR directory.
2511 2001-12-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2513 * docs/Makefile.am (pkgdata_DATA): Include RAIT and VTAPE-API.
2515 2001-12-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2517 * server-src/amverify.sh.in: Check that @AMANDA_TMPDIR@ exist.
2518 * server-src/amrmtape.sh.in: Ditto.
2520 2001-12-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2522 * changer-src/Makefile.am: fix setting of libexec_PROGRAMS.
2524 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2526 * server-src/amstatus.pl.in: Work with amflush log.
2528 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2530 * server-src/driver.c (nodump): new argument, Don't start the dumpers
2532 * server-src/holding.c (get_flush): chdir to original cwd.
2533 * server-src/reporter.c: accept driver and amflush line in log.
2534 * server-src/amflush.c: exec driver to do the flushing.
2536 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2538 * server-src/amstatus.pl.in: Fixup for estimate, write flush line.
2540 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2542 * server-src/reporter.c (output_summary): Set origsize and
2545 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2547 * server-src/driver.c (start_some_dumps): Fixup length of dumporder.
2549 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2551 * recover-src/extract_list.c: You can change the tape device
2554 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2556 * restore-src/amrestore.c (restore): try to find the next chunk
2557 in the current directory.
2559 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2561 * example/amanda.conf.in: typo.
2563 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2565 Patch by Roland E. Lipovits <rel@lipo.at0.net>
2566 * example/amanda.conf.in: typo.
2568 2001-12-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2570 * server-src/dumper.c, server-src/taper.c: Replace TRY_AGAIN
2573 2001-11-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2575 * Amanda 2.4.3b1 released
2576 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.3b1)
2577 * NEWS: New feature of amanda-2.4.3
2579 2001-11-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2581 * server-src/diskfile.c (lookup_host): Match must be exact.
2583 2001-11-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2585 * server-src/planner.c: Add host, disk, datestamp and level on
2586 FLUSH line. Add datestamp on DUMP line.
2587 * server-src/driver.c (read_flush): Read new format of FLUSH line.
2588 * server-src/driver.c (read_schedule): Read new format of DUMP line.
2589 * server-src/amflush.c: Write a datestamp on stderr.
2590 * server-src/amdump.sh.in: Write a datestamp on stderr.
2591 * server-src/amstatus.pl.in: Works with autoflush.
2593 2001-11-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2595 * server-src/conffile.c (autoflush): New configuration options.
2596 * server-src/conffile.h (autoflush): New configuration options.
2597 * man/amanda.8.in: Document it.
2598 * example/amanda.conf.in: Document it.
2599 * server-src/holding.h (get_flush, pick_datestamp, pick_all_datestamp,
2600 cleanup_holdingdisk): New prototype.
2601 * server-src/holding.c (scan_holdingdir, cleanup_holdingdisk,
2602 get_flush): New function.
2603 * server-src/holding.c (pick_datestamp, pick_all_datestamp): New
2605 * server-src/amcleanupdisk.c: Change call to pick_all_datestamp.
2606 * server-src/amflush.c: Change call to pick_all_datestamp.
2607 * server-src/find.c: Change call to pick_all_datestamp.
2608 * server-src/planner.c: Write FLUSH line to driver, the schedule
2609 line contain the keyword DUMP.
2610 * server-src/planner.c: Add datestamp to SUCCESS and FAIL line.
2611 * server-src/amstatus.pl.in: New parsing of DUMP line.
2612 * server-src/driverio.h: New datestamp field in sched_t;
2613 * server-src/driver.c (build_diskspace): New function to build a
2614 assignedhd_t from an holding file.
2615 * server-src/driver.c (read_flush): New function to read the list
2617 * server-src/driver.c (read_schedule): Parse the keyword DUMP.
2618 * server-src/driver.c: Add datestamp to FAIL line.
2619 * server-src/dumper.c: Add datestamp to FAIL line.
2620 * server-src/reporter.c (timedata_t, repdata_t) : Major change of
2622 * server-src/taper.c: Add datestamp to FAIL line.
2624 2001-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2626 * server-src/conffile.c: New dumporder configuration.
2627 * server-src/conffile.h: Likewise.
2628 * server-src/driver.c (start_some_dumps): Use dumporder to
2629 select the next disk to dump.
2630 * example/amanda.conf.in: Give an example of dumporder.
2631 * man/amanda.8.in: Document it.
2633 2001-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2635 * recover-src/amrecover.h (cd_glob, cd_regex, cd_dir): New prototypes.
2636 * recover-src/set_commands.c (cd_glob, cd_regex, cd_dir): New functions.
2637 * recover-src/uparse.y: Add new token CDX, call cd_glob instead
2638 of set_directory for cd command, call cd_regex for cdx command.
2639 * recover-src/uscan.l: On cdx string return CDX token.
2640 * recover-src/help.c: Document it.
2641 * man/amrecover.8.in: Document it.
2643 2001-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2645 * server-src/taper.c: Backport from 2.5.0 the change to use only
2646 one cmd_t type for all program.
2647 * server-src/server_util.h: Likewise.
2648 * server-src/server_util.c: Likewise.
2649 * server-src/dumper.c.orig: Likewise.
2650 * server-src/dumper.c: Likewise.
2651 * server-src/driverio.h: Likewise.
2652 * server-src/driverio.c: Likewise.
2653 * server-src/driver.c: Likewise.
2654 * server-src/amflush.c: Likewise.
2656 2001-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2658 * server-src/reporter.c: Backport from 2.5.0 the change to allow
2659 the "[host [disk]*]*" arguments on command.
2660 * server-src/planner.c: Likewise.
2661 * server-src/logfile.h: Likewise.
2662 * server-src/logfile.c: Likewise.
2663 * server-src/find.h: Likewise.
2664 * server-src/find.c: Likewise.
2665 * server-src/diskfile.h: Likewise.
2666 * server-src/diskfile.c: Likewise.
2667 * server-src/amtrmidx.c: Likewise.
2668 * server-src/amindexd.c: Likewise.
2669 * server-src/amflush.c: Likewise.
2670 * server-src/amdump.sh.in: Likewise.
2671 * server-src/amcheck.c: Likewise.
2672 * server-src/amadmin.c: Likewise.
2673 * restore-src/amrestore.c: Likewise.
2674 * man/amrestore.8: Likewise.
2675 * man/amflush.8.in: Likewise.
2676 * man/amdump.8.in: Likewise.
2677 * man/amcheck.8.in: Likewise.
2678 * man/amanda.8.in: Likewise.
2679 * man/amadmin.8.in: Likewise.
2680 * common-src/match.c: Likewise.
2681 * common-src/amanda.h: Likewise.
2683 2001-10-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
2685 * man/Makefile.am: add amdd.8 and ammt.8 to EXTRA_DIST.
2687 2001-09-26 John R. Jackson (jrj@purdue.edu)
2689 * server-src/reporter.c: Fix problem when column sizes are negative.
2691 2001-09-21 John R. Jackson (jrj@purdue.edu)
2693 * server-src/Makefile.am: Add -I../common-src so genversion.h can be
2694 found (since it is built on the fly). Only fails when build is done
2695 in a different directory than the sources.
2697 2001-09-17 John R. Jackson (jrj@purdue.edu)
2699 * server-src/getconf.c: Add capabilities to amgetconf to return
2700 build environment values and also to open and close a debug file
2702 * man/amgetconf.8.in: Ditto.
2703 * changer-src/chg-scsi.c: Ditto.
2704 * common-src/amanda.h: Ditto.
2705 * common-src/debug.c: Ditto.
2706 * common-src/error.c: Ditto.
2707 * server-src/dumper.c: Ditto.
2709 2001-09-17 John R. Jackson (jrj@purdue.edu)
2711 * server-src/planner.c: Make sure we do not attempt to bump beyond
2714 2001-09-15 Thomas Hepper (th@ant.han.de)
2715 * changer-src/chg-scsi.c: Added new config option autoinv,
2716 if not set no auto inventory will be done if the label db is out of
2717 sync. Reworked MapBarCode, now the parameters are passed as a struct
2718 and the result is returned in this struct (MBC_T),
2719 also removed some duplicate/nonsens code from MapBarCode
2720 Changed the definitions for slot_file. It was used duplicate,
2721 1. as the config file set by amanda.conf, and second set by the
2722 config option in the chg-scsi config file. Now the file from
2723 amanda.conf is called chg_scsi_conf. and changer_file is renamed
2725 Added check if cleanfile is not set, if true clean_file is set to NULL
2726 Now return if tape_device is not in the range 0-9.
2727 Added some checks if we have all informations like slot_file,
2728 devices etc. Fixed and error in the search function,
2729 if the searched vol is already loaded return the correct info
2730 and not 'label not found'. Fixed error in the parameter passing
2731 to get_relative_slot. If the option was -slot last we where
2732 1 above the end parameter..
2734 * changer-src/scsi-bsd.c: Fix compile problems.
2735 * changer-src/scsi-changer-driver.c: Fixed the last problems :-)
2736 for the label/barcode handling...
2737 * changer-src/scsi-defs.h: Added new struct MBC_T
2738 * changer-src/sense.c: Added some more messages for Exabyte 210 lib
2740 2001-09-01 John R. Jackson (jrj@purdue.edu)
2742 * client-src/sendsize.c: Fix memory allocation problem.
2744 2001-08-31 John R. Jackson (jrj@purdue.edu)
2746 * server-src/amindex.c: Fix memory leak. Compliments of Robert Minsk
2747 <egbert@centropolisfx.com>.
2748 * server-src/logfile.c: Fix memory leak. Compliments of Robert Minsk
2749 <egbert@centropolisfx.com>.
2751 2001-08-30 John R. Jackson (jrj@purdue.edu)
2753 * server-src/planner.c: Fix problem with maintenance of total level
2754 0 size when disk being brought back into the schedule was not doing
2755 a level 0. Compliments of Robert Minsk <egbert@centropolisfx.com>.
2757 2001-08-24 John R. Jackson (jrj@purdue.edu)
2759 * server-src/amverify.sh.in: Fix missing backtick error.
2761 2001-08-24 John R. Jackson (jrj@purdue.edu)
2763 * server-src/taper.c: Allocate buffers on page boundaries.
2765 2001-08-22 John R. Jackson (jrj@purdue.edu)
2767 * tape-src/Makefile.am: Add chown/chgrp rules for ammt/amdd install
2768 so they end up like all the other Amanda programs.
2770 2001-08-16 John R. Jackson (jrj@purdue.edu)
2772 * docs/Makefile.am: Fix PORTS.USAGE -> PORT.USAGE typo.
2774 2001-08-16 John R. Jackson (jrj@purdue.edu)
2776 * configure.in: Change release name to "2.4.2p2-tapeio". Add missing
2777 CAM header checks from the 2.5 branch.
2779 2001-08-15 Thomas Hepper (th@ant.han.de)
2780 * changer-src/chg-scsi.c. Removed version 1 DB support from mapBarCode. Changed the way parameter
2781 are given to MapBarCode and returned from there. No a struct is passed where all infos
2782 will be returned to the calling function.
2783 If eject is set we will not call LogSense in chg-scsi because it is also called in the
2785 * changer-src/scsi-defs.h: Added struct MBC_T used by MapBarCode.
2786 * changer-src/scsi-changer-driver.c: Changed all calls to MapBarCode to the new way
2788 2001-08-14 John R. Jackson (jrj@purdue.edu)
2790 * docs/EXCLUDE: New document from Andrew Hall <ahall@secureworks.net>
2791 describing how to set up and use GNU tar exclusions.
2792 * docs/Makefile.am: Added EXCLUDE and PORT.USAGE.
2794 2001-08-14 John R. Jackson (jrj@purdue.edu)
2796 * docs/PORT.USAGE: New document about how Amanda ports are used.
2798 2001-08-14 John R. Jackson (jrj@purdue.edu)
2800 * common-src/stream.c: Add stream_client_privileged() function to
2801 get a privileged port and fail if one is not available. The older
2802 stream_client() function gets a (non-privileged) port in the
2803 configured portrange, if set and possible, else anything available.
2804 * common-src/stream.h: Prototypes.
2805 * recover-src/amrecover.c: Use stream_client_privileged() instead of
2807 * recover-src/extract_list.c: Ditto.
2808 * configure.in: Added several more port range sanity checks. Added
2809 --with-tcpportrange as an alias for --with-portrange.
2811 2001-08-09 Thomas Hepper (th@ant.han.de)
2812 * changer-src/chg-scsi.c: Added check in MapBarCode if the labelfile
2813 parameter is empty, and if yes return.
2814 Added global variable do_inventory, and if set do an inventory before
2816 In MapBarCode changed the way the UPDATE_SLOT is done, now it uses
2817 the slot number passed to MapBarCode to find and update the record.
2818 * changer-src/scsi-changer-driver.c: Added def. for BreeceHill Q7
2819 Added global variables which are set by the tape_rdlabel function
2821 Reworked the way how the updates of the labelfile are done.
2822 * docs/TAPE.CHANGERS: Added note about solaris 8 and the sgen driver.
2824 2001-08-09 John R. Jackson (jrj@purdue.edu)
2826 * tape-src/output-tape.c: Missed a reference to TAPE_BLOCK_BYTES
2827 while doing the tapetype "blocksize" changes.
2829 2001-08-01 John R. Jackson (jrj@purdue.edu)
2831 * client-src/selfcheck.c: Fix typos I introduced into the PC subdir
2833 * client-src/sendbackup-gnutar.c: Ditto.
2834 * client-src/sendsize.c: Ditto.
2836 2001-08-01 Marko Injac <marko.injac@mail.insert.si> via John R. Jackson (jrj@purdue.edu)
2838 * client-src/findpass.c: Allow backup of subdirs of PC shares for
2839 amanda-2.4.1beta1 by Greg Shebert amanda-hackers list Tue Feb 1,
2840 2000. Ported to amanda-2.4.2p2 on debian potato by Marko Injac.
2841 * client-src/findpass.h: Ditto.
2842 * client-src/selfcheck.c: Ditto.
2843 * client-src/sendbackup-gnutar.c: Ditto.
2844 * client-src/sendsize.c: Ditto.
2845 * docs/SAMBA: Ditto.
2847 2001-08-01 John R. Jackson (jrj@purdue.edu)
2849 * client-src/sendsize.c: Prefix each debug line with sendsize process
2850 information to make picking out the output from a particular estimate
2851 run easier when maxdumps > 1.
2853 2001-08-01 John R. Jackson (jrj@purdue.edu)
2855 * server-src/amcheck.c: Unlink the temp files as soon as they are
2856 created so they always go away when amcheck terminates. Use
2857 pipespawn() instead of system() to call the MAILER program.
2859 2001-08-01 John R. Jackson (jrj@purdue.edu)
2861 * common-src/debug.c: Only rename files that end in ".debug".
2863 2001-08-01 John R. Jackson (jrj@purdue.edu)
2865 * common-src/pipespawn.c: Show empty pipespawn() args as "".
2867 2001-07-31 John R. Jackson (jrj@purdue.edu)
2869 * server-src/conffile.h: Add support for tapetype "blocksize" keyword.
2870 * server-src/conffile.c: Add tapetype "blocksize" keyword. Use
2871 DISK_BLOCK_KB where appropriate instead of TAPE_BLOCK_SIZE. Disallow
2872 negative tape length and tapemark size.
2873 * client-src/sendbackup.c: Use new STREAM_BUFSIZE constant. Use -1
2874 for new default buffer size flag.
2875 * common-src/alloc.c: Add new amtable_free() function. Adjust args
2876 to amtable_alloc() to be consistent with amtable_free().
2877 * common-src/amanda.h: Add new am_round() and am_floor() macros.
2878 Define new DISK_BLOCK_KB, DISK_BLOCK_BYTES, MAX_TAPE_BLOCK_KB,
2879 MAX_TAPE_BLOCK_BYTES constants. Remove TAPE_BLOCK_SIZE and
2881 * common-src/fileheader.c: Change write_header() to build_header().
2882 Add blocksize arg. Get rid of unused fill_buffer() function.
2883 * common-src/fileheader.h: Ditto.
2884 * common-src/stream.c: Use negative value to indicate default buffer
2886 * common-src/stream.h: Add NETWORK_BLOCK_BYTES and STREAM_BUFSIZE
2887 constants. Remove DATABUF_SIZE and DEFAULT_SIZE.
2888 * man/amanda.8.in: Document the new "blocksize" tapetype keyword.
2889 Document that "length" in tapetype has meaning to some output
2890 drivers. Fix "bumpdays" and "speed" defaults. Document new "file:"
2891 output driver record length data file.
2892 * man/amrestore.8: Add new "-b blocksize" arg. Add description of
2893 how to catalogue the images on a tape.
2894 * recover-src/amrecover.c: DEFAULT_SIZE -> -1.
2895 * recover-src/extract_list.c: DEFAULT_SIZE -> -1. Use DISK_BLOCK_BYTES
2896 instead of TAPE_BLOCK_BYTES for the header size.
2897 * restore-src/amrestore.c: Add new "-b blocksize" arg. Document how
2898 the header is handled. Deal with arbritrary tape record sizes.
2899 * server-src/amlabel.c: Use the tapetype blocksize.
2900 * server-src/driver.c: Use DISK_BLOCK_KB where appropriate instead of
2902 * server-src/dumper.c: Use DISK_BLOCK_BYTES and DISK_BLOCK_KB as
2903 appropropriate instead of older constants. Rewrite disk I/O buffer
2904 management. Never pad output stream (e.g. to holding disk). Use
2905 -1 for default stream buffer size.
2906 * server-src/holding.c: Change TAPE_BLOCK_BYTES to DISK_BLOCK_BYTES.
2907 Use fullread() instead of fill_buffer().
2908 * server-src/planner.c: Use tapetype blocksize instead of constant
2909 for tape length calculations.
2910 * server-src/taper.c: Support tapetype blocksize. Only pad writes if
2911 blocksize is negative. Reorganize shared memory buffers to put
2912 data on page boundaries. Try reducing tapebuf count if allocation
2914 * tape-src/output-file.c: Maintain record size information. Use mask
2915 and flags from caller.
2916 * tape-src/output-null.c: Use new amtable_alloc() arg order.
2917 * tape-src/output-rait.c: Use new amtable_alloc() arg order. Add
2918 private version of amtable_free() for standalone build. Fix off
2919 by one and other table allocation problems.
2920 * tape-src/output-rait.h: Maintain file descriptor count in the
2922 * tape-src/tapeio.c: Support tapetype blocksize. Use new
2923 amtable_alloc() arg order. Fix some error message text.
2924 * tape-src/tapeio.h: New prototypes with blocksize arg.
2925 * tape-src/tapetype.c: Add "-b blocksize" arg. Fix some end case
2928 2001-07-31 Ben Lewis (bhlewis@purdue.edu) via John R. Jackson (jrj@purdue.edu)
2930 * configure.in: Add missing CAM header checks from the 2.5 branch.
2932 2001-07-30 John R. Jackson (jrj@purdue.edu)
2934 * configure.in: Add CAM SCSI support section from the 2.5 branch.
2936 2001-07-30 Ben Lewis (bhlewis@purdue.edu) via John R. Jackson (jrj@purdue.edu)
2938 * recover-src/amrecover.c: Improve the "Unexpected server end of file"
2941 2001-07-30 Ben Lewis (bhlewis@purdue.edu) via John R. Jackson (jrj@purdue.edu)
2943 * man/amanda.8.in: Document includefile.
2944 * man/amdump.8.in: Add note that local crontab documention should be
2945 checked for proper syntax.
2946 * man/amrecover.8.in: Document use of PAGER environment variable.
2947 * man/amrestore.8: Document that GNU tar must be used as some vendor
2948 tar programs cannot read GNU tar format.
2949 * docs/FAQ: Update location of online FAQ.
2951 2001-07-25 John R. Jackson <jrj@purdue.edu>
2953 * docs/TAPE.CHANGER: Changes from Ben Lewis (bhlewis@purdue.edu) to
2954 document the new (but optional) searchable features.
2956 2001-07-20 John R. Jackson <jrj@purdue.edu>
2958 * common-src/security.c: Use NUM_STR_SIZE instead of hard coded
2960 * common-src/versuff.c.in: Ditto.
2962 2001-07-19 John R. Jackson <jrj@purdue.edu>
2964 * common-src/error.c: Add new function errordump() that acts like
2965 error() but calls abort() to (try to) drop core.
2966 * common-src/amanda.h: Prototype.
2967 * common-src/alloc.c: Call errordump() instead of error() for some
2968 memory allocation failures to aid traceback.
2970 2001-07-19 John R. Jackson <jrj@purdue.edu>
2972 * server-src/amadmin.c: Improve the error message when read_conffile()
2974 * server-src/amcheck.c: Ditto.
2975 * server-src/amcleanupdisk.c: Ditto.
2976 * server-src/amflush.c: Ditto.
2977 * server-src/amlabel.c: Ditto.
2978 * server-src/amlogroll.c: Ditto.
2979 * server-src/amtape.c: Ditto.
2980 * server-src/amtrmidx.c: Ditto.
2981 * server-src/amtrmlog.c: Ditto.
2982 * server-src/driver.c: Ditto.
2983 * server-src/dumper.c: Ditto.
2984 * server-src/getconf.c: Ditto.
2985 * server-src/planner.c: Ditto.
2986 * server-src/reporter.c: Ditto.
2987 * server-src/taper.c: Ditto.
2989 2001-07-19 John R. Jackson <jrj@purdue.edu>
2991 * server-src/driverio.c: Make the name "ps" reports match the dumper
2992 name (e.g. "dumper3").
2994 2001-07-18 John R. Jackson <jrj@purdue.edu>
2996 * changer-src/chg-chio.pl.in: Try to unload the drive before moving
2997 a tape back to a slot. Fixes a problem on Ecrix AutoPAK devices.
2998 Patch compliments of Sam Leffler <sam@errno.com>.
3000 2001-07-18 John R. Jackson <jrj@purdue.edu>
3002 * server-src/amverify.sh.in: Change to the Amanda temp directory
3003 instead of the config directory. In addition to making amverify
3004 act like most other Amanda programs, this gets around an
3007 2001-07-18 John R. Jackson <jrj@purdue.edu>
3009 * man/amanda.8.in: Describe the .amandahosts format better. Clean up
3010 a couple of minor typos.
3012 2001-07-13 John R. Jackson <jrj@purdue.edu>
3014 * common-src/dgram.h: Improve UDP datagram size calculation.
3015 * server-src/amcheck.c: Break up large requests into pieces.
3016 * server-src/planner.c: Break up large requests into pieces.
3018 2001-07-12 John R. Jackson <jrj@purdue.edu>
3020 * tape-src/amdd.c: Use tapefd_close() in amdd if the file was
3021 opened with tape_open(). This does any necessary output driver
3022 cleanup (such as moving the current file position for "file:").
3024 2001-07-12 John R. Jackson <jrj@purdue.edu>
3026 * Makefile.am: Fix automake warning.
3028 2001-07-11 John R. Jackson <jrj@purdue.edu>
3030 * tape-src/tapetype.c: Use tapefd_write() instead of write().
3032 2001-07-11 John R. Jackson <jrj@purdue.edu>
3034 * common-src/file.c: Fix a memory leak. Grab exponentially larger
3035 chunks of memory up to a point, then level out.
3037 2001-07-11 John R. Jackson <jrj@purdue.edu>
3039 * tape-src/tapetype.c: Only report a pass summary when stderr is not
3040 a tty. Deal with some obscure end cases.
3042 2001-07-10 John R. Jackson <jrj@purdue.edu>
3044 * server-src/Makefile.am: Backport development branch chg-scsi code
3046 * changer-src/chg-scsi.c: Ditto.
3047 * changer-src/libscsi.h: Ditto.
3048 * changer-src/scsi-aix.c: Ditto.
3049 * changer-src/scsi-bsd.c: Ditto.
3050 * changer-src/scsi-cam.c: Ditto.
3051 * changer-src/scsi-changer-driver.c: Ditto.
3052 * changer-src/scsi-defs.h: Ditto.
3053 * changer-src/scsi-hpux.c: Ditto.
3054 * changer-src/scsi-hpux_new.c: Ditto.
3055 * changer-src/scsi-irix.c: Ditto.
3056 * changer-src/scsi-linux.c: Ditto.
3057 * changer-src/scsi-solaris.c: Ditto.
3058 * changer-src/sense.c: Ditto.
3060 2001-07-10 John R. Jackson <jrj@purdue.edu>
3062 * server-src/amcheck.c: Move user name check before attempt to create
3063 temp files so more appropriate error message is generated.
3065 2001-07-09 John R. Jackson <jrj@purdue.edu>
3067 * common-src/dgram.c: Fix error end case unitialized variable.
3069 2001-07-05 John R. Jackson <jrj@purdue.edu>
3071 * docs/TAPE.CHANGERS: Minor docs/TAPE.CHANGERS update to clarify
3072 that -slot and -eject unload and put the current tape away.
3074 2001-07-02 John R. Jackson <jrj@purdue.edu>
3076 * changer-src/chg-manual.sh.in: Add yet another ONLINEREGEX, this one
3077 compliments of Nick (n_hibma@qubesoft.com) for some FreeBSD variant.
3079 2001-06-29 John R. Jackson <jrj@purdue.edu>
3081 * tape-src/tapeio.c: Move the device name parsing routines from the
3082 RAIT module to tapeio and make them generic. This allows one
3083 module to open another, e.g. rait:{null:,z1,z2,z3}. Maintain
3084 both the original open flags and mask and use them on the real open.
3085 * tape-src/amdd.c: Make sure this compiles "stand-alone". To do so,
3086 use: gcc -Wall -DNO_AMANDA amdd.c output-rait.c output-tape.c.
3087 Abort as soon as one of the open calls fails instead of waiting
3088 for read/write to report a bad file descriptor.
3089 Pass a mask to the open function in case the output is created.
3090 * tape-src/ammt.c: Make sure this compiles "stand-alone". To do so,
3091 use: gcc -Wall -DNO_AMANDA ammt.c output-rait.c output-tape.c.
3092 * tape-src/output-file.c: Maintain both the original open flags and
3093 mask and use them on the real open.
3094 * tape-src/output-null.c: Ditto.
3095 * tape-src/output-file.h: Change to non-prototype declaration of
3096 file_tape_open() to deal with the optional mask parameter.
3097 * tape-src/output-null.h: Ditto.
3098 * tape-src/output-tape.h: Ditto.
3099 * tape-src/tapeio.h: Ditto. Add device name parsing prototypes.
3100 * tape-src/output-rait.c: Make sure this compiles "stand-alone".
3101 Maintain both the original open flags and mask and use them on the
3103 * tape-src/output-rait.h: Make sure this compiles "stand-alone".
3104 * tape-src/output-tape.c: Make this part of the "stand-alone" compile
3105 of ammt and amdd since it knows all the proper ioctl operations.
3106 Maintain both the original open flags and mask and use them on the
3109 2001-06-27 John R. Jackson <jrj@purdue.edu>
3111 * changer-src/chg-manual.sh.in: Add "bs=32k" to the dd command so
3112 some kernels would not complain about the tape block being larger
3114 * changer-src/chg-mtx.sh.in: Ditto.
3116 2001-06-21 John R. Jackson <jrj@purdue.edu>
3118 * server-src/planner.c: If the compression rate is very small (such
3119 as zero after some types of errors) and FORCE_FULL is set, a path
3120 is taken that (among other bad things) generates a schedule that
3121 driver cannot read (syntax errors).
3122 * server-src/conffile.c: Do not allow negative comprate values.
3124 2001-06-19 John R. Jackson <jrj@purdue.edu>
3126 * server-src/holding.c: Use fullread() instead of read() to read the
3129 2001-06-19 John R. Jackson <jrj@purdue.edu>
3131 * server-src/amtape.c: Document "slot advance" in the help output.
3133 2001-06-19 John R. Jackson <jrj@purdue.edu>
3135 * server-src/amindexd.c: Minor gethostbyaddr() argument change to be
3136 consistent with other Amanda usage.
3138 2001-06-19 John R. Jackson <jrj@purdue.edu>
3140 * server-src/amverify.sh.in: Better cross platform tar detection.
3142 2001-06-19 John R. Jackson <jrj@purdue.edu>
3144 * server-src/amverify.sh.in: More of the vrestore vs. 'b' flag change.
3146 2001-06-19 John R. Jackson <jrj@purdue.edu>
3148 * recover-src/amrecover.c: Add more debugging to guess_disk()
3149 function to better track how the disk is determined from the
3150 current working directory. Report current working directory in
3151 error message. Change "Trying" to "Trying disk" to distinguish
3152 this from host attempts.
3153 * recover-src/set_commands.c: Remove redundant amfree() call. Remove
3154 redundant "OISD /" exchange. Change "Trying" to "Trying host" to
3155 distinguish this from disk attempts.
3157 2001-06-18 John R. Jackson <jrj@purdue.edu>
3159 * recover-src/extract_list.c: Do not pass a 'b' (blocking) factor
3160 flag to vrestore. Some versions do not like it.
3162 2001-06-18 John R. Jackson <jrj@purdue.edu>
3164 * common-src/dgram.c: Use a sin_addr arg to inet_ntoa() like all the
3166 * common-src/stream.c: Ditto.
3168 2001-06-18 John R. Jackson <jrj@purdue.edu>
3170 * changer-src/chg-manual.sh.in: Add yet another online regex. Found
3171 by George Herson <gherson@snet.net>.
3173 2001-06-01 John R. Jackson <jrj@purdue.edu>
3175 * server-src/amindexd.c (build_disk_table): Make sure a holding disk
3176 image is used rather than a copy also on tape, if both exist.
3178 2001-05-29 John R. Jackson <jrj@purdue.edu>
3180 * server-src/reporter.c: Fix PostScript output to only show what went
3181 on the tape, not what the total amount dumped. Compliments of
3182 Joshua Baker-LePain <jlb17@duke.edu>.
3184 2001-05-18 John R. Jackson <jrj@purdue.edu>
3186 * client-src/patch-system.sh.in: Missed a reference to kamanda in the
3187 last patch. Compliments of Tom Schutter <t.schutter@att.net>.
3189 2001-05-16 John R. Jackson <jrj@purdue.edu>
3191 * client-src/patch-system.sh.in: Go ahead and update /etc/services
3192 on a client even if the services themselves are not turned on to
3193 inetd. Compliments of Tom Schutter <t.schutter@att.net>. Add
3194 the TCP port for amandad for future use.
3196 2001-05-15 John R. Jackson <jrj@purdue.edu>
3198 * restore-src/amidxtaped.c: Call tape_stat() instead of stat() to
3199 decide if an image is a file or a tape.
3201 2001-05-14 John R. Jackson <jrj@purdue.edu>
3203 * client-src/amandad.c: Fix hang when the incoming packet size is
3204 larger than the pipe buffer. Also fix a buffer overflow bug.
3206 2001-05-11 John R. Jackson <jrj@purdue.edu>
3208 * changer-src/chg-scsi.c: Add support for "-slot advance".
3210 2001-05-11 John R. Jackson <jrj@purdue.edu>
3212 * common-src/util.c (bind_portrange): Log a debug message stating
3213 explicitly that all ports in the requested range were busy, or
3214 that a specific port failed bind() for an unexpected reason.
3216 2001-05-11 John R. Jackson <jrj@purdue.edu>
3218 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.2p2)
3220 2001-05-10 John R. Jackson <jrj@purdue.edu>
3222 * changer-src/scsi-changer-driver.c: Fix routine name in diagnostic
3223 messages for DLT4000Eject.
3225 2001-05-07 John R. Jackson <jrj@purdue.edu>
3227 * client-src/sendbackup-dump.c: Do not use full path to sed. Found by
3228 Roland E. Lipovits (rel@lipo.at0.net).
3230 2001-05-04 John R. Jackson <jrj@purdue.edu>
3232 * config/depcomp: Fix problem with argument processing and update to
3235 2001-04-25 John R. Jackson <jrj@purdue.edu>
3237 * changer-src/chg-rth.pl.in: Add exec_prefix back since it is usually
3238 used to define sbindir. Sigh. Include X=X assignments to get rid
3239 of the Perl warnings.
3240 * server-src/amoverview.pl.in: Ditto.
3242 2001-04-24 John R. Jackson <jrj@purdue.edu>
3244 * changer-src/chg-chio.pl.in: Remove unused exec_prefix to get rid of
3245 warning message. Patch from Nick Hibma <n_hibma@qubesoft.com>.
3247 2001-04-23 John R. Jackson <jrj@purdue.edu>
3249 * client-src/selfcheck.c: Allow Samba shares with no password.
3250 * client-src/sendbackup-gnutar.c: Ditto.
3251 * client-src/sendsize.c: Ditto.
3253 2001-04-21 John R. Jackson <jrj@purdue.edu>
3255 * tape-src/output-tape.c: Fix IRIX field reference (patch from Marc
3256 W. Mengel <mengel@fnal.gov>).
3258 2001-04-13 John R. Jackson <jrj@purdue.edu>
3260 * example/amanda.conf.in: Fix multiple holding disks comment.
3261 * example/amanda.conf.chg-scsi.in: Ditto, plus bring this file into
3262 sync with the base version.
3264 2001-04-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3266 * client-src/getfsent.h (search_fstab): New prototype.
3267 * client-src/getfsent.c (search_fstab): New arg check_dev, skip
3268 entry if check_dev==1 and device stats failed.
3269 * client-src/getfsent.c (open_fstab for linux): Open MOUNTED.
3270 * client-src/getfsent.c (close_fstab for linux): close MOUNTED.
3271 * client-src/getfsent.c (get_fstab_nextentry for linux): parse MOUNTED.
3272 * client-src/getfsent.c (amname_to_devname, amname_to_dirname,
3273 amname_to_fstype): Call search_fstab sequentialy with 1 and 0
3276 2001-04-10 John R. Jackson <jrj@purdue.edu>
3278 * docs/INSTALL: Update location to GNUPLOT per Lars Hecking
3281 2001-04-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3283 * config/config.guess: Upgrade from ftp://ftp.gnu.org/pub/gnu/config
3284 * config/config.sub: Upgrade from ftp://ftp.gnu.org/pub/gnu/config
3285 * config/mkinstalldirs: Upgrade from automake CVS.
3287 2001-04-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3289 * config/depcomp: new file for automake.
3291 2001-04-03 John R. Jackson <jrj@purdue.edu>
3293 * Makefile.am: Remove *.test.c from the distribution.
3295 2001-04-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3296 Upgrade to the 2.5.0 code.
3298 * changer-src/chg-zd-mtx.sh.in: Added barcode reader support,
3299 >9 tape slot support, variable for 'offline' or 'ONLINE'
3300 return value of tape device, and multi-config support. Moved
3301 all user settable variables to 'changerfile'.conf in the
3302 amanda config directory. Added commented out example of .conf
3304 * NEWS: updated chg-zd-mtx.sh.in changer.
3306 2001-04-02 John R. Jackson <jrj@purdue.edu>
3308 * NEWS: Initial notes for 2.4.2p2.
3310 2001-03-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3312 * client-src/getfsent.c (search_fstab): If the device doesn't
3313 exist, it will take the entry from /etc/mtab.
3315 2001-03-26 John R. Jackson <jrj@purdue.edu>
3317 * server-src/amtape.c: Do not rewind for slot "advance". Do not report
3318 device name (which is bogus) for slot "advance".
3320 2001-03-23 John R. Jackson <jrj@purdue.edu>
3322 * example/amanda.conf.in: Add warning that the sample amanda.conf
3323 will not work as is and must be edited to match the installation.
3325 2001-03-21 John R. Jackson <jrj@purdue.edu>
3327 * recover-src/extract_list.c (extract_files_child): Fix problem that
3328 caused xfsrestore arg list to not be NULL terminated.
3330 2001-03-19 John R. Jackson <jrj@purdue.edu>
3332 * configure.in: Add --with-debug-days (default is 4) and remove
3333 --with-pid-debug-files.
3334 * common-src/Makefile.am: Clean up test program dependencies.
3335 * common-src/debug.c: Create timestamped debug file names and remove
3336 files older (based on file name) than --with-debug-days. Rename old
3337 style names to new style (based on modification time) the first time
3339 * common-src/file.c: Use construct_datestamp() instead of private code.
3340 * common-src/genversion.c: Display AMANDA_DEBUG_DAYS and remove
3341 DEBUG_FILE_WITH_PID.
3342 * common-src/util.c: Move construct_datestamp to here and add new
3343 function construct_timestamp. Change time used to build string to
3344 be an optional parameter instead of always getting it in the routine.
3345 * common-src/util.h: Add prototypes.
3346 * server-src/amcleanupdisk.c: Change construct_datestamp call to pass
3347 indication that it should get the current time.
3348 * server-src/amflush.c: Ditto.
3349 * server-src/driver.c: Ditto.
3350 * server-src/dumper.c: Ditto.
3351 * server-src/planner.c: Ditto.
3352 * server-src/server_util.c: Remove construct_datestamp (now in util.c).
3353 * server-src/server_util.h: Remove prototype.
3355 2001-03-15 John R. Jackson <jrj@purdue.edu>
3357 * server-src/planner.c (analyze_estimate): Do not do an incremental
3358 if FORCE_NO_BUMP is set and the last dump was a level 0.
3360 2001-03-14 John R. Jackson <jrj@purdue.edu>
3362 * server-src/amcheck.c: Change message from NOTE to WARNING when
3363 the hold file exists.
3364 * man/amcheck.8.in: Ditto.
3366 2001-03-14 John R. Jackson <jrj@purdue.edu>
3368 * client-src/selfcheck.c: Send smbclient via pipe instead of command
3369 line arg. Various minor cleanups. Use pipespawn instead of system()
3370 to clean up quoting problems and be consistent with sendsize and
3372 * client-src/sendbackup-dump.c: Send smbclient via pipe instead of
3373 line arg. Various minor cleanups.
3374 * client-src/sendbackup-gnutar.c: Send smbclient via pipe instead of
3375 line arg. Various minor cleanups. Clean up listed incremental file
3377 * client-src/sendbackup.c: Various minor cleanups.
3378 * client-src/sendsize.c: Send smbclient via pipe instead of command
3379 line arg. Various minor cleanups. Clean up listed incremental file
3381 * common-src/pipespawn.c: Support optional password pipe. Various
3383 * common-src/pipespawn.h: Support optional password pipe. Various
3385 * common-src/util.c: Backport fullread() and fullwrite() from main
3387 * common-src/util.h: Backport fullread() and fullwrite() from main
3389 * docs/SAMBA: Update and cleanup.
3391 2001-03-13 John R. Jackson <jrj@purdue.edu>
3393 * recover-src/extract_list.c (extract_files_child): Fix xfsrestore
3394 argument list processing.
3396 2001-03-09 John R. Jackson <jrj@purdue.edu>
3398 * server-src/taper.c: Initialize tape_fd to -1 and test in a couple
3399 more places. Run normal protocol after a tape startup error (e.g.
3400 "cannot overwrite") instead of just exiting to keep driver from
3401 reporting a broken pipe.
3403 2001-03-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3404 Reported by Eric Schnoebelen <eric@cirr.com>
3406 * server-src/changer.c (): Fix fd leak.
3408 2001-02-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3410 * server-src/amadmin.c (info_one): typo.
3411 * server-src/planner.c (setup_estimate): Don't re-ask for level 0
3412 if last_level is 0 and FORCE_NO_BUMP is set.
3414 2001-02-27 John R. Jackson <jrj@purdue.edu>
3416 * common-src/stream.h: Move DATABUF_SIZE to stream.h.
3417 * client-src/sendbackup.c: Do not ask for a big receive buffer.
3418 * server-src/dumper.c: Ask for a bigger send buffer. Minor typos.
3419 * server-src/taper.c: Ask for a bigger receive buffer.
3420 * recover-src/amrecover.c: Use stream_client instead of specific
3421 (and incorrect) bind() code.
3422 * recover-src/extract_list.c: Ditto.
3424 2001-02-27 John R. Jackson <jrj@purdue.edu>
3426 * common-src/dgram.c: Add lots more error logging to help track down
3429 2001-02-27 John R. Jackson <jrj@purdue.edu>
3431 * common-src/stream.c: Add lots more error logging to help track down
3434 2001-02-27 John R. Jackson <jrj@purdue.edu>
3436 * server-src/amtape.c: Rewind after loading a slot either by slot
3439 2001-02-27 John R. Jackson <jrj@purdue.edu>
3441 * configure.in: Copy ssize_t type check code from main branch.
3443 2001-02-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3445 * docs/SYSTEM.NOTES: change cs.umd.edu by amanda.org.
3447 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3449 * server-src/amindexd.c (uncompress_file): remove uncompressed
3450 index file if the command failed.
3452 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3454 * changer-src/scsi-changer-driver.c (GenericRewind): init ret to 0
3455 to remove compiler warning.
3457 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3459 * server-src/planner.c (setup_estimate): ask for level 0 for
3460 a new disk if force-bump is set,
3461 log force-bump and force-nobump command.
3463 2001-02-21 Thomas Hepper <thqant.han.de>
3464 * changer-src/scsi-changer-driver.c: Do an Test Unit Ready
3465 before sending SCSI commands in GenericRewind
3466 * changer-src/chg-scsi.c: Fixed an type in the debug print
3469 2001-02-09 John R. Jackson <jrj@purdue.edu>
3471 * server-src/diskfile.c: Fix core dump in test program.
3473 2001-02-09 John R. Jackson <jrj@purdue.edu>
3475 * tape-src/output-file.c: Use a "data" subdirectory of the main
3476 file driver device directory to hold the tape "files". This
3477 allows the status file to be moved to the main directory.
3478 * man/amanda.8.in: Document these changes.
3480 2001-02-05 John R. Jackson <jrj@purdue.edu>
3482 * man/amanda.8.in: Fix mailto to space separated, not comma.
3484 2001-02-03 John R. Jackson <jrj@purdue.edu>
3486 * .cvsignore: Add entries to keep CVS quiet.
3487 * */.cvsignore: Ditto.
3489 2001-02-03 John R. Jackson <jrj@purdue.edu>
3491 * client-src/Makefile.am: Add CLEANFILES rule to remove *.test.c.
3492 * common-src/Makefile.am: Add more sources as needed to the test
3493 programs so they would compile.
3494 * server-src/Makefile.am: Create TEST_PROGS make variable ala the
3495 other Makefile.am files.
3496 * tape-src/Makefile.am: Add CLEANFILES rule to remove *.test.c.
3498 2001-02-02 John R. Jackson <jrj@purdue.edu>
3500 * server-src/reporter.c: Fix problem with enum being unsigned on
3503 2001-01-29 John R. Jackson <jrj@purdue.edu>
3505 * tape-src/output-tape.c (tape_tapefd_status): Convert flag values
3506 to booleans (compliments of Marc W. Mengel <mengel@fnal.gov>).
3507 * tape-src/tapeio.c (tape_fsf): Use ap_snprintf instead of snprintf
3508 (also compliments of Marc).
3510 2001-01-26 John R. Jackson <jrj@purdue.edu>
3512 * changer-src/Makefile.am: Double up the references to libamanda to
3513 handle systems that put regex in strange places.
3514 * client-src/Makefile.am: Ditto.
3515 * recover-src/Makefile.am: Ditto.
3516 * restore-src/Makefile.am: Ditto.
3517 * server-src/Makefile.am: Ditto.
3518 * tape-src/Makefile.am: Ditto.
3520 2001-01-24 John R. Jackson <jrj@purdue.edu>
3522 * docs/VTAPE-API: Added.
3524 2001-01-23 John R. Jackson <jrj@purdue.edu>
3526 * configure.in: Add tapeio switch from Marc Mengel <mengel@fnal.gov>,
3527 enhance and add "null" and "file" output drivers. Change all
3528 tape changers (except chg-scsi) to use amdd and ammt. Change all
3529 tape changers (except chg-scsi) to log and use a consistent
3530 error reporting scheme. Fix various bugs along the way. Add new
3531 chg-multi config option, posteject, which is an optional script
3532 to call after each "tape" is ejected (e.g. to use to start a
3533 CDROM writer). Remove special code for tapedev of /dev/null
3534 (now handled by the "null" output driver). Changed the taper
3535 protocol to pass the host/disk/level so the write can send that
3536 along to the output driver. Fairly major rework of amrestore
3537 to clean up tape/non-tape and other oddities.
3538 * changer-src/chg-chio.pl.in: Ditto.
3539 * changer-src/chg-chs.sh.in: Ditto.
3540 * changer-src/chg-manual.sh.in: Ditto.
3541 * changer-src/chg-mtx.sh.in: Ditto.
3542 * changer-src/chg-multi.sh.in: Ditto.
3543 * changer-src/chg-rth.pl.in: Ditto.
3544 * changer-src/chg-zd-mtx.sh.in: Ditto.
3545 * client-src/sendbackup.c: Ditto.
3546 * common-src/alloc.c: Ditto.
3547 * common-src/amanda.h: Ditto.
3548 * docs/INTERNALS: Ditto.
3549 * man/Makefile.am: Ditto.
3550 * man/amanda.8.in: Ditto.
3551 * man/amdd.8: Ditto.
3552 * man/ammt.8: Ditto.
3553 * restore-src/amrestore.c: Ditto.
3554 * server-src/amcheck.c: Ditto.
3555 * server-src/amlabel.c: Ditto.
3556 * server-src/amtape.c: Ditto.
3557 * server-src/amverify.sh.in: Ditto.
3558 * server-src/conffile.c: Ditto.
3559 * server-src/conffile.h: Ditto.
3560 * server-src/taper.c: Ditto.
3561 * tape-src/Makefile.am: Ditto.
3562 * tape-src/amdd.c: Ditto.
3563 * tape-src/ammt.c: Ditto.
3564 * tape-src/output-file.c: Ditto.
3565 * tape-src/output-file.h: Ditto.
3566 * tape-src/output-null.c: Ditto.
3567 * tape-src/output-null.h: Ditto.
3568 * tape-src/output-rait.c: Ditto.
3569 * tape-src/output-rait.h: Ditto.
3570 * tape-src/output-tape.c: Ditto.
3571 * tape-src/output-tape.h: Ditto.
3572 * tape-src/tapeio.c: Ditto.
3573 * tape-src/tapeio.h: Ditto.
3574 * tape-src/tests/amtapeio.test.000: Ditto.
3575 * tape-src/tests/amtapeio.test.001: Ditto.
3576 * tape-src/tests/amtapeio.test.002: Ditto.
3577 * tape-src/tests/amtapeio.test.003: Ditto.
3578 * tape-src/tests/amtapeio.test.004: Ditto.
3579 * tape-src/tests/amtapeio.test.005: Ditto.
3580 * tape-src/tests/amtapeio.test.006: Ditto.
3581 * tape-src/tests/amtapeio.test.007: Ditto.
3582 * tape-src/tests/amtapeio.test.008: Ditto.
3583 * tape-src/tests/amtapeio.test.009: Ditto.
3584 * tape-src/tests/amtapeio.test.010: Ditto.
3585 * tape-src/tests/amtapeio.test.011: Ditto.
3586 * tape-src/tests/amtapeio.test.012: Ditto.
3587 * tape-src/tests/amtapeio.test.013: Ditto.
3588 * tape-src/tests/amtapeio.test.014: Ditto.
3589 * tape-src/tests/amtapeio.test.015: Ditto.
3590 * tape-src/tests/amtapeio.test.016: Ditto.
3591 * tape-src/tests/amtapeio.test.017: Ditto.
3592 * tape-src/tests/amtapeio.test.018: Ditto.
3593 * tape-src/tests/cleartape: Ditto.
3594 * tape-src/tests/newtest: Ditto.
3595 * tape-src/tests/rerun: Ditto.
3596 * tape-src/tests/runtest: Ditto.
3597 * tape-src/tests/testdist: Ditto.
3598 * tape-src/tests/torture: Ditto.
3600 2001-01-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3602 * server-src/driverio.h (sched_t): new field no_space.
3603 * server-src/driver.c (start_some_dumps): don't start a disk if
3605 * server-src/driver.c (continue_dumps): set no_space if it's the
3606 only active dumpers, case c.
3607 * server-src/driver.c (read_schedule): set no_space to 0.
3609 2001-01-23 John R. Jackson <jrj@purdue.edu>
3611 * configure.in: Test for setmntent.
3612 * client-src/getfsent.c: Add some support for Redhat 7 /etc/fstab
3613 changes that indirectly reference the device for a file system.
3615 2001-01-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3617 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.4.2p1)
3619 2001-01-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3621 * NEWS: 2.4.2p1 is a bug fix release.
3623 2001-01-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3625 * docs/INSTALL: Notes about tar-1.13.19
3627 2001-01-07 Thomas Hepper <th@ant.han.de>
3629 * changer-src/chg-scsi.c: Moved defs. for config_t and changer_t
3631 New option havebarcode to force the reading of the barcode labels
3632 * changer/src/scsi-changer-driver.c: GenericBarCode now returns
3633 true/false depending on the setting of havebarcode.
3634 Removed EXB230DElementStatus, the exsisting Exabyte function works.
3635 Fixed more warnings from -Wshadow
3637 2001-01-04 John R. Jackson <jrj@purdue.edu>
3639 * common-src/error.c (error): If the debug file pointer is set, log
3640 any fatal error message to it and close the file so it has a good
3641 trace of what happened and when.
3643 2001-01-04 John R. Jackson <jrj@purdue.edu>
3645 * client-src/killpgrp.c: Calls to error() do not need a newline.
3647 2001-01-04 John R. Jackson <jrj@purdue.edu>
3649 * man/amanda.8.in: Try to make it clearer that dumpcycle and maxdumps
3650 changes in the main part of the config file must appear before any
3651 dumptype definitions, and also that inherited dumptypes must appear
3652 before their reference.
3654 2001-01-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3656 * server-src/driver.c (continue_dumps): Don't reduce est_size if
3657 it is already larger than holding space allocated.
3658 * server-src/dumper.c: Better handling of ENOSPC from open() and
3661 2001-01-04 John R. Jackson <jrj@purdue.edu>
3663 * server-src/conffile.c (main): Fix conffile test program so it builds
3666 2001-01-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3668 * changer-src/scsi-defs.h (ChangerCMD_T): replace array function
3669 pointer by enumerated pointers.
3670 * changer-src/scsi-changer-driver.c: Use new calling convention.
3672 2001-01-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3674 * server-src/amstatus.pl.in: Better support for TRY-AGAIN and
3675 ABORT-FINISHED result.
3677 2001-01-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3678 Patch by Andreas F Mueller <afm@othello.ch>
3680 * server-src/amadmin.c (force_no_bump_one): Fix message.
3682 2000-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3684 * server-src/planner.c (analyze_estimate): pick incremental level
3685 if no estimate of level 0.
3687 2000-12-24 John R. Jackson <jrj@purdue.edu>
3689 * server-src/getconf.c: Fix free() of static text string (BUGGY) when
3690 the parameter being looked up is bad.
3692 2000-12-23 David Wolfskill <dhw@whistle.com>
3694 * server-src/amcheck.c (start_server_check): Change directory
3695 writable check to be for the tapelist directory instead of
3696 the config file directory. Remove config file directory test.
3697 * man/amcheck.8.in: Add mention of tapelist directory and do
3698 some other directory writable cleanup.
3700 2000-12-13 John R. Jackson <jrj@purdue.edu>
3702 * docs/Makefile.am: Removing entries for missing RAIT/VTAPE-API files.
3704 2000-12-13 John R. Jackson <jrj@purdue.edu>
3706 * tape-src/tapeio.c: De-commit the RAIT feature from 2.4.2. It will
3707 be in 2.5 and 2.4.2-multitape.
3708 * tape-src/tapeio.h: Ditto.
3709 * tape-src/Makefile.am: Ditto.
3711 2000-12-12 John R. Jackson <jrj@purdue.edu>
3713 * client-src/sendbackup-gnutar.c: Fix regex pattern to accept blanks
3716 2000-12-12 John R. Jackson <jrj@purdue.edu> and Marc Mengel <mengel@fnal.gov>
3718 * Makefile.am: Work around problem with automake 1.4 not including
3720 * docs/RAIT: New file.
3721 * docs/VTAPE-API: New file.
3722 * docs/Makefile.am: Include RAIT and VTAPE-API in distribution.
3723 Work around problem with automake 1.4 not including pkgdata_DATA.
3724 * tape-src/output-rait.h: New File providing RAIT virtual tape type.
3725 * tape-src/output-rait.c: New File providing RAIT virtual tape type.
3726 * tape-src/Makefile.am: Add output-rait.c.
3727 * tape-src/tapeio.c: Major Surgery.
3728 (vtable): New static table of virtual tape types.
3729 (fdtable): New static table mapping file descriptors.
3730 (tapefd_fsf_ioctl): Renamed tapefd_fsf, with added ioctl argument.
3731 (tapefd_rewind_ioctl): Likewise.
3732 (tapefd_unload_ioctl): Likewise.
3733 (tapefd_weof_ioctl): Likewise.
3734 (tapefd_status_ioctl): Likewise.
3735 (tape_open): Now is a virtual tape table lookup and call.
3736 (tape_access): Now is a switch through virtual tape table.
3737 (tape_stat): Likewise.
3738 (tapefd_close): Likewise.
3739 (tapefd_fsf): Likewise.
3740 (tapefd_read): Likewise.
3741 (tapefd_rewind): Likewise.
3742 (tapefd_resetofs): Likewise.
3743 (tapefd_unload): Likewise.
3744 (tapefd_status): Likewise.
3745 (tapefd_weof): Likewise.
3746 (tapefd_write): Likewise.
3747 (plain_tape_access): Rename of tape_access.
3748 (plain_tape_open): Likewise.
3749 (plain_tapefd_read): Likewise.
3750 (plain_tape_stat): Likewise.
3751 (plain_tapefd_write): Likewise.
3752 (plain_tapefd_close): Likewise.
3753 (plain_tapefd_fsf): Now calls tapefd_fsf_ioctl with &ioctl().
3754 (plain_tapefd_rewind): Likewise.
3755 (plain_tapefd_resetofs): Likewise.
3756 (plain_tapefd_unload): Likewise.
3757 (plain_tapefd_status): Likewise.
3758 (plain_tapefd_weof): Likewise.
3760 2000-12-07 Thomas Hepper <th@ant.han.de>
3762 changer-src/scsi-changer-driver.c: Added Exabyte 230D Sense Handler
3763 (patch from Gary Algier gaa@ulticom.com)
3764 Fixed some compile warnings (-Wshadow)
3765 changer-src/scsi-solaris.c: Changed the return Value from
3766 SCSI_ExecuteCommand to the value of Command.uscsi_status if
3767 the return value of the ioctl is > 0
3769 2000-12-04 John R. Jackson <jrj@purdue.edu>
3771 server-src/amdump.sh.in: Temporary fix for $LOGNAME vs whoami problem.
3773 2000-12-04 John R. Jackson <jrj@purdue.edu>
3775 * common-src/security.c: Make the "./security" test code available
3776 for normal operation by #define so it can be seen in, e.g., the
3777 */amandad*debug file.
3779 2000-12-04 John R. Jackson <jrj@purdue.edu>
3781 * server-src/conffile.c (read_conffile_recursively): If the file name
3782 for the includefile directive is not absolute, make it relative to
3783 the configuration directory.
3785 2000-12-03 John R. Jackson <jrj@purdue.edu>
3787 * restore-src/amrestore.c: Fix header when compression is included.
3788 Use "fast" option for -c and add new -C option to get "best".
3789 * man/amrestore.8: Document the new option, the compression level,
3790 and clean up some nroff issues.
3792 2000-11-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3794 * Amanda 2.4.2 released
3796 2000-11-22 John R. Jackson <jrj@purdue.edu>
3798 * contrib/dbbackup.ksh: Deal with adm being a symlink.
3799 * contrib/dbbackup.tcl: Update for Tcl 8.3 and newer Oratcl versions.
3801 2000-11-22 John R. Jackson <jrj@purdue.edu>
3803 * Makefile.am: Forgot to add contrib/sst/README.Amanda to the list
3804 of files to put in a distribution.
3806 2000-11-21 John R. Jackson <jrj@purdue.edu>
3808 * recover-src/extract_list.c (extract_files_child): Add support for
3811 2000-11-21 John R. Jackson <jrj@purdue.edu>
3813 * server-src/amcheck.c: Minor message wording changes.
3815 2000-11-21 John R. Jackson <jrj@purdue.edu>
3817 * configure.in: Forgot to check in this part of new amgetconf.8.in.
3819 2000-11-21 John R. Jackson <jrj@purdue.edu>
3821 * contrib/sst/README.Amanda: New file of Amanda specific sst notes.
3822 * contrib/sst/sst.c: Attempt at letting gcc compile sst.
3824 2000-11-21 John R. Jackson <jrj@purdue.edu>
3826 * man/amgetconf.8.in: New man page.
3827 * man/Makefile.am: Add support for amgetconf.8.in.
3828 * man/amadmin.8.in: Update for 2.4.2 and do general cleanup.
3829 * man/amanda.8.in: Ditto.
3830 * man/amcheck.8.in: Ditto.
3831 * man/amcheckdb.8.in: Ditto.
3832 * man/amcleanup.8.in: Ditto.
3833 * man/amdump.8.in: Ditto.
3834 * man/amflush.8.in: Ditto.
3835 * man/amlabel.8.in: Ditto.
3836 * man/amrecover.8.in: Ditto.
3837 * man/amreport.8.in: Ditto.
3838 * man/amrestore.8: Ditto.
3839 * man/amrmtape.8.in: Ditto.
3840 * man/amstatus.8.in: Ditto.
3841 * man/amtape.8: Ditto.
3842 * man/amtoc.8.in: Ditto.
3843 * man/amverify.8.in: Ditto.
3845 2000-11-21 John R. Jackson <jrj@purdue.edu>
3847 * contrib/sst/sst.c (sst_ioctl): Allow non-root users to use sst.
3849 2000-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3851 * server-src/amdump.sh.in: exit if amgetconf exit with status != 0.
3852 * server-src/amcleanup.sh.in: ditto
3853 * server-src/amstatus.pl.in: ditto
3855 2000-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3857 * server-src/driver.c (start_some_dumps): don't check free_kps if
3859 * server-src/driver.c (free_kps): remove the kludge.
3861 2000-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3863 * server-src/conffile.c: It's an error to have a negative chunksize.
3864 * man/amanda.8.in: remove documentation of negative chunksize.
3865 * example/amanda.conf.in: ditto
3866 * example/amanda.conf.chg-scsi.in:ditto
3867 * NEWS: negative chunksize is no longer supported.
3869 2000-11-03 John R. Jackson <jrj@purdue.edu>
3871 * server-src/driver.c (handle_taper_result): the holding disk entry
3872 should not be removed just because taper could not write it out in
3873 the "too many taper retries" case. It should be left for amflush.
3875 2000-11-01 John R. Jackson <jrj@purdue.edu>
3877 * server-src/amverify.sh.in: use common form for getting the first
3878 line of a file/pipe. Sed is more portable than head.
3880 2000-11-01 John R. Jackson <jrj@purdue.edu>
3882 * common-src/security.c (bsd_security_ok): Same fix for amwait_t !=
3883 int as applied a while back to changer.c. Compliments of John E.
3884 Hein <jhein@timing.com>.
3886 2000-10-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3888 * client-src/selfcheck.c (check_disk): Write an appropriate
3889 message if the disk name start with '//' and the program is DUMP
3890 or SAMBA is not compiled in.
3892 2000-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3894 * server-src/driver.c (continue_dumps): set estimate to more than
3895 what is already use instead of setting no_hold=1 when a disk
3896 don't fit on holding disk.
3898 2000-10-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3900 * server-src/amstatus.pl.in: add '&' when calling &usage()
3903 2000-10-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3904 reported by The Hermit Hacker <scrappy@hub.org>
3906 * changer-src/chg-chio.pl.in: remove unused $libexecdir.
3908 2000-10-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3909 reported by The Hermit Hacker <scrappy@hub.org>
3911 * changer-src/chg-chio.pl.in: remove comma after LOG,
3912 typo: r should be 0.
3914 2000-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3916 * docs/INDEXING: doc updated.
3918 2000-10-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3920 * changer-src/scsi-defs.h: prototype SCSI_Inquiry, PrintInquiry,
3921 DecodeSCSI, ChangerReplay, BarCode and MapBarCode.
3922 * changer-src/scsi-linux.c: fix compiler warning.
3923 * changer-src/scsi-changer-driver.c: fix compiler warning.
3925 2000-10-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3927 * changer-src/chg-scsi.c: remove rcsid.
3928 * changer-src/scsi-aix.c: remove rcsid, add amanda Copyright.
3929 * changer-src/scsi-bsd.c: remove rcsid, add amanda Copyright.
3930 * changer-src/scsi-changer-driver.c: remove rcsid, add amanda Copyright.
3931 * changer-src/scsi-defs.h: add amanda Copyright.
3932 * changer-src/scsi-hpux.c: remove rcsid.
3933 * changer-src/scsi-hpux_new.c: remove rcsid, add amanda Copyright.
3934 * changer-src/scsi-irix.c: remove rcsid, add amanda Copyright.
3935 * changer-src/scsi-linux.c: remove rcsid, add amanda Copyright.
3936 * changer-src/scsi-solaris.c: remove rcsid, add amanda Copyright.
3938 2000-10-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3940 * AUTHORS: add Thomas Hepper.
3942 2000-10-14 Thomas Hepper <th@ant.han.de>
3944 * changer-src/scsi-changer-driver.c: Added support for the TreeFrog
3945 library (barcode support), fixed some signal 11 problems in the
3946 output of chg-scsi -status
3947 Removed unused variables
3948 * changer-src/chg-scsi.c: same
3949 * changer-src/scsi-defs.h: same
3951 2000-10-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3953 * server-src/amverify.sh.in: grep only the first line of the header.
3955 2000-10-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3957 * server-src/amverify.sh.in: verify with tar even if the
3958 server and the client are not configured with the same path.
3960 2000-10-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3962 * NEWS: A new `ctimeout' keyword in amanda.conf to replace
3963 the CHECK_TIMEOUT constant in amcheck.c.
3965 2000-10-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3967 * server-src/amlabel.c: Don't set tape_ok to 0 if
3968 tape_wrlabel is successful.
3970 2000-10-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3972 * server-src/taper.c: amfree(strclosing).
3974 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3976 * configure.in: --with-samba-user is deprecated.
3977 * docs/SAMBA: the username is now on the amandapass file.
3978 * NEWS: the username is now on the amandapass file.
3979 * client-src/findpass.c (findpass): accept "*" as diskname.
3980 * client-src/selfcheck.c (check_disk): call to samba changed.
3981 * client-src/sendsize.c (getsize_smbtar): ditto.
3982 * client-src/sendbackup-gnutar.c (start_backup): ditto.
3983 * recover-src/extract_list.c (extract_files_child): ditto.
3985 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3987 * server-src/dumper.c (write_tapeheader): set errno = ENOSPC
3988 and return -1 if is not fully written.
3990 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3992 * server-src/taper.c: give better message when failing
3995 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
3997 * server-src/diskfile.c (headqueue_disk): new function to
3998 insert at the head of the queue.
3999 * server-src/diskfile.h (headqueue_disk): prototype.
4000 * server-src/driver.c (handle_taper_result,dump_to_tape):
4001 insert with headqueue_disk() after a TRY-AGAIN.
4003 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4005 * server-src/dumper.c (do_dump): wait for index compress
4006 process to terminate before renaming the index file.
4008 2000-10-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4010 * AUTHORS: fix my email address.
4012 2000-09-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4014 * server-src/amcheck.c: Don't accept -m or -M option if MAILER
4016 * server-src/reporter.c: Need a -f optionn if MAILER is not defined.
4018 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4019 patch by <jeg@time.ucsc.edu>
4021 * server-src/reporter.c (output_summary): check for tape_labels.
4023 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4025 * server-src/amindexd.c: use strcasecmp to compare hostname.
4027 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4029 * server-src/amstatus.pl.in: fix plural misuse.
4031 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4033 * man/amanda.8.in: add all pages in the SEE ALSO section.
4035 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4037 * client-src/sendbackup.c: set estr=NULL if the exclude
4040 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4042 * client-src/sendbackup-gnutar.c: use exclude string estr
4045 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4047 * man/amreport.8.in: amreport does not rotate the log.
4048 * man/amrestore.8: note on holdingdisk.
4049 * restore-src/amrestore.c: update usage.
4050 * server-src/amrmtape.sh.in: update usage.
4051 * server-src/amverify.sh.in.usage: update usage.
4053 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4055 * server-src/amoverview.pl.in: update usage information,
4056 -config is no longer needed for ccompatibility with other program.
4057 * man/amoverview.8.in: -config is no longer needed.
4059 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4061 * server-src/amadmin.c (usage): show disklist command.
4063 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4065 * example/amanda.conf.in: chunk should not be larger than
4066 MAX_FILE_SIZE - 1Mb.
4068 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4070 * client-src/sendsize.c (getsize_smbtar): remove unused debug_level
4072 * server-src/amlabel.c (main): init errstr to NULL,
4073 fix compiler warning.
4075 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4076 patch by jason Thomas <jet@users.sourceforge.net>
4078 * tape-src/tapetype.c: fix help message.
4080 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4081 patch by Rudolf Cejka <cejkar@users.sourceforge.net>
4083 * common-src/file.c (mkpdir): check p != NULL
4084 * man/amstatus.8.in: typo
4086 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4087 patch by Rudolf Cejka <cejkar@users.sourceforge.net>
4089 * client-src/calcsize.c:sets correct program name,
4090 prevent coredumps and some improrer command line error mesages
4092 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4094 * common-src/amanda.h: prototype clean_regex().
4095 * common-src/match.c: new function clean_regex() that escape
4096 all non-alphanumeric character.
4097 * recover-src/extract_list.c (add_file, delete_file): use clean_regex().
4099 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4101 * server-src/amcheck.c: (start_server_check): check for the oldlog
4104 2000-09-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4106 * server-src/amtrmlog.c: better check of the oldlog directory.
4108 2000-09-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4110 * server-src/amcheck.c: (start_server_check): don't check the tape
4111 if tapedev is /dev/null.
4113 2000-09-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4115 * server-src/reporter.c (output_tapeinfo): test reversed for run_tapes.
4117 2000-08-01 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4119 * client-src/sendbackup-gnutar.c (start_backup) <taropt>:
4120 NULL-terminate it correctly.
4122 2000-07-18 John R. Jackson <jrj@purdue.edu>
4124 * changer-src/chg-chio.pl.in (do_time): fix chg-chio.pl timestamp
4125 function to return a string instead of writing to stdout.
4127 2000-07-18 John R. Jackson <jrj@purdue.edu>
4129 * server-src/taper.c (file_reader_side): detach and destroy shared
4130 memory areas on an error condition. Found by Patrik Andersin
4133 2000-07-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4135 * client-src/sendsize.c (getsize_dump,getsize_gnutar): set
4136 dumppid to the return value of pipespawn.
4138 2000-06-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4140 * client-src/sendbackup.c (parse_options): set efile.
4142 2000-06-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4144 * server-src/list_dir.c (add_dir_list_item): add at head of list.
4146 2000-06-12 Jeroen Ruigrok van der Werven <asmodai@wxs.nl>
4148 * server-src/amlabel.c (main): Do not amfree(config_name).
4150 2000-06-03 Thomas Hepper <th@ant.han.de>
4152 * changer-src/scsi-defs.h: Add missing defines which are used by the
4154 * changer-src/scsi-solaris.c: Added patch to limit the recursion
4155 in Scsi_ExecuteCommand.
4157 2000-06-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4159 * server-src/holding.c (pick_datestamp): convert ch to upper.
4161 2000-05-28 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4163 * client-src/sendbackup-gnutar.c: Ignore `socket ignored' GNU tar
4166 2000-05-27 Ian Turner <vectro@pipeline.com>
4167 * client-src/sendbackup.c (pipespawn): Moved to...
4168 * common-src/pipespawn.c: ... new file. Redirect all std
4169 streams. Support skipping arguments.
4170 * common-src/pipespawn.h (pipespawn, skip_argument): Declare.
4171 * common-src/Makefile.am (noinst_HEADERS): Added pipespawn.h.
4172 (libamanda_la_SOURCES): Added pipespawn.c.
4173 * client-src/sendbackup-dump.c, client-src/sendbackup-gnutar.c:
4176 2000-04-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4178 * server-src/amstatus.pl.in: typo
4180 2000-04-20 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4182 * recover-src/Makefile.am (LDADD): Removed libamtape.
4183 Reported by Paul Yeatman <pyeatman@ucsd.edu>
4185 2000-04-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4187 * server-src/taper.c: don't crash if the tapelist file
4190 2000-04-09 Frank Wojcik <fwojcik@lucent.com>
4192 * server-src/taper.c (detach_buffers): Fixed typo in error message.
4194 * server-src/amrmtape.sh.in: Fix occurrence of `Infofile', that
4195 should have been `InfoFile'.
4197 2000-04-09 Davide Marchignoli <marchign@di.unipi.it>
4199 * server-src/conffile.h (confparm_t): Added CTIMEOUT.
4200 * server-src/conffile.c: Added ctimeout support. Default to 30.
4201 * example/amanda.conf.in: Likewise.
4202 * man/amanda.8.in: Documented it.
4203 * server-src/amcheck.c: Use ctimeout from configuration file instead
4206 2000-04-09 Stan Brown <stanb@awod.com>
4208 * recover-src/amrecover.c (guess_disk): Omit DEV_PREFIX only if
4209 it is actually a prefix of fsname.
4211 2000-04-09 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4213 * server-src/amlabel.c (main): Check label *after* writing end mark.
4215 2000-03-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4217 * server-src/amlabel.c: don't crash if the tapelist file
4220 2000-02-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4222 * server-src/amstatus.pl.in: "0 dumpers busy" should be "0 dumper busy".
4224 2000-02-08 Thomas Hepper <th@ant.han.de>
4226 * changer-src/scsi-linux.c (SCSI_ExecuteCommand) : Direction for the
4227 memcpy for the sense result was wrong, so every time the sense result
4230 * changer-src/scsi-changer-driver.c (GenericElementStatus) : Added
4231 flag to signal if it is either a tape drive or a library.
4233 2000-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4235 * server-src/amadmin.c (force_one, force_bump_one): FORCE_FULL
4236 and FORCE_BUMP are mutually exclusive.
4238 2000-01-30 Thomas Hepper <th@ant.han.de>
4240 * changer-src/chg-scsi.c : Exit it tapedev in amanda.conf is not a
4243 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4245 * server-src/amstatus.pl.in (prefix, exec_prefix): Refer to them
4246 twice to avoid warnings of possible typo.
4248 * amplot/amplot.awk: Ignore dumper's RQ-MORE-DISK.
4249 Reported by David Wolfskill <dhw@whistle.com>
4250 * amplot/amplot.awk: Handle taper's TRY-AGAIN like TAPE-ERROR.
4252 * server-src/amstatus.pl.in: Compute and display TRY-AGAIN tape
4254 Reported by David Wolfskill <dhw@whistle.com>
4256 * man/amtoc.8.in: Document -w.
4258 2000-01-21 David Wolfskill <dhw@whistle.com>
4260 * server-src/amtoc.pl.in: Add `-w' to add new lines and form feeds.
4262 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4264 * man/amlabel.8.in: Tapes are no longer requested in reverse order
4266 Reported by Brad Guillory <round@baileylink.net>
4268 * server-src/amstatus.pl.in: New option --stats, to display
4269 statistics about dumpers and taper.
4270 * man/amstatus.8.in: Document it.
4272 2000-01-21 David Wolfskill <dhw@whistle.com>
4274 * server-src/amstatus.pl.in: Sort dumpers by number.
4276 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4278 * server-src/amstatus.pl.in: Remove bogus (?) line `$$host=1'.
4280 * configure.in (MAILER): Warn or print an error if not found,
4281 depending on whether server code is disabled or not.
4283 * server-src/reporter.c (output_tapeinfo): Report used tapes
4284 regardless of tape errors.
4286 * config/acinclude.m4i (CF_WAIT): Simplify the test. Declare wait()
4287 in the global scope.
4289 2000-01-21 Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
4291 * config/acinclude.m4i (CF_WAIT): Avoid warnings on systems
4292 where `union wait' works but is deprecated.
4294 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4296 * recover-src/uscan.l (settape): Recognize it.
4297 * recover-src/uparse.y: Parse it.
4298 * recover-src/amrecover.h (set_tape): Declare it.
4299 * recover-src/set_commands.c (set_tape): Implement it.
4300 * recover-src/help.c (help_list): Document it.
4301 * man/amrecover.8.in: Likewise.
4302 * recover-src/extract_list.c (extract_files): Warn if tape device is
4304 * recover-src/amrecover.c (tape_device_name): Default to
4305 server-determined default.
4307 2000-01-17 Thomas Hepper <th@ant.han.de>
4308 * changer-src/scsi-changer-driver.c : Typo in CheckMove fixed .
4310 2000-01-17 Thomas Hepper <th@ant.han.de>
4312 * configure.in: check for scsi/sg.h on linux, and if true
4315 * changer-src/chg-scsi.c : New option -trace for debuging...
4316 new option changer_ident to set the internal driver for the changer
4318 * hanger-src/scsi-hpux_new.c: New function Tape_Status.
4319 returns the status of the tape. (loaded/empty etc)
4320 * changer-src/scsi-aix.c : Dummy function for Tape_Status
4321 * changer-src/scsi-bsd.c : Dummy function for Tape_Status
4322 * changer-src/scsi-irix.c : Dummy function for Tape_Status
4323 * changer-src/scsi-solaris.c : Dummy function for Tape_Status
4324 * changer-src/scsi-linux.c : Added better support for the sg driver.
4325 * changer-src/scsi-changer-driver.c : New driver for ADIC SDX and DLT448
4327 new function SDXMove for SDX library
4328 new function CheckMove to check if a move is legal based on the infs
4329 we get from the Mode Sense command
4330 * changer-src/scsi-defs.h : Added types returned by Tape_Status
4332 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4334 * server-src/driver.c (handle_dumper_result): When failed, set
4335 dp->inprogress to 0, not 1.
4337 2000-01-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4339 * configure.in: Recognize alpha*-*-linux-* and sparc*-*-linux-*.
4341 * tape-src/Makefile.am (../common-src/libamanda.$(LIB_EXTENSION)):
4342 Allow for `make tapetype' before libamanda is built.
4344 * server-src/amoverview.pl.in: Year doesn't take just 2 bytes.
4346 2000-01-06 David Wolfskill <dhw@whistle.com>
4348 * docs/TAPETYPES: Typo.
4350 2000-01-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4352 * docs/TAPETYPES: Removed all tapetype entries. Pointed to
4353 example/amanda.conf, to the mailing list archives and to the on-line
4354 tapetype list. Explained the meaning of length, filemark and speed,
4355 and how to build and use the tapetype utility.
4357 1999-12-12 John R. Jackson <jrj@purdue.edu>
4359 * configure.in: egrep was having trouble with quoting on some systems.
4360 Broke it apart into multiple unquoted statements. Also, changed the
4361 script to run the steps on all dump tests and added "Label" as another
4364 1999-12-12 John R. Jackson <jrj@purdue.edu>
4366 * tape-src/tapetype.c: tweak the algorithm to write files in both
4367 passes and compute the tape mark size as the difference. Never
4368 report a negative tape mark size. Various other minor cleanup.
4370 1999-11-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4372 * client-src/sendbackup-gnutar.c (re_table): #if out the debugging
4373 Samba messages unless SAMBA_VERSION < 2.
4375 1999-11-29 John E.P.Hynes <john@hytronix.ne.mediaone.net>
4377 * client-src/sendbackup-gnutar.c (re_table): Update for Samba 2.0.6.
4379 1999-11-10 John R. Jackson <jrj@purdue.edu>
4381 * recover-src/extract_list.c: report the tape server host in the
4382 message to check the amidxtaped.debug file. If extract_list_child
4383 fails (such as when amidxtaped fails to read the tape), ask if
4384 things should continue instead of aborting.
4386 1999-11-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4388 * server-src/driverio.c (update_info_dumper): Discard information on
4389 older same- or higher-level dumps.
4390 * server-src/driver.c (dump_to_tape): Add comment that _dumper must
4391 be called before _taper.
4393 * docs/FAQ: Sometimes FQDNs are wrong for amandahosts.
4395 1999-11-10 John R. Jackson <jrj@purdue.edu>
4397 * server-src/amindexd.c (build_disk_table): need to clear the old
4398 disk history list before building a new one.
4400 1999-11-10 John R. Jackson <jrj@purdue.edu>
4402 * server-src/taper.c (label_tape): issue a warning when tapedev is
4404 * server-src/amcheck.c (start_server_check): make warning message
4405 text the same for amcheck and taper when tapedev is /dev/null.
4407 1999-11-10 John R. Jackson <jrj@purdue.edu>
4409 * server-src/amcleanupdisk.c (main): try to remove empty holding disk
4411 * server-src/holding.c (scan_holdingdisk): do not automatically remove
4412 empty holding disk areas since this function is called by various
4413 utilities and a dump might be in progress.
4415 1999-11-10 James FitzGibbon <james@targetnet.com>
4417 * server-src/infofile.c (put_info): d.size should have been
4420 1999-11-09 John R. Jackson <jrj@purdue.edu>
4422 * server-src/amcheck.c (start_server_check): test tapedev for
4423 "/dev/null" and issue warning that dumps will be thrown away.
4425 1999-11-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4427 * common-src/amflock.c (struct flock): Do not assume the fields are
4428 declared in any particular order.
4429 Reported by Sean Kelly <kelly@plutotech.com>
4431 * Makefile.am (EXTRA_DIST): Added contrib/set_prod_link.pl.
4432 * docs/INSTALL: Likewise.
4434 1999-11-02 Ricardo Malta <rmalta@bigfoot.com>
4436 * contrib/set_prod_link.pl: Create the links for a configuration
4439 1999-11-02 Nicolas Mayencourt <Nicolas.Mayencourt@cui.unige.ch>
4441 * server-src/amtoc.pl.in: Correct a bug for total report.
4443 1999-11-01 John R. Jackson <jrj@purdue.edu>
4445 * server-src/driver.c (find_diskspace): make noisy holding space log
4446 message conditional on HOLD_DEBUG.
4448 1999-11-01 John R. Jackson <jrj@purdue.edu>
4450 * server-src/amcleanupdisk.c (main): do not free the config name (it
4453 1999-10-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4455 * common-src/debug.c: Do not assume stderr is a compile-time
4456 constant. On glibc 2.2 (RedHat Linux 6.1), it is not.
4458 1999-10-11 Nicolas Mayencourt <Nicolas.Mayencourt@cui.unige.ch>
4460 * server-src/amtoc.pl.in: Add new options -i and -t. Print original
4461 size, instead of size on tape.
4463 1999-10-07 John R. Jackson <jrj@purdue.edu>
4465 * common-src/stream.c (stream_server): remove reference to portrange
4466 variable. Compliments of Randy Dees <rrd@amherst.com>.
4468 1999-10-03 John R. Jackson <jrj@purdue.edu>
4470 * server-src/driver.c (main): now that multiple results can come back
4471 from taper and dumper without a handshake (e.g. NO-ROOM), we need to
4472 process them all rather than just the first one. Call the new
4473 areads_dataready() function to peek and see if more data is ready.
4474 * common-src/amanda.h: declare areads_dataready().
4475 * common-src/file.c: define areads_dataready(). Fix some variable
4476 types. Fix a buffer expansion problem. Add code to the test
4477 program to force buffer expansion to be checked out.
4479 1999-10-03 John R. Jackson <jrj@purdue.edu>
4481 * common-src/file.c (areads_getbuf): fix a buffer allocation problem.
4483 1999-10-03 John R. Jackson <jrj@purdue.edu>
4485 * common-src/amflock.c (main): do not use aclose() in the configure
4486 test case. During configure we do not have areads_relbuf()
4487 available and it makes configure think all the tests have failed.
4489 1999-10-03 John R. Jackson <jrj@purdue.edu>
4491 * common-src/amanda.h: protect the close macros and areads* from
4492 out of range file descriptors.
4493 * common-src/file.c: ditto.
4495 1999-10-02 John R. Jackson <jrj@purdue.edu>
4497 * server-src/amindexd.c (build_disk_table): only "OK" results from
4498 find_dump should be considered.
4500 1999-10-02 John R. Jackson <jrj@purdue.edu>
4502 * common-src/file.c (areads): when NO-ROOM became advisory and didn't
4503 participate in a full handshake, it exposed a problem in areads()
4504 where a static buffer was shared among all I/O. Changed it to use
4505 a separate buffer for each file descriptor. Enhanced the test
4506 program to check out the code.
4507 * common-src/amanda.h: ditto
4508 * restore-src/amidxtaped.c: minor areads/agets comment typo.
4509 * server-src/amindexd.c: ditto
4511 1999-10-02 John R. Jackson <jrj@purdue.edu>
4513 * server-src/driver.c: delete #define of HOLD_DEBUG, it was increasing
4514 the size of the amdump log file by a factor of 10 or more. Anyone
4515 who needs it can define it in CFLAGS or some other way.
4517 1999-09-29 John R. Jackson <jrj@purdue.edu>
4519 * server-src/dumper.c (do_dump): closed the dump messages file too
4522 1999-09-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4524 * recover-src/extract_list.c (samba_extract_method): Default to
4525 SAMBA_TAR, for similarity with other restore programs.
4526 (extract_files_child): If restore with SMBCLIENT is enabled, explain
4527 that Samba shares will be restored to the SMB share.
4529 1999-09-22 John R. Jackson <jrj@purdue.edu>
4531 * configure.in: wrong variable when processing LIBRARY_DIRS. Fix
4532 compliments of John M. Vogtle <jmvogtle@kodak.com>.
4534 1999-09-19 John R. Jackson <jrj@purdue.edu>
4536 * server-src/amverify.sh.in: this script is important enough it should
4537 not depend on having perl installed. Clean up the AIX "mt status"
4538 code. Test for presense of other restore programs and check that
4539 they are executable during processing.
4541 1999-09-19 John R. Jackson <jrj@purdue.edu>
4543 * server-src/amverify.sh.in: put back an "mt status" wait loop I
4544 erroneously removed, but protect it from AIX.
4546 1999-09-19 John R. Jackson <jrj@purdue.edu>
4548 * common-src/util.c: fix math in bind_portrange so ports requested
4549 are between those the caller passed and make sure port 0 does not
4550 accidentally get requested, which returns a non-privileged port.
4551 * common-src/dgram.c: bind_portrange last port argument is inclusive.
4552 * common-src/stream.c: ditto.
4553 * recover-src/amrecover.c: ditto.
4554 * recover-src/extract_list.c: ditto.
4556 1999-09-19 John R. Jackson <jrj@purdue.edu>
4558 * server-src/driver.c: do not send a FILE_WRITE to the taper when the
4559 tape queue is empty during a TRYAGAIN (driver core dumped).
4561 1999-09-19 John R. Jackson <jrj@purdue.edu>
4563 * server-src/taper.c: fix protocol problems when out of tape. Add
4564 FAKE_TAPE_ERROR debugging code to simulate tape errors. Fix problem
4565 with command line argument processing.
4567 1999-09-18 John R. Jackson <jrj@purdue.edu>
4569 * configure.in: several compress/uncompress variables were not being
4572 1999-09-18 John R. Jackson <jrj@purdue.edu>
4574 * client-src/sendbackup.c: pclose returns a child exit status of the
4575 pipe, not an errno, so do not try to strerror it.
4576 Have the index child process exit with the pclose exit code.
4577 Treat index failures as strange rather than fatal so the dump gets
4578 fully processed. It's more important to have the dump image than
4579 to skip it just because indexing had a (possibly unrelated) problem.
4581 1999-09-15 John R. Jackson <jrj@purdue.edu>
4583 * server-src/amtoc.pl.in: handle an image failing on one tape and
4584 succeeding on the next.
4586 1999-09-15 John R. Jackson <jrj@purdue.edu>
4588 * server-src/amstatus.pl.in: generalize the "driver: state" parsing
4589 so it can handle current and future information.
4591 1999-09-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4593 * server/driver.c (main): use the holding disk even if the
4594 datestamped directory already exist.
4596 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4598 * configure.in: Get snapshot date from SNAPSHOT file, if it exists.
4599 (VERSION): Add the date to it.
4600 (SNAPSHOT_STAMP): AC_SUBST to the SNAPSHOT file, if it exists.
4601 * Makefile.am (EXTRA_DIST): Added $(SNAPSHOT_STAMP).
4602 (config.status): Depend on $(SNAPSHOT_STAMP).
4603 (SNAPSHOT): Dummy rule to allow reconfigure if it's removed.
4605 * config/Makefile.am: Remove all traces of acconfig.h.
4607 * server-src/changer.c (changer_command): Fix for amwait_t != int.
4609 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4611 * config/acinclude.m4i: Added comments for config/config.h.in to all
4613 * configure.in: Likewise.
4614 * config/acconfig.h: Deleted.
4617 1999-09-13 John R. Jackson <jrj@purdue.edu>
4619 * server-src/amverify.sh.in: protect against uname not returning
4622 1999-09-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4624 * server-src/amcheck.c (start_server_check): use tapefile instead of
4625 conf_tapelist to open the file (we no longer cd to the config file).
4627 1999-09-11 John R. Jackson <jrj@purdue.edu>
4629 * server-src/reporter.c: sigh -- it was right the first time.
4631 1999-09-11 John R. Jackson <jrj@purdue.edu>
4633 * server-src/reporter.c: lost a few too many lines with the amlogroll
4634 changes to amreport.
4636 1999-09-11 John R. Jackson <jrj@purdue.edu>
4638 * server-src/amindex.c: minor memory leak.
4640 1999-09-11 John R. Jackson <jrj@purdue.edu>
4642 * server-src/amcheck.c: remove duplicated code.
4644 1999-09-11 John R. Jackson <jrj@purdue.edu>
4646 * server-src/Makefile.am: use new amlogroll utility to rename the log
4647 file to the datestamped name.
4648 * server-src/amcheck.c: ditto.
4649 * server-src/amcleanup.sh.in: ditto and call all utilities with the
4650 config file name as an argument.
4651 * server-src/amdump.sh.in: ditto and call all utilities with the
4652 config file name as an argument.
4653 * server-src/amflush.c: ditto.
4654 * server-src/amlogroll.c: new utility.
4655 * server-src/driverio.c: ditto and call all utilities with the
4656 config file name as an argument.
4657 * server-src/reporter.c: ditto.
4659 1999-09-10 John R. Jackson <jrj@purdue.edu>
4661 * client-src/rundump.c: minor compiler warnings.
4662 * common-src/security.c: minor compiler warnings.
4663 * server-src/amindexd.c: minor compiler warnings.
4664 * server-src/conffile.c: minor compiler warnings.
4666 1999-09-10 John R. Jackson <jrj@purdue.edu>
4668 * client-src/sendsize.c: typo in previous patch and pick a better
4669 variable name (ala other similar code).
4671 1999-09-10 John R. Jackson <jrj@purdue.edu>
4673 * client-src/amandad.c: clean up error messages after a fork or exec*
4675 * client-src/rundump.c: ditto.
4676 * client-src/runtar.c: ditto.
4677 * client-src/sendbackup.c: ditto.
4678 * client-src/sendsize.c: ditto.
4679 * restore-src/amidxtaped.c: ditto.
4680 * server-src/amflush.c: ditto.
4682 1999-09-07 John R. Jackson <jrj@purdue.edu>
4684 * configure.in: Add --with-tmpdir to ./configure and use it for
4685 all Amanda temporary files. Default --with-dbgdir to --with-tmpdir.
4686 Move libexec/getconf to sbin/amgetconf and add an optional
4687 config parameter. Add optional config parameter to several
4689 Add debugging to chg-chio.
4690 Call new safe_cd() function in most programs to cd to --with-tmpdir
4691 so if they drop core, it goes to a known spot. Rename existing
4692 core files so more than one failure may be tracked. Remove most
4693 chdir() and umask() calls (umask is set in safe_cd).
4694 * amplot/amplot.sh.in: ditto.
4695 * changer-src/chg-chio.pl.in: ditto.
4696 * changer-src/chg-chs.sh.in: ditto.
4697 * changer-src/chg-manual.sh.in: ditto.
4698 * changer-src/chg-mtx.sh.in: ditto.
4699 * changer-src/chg-multi.sh.in: ditto.
4700 * changer-src/chg-rth.pl.in: ditto.
4701 * changer-src/chg-scsi-chio.c: ditto.
4702 * changer-src/chg-scsi.c: ditto.
4703 * changer-src/chg-zd-mtx.sh.in: ditto.
4704 * client-src/amandad.c: ditto.
4705 * client-src/calcsize.c: ditto.
4706 * client-src/killpgrp.c: ditto.
4707 * client-src/rundump.c: ditto.
4708 * client-src/runtar.c: ditto.
4709 * client-src/selfcheck.c: ditto.
4710 * client-src/sendbackup-gnutar.c: ditto.
4711 * client-src/sendbackup.c: ditto.
4712 * client-src/sendsize.c: ditto.
4713 * common-src/alloc.c: ditto.
4714 * common-src/amanda.h: ditto.
4715 * common-src/amflock.c: ditto.
4716 * common-src/debug.c: ditto.
4717 * common-src/file.c: ditto.
4718 * common-src/genversion.c: ditto.
4719 * common-src/security.c: ditto.
4720 * config/acconfig.h: ditto.
4721 * dumper-src/gnutar.pl.in: ditto.
4722 * restore-src/amidxtaped.c: ditto.
4723 * server-src/Makefile.am: ditto.
4724 * server-src/amadmin.c: ditto.
4725 * server-src/amcheck.c: ditto.
4726 * server-src/amcheckdb.sh.in: ditto.
4727 * server-src/amcleanup.sh.in: ditto.
4728 * server-src/amcleanupdisk.c: ditto.
4729 * server-src/amdump.sh.in: ditto.
4730 * server-src/amflush.c: ditto.
4731 * server-src/amfreetapes.sh.in: ditto.
4732 * server-src/amindex.c: ditto.
4733 * server-src/amindex.h: ditto.
4734 * server-src/amindexd.c: ditto.
4735 * server-src/amlabel.c: ditto.
4736 * server-src/amrmtape.sh.in: ditto.
4737 * server-src/amstatus.pl.in: ditto.
4738 * server-src/amtape.c: ditto.
4739 * server-src/amtrmidx.c: ditto.
4740 * server-src/amtrmlog.c: ditto.
4741 * server-src/amverify.sh.in: ditto.
4742 * server-src/changer.c: ditto.
4743 * server-src/changer.h: ditto.
4744 * server-src/conffile.h: ditto.
4745 * server-src/diskfile.c: ditto.
4746 * server-src/driver.c: ditto.
4747 * server-src/driverio.c: ditto.
4748 * server-src/dumper.c: ditto.
4749 * server-src/find.c: ditto.
4750 * server-src/getconf.c: ditto.
4751 * server-src/holding.c: ditto.
4752 * server-src/infofile.c: ditto.
4753 * server-src/logfile.c: ditto.
4754 * server-src/planner.c: ditto.
4755 * server-src/reporter.c: ditto.
4756 * server-src/tapefile.c: ditto.
4757 * server-src/taper.c: ditto.
4759 1999-09-05 John R. Jackson <jrj@purdue.edu>
4761 * common-src/Makefile.am: change OBJ_EXTENSION to OBJEXT in line
4762 related to the "security" test tool.
4764 1999-09-05 John R. Jackson <jrj@purdue.edu>
4766 * changer-src/chg-chio.pl.in: add -w to #! line to catch more errors.
4767 * client-src/amandad.c: fix some compiler warnings.
4768 * common-src/protocol.c: fix some compiler warnings.
4769 * recover-src/display_commands.c: fix some compiler warnings.
4770 * recover-src/extract_list.c: fix some compiler warnings.
4771 * restore-src/amrestore.c: fix some compiler warnings.
4772 * server-src/conffile.c: fix some compiler warnings.
4773 * server-src/diskfile.c: fix some compiler warnings.
4774 * server-src/holding.c: fix some compiler warnings.
4775 * server-src/planner.c: fix some compiler warnings.
4777 1999-09-05 John R. Jackson <jrj@purdue.edu>
4779 * recover-src/extract_list.c: add VRESTORE and VXRESTORE support.
4781 1999-09-05 John R. Jackson <jrj@purdue.edu>
4783 * common-src/stream.c: make sure errno is returned properly from
4784 stream_client() and stream_server().
4785 * client-src/sendbackup.c: report errors from stream_server() and
4787 * server-src/taper.c: ditto.
4788 * recover-src/extract_list.c: make sure errno is preserved.
4790 1999-09-05 John R. Jackson <jrj@purdue.edu>
4792 * client-src/amandad.c: clean up a couple of debugging messages.
4794 1999-09-05 John R. Jackson <jrj@purdue.edu>
4796 * recover-src/amrecover.c: add missing ntohs calls. Reported by
4797 Kent Kalnasy <kkalnasy@ms.washington.edu>
4798 * recover-src/extract_list.c: ditto.
4800 1999-09-05 John R. Jackson <jrj@purdue.edu>
4802 * configure.in: make sure the dump and restore programs are defined
4803 in pairs, do not allow just the dump program without restore.
4804 * client-src/sendbackup-dump.c: assume restore program is present
4806 * common-src/genversion.c: assume restore program is present if
4809 1999-09-05 John R. Jackson <jrj@purdue.edu>
4811 * common-src/genversion.c: CLIENT_LOGIN has to be defined so there
4812 is no point testing for it.
4813 * server-src/conffile.c: ditto.
4815 1999-09-05 John R. Jackson <jrj@purdue.edu>
4817 * server-src/amverify.sh.in: add SMBCLIENT, VRESTORE, VXRESTORE
4818 and XFSRESTORE support.
4820 1999-09-05 John R. Jackson <jrj@purdue.edu>
4822 * server-src/conffile.c: add several common abbreviations to config
4825 1999-09-01 John R. Jackson <jrj@purdue.edu>
4827 * server-src/amtoc.pl.in: allow multiple -s entries.
4829 1999-09-01 John R. Jackson <jrj@purdue.edu>
4831 * server-src/reporter.c: handle/report a common columnspec syntax
4832 error instead of dumping core.
4834 1999-09-01 John R. Jackson <jrj@purdue.edu>
4836 * man/amanda.8.in: typo in columnspec description.
4838 1999-09-01 John R. Jackson <jrj@purdue.edu>
4840 * common-src/dgram.h: expressions in #define should be protected by
4843 1999-08-25 Alexandre Oliva <oliva@dcc.unicamp.br>
4845 * changer-src/chg-chs.sh.in (changerdev): Pass it as -f flag to CHS.
4846 * docs/TAPE.CHANGERS: Document it.
4847 Reported by Mike Horansky <moho@stanford.EDU>
4849 * server-src/conffile.c (read_dumptype): Renamed from get_dumptype.
4850 Extended to support reading a named dumptype from a specified FILE.
4851 (get_dumptype): Use read_dumptype.
4852 (main): Read disklist, so that custom dumptypes are shown.
4853 * server-src/conffile.h (read_dumptype): Declare.
4854 * server-src/diskfile.c (read_diskline): Use read_dumptype if
4855 dumptype starts with `{'.
4856 * man/amanda.8.in (disklist): Document it.
4858 * example/disklist: Exemplify it.
4860 1999-08-23 John R. Jackson <jrj@purdue.edu>
4862 * server-src/reporter.c (copy_template_file): make sure all data is
4863 written to label template pipeline.
4865 1999-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4866 Patch by Peter Conrad <conrad@opus5.de>
4868 * docs/INTERNALS: documented splitting of dumps across multiple
4870 * server-src/conffile.c: make sure that disksize and chunksize
4871 are multiple of TAPE_BLOCK_SIZE.
4872 * server-src/diskfile.c (find_disk): new function to see if a
4873 given disk is contained in a list structure.
4874 * server-src/diskfile.h (find_disk): prototype.
4875 * server-src/driverio.h (RQ_MORE_DISK): Added message.
4876 * server-src/driverio.h (free_assignedhd): prototype.
4877 * server-src/driverio.h (assignedhd_t): new data structure.
4878 * server-src/driverio.c (cmdstr): added comamnd RQ-MORE-DISK.
4879 * server-src/driverio.c (dumper_cmd): Modified format of CONTINUE
4880 * server-src/driverio.c (free_assignedhd): new function to free an
4881 array of assignedhd_t.
4882 * server-src/driver.c (roomq): new queue to replace stoppedq.
4883 * server-src/driver.c (find_diskspace, assign_holdingdisk,
4884 adjust_diskspace, delete_diskspace): rewrite.
4885 * server-src/driver.c (continue_dumps): new function to determine
4886 which dump should be continued.
4887 * server-src/driver.c (handle_taper_result): call continue_dumps
4888 to restart a roomq dump.
4889 * server-src/driver.c (handle_dumper_result): some rewrite,
4890 modified semantics of NO_ROOM, new message RQ-MORE-DISK.
4891 * server-src/dumper.c (main): Modified parsing of FILE_DUMP,
4893 * server-src/dumper.c (write_dataptr): NO-ROOM is informational only,
4894 trucate the file to a multiple of TAPE_BLOCK_BYTES.
4895 * server-src/dumper.c (update_dataptr): rewrite to emit RQ-MORE-DISK
4898 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
4900 * common-src/Makefile.am: Replace .o with OBJEXT. List sources
4901 explicitly, instead of LDADDing the corresponding objects.
4902 (OBJ_EXTENSION): Wipe out, use OBJEXT.
4904 * configure.in: Call AC_OBJEXT.
4905 (LTLIBOBJS, LTALLOCA): Define, according to ac_objext.
4906 * common-src/Makefile.am (libamanda_la_LIBADD): Use them.
4907 (libamanda_a_LIBADD): Use LIBOBJS and ALLOCA.
4909 * common-src/Makefile.am (genversion.o): Revert last change, it was
4910 just a bug in automake's --disable-dependency-tracking.
4912 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
4914 * README (platforms): Added OpenBSD.
4915 Reported by Ian Darwin <ian@sq.com>
4916 (platforms): Added SunOS 5.7.
4918 1999-08-15 Derek Ney <derek@hipgraphics.com>, Alexandre Oliva <oliva@dcc.unicamp.br>
4920 * client-src/sendsize.c (SAMBA_DEBUG_LEVEL): New macro, "0" for
4921 Samba >= 2, "3" for older ones.
4922 (getsize_smbtar): Use `du' if SAMBA_VERSION >= 2, and the
4923 appropriate SAMBA_DEBUG_LEVEL.
4925 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
4927 * common-src/Makefile.am (genversion.o): Depend on genversion.c
4928 too. It seems that IRIX's make doesn't work without it.
4929 Reported by Brian Cuttler <brian@wadsworth.org>
4931 1999-08-15 Jon LaBadie <jon@jgcomp.com>
4933 * tape-src/tapetype.c: Speed it up by using larger sections in the
4936 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
4938 * man/amanda.8.in (skip-full, incronly): Document existing bugs.
4940 * server-src/conffile.c (init_defaults): Default disksize to 0.
4941 * man/amanda.8.in (holdingdisk use): Document it.
4942 Reported by Grant Beattie <Grant.Beattie@fulcrum.com.au>
4944 * server-src/planner.c (setup_estimate): Typo.
4945 (next_level0): Typo.
4947 * config/ltconfig, config/ltmain.sh: Update from libtool 1.3.3.
4949 * example/amanda.conf.in: Clarify holdingdisk::use 0.
4951 * config/missing: Update from automake 1.4a.
4953 1999-07-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
4955 * man/amanda.8.in: typo.
4957 1999-06-29 Alexandre Oliva <oliva@dcc.unicamp.br>
4959 * man/amrestore.8: Document holding-file usage.
4961 1999-06-25 Alexandre Oliva <oliva@dcc.unicamp.br>
4963 * Makefile.am (pkgdata_DATA): Install COPYRIGHTs.
4964 (EXTRA_DIST): Remove docs/*.
4965 * docs/Makefile.am: New file.
4966 (pkgdata_DATA): Install all docs.
4967 * configure.in: Output docs/Makefile.
4968 Suggested by Paul L. Lussier <plussier@baynetworks.com>
4970 * docs/FAQ (selfcheck time-out): NIS services, inetd rebooting,
4971 keyboard time-out, lsof.
4973 * server-src/amverify.sh.in (HEADER): Use `sed 1q' instead of the
4974 not-that-portable `head -1'.
4975 Reported by Andrew Lare <lare@eos913c.gsfc.nasa.gov>
4977 1999-06-20 Thomas Hepper <th@ant.han.de>
4979 * changer-src/chg-scsi.c: 2 new config keywords, changerident/tapeident
4981 * changer-src/scsi-changer-driver.c: deleted the linux driver at the
4982 beginning, (wrong window on cut and paste .......)
4984 * changer-src/scsi-defs.h: new element in Changer_IO which describes
4985 the type of device which is handled by this entry (tape/robot)
4987 * changer-src/scsi-changer-driver.c: New parameter to OpenDevice
4988 to override the selection of the driver for this device. (See
4989 also docs/TAPE.CHANGERS)
4991 1999-06-19 Alexander Zangerl <az@Austria.EU.net>
4993 * client-src/sendbackup-dump.c (re_table): Match Solaris vxdump
4996 1999-06-18 Thomas Hepper <th@ant.han.de>
4998 * server-src/changer.c: (changer_find) check if serachlabel is NULL
4999 if yes don't print it to the debug file
5001 * changer-src/scsi-solaris.c: (SCSI_ExecuteCommand) Add missing
5002 parameter to DecodeExtSense.
5004 * changer-src/scsi-aix.c: (SCSI_ExecuteCommand) Add missing
5005 parameter to DecodeExtSense.
5007 * changer-src/scsi-hpux.c: Added static char rcsid[] = ...
5008 * changer-src-/chg-scsi.c: dito
5009 * changer-src/scsi-changer-driver.c: dito
5011 1999-06-17 Thomas Hepper <th@ant.han.de>
5013 * configure.in: Add new example files amanda.conf.chg-scsi,
5014 chg-scsi-linux.conf, chg-scsi-solaris.conf, chg-scsi-hpux.conf
5016 * changer-src/chg-scsi-chio.c: Add parameter to find_empty
5018 * changer-src/chg-scsi.c: Changed the way files are opened, added
5019 FILE *debug_file because now it is possible to send some output to
5020 stdout. (scsi-changer-driver.c).
5021 (ask_clean) return 0 if result from get_clean_state is < 0
5022 if get_current_slot returns < 0 try to find the used slot by asking
5023 the robot. (happens if no slot file is available, or slot file is empty)
5025 * changer-src/scsi-changer-driver.c: New tape/robot types.
5026 (find_empty) new parameter to specify range where to search.
5027 More checks for NULL pointer ....
5028 (DumpDev) new function to print the info for the device struct.
5029 (ChangerStatus) some more output ....
5031 * changer-src/scsi-linux.c: Complete rewrite of SCSI_OpenDevice.
5033 * common-src/debug.c: (debug_fp) new function to return the FILE *
5036 * contrib/sst/sst.c: Removed the inquiry call, this is handled by
5037 chg-scsi. The old version will hang if for example no tape is loaded.
5039 * contrib/sst/Makefile: New Makefile, the old one does not work if not
5040 the complete SUNdrv kit is installed.
5043 1999-06-15 Adam Hammer <hammer@math.purdue.edu>
5045 * server-src/amverify.sh.in: Wait until device becomes ready after
5048 1999-06-15 Björn Brezger <Bjoern.Brezger@uni-konstanz.de>, Alexandre Oliva <oliva@dcc.unicamp.br>
5050 * client-src/calcsize.c (ROUND): Rewrite, it was broken.
5051 Reported by Erik Lindahl <erik@theophys.kth.se>
5053 1999-06-15 Alexandre Oliva <oliva@dcc.unicamp.br>
5055 * server-src/conffile.h: Changed all `long's to `int's, as they
5056 broke get_number et al on 64bit platforms.
5057 Reported by Erik Lindahl <erik@theophys.kth.se>
5059 * configure.in (bcopy, bzero): Oops, ICE_CHECK_DECL already checks
5062 * configure.in (bcopy, bzero): Check whether they're available.
5063 * common-src/amanda.h (bcopy, bzero): If not, use memmove and
5065 Reported by Grant Beattie <Grant.Beattie@fulcrum.com.au>
5067 * server-src/amcheck.c (start_server_check): If info file does not
5068 exist, explain that it is supposed to be created on the next run.
5070 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
5072 * server-src/tapefile.c (lookup_last_reusable_tape): Fix order of
5073 arguments in match() invocation.
5074 From Anthony Worrall <Anthony.Worrall@reading.ac.uk>
5076 1999-06-08 Mike Grupenhoff <kashmir@munge.com>
5078 * restore-src/amrestore.c: second arg to restore() is a char *, not
5079 a string_t. Adjust prototype accordingly.
5081 1999-06-07 Mike Grupenhoff <kashmir@munge.com>
5083 * common-src/util.c (bind_portrange): function that attempts
5084 to bind a network connection to a port in a given range.
5085 * common-src/util.h: prototype bind_portrange().
5086 * common-src/dgram.c (bind_reserved): remove, superceeded by
5088 (dgram_bind): use bind_portrange() instead of bind_reserved(), and
5089 try user specified ports first, then reserved ports, then regular
5091 * common-src/dgram.h: remove prototype for bind_reserved().
5092 * common-src/stream.c (stream_server, stream_client): use
5093 bind_portrange() instead of bind_reserved(), and try user
5094 specified ports first, then reserved ports, then regular
5096 * recover-src/amrecover.c (main): use bind_portrange() instead
5097 of bind_reserved(), and verify that the port it gives us is
5099 * recover-src/extract_list.c (extract_files_setup): use
5100 bind_portrange() instead of bind_reserved(), and verify that
5101 the port it gives us is a reserved one.
5103 1999-06-07 Mark F. Vlems <mvlems@vbox.xs4all.nl>
5105 * server-src/amindexd.c (reply, lreply, fast_lreply): Return code 0
5106 of printf does not imply an error on some systems (Openstep) even if
5107 the number of written characters is more than 0. The weakened error
5108 check has no implication for the correct implementations of printf.
5110 1999-06-03 Alexandre Oliva <oliva@dcc.unicamp.br>
5112 * server-src/driver.c (dump_to_tape): Tell hard from soft
5113 (retryable) failures in both dumper and taper results, and behave
5116 * docs/SYSTEM.NOTES: On Trusted Solaris, the format of inetd.conf is
5118 Reported by Julian Stevens <julian.stevens@baedsl.co.uk>
5120 1999-06-01 John Williams <williams@morinda.com>
5122 * changer-src/scsi-hpux.c (eject_tape): Enable it, it works.
5124 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
5126 * docs/INSTALL: Point to the patches page. Update version numbers.
5128 * example/config.site: Document UDPPORTRANGE.
5130 1999-06-01 Jens Persson <jens.persson@btj.se>
5132 * configure.in (UDPPORTRANGE): Set from --with-udpportrange.
5133 * config/acconfig.h: Add UDPPORTRANGE.
5134 * common-src/dgram.c: Implement it.
5136 1999-05-27 Alexandre Oliva <oliva@dcc.unicamp.br>
5138 * config/ltconfig, config/ltmain.sh, config/libtool.m4i: Updated
5139 to libtool 1.3.2 plus a few patches.
5140 * config/config.guess, config/config.sub: Ditto.
5142 1999-05-25 Alexandre Oliva <oliva@dcc.unicamp.br>
5144 * docs/FAQ (tar-patch): Mention sparse file problem.
5146 * recover-src/uscan.l: #undef `ECHO' after #include amanda.h; some
5147 system header files may define it.
5148 Reported by Dan Lipofsky <danlip@cyc.com>
5150 * */Makefile.am: Do not define ACLOCAL_M4, COMPILE or
5152 * Makefile.am: Create acinclude.m4 in the top-level directory.
5153 * config/Makefile.am: Create link to acconfig.h in the top-level
5155 * configure.in: Add AMANDA_CFLAGS to CFLAGS.
5156 * common-src/Makefile.am: Create genversion.h with #defines, to
5157 avoid genversion-specific CPPFLAGS.
5158 * common-src/genversion.c: #include genversion.h
5159 * common-src/version.h: VERSION_COMMENT must be const, as in
5162 1999-05-24 Mike Grupenhoff <kashmir@munge.com>
5164 * server-src/amcheck.c (main): if we reap a bogus pid, print
5165 out the error message we generate, instead of whatever junk
5166 happens to be in the buffer.
5168 1999-05-23 Alexandre Oliva <oliva@dcc.unicamp.br>
5170 * server-src/amindex.h: Keep P macro expression in a single line.
5171 Reported by Patrick Harrold <patrickh@nasco-inc.com>
5173 * common-src/Makefile.am (statfs_LDADD): Added alloc.obj.
5175 * common-src/statfs.c (STATFS_SCALE, sys/statvfs.h): If f_frsize is
5176 zero, use f_bsize. It now works with GNU libc 2.1.
5177 Reported by Heikki Vatiainen <hessu@cs.tut.fi>
5179 1999-05-22 Alex Pilosov <alex@pilosoft.com>
5181 * server-src/amindexd.c (is_dump_host_valid): sanitize_name(host)
5182 before doing a stat.
5183 * server-src/tapefile.c (lookup_nb_tape): init pos to 0.
5185 1999-05-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5187 * server-src/reporter.c: take the orig size from the SUCCESS line.
5188 use value from the infofile only the datestamp are equal.
5189 Write all available value.
5191 1999-05-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5193 * server-src/planner.c (pick_inclevel): check for base_level+1 if
5194 we don't have estimate for base_level. Needed for FORCE_BUMP.
5195 * server-src/planner.c (promote_highest_priority_incremental):
5196 Don't promote if we don't have level 0 estimate. No more need
5197 to check for skip_full, DS_NOFULL, DS_INCRONLY or FORCE_BUMP.
5199 1999-05-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5201 * server-src/amflush.c: ignore SIGPIPE
5202 * server-src/driver.c: ignore SIGPIPE
5203 * server-src/driverio.c (taper_cmd, dumper_cmd): return 0 on error,
5205 * server-src/driverio.h (taper_cmd, dumper_cmd): prototype.
5207 1999-05-14 Alexandre Oliva <oliva@dcc.unicamp.br>
5209 * docs/TAPE.CHANGERS (chg-rth): URL for chs is no longer valid.
5211 1999-05-10 Mike Grupenhoff <kashmir@munge.com>
5213 * client-src/sendsize.c (getsize_dump): print out the strerror
5214 if we can't exec killpgrp.
5216 1999-05-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5218 * example/amanda.conf.in: typo
5220 1999-05-05 Mike Grupenhoff <kashmir@munge.com>
5222 * server-src/amverify.sh.in (pecho): new function. Like echo
5223 but doesn't append newline, and supports \r, etc. Implemented
5225 * server-src/amverify.sh.in: use pecho where we used to use echo -n,
5226 etc. It's nearly impossible to figure out which echo needs what
5227 flags and also know if it supports \r. So we just punt and use
5230 1999-04-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5232 * server-src/planner.c (when_overwrite): return a big number (1024)
5233 if the tape is not reusable.
5235 1999-04-29 Alexandre Oliva <oliva@dcc.unicamp.br>
5237 * config/ltconfig, config/ltmain.sh, config/libtool.m4i: Updated
5240 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
5242 * common-src/versuff.c.in: Adjust constness to match version.h.
5244 * docs/SYSTEM.NOTES: Recommend GNU tar for Linux.
5246 1999-04-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5248 * server-src/amdump.sh.in: execute amtrmlog.
5250 1999-04-22 John R. Jackson <jrj@purdue.edu>
5252 * configure.in: add --with-broken-fsf to use a read() loop instead
5253 of the fsf ioctl on some broken systems.
5254 * config/acconfig.h: ditto
5255 * tape-src/tapeio.c (tapefd_fsf): ditto
5257 1999-04-22 Alexandre Oliva <oliva@dcc.unicamp.br>
5259 * docs/SYSTEM.NOTES: Typo
5260 * docs/SAMBA: Update on samba-largefs patch.
5261 * docs/FAQ: New FAQ about promotion of full dumps.
5263 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
5265 * tape-src/tapeio.c (tape_open): Retry after EBUSY and EINTR too.
5266 Comment out test that would set filename to /dev/null.
5268 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
5270 * docs/WISHLIST: Global reformat. Removed fixed issues. Added
5273 1999-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5275 * server-src/server_util.c: new file for utility function.
5276 New function construct_datestamp.
5277 * server-src/server_util.h: ditto
5278 * server-src/makefile.am: link server_util.c with libamserver.
5279 * amcleanupdisk.c (construct_datestamp): remove function.
5280 * server-src/driver.c: ditto
5281 * server-src/dumper.c: ditto
5282 * server-src/amflush.c: ditto
5283 * server-src/planner.c: ditto
5285 1999-04-15 Alexandre Oliva <oliva@dcc.unicamp.br>
5287 * docs/UPGRADE: Update URL for archived message.
5289 1999-04-07 John R. Jackson <jrj@purdue.edu>
5291 * tape-src/tapeio.c: allow tapedev to be /dev/null.
5292 * server-src/taper.c: allow tapedev to be /dev/null.
5293 * man/amanda.8.in: allow tapedev to be /dev/null.
5295 1999-04-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5297 * server-src/reporter.c (TextRule): Fix to write the full string.
5299 1999-04-06 David Mankins <dm@k12-nis-2.bbn.com>
5301 * common-src/security.c (bsd_security_ok): if an .amandahosts
5302 file is missing or unreadable, log this fact to the debug file
5303 instead of claiming that a user doesn't have permission.
5305 1999-04-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5307 * server-src/amcheck.c: -t should read the tapelist to validate
5310 1999-03-30 Alexandre Oliva <oliva@dcc.unicamp.br>
5312 * patches/samba-largefs.patch: updated to patch that ended up
5313 installed in the Samba CVS tree
5315 * patches/tar-1.12.patch: patch the configure script so that it
5316 requires autoconf and autoheader to be run; improve the
5317 printf_long_long test so that it doesn't get false positives because
5320 * changer-src/scsi-chio.c: since we do not support FreeBSD 3's
5321 camlib.h interface, #ifdef out all the code
5322 Reported by Francis Lam <Francis.Lam@Leitch.com>
5324 * configure.in (VXSYSLOCPATH): apparently a complex path expression
5325 gets AC_PATH_PROGS confused; set the path beforehand
5326 Reported by Francis Lam <Francis.Lam@Leitch.com>
5328 1999-03-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5330 * server-src/reporter.c: compiler warning.
5332 1999-03-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5334 * server-src/amtrmlog.c: new program to move unused log
5336 * server-src/Makefile.am: install amtrmlog.
5337 * server-src/find.h: declare find_log().
5338 * server-src/find.c(find_log): new function to return an array of
5339 all the logfile name that are still needed.
5340 * server-src/find.c(search_logfile): special case if output_find==NULL,
5341 return 1 if it the logfile fir the label.
5343 1999-03-25 Neil Crellin <neil@wallaby.cc>
5345 * docs/TAPE.CHANGERS (chg-chs): URL for chs
5347 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>, Tom Schutter <tom@platte.com>, Cloyce D. Spradling <cloyce@headgear.org>
5349 * patches/samba-largefs.patch: updated for Samba 2.0.*
5351 1999-03-25 Charles Owens <owensc@enc.edu>
5353 * changer-src/chg-chio.pl.in (changeTape): do not print status to
5354 both stdout and stderr; this causes failures on FreeBSD
5356 1999-03-21 Elmar Bartel <bartel@Informatik.TU-Muenchen.DE>
5358 * conffile.h, conffile.c: new columnspec option
5359 * reporter.c: use it
5360 * man/amanda.8.in: description and example
5361 * example/amanda.conf.in: ditto
5363 1999-03-20 Dahn Nilsson <dahn.nilsson@maxlab.lu.se>
5365 * configure.in: SAMBA_VERSION is not set correctly.
5367 1999-03-17 Alexandre Oliva <oliva@dcc.unicamp.br>
5369 * client-src/sendbackup-dump.c (re_table): generalize a bit some of
5370 the regular expressions, so as to make us more adaptable to future
5371 minor changes and bugfixes the the output format of some dumps
5373 1999-03-15 Thomas Hepper <th@ant.han.de>
5374 * changer-src/chg-scsi.c: If the open of the TapeDevice fails
5375 the programm is not terminated.
5376 * changer-src/scsi-aix.c: The wrong ident string was checked
5378 * changer-src/scsi-bsd.c: see scsi-aix.c
5379 * changer-src/scsi-linux.c: see scsi-aix.c
5380 * changer-src/scsi-solaris.c: see scsi-aix.c
5381 * changer-src/scsi-changer-driver.c: Added some more debug prints.
5382 Wrong fd passwd to LogSense.
5383 * docs/TAPE.CHANGERS: added note about linux and aha1542
5385 1999-03-15 Michael Povel <mcp@ladyada.han.de>
5386 * server-src/amlabel.c: Wrong parameter to changer_label
5387 * server-src/amtape.c: New function update_one_slot,
5389 * server-src/changer.c: Changed slotsp from int to char, some
5391 * server-src/changer.h: Changed prototype for changer_label
5393 1999-03-15 Alexandre Oliva <oliva@dcc.unicamp.br>
5395 * config/ltconfig, config/ltmain.sh: updated from libtool 1.2f
5396 * config/libtool.m4i, config/config.guess, config/config.sub: ditto
5397 * configure.in: dropped AC_PROG_RANLIB, as suggested by libtoolize
5399 1999-03-14 Mathias Herberts <Mathias.Herberts@ago.fr>
5401 * man/amrecover.8.in: document mode and setmode
5403 1999-03-14 Jon Stevens <jon@clearink.com>
5405 * common-src/security.c (bsd_security_ok): increase the verbosity of
5406 failed authentication messages
5408 1999-03-14 Alexandre Oliva <oliva@dcc.unicamp.br>
5410 * configure.in (powerpc-*-linux-*): supported platform
5412 Reported by Jon Stevens <jon@clearink.com>
5414 1999-03-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5416 * server-src/dumper.c (startup_dump): rename dumpname to progname.
5417 the function will use the parameter progname instead of the
5420 1999-03-06 Alexandre Oliva <oliva@dcc.unicamp.br>
5422 * configure.in (openbsd): according to Ralf Gebhart
5423 <rgebhart@cybernet-ag.net>, sparc-unknown-openbsd2.3 is supported;
5424 I assume other openbsd platforms work too.
5426 1999-03-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5428 * configure.in: set SAMBA_VERSION
5429 * client-src/sendbackup-gnutar.c (start_backup): use -q flag
5430 if SAMBA_VERSION >= 2
5432 1999-03-05 Mathias Herberts <Mathias.Herberts@ago.fr>
5434 * recover-src/amrecover.h (set_mode, show_mode) declare new functions.
5435 * recover-src/amrecover.h (SAMBA_SMBCLIENT, SAMBA_TAR) define new
5437 * recover-src/extract_list.c: declare variable samba_extract_method.
5438 * recover-src/extract_list.c (extract_files_child): set dumptype
5439 according to samba_extract_method.
5440 * recover-src/help.c (help_list): print help for new command mode
5442 * recover-src/set_commands.c (set_mode, show_mode): new functions.
5443 * recover-src/uscan.l:
5444 * recover-src/uparse.y:
5446 1999-03-04 Thomas Hepper <th@ant.han.de>
5447 * configure.in Check if samba tar accept the q option
5448 * changer-src/chg-scsi.c New command -status. Display slot status.
5449 add debug prints to parse_args. Missing {} in case COM_SLOT
5450 add put_current_slot if reset was successfull
5451 * changer-src/aix.c Init struct pwork with 0's.
5452 Fixed error in copy of the product indent form the inquiry
5453 * changer-src/scsi-bsd.c see aix.c
5454 * changer-src/scsi-hpux_new.c see aix.c
5455 * changer-src/scsi-irix.c see aix.c
5456 * changer-src/scsi-linux.c see aix.c
5457 * changer-src/scsi-solaris.c see aix.c
5458 * changer-src/scsi-changer-driver.c New function TerminatString,
5459 places 0 from the end of a string until first char/num
5460 Fixed wrong parameter for GenericRewind in LogSense
5461 In GenericElementStatus terminate VOL Tag String with 0
5462 New function CHangerStatus. dumps changer info on stdout.
5463 * changer-src/scsi-defs.h VolTag[TAG_SIZE+1] to have place for
5465 * client-src/sendbackup-gnutar.c Add option q to tar call if
5466 samba tar understand q option
5467 * config/acconfig.h New define if samba tar accepts q option
5468 * docs/TAPE.CHANGERS Add note on how to init the labelfile
5471 1999-03-03 Ralf Fassel <ralf@akutech.de>
5473 * common-src/conffile.h: bit field of length 1 should be unsigned int,
5476 1999-03-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5478 * server-src/driverio.h: new parameter level to update_info_taper().
5479 * server-src/driverio.c (update_info_taper): use parameter instead
5480 of sched(dp)->level.
5481 * server-src/driver.c: call update_info_taper with level parameter.
5482 * server-src/amflush.c: call update_info_taper with level parameter.
5483 no longer need to create a sched_t struct.
5485 1999-03-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5487 * server-src/driverio.h: remove declaration of inparallel, cmdstr()
5488 and childstr(), declare init_driverio(), add inparallel parameter
5489 to startup_dump_processes().
5490 * server-src/driverio.c (init_driverio): new function to initialize
5492 * server-src/driverio.c (childstr): scan for all dumpers (MAX_DUMPERS)
5493 instead of only inparallel
5494 * server-src/driverio.c (startup_dump_processes): new parameter
5495 inparallel is used instead of global variable.
5496 * server-src/driver.c (main): call init_driverio.
5497 * server-src/driver.c (main): call startup_dump_processes with
5498 inparallel parameter.
5499 * server-src/amflush.c (main): call init_driverio.
5501 1999-03-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5503 * server-src/amrmtape.sh.in: work with "last_level" and
5504 "consecutive_runs" in the ouput of "amadmin export".
5506 1999-02-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5508 * docs/WISHLIST: protocol between the driver and dumpers.
5510 1999-02-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5512 * server-src/amtoc.pl.in: output the datestamp of each dump, because
5513 amflush can flush the same disk multiple date.
5515 1999-02-27 Thomas Hepper <th@ant.han.de>
5516 * server-src/amlabel.c fixed call to changer_label
5518 1999-02-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5520 * server-src/holding.h: declare struct holding_t. Remove
5521 declaration of insert_dirname, scan_holdingdisk. Declare
5522 new function free_holding_list. pick_datestamp and
5523 pick_all_datestamp now return (holding_t *).
5524 * server-src/holding.c (insert_dirname): new parameter holding_list
5525 where we add the name. Can add more than MAX_DIRS name.
5526 * server-src/holding.c (free_holding_list): new function to free
5528 * server-src/holding.c (scan_holdingdisk): new parameter holding_list.
5529 * server-src/holding.c (pick_all_datestamp, pick_datestamp): return
5530 a list instead of a (char **).
5531 * server-src/find.c (search_holding_disk): use the list return by
5533 * server-src/amflush.c: use the list return by pick_datestamp.
5534 * server-src/amcleanupdisk.c (check_disks): use the list return by
5537 1999-02-26 Thomas Hepper <th@ant.han.de>
5539 * changer-src/chg-scsi.c Added global structs for the openend
5540 devices. Added new options label and search for the barcode
5541 support. New function MapBarCode, map barcode from reader
5542 to amanda tape labels.
5543 *changer-src/scsi-aix.c Error in copying SCSI ident fixed.
5544 A space mut not be the end of the string...
5545 * changer-src/scsi-bsd.c same as scsi-aix.c
5546 * changer-src/scsi-irix.c same as scsi-aix.c
5547 * changer-src/scsi-solaris.c same as scsi-aix.c
5548 * changer-src/scsi-hpux_new.c same as scsi-aix.c
5549 * changer-src/scsi-linux.c same as scsi-aix.c , fixed
5550 error in check if we open an sg device.
5551 * changer-src/scsi-changer-driver.c Removed LookupFunction
5552 and LookupDevice functions .
5553 * docs/TAPE.CHANGERS update info about chg-scsi
5555 1999-02-26 Michael Povel <mcp@ladyada.han.de>
5557 * server-src/amcheck.c Added debug output for barcode
5559 * server-src/amlabel.c Added debug output, inform chg-scsi
5561 * server-src/amtape.c Added debug output, inform chg-scsi
5563 * server-src/changer.c Added debug output, filled function
5564 changer-label with live, label search should work now
5566 1999-02-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5568 * server-src/driverio.c (addfd): bug fixe.
5570 1999-02-22 Alexandre Oliva <oliva@dcc.unicamp.br>
5572 * client-src/sendbackup-gnutar.c: new regexp for SAMBA
5573 Reported by Grzegorz Mucha <grzegorz.mucha@solidex.com.pl>
5575 1999-02-17 Alexandre Oliva <oliva@dcc.unicamp.br>
5577 * server-src/amtoc.pl.in: minor fixes for multi-tape runs
5579 1999-02-17 Nicolas Mayencourt <Nicolas.Mayencourt@cui.unige.ch>
5581 * server-src/amtoc.pl.in: complete, backward-incompatible rewrite;
5582 command-line arguments changed
5583 * man/amtoc.8.in: ditto
5585 1999-02-17 Alexandre Oliva <oliva@dcc.unicamp.br>
5587 * changer-src/chg-multi.sh.in: minor portability changes
5588 * docs/TAPE.CHANGERS: originally by James da Silva
5590 1999-02-17 Jean-Francois Dockes <dockes@cdkit.remcomp.fr>
5592 * changer-src/chg-multi.sh.in: various portability changes and
5593 general fixes, particularly for multieject; new cycle mode
5594 * docs/TAPE.CHANGERS: detailed description of chg-multi
5595 * example/chg-multi.conf: updated; added reference to
5596 docs/TAPE.CHANGERS for details
5598 1999-02-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5600 * server-src/driverio.h: remove declaration of addfd.
5601 * server-src/driverio.c (addfd): 2 new arguments, readset and maxfd,
5602 don't use global variable.
5603 * server-src/driverio.c (startup_tape_process, startup_dump_process):
5604 call addfd with new argument.
5606 1999-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5608 * server-src/driverio.c (startup_tape_process): new taper_program
5610 * server-src/driverio.h: remove declaration of taper_program.
5611 * server-src/driver.c (main): declare taper_program.
5612 * server-src/driver.c: call startup_tape_process with the new
5613 taper_program argument.
5614 * server-src/amflush.c (run_dumps): declare taper_program.
5615 * server-src/amflush.c (run_dumps): call startup_tape_process with
5616 the new taper_program argument.
5618 1999-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5620 * server-src/driverio.c (startup_dump_process, startup_dump_processes):
5621 new dumper_program argument.
5622 * server-src/driverio.h: remove declaration of dumper_program.
5623 * server-src/driver.c: declare dumper_program.
5624 * server-src/driver.c: call startup_dump_process and
5625 startup_dump_processes with the new dumper_program argument.
5627 1999-02-15 Thomas Hepper <th@ant.han.de>
5629 * changer-src/scsi-changer-driver.c forget to increment retry
5631 * changer-src/chg-scsi.c (clean_tape) added sleep(60) after
5632 loading the cleaning tape and before unloading
5634 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5636 * server-src/list_dir.h: remove global variable dir_list, declare
5637 new function get_dir_list.
5638 * server-src/list_dir.c (get_dir_list): new function to return dir_list.
5639 * server-src/amindexd.c (opaque_ls): use get_dir_list.
5641 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5643 * server-src/holding.h: remove declaration of get_letter_from_user()
5645 * server-src/holding.c: remove function get_letter_from_user() and
5647 * server-src/holding.c (pick_datestamp): return empty array instead
5648 of calling exit if no directory are found.
5649 * server-src/amflush.c (get_letter_from_user): new function copied
5651 * server-src/amflush.c (confirm): write a message and exit if no
5652 directory were found.
5654 1999-02-14 Thomas Hepper <th@ant.han.de>
5656 * changer-src/scsi-changer-driver.c New function SCSI_Move
5657 removed move in GenericMove, call now SCSI_Move
5658 Now check in GenericMove if the move is legal, based on the info
5659 from the device capabilities page
5660 * changer-src/scsi-linux.c (SCSI_OpenDevice) check if the device
5661 is an sg device, or an link to an sg device. If no set SCSI flag to 0
5662 Set timeout for SCSI commands, the default will not work if there is an
5663 IES on slow changers, if not set high maschine hangs with lot of SCSI bus
5666 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5668 * server-src/amindexd.c: remove duplication inclusion of version.h.
5669 Include tapefile.h to get read_tapelist() prototype.
5670 * server-src/amindexd.c (build_disk_table): remove a plethora of
5672 * server-src/planner.c: FORCE_FULL command was not cleared.
5674 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5676 * server-src/amflush.c (flush_holdingdisk): don't update the database
5677 when flushing a partial dump.
5679 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5681 * server-src/holding.h (get_dumpfile): new function
5682 * server-src/holding.c (get_dumpfile): new function to fill a
5683 dumpfile_t struct from a holding file.
5685 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5687 * server-src/amlabel.c: compiler warning: too many arguments for format
5689 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5691 * server-src/amlabel.c: remove the label from the tapefile in
5692 case it was already there (-f).
5694 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5696 * server-src/dumper.c: make sure holding files are not larger
5699 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5701 * server-src/amcleanupdisk.c: new program to scan and find temporary
5702 file on holding disks.
5703 * server-src/Makefile.am (libexec_PROGRAMS): add amcleanupdisk.
5704 * server-src/amcleanup.sh.in: call amcleanupdisk.
5706 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5708 * server-src/holding.c (pick_all_datestamp): new function to return
5709 all datestamp in the holding disks.
5710 * server-src/holding.h: declare pick_all_datestamp.
5712 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5714 * server-src/diskfile.h (host_t): new start_t field.
5715 * server-src/diskfile.c (read_diskline): set start_t to 0.
5716 * server-src/driver.c (start_some_dumps): Don't start a dump if
5717 the host->start_t > now.
5718 * server-src/driver.c (start_some_dumps): set host->start_t to 15 sec
5719 in the future when starting a FILE_DUMP.
5720 * server-src/driver.c (dump_to_tape): set host->start_t to 15 sec in
5721 the future when starting a PORT_DUMP.
5723 1999-02-12 Thomas Hepper <th@ant.han.de>
5724 * changer-src/Makefile.am added tape-src to the include list
5725 * changer-src/chg-scsi.c removed the changes for not using the
5727 * changer-src/scsi-aix.c Added debug output in SCSI_ExecuteCommand
5728 added size parameter to the SCSI_Inquiry call
5729 * changer-src/scsi-bsd.c added size parameter to the SCSI_Inquiry call
5730 * changer-src/scsi-hpux_new.c same as above
5731 * changer-src/scsi-irix.c same as above
5732 * changer-src/scsi-solaris.c same as above
5733 * changer-src/scsi-linux swich from ioctl interface to sg interface.
5734 Not full tested yet !!
5735 * changer-src/scsi-changer-driver.c Added new structs for new devices.
5736 complete rewrite of Sense Handling. Removed now unused functions.
5737 Added first functions for Barcode reader support.
5738 Now use MODE_SENSE to get the number of Drives/Slots/Robots.
5739 Split up functions in SCSI functions (prefix SCSI, Generic functions,
5740 prefix Generic. Not complete yet). Rewrite of GenericElementStatus
5741 * changer-src/scsi-defs.h added new structs, reordered some defines.
5742 * changer-src/chg-scsi-chio.c New file(copy of chg-scsi.c).
5743 Too difficult to maintain chg-scsi and chg-scsi-chio from one file
5745 1999-02-10 Alexandre Oliva <oliva@dcc.unicamp.br>
5747 * server-src/amlabel.c (main): try to read just-written tape label
5748 back; if wrendmark overwrote the label, suggest using a
5749 non-rewinding device
5750 * tape-src/tapeio.c (tape_wrendmark): would not close tape device if
5753 1999-02-10 Paul Bijnens <Paul.Bijnens@lant.be>
5755 * server-src/amoverview.pl.in: Y2K fix in output to user
5756 * server-src/amtoc.pl.in (print_info): ditto
5758 1999-02-10 Alexandre Oliva <oliva@dcc.unicamp.br>
5760 * client-src/sendsize.c (getsize_dump): do not redirect standard
5761 output of estimator to /dev/null if we HAVE_DUMP_ESTIMATE
5763 1999-02-03 Alexandre Oliva <oliva@dcc.unicamp.br>
5765 * NEWS: fix description of incronly: it won't really perform full
5768 * NEWS: support for ufsdump -S, incronly strategy and new chunksize
5771 * server-src/conffile.c (init_holdingdisk_defaults, chunksize):
5773 * example/amanda.conf.in: ditto
5774 * man/amanda.8.in: ditto
5776 * configure.in (amanda_cv_dump_estimate): check for support for -S
5777 too, and define HAVE_DUMP_ESTIMATE as the estimate switch, if any
5778 * client-src/sendsize.c (re_size): new regexps for Solaris ufsdump
5779 -S and Samba `du'. Restrict regexp that matched Digital Unix'
5780 dump -E so that it doesn't match smbclient's output any more.
5781 Move some regexps around, and only define them if the corresponding
5782 dump program is available
5784 1999-02-01 Alexandre Oliva <oliva@dcc.unicamp.br>
5786 * example/amanda.conf.in: document the behavior of relative
5788 * man/amanda.8.in: ditto
5790 * man/amanda.8.in (exclude list): the GNU tar flag is
5791 --exclude-from, not --exclude-list
5792 Reported by Tom Schutter <tom@platte.com>
5794 1999-02-01 Alexandre Oliva <oliva@dcc.unicamp.br>
5796 * client-src/sendbackup-gnutar.c (re_table): ignore `session request
5797 to' message printed by Samba 2.0.0
5799 1999-01-28 Alexandre Oliva <oliva@dcc.unicamp.br>
5801 * man/amanda.8.in (comprate): it is not used when there is history
5802 information; useful for large disks that compress little
5803 Reported by job bogan <job@piquin.uchicago.edu>
5805 1999-01-28 Alexandre Oliva <oliva@dcc.unicamp.br>
5807 * Makefile.am: select which SUBDIRS to descend to here
5808 * client-src/Makefile.am: removed if WANT_CLIENT
5809 * tape-src/Makefile.am: removed if WANT_TAPE
5810 * server-src/Makefile.am: removed if WANT_SERVER
5811 * changer-src/Makefile.am: ditto
5812 * restore-src/Makefile.am: removed if WANT_RESTORE
5813 * recover-src/Makefile.am: removed if WANT_RECOVER
5814 * amplot/Makefile.am: removed if WANT_AMPLOT
5816 1999-01-27 Alexandre Oliva <oliva@dcc.unicamp.br>
5818 * NEWS: chg-scsi ports and Samba 2.0.0 support
5820 * configure.in (USE_AMANDAHOSTS): enable by default
5821 * example/config.site: ditto
5822 * docs/INSTALL: ditto
5825 * docs/INSTALL: updated URLs for GNU packages and Samba
5826 * docs/SAMBA: note that Samba 2.0.0 is supported
5828 * docs/SYSTEM.NOTES (HP/UX): what does `Link severed' mean?
5830 1999-01-27 Thomas Hepper <th@ant.han.de>
5831 * changer-src/scsi-changer-driver.c SCSI_ReadElementStatus
5832 A while loop has to start with while, not if .....
5834 1999-01-27 Alexandre Oliva <oliva@dcc.unicamp.br>
5836 * Makefile.am (EXTRA_DIST): sst was added within contrib
5838 * ltmain.sh, ltconfig, libtool.m4i: updated from libtool CVS
5839 * configure.in: AC_SUBST LIBTOOL_DEPS
5840 * Makefile.am: regen libtool if neded
5842 * Makefile.am: declare that we want automake 1.4 and we're a foreign
5845 * configure.in: require autoconf 2.13, and use
5846 AC_VALIDATE_CACHED_SYSTEM_TUPLE instead of
5847 AC_VALIDATE_CACHE_SYSTEM_TYPE
5848 * config/acinclude.m4i: removed AC_VALIDATE_CACHE_SYSTEM_TYPE
5850 * configure.in (SAMBA_CLIENT): updated check for smbclient to
5853 1999-01-26 Alexandre Oliva <oliva@dcc.unicamp.br>
5855 * server-src/amdump.sh.in (runuser): set to LOGNAME if defined, and
5856 to the output of whoami otherwise
5857 Reported by Tom Schutter <tom@platte.com>
5859 1999-01-26 Thomas Hepper <th@ant.han.de>
5860 * Makefile.am Added sst driver files to EXTAR_DIST
5862 1999-01-26 Thomas Hepper <th@ant.han.de>
5863 * changer-src/chg-scsi.c If statfile is not set try to get the info
5864 about the current loaded tape direct from the changer.
5865 Fixed debug output for the eject value if > 1
5866 * changer-src/libscsi.h Prototype for GetCurrentSlot
5867 * changer-src/scsi-aix.c If the Device we open is not a changer or tape
5868 return NULL, so that the above function can abort. New eject per mtio ioctl.
5869 * changer-src/scsi-bsd.c see scsi-aix.c
5870 * changer-src/scsi-linux.c see scsi-aix.c
5871 * changer-src/scsi-hpux_new.c see scsi-aix.c
5872 * changer-src/scsi-irix.c see scsi-aix.c
5873 * changer-src/scsi-solaris.c see scsi-aix.c and added a retry loop for
5874 the execution of SCSI commands.
5875 * changer-src/scsi-changer-driver.c New Function SCSI_ReadElementStatus
5876 split ReadElementStatus in device and device independed part
5877 New EXB120ElementStatus, renamed ReadElementStatus in GenericElementStatus
5878 added EXB 120 and DLT7000 to the devices list.
5879 Removed the linked list for the element status. Now every element
5880 type has its own array allocated in the *ElementStatus functions.
5881 Check in the functions which sends SCSI commands if the fd is able to
5882 receive SCSI commands.
5883 In GenericEject check which type of eject to use (ioctl/SCSI)
5884 New GetCurrentSlot, try to get the info about the loaded tape direct from
5886 * changer-src/scsi-chio.c Add function GetCurrentSlot (not well tested yet)
5887 * changer-src/scsi-defs.h Added missing decl. in MediumTransportElementDescriptor_T
5888 for LITTLE_ENDIAN_BITFIELDS
5889 new field from in ElementInfo_T
5890 * changer-src/sci-hpux.c EMpty function GetCurrentSlot, do we still need scsi-hpux.c ?
5891 * docs/TAPE.CHANGERS added some notes for HP-UX, expanded list of tested devices
5893 1999-01-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5895 * server-src/conffile.c (init_defaults): default value of runspercycle
5897 * server-src/amadmin.c (balance): use default value of runspercycle.
5898 * server-src/planner.c (main): use default value of runspercycle.
5900 1999-01-22 Martin Apel <apel@tecmath.de>
5902 * example/amanda.conf.in: explanation of incronly strategy.
5903 * man/amanda.8.in: explanation of incronly strategy.
5904 * server-src/amadmin.c: recognize incronly strategy
5905 * server-src/conffile.c: read the incronly strategy in the
5907 * server-src/conffile.h: definition of DS_INCRONLY
5908 * server-src/planner.c: Do planning for incronly strategy:
5909 If the force flag is set perform a full dump, otherwise do
5910 normal incremental processing but avoid full dumps.
5911 * server-src/tapefile.c: Bugfix so only tapes which match
5912 the regular expression for tape labels in the current
5913 configuration are considered for writing.
5915 1999-01-22 Alexandre Oliva <oliva@dcc.unicamp.br>
5917 * configure.in: require autoconf 2.12.2
5919 * changer-src/Makefile.am (LDADD): add libamtape, because
5920 tapefd_rdlabel() is used in scsi-changer-driver.c
5922 * server-src/planner.c (output_scheduleline): removed `or historical
5923 data' from `no estimate' message; historical data doesn't matter any
5925 Reported by Giorgos Vlachos <Giorgos.Vlachos@eurodyn.com>
5927 1999-01-20 Todd Pfaff <pfaff@mcmaster.ca>
5929 * client-src/sendbackup-gnutar.c: more Samba 2.0.0 messages
5931 * client-src/sendbackup-gnutar.c: new Samba 2.0.0 message
5933 1999-01-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5935 * server-src/amflush.c: use ap_snprintf instead of snprintf.
5936 * server-src/amflush.c: rotation of new amflush log was broken.
5938 1999-01-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5940 * server-src/reporter.c: always call output_stats(), the problem is
5941 that degraded_mode is set if amflush fills the tape.
5943 1999-01-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5945 * server-src/amflush.c: write debuging info to $logdir/amflush
5946 instead of /dev/null if we run in background.
5947 * server-src/amcleanup.sh.in: rename $logdir/amflush.
5949 1999-01-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5951 * server-src/amstatus.pl.in: fix a divide by zero error.
5953 1999-01-10 Thomas Hepper <th@ant.han.de>
5954 * rewite of the scsi-changer-driver.c and the os depnedent
5955 parts. Removed one layer of functions (Move, Eject, Clean ...)
5957 1999-01-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5959 * server-src/amstatus.pl.in: report the current dump when reporting
5960 the busy time of each dumper.
5962 1998-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5964 * server-src/dumper.c: open temporary holding file with O_TRUNC flags
5967 1998-12-28 John R. Jackson <jrj@purdue.edu>
5969 * server-src/reporter.c: do not drop core generating labels if the
5970 tape label is not defined, e.g. in degraded mode (compliments of
5971 Jan L. Peterson <jlp@Part.NET>).
5973 1998-12-28 John R. Jackson <jrj@purdue.edu>
5975 * server-src/amtape.c: initialize two strings to NULL to avoid a
5976 core dump, compliments of G. Allen Morris III <gam3@acm.org>.
5978 1998-12-27 John R. Jackson <jrj@purdue.edu>
5980 * man/amreport.8.in: remove reference to 8.5x11 paper size for the
5983 1998-12-27 John R. Jackson <jrj@purdue.edu>
5985 * example/3hole.ps: new lbl-templ file for 3 hole punch reports
5986 * example/Makefile.am: add 3hole.ps
5988 1998-12-22 Thomas Hepper <th@icem.de>
5990 * docs/TAPE.CHANGERS Update notes about chg-scsi
5991 * changer-src/chg-scsi.c Added new config option tapestatus,
5992 if set the tape log pages are written to this file.
5993 changed parameter list for get_clean_state/ask_clean,
5994 * changer-src/libscsi.h changed parameter list for get_clean_state
5995 * changer-src/scsi-changer-driver.c Added new functions OpenDevice
5996 CloseDevice LookupDevice.
5997 Added new functions to read and decode the Tape LOG Pages.
5998 Tape Eject and ready check is now done by SCSI calls
6000 * changer-src/scsi-aix.c
6001 * changer-src/scsi-bsd.c
6002 * changer-src/scsi-hpux_new.c
6003 * changer-src/scsi-hpux.c
6004 * changer-src/scsi-irix.c
6005 * changer-src/scsi-solaris.c
6006 Changed all SCSI_OpenDevice/SCSI_CloseDevice functions so that they
6007 fit to the new OpenDevice/CloseDevice calls. Removed mtio.h from
6008 includes, remove Tape_Ready and Tape_Eject
6009 * changer-src/scsi-chio.c
6010 * changer-src/scsi-defs.h
6012 For all changer-src files, removed tabs, run indent (from xemacs)
6013 Added emacs variables to the end (no tab, gnu style)
6015 1998-12-21 John R. Jackson <jrj@purdue.edu>
6017 * man/amanda.8.in: document the lbl-templ tapetype option.
6019 1998-12-21 John R. Jackson <jrj@purdue.edu>
6021 * man/amreport.8.in: fix formatting problem.
6023 1998-12-20 John R. Jackson <jrj@purdue.edu>
6025 * configure.in: define NEED_RESETOFS unless LFS (large file system
6026 support) is available.
6027 * config/acconfig.h: add NEED_RESETOFS tag.
6028 * server-src/taper.c: only reset the tape offset if NEED_RESETOFS
6029 is defined and only once per 2 GBytes.
6031 1998-12-20 Alexandre Oliva <oliva@dcc.unicamp.br>
6033 * server-src/amlabel.c (main): datestamp for new tapes is now 0
6034 * server-src/tapefile.c (reusable_tape): recognize datestamp 0 as
6036 * man/amlabel.8.in: document that tapes are added to tapelist
6038 1998-12-19 John R. Jackson <jrj@purdue.edu>
6040 * server-src/amstatus.pl.in: instead of just displaying why no
6041 dumpers were busy, display reason(s) why N+1 were not busy.
6043 1998-12-18 John R. Jackson <jrj@purdue.edu>
6045 * server-src/amstatus.pl.in: add statistics about how much time
6046 taper and each dumper is busy, how much time N dumpers are busy
6047 and why no dumpers were busy.
6049 1998-12-18 John R. Jackson <jrj@purdue.edu>
6051 * server-src/amstatus.pl.in: fix two perl warnings.
6053 1998-12-18 John R. Jackson <jrj@purdue.edu>
6055 * server-src/amstatus.pl.in: fix two minor typos. Add percentage
6056 display to the summary comparing real and estimated size and real
6057 versus total estimate (showing how well the estimates are doing and
6058 a rough guess at how far along the run is). Also the percentage of
6059 total holding disk space in use.
6061 1998-12-18 John R. Jackson <jrj@purdue.edu>
6063 * server-src/amstatus.pl.in: take the --file argument as is if it
6064 is an absolute path.
6066 1998-12-18 John R. Jackson <jrj@purdue.edu>
6068 * server-src/driver.c: call short_dump_state() one last time before
6069 quitting so amstatus gets a last good status. Tell taper to quit
6070 after the dumpers since it writes more information to the amdump
6071 file (helps prevent mixed messages).
6073 1998-12-17 Alexandre Oliva <oliva@dcc.unicamp.br>
6075 * common-src/Makefile.am (noinst_DATA): removed; bogus
6076 * config/config.guess, config/config.sub: config/install-sh,
6077 config/mkinstalldirs: updated to current pre-2.13 autoconf CVS tree
6078 * patches/autoreconf.patch: removed
6079 * config/libtool/libtool.m4: renamed to config/libtool.m4i
6080 * config/acinclude.m4: renamed to config/acinclude.m4i
6081 * config/Makefile.am (EXTRA_DIST): updated to reflect changes
6082 * autogen: build config/acinclude.m4 by concatenating acinclude.m4i
6084 * configure.in: no longer test whether libtool is installed; require
6086 * config/ltconfig, config/ltmain.sh, config/libtool.m4i: updated to
6088 * amplot/Makefile.am (EXTRA_DIST): no longer needed
6089 * changer-src/Makefile.am (chg_scsi_SOURCE): move scsi-defs.h closer
6090 to the beginning of the list
6091 * docs/INSTALL: fixed URL to gnuplot; recommend autoconf and
6094 1998-12-14 Alexandre Oliva <oliva@dcc.unicamp.br>
6096 * configure.in (BSD SCSI): test ... -a ... is not portable, and less
6097 so when written test ... -a test ... :-)
6099 1998-12-14 Thomas Hepper <th@icem.de>
6101 * changer-src/Makefile.am Added scsi-bsd.c
6102 * changer-src/chg-scsi.c Initialize *scsitapedevice
6103 * changer-src/scsi-changer-driver.c remove LITTLE_ENDIAN_BITFILEDS
6105 changed RequestSense to pRequestSense (there is a function
6106 called RequestSense)
6107 changed error handling in ResetStatus (fix for IRIX)
6108 FIxed length handling for the pages in ReadElemtStatus
6109 * changer-src/scsi-chio.c get_clean_state only returns 0, the
6110 ioctl to get the clean flag is not portable ;-(
6111 changed all (f)printf to dbprintf
6113 * changer-src/scsi-defs.h ElementStatusData_T is for BIG and
6114 LITTLE endian the same ...
6116 * changer-src/scsi-bsd.c New file for FreeBSD
6118 * changer-src/scsi-irix.c Clean up in the return handling
6119 changed RequestSense to pRequestSense
6120 Removed unused function TapeStatus
6122 * changer-src/scsi-linux.c changed RequestSense to pRequestSense
6123 Removed unused function TapeStatus
6125 * changer-src/scsi-solaris.c changed RequestSense to pRequestSense
6126 Removed unused function TapeStatus
6128 * config/acconfig.h added def for BSD_LIKE_SCSI
6130 * configure.in Added check for ENDIAN type AC_C_BIGENDIAN
6131 added sys/scsiio.h and check for BSD SCSI interface
6133 1998-12-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6135 * server-src/driver.c (handle_dumper_result): rename .tmp files
6136 when receiving ABORT_FINISHED.
6138 1998-12-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6140 * server-src/driver.c (start_some_dumps): Use the holdp returned
6141 by find_diskspace for a big_dumper in degraded mode.
6143 1998-12-11 Alexandre Oliva <oliva@dcc.unicamp.br>
6145 * docs/SYSTEM.NOTES (Ultrix): recommend gcc or egcs
6146 (IRIX): patch for xfsdump estimates
6148 1998-12-10 John R. Jackson <jrj@purdue.edu>
6150 * common-src/amflock.c (main): remove call set_pname() for
6151 CONFIGURE_TEST since error.o is not linked in.
6153 1998-12-10 John R. Jackson <jrj@purdue.edu>
6155 * common-src/amflock.c (main): report CONFIGURE_TEST error messages to
6158 1998-12-10 John R. Jackson <jrj@purdue.edu>
6160 * common-src/amflock.c (main): call set_pname() for CONFIGURE_TEST.
6161 * configure.in: do not set up pname global for lnlock CONFIGURE_TEST.
6163 1998-12-09 Henning P. Schmiedehausen <henning@tanstaafl.de>
6165 * client-src/sendbackup.c (parse_options): Added check whether the
6166 pathname of the exclude file is relative and if yes, use the
6167 mountpoint of the filesystem as anchor. So you can put your exclude
6168 file in the root of the filesystem to backup.
6169 * client-src/sendsize.c (getsize_gnutar): added the same check as
6170 above so sendsize uses the same exclude file.
6172 1998-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6174 * server-src/holding.c (size_holding_files): return size in KB.
6175 * server-src/driver.c (adjust_diskspace): use KB returned by
6177 * server-src/driver.c: rename .tmp file
6178 * server-src/dumper.c: do not rename .tmp file. let the driver do it.
6180 1998-12-09 John R. Jackson <jrj@purdue.edu>
6182 * common-src/stream.c (stream_server): do not request a reserved port
6183 if we are root but PORTRANGE is defined. Also, clean up the code
6184 and make sure *portp is -1 on all error returns.
6186 1998-12-08 John R. Jackson <jrj@purdue.edu>
6188 * Makefile.am: add the user-contributed area.
6189 * contrib/README: describe the user-contributed area.
6190 * contrib/dbbackup.README: README for Oracle database backup system.
6191 * contrib/dbbackup.ksh: Oracle database backup system wrapper.
6192 * contrib/dbbackup.sql: Oracle database backup system setup commands.
6193 * contrib/dbbackup.tcl: Oracle database backup system main body.
6195 1998-12-08 John R. Jackson <jrj@purdue.edu>
6197 * amplot/Makefile.am: fix install rule when DESTDIR is non-null,
6198 compliments of Henning P. Schmiedehausen <hps@tanstaafl.de>.
6200 1998-12-08 John R. Jackson <jrj@purdue.edu>
6202 * configure.in: fix reversed code for --with-amrecover, compliments
6203 of Yar Tikhiy <yar@radio-msu.net>.
6205 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6207 * common-src/fileheader.h (dumpfile_t): new is_partial field.
6208 * common-src/fileheader.c: add codee for new is_partial field.
6209 * server-src/holding.h (rename_tmp_holding): declare new function.
6210 * server-src/holding.c (rename_tmp_holding): new function.
6211 * server-src/dumper.c (do_dump): return 1 if succeded, otherwise 0.
6212 * server-src/dumper.c (main): open .tmp when dumping to disk,
6213 rename .tmp if do_dump return 1.
6214 * server-src/dumper.c (update_dataptr): open .tmp for new chunk.
6215 * server-src/amstatus.pl.in (dump_size): return size of .tmp file.
6217 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6219 * NEWS: document new force-bump, force-no-bump and unforce-bump
6222 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6224 * server-src/holding.c (size_holding_files): new function to
6225 return the sum of the size of all chunk of an image.
6226 * server-src/holding.h (size_holding_files): declare.
6227 * server-src/driver.c (adjust_diskspace): use size_holding_files
6228 instead of doing a stat of only the first chunk.
6230 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6232 * server-src/amadmin.c: new force-bump, force-no-bump and unforce-bump
6234 * man/amadmin.8.in: document them.
6236 1998-12-05 Alexandre Oliva <oliva@dcc.unicamp.br>
6238 * docs/FAQ (large filesystems): fixed reference to results missing
6239 (results missing): updated to 64Kb UDP packets
6241 1998-12-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6243 * server-src/infofile.h: rename PLANNER_FORCE to FORCE_FULL
6244 * server-src/planner.c: rename PLANNER_FORCE to FORCE_FULL
6245 * server-src/amadmin.c: rename PLANNER_FORCE to FORCE_FULL
6247 1998-12-01 John R. Jackson <jrj@purdue.edu>
6249 * server-src/amcheck.c: make -t mean do the tape checks, add new -l
6250 option for doing just the local server (non-tape) checks. Have -w
6251 turn on -t. Have -cs (or -sc) do both server and client checks.
6252 * man/amcheck.8.in: document above changes and clean up some minor
6255 1998-11-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6257 * server-src/driver.c (start_some_dumps): In degraded mode,
6258 a big dumper should do high priority dump before low priority.
6259 * server-src/driver.c (sort_by_priority_reversed): sort by
6260 time if priority is equal.
6262 1998-11-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6264 * server-src/infofile.h: declare FORCE_BUMP and FORCE_NO_BUMP
6266 * server-src/amadmin.c (force_one,unforce_one,info_one): work
6267 with info.command with bit operator.
6268 * server-src/planner.c (setup_estimate): work with info.command
6269 with bit operator, support for FORCE_BUMP and FORCE_NO_BUMP command.
6271 1998-11-27 Thomas Hepper <th@icem.de>
6273 * changer-src/scsi-aix.c Some changes in the error handling in
6274 scsi command execution
6275 * changer-src/scsi-changer-driver.c More debug prints.
6276 removed Endian16/Endian24 (replaced with macros)
6277 * changer-src/scsi-chio.c make get_clean_state work on linux
6278 * changer-src/scsi-defs.h added macros for converting from/to
6280 * docs/TAPE.CHANGERS add note about AIX and chg-scsi
6282 1998-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6284 * server-src/amadmin.c(export_one): export the last_level and
6285 consecutive_runs field.
6286 * server-src/amadmin.c(import_one): import the last_level and
6287 consecutive_runs field.
6289 1998-11-24 John R. Jackson <jrj@purdue.edu>
6291 * server-src/amlabel.c: insist on being run as the dump user (ala
6292 amlabel) to keep permissions straight.
6294 1998-11-24 John R. Jackson <jrj@purdue.edu>
6296 * server-src/amadmin.c: fix minor message format problem.
6298 1998-11-24 John R. Jackson <jrj@purdue.edu>
6300 * server-src/amlabel.c: insist on being run as the dump user (ala
6301 amflush) to keep permissions straight.
6303 1998-11-24 John R. Jackson <jrj@purdue.edu>
6305 * server-src/amrmtape.sh.in: insist on being run as the dump user (ala
6306 amdump) to keep permissions straight.
6308 1998-11-24 John R. Jackson <jrj@purdue.edu>
6310 * server-src/amadmin.c: issue a warning for update commands that might
6311 leave ownership incorrect.
6313 1998-11-24 John R. Jackson <jrj@purdue.edu>
6315 * server-src/amcheck.c: add a "-t" option to disable tape tests in the
6316 server checks. This lets server checks be done without mounting a
6317 tape. Add lots more sanity checks, in particular, ownership and
6318 permissions of the index area and text format database. Warn if
6319 amcheck is not run as the dump user listed in amanda.conf. Minor
6320 consistency cleanup in the messages.
6321 * man/amcheck.8.in: document the changes.
6323 1998-11-20 Alexandre Oliva <oliva@dcc.unicamp.br>
6325 * server-src/amcleanup.sh.in (logdir/amdump): arrange that it is
6326 renamed if it exists, even if no log file could be found.
6328 1998-11-19 Alexandre Oliva <oliva@dcc.unicamp.br>
6330 * config/ltmain.sh, config/ltconfig, config/libtool/libtool.m4:
6331 updated to current CVS libtool
6333 1998-11-19 John R. Jackson <jrj@purdue.edu>
6335 * server-src/conffile.c (get_holdingdisk, init_holdingdisk_defaults):
6336 set the default chunksize and the "0" and "-1" special chunksizes
6337 to 64 KBytes less than the maximum to allow the final read at EOF.
6338 * server-src/dumper.c (main): leave the chunksize as it is when it
6339 comes in except to truncate it to a 32 KByte boundary.
6340 * man/amanda.8.in: add some chunksize comments and clean up a few
6341 minor odds and ends.
6343 1998-11-19 John R. Jackson <jrj@purdue.edu>
6345 * recover-src/amrecover.c (main): use set_host to find the initial
6346 host name so we get the same alias resolution at startup as the
6348 * recover-src/set_commands.c (set_host): report alternate names being
6349 attempted and only clear the directory list if a host is found.
6351 1998-11-19 Alexandre Oliva <oliva@dcc.unicamp.br>
6353 * server-src/driverio.c (update_info_dumper): do not update
6354 compression or dump rates when called from
6355 update_failed_dump_to_date
6356 Reported by Michael Schmitz <mschmitz@sema.de>
6358 1998-11-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6360 * server-src/dumper.c (main): reduce the size of the chunksize by
6363 1998-11-18 Alexandre Oliva <oliva@dcc.unicamp.br>
6365 * configure.in: hack for paxutils was not working; fixed
6367 1998-11-18 Michael Povel <mcp@ladyada.han.de>
6369 * server-src/changer.h added new functions:changer_query
6370 ,changer_search,changer_find, changer_label
6371 * server-src/changer.c added changer_query, changer_search,
6372 changer_find, changer_label
6373 * server-src/amcheck.c (taper_scan) now uses changer_find
6374 * server-src/amtape.c (load_label and taper_scan) now use changer_find
6375 * server-src/taper.c (taper_scan) now uses changer_find
6376 * server-src/amlabel.c (main) added call to changer_label
6377 which is only an empty dummy at the moment
6379 1998-11-18 Thomas Hepper <th@icem.de>
6381 * changer-src/chg-scsi.c Added debug print option
6382 * changer-src/chg-scsi.c If the load fails do not continue
6383 * changer-src/scsi-aix.c changed #include <config.h> to <amanda.h>
6384 * changer-src/scsi-aix.c Added debug prints to SCSI_ExecuteCommand
6385 * changer-src/scsi-changer-driver.c changed #include <config.h> to
6387 * changer-src/scsi-changer-driver.c Added debugging prints
6388 * changer-src/scsi-changer-driver.c Remove unused funktion TestUnitReady
6389 * changer-src/scsi-chio.c added missing funktion Tape_Ready
6390 * changer-src/scsi-hpux.c removed #include "config.h", is already done
6392 * changer-src/scsi-hpux_new.c changed #include <config.h> to
6394 * changer-src/scsi-irix.c changed #include <config.h> to
6396 * changer-src/scsi-linux.c changed #include <config.h> to
6398 * changer-src/scsi-solaris.c changed #include <config.h> to
6401 1998-11-17 Alexandre Oliva <oliva@dcc.unicamp.br>
6403 * client-src/sendsize.c: disable HAVE_DUMP_ESTIMATE if SAMBA_CLIENT
6406 1998-11-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6408 * server-src/tapefile.c (lookup_last_reusable_tape): Wrong order
6409 to shift the tpsave array.
6411 1998-11-17 Alexandre Oliva <oliva@dcc.unicamp.br>
6413 * example/amanda.conf.in: document that infofile is supposed to be a
6414 directory with the default database format
6415 * docs/FAQ: New questions: `infofile update failed' and `using the
6416 same host in different configurations'
6418 1998-11-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6420 changer-src/scsi-linux.c (Tape_Ready): typo, the argument Device
6421 to the SCSI_CloseDevice() is not defined, I changed it to tapedev.
6423 1998-11-17 Brendan M Coffey <bcoffey@connix.com>
6425 * common-src/stream.c (stream_server): add requested send and receive
6426 socket size parameters.
6427 * common-src/stream.h (stream_server): ditto
6428 * server-src/taper.c (file_reader_side): set a large receive socket
6430 * client-src/sendbackup.c (main): set a large send and receive socket
6431 buffer size for the data path, use defaults for the message and index
6434 1998-11-16 Alexandre Oliva <oliva@dcc.unicamp.br>
6436 * changer-src/scsi-solaris.c (Tape_Ready): typo in Thomas' patch
6438 1998-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6440 * server-src/infofile.h (get_dumpdate): rename record parameter to info.
6441 * server-src/infofile.h (get_info): rename record parameter to info.
6442 * server-src/infofile.h (put_info): rename record parameter to info.
6443 * server-src/infofile.c (get_dumpdate): rename rec parameter to info.
6444 * server-src/infofile.c (zero_info): rename ip parameter to info.
6445 * server-src/infofile.c (get_info): rename record parameter to info.
6446 * server-src/infofile.c (put_info): rename record parameter to info.
6447 * server-src/infofile.c (dump_rec): rename r parameter to info.
6448 * server-src/infofile.c (dump_db): rename record variable to info.
6449 * server-src/planner.c (last_level): rename ip parameter to info.
6450 * server-src/planner.c (next_level0): rename ip parameter to info.
6451 * server-src/planner.c (runs_at): rename ip parameter to info.
6452 * server-src/planner.c (askfor): rename inf parameter to info.
6453 * server-src/planner.c (setup_estimate): rename inf variable to info.
6454 * server-src/driverio.c (update_info_dumper): rename inf parameter
6456 * server-src/driverio.c (update_info_taper): rename inf parameter
6458 * server-src/amadmin.c (next_level0): rename ip parameter to info.
6459 * server-src/amadmin.c (force_one): rename inf variable to info.
6460 * server-src/amadmin.c (unforce_one): rename inf variable to info.
6461 * server-src/amadmin.c (delete_one): rename inf variable to info.
6462 * server-src/amadmin.c (info_one): rename inf variable to info.
6463 * server-src/amadmin.c (due_one): rename inf variable to info.
6464 * server-src/amadmin.c (balance): rename inf variable to info.
6466 1998-11-11 Thomas Hepper <th@icem.de>
6468 * configure.in: amanda_cv_hpux_scsi was double defined.
6469 Replaced it in the chio check with amanda_cv_hpux_scsi_chio
6470 * docs/TAPE.CHANGERS: update the notes about chg-scsi
6471 * changer-src/chg-scsi.c: Unload the cleaning tape only
6473 Pass the changerdev and tapedev Tape_Ready, so we can check
6474 if changerdev=tapedev. In this case the fd is already open.
6475 * changer-src/scsi-aix.c: cleanup and first parts are running :-)
6476 * changer-src/scsi-changer-driver.c: Pass back the scsi status
6477 field to the calling function, not the result from the ioctl
6478 if the return form the ioctl is >= 0
6479 * changer-src/scsi-hpux.c: Add additional param to Tape_Ready
6480 fill Tape_Ready with live
6481 * changer-src/scsi-hpux_new.c: Return the scsi status if
6482 the ioctl result is >=0. Add new Parameter to Tape_Ready
6483 * changer-src/scsi-irix.c: same as scsi-hpux_new.c
6484 * changer-src/scis-linux.c: Add additional param to Tape_Ready
6485 * changer-src/scsi-solaris.c: same as scsi-hpux_new.c
6487 1998-11-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6489 * server-src/driver.c (main): redo my patch about total_disksize that
6490 Alexendre has undone, only the 2.4.1 branch was broken.
6492 1998-11-10 Alexandre Oliva <oliva@dcc.unicamp.br>
6494 * server-src/driver.c (main): total_disksize was only added after
6495 the loop terminated, i.e., when hdp was NULL -> crash. fixed.
6497 1998-11-09 John R. Jackson <jrj@purdue.edu>
6499 * server-src/reporter.c (main): ignore SIGPIPE so if a child process
6500 dies we do not also go away. Also fix a core dump if amanda.conf
6501 cannot be processed, and clean up a few error messages.
6503 1998-11-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6505 * server-src/infofile.h (struct info_s): add last_level and
6507 * server-src/infofile.c: support new last_level and consecutive_runs
6508 * server-src/planner.c (last_level): return ip->last_level.
6509 * server-src/planner.c (runs_at): return ip->consecutive_runs.
6510 * server-src/driverio.c (update_info_dumper): update inf.last_level
6511 and inf.consecutive_runs.
6513 1998-11-09 Mike Grupenhoff <kashmir@munge.com>
6514 * client-src/sendbackup-dump.c (start_backup): don't close indexf
6515 if it was never open
6516 * client-src/sendbackup-gnutar.c (start_backup): ditto
6518 1998-11-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6520 * server-src/driver.c (main): add hdp->disksize to total_disksize
6521 even when we create the datestamp dir. (reserve was unusable).
6523 1998-11-07 Alexandre Oliva <oliva@dcc.unicamp.br>
6525 * configure.in (GNUTAR): accept tar from Free paxutils, the new name
6528 1998-11-07 Alexandre Oliva <oliva@dcc.unicamp.br>
6530 * changer-src/scsi-solaris.c: added missing #endif
6532 * configure.in: merge with camlib.h patch from Oct 31.
6533 remove all uses of test ... -a ...; this is not portable.
6534 (AC_CHECK_HEADERS) added header files for Linux and Solaris
6536 1998-11-07 Thomas Hepper <th@icem.de>
6538 * changer-src/chg-scsi: Add config option scsidev
6539 * changer-src/chg-scsi: Remove function tape_ready
6540 * changer-src/chg-scsi: Add new parameter tapedev to function
6542 * changer_src/scsi-hpux.c: changed HAVE_HPUX_SCSI to
6543 HAVE_HPUX_SCSI_CHIO, changed in configure.in too
6544 * changer-src/libscsi.h: Expand definition for get_clean_state
6545 * new files in /changer-src:
6546 scsi-aix.c, scsi-changer-driver.c, scsi-defs.h
6547 scsi-hpux_new.c, scsi-irix.c, scsi-linux.c, scsi-solaris.c
6548 * configure.in checks for scsi ioctl added, check for header files
6549 for the scsi suport added
6550 * config/acconfig.h new:
6551 HAVE_HPUX_LIKE_SCSI, HAVE_HPUX_SCSI_CHIO, HAVE_LINUX_LIKE_SCSI
6552 HAVE_IRIX_LIKE_SCSI, HAVE_SOLARIS_LIKE_SCSI, HAVE_AIX_LIKE_SCSI
6553 removed: HAVE_HPUX_SCSI
6554 * changer-src/Makefile.am: New conditional for building chg-scsi-chio
6555 and chg-scsi. chg-scsi-chio is the old chg-scsi
6557 1998-11-05 John R. Jackson <jrj@purdue.edu>
6559 * server-src/amverify.sh.in: tolerate extra amtape output.
6561 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6563 * recover-src/amrecover.c: remove declaration of errstr.
6565 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6567 * server-src/amindexd.c (build_disk_table): call find_dump() instead
6568 of popen("amadmin <conf> find ...")
6570 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6572 * server-src/holding.h: rename dir_list to holding_list because
6573 dir_list is also declared in amflush.c
6574 * server-src/holding.c: ditto
6575 * server-src/find.c: ditto
6577 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6579 * server-src/amstatus.pl.in: remove warning.
6581 1998-11-04 Alexandre Oliva <oliva@dcc.unicamp.br>
6583 * server-src/taper.c (read_file): if a new tape cannot be found,
6584 report a no-tape error to the log file and exit, just like it does
6587 1998-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6589 * server-src/planner.c (pick_inclevel): return base_level even
6590 when the estimate failed.
6591 * server-src/planner.c (output_scheduleline): test for degr_size
6592 instead of degr_level.
6594 1998-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6596 * server-src/planner.c (last_level): update last_date otherwise only
6597 level 0 or the highest is returned.
6599 1998-11-03 Mike Grupenhoff <kashmir@munge.com>
6601 * common-src/alloc.c: const arguments to the stralloc functions
6602 * common-src/amanda.h: update stralloc prototypes for const
6605 1998-11-03 John R. Jackson <jrj@purdue.edu>
6607 * server-src/dumper.c (do_dump): do not report FAILED back to driver
6608 when it sent us ABORT. Clean up and send back ABORT-FINISHED.
6610 1998-11-03 John R. Jackson <jrj@purdue.edu>
6612 * server-src/driver.c (handle_dumper_result): do not abort a dumper
6613 that reports NO-ROOM if taper is busy since some holding disk space
6614 will eventually be released (this code it not used when PORT-DUMP is
6617 1998-11-03 John R. Jackson <jrj@purdue.edu>
6619 * server-src/taper.c (write_buffer): calling lseek after every tape
6620 write is wasteful and makes utilities like lsof less useful. Only
6621 reset the offset when the amount written is about to go over 2 GBytes.
6623 1998-11-02 John R. Jackson <jrj@purdue.edu>
6625 * server-src/driver.c (main, start_degraded_mode): fix rounding problem
6626 that made the code think there was a little room for full dumps in
6627 degraded mode, and fix the code that decides whether to do a full dump
6630 1998-11-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6632 * server-src/amstatus.pl.in: initialize variable to remove warning.
6634 1998-11-02 Alexandre Oliva <oliva@dcc.unicamp.br>
6636 * client-src/Makefile.am (CLIENT_SCRIPTS): rename to
6637 CLIENT_SCRIPTS_OPT, because *_SCRIPTS is interpreted by automake
6638 * configure.in (CLIENT_SCRIPTS): ditto
6639 Reported by Thomas Hepper <Thomas.Hepper@icem.de>
6641 * configure.in (LIBTOOL_M4): no longer defined
6642 (LIBTOOL_M4_MACRO_DIR): defined assuming CWD is top_srcdir
6643 * Makefile.am (ACLOCAL_M4_FROM_SRCDIR): relative to srcdir
6644 (ACLOCAL_M4): defined and created using ACLOCAL_M4_FROM_SRCDIR
6645 Reported by Thomas Hepper <Thomas.Hepper@icem.de>
6647 * client-src/sendbackup.c (backup_program): rename to
6648 gnutar_program, that's the name it should have had from the
6650 * client-src/sendbackup-gnutar.c (backup_program): ditto
6652 1998-10-31 Michael Schmitz <mschmitz@iname.com>
6654 * configure.in: let configure check whether strcasecmp is
6656 * common-src/strcasecmp.c: new file which contains a definition
6658 * common-src/amanda.h: added code to declare strcasecmp in
6659 case it's not declared in a standard header
6661 1998-10-31 Alexandre Oliva <oliva@dcc.unicamp.br>
6663 * configure.in (snprintf): arrange that it is included in the
6664 distribution automatically
6665 * common-src/Makefile.am (EXTRA_DIST): removed, not needed
6667 * changer-src/Makefile.am (libexec_SCRIPTS): would only be enabled
6670 * configure.in (NO_SCSI_CHANGER_MODE): chg-scsi does not support the
6671 new FreeBSD 3.0 chio.h, so disable it if camlib.h is found.
6672 * docs/SYSTEM.NOTES (FreeBSD 3.0): add a note about this
6673 (SunOS 4.x): libtool will no longer find incorrect library versions
6675 1998-10-30 John R. Jackson <jrj@purdue.edu>
6677 * common-src/security.c (bsd_security_ok): change error message to
6678 reflect that it is a host name we were looking up rather than an
6679 address (also makes the two similar messages unique).
6681 1998-10-28 Alexandre Oliva <oliva@dcc.unicamp.br>
6683 * docs/SYSTEM.NOTES: Debian 2's dump uses /var/lib/dumpdates
6685 1998-10-28 John R. Jackson <jrj@purdue.edu>
6687 * recover-src/set_commands.c (set_host): if the host given by the user
6688 does not work, try the canonical name and aliases returned by
6691 1998-10-28 John R. Jackson <jrj@purdue.edu>
6693 * configure.in: use "df /" instead of just "df" when trying to find
6694 the device that has the root file system to avoid things like NFS
6695 hangs that df sometimes suffers from.
6697 1998-10-27 Mike Grupenhoff <kashmir@munge.com>
6699 * common-src/stream.c (stream-client): add a 'localport' argument
6700 in which we can get the port this stream is bound to locally
6701 * common-src/stream.h (stream-client): update prototype
6702 * server-src/dumper.c: update stream-client calls
6704 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6706 * client-src/amandad.c (main): better logging of received packet,
6707 do not send a P_ACK when the received packet is not a P_REQ.
6709 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6711 * client-src/amandad.c (main): terminate immediately if started
6712 by a P_ACK packet without sending a P_NAK packet.
6714 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6716 * server-src/conffile.h (dtimeout): new keyword
6717 * server-src/conffile.c (dtimeout): ditto
6718 * server-src/dumper.c: use dtimeout instead of READ_TIMEOUT
6719 * example/amanda.conf.in: document it
6720 * man/amanda.8.in: ditto
6723 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6725 * server-src/dumper.c (sendbackup_response): a nak error will
6726 be a TRY-AGAIN instead of a FAILED.
6728 1998-10-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6730 * server-src/amlabel.c: move declaration of vtbl_no, datestr
6731 and slotcommand to the main function.
6733 1998-10-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6735 * server-src/amlabel.c: remove declaration of pname.
6737 1998-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6739 * server-src/amcheckdb.sh.in: modify to match new tapelist file
6740 format (keyword reuse and no-reuse). Probably no-one use this
6743 1998-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6745 * server-src/driver.c (handle_dumper_result): Add sleep time
6746 when a dumper failed, it could be a temporary network problem,
6747 such as NIS or NFS, better wait a few seconds before retrying.
6749 1998-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6751 * server-src/driverio.h: remove declaration of argc et argv.
6752 * server-src/driverio.h (getresult): add parameters result_argc,
6753 result_argv and max_arg.
6754 * server-src/driverio.c (getresult): use new parameters.
6755 * server-src/amflush.c (flush_holdingdisk, run_dumps): declare
6756 and use result_argc and result_argv instead of global variables
6758 * server-src/driver.c (main, handle_taper_result,
6759 handle_dumper_result, dump_to_tape): ditto
6761 1998-10-24 John R. Jackson <jrj@purdue.edu>
6763 * server-src/amstatus.pl.in: do not be quite so accurate in matching
6764 the log file lines since messages may be intermixed. Turn on perl
6765 -w switch and make first cut at cleaning up warnings.
6767 1998-10-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6769 * server-src/driverio.h: remove datestamp declaration.
6770 * server-src/amcheck.c: remove 'extern' to datestamp declaration.
6771 * server-src/amflush.c: declare datestamp.
6772 * server-src/amtape.c: remove 'extern' to datestamp declaration.
6773 * server-src/driver.c: declare datestamp.
6774 * server-src/dumper.c: remove 'extern' to datestamp declaration.
6775 * server-src/reporter.c: remove 'extern' to datestamp declaration.
6777 1998-10-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6779 * server-src/driverio.h: remove declaration of tok.
6780 * server-src/amflush.c (flush_holdingdisk,run_dumps): declare
6782 * server-src/driver.c (main, handle_taper_result, handle_dumper_result,
6783 dump_to_tape): declare tok locally.
6785 1998-10-23 John R. Jackson <jrj@purdue.edu>
6787 * configure.in: disable the -E and -h dump estimate checks if $DUMP
6790 1998-10-19 John R. Jackson <jrj@purdue.edu>
6792 * server-src/amindexd.c (is_config_valid): fix core dump by moving
6793 amfree of conf_dir later in case it is needed in an error message.
6795 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6797 * server-src/reporter.c: remove declaration of curlinenum,
6798 curlog, curprog and curstr.
6800 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6802 * server-src/amflush.c (main): move declaration of diskqp from
6805 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6807 * server-src/amcheck.c (main): move declaration of mailout and
6808 tempfname from global to local.
6810 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6812 * server-src/amadmin.c (search_logfile): remove declaration
6814 1998-10-15 Mike Grupenhoff <kashmir@munge.com>
6816 * server-src/amadmin.c (reuse, no-reuse): don't core dump if tape
6819 1998-10-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6821 * server-src/conffile.h: remove declaration of holdingdisks and
6822 num_holdingdisks, declare getconf_holdingdisks().
6823 * server-src/conffile.c: define getconf_holdingdisks(),
6824 * server-src/holding.c: use getconf_holdingdisks
6825 * server-src/find.c: ditto
6826 * server-src/amcheck.c: ditto
6827 * server-src/amflush.c: ditto
6828 * server-src/driver.c ditto
6830 1998-10-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6832 * server-src/driver.c: remove verbose and force_parameters
6835 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6837 * server-src/dumper.c: remove declaration of pid.
6838 * server-src/dumper.c(do_dump): move declaration of runtime,
6839 dumptime, compresspid, indexpid and killerr from global to local.
6841 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6843 * server-src/planner.c: remove declaration of total_waiting and
6845 * server-src/planner.c(main): move declaration of initial_size from
6848 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6850 * server-src/driverio.h,server-src/driver.c: move declaration
6851 of big_dumpers, degraded_mode and reserved_space from
6852 driverio.h to driver.c
6854 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6856 * server-src/driverio.h (optionstr): remove declaration
6858 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6860 * configure.in (SAMBA_CLIENT): fix typo
6862 1998-10-14 John R. Jackson <jrj@purdue.edu>
6864 * restore-src/amrestore.c (read_file_header): make a couple of error
6865 messages clearer that they refer to problems with a header rather
6866 than the image data.
6868 1998-10-13 Alexandre Oliva <oliva@dcc.unicamp.br>
6870 * client-src/Makefile.am (libamclient_a_SOURCES): missing since
6873 1998-10-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6875 * docs/INTERNALS (driver and dumper): document <dumpdate> in
6876 FILE-DUMP and PORT-DUMP request, document <chunksize> in
6879 1998-10-12 John R. Jackson <jrj@purdue.edu>
6881 * server-src/amtape.c (usage, main, show_device): apply patch from
6882 Chris Jones <cjones@clydesdale.math.montana.edu> to support "device"
6883 as an option to return the drive device name as reported by the
6885 * man/amtape.8: document the new "device" option.
6886 * server-src/amverify.sh.in: use the new amtape "device" option to
6887 better handle tape changers. Overhaul for general cleanup and some
6888 security issues, plus amverify now tries to support non-tar images.
6889 * man/amverify.8.in: document non-tar image issues.
6891 1998-10-08 John R. Jackson <jrj@purdue.edu>
6893 * example/amanda.conf.in: fix runspercycle example and comments
6895 1998-10-08 Alexandre Oliva <oliva@dcc.unicamp.br>
6897 * configure.in (SAMBA_CLIENT): try to find it by default; minimal
6899 * client-src/Makefile.am (WANT_SAMBA): use automake conditionals to
6901 * docs/SAMBA: document that --with-smbclient is no longer required
6902 to enable SAMBA support
6904 * docs/FAQ: about inconsistencies in active filesystems
6906 1998-10-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6908 * docs/DUMPER-API: add `no-record' option to the `backup' command.
6910 1998-10-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6912 * docs/DUMPER-API: subdivise section 3.1.
6914 1998-10-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6916 * docs/DUMPER-API: New `index-<mode>' options.
6917 define `support parse-estimate' and `support parse-backup' subcommand.
6918 New 'estimate-direct', `estimate-parse', `backup-direct' and
6919 `backup-parse' options.
6920 Remove PARSE keyword from estimate and backup command.
6922 1998-10-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6924 * docs/DUMPER-API: define PARSE keyword in stderr of the backup
6927 1998-10-03 Alexandre Oliva <oliva@dcc.unicamp.br>
6929 * man/Makefile.am (EXTRA_DIST): make sure the man-pages that are not
6930 generated by autoconf get into the distribution
6932 1998-10-02 Josef Karthauser <joe@pavilion.net>
6934 * changer-src/chg-chio.pl.in (getTapeParams): fix regular expression
6935 for $line; the trailing `s' of slots was missing
6937 1998-10-02 John R. Jackson <jrj@purdue.edu>
6939 * server-src/amstatus.pl.in: fix error message.
6941 1998-10-02 John R. Jackson <jrj@purdue.edu>
6943 * server-src/taper.c (write_file): fix a problem with tha taper
6944 stats where the times were all the same. The wallclock_str function
6945 returns a pointer to a static area so it cannot be called more
6946 than once as an argument to a function.
6948 1998-10-01 John R. Jackson <jrj@purdue.edu>
6950 * common-src/protocol.c (parse_integer): allow negative numbers.
6952 1998-10-01 John R. Jackson <jrj@purdue.edu>
6954 * server-src/amstatus.pl.in: add timestamps.
6956 1998-10-01 Alexandre Oliva <oliva@dcc.unicamp.br>
6958 * docs/DUMPER-API: define `support index', to be used instead of the
6959 previous `index-*' sub-commands
6961 1998-09-30 Alexandre Oliva <oliva@dcc.unicamp.br>
6963 * server-src/Makefile.am (libexec_PROGRAMS, sbin_SCRIPTS): don't use
6964 backslashes for continuation; this seems to break automake :-(
6966 1998-09-30 John R. Jackson <jrj@purdue.edu>
6968 * man/amanda.8.in: minor typo in "reserve" description.
6970 1998-09-29 John R. Jackson <jrj@purdue.edu>
6972 * server-src/taper.c (end_tape): do not rewind the tape when done.
6974 1998-09-29 Alexandre Oliva <oliva@dcc.unicamp.br>
6976 * configure.in (WANT_CLIENT, WANT_RESTORE, WANT_SERVER,
6977 WANT_RECOVER, WANT_TAPE, WANT_AMPLOT, WANT_CHG_SCSI): automake
6979 * amplot/Makefile.am: use them
6980 * changer-src/Makefile.am: ditto
6981 * client-src/Makefile.am: ditto
6982 * common-src/Makefile.am: ditto
6983 * man/Makefile.am: ditto
6984 * recover-src/Makefile.am: ditto
6985 * restore-src/Makefile.am: ditto
6986 * server-src/Makefile.am: ditto
6987 * tape-src/Makefile.am: ditto
6989 * Makefile.am: don't print commands that work around old aclocal bug
6991 * docs/DUMPER-API: remove environment variables, and mention a
6992 program that will help translating disklist entries to device names,
6993 mount points and filesystem types
6995 * recover-src/extract_list.c (extract_files_child): do not crash
6996 after failing to read the dump file header
6997 Reported by Jose Cheng <jcheng@math.ist.utl.pt>
6999 1998-09-28 Alexandre Oliva <oliva@dcc.unicamp.br>
7001 * server-src/taper.c (taperscan_slot): initialize scan_datestamp, to
7002 avoid amfree of uninitialized pointer
7003 Reported by Lance A. Brown <brown9@niehs.nih.gov>
7005 1998-09-27 Alexandre Oliva <oliva@dcc.unicamp.br>
7007 * docs/DUMPER-API (USER, GROUP): detailed security mechanisms
7008 (estimate, estimate-parse): can print `KILL' after the estimate
7010 * docs/DUMPER-API: various suggestions from Eric Siegerman
7011 <erics@now.com> and some explanations added
7013 1998-09-27 Andy Farkas <andyf@speednet.com.au>
7015 * man/amlabel.8.in (labelstr): fix typo
7017 1998-09-26 Alexandre Oliva <oliva@dcc.unicamp.br>
7019 * recover-src/extract_list.c (extract_files_child): fix-up
7020 no_initial_params if password or domain information is not found
7021 Reported by Jose Cheng <jcheng@math.ist.utl.pt>
7023 * docs/DUMPER-API: extended `index' to `index-from-output' or
7024 `index-from-image', as suggested by Dale Hagglund <rdh@best.com>.
7025 Explained that the dumptype option `program' is the name of the
7028 1998-09-25 John R. Jackson <jrj@purdue.edu>
7030 * configure.in: fix --with-dump-honor-nodump test. Patch by
7031 Jonas Oberg <jonas@coyote.org>.
7033 1998-09-24 John R. Jackson <jrj@purdue.edu>
7035 * example/disklist: document the "spindle" and "interface" fields.
7036 Reported by Brendan M Coffey <bcoffey@connix.com>.
7038 1998-09-24 Alexandre Oliva <oliva@dcc.unicamp.br>
7040 * docs/DUMPER-API: added draft description of the DUMPER API
7041 * Makefile.am (EXTRA_DIST): add it to the distribution
7043 * config/acinclude.m4 (AC_VALIDATE_CACHE_SYSTEM_TYPE): make sure
7044 cached values for host, build and target system types match with the
7046 * configure.in: use it
7048 1998-09-23 John R. Jackson <jrj@purdue.edu>
7050 * server-src/amstatus.pl.in: sort the host and partition names.
7051 From David Wolfskill <dhw@whistle.com>.
7053 1998-09-23 Alexandre Oliva <oliva@dcc.unicamp.br>
7055 * server-src/taper.c (getcmd): typo in last DEBUGging patch
7057 1998-09-22 Tim Perkins <Tim.Perkins@ddg.phar.cam.ac.uk>, Alexandre Oliva <oliva@dcc.unicamp.br>
7059 * client-src/selfcheck.c (check_disk): fix VDUMP auto-detection
7061 1998-09-22 Alexandre Oliva <oliva@dcc.unicamp.br>
7063 * changer-src/chg-mtx.sh.in: replace rew with rewind
7064 * changer-src/chg-zd-mtx.sh.in: ditto
7065 Reported by Henning Holtschneider <hh@loca.net>
7067 * client-src/sendsize.c: remove usage of #error
7068 Reported by Jay Orr <orr@vss.fsi.com>
7070 1998-09-21 John R. Jackson <jrj@purdue.edu>
7072 * man/amanda.8.in: document the new "tapebufs" parameter.
7074 1998-09-21 Kelly Setzer <setzer@telalink.net>
7076 * server-src/taper.c (NBUFS): replaced with conf_tapebufs
7077 (THRESHOLD): now means `empty bufs' instead of `full bufs'
7078 * server-src/conffile.c: add support for the "tapebufs" option
7079 * server-src/planner.c: ditto
7080 * examples/amanda.conf.in: add sample "tapebufs" entry
7082 * server-src/amlabel.c (main): adds entry to tapelist with date
7085 1998-09-20 Alexandre Oliva <oliva@dcc.unicamp.br>
7087 * server-src/taper.c (getcmd): print DEBUGging output to stderr
7088 Reported by Henning Holtschneider <hh@loca.net>
7090 1998-09-19 Eric Doutreleau <Eric.doutreleau@int-evry.fr>
7092 * server-src/driverio.h (MAX_DUMPERS): increased from 15 to 63 in
7093 order to launch more dumper in parallel
7094 * example/amanda.conf.in (inparallel): Add the fact that it is
7095 limited by MAX_DUMPERS
7097 1998-09-18 Alexandre Oliva <oliva@dcc.unicamp.br>
7099 * common-src/Makefile.am (libamanda_la_LDFLAGS): use libtool
7100 -release instead of -version_info, so as to encode the Amanda
7101 release number in the library name. Problems related with
7102 pre-installed libraries should disappear, and separate releases can
7103 now be installed into the same directory without the risk of one
7104 using libraries from the other.
7106 1998-09-18 Michael C. Povel <Michael.Povel@hub.de>
7108 * changer-src/chg-scsi.c (wait_ready): new function; keeps retrying
7109 until success or timeout
7110 (ask_clean, main): use it
7112 1998-09-18 Alexandre Oliva <oliva@dcc.unicamp.br>
7114 * client-src/selfcheck.c (check_options): don't require runtar for
7117 * client-src/rundump.c: fix support for VDUMP-only installation
7118 * client-src/selfcheck.c (check_options): fix detection of advfs
7119 * client-src/sendsize.c (getsize_dump): ditto
7120 * client-src/sendbackup-dump.c (start_backup): ditto
7121 Reported by Tim Perkins <Tim.Perkins@ddg.phar.cam.ac.uk>
7123 1998-09-16 John R. Jackson <jrj@purdue.edu>
7125 * man/amadmin.8.in: document that "hostname" is optional for "info".
7126 Reported by David Wolfskill <dhw@whistle.com>.
7128 1998-09-15 Alexandre Oliva <oliva@dcc.unicamp.br>
7130 * docs/FAQ: common compile-time and link-time errors
7132 1998-09-11 John R. Jackson <jrj@purdue.edu>
7134 * server-src/tapefile.c (lookup_last_reusable_tape): use new
7135 calling sequence that passes how old a tape to return. Remove
7136 lookup_previous_reusable_tape().
7137 * server-src/tapefile.h (lookup_last_reusable_tape): use new
7138 calling sequence that passes how old a tape to return. Remove
7139 lookup_previous_reusable_tape().
7140 * server-src/amadmin.c (tape): use new lookup_last_reusable_tape
7142 * server-src/amcheck.c (taper_scan, start_server_check): use new
7143 lookup_last_reusable_tape calling sequence.
7144 * server-src/amflush.c (confirm): use new lookup_last_reusable_tape
7146 * server-src/amtape.c (taper_scan): use new lookup_last_reusable_tape
7148 * server-src/reporter.c (output_tapeinfo): use new
7149 lookup_last_reusable_tape calling sequence.
7150 * server-src/taper.c (taper_scan): use new lookup_last_reusable_tape
7153 1998-09-11 Alexandre Oliva <oliva@dcc.unicamp.br>
7155 * client-src/sendbackup-gnutar.c (re_table): ignore
7156 `load_client_codepage' message from SAMBA
7158 1998-09-11 John R. Jackson <jrj@purdue.edu>
7160 * server-src/amstatus.pl.in (all): fix USE_VERSION_SUFFIXES=yes
7161 problems. Reported by David Eckelkamp <davide@locutus.tradewave.com>.
7163 * man/amstatus.8.in (all): fix minor typos.
7165 1998-09-10 John R. Jackson <jrj@purdue.edu>
7167 * configure.in (LFS): add code that might support configuring large
7170 1998-09-10 Alexandre Oliva <oliva@dcc.unicamp.br>
7172 * server-src/conffile.c (dump_configuration): runspercycle is not a
7173 member of dumptype_t
7174 (init_holdingdisk_defaults): init chunksize with documented default,
7175 not -1, because it wouldn't be recalculated
7177 * docs/INSTALL: URL for SAMBA was broken; note about 1.9.18p10 bug
7179 1998-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7181 * docs/SAMBA: 1.9.18p10 has a bug
7183 1998-09-09 Terje Malmedal <tm@funcom.com>
7185 * common-src/stream.c (stream_server, stream_client): added
7186 SO_KEEPALIVE option so we get an error if the other side crashes
7188 1998-09-09 Alexandre Oliva <oliva@dcc.unicamp.br>
7190 * configure.in (CHIO): look for chio and AC_SUBST it
7191 (MT, CHS): if not found, use just the program name
7193 1998-09-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7195 * server-src/planner.c (last_level): return the last level
7196 even it is still on holding disk if reserve < 100.
7198 1998-09-09 Alexandre Oliva <oliva@dcc.unicamp.br>
7200 * server-src/reporter.c (divzero, divzero_wide): print `#'s on
7203 * server-src/amtape.c (show_init): no longer print `scanning'
7205 (show_init_show, current_init_all): call show_init, then print the
7206 appropriate `scanning' message
7207 Reported by David Wolfskill <dhw@whistle.com>
7209 * changer-src/chg-scsi.c (main): use new multi-configuration
7210 mechanism only if tape_device contains only a single digit
7212 1998-09-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7214 * server-src/planner.c (setup_estimate): Don't write a
7215 "mismatch: no tapelist record, but curinfo next_level0" message
7216 and force a level 0 when reserve < 100.
7218 1998-09-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7220 * server-src/holding.h (get_amanda_names): return a filetype_t
7222 * server-src/holding.c (get_amanda_names): return the filetype_t
7223 of the file or F_UNKNOWN if it's not an amanda file.
7224 * server-src/find.c (search_holding_disk): Use the new return
7225 type of get_amanda_names.
7226 * server-src/amflush.c (flush_holdingdisk): Don't write a
7227 "ignoring cruft file" message for chunk files,
7228 filetype is F_CONT_DUMPFILE.
7230 1998-09-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7232 * recover-src/extract_list.c (extract_files_child): don't write
7233 the samba password to the debug file.
7235 1998-09-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7237 * server-src/driverio.c (update_info_dumper): set inf.command to
7238 NO_COMMAND if reserve< 100 because if you force a level 0 with
7239 'amadmin force', it will do level 0 every days until you flush them
7242 1998-09-03 Matthias Urlichs <smurf@noris.net>
7244 * recover-src/uscan.l: recognize "?" as alias for "help"
7246 * configure.in (MAILER): recognize "mail" as well as "Mail" and
7249 * client-src/calcsize.c (add_file_dump, add_file_unknown): only get
7250 sizes of directories and files
7252 * client-src/amandates.c (start_amandates): create amandates if
7253 error is either EINTR or ENOENT
7255 * common-src/dgram.c (dgram_send_addr): handle ECONNREFUSED by not
7256 dying when receiving, and retrying when sending, a packet. The
7257 server may get this error when a client reboots and hasn't started
7259 * common-src/protocol.c (handle_incoming_packet): ditto
7261 * server-src/driver.c (read_schedule): catch cases when the time
7262 goes negative. Some operators have the bad habit of syncing clocks
7265 * common-src/dgram.h (MAX_DGRAM): increased to 64Kb
7267 * client-src/amandad.c (main): read the pipe from the child
7268 incrementally: the pipe buffer of many OSes is shorter than
7269 MAX_DGRAM. Instead of SIGCHLD, note end-of-data by way of
7271 (sigchild_jump, sigchild_flag): removed
7272 * client-src/sendbackup.c (main): instead of fork-and-exit, tell
7273 amandad to process our data by closing our end of the pipe
7275 1998-09-03 Alexandre Oliva <oliva@dcc.unicamp.br>
7277 * NEWS: another typo (too late :-(
7279 1998-09-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7281 * server-src/driver.c: amanda will not use an holding disk
7282 if the directory with the datestamp already exist.
7284 1998-09-03 Alexandre Oliva <oliva@dcc.unicamp.br>
7286 * Amanda 2.4.1 released
7288 1998-08-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7292 1998-08-27 Alexandre Oliva <oliva@dcc.unicamp.br>
7294 * docs/INSTALL: update some version numbers; SAMBA 1.9.18p10 has
7295 fixed the bug in p8; using p8 is not recommended any more
7298 * config/config.guess: updated to libtool 1.2b's, in order to
7299 auto-detect some recent architectures
7300 * config/config.sub: ditto
7302 * server-src/amcleanup.sh.in (sbindir): amreport now lives in
7303 sbindir; added it to PATH and removed full pathnames to binaries
7305 1998-08-27 Blair Zajac <blair@gps.caltech.edu>
7307 * configure.in: Add the directory /usr/lib/fs/vxfs to the search
7308 path where configure looks for vxdump and vxrestore. This is for
7309 Solaris so it can automatically handle vxfs filesystems.
7310 * client-src/sendbackup-dump.c: add missing last NULL argument to
7312 * server-src/dumper.c: add missing last NULL argument to
7314 * NEWS: reorder 2.4.1 items into most to least important for most
7316 * config/acconfig.h: update comment for VXDUMP and VXRESTORE to
7317 include systems where the Veritas filesystem is used.
7319 1998-08-21 Alexandre Oliva <oliva@dcc.unicamp.br>
7321 * man/amanda.8.in (nofull): only level 1 incrementals
7323 1998-08-20 Alexandre Oliva <oliva@dcc.unicamp.br>
7325 * changer-src/chg-mtx.sh.in (PATH): added /usr/local/bin
7327 * configure.in (BUILD_CHANGER_SCRIPTS_LIBEXEC): added chg-zd-mtx
7329 * changer-src/Makefile.am (EXTRA_SCRIPTS): ditto
7330 * docs/TAPE.CHANGERS (chg-zd-mtx): documented it
7331 (chg-mtx): mentioned chg-zd-mtx
7333 1998-08-20 Eric Doutreleau <Eric.Doutreleau@int-evry.fr>
7335 * changer-src/chg-zd-mtx.sh.in: new changer script for
7336 Zubkoff/Dandelion version of mtx.
7338 1998-08-19 Alexandre Oliva <oliva@dcc.unicamp.br>
7340 * docs/SAMBA: updated; documented new patch (sambatar.diff,
7341 available in the patches page) and requirements about backup user.
7342 * docs/INSTALL: documented new patch
7344 1998-08-18 Alexandre Oliva <oliva@dcc.unicamp.br>
7346 * client-src/sendsize.c (regex_s): refuse to compile if SAMBA_CLIENT
7347 and HAVE_DUMP_ESTIMATE are both defined: the regexp that matches the
7348 estimate from DU 4.0's dump also matches an output line from
7349 smbclient, that provides an incorrect estimate.
7350 * docs/SYSTEM.NOTES: document the problem
7352 1998-08-14 John R. Jackson <jrj@purdue.edu>
7354 * docs/TAPE.CHANGERS: describe "advance" and clean up some spelling.
7356 1998-08-13 Alexandre Oliva <oliva@dcc.unicamp.br>, Marcel Hild <hild@id-pro.de>
7358 * configure.in (--with-portrange): validate and define PORTRANGE
7359 * example/config.site: document it
7360 * config/acconfig.h (PORTRANGE): prepare for configure define
7361 * common-src/stream.c (stream_server): use PORTRANGE to limit TCP
7362 unreserved server sockets
7364 1998-08-12 Alexandre Oliva <oliva@dcc.unicamp.br>
7366 * docs/FAQ: working around `dumps way too big'
7368 1998-08-11 Alexandre Oliva <oliva@dcc.unicamp.br>, Gunnar Gunnarsson <gunnar@ki.ericsson.se>
7370 * common-src/token.h (rxquote, shquote): new functions
7371 * common-src/token.c (rxquote) quotes a string into an equivalent
7373 (shquote): quotes all shell special meta-characters, so that a
7374 string can be safely passed down for shell interpretation in
7375 system() or popen()-like calls
7376 * server-src/amindexd.c (build_disk_table): quote the disk_name with
7377 both rxquote and shquote
7379 1998-08-11 John R. Jackson <jrj@purdue.edu>
7381 * changer-src/chg-manual.sh.in: put the debug file in DEBUG_DIR for
7382 security. Clean up and enhance logging. Fix locations of the
7383 changer files. Source the changerfile into the script so it can
7384 override the request() function and allow alternatives to /dev/tty
7385 (e.g. E-mail, syslog). Issue rewind before status (Solaris does
7386 not give a good status report right after a tape is loaded).
7388 1998-08-10 Nick Hibma <nick.hibma@jrc.it>
7390 * changer-src/chg-chio.pl.in: move to first slot if last is unused
7392 1998-08-07 Alexandre Oliva <oliva@dcc.unicamp.br>
7394 * example/Makefile.am (EXTRA_DIST): add DIN-A4.ps
7396 1998-08-07 Günter Felkel <G.Felkel@edelmann.de>
7398 * example/DIN-A4.ps: new file
7400 1998-08-06 Alexandre Oliva <oliva@dcc.unicamp.br>
7402 * tape-src/tapetype.c (initrandombytes): use random() instead of
7403 rand(), its low-order bits are more random
7404 (main): call srandom(seed) instead of srand(seed)
7405 (USE_RAND): if defined, reverts to using rand() and srand(seed)
7407 * docs/FAQ: some notes about driving real tape changers
7409 1998-08-05 Alexandre Oliva <oliva@dcc.unicamp.br>
7411 * man/amreport.8.in (SYNOPSIS): replace `amtoc' with `amreport'
7413 1998-08-04 Alexandre Oliva <oliva@dcc.unicamp.br>
7415 * client-src/sendsize.c: revert 1998-08-01's change, it wouldn't
7416 even compile, as amfree() expands to a statement, not an expression,
7417 so it cannot be used as the `increment' part of a for loop.
7419 * server-src/planner.c (main): if runs_per_cycle is set to zero or
7420 negative, set it to 1, in order to avoid division by zero.
7421 * server-src/amadmin.c (balance): ditto
7423 1998-08-01 Alexandre Oliva <oliva@dcc.unicamp.br>
7425 * client-src/sendsize.c: replace free(line) with amfree(line),
7426 because line is not ensured to be non-NULL
7428 * docs/FAQ: amandad: error receiving message
7430 * docs/FAQ: difference between skip-full and strategy nofull
7432 1998-07-31 Alexandre Oliva <oliva@dcc.unicamp.br>
7434 * docs/FAQ: software or hardware compression?
7436 * server-src/driver.c (adjust_diskspace): do not abort just because
7437 a holding disk file is missing
7438 (main): report warning if holding disk directory could not be
7439 created, and do not use it
7440 Reported by Albrecht Gebhardt <agebhard@zidsrv.sci.uni-klu.ac.at>
7442 * example/Makefile.am (EXTRA_DIST): add 8.5x11.ps to the
7444 Reported by Jason L Tibbitts III <tibbs@hpc.uh.edu>
7446 * server-src/conffile.c (get_holdingdisk): define chunksize 0 as
7447 INT_MAX/1024, and chunksize -1 as -INT_MAX/1024
7448 * server-src/driver.c (find_diskspace): accept negative chunksizes
7449 as the maximum size (in modulus) for using the holding disk
7450 * man/amanda.8.in (chunksize): document the usage of negative
7451 values, and improve the explanation of chunking
7452 * example/amanda.conf.in: ditto
7454 1998-07-29 Alexandre Oliva <oliva@dcc.unicamp.br>
7456 * docs/FAQ: disk offline
7458 1998-07-27 Alexandre Oliva <oliva@dcc.unicamp.br>
7460 * restore-src/amidxtaped.c (main): use tape_rewind() instead of
7463 * server-src/amcleanup.sh.in (reporter): update to call amreport.
7464 (amdump.<n>) update to use the same renaming technique introduced in
7465 June 30's change to amdump.
7467 1998-07-25 Michael Graff <explorer@vix.com>
7469 * changer-src/Makefile.am (install-exec-hook): support $(DESTDIR)
7470 * client-src/Makefile.am (install-exec-hook): ditto
7471 * man/Makefile.am (install-data-hook): ditto
7472 * recover-src/Makefile.am (install-exec-hook): ditto
7473 * restore-src/Makefile.am (install-exec-hook): ditto
7474 * server-src/Makefile.am (install-exec-hook): ditto
7476 * configure.in: link krb5 and com_err in for Kerberos support, if
7479 1998-07-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7481 * server-src/reporter.c (copy_template_file): add braces to
7483 * tape-src/tapeio.h: declare is_zftape to remove warning in
7484 amlabel.c and taper.c
7486 1998-07-23 Alexandre Oliva <oliva@dcc.unicamp.br>
7488 * server-src/driver.c (any_delayed_disk): new variable, to ensure
7489 that we do not leave the main driver loop if there are delayed disks
7490 but there are no active dumpers
7491 (main): instead of checking whether idle_reason is IDLE_START_WAIT,
7492 check whether there is any_delayed_disk for remaining in the loop
7493 (start_degraded_mode): set any_delayed_disk when needed
7494 Reported by Peter Walker <peter@talarian.com>
7496 1998-07-23 John R. Jackson <jrj@purdue.edu>
7498 * server-src/reporter.c (main): handle LPRCMD being undefined.
7500 1998-07-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7502 * client-src/selfcheck.c (check_suid): new function to check if a
7503 program is SUID root.
7504 * client-src/selfcheck.c (check_overall): check that runtar and
7505 rundump are SUID root.
7507 1998-07-22 Alexandre Oliva <oliva@dcc.unicamp.br>
7509 * configure.in: version number set to 2.4.1
7511 * recover-src/Makefile.am (LDADD): libamtape imports symbols from
7512 libamanda, so it must be listed first
7514 * changer-src/Makefile.am (LDADD): remove duplication of libamserver
7515 and libamanda, as they no longer provide symbols for each other
7516 * server-src/Makefile.am (LDADD): ditto
7518 1998-07-21 Blair Zajac <blair@gps.caltech.edu>
7520 * server-src/amrmtape.sh.in: now use amanda.conf's tapelist variable
7521 * server-src/amcheckdb.sh.in: now use amanda.conf's tapelist variable
7522 * server-src/amfreetapes.sh.in: now use amanda.conf's tapelist variable
7523 * server-src/amtoc.pl.in: now use amanda.conf's tapelist variable,
7524 make perl4 compatible
7526 1998-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
7528 * docs/FAQ (results missing): suggestions to work around the UDP
7531 1998-07-16 Alexandre Oliva <oliva@dcc.unicamp.br>
7533 * docs/FAQ (amrecover): a config name may have to be specified
7534 Reported by digital messiah <dmessiah@silcon.com>
7536 1998-07-15 Blair Zajac <blair@gps.caltech.edu>
7538 * server-src/reporter.c (main): declare optind
7540 1998-07-15 Alexandre Oliva <oliva@dcc.unicamp.br>
7542 * configure.in: created Amanda 2.4.1 branch
7544 * example/amanda.conf.in: strategy noinc is not implemented yet
7546 1998-07-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7548 * NEWS: new runspercycle keyword
7549 * server-src/conffile.h: new runspercycle keyword
7550 * server-src/conffile.c: new runspercycle keyword
7551 * server-src/amadmin.c (balance): new runspercycle keyword
7552 * server-src/planner.c (main): new runspercycle keyword
7553 * man/amanda.8.in: document new runspercycle keyword
7554 * example/amanda.conf.in: example for new runspercycle keyword
7556 1998-07-13 Alexandre Oliva <oliva@dcc.unicamp.br>
7558 * docs/FAQ: What to do if DUMP program is not available.
7559 * client-src/selfcheck.c (check_overall): if a needed program is
7560 missing, print an error message.
7561 Reported by Klaus Hoffmann <handatalog@csi.com>
7563 * */Makefile.am: checked library version numbers, no need for update
7565 * configure.in: version number set to 2.4.1b1
7567 1998-07-11 Alexandre Oliva <oliva@dcc.unicamp.br>
7569 * docs/FAQ: new entries: how to label tapes, (not) spanning large
7570 filesystems across tapes, how to enable index generation,
7571 overwriting selected tapes, cleaning up databases, selecting tape
7574 1998-07-10 Alexandre Oliva <oliva@dcc.unicamp.br>
7576 * man/Makefile.am (EXTRA_DIST): amreport.8 is built from .8.in
7578 * configure.in (AC_OUTPUT): generate chg-chio.pl
7579 * changer-src/Makefile.am (EXTRA_DIST): removed chg-chio.c
7580 * changer-src/chg-chio.c: removed, as it was confusing make
7582 1998-07-10 Nick Hibma <nick.hibma@jrc.it>, Alexandre Oliva <oliva@dcc.unicamp.br>
7584 * changer-src/chg-chio.pl.in: new script, created to replace old
7585 chg-chio written in C
7586 * docs/TAPE.CHANGERS (chg-chio): document it
7587 * changer-src/Makefile.am (EXTRA_SCRIPTS): add chg-chio
7588 (EXTRA_DIST): still include chg-chio.c, just in case it is useful
7589 * configure.in (BUILD_CHANGER_SCRIPTS_LIBEXEC): add chg-chio
7591 1998-07-08 Alexandre Oliva <oliva@dcc.unicamp.br>
7593 * server-src/reporter.c (main): if no arguments are given, preserve
7594 original behavior; require config name otherwise. Perform better
7596 * example/DLT.ps (DrawHost): discard additional argument introduced
7597 in Steven Freed's modification
7598 * example/EXB-8500.ps (DrawHost): ditto
7599 * example/HP-DAT.ps (DrawHost): ditto
7601 * server-src/Makefile.am (amreport_SOURCES): build from reporter.c
7602 (driver_SOURCES) removed, no longer needed
7603 * man/Makefile.am (EXTRA_DIST): added amreport.8
7605 1998-07-08 Steven Freed <sfreed@gilasoft.com>
7607 * server-src/reporter.c (usage): new function
7608 (main): accept command-line arguments for selecting config name,
7609 output file, log file name to read from, postscript file to write
7611 (output_summary): print tape labels list, tape section numbers and
7613 * server-src/amdump.sh.in: run amreport
7614 * server-src/amflush.c (main): ditto
7616 * configure.in (BUILD_SERVER_PROGS_SBIN): add amreport
7617 (BUILD_SERVER_PROGS_LIBEXEC): remove reporter
7618 * man/amreport.8.in: new file
7619 * man/Makefile.am (man_MANS): added amreport.8
7620 * example/8.5x11.ps: new file
7622 1998-07-08 Alexandre Oliva <oliva@dcc.unicamp.br>
7624 * Makefile.am (ACLOCAL_M4): fix ||/&& precedence problem
7626 1998-07-07 John R. Jackson <jrj@purdue.edu>
7628 * changer-src/scsi-chio.c: move #include's so this will compile on
7629 systems without <sys/mtio.h> (e.g. AIX).
7631 1998-07-06 John R. Jackson <jrj@purdue.edu>
7633 * client-src/sendsize.c (handle_dumpline): allow the dump block
7634 count estimate to be negative. Found by Lance A. Brown
7635 <brown9@niehs.nih.gov> on NeXT.
7637 * common-src/Makefile.am, common-src/security.c: add TEST code to
7638 security.c so people can do "make security" and have a test program
7639 to track down why they are getting "access as XXX not allowed from
7642 * common-src/security.c (bsd_security_ok): allow the remote user
7643 field in .amandahosts to be empty ala .rhosts.
7645 1998-07-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7647 * server-src/amcheck.c (start_server_check): report space use for
7648 holding disk if a negative value is given in the use parameter.
7650 * server-src/driver.c (main): compute holding disk space if
7651 a negative value is given in the use parameter..
7653 * man/amanda.8.in (use) : document negative use paramater for
7656 * example/amanda.conf.in (use): document negative use paramater for
7659 1998-07-04 Alexandre Oliva <oliva@dcc.unicamp.br>
7661 * man/amanda.8.in (reserve): document it
7662 * example/amanda.conf.in (reserve, gigabytes): ditto
7663 (etimeout) negative number stands for total estimate time
7665 * NEWS: documented major changes since amanda 2.3.0.4
7667 * docs/INSTALL: refer to patch-system for editing services and
7670 * docs/FAQ: added entries for common amdump and amcheck errors
7672 * COPYRIGHT: updated to 1998, refer to Amanda Development Team
7673 * AUTHORS: who is the Amanda Development Team
7675 1998-07-03 John R. Jackson <jrj@purdue.edu>
7677 * docs/SYSTEM.NOTES: add comment about using the variable device name
7678 on IRIX. Otherwise, IRIX will write 4KByte physical blocks, which
7679 it appears to read OK, but not if you take the tape to some other
7680 system that does what you tell it. Discovered by Steve E. Khoo
7681 (steve@gordian.com).
7683 1998-07-02 Alexandre Oliva <oliva@dcc.unicamp.br>
7685 * server-src/planner.c (setup_estimate): handle new disks with
7686 skip-full correctly.
7688 * Makefile.am (aclocal.m4): must depend on libtool.m4, so as to
7689 force it to be newer on distributions.
7691 1998-07-01 John R. Jackson <jrj@purdue.edu>
7693 * server-src/driverio.h: change reserved_space to unsigned long to
7694 match free_space() and avoid a compiler warning.
7696 1998-06-30 John R. Jackson <jrj@purdue.edu>
7698 * man/amanda.8.in: fix amrecover synopsis and add a short description.
7699 Noted by Brendan M Coffey <bcoffey@connix.com>.
7701 * example/amanda.conf.in: make tapecycle example fit dumpcycle value
7702 better. Noted by Tom.Croll@radisys.com and suggested comments from
7703 Alexandre Oliva <oliva@dcc.unicamp.br>.
7705 1998-06-30 Alexandre Oliva <oliva@dcc.unicamp.br>
7707 * server-src/amdump.sh.in (maxdays): set up with tapecycle+2
7708 (days): loops from 1 to $maxdays, but stops if amdump.$days does not
7709 exist, so that we only rename amdump log files that exist. This
7710 prevents too long loops in case of an infinite tapecycle.
7711 Reported by Nick Hibma <nick.hibma@jrc.it>
7713 1998-06-28 Alexandre Oliva <oliva@dcc.unicamp.br>
7715 * common-src/security.c (bsd_security_ok): accept case mismatches
7716 when comparing hostnames and usernames from amandahosts, and assume
7717 localuser if username is missing.
7718 * docs/INSTALL: clarify BSD security and amandahosts, WRT to
7720 Reported by Chris Shenton <chris@absinthe.shenton.org>
7722 * server-src/reporter.c (output_tapeinfo): degraded mode no longer
7723 implies incremental dumps only.
7724 Reported by Randy Dees <rrd@amherst.com>
7726 1998-06-26 John R. Jackson <jrj@purdue.edu>
7728 * configure.in: fix BSD/OS Kerberos include file location.
7730 1998-06-26 Alexandre Oliva <oliva@dcc.unicamp.br>
7732 * config/ltmain.sh: install official patch to libtool 1.2a
7734 * configure.in: do not set max file size for Solaris 2.6, it is no
7737 1998-06-26 Tim McNerney <mumbly@netcom.com>
7739 * common-src/fileheader.c (parse_file_header): accept missing
7740 PROGRAM in tape section header, for backward compatibility.
7742 1998-06-25 Blair Zajac <blair@gps.caltech.edu>
7744 * server-src/amflush.c: fix mismatch arguments to error()
7746 1998-06-24 Steven Freed <sfreed@gilasoft.com>
7748 * configure.in (dump-honor-nodump): fix test for `-h' support
7750 1998-06-24 Scott Mesches <mesches@allison.Colorado.EDU>
7752 * example/DLT.ps: new file
7753 * example/Makefile.am (EXTRA_DIST): add DLT.ps
7755 1998-06-24 Alexandre Oliva <oliva@dcc.unicamp.br>
7757 * Makefile.am (EXTRA_DIST): moved CHANGES into ChangeLog
7759 * recover-src/extract_list.c (extract_files_child): handle
7760 IS_UNKNOWN dumptype as IS_DUMP
7762 * client-src/sendsize.c (getsize_dump): always create pipe for
7765 * client-src/amandad.c (sendnak): report `UNKNOWN' error if str is
7768 * amplot/amplot.awk: ignore `interface-state'
7769 Reported by Peter Walker <peter.walker@talarian.com>
7771 1998-06-24 Alexandre Oliva <oliva@dcc.unicamp.br>
7773 * server-src/amrmtape.sh.in: enable verbose by default; implement -q
7775 * man/amrmtape.8.in: ditto
7776 Suggested by Nick Hibma <nick.hibma@jrc.it>
7778 1998-06-24 Nick Hibma <nick.hibma@jrc.it>
7780 * server-src/amrmtape.sh.in: better error reporting for incorrect
7783 1998-06-24 Dan Swartzendruber <dswartz@druber.com>
7785 * server-src/conffile.h (RESERVE): new keyword.
7786 * server-src/conffile.c (RESERVE): ditto.
7787 (getconf_seen): recognize "reserve" keyword.
7788 (getconf_int): return value of "reserve" keyword.
7789 (read_confline): parse "reserve" line.
7790 * server-src/driverio.h (reserved_space): new global
7791 * server-src/driver.c (main): compute holding disk space to reserve
7793 (start_degraded_mode): if we haven't hit degraded mode reservation
7794 limit, allow full dump.
7796 1998-06-18 Blair Zajac <blair@gps.caltech.edu>
7798 * config/ltconfig: update to 1.2a
7799 * config/ltmain.sh: update to 1.2a
7800 * config/libtool/libtool.m4: update to 1.2a
7802 1998-06-17 John R. Jackson <jrj@purdue.edu>
7804 * server-src/dumper.c (write_tapeheader): comment out some variables
7805 to get rid of a compiler warning.
7807 1998-06-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7809 * server-src/amadmin.c (bumpsize): write wrong equation for bump
7812 1998-06-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7814 * man/amanda.8.in: add info about the chunksize parameter
7816 * man/amanda.8.in: add info about amstatus command
7818 1998-06-13 Alexandre Oliva <oliva@dcc.unicamp.br>
7820 * common-src/Makefile.am (libamanda_version): updated
7821 * tape-src/Makefile.am (libtape_version): updated
7822 * client-src/Makefile.am (libclient_version): updated
7823 * server-src/Makefile.am (libserver_version): updated
7825 * server-src/taper.c (read_file): if switching to the next file
7826 fails or there's no next file, do not send a `W' to taper writer.
7828 * server-src/changer.h (changer_clean): new function
7829 * server-src/changer.c (changer_clean): ditto
7831 1998-06-13 Michael C. Povel <mcp@ladyada.han.de>
7833 * changer-src/chg-scsi.c: added ejetct_tape and sleep for external
7834 tape devices, and changed some code to allow multiple drives to use
7835 their own slots. Also added support for reserverd slots.
7836 * changer-src/libscsi.h (get_clean_state, eject_tape): new functions
7837 * changer-src/scsi-chio.c (get_clean_state, eject_tape): implemented
7839 * changer-src/scsi-hpux.c (get_clean_state, eject_tape): do nothing,
7840 until someone implements them
7841 * changer-src/scsi-proto.c (get_clean_state, eject_tape): new
7843 * docs/TAPE.CHANGERS: document new configuration file format
7844 * example/chg-scsi.conf: sample configuration file
7845 * example/Makefile.am: add chg-scsi.conf to the distribution
7846 * server-src/amtape.c: add support for `clean' command
7848 1998-06-13 Alexandre Oliva <oliva@dcc.unicamp.br>
7850 * docs/SYSTEM.NOTES: clean-up
7852 * docs/FAQ: new file
7853 * docs/SUNOS4.BUG: removed
7854 * Makefile.am: remove docs/SUNOS4.BUG and add docs/FAQ
7856 * example/amanda.conf.in (bumpmult): fixed equation for threshold
7857 * man/amanda.8.in (bumpsize): fix threshold example.
7858 problem reported by Brian McEntire <brianm@fsg1.nws.noaa.gov>
7860 * server-src/logfile.c (open_log): open log file with mode 0600.
7862 * server-src/amdump.sh.in: refuse to run if either amdump or log
7864 * server-src/amflush.c (main): refuse to run if log exists.
7865 * server-src/amcheck.c (start_server_check): do not perform tape
7866 testing if amdump and/or log exist in logdir.
7868 1998-06-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7870 * restore-src/amrestore.c (restore): fixed -p flag (and amrecover)
7871 should not dup2( A, B ); aclose(A) when A == B
7873 1998-06-10 Alexandre Oliva <oliva@dcc.unicamp.br>
7875 * client-src/sendsize.c (getsize_dump): use killpgrp
7876 unconditionally, so we're not bitten by setuid dump programs.
7877 * client-src/killpgrp.c: enable unconditionally.
7879 * tape-src/tapetype.c: new program: calculates tapetype parameters.
7880 * tape-src/Makefile.am (EXTRA_PROGRAMS): added tapetype.
7881 * example/amanda.conf.in: point to tapetype program.
7883 1998-06-09 Alexandre Oliva <oliva@dcc.unicamp.br>
7885 * docs/SAMBA: added notes about (not) backing up registry files and
7887 * docs/INSTALL: point to docs/SAMBA for usage and limitations
7889 1998-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
7891 * configure.in (amanda_cv_print_command): removed; using PRINT
7894 1998-06-07 Todd Kover <kovert@omniscient.com>
7896 * add --with-owner option to allow installed binaries to be owned
7897 by someone other than the amanda user
7899 * add GB as valid holding disk size.
7901 1998-06-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7903 * server-src/amadmin.c (info): don't need to specify an host.
7905 * server-src/amadmin.c (due): new due command to write when a
7906 filesystem is due ffor next level 0 or how much days it is
7909 * server-src/amstatus.pl.in (dump_size): new function to report
7910 the size of a dump split on multiple files.
7912 1998-06-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7914 * recover-src/extract_list.c (read_buffer): write a message
7915 when amrecover timeout waiting for amrestore to send the dump.
7917 1998-06-04 John R. Jackson <jrj@purdue.edu>
7919 * client-src/getfsent.c (main): use a dynamically allocated string
7920 for the lookups since dev2rdev alters it on the fly and some systems
7921 drop core for trying to write into read only memory. Also add the
7922 capability of passing additional lookups on the command line.
7924 * common-src/Makefile.am, common-src/file.c (main),
7925 common-src/token.c (main), server-src/conffile.c (dump_configuration,
7926 main), server-src/diskfile.c (main), server-src/infofile.c (main):
7927 Clean up compiler warnings in the test programs and make them all
7930 1998-06-03 Alexandre Oliva <oliva@dcc.unicamp.br>
7932 * amplot/amplot.sh.in: modified command line argument parsing
7933 mechanism, so as to prevent shell quoting problems and unportable
7935 Reported by Chris Jones <cjones@clydesdale.math.montana.edu>
7937 1998-06-02 John R. Jackson <jrj@purdue.edu>
7939 * server-src/amcheck.c (main), server-src/reporter.c (main): make
7940 sure internal errors, such as the mail command failing, get
7941 reported. In the case of amcheck, they go to stderr even if -m is
7942 set since there didn't seem to be anyplace better to do so and if
7943 this is running from a cron job it might get back to a real user.
7944 For reporter, the errors go to .../amdump along with everything
7945 else from the amdump script, and they should also go to .../log,
7946 except since it's reporter that's having the trouble, they probably
7947 will not make it into the mail report.
7949 1998-06-01 John R. Jackson <jrj@purdue.edu>
7951 * client-src/killpgrp.c: clean up minor compiler warnings by not
7952 building term_kill_{soft,hard} unless they are needed.
7954 * server-src/driverio.c (dumper_cmd): clean up compiler warning
7955 in printf format by forcing argument to always be long and using %ld.
7957 * server-src/driver.c: include <holding.h> to get declaration for
7958 unlink_holding_files and avoid a compiler warning.
7960 * common-src/amanda.h, common-src/match.c (validate_glob, match_glob,
7961 glob_to_regex), recover-src/amrecover.h, recover-src/extract_list.c
7962 (add_glob, add_regex, add_file, delete_glob, delete_regex,
7963 delete_file), recover-src/help.c (help_list), recover-src/uparse.y,
7964 recover-src/uscan.l, man/amrecover.8.in: add shell wildcard support
7965 for the add/delete amrecover commands. Add addx/deletex commands
7966 that use regular expressions. Support more characters in path names.
7968 1998-06-01 Dan Swartzendruber <dswartz@druber.com> via John R. Jackson
7970 * server-src/amlabel.c (main): check argc before referencing too
7971 far into argv for "-f".
7973 1998-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
7975 * docs/SYSTEM.NOTES: advise Linux users to use dump without
7978 * docs/INDEXING: update dumptype syntax
7980 1998-05-29 John R. Jackson <jrj@purdue.edu>
7982 * server-src/amindexd.c (uncompress_file, process_ls_dump,
7983 build_disk_table, is_dir_valid_opaque, opaque_ls): fix file
7984 descriptor leak, log the amadmin find command, fix error reporting
7985 from routines that do not generate system errors.
7986 * common-src/amanda.h: make sure errno is saved through amfree().
7988 1998-05-28 Alexandre Oliva <oliva@dcc.unicamp.br>
7990 * docs/SYSTEM.NOTES: GNU tar must be patched on HP/UX.
7991 * patches/tar-1.12.patch: ditto.
7993 * server-src/taper.c (endtape): do not log amount of used tape after
7994 entering degraded mode.
7996 * client-src/sendsize.c (getsize_dump): pass at least argv[0] to
7999 1998-05-28 Paul R. Johnson <prj@mit.edu>
8001 * client-src/sendbackup.c (check_status): when checking whether
8002 return status 1 is valid for dump, make sure it was *not* tar that
8005 1998-05-28 Tom Lear <toml@accesscom.com>, John R. Jackson <jrj@purdue.edu>
8007 * man/amcheck.8.in: document new -Maddress command line flag.
8008 * server-src/amcheck.c (usage, main): add -Maddress command line
8009 flag to send mail to a specific address instead of mailto from
8012 1998-05-27 John R. Jackson <jrj@purdue.edu>
8014 * man/amrestore.8: update for host/disk/date triplets.
8015 * recover-src/extract_list.c (extract_files_setup): pass datestamp
8016 argument in new position and without -d.
8017 * restore-src/amidxtaped.c (main): remove -d checks.
8018 * restore-src/amrestore.c (restore, usage, main): fix file descriptor
8019 leak, move datestamp to host/disk triplet and allow all to be repeated.
8021 1998-05-27 Alexandre Oliva <oliva@dcc.unicamp.br>
8023 * client-src/killpgrp.c (main): wait for either SIGTERM or EOF on
8026 * client-src/sendsize.c (getsize_dump): close the other end of
8027 killpgrp's stdin pipe before trying to kill it, because we just
8030 * configure.in (HAVE_HPUX_SCSI): check whether sys/scsi.h actually
8031 supports HP/UX-like changer commands.
8033 * config/acconfig.h (HAVE_HPUX_SCSI): indicates HP/UX-like changer
8034 interface is supported.
8036 * changer-src/scsi-hpux.c: check for HAVE_HPUX_SCSI instead of
8039 1998-05-25 Allen Briggs <briggs@canolog.ninthwonder.com>
8041 * changer-src/chg-manual.sh.in (ONLINEREGEX): add `^er=0$' for
8044 1998-05-23 Alexandre Oliva <oliva@dcc.unicamp.br>
8046 * client-src/sendsize.c (getsize_dump): killpgrp must be direct
8047 child of sendsize, otherwise sendsize won't be able to kill it.
8049 1998-05-23 Alexandre Oliva <oliva@dcc.unicamp.br>
8051 * configure.in (bcopy, bzero, fread, fwrite, vfprintf, vprintf,
8052 vsprintf): check for these in stdlib.h
8053 (memmove): check for it in strings.h
8055 * common-src/amanda.h (memmove): fix declaration of memmove, so as
8056 to be compatible with the ones in common-src/memmove.c and
8057 regex-src/fake/memmove.c
8059 reported by Tim Potter <tpot@acsys.anu.edu.au>
8061 1998-05-20 Alexandre Oliva <oliva@dcc.unicamp.br>
8063 * client-src/sendbackup.c (check_status): when checking whether dump
8064 returned 1, make sure it was not tar; #ifdef'ed out the code that
8065 ignores exit status 2 from gnutar (will be compiled in only if
8066 IGNORE_TAR_ERRORS is defined)
8067 * client-src/sendbackup-gnutar.c (GNUTAR active filesystem errors):
8068 updated comment; compile in GNUTAR error messages as DMP_NORMAL if
8069 IGNORE_TAR_ERRORS is defined; compile in SMBCLIENT error messages as
8070 DMP_NORMAL if IGNORE_SMBCLIENT_ERRORS is defined.
8072 1998-05-20 Tom Lear <toml@accesscom.com>
8074 * client-src/sendbackup.h (tarpid): new variable, used to check
8075 whether it is gnutar that is running
8076 * client-src/sendbackup-gnutar.c (start_backup): set tarpid when
8078 * client-src/sendbackup.c (check_status): if gnutar returns 2,
8081 1998-05-19 Jean-Louis Martineau <martineau@IRO.UMontrealCA>
8083 * client-src/amandad.c: set parse_errmsg when unexpected packet
8084 * recover-src/amrecover.c: overflow in clean_pathname()
8085 * recover-src/extract_list.c: add log in delete_file().
8086 small bug when call clean_pathname()
8087 * server-src/amindexd.c: ORLD command is not working
8088 * server-src/dumper.c: fixe overflow
8090 1998-05-17 Alexandre Oliva <oliva@dcc.unicamp.br>
8092 * configure.in: do not check for MAXFILESIZE
8093 * config/acconfig.h: do not define MAXFILESIZE
8094 * server-src/conffile.c: use INT_MAX instead of MAXFILESIZE
8095 * example/amanda.conf.in: ditto
8097 * server-src/driver.c (interface_state): new function; print the
8098 free bandwidth for each interface.
8099 (short_dump_state): call interface_state before holdingdisk_state
8101 * ChangeLog: renamed from CHANGES. Original entries follow.
8103 fix skip-incr handling so that reporter reports SKIPPED
8104 instead of missing result.
8105 -Jim Simmons <s4i@sws6.ctd.ornl.gov>
8107 split big dumps ( > MAXFILESIZE ) in multiple files on holding disk.
8108 new chunksize parameter in holdingdisk description of
8109 the amanda.conf file.
8110 -J-L Martineau <martineau@IRO.UMontreal.CA>
8112 an amstatus command that give the current state of a run.
8113 -J-L Martineau <martineau@IRO.UMontreal.CA>
8115 possibility to amflush multiple runs on one tape.
8116 possibility to select dump by datestamp in amrestore (-d datestamp).
8117 -J-L Martineau <martineau@IRO.UMontreal.CA>
8119 amidxtrm keep index of all active tapes as listed in tapelist file.
8120 -J-L Martineau <martineau@IRO.UMontreal.CA>
8122 the tapelist file keep every active tapes.
8123 "amadmin reuse" and "amadmin no-reuse" to mark tapes you want
8124 to keep for a long time.
8125 -J-L Martineau <martineau@IRO.UMontreal.CA>
8127 amlabel will not overwrite an amanda tape.
8128 The -f flag allow to overwriting an amanda tape.
8129 -J-L Martineau <martineau@IRO.UMontreal.CA>
8131 be consistent and use 1048576 as a dump size everyplace instead of
8132 100000 in some places (mostly cosmetic). -JJ
8134 negative numbers are now accepted in the configuration file
8137 allow a total estimate time-out to be specified. -oliva
8138 Suggested by Martyn Johnson <Martyn.Johnson@cl.cam.ac.uk>
8140 fix amtoc behavior in case of failed reads.
8141 -Niek Rijnbout <niek@knoware.nl>
8143 index files are now stored in a directory tree ala curinfo instead
8144 of a flat namespace. -JJ
8146 amrecover will now restore files using SAMBA.
8147 -Rob Riggs <rob@devilsthumb.com>
8149 VXDUMP needs not be run as root, so it no longer enables
8150 rundump automatically. -oliva
8152 new `killpgrp' setuid-root program. It is used to kill
8153 VDUMP, VXDUMP and XFSDUMP or with-rundump DUMP estimates in a
8155 -Joerg Behrens <jbehren@umpa06.gwdg.de> & oliva
8157 fixed amrmtape so that it will delete from tapelist only the
8158 entry that corresponds to the specified tape, not others that
8159 contain the tape name as a substring.
8160 -Nick Hibma <nick.hibma@jrc.it> & oliva
8162 Added support for FreeBSD dump -h flag (honor nodump).
8163 -James E. Housley <housley@pr-comm.com>
8165 Added support for ZFTAPE on Linux.
8166 -Albrecht Gebhardt <agebhard@zidsrv.sci.uni-klu.ac.at>
8168 Added support for printing tape labels.
8169 -Scott Mesches <mesches@allison.Colorado.EDU>
8171 Do not let amrecover die because of SIGPIPE if the pager terminates
8172 early during a long listing. Use the PAGER environment variable if
8173 available, else "more". -JJ
8175 Change log() calls to log_add() so it does not conflict with the math
8176 function of the same name. Replace pname global variable with two
8177 functions to set/get. Get rid of libamnolog. -JJ
8179 chg-chio was renamed to chg-scsi, and now it will support not
8180 only chio.h, but also tape changer interfaces available on
8181 HPUX, Solaris 2.5, IRIX and possibly others. Currently, only
8182 chio and HPUX are implemented.
8183 -Eric Schnoebelen <eric@cirr.com>
8185 Numerous bugs/errors were fixed in chg-chio/chg-scsi. it now
8186 properly responds to -eject requests, among other things.
8187 -Eric Schnoebelen <eric@cirr.com>
8191 updated to libtool 1.2a. -oliva
8193 fix kerberos encryption to work. -Chris Ross <cross@uu.net>
8195 add --with-owner option to optionally not have things owned by
8196 the amanda user. (meant to be in 2.4.0) -kovert
8198 only call initgroups() if it is available. -oliva
8200 check whether GNUTAR_LISTED_INCREMENTAL_DIR is a directory.
8201 -oliva, reported by J.A. Gutierrez <spd@gtc1.cps.unizar.es>
8203 amindexd no longer considers prefixes of hostnames as valid
8206 fix strappend2 so that it accepts a NULL first argument.
8207 -Rob Riggs <rob@devilsthumb.com>
8209 pass kerberos encryption switch to client.
8210 -Fredrik Jönsson <fjo@nada.kth.se>
8212 rename afree to amfree, to work around IRIX 6.4's afree.
8213 -oliva, reported Stephan P. Martin <smartin@schlund.de>
8215 implement `strategy skip' just like `ignore'.
8217 reported by Michael O'Shaughnessy <mikeo@emg.sms.siemens.com>
8219 amcheck now checks whether COMPRESS_PATH is executable, which
8220 would prevent server-compression and indexing from working.
8221 -oliva, reported by Peter Schultze <peter@mbi.ucla.edu>
8223 fixed dump estimate regular expression for DU 4.0.
8224 -Andreas Schmitz <schmitz@theorie.physik.uni-wuppertal.de>
8228 fixed memory corruption error in amtape.
8231 fixed VXDUMP support.
8232 -Andrew Ivanov <ivanov@mics.msu.su> & oliva
8234 typos fixed in chg-chs.
8235 -David Barr <dbarr@simplex.com>
8237 chg-mtx now prints error message if tapedev or changerdev must
8239 -Adrian T. Filipi-Martin <atf3r@cs.virginia.edu>
8241 fixed amflush problem, reported by Dietmar Goldbeck
8242 <dietmar@telemedia.de> -oliva
8244 Version 2.4.0-980319
8246 chg-mtx should use changer-dev if specified.
8247 -Steve Khoo <steve@gordian.com>
8249 flex-related backward-compatibility problem fixed.
8250 -Norman K Scherer <nsche@seros-48.hac.com>
8252 ported to RISCOS 4BSD. -Harlan Stenn <Harlan.Stenn@pfcs.com>
8254 when amrecover starts up, it will warn you $CWD is not the root
8255 of the selected filesystem. -oliva
8257 removed all uses of #elif, because some C compilers won't
8258 handle it correctly. -Gunther Felkel <G.Felkel@edelmann.de>
8260 fixed VDUMP-only (no DUMP defined) estimates.
8261 -Joern Behrens <jbehren@umpa05.gwdg.de>
8263 ported to UnixWare. -Jeff Moscow <jeff@rtr.com>
8265 improved vxdump support so that rundump will be used for vxfs
8266 filesystems only, and it will be enabled automatically. -oliva
8268 various portability problems fixed.
8270 taper will now log reason for tape error to log.<DATE> file,
8271 in addition to amdump.<n>.
8272 -Liudvikas Bukys <bukys@cs.rochester.edu>
8274 amflush now correctly updates the info database. -oliva
8275 reported by Liudvikas Bukys <bukys@cs.rochester.edu>
8277 sendsize now wait()s for tar and samba child processes. -oliva
8278 reported by Brian Morris <brian@mvhs.fuhsd.org>
8280 ensure that `amadmin find' reports multiple backups performed on
8281 the same day in the correct sequence.
8282 -Liudvikas Bukys <bukys@cs.rochester.edu>
8284 if backup server has multiple IP addresses, security code
8285 might reject it. -Gunnar Gunnarsson <gunnar@ki.ericsson.se>
8287 vdump would not work. -oliva
8289 kerberos support was broken. -mike
8291 Version 2.4.0-980222
8293 retry tape open on AIX if it fails with EAGAIN errno.
8294 -Francois Morris <Francois.Morris@lmcp.jussieu.fr>
8296 fix amrmtape so that it behaves well when files to amflush
8297 remain. Reported by Dietmar Goldbeck <dietmar@telemedia.de>
8299 retry tape rewind on FreeBSD. -Bob Willcox <bob@prm.com>
8301 read all output from amrestore otherwise, instead of the
8302 beginning of the next tape section, it would read garbage.
8303 -Terje Malmedal <tm@odin.funcom.com> & oliva
8305 formatting error in amoverview fixed.
8306 -Terje Malmedal <tm@odin.funcom.com>
8310 use vdump to dump advfs filesystems only. add support for vdump
8312 -Martyn Johnson <Martyn.Johnson@cl.cam.ac.uk> & oliva
8314 change index generation commands so that they are less prone
8315 to be fooled by blanks or strange characters in filenames.
8318 check whether exclude-list file exists before calling gnutar.
8319 If it does not, log a message to debugging file and discard it.
8320 selfcheck should check for that too, and print a warning message,
8321 but this is left for a future version. -oliva
8323 fix sendbackup-gnutar crashing problem. -oliva
8325 ensure that, in case of tape failure when dumping to tape, no
8326 incremental relative to the failed backup is performed.
8327 -oliva & Liudvikas Bukys <bukys@cs.rochester.edu>
8329 Fix buffer use and write() error handling in the index pipeline.
8330 -Dietmar Goldbeck <dietmar@telemedia.de>
8331 & Lars Fenneberg <lf@elemental.net>
8333 new index generation commands. -oliva
8337 accept curses and ncurses in addition to termcap for readline
8338 support, just as readline itself does. -oliva
8340 fix NO-ROOM handling when Kerberos encryption is enabled.
8341 -oliva & Eric Siegerman <erics@now.com>
8343 patch file for automake 1.2d provided. -oliva
8345 sendbackup.debug now contains the argument list of child
8348 wait() for child processes, such as server compressor, before
8349 accepting other commands.
8350 -Liudvikas Bukys <bukys@cs.rochester.edu>
8352 amrecover will print an error message if it is not run by root.
8353 It will not crash if you `pwd' before selecting a disk. -oliva
8355 updated to libtool 1.0i. -oliva
8357 fixed tape block size of vxdump on HPUX 10.20.
8358 -Andrew Ivanov <ivanov@mics.msu.su>
8360 Use "a" mode instead of "w" for the fdopen of the debug file.
8361 -David Lamkin <drl@net-tel.co.uk>
8363 allow multiple concurrent gnutar backups, by fixing amandates
8365 -Liudvikas Bukys <bukys@cs.rochester.edu>
8367 amdump should check for a hold file, as says the man-page.
8370 fix automatic enabling of USE_RUNDUMP for systems that require
8371 this. xfsdump support no longer requires USE_RUNDUMP to be
8372 defined, rundump will be enabled and used for xfs filesystems
8373 even if USE_RUNDUMP is not defined, unless XFSDUMP is not defined.
8374 This seems to have completely solved the xfsdump problems.
8377 when USE_RUNDUMP is enabled, instead of checking for read or write
8378 access in selfcheck, just test for the existence of disk devices.
8381 fixed code that computed the dump size when incomplete
8382 writes occurred in dumper. -Eric Siegerman <erics@now.com>
8384 amplot no longer crashes if there's no holding disk. -oliva
8388 fix xfsdump index generation command.
8389 -Robert Tarrall <tarrall@bamboo.colorado.edu>
8391 tape device wouldn't rewind if opened O_WRONLY.
8392 -Palle Girgensohn <girgen@partitur.se> & oliva
8394 use setpgid instead of setpgrp if available
8395 -Mark Woodford <woodford@uniprise.com> & oliva
8397 chg-mtx will check whether slot 6 is a cleaning tape or not.
8398 -Martyn Johnson <Martyn.Johnson@cl.cam.ac.uk>
8400 amrmtape updated to text database. -oliva
8402 incorrect NO-ROOM error when dumping directly to tape fixed.
8405 --with-user and --with-group become are now required. -oliva
8407 patch-system script much more configurable. -oliva
8409 amindexd must get an exact match for diskname.
8410 -Richard Kail <e8903122@student.tuwien.ac.at> & oliva
8412 fix serial number message in amflush
8413 -Liudvikas Bukys <bukys@cs.rochester.edu>
8415 removed backslashes from inside macro calls.
8416 un-indented # directives.
8417 -Gregory Neil Shapiro <gshapiro@WPI.EDU>
8419 bsd-security is now enabled by default. -oliva
8421 fixed estimate command for XFSDUMP.
8422 -Mark Radleigh <radleigh@image.ucr.edu>
8423 & Jeff Moskow <jeff@rtr.com>
8427 documented etimeout configuration option. -oliva&jrj
8429 prevent a few crashes in dumper and reporter. -jrj
8431 reporter would report the same host and disk for RESULTS MISSING.
8434 fix a few file-locking configure bugs. -oliva
8436 chg-multi updates and bugfixes.
8437 -Liudvikas Bukys <bukys@cs.rochester.edu>
8441 amindexd bugfix -Jos Alsters <Jos.Alsters@sci.kun.nl>
8443 New --disable-libtool configure option, for those who really don't
8444 want libraries to be installed. Shared libraries won't be
8445 built, of course. -oliva
8447 samba-related bugfixes.
8448 -Klaus Thiele <kth@becker-software.com>
8450 xfsdump, DNS and amidxtaped bugfixes. -martineau
8452 exclude-list support was broken, the filename was not copied
8453 to the gnutar argument list.
8454 -Stefan Bohm <Stefan.Bohm@rp-online.de>
8456 chg-chio still thought it was seagate-changer, and contained a
8457 few bugs. -Tim Tsai <tim@futuresouth.com>
8459 New file docs/RESTORE, by Daniel Moore <dmoore@jeffco.k12.co.us>
8463 Make sure amverify waits for the tape device to be ready before it
8464 starts reading each section. -oliva
8466 Fix amrecover so that it accepts filenames with blanks.
8467 -J. Shirk <jshirt@ksu.edu> & oliva
8469 Add a TIMEOUT config file parameter to replace the hard coded value
8470 in planner. -Daniel David Benson <bensond@ucdavis.edu>
8472 Change amrecover/amindexd/amidxtaped to require a SECURITY
8473 exchange if --with-bsd-security is enabled. It is done on a
8474 reserved port, which means amrecover must be run as root and that
8475 amindexd/amidxtaped need an entry for the incoming amrecover in
8476 either .rhosts or .amandahosts (Kerberos is not yet supported). --JJ
8478 Make our internal TEXTDB the default database style for the infofile.
8479 If you wish to keep using a dbm style database use the configure
8480 option "--with-db={db,dbm,gdbm,ndbm}".
8483 Sanitise the disk name in the TEXTDB code.
8484 **NOTE** if your infofile database uses TEXTDB (which has only been
8485 available since Amanda-2.4.0b1) and you have '/'s in the
8486 first field in disklist you will need to 'amadmin export'
8487 the data using the old version of Amanda, 'mv' the old
8488 database out of the way and 'amadmin import' it back again
8489 using the new version. When you are happy with the new
8490 version you may delete the old database.
8493 Get rid of DEV_ROOT/DEV_RROOT and figure out the raw name on the
8494 fly by trying a leading 'r' before each path element one at a time
8495 until we find a character device. This should handle all the current
8496 cases plus things like Solaris DiskSuite that have /dev/md/rdsk/xxx
8499 Change kill logic in sendsize to try TERM first, then KILL if that
8500 does not get dump's attention. This fixes a problem on AIX 4.x
8501 where dump was always getting a KILL and leaving orphaned message
8502 queues, which would eventually run the system out of resources. -JJ
8504 Extensive buffer management, bug and defensive coding overhaul
8506 * Use proper fgets/fread/read buffer size.
8507 * Wrote agets and areads to get a line without buffer overflow
8508 and changed most gets/fgets and some read calls to use it.
8509 * Replaced all *scanf("...%s...") with explicit pointer work.
8510 * Replaced most fixed size buffers with dynamic ones. This has
8511 no doubt introduced some memory leaks.
8512 * Replaced most sprintf calls with vstralloc (new routine).
8513 * Added overflow checks to some remaining explicit buffer
8515 * Made almost all read() and write() calls into loops to handle
8516 short and broken up transfers.
8517 * Fixed potentially uninitialized fstype field.
8518 * Added more sanity checks when parsing various things, including
8519 converting some assert() calls to real code.
8520 * The pattern amtrmidx used to find old index files to delete
8521 thought the date field was YYYY-MM-DD, but it is YYYYMMDD,
8522 so no files were being deleted.
8523 * Limited the number of directories listed by amflush to 26 to
8524 avoid funny characters in the user prompt.
8525 * Changed some of the amrecover routines to soak up the rest of
8526 the continuation lines after an error.
8527 * If a dumper dies, driver still tries to send a QUIT command
8528 which fails because the file descriptor has been closed.
8529 * Wrote afree macro that calls free and then sets the pointer
8530 to NULL. Changed most free calls to afree.
8531 * Wrote aclose/afclose/apclose macros to do the associated close
8532 and then set the argument to something invalid (-1 or NULL).
8533 * Check the file descriptor before calling FD_ISSET in dumper.
8534 Otherwise it goes to -1 on EOF and FD_* doesn't like that.
8535 * Call aclose() after FD_CLR (so the descriptor is not -1).
8537 * Added some TEXTDB support code to the infofile test program.
8538 * Set it up so -DPROTO_DEBUG could come from the compiler command
8539 line instead of having to modify the source.
8540 * Added -t command line flag code to sendbackup.c to support some
8542 * Added a test to amcheck to see if the log file is writable
8543 (if it already exists). During debugging, I keep leaving one
8544 around owned by root :-).
8545 * Changed upper limit on close loops from 255 to FD_SETSIZE.
8546 This probably needs some more study.
8549 If krb4 auth was compiled in but not enabled, clients would hang
8550 forever. -Aidan Cully <aidan@panix.com>
8552 Make sure SAMBA will not clear archive bits when performing an
8553 incremental backup, so any incremental will be a level 1.
8556 Add a LOGDIR option to amanda.conf and use it to replace the
8557 --with-logdir option to configure (this was only used for the
8558 amdump files) and the logfile option in amanda.conf. Log
8559 files are now LOGDIR/log and amdump files are LOGDIR/amdump.
8560 Note: if there is a LOGFILE option in amanda.conf it has its
8561 filename removed and is used as the LOGDIR (eg, if you have
8562 "logfile /usr/adm/amanda/log" in amanda.conf it is translated to
8563 "logdir /usr/adm/amanda" instead). This should not cause a
8564 problem for most sites.
8567 Remove --with-dbdir option from configure. This was only used
8568 to setup things for the man pages and example files. Oh.. and
8569 amrmtape. Fix this as well.
8572 Remove --with-indexdir option from configure. This is obtained
8573 from amanda.conf at run time. Also fix things so that it *is*
8574 obtained from amanda.conf in all cases.
8577 This is no longer tested on configure.in, since it is
8578 expressly forbidden to include kernel headers under glibc,
8579 according to Matthias Urlichs <smurf@noris.de>. However, Eric
8580 Doutreleau <ed@cti.ecp.fr> said he needed to include this
8581 header file in order to build amanda on
8582 sparc-unknown-linux-gnu. -oliva
8584 It is now possible to specify a username to be used to backup
8586 -Jean-Louis Martineau <martinea@iro.umontreal.ca>
8588 Make sure dumper replies with ABORT_FINISHED when a PORT-DUMP
8589 is aborted because of tape error.
8590 -Michael C. Povel <Michael.Povel@hub.de>
8592 Amcheck checks only for the needed features.
8593 -Jean-Louis Martineau <martinea@iro.umontreal.ca>
8595 Performance and memory-usage improvements to amrecover.
8596 -Jean-Louis Martineau <martinea@iro.umontreal.ca>
8598 Use extended regular expressions.
8599 -Noel Hunt <noel@jpmorgan.com>
8601 Fixed regular expressions for samba support.
8602 -Brian Fernald <fernald@nsi.edu>
8604 Fixed a few bugs that caused arithmetic exceptions in planner.
8605 -Bob Willcox <bob@luke.pmr.com>, Evan Champion
8606 <evanc@synapse.net>, scott and oliva
8608 amrecover should now be able to handle GNUtar restores.
8609 -Jean-Louis Martineau <martinea@iro.umontreal.ca>, plus
8610 incremental (-G) patch by Lars Fenneberg <lf@elemental.net>
8612 Ported to SINIX (Reliant Unix V5.43).
8613 -Michael Schmitz <mschmitz@iname.com>
8615 Configure now looks for large file support and will use it under
8616 Solaris 2.6 and above.
8617 -Blair Zajac <blair@gps.caltech.edu>
8619 Compatibility problems fixed for:
8620 SCO OpenServer 5.0.2: Paul Gampe <paulg@twics.com>
8624 New changerfile and changerdev configuration keywords, that
8625 allow changer scripts to be configured in the main amanda
8626 configuration file. Each changer script has been adapted, so
8627 that it uses those flags whenever possible. Also,
8628 documentation about built-in scripts has been added to
8629 docs/TAPE.CHANGERS. -oliva & Eric Schnoebelen
8630 <eric@egsner.cirr.com>
8632 --with-debugging now accepts a directory name, where debugging
8633 files should be stored. -John R. Jackson <jrj@cc.purdue.edu>
8635 Compatibility problems fixed for:
8636 NextStep 3.3: Fabrice GAILLARD <gaillard@ina.fr>
8637 SCO OpenServer V5: Christopher B. Olsen <colsen@compus.com>
8638 AIX: Georg Rehfeld <georg@wmd.de>
8640 Planner would core dump if it had to delay dumps. -Georg
8641 Rehfeld <georg@wmd.de>
8643 Added patch for samba to support very long filenames. -Todd
8644 Pfaff <todd@edge.cis.mcmaster.ca>
8646 Added VXDUMP support to estimate program. -oliva & John
8647 R. Jackson <jrj@cc.purdue.edu>
8649 Fixed amflush so that it cd's to the configuration directory
8650 before invoking reporter. -oliva
8652 driver no longer opens the infofile, so a deadlock is
8653 prevented. -oliva & John R. Jackson <jrj@cc.purdue.edu>
8655 Fixed typo in sendbackup-dump that would prevent compilation
8656 if either xfsdump or vxdump were enabled. -oliva
8658 Debugging messages produced by sendbackup are no longer
8659 included in the dump stream. -oliva
8661 amrestore should wait for the child process to die before
8662 re-opening the tape device. -Dietmar Braun
8663 <dietmar@tin-lizzy.hig>
8667 fixed race condition in debug file open operation. -oliva and
8670 exclude-list and exclude-file are correctly handled by
8671 sendsize. -oliva and Johann Klasek <jk@auto.tuwien.ac.at>
8673 fix some kerberos4 problems; no longer require low ports for
8674 kerberized connections; now use amanda@REALM instead of
8675 amanda.amanda@REALM in .klogin's. -kovert
8677 amrecover no longer depends on GNU flex library. -oliva
8679 Ensure that malloc(0) is not called. -Wolfram Schmidt
8680 <Wolfram.Schmidt@iao.fhg.de>
8682 Compression is now performed where specified, and server
8683 compress best specifications are obeyed. -oliva
8685 genversion now correctly recognizes the selected locking scheme.
8686 -Thomas Schmeidl <schmeidl@nwp.kwu.siemens.de>
8690 Several bugfixes by John R. Jackson <jrj@cc.purdue.edu>
8692 AIX's restore support added to amrecover. -David B. Anderson
8693 <dbanders@mail.physics.utah.edu>
8695 Dump process would not be killed unless it supported the -E
8696 flag (flipped #ifdef): fixed. -Steve Bower <sbower@raytheon.com>
8698 --with-testing now supports a trailing argument, that
8699 specifies the a string to be appended to service names. -oliva
8701 Recent versions of Samba require additional arguments so that
8702 estimates and total sizes are logged to stdout, not to syslog.
8703 -Ernie Oporto <ernie_oporto@MENTORG.COM> & Norbert Holzknecht
8704 <Holzknecht@fs31.vdeh-bfi.de>
8708 Improved planner backup-delaying mechanism. -scott
8710 Concurrent estimates are now supported. -oliva
8712 Shared library support included with GNU libtool. -oliva
8714 New hard-link-based locking mechanism for operating systems
8715 that do not support standard locking system calls. -scott
8717 New configuration file format, simpler and easier to
8720 New curinfo database format that uses only text files. The
8721 old dbm format is used by default, though. -scott
8723 DGUX support. -Brian Harvey <bharvey@raven.phs.com>
8725 Tentative HPUX vxdump support. -oliva
8727 Integrated amgetidx into dumper/sendbackup protocol. This
8728 ***breaks backward compatibility***! -oliva
8730 Have sendbackup-dump and sendbackup-gnutar list the actual
8731 program that should be used to restore a file from a backup
8732 instead of just listing restore or gtar. -blair&oliva
8734 Have configure check for the initgroups() declaration in
8735 unistd.h in addition to grp.h and sys/types.h, which is where
8736 some OSes have the declaration. -blair
8738 SAMBA backups wouldn't succeed if GNUTAR listed incrementals
8739 were enabled. SAMBA password file can now specify workgroup
8740 and may contain comments. -oliva
8742 Fixed xfsdump support. -oliva
8744 Fixed srvcompress option. -oliva
8746 Fixed exclude/exclude-list support. -oliva
8748 Change umask to 066 before creating index file in /tmp. -oliva
8750 Fixed autoconf for gdbm on linux. -oliva
8752 configure now seeks out a few possible locations for
8753 kerberos4 includes and tries to find the correct path if
8754 the kerberos bits have been installed. It's possible for
8755 someone to just specify the root of a kerberos tree for
8756 where the bits live, as well. -kovert
8760 Have bsd_security_ok() in amandad return 1 when BSD security is
8761 not turned on. Patch from Michael C. Grant
8762 <mcgrant@rascals.Stanford.EDU>.
8764 Add a configure option, --with-db, which lets the user specify
8765 the database library to use. The available codes to look for
8766 are db,dbm,gdbm,ndbm. The new configure code goes to a lot
8767 more length to find pairs of header files and libraries. If a
8768 header file exists and the library does not, but dbm_open() is
8769 found by linking against -lc, then that header file is used.
8770 Patch from Blair Zajac <blair@gps.caltech.edu>.
8772 Fixed bug at line 158 where selfcheck was testing that the
8773 result returned by open() was nonzero. The correct thing to do
8774 is check for non-negative values returned by open(). Changed
8775 the "ERROR" in line 169 to "OK" to prevent selfcheck from
8776 flagging the non-existence of /etc/amandapass as an error.
8777 Using "OK" in this line flags this condition as an informative
8778 statement rather than an error - which is to say this will be
8779 reported along with other errors but it isn't enough in itself
8780 to generate an error report. The reason that I think this is
8781 the right fix is because although every Amanda client is
8782 capable of backing up PCs using smbclient it isn't the case
8783 that we will back up PCs with every Amanda client. This also
8784 implies that we don't want to have /etc/amandapass files on all
8785 these machines either. If an Amanda client does have a samba
8786 "//host/share" entry in its disklist file then selfcheck will
8787 flag the non-existence of the /etc/amandapass file on line 105
8788 when it attempts to check that partition, so I believe that
8789 this is a safe fix. Patch from Michael Brantley
8790 <Michael-Brantley@deshaw.com>.
8792 Have all calls to gethostname() leave the result in character
8793 arrays of length 1025. This will make sure that gethostname
8794 behaves correctly. Patch from blair Zajac
8795 <blair@gps.caltech.edu>.
8797 Have amrecover.c include history.h or readline/history.h if
8798 configure finds it. Patch from blair Zajac
8799 <blair@gps.caltech.edu>.
8801 Have Amanda use cat if gzip and compress cannot be found. In
8802 this case, do not #define COMPRESS_FAST_OPT, COMPRESS_BEST_OPT,
8803 or UNCOMPRESS_OPT as "" since cat will look look for a file by
8804 the name of "". Place #ifdef's around code that uses any of
8805 the _OPT defines. Patch from Blair Zajac
8806 <blair@gps.caltech.edu>.
8808 Rewrite amgetidx to use amandad instead of rsh/rcp. amgetidx
8809 now only gets the index files from a given day. It now takes
8810 two optionally arguments <on day> or <ago days>. <on day> lets
8811 the user specify the day in one of the forms YYYYMMDD MMDD DD
8812 YYYY-MM-DD --MM-DD ---DD. <ago days> gets the files from days
8813 days ago. Have configure look for an appropriate directory to
8814 use for the temporary files on the clients. Use /var/tmp, then
8815 /usr/tmp, and if neither of those exist, then use /tmp. Have
8816 selfcheck check if the index holding directory has enough space
8817 in it. Add a new program called sendindex which sends the
8818 index files. Add the file docs/INDEXING which describes the
8819 index code. Patch from Alan McIvor <alan@auck.irl.cri.nz>.
8821 Have configure set up mt to use either the -f or the -t option
8822 depending upon the operating system. Patch from Blair Zajac
8823 <blair@gps.caltech.edu>.
8825 Include the amanda_tapetypes.txt file as docs/TAPETYPES. File
8826 composed by Chris Stacey <chris@snrc.uow.edu.au>.
8828 Allow certain dumptypes to be kicked off at specific times.
8829 Add a new, optional, parameter to the dumptype description in
8830 the config file. The parameter is called "starttime" and takes
8831 one argument which is a time of day (local timezone) formated
8832 as either hhmm or hmm (no `.'s, no `:'s, just an integer).
8833 define dumptype comp-user-2am {
8834 comment "Non-root partitions on fast machines"
8835 options compress-fast
8839 Any partitions listed in disklist with this dumptype will be
8840 fired off no earlier than 2am. If 2am today is less than 43200
8841 seconds past (12 hours ago) it will assume you meant 2am today
8842 and fire the dumps off right away. But if 2am today is more
8843 than 12 hours in the past, it will wait till 2am tomorrow.
8844 Patch from Brad Huntting <huntting@misc.glarp.com>.
8846 Totally rewrite the socket buffering code for dumper.
8847 Eliminate SO_SNDTIMEO and SO_RCVTIMEO setsockopt calls. Remove
8848 the check for HAVE_SO_SNDTIMEO from configure. Add a new
8849 option to configure named --enable-buffered-dump to enable this
8850 code. Patch from Brad Huntting <huntting@misc.glarp.com>.
8852 Have amflush call setsid() to detach amflush from the
8853 controlling terminal. Patch from Ken Laprade
8854 <klaprade@harris.com>.
8856 Have configure correctly work on systems where dbm_open is in
8857 libc. Patch from Farzad Farid <farzy@sgip.fr>.
8859 Patches to amrmtape which remove C style comments and let the
8860 script remove a tape if there is only one tape in the tapelist
8861 file. Patch from Andrew A. Ivanov <IVANOV@mics.msu.su>.
8863 Sprintf formatting error in amgetidx fixed. Patch from Yossi
8864 Gottlieb <yogo@xpert.com>.
8866 I'm using a Sony SDT/STL-7000 4mm DAT changer. I could not
8867 find any method of directly controlling the device, except for
8868 simply using the 'offline' mt command for advancing to the next
8869 tape. Using this method, however, I could not go beyond the
8870 last cassette (that is, to roll back to the first one). This
8871 means the device is currently being used as a simple gravity
8872 changer, only able to change forward. The chg-generic.conf
8873 should list the default tape device for all slots, disable
8874 'needeject', enable 'gravity' and enable the new option named
8875 'multieject'. Patch from Yossi Gottlieb <yogo@xpert.com>.
8877 Update the example chg-generic.conf file to include comments
8878 that describe how to use the multieject feature of the script.
8879 Patch from Yossi Gottlieb <yogo@xpert.com>.
8881 Protocol seems to loop when a A_TIMEOUT occurs because
8882 p->reqtries was not being decremented. Problem noted by Neal
8883 Becker <neal@ctd.comsat.com>.
8885 About half the calls to gethostname() in Amanda fail to
8886 null-terminate properly. This patch makes them all
8887 consistent. In addition it updates sendbackup-dump and
8888 sendbackup-gnutar so they handle USE_FQDN is a way consistent
8889 with the amindex stuff. In particular when USE_FQDN is set,
8890 the dump clients will not truncate their hostname before
8891 putting it in the dump headers. My patches to amflush are
8892 already in the Amanda betas so amflush should be able to match
8893 up both FQDN and non-FQDN clients against FQDN and non-FQDN
8894 disklist files. I also fixed an error message that was
8895 attributed to gethostname when it actually came from
8896 getpeername. Patches from James Mathiesen
8897 <james@nyc.deshaw.com>.
8899 I have run into the problem, on a Linux system, where the first
8900 time I run configure it generates valid Makefiles and Amanda
8901 compiles without problem. If I run configure again, or I alter
8902 a Makefile.in or something which causes autoconf to be called,
8903 the resulting Makefiles are no good - the programs in
8904 server-src don't finish linking because there is no dbm
8905 library. That is, the first time through configure -lgdbm is
8906 added to LIBS but the second, and any subsequent times, it is
8907 not. Patch from Alan McIvor <alan@auck.irl.cri.nz>.
8909 I've just found a bug that has prevented Amanda from running on
8910 my site for almost one week. Just after a dumper replied that
8911 it timed-out, the driver would send it another dump request.
8912 Then the driver would log to amdump an event of receiving a
8913 message from the dumper, but that message would be empty, the
8914 holding file for the requested filesystem would not exist, and
8915 driver would quit. It turned out that the problem was that
8916 dumper started to close its sockets (datafd, mesgfd and outfd)
8917 since release 2.3.0.4b3. outfd is initialized before invoking
8918 startup_dump, but it is sendbackup_response, intended to be
8919 invoked by the amandad protocol driver, that opens sockets and
8920 initializes datafd and mesgfd. If sendbackup_response is never
8921 run (because the amandad request times out), datafd and mesgfd
8922 will not be initialized, so they may contain already closed
8923 (and possibly already reopened) file descriptor numbers or
8924 still be uninitialized, containing any garbage, but usually 0
8925 --- but 0 is stdin, used for reading commands from the driver,
8926 it should not be closed! I've solved the problem by
8927 initializing them to -1 in startup_dump. Patch from Alexandre
8928 Oliva <oliva@dcc.unicamp.br>.
8930 Include declarations for select(), bind(), connect(), fread(),
8931 fwrite(), getopt(), getpeername(), getsockname(), getsockopt(),
8932 initgroups(), listen(), lstat(), mktemp(), mktime(), puts(),
8933 recvfrom(), select(), sendto(), setpgrp(), setsockopt(),
8934 shmat(), shmctl(), shmdt(), shmget(), socketpair(), sscanf(),
8935 strftime(), strncasecmp(), system() if the system does not
8936 declare these in any header files. Patch from Blair Zajac
8937 <blair@gps.caltech.edu>.
8939 Have configure correctly substitute for DB_DIR and LOG_DIR in
8940 example/amanda.conf when --prefix was not used. Problem noted
8941 by Philippe Charnier <charnier@xp11.frmug.org>.
8943 Include seagate-changer.c from Larry D. Pyeatt
8944 <pyeatt@cs.colostate.edu>. This program was written to control
8945 the Seagate/Conner/Archive autoloading DAT drive. This drive
8946 normally has 4 tape capacity but can be expanded to 12 tapes
8947 with an optional tape cartridge. This program may also work on
8948 other drives. This program works for me under Linux with Gerd
8949 Knorr's <kraxel@cs.tu-berlin.de> SCSI media changer driver
8950 installed as a kernel module. The kernel module is available
8952 http://sunsite.unc.edu/pub/Linux/kernel/patches/scsi/scsi-changer*
8953 Since the Linux media changer is based on NetBSD, this program
8954 should also work for NetBSD, although I have not tried it. It
8955 may be necessary to change the IOCTL calls to work on other
8958 Add a new configure option, --with-group, which tells Amanda
8959 the group to install all files as. Patch from Alexandre Oliva
8960 <oliva@dcc.unicamp.br>.
8962 If --with-bsd-security was not set, then dumper would not find
8963 the amanda/udp port to use to connect to clients. Patch from
8964 Alan McIvor <alan@auck.irl.cri.nz>.
8966 The order of dump programs to search for (ufsdump, vdump, dump,
8967 backup) didn't work on AIX systems, where backup should be used
8968 but a program named dump exists on the system. Patch by Blair
8969 Zajac <blair@gps.caltech.edu>.
8971 The configure --with-mmap was not working properly since
8972 configure was using the wrong variable to see if the system had
8973 a working mmap(). Problem noted by Keith Mitchell
8974 <kmitch@weenix.guru.org>.
8978 Save the results of getchar() into int's instead of char's in
8979 amidxtaped.c. Patch by Blair Zajac <blair@gps.caltech.edu>.
8981 Fix sendbackup-gnutar so that it can be compiled with a K&R
8982 compiler. Patch by Blair Zajac <blair@gps.caltech.edu>.
8984 Since I installed Amanda 2.3.0.4b3, I noticed some annoying
8986 dumper: pid 8696 setsockopt(SO_SNDTIMEO): Invalid argument
8987 This is because Solaris 2.5 does declare SO_SNDTIMEO in
8988 sys/socket.h, but fails to setsockopt with the given
8989 arguments. Unfortunately, it is not documented, so I could not
8990 find out the correct way to do this, so I just added a test in
8991 configure to check whether SO_SNDTIMEO works as expected or
8992 not. Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
8994 Include amplot-2.2.6 written by Olafur Gudmundsson
8995 <ogud@tis.com> into Amanda. Have amplot be configured using
8996 configure instead of amplot.conf. It will be installed if
8997 gnuplot and the version of awk configure finds can handle
8998 variable assignment from the command line. I also changed some
8999 of the command line options so that the amdump files will not
9000 be compressed unless amplot is told to do so on the command
9001 line. It also takes a new command line option, -t, which lets
9002 the user set the time of the right side of the plot. Work done
9003 by Blair Zajac <blair@gps.caltech.edu>.
9005 Made rth-changer check all system calls for valid returns.
9006 Patch by Blair Zajac <blair@gps.caltech.edu>.
9008 amrestore.c and sendbackup-common.c would do an ifdef on
9009 HAVE_GZIP, which was no longer being defined if Amanda was
9010 using gzip. Now, define HAVE_GZIP if gzip is being used.
9011 Patch by Blair Zajac <blair@gps.caltech.edu>.
9013 Include a script, amoverview, that outputs an overview of all
9014 of the backups done on all of the disks. Script written by
9015 Dave Disser <disser@sdd.hp.com>.
9017 The prototype for amname_to_fstype() is missing in
9018 createindex-dump.c when xfsdump is available. Patch from Ken
9019 Laprade <klaprade@harris.com>.
9021 Apparently SGI provides a dummy libsun.a that does not really
9022 have anything in it. I guess this tricks configure into adding
9023 it to the Makefile. Have configure not check for libsun.a on
9024 SGI systems. Patch from Ken Laprade <klaprade@harris.com>.
9026 The global variable overwrite in amcheck.c apparently is seen
9027 as a potential conflict with the overwrite() curses function
9028 which is apparently in SGI's libtermcap.a. Declaring the
9029 variable static eliminates the warning. Patch from Ken Laprade
9030 <klaprade@harris.com>.
9032 Add a new configure option, --with-fqdn, which allows Amanda to
9033 back up systems in different domains. This requires that the
9034 disklist file have the fully qualified domain names (FQDNs)
9035 listed. Patch from Joe Ammond <Joe.Ammond@ee.gatech.edu>.
9037 Include rundump, a setuid program that runs dump as root. This
9038 is used under OSF1 systems. Patch from Alexandre Oliva
9039 <oliva@dcc.unicamp.br>.
9041 Install setuid files executable only by the owner and group of
9042 the files. This stops other users from running these programs,
9043 making security tighter. Patch from Alexandre Oliva
9044 <oliva@dcc.unicamp.br>.
9046 On FreeBSD 3.0, amanda.h needs to include <sys/types.h> before
9047 <dirent.h>. Problem noted by Keith Mitchell
9048 <kmitch@weenix.guru.org>.
9050 Amanda had a bug regarding the recent addition of support for
9051 excluding files in GNUTAR. planner and sendsize did not
9052 understand each other about empty exclusion lists, so there
9053 were failures using gnutar, as dump does not support excludes.
9054 Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
9056 Fixed a problem in configure where DUMP was being set to
9057 /no/restore/available when no restore program could be found
9058 instead of setting RESTORE to this. Patch from Alexandre Oliva
9059 <oliva@dcc.unicamp.br>.
9061 Have no-changer and hp-changer check for the existence of the
9062 logging directory before trying to use it. Patch by Blair
9063 Zajac <blair@gps.caltech.edu>.
9065 Patches to have nicer looking Samba support code. Patch from
9066 Michael Zucchi <cismpz@cis.unisa.edu.au>.
9068 Got Amanda to compile fine on a m88k-motorola-sysv4 system.
9069 Patches from Blair Zajac <blair@gps.caltech.edu>.
9071 In amandad.c, pk_t dupmsg was conflicting with dupmsg in
9072 /usr/include/sys/stream.h on an m88k-motorola-sysv4 system.
9073 Rename dupmsg to dup_msg. To keep things consistent, rename
9074 inmsg to in_msg and outmsg to out_msg. Patch by Blair Zajac
9075 <blair@gps.caltech.edu>.
9077 Check for the dbm_open declaration in any header file that may
9078 contain it. If it doesn't exist, then declare it and all of
9079 the other dbm_ functions. Check if struct datum is declared in
9080 any header files and if it isn't then declare it. Patch from
9081 Blair Zajac <blair@gps.caltech.edu>.
9083 Have runtar make sure that it is being invoked by the
9084 CLIENT_LOGIN user, since it is a suid executable. Patch from
9085 Alexandre Oliva <oliva@dcc.unicamp.br>.
9087 Have selfcheck check for /etc/vdumpdates if vdump is being
9088 used. Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
9090 If we're on an Ultrix system, then define STATFS_ULTRIX. Patch
9091 by Blair Zajac <blair@gps.caltech.edu>.
9093 amadmin export produces a full version number (2.3.0.4b2, for
9094 instance), while amadmin import expects three integers
9095 separated by dots, so it fails to import an exported file by
9096 itself. Patch by Alexandre Oliva <oliva@dcc.unicamp.br>.
9098 Sendsize.c would loop forever if debugging was not turned on.
9099 Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
9101 Define STATFS_OSF1 if we are on a *-dec-osf-* system. Change
9102 ifdef OSF1_HANG_BUG to ifdef OSF1_VDUMP, since I'd rather not
9103 have too many defines floating around. Patch by Blair Zajac
9104 <blair@gps.caltech.edu>.
9106 There was a bug in selfcheck.c when Blair installed the Samba
9107 support. I deleted an extra space that was added after
9108 SAMBA_CLIENT when the command was being put together. Fix by
9109 Michael Zucchi <cismpz@cis.unisa.edu.au>.
9111 Add a needed ; to client-src/Makefile.am and
9112 server-src/Makefile.am. Patch from Alexandre Oliva
9113 <oliva@dcc.unicamp.br>.
9115 Have planner.c and amcheck.c always get the amanda port number
9116 even if BSD security is turned off. Patch by Blair Zajac
9117 <blair@gps.caltech.edu>.
9119 Change the way amgetidx caches host up/down information. It
9120 used to stralloc() a string depending on if the host was up or
9121 down. Now, create two static character arrays, one holding
9122 "down" and the other holding "up" and simply point the
9123 hostinfo->up pointer to one of the two arrays. This should
9124 save a little memory. Patch by Blair Zajac
9125 <blair@gps.caltech.edu>.
9127 The Bourne shell in FreeBSD can't handle setting IFS to : and
9128 expanding $LOCPATH:$SYSPATH. Create two new variables before
9129 their use called $LOCSYSPATH and $SYSLOCPATH. Patch by Blair
9130 Zajac <blair@gps.caltech.edu>.
9132 Have open_fstab for BSD systems return the value of setfsent.
9133 Patch by Blair Zajac <blair@gps.caltech.edu>.
9135 Configure was searching for the dump program in the following
9136 order: ufsdump, vdump, backup, dump. On HP-UX systems,
9137 configure would find backup, which is a valid program but does
9138 not do what dump does. So switch the order of the programs to
9139 ufsdump, vdump, dump, backup. Patch by Blair Zajac
9140 <blair@gps.caltech.edu>.
9142 Fixed some dbprintf(()) bugs in amgetidx.c. Patch by Blair
9143 Zajac <blair@gps.caltech.edu>.
9145 Have amrecover.c always declare
9146 extern char *optarg;
9148 This makes amrecover.c compile on Ultrix systems. Problem
9149 noted by Scott Gasch <scott@cray-ymp.acm.stuorg.vt.edu>.
9151 Patch to configure to have it recognize gnutar version 1.11.2.
9152 Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
9156 Have amcleanup, no-changer, and hp-changer find out where the
9157 logging directory, or amdump error file is from getconf instead
9158 of using @LOG_DIR@ or @DB_DIR@ from configure. Problem noted
9159 by Joe Ammond <Joe.Ammond@ee.gatech.edu>.
9161 Remove VarDir=@DB_DIR@ from amrmtape.sh.in, since amrmtape
9162 figures out where the curinfo files are from the amanda.conf
9163 file. Problem noted by Joe Ammond <Joe.Ammond@ee.gatech.edu>.
9165 Include rth-changer, a tape changer script for the Robotic Tape
9166 Handling system OEM'd by Andataco (RTH-406). Script written by
9167 Erik Frederick <edf@tyrell.mc.duke.edu>.
9169 Add a new configure option called --with-pid-debug-files which
9170 has Amanda append the process ID to the debugging files placed
9171 in /tmp. The PID will not be appended unless this option is
9172 used. Suggestion by Joe Ammond <Joe.Ammond@ee.gatech.edu>.
9174 Add a new #define UNCOMPRESS_OPT to pass to UNCOMPRESS_PATH to
9175 get compressed standard input decompressed and pass it to
9176 standard output. The configure script only recognized gzip and
9177 compress right now, so it will set UNCOMPRESS_OPT to -dc and
9178 set UNCOMPRESS_PATH to the same value as COMPRESS_PATH. Edit
9179 all of the files that make use of UNCOMPRESS_PATH to also make
9180 use of UNCOMPRESS_OPT now. Patch by Blair Zajac
9181 <blair@gps.caltech.edu>.
9183 The readline() substitute in amrecover.c when the real
9184 readline() code is not available did not return to the caller
9185 what the user typed in. It now does so. Patch from Blair
9186 Zajac <blair@gps.caltech.edu>.
9188 Avoid -lnsl on Irix. On IRIX 5.x and 6.x systems that have the
9189 svr4net module installed, there will be a /usr/lib/libnsl.so
9190 present on the system. The configure script looks for this and
9191 tosses into the library list if it's there. It is not
9192 advisable to link against libnsl on IRIX unless you really need
9193 it for SVR4 networking (TLI/STREAMS). If you _do_ link against
9194 it, you should use include '-lc' _before_ '-lnsl'. The reason
9195 for this is that libnsl.so also contains the SysV TI-RPC code,
9196 which is RPC based on STREAMS/TLI rather than sockets. (Solaris
9197 2.x now uses this by default.) TI-RPC has some compatibility
9198 functions with the same names as older RPC functions, such as
9199 clnt_call(), clnt_create(), clnt_destroy(), and these conflict
9200 with the functions in libc.so. The main place this will hose
9201 you is NIS: NIS v2 expects the underlying RPC code to use
9202 sockets, not STREAMS, and it fails if the TI-RPC symbols in
9203 libnsl.so override the RPC symbols in libc.so. Again, you
9204 don't need libnsl.so unless you're actually using STREAMS/TLI
9205 or TI-RPC, so in Amanda's case it's safe to just ignore it. If
9206 you _do_ need it, you must do 'cc -o foo foo.c -lc -lnsl' in
9207 order to make sure the linker resolves the RPC symbol
9208 references correctly. The primary symptom of this problem is
9209 that things like getpwent(), getgrent() and getnetgrent() stop
9210 working in an NIS environment. To make a long story short: on
9211 IRIX, avoid using libnsl. Amanda doesn't need it anyway. So far
9212 I haven't encountered a problem with this, but you never know.
9213 Note from Bill Paul <wpaul@ctr.columbia.edu>.
9215 Include patches to have Amanda do incrementals of gnutar based
9216 backups. Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
9218 Delete the GNUTAR_BROKEN_PIPE from configure and acconfig.h
9219 since no code was testing for it. Patch by Blair Zajac
9220 <blair@gps.caltech.edu>.
9222 Have configure check for the number of arguments that
9223 gettimeofday takes and have clock.c use the appropriate number
9224 of arguments. Patch by Blair Zajac <blair@gps.caltech.edu>.
9226 Have sendbackup-common.c include tapeio.h instead of defining
9227 BUFFER_SIZE. Fix by Philip Guenther <guenther@gac.edu>.
9229 Put in more support for AIX by defining AIX_BACKUP if the
9230 system is an AIX system. Fix createindex-dump.c to pass the -B
9231 flag to restore to have it read from standard input. Problem
9232 noted by Bill Paul <wpaul@ctr.columbia.edu>. Patch by Blair
9233 Zajac <blair@gps.caltech.edu>.
9235 Add a regexp for AIX 4's backup in sendbackup-dump.c and
9236 sendsize.c. Patch from Bill Paul <wpaul@ctr.columbia.edu>.
9238 Add a comment to tapeio.h about BUFFER_SIZE and what it is used
9239 for and how people should not change it. Noted by Bill Paul
9240 <wpaul@ctr.columbia.edu>.
9242 Added a --with-mmap option to force the use of mmap() instead
9243 of shared memory support. Requested by wpaul@ctr.columbia.edu
9244 <Bill Paul>. Patch by Blair Zajac <blair@gps.caltech.edu>.
9246 On FreeBSD 2.x and 3.x, the SO_SNDTIMEOUT value is too large in
9247 dumper.c. Looking at the kernel source, the maximum value for
9248 tv_sec is about 227. The value used is READ_TIMEOUT/4, or
9249 (30*60)/4 == 450 seconds. This causes setsockopt() to return
9250 EDOM (Numerical argument out of domain), and again everything
9251 grinds to a halt. I changed the value from READ_TIMEOUT/4 to
9252 READ_TIMEOUT/8, which reduces the SO_SNDTIMEO value to 225. I
9253 haven't extensively tested this yet, but based on eyeballing
9254 the kernel source it should work. Patch from Bill Paul
9255 <wpaul@ctr.columbia.edu>.
9257 In dumper.c:do_dump(), there is code to set the transmission
9258 timeout, receive buffer size and receive low water mark on the
9259 data socket using setsockopt(). For SO_RECVBUF, the receive
9260 buffer size (recbuf) is set to DATABUF_SIZE * 4, which is
9261 32*1024*4, or 131072. On SunOS 4.1.x, this value is too
9262 large: dumper generates a 'no buffer space available' error
9263 and everything grinds to a halt. I took away the '*4', which
9264 reduces the size to 32767 bytes, which seems to work. I'm
9265 surprised nobody else has noticed this since it breaks SunOS
9266 Amanda servers. I can only surmise that people aren't using
9267 SunOS machines as servers these days. :) Patch from Bill Paul
9268 <wpaul@ctr.columbia.edu>.
9270 Have Amanda include either readline.h or readline/readline.h
9271 Fix suggested by Neal Becker <neal@ctd.comsat.com>.
9273 Have --with-includes put the -I flags into $CPPFLAGS and
9274 $CFLAGS so that AC_CHECK_HEADERS will find other include
9275 files. Problem noted by Neal Becker <neal@ctd.comsat.com>.
9277 Fixed common-src/Makefile.am to put the extra libamanda.a
9278 sources into the EXTRA_libamanda_a_SOURCES variable instead of
9279 EXTRA_DIST. Fix from Tom Tromey <tromey@drip.Colorado.EDU>.
9281 When compiling amgetidx.c with some compilers, trigraph
9282 substitutions were being made when they should not have been.
9283 Protect the code from this. Patch from Blair Zajac
9284 <blair@gps.caltech.edu>.
9286 Test for flock support in the following order:
9287 1) POSIX fcntl file locking
9290 The common-src/flock.c file will only be used if the lockf type
9291 locking is needed on this system. Patch from Blair Zajac
9292 <blair@gps.caltech.edu>.
9294 Have Samba support compile in only if requested by the user.
9295 Patch from Blair Zajac <blair@gps.caltech.edu>.
9297 Configure was not using $CFLAGS and $CPPFLAGS when trying to
9298 calculate the select argument type. Patch from Blair Zajac
9299 <blair@gps.caltech.edu>.
9301 Updated amanda.h to include alloca.h if the system has it and
9302 if it's ok to include. Also protect more include files with
9303 #ifdefs found by configure. Patch from Blair Zajac
9304 <blair@gps.caltech.edu>.
9306 Linux does not use the raw device names to do backups.
9307 configure now checks to see if it can find a raw disk device
9308 file whose name is built from root's mount point. If it can't,
9309 then set RDEV_PREFIX to use /dev/ instead of /dev/r. Fix
9310 suggested by Brian <brian.s.mogged@uwrf.edu> and Ken Latta
9311 <latta@parc.xerox.com>.
9313 Fixed const cast message from regex.c. Problem noted by Ken
9314 Laprade <klaprade@harris.com>. Patch from Blair Zajac
9315 <blair@gps.caltech.edu>.
9317 Configure was not checking for the OSF1_VDUMP #ifdef used in
9318 Amanda. It now will set OSF1_VDUMP if vdump is found on the
9319 system. However, it does not check if the system is really a
9320 OSF system. Patch from Blair Zajac <blair@gps.caltech.edu>.
9322 Have configure check for asm/byteorder.h for
9323 sparc-unknown-linux-gnu. Problem noted by Eric Doutreleau
9326 Remove the check for libintl.h from configure. It was only
9327 being used for regex.c, which really didn't need it. Patch
9328 from Blair Zajac <blair@gps.caltech.edu>.
9330 Convert all code to K&R C by trying to compile Amanda using
9331 /usr/bin/cc on a SunOS 4.1.1 machine. Have configure check if
9332 the compiler can handle the volatile keyword and if it can't,
9333 #define it to empty in the config.h file. Patch from Blair
9334 Zajac <blair@gps.caltech.edu>.
9336 Move the contents of versuff.h into version.h and remove
9337 versuff.h. Add a new function called version() which returns
9338 the version string. Use version() in some of the programs.
9339 Patch from Blair Zajac <blair@gps.caltech.edu>.
9341 m88k-motorola-sysv4 systems define L_FAIL, which is used by
9342 logfile.h. Undefine it in logfile.h. Patch from Blair Zajac
9343 <blair@gps.caltech.edu>.
9345 Include amindex-1.0 from Alan McIvor. It includes these
9346 improvements over 0.3:
9347 Amrecover now provides the ability to restore files
9348 from the tapes, via the "extract" command.
9350 Support for gnutar based index generation (but not file
9355 Have amgetidx try to open a socket to the shell/tcp port on the
9356 remote machine and cache if it succeeds. If it connection
9357 attempt succeeds, then attempt to get the index files over from
9358 the client. Patch from Blair Zajac <blair@gps.caltech.edu>.
9360 Update patch-system to include the amidxtape service at
9361 10083/tcp. Patch from Blair Zajac <blair@gps.caltech.edu>.
9363 Configure said that the server configuration was OK and then
9364 next said it wasn't. Remove these checks. Patch from Blair
9365 Zajac <blair@gps.caltech.edu>.
9367 Fixed building Amanda for multiple architectures in
9368 subdirectories of Amanda. Problem noted by Thomas Hepper
9369 <Thomas.Hepper@icem.de>.
9373 Fix a problem with `amadmin <conf> balance' dumping core. If
9374 some disks are overdue, they are stored in the sequence array
9375 with a negative index. This has the potential to cause memory
9376 corruption, and it makes the reported balance figures not add up
9377 to the same as the total. Since overdue disks are really going
9378 to be candidated for today's backups, they are thrown in the
9379 bin for those. Patch from Ken Laprade <klaprade@harris.com>.
9381 Add Samba client support using smbclient to Amanda. Samba must
9382 be patched with the file patches/samba-1.9.16p2.1.patch - this
9383 is a patch for 1.9.16p2 of Samba, and modifies the way the
9384 'dir' command works, and adds totals to both the dir command
9385 and the tar command, via stderr. These are used by amanda to
9386 estimate and count backup sizes. This should be installed on
9387 an amanda 'client' host, that will act as the 'samba server'
9388 host. This will most likely be the same machine as the Amanda
9389 master server. Patches from Michael Zucchi
9390 <zucchi@cis.unisa.edu.au>.
9392 Amrmtape converted from Bash to Bourne shell. Patch from Blair
9393 Zajac <blair@gps.caltech.edu>.
9395 Fix the indexing code to use "arglist.h" instead of <stdarg.h>
9396 Patch from Blair Zajac <blair@gps.caltech.edu>.
9398 Have amdump call amgetidx and amtrmidx. Put amgetidx and
9399 amtrmidx into the libexec directory instead of the bin
9400 directory, since Amanda users will not use these by hand.
9401 Patch from Blair Zajac <blair@gps.caltech.edu>.
9403 Modified diskfile.c to match hostname in the backup header
9404 against the fully qualified domain name in disklist file,
9405 because amflush fails in a multidomain backup environment, as
9406 backup headers have only the hostname. Patch from Karl
9407 Lehenbauer <karl@neosoft.com>.
9409 Have autoconf figure out if some functions are not declared and
9410 if they are not, then declare them. Patch from Blair Zajac
9411 <blair@gps.caltech.edu>.
9413 Add security fixes to amandad.c. It now checks the forward and
9414 reverse DNS names for consistency. Added a configure option
9415 --amandahosts to use Michael's code to use .amandahosts instead
9416 of .rhosts. Patch from Michael Douglass <mikedoug@texas.net>.
9418 Add amverify, a simple shell script to check Amanda tapes -
9419 gnutar driven backups only. Patch from Thomas Hepper
9420 <Thomas.Hepper@icem.de>.
9422 Add the version option to amadmin (eg amadmin <conf> version).
9423 Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
9425 Add the current option to amtape (eg amtape <conf> current).
9426 This let's you the label of the current tape only without using
9427 dd. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
9429 Gnutar support for amindex added. Patch from Thomas Hepper
9430 <Thomas.Hepper@icem.de>.
9432 Calcsize supports exclude-list (gtar). The source was
9433 extracted from gnutar itself to be 100% compatible. Patch from
9434 Thomas Hepper <Thomas.Hepper@icem.de>.
9436 Calcsize checks the file type and ignores special files and
9437 pipes. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
9439 Calcsizes calculation for gnu tar archives had a bug (gtar file
9440 blocks always are a multiple of 2k). Patch from Thomas Hepper
9441 <Thomas.Hepper@icem.de>.
9443 `amandates.c': amdandad suffered by missing AMANDATES_FILE.
9444 Now it creates this file before missing it. Patch from Thomas
9445 Hepper <Thomas.Hepper@icem.de>.
9447 `createindex-gnutar.c' added. Patch from Thomas Hepper
9448 <Thomas.Hepper@icem.de>.
9450 alloca(), strdup.c and getcwd added for those system who don't
9451 have them. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
9453 A dirty hack for BSD based systems without sigaction(), see
9454 amanda.h. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
9456 Add two scripts, hp-changer and no-changer. hp-changer is a
9457 tape changer script for a HP DAT changer. Every 10th tape a
9458 taper clean runs. no-changer is a changer-like script for
9459 single tape streamer. It makes Amanda see a tape changer unit
9460 with an infinite count of tapes (and requires an operator to
9461 change the tapes :-)). Every 10 tapes the operator is
9462 recommended to insert a cleaning tape. Patch from Thomas
9463 Hepper <Thomas.Hepper@icem.de>.
9465 The version suffix adding is done with a seperate function
9466 versionsuffix() also available as standalone program. Patch
9467 from Thomas Hepper <Thomas.Hepper@icem.de>.
9469 Several files got debug support. Patch from Thomas Hepper
9470 <Thomas.Hepper@icem.de>.
9472 Added an idle type file-too-large to driver.c to avoid dumping
9473 files to the holding disk(s) which exceed the maximum file size
9474 (2 GB on the most 32-bit machines). Patch from Thomas Hepper
9475 <Thomas.Hepper@icem.de>.
9477 Some minor bug fixes, mostly regarding missing or wrong casts
9478 confusing c compilers (shmat()/shmdt(), select()). Patch from
9479 Thomas Hepper <Thomas.Hepper@icem.de>.
9481 Genversion gives some more information. Patch from Thomas
9482 Hepper <Thomas.Hepper@icem.de>.
9484 getfsent.c and statfs.c have been cleaned up. The have to be
9485 checked on non-Irix/Solaris/NextStep/HPUX/AIX/Linux-systems.
9486 Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
9488 Simple support if readline.a is missing. NEVER TESTED! Patch
9489 from Thomas Hepper <Thomas.Hepper@icem.de>.
9491 Linux requires libdb.a and ndbm.h to handle database files. Not
9492 really what I expected. Patch from Thomas Hepper
9493 <Thomas.Hepper@icem.de>.
9495 Here's a simple patch which fixes a problem that causes amflush
9496 to erroneously complain "ignoring cruft file" about good dump
9497 files on the holding disk, and fail to flush them to tape.
9498 This happens if your holding disk directory has a long name,
9499 and the dump file also has a long name (i.e. if you use
9500 filesystem mount points in disklist). The problem occurs if
9501 the holding directory + filename exceeds 80 bytes. The patch
9502 still leaves a length limitation, but at least it matches the
9503 size limit imposed by driver (and thus dumper & taper) of 128
9504 bytes. Patch from Marion Hakanson <hakanson@cse.ogi.edu>.
9506 Use regex.h and regex.c from
9507 ftp://prep.ai.mit.edu/sh-utils-1.15.tar.gz instead of the regex
9508 checking code in the system. This code includes re_comp and
9509 re_exec calls, so it will work on any system. Patch by Blair
9510 Zajac <blair@gps.caltech.edu>.
9512 Amadmin find reports the wrong tape file numbers after when a
9513 dump is amflush'ed to tape. Patch by Ralf Fassel
9514 <ralf@atg.venture.de>.
9516 Fix a bug where dumps of disks on the Amanda server are counted
9517 against the available network bandwidth. Patch from Marion
9518 Hakanson <hakanson@cse.ogi.edu>.
9520 Tell gnutar to not exit with a nonzero value if a read failed.
9521 This prevents backups from aborting if a file disappeared
9522 before gnutar could save it. Patch from Hal Snyder
9525 Fix dumper which can cause the entire amdump run to hang after
9526 dumper issues a "TRY-AGAIN" message to driver while dumping
9527 directly to tape. Patch from Marion Hakanson's
9528 <hakanson@cse.ogi.edu>.
9530 Added Marion Hakanson's <hakanson@cse.ogi.edu> patches to fix
9531 problems when amanda dumps directly to tape (i.e. when holding
9532 space is full, or you're backing up a huge filesystem, etc.).
9533 The bug occurs in the way taper determines it has succeeded
9534 when doing a PORT-WRITE operation (i.e. dumping directly to
9535 tape). It used to assume that an EOF meant no more data --
9536 true if it's reading from a file, but when reading from a port
9537 (i.e. directly from a dump process), an EOF could signal
9538 abnormal exit as well as a normal one. So, I extended the
9539 protocol between driver and taper when dumping directly to tape
9540 (see dump_to_tape() in driver.c) so the taper will wait for the
9541 driver to pass PORT-WRITE-SUCCESS or PORT-WRITE-FAILURE to the
9542 taper (since driver gets OK/not-OK from the dumper) before the
9543 taper records success or failure. Note that this change
9544 affects only the PORT-WRITE case in taper. FYI, the bug
9545 resulted in the curinfo database for a failed port-dump to have
9546 the tape-label & file-number fields updated with the location
9547 of the failed dump, even though the timestamp & dump statistics
9548 still have the values of the last successful dump (the latter
9549 fields are updated by dumper itself).
9551 Patches from George Scott <George.Scott@cc.monash.edu.au> to
9552 fix the following problems in planner.c.
9553 1) Initialise total_size, total_lev0 and balanced_size. They
9554 are updated in analyze_estimates() but never initialised. Zero
9555 them before the first call.
9556 2) Remove oversize dumps. If there is a dump whose estimated
9557 size is larger than the tape the planner would tend to throw
9558 away all the other dumps and then probably generate an
9559 unworkable plan anyway. (The standard 2.2.6 planner probably
9560 tossed these dumps fairly quickly for other reasons, but my
9561 next fix made this one almost mandatory!) The fix is to drop
9562 these enormous dumps right at the begining. This shouldn't be
9563 triggered for anyone with a sane configuration.
9564 3) Promote hills. There are two ways to create a balanced
9565 cycle. The first is to fill in any holes and the second is to
9566 remove any hills. The original planner is good at doing the
9567 first but doesn't even attempt the second. A quick look at
9568 "amadmin balance" would show big hills quite clearly. This fix
9569 effectively does an "amadmin balance" and promotes a dump from
9570 one of the "hills". This type of promotion is quite
9572 - don't bother if we already plan to do any level 0 dumps
9573 - don't promote a dump if it was going to be the only level 0
9574 to be done on that run (ie, ignore hills that are only one
9576 - only promote one level 0 by this method
9577 - don't exceed tape_length
9578 The key to it is the first restriction. Large sites (with
9579 large numbers of disks and a large balanced_size) will have at
9580 least one level 0 scheduled for each day in the dump cycle and
9581 will already have a balanced cycle. This code will not
9582 activate for them. Small sites will probably not have a level
9583 0 scheduled and will benefit. The second restriction will stop
9584 Amanda from constantly promoting dumps when the schedule is as
9585 balanced as it will go. The third restriction will stop Amanda
9586 over reacting. Promoting one dump by this method would take
9587 total_lev0 larger that balanced_size. If it wouldn't then the
9588 first stage promotion didn't work like it should.
9589 4) Initialise got_estimate for all cases. This fix was from
9590 der Mouse <mouse@collatz.mcrcim.mcgill.edu>. "got_estimate"
9591 wasn't being initialised for skipped disks. Later in the code
9592 it was being used in all cases. The fix is to move its
9593 initialisation up a few lines.
9594 5) Explicitly ignore off-line disks. If a disk is off-line
9595 when the planner is run it gets -1 for all dump sizes. These
9596 were ignored at a later stage. This fix explicitly ignores
9598 6) Ignore down machines. If a machine is down when the planner
9599 is run it guesses from historical data what the size of
9600 tonights dump is likely to be and schedules a dump anyway. The
9601 dumper then usually discovers that the machine is still down
9602 and ends up with a half full tape. Unfortunately the planner
9603 had to delay another dump because it thought that the tape was
9604 full. The fix here is for the planner to discard unavailable
9605 machines totally rather than just ignore the fact that they are
9607 7) Keep at least one total. Amanda moves level 0 dumps back to
9608 incrementals to try and fit everything onto the tape.
9609 Unfortunately if all your incrementals are too big (or your
9610 tape too small) it can move all of your level 0 dumps. This
9611 ends up being a kind of deadlock since, unless a level 0 gets
9612 done, the incrementals will not reduce in size and until the
9613 incrementals reduce in size there will not be enough room to
9614 fit in a level 0. (This is not quite accurate since a level 4
9615 dump can get bumped to a level 5 which reduces its size.
9616 However, this deadlock has happened to me and for many days in
9617 a row.) The fix is to pick on the highest priority level 0 and
9618 not let it be moved. This change will not affect users with
9619 reasonably sized tapes since Amanda would not have moved all
9620 their disks to incrementals.
9621 8) Make usage of total_lev0 consistent. "total_lev0" is a
9622 double and doesn't include tape_mark's. Make it so.
9624 Add a fflush(outf) to amcheck.c. Patch from Mike Russell
9625 <Michael_Russell@Brown.EDU>.
9627 Fix problems with amhpfixdevs. Patch from Michael Schmitz
9628 <mschmitz@iname.com>.
9630 Have DEC OSF1 use installbsd instead of install. Patch from
9631 Rainer Landes <rlandes@fphws01.physik.uni-karlsruhe.de>.
9633 Have amcontrol take the first command line argument as the
9634 configuration to use. If there are no command line arguments,
9635 then use daily. Patch from Thomas Schmeidl
9636 <schmeidl@nwp.kwu.siemens.de>.
9638 Removed --atime-preserve from sendbackup-gnutar.c so that
9639 incremental backups of filesystems will work. Patch from
9640 Alexandre Oliva <oliva@dcc.unicamp.br>.
9642 Change all #if __STDC__ to #ifdef __STDC__ for those systems
9643 that define __STDC__ to 0, such as Solaris using cc -Xt, cc
9644 -Xa. Patch from Blair Zajac <blair@gps.caltech.edu>.
9646 Increase the socket buffer size, and set a low watter mark at
9647 32k. This cut the number of syscalls done to process one 32k
9648 block from dozens down to 4 (select, read, lseek, write).
9649 Patch from Brad Huntting <huntting@glarp.com>.
9651 Include amindex-0.3 from Alan McIvor <alan@salan.auck.irl.cri.nz>.
9653 Add the "srvcompress" option to compress dumps on the tape host
9654 instead of on the client machines. This may be useful when a
9655 fast tape host is backing up slow clients. The patches add a
9656 dump-type option, analogous to "compress-fast" or
9657 "compress-best" - the way to use it is to create a new dumptype
9658 in your amanda.conf that includes "srvcompress" and use the new
9659 dumptype for those filesystems you wish to have compressed on
9660 the tape server. For example, in amanda.conf:
9661 define dumptype srvcomp-user {
9662 comment "Partitions on slow machines, compressed on tapehost"
9666 Patches from Eric Volpe <epv@panix.com>.
9668 Increase the planner timeout for one estimate from 30 seconds
9669 to 120 seconds. Patch from Michael Schmitz
9670 <mschmitz@iname.com>.
9672 The select(2) prototype on HPUX specifies 'int' as argument
9673 type of the filedescriptor arguments. All other systems I know
9674 of use 'fd_set'. This has been fixed by having configure check
9675 the argument type to select and adding casts to the select(2)
9676 calls. Patch from Michael Schmitz <mschmitz@iname.com>.
9678 Improve the diagnostic output and increase the robustness of
9679 the system by adding better error checking on communication
9680 between taper & driver, and among the two taper processes.
9681 Patches from Marion Hakanson <hakanson@cse.ogi.edu>.
9683 Convert all flock() calls to use POSIX-style locks via the
9684 fcntl(2) call. This operation was prompted by the fact that
9685 the flock() emulation in the Amanda-provided common-src/flock.c
9686 was broken for read-only file descriptors, and the fcntl(2)
9687 locks are widely available. This patch makes it possible to
9688 have a read-only lock on the /etc/amandates file on systems
9689 which want to use it. I've built and tested the patched code
9690 on Amanda servers running on Digital Unix v3.2B (on Alpha
9691 hardware) and on SPARC Solaris-2.5.1. It's also been compiled
9692 here on SPARC's running SunOS-4.1.3u1b, HP-UX 9.0[345], and
9693 NeXTstep-3.3 (NeXT hardware). Note that the patches also
9694 remove all trace of the NEED_FLOCK define, and I have removed
9695 the file common-src/flock.c from our source tree here. Patch
9696 from Marion Hakanson <hakanson@cse.ogi.edu>.
9698 For disk/filesystem names which are wider than 14 characters,
9699 have reporter print out the rightmost characters of the disk
9700 name, which is usually more meaningful in a daily backup
9701 summary. Patch from Marion Hakanson <hakanson@cse.ogi.edu>.
9703 Lets amflush work in a wider variety of cases than was
9704 previously true (it used to work if the disklist contains only
9705 the first token of each hostname). sendbackup-dump.c and
9706 sendbackup-gnutar.c now do not trim the domain name from the
9707 host name that is sent back to the server. amflush now looks
9708 for an exact match, in the database. If it can't find one it
9709 strips the last token off the dump header hostname and keeps
9710 trying until it finds a match in the disklist or runs out of
9711 tokens. This also has the advantage that if gethostname()
9712 returns FQDNs and you specify the same FQDNs in the disklist,
9713 then amflush will always work. It will also work as long as
9714 the disklist and gethostname() on the clients return enough
9715 information to be unambiguous. Patch from James Mathiesen
9718 Increase the READ_TIMEOUT in dumper.c to 30 minutes. This
9719 needs to be longer than the longest amount of time dump will
9720 not produce output. People have observed dumps taking more
9721 than 10 minutes to finish mapping some of the passes
9722 sometimes. Patch from James Mathiesen <james@deshaw.com>.
9724 Added Adrian T. Filipi-Martin's <atf3r@cs.virginia.edu>
9725 amrmtape script, which allows you to invalidate the contents of
9726 an existing backup tape within the Amanda current tape
9727 database. This is meant as a recovery mecanism for when a good
9728 backup is damaged either by faulty hardware or user error,
9729 i.e. the tape is eaten by the tape drive, or the tape has been
9730 overwritten. Blair Zajac wrote a quick little manual page for
9733 amrmtape was using the return value from amadmin and amadmin
9734 was exiting with a non-zero value, causing amrmtape to quit.
9735 Added a return 0 statement to amadmin.c. Patch from Blair
9736 Zajac <blair@gps.caltech.edu>.
9738 Went through all of the files and changed void main()'s to int
9739 main()'s. Patch from Blair Zajac <blair@gps.caltech.edu>.
9741 Removed the 50 tape file limit in amcleanup and amdump.
9743 createindex-dump and sendbackup-dump did not always take into
9744 account the version suffix. This is now handled. Patch from
9745 Philippe Charnier <charnier@lirmm.fr>
9747 Compile and install amrecover and amrestore as client programs,
9748 not a server program. The motovation for this is that
9749 amrecover is truly a program for all of the users on the
9750 system, while the remaining amanda programs could be used by
9751 only the system administrator. Patch from Alexandre Oliva
9752 <oliva@dcc.unicamp.br>.
9754 The program amtrmidx fails to close some of the pipes it uses,
9755 and this can lead to failure on systems with large numbers of
9756 disks with incomplete database sets, and file descriptor
9757 ulimits set. Patch from Alan McIvor <alan@auck.irl.cri.nz>.
9761 Expanded the width of the DISK column from the reporter
9762 output. I like to use mount points like /export/home?? instead
9763 of device names to back up. Since the width of the disk name
9764 field from reporter's output is pretty small, I couldn't easily
9765 figure out the statistics for a particular partition. Patch
9766 from Blair Zajac <blair@gps.caltech.edu>.
9768 Included Eric Doutreleau <ed@cti.ecp.fr> patch's for amadmin to
9769 handle multiple tapes better. The patch that he posted on used
9770 a hardwired value of 6 for runtapes, which I changed.
9772 Included Marion Hakanson's <hakanson@cse.ogi.edu> patches to
9773 amadmin.c and amadmin.8 to let amadmin use the same disk
9774 regular expression matching as amrestore. So now "^/$" will
9775 match only the root partition, not all of the disks.
9777 Added a patch from George.Scott@cc.monash.edu.au which makes
9778 new disks and forces dump with a higher priority.
9780 Changed tools/munge to delete blank lines and the commented
9781 lines that the C preprocessor generates (i.e. # 123). We also
9782 remove the space after the = sign that can be generated by cpp
9785 Installed amindex-0.2 from Alan McIvor <alan@auck.irl.cri.nz>
9786 with the following patches:
9788 Fix problem so that rsh'ing on a hpux host works.
9789 Patch from Neal Becker <neal@ctd.comsat.com>. This
9790 patch includes a new #define for RSH_COMMAND, which is
9791 set to rsh in config-common.h and defined as remsh in
9794 Fix bugs in createindex-dump.c when comparing errno to
9795 EINTR. The code was using = instead of ==. Patch from
9796 Neal Becker <neal@ctd.comsat.com>. I'm guessing this
9797 might fix some of the runaway createindex-dump
9798 processes that I have seen on my system.
9800 On my system, we use MAE which likes to generate path
9801 names with spaces in them. I patched
9802 createindex-dump.c so that filenames with spaces have
9803 the whole filename listed. Patch from Blair Zajac
9804 <blair@gps.caltech.edu>.
9806 Patch amtrmidx.c so that backups using the mount points
9807 for disks instead of the device name have the /'s
9808 replaced with _'s. Patch from Blair Zajac
9809 <blair@gps.caltech.edu>.
9813 Changed the signals being sent to xfsdump for Irix so that it
9814 will be killed without dumping a core.
9816 Fixed a typo in the definition of XFSDUMP in config.h-irix.
9818 Removed the extra option.s-* and copied options.h to
9821 Moved the amrestore manual page into the man directory so it
9822 would get installed.
9826 amindex-0.1 written by Alan McIvor <alan@kauri.auck.irl.cri.nz>
9827 installed. amindex generates an index of all of the files that
9828 were dumped. It is nice to see what files were dumped before
9829 you restore a whole bunch of tapes looking for a file. I
9830 patched some of this code. Here are some of the changes:
9832 Switched the Imakefile to Makefile and Makefile.in to
9833 be more consistent with the system used by the rest of
9836 Moved the configuration #defines out of the specific
9837 files (such as amrecover.c) into options.h, so that
9838 people installing this version of amanda would be able
9839 to see the required changes more easily and not have to
9840 edit multiple files.
9842 Made some changes to the codes to remove #include's
9843 where amanda.h would include them and also check if the
9844 system had the particular include file.
9846 Added code to set_commands.c and amgetidx.c to change
9847 /'s in disk names to _'s.
9849 Added code to amrecover.c to properly compile on
9852 With the -Xc compiler option on Solaris and with
9853 amindex, the sigaction structure was not being
9854 declared. Added -D__EXTENSIONS__ to config.h-sunos5 so
9855 that sigaction would be declared.
9857 I changed a bunch of fprintf to perrors.
9859 Include Sean Kelly's <kelly@fsl.noaa.gov> patch for tools/munge
9862 Used Peter Lackner's <plo@came.sbg.ac.at> patches for DU 4.0.
9864 Installed Ken Laprade's <klaprade@harris.com> patches for
9865 amanda to handle both EFS and XFs file systems on the same
9866 client. The only change from his patch is to #ifdef XFSDUMP
9867 the kill(-dumppid, SIGTERM) so the SIGTERM signal will be used
9868 on other systems, while SIGQUIT will be used on Irix systems.
9870 Installed Marion Hakanson's <hakanson@cse.ogi.edu> patches for
9871 the main config file to include subsidiary config files.
9873 On Solaris, sometimes the hdr->handle variable in amandad.c
9874 would be null, causing core dumps when it was used in a sprintf
9875 statement. The code now checks if hdr->handle is null and
9876 prints a "" if it is null. This was only done in amandad.c.
9878 Fix a problem where new disks would be added but not backed up
9879 concurrently. Changes to diskfile.c. I forgot who put this
9880 patch up on the mailing list.
9882 I made some changes to options.h to allow the user to more
9883 easily install the programs under a different user. This meant
9884 defining two new #defines, MK_AMANDA_USER and
9885 MK_QUOTED_AMANDA_USER which are used in the appropriate
9888 Used Marion Hakanson's <hakanson@cse.ogi.edu> patch for taper.c
9891 Included Joachim Loehr's <Joachim.Loeh@stadt-mh.de>
9892 script to automatically figure out which kind of HP-UX file
9893 system is being dumped. Look in tools for the script and a