1 2007-02-07 Jean-Louis Martineau <martineau@zmanda.com>
2 * server-src/amindexd.c: Use dbfd.
4 2007-02-06 Jean-Louis Martineau <martineau@zmanda.com>
5 * Amanda 2.5.1p3 released.
6 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1p3).
7 * NEWS: Update for 2.5.1p3
9 2007-02-06 Jean-Louis Martineau <martineau@zmanda.com>
10 * man/xml-source/amcheck.8.xml,
11 server-src/amlabel.c: Merge from zmanda.
13 2007-02-06 Jean-Louis Martineau <martineau@zmanda.com>
14 * common-src/clock.c (timesub): The result must always be positive.
16 2007-02-05 Jean-Louis Martineau <martineau@zmanda.com>
17 * changer-src/chg-zd-mtx.sh.in: Fix for sed and IMPORT/EXPORT.
19 2007-02-05 Jean-Louis Martineau <martineau@zmanda.com>
20 * server-src/amcheck.c: Add parentheses.
22 2007-02-02 Jean-Louis Martineau <martineau@zmanda.com>
23 * docs/*.txt: Update from xml-docs.
25 2007-02-02 Jean-Louis Martineau <martineau@zmanda.com>
26 * man/Makefile.am: Use http://docbook.sourceforge.net
27 * man/xml-source/amadmin.8.xml, man/xml-source/amaespipe.8.xml,
28 man/xml-source/amanda.8.xml, man/xml-source/amanda-client.conf.5.xml,
29 man/xml-source/amanda.conf.5.xml, man/xml-source/amcheck.8.xml,
30 man/xml-source/amcrypt.8.xml, man/xml-source/amdump.8.xml,
31 man/xml-source/amfetchdump.8.xml, man/xml-source/amflush.8.xml,
32 man/xml-source/amgetconf.8.xml, man/xml-source/amlabel.8.xml,
33 man/xml-source/ammt.8.xml, man/xml-source/amrecover.8.xml,
34 man/xml-source/amreport.8.xml,
35 man/xml-source/amtape.8.xml: Fix for xmllint.
36 * man/xslt/man.xsl: Remove bogus code.
38 2007-02-01 Jean-Louis Martineau <martineau@zmanda.com>
39 * changer-src/chg-zd-mtx.sh.in: Support IMPORT/EXPORT slot.
41 2007-02-01 Jean-Louis Martineau <martineau@zmanda.com>
42 * server-src/amdump.sh.in: Output a starttime line.
43 * server-src/amflush.c: Output a starttime line.
44 * server-src/amstatus.pl.in: parse the starttime line.
46 2007-01-26 Jean-Louis Martineau <martineau@zmanda.com>
47 * server-src/amdump.sh.in: Exit with a status.
49 2007-01-26 Jean-Louis Martineau <martineau@zmanda.com>
50 * server-src/diskfile.c: Use hostnext pointer.
52 2007-01-26 Jean-Louis Martineau <martineau@zmanda.com>
53 * server-src/reporter.c: Exit with a status.
55 2007-01-26 Jean-Louis Martineau <martineau@zmanda.com>
56 * server-src/amstatus.pl.in: Exit with a status.
58 2007-01-26 Jean-Louis Martineau <martineau@zmanda.com>
59 * server-src/amstatus.pl.in: Detect failed dump to tape.
61 2007-01-25 Jean-Louis Martineau <martineau@zmanda.com>
62 * server-src/changer.c (changer_command): Send stderr to dbfd().
64 2007-01-25 Jean-Louis Martineau <martineau@zmanda.com>
65 * server-src/diskfile.c: Check hostname have same case.
67 2007-01-25 Jean-Louis Martineau <martineau@zmanda.com>
68 * changer-src/chg-zd-mtx.sh.in: Check if MT and MTX exists.
70 2007-01-25 Jean-Louis Martineau <martineau@zmanda.com>
71 * changer-src/chg-zd-mtx.sh.in: Set CHANGER environment variable.
73 2007-01-24 Jean-Louis Martineau <martineau@zmanda.com>
74 * client-src/clientconf.c: Don;t check for duplicate -o options.
75 * common-src/util.c: Check for duplicate -o options.
76 * recover-src/amrecover.c: Change precedence of option.
78 2007-01-24 Jean-Louis Martineau <martineau@zmanda.com>
79 * server-src/diskfile.c: Fix compiler warning.
81 2007-01-23 Jean-Louis Martineau <martineau@zmanda.com>
82 * common-src/security-util.c (tcpm_recv_token): Check size < 0.
84 2007-01-23 Jean-Louis Martineau <martineau@zmanda.com>
85 * server-src/diskfile.c: Check duplicate DLE with match_host and
88 2007-01-18 Jean-Louis Martineau <martineau@zmanda.com>
89 * client-src/selfcheck.c: Improve check if /etc/dumpdates in not there.
91 2007-01-18 Jean-Louis Martineau <martineau@zmanda.com>
92 * restore-src/amfetchdump.c: Set arg_state to ARG_GET_HOST.
94 2007-01-18 Jean-Louis Martineau <martineau@zmanda.com>
95 * server-src/amcheck.c: Check tape_access.
96 * server-src/taper.c: Improve message.
98 2007-01-16 Jean-Louis Martineau <martineau@zmanda.com>
99 * server-src/getconf.c: Fix segfault in parameter parsing.
101 2007-01-11 Jean-Louis Martineau <martineau@zmanda.com>
102 * server-src/conffile.c Set default length/filemark correctly.
103 * man/xml-source/amanda.conf.5.xml: Document they are in kbytes.
105 2007-01-10 Jean-Louis Martineau <martineau@zmanda.com>
106 * amandad-src/amandad.c (do_sendpkt): Send packet if handle != NULL.
108 2007-01-10 Jean-Louis Martineau <martineau@zmanda.com>
109 * common-src/util.c, common-src/util.h, server-src/conffile.c,
110 server-src/diskfile.c: Keep different list for exclude file and list.
112 2007-01-10 Jean-Louis Martineau <martineau@zmanda.com>
113 * server-src/taper.c (read_file): Don't count first header twice.
115 2007-01-05 Jean-Louis Martineau <martineau@zmanda.com>
116 * server-src/amstatus.pl.in: Fix split-dump accounting.
118 2007-01-04 Jean-Louis Martineau <martineau@zmanda.com>
119 * restore-src/restore.c: Use prompt_in.
121 2007-01-04 Jean-Louis Martineau <martineau@zmanda.com>
122 * changer-src/chg-chio.pl.in, changer-src/chg-iomega.pl.in,
123 changer-src/chg-rth.pl.in, dumper-src/gnutar.pl.in,
124 server-src/amoverview.pl.in, server-src/amstatus.pl.in,
125 server-src/amtoc.pl.in: Clean ENV and set PATH.
127 2006-12-27 Jean-Louis Martineau <martineau@zmanda.com>
128 * server-src/driver.c: Don't repport error for many run in a day if
131 2006-12-27 Jean-Louis Martineau <martineau@zmanda.com>
132 * common-src/util.c (quote_string): Escape '\' character.
134 2006-12-22 Jean-Louis Martineau <martineau@zmanda.com>
135 * recover-src/display_commands.c: Send quoted text to amindexd.
136 * recover-src/extract_list.c: Send quoted text to amindexd.
137 * recover-src/set_commands.c: Send quoted text to amindexd.
139 2006-12-22 Jean-Louis Martineau <martineau@zmanda.com>
140 * changer-src/chg-disk.sh.in: LASTSLOT in a changerfile for chg-disk.
142 2006-12-22 Jean-Louis Martineau <martineau@zmanda.com>
143 * client-src/sendsize.c: Compilation fix.
145 2006-12-18 Jean-Louis Martineau <martineau@zmanda.com>
146 * common-src/packet.c (pkt_init_empty): New function.
147 * common-src/packet.h (pkt_init_empty): New prototype.
148 * amandad-src/amandad.c, common-src/protocol.c,
149 common-src/security-util.c: Use pkt_init_empty.
151 2006-12-18 Jean-Louis Martineau <martineau@zmanda.com>
152 * server-src/conffile.c: Print nothing if the list is emtpy.
154 2006-12-14 Jean-Louis Martineau <martineau@zmanda.com>
155 * restore-src/restore.c: Fix filename for output file.
157 2006-12-12 Jean-Louis Martineau <martineau@zmanda.com>
158 * common-src/util.c: Fix printf format error.
160 2006-12-12 Jean-Louis Martineau <martineau@zmanda.com>
161 * common-src/amanda.h: Define __attribute__ for gcc >= 3.
162 * common-src/packet.c (pkt_init): Accept NULL for fmt.
163 * amandad-src/amandad.c, common-src/protocol.c,
164 common-src/security-util.c: Pass NULL to pkt_init.
165 * amandad-src/amandad.c, changer-src/chg-scsi.c,
166 changer-src/scsi-linux.c, client-src/sendbackup.c,
167 common-src/amanda.h, common-src/event.c,
168 common-src/packet.c, common-src/security-util.c,
169 common-src/stream.c, oldrecover-src/amrecover.c,
170 restore-src/restore.c, server-src/amcheck.c,
171 server-src/driver.c, server-src/driverio.c,
172 server-src/taper.c: Fix printf format error.
174 2006-12-12 Jean-Louis Martineau <martineau@zmanda.com>
175 * server-src/amindexd.c: Use fgets to read index file because they
178 2006-12-12 Jean-Louis Martineau <martineau@zmanda.com>
179 * configure.in: Find patch for sort program.
180 * server-src/amindexd.c: Clean the indexd file between the uncompress
183 2006-12-08 Jean-Louis Martineau <martineau@zmanda.com>
184 * man/xml-source/amadmin.8.xml, man/xml-source/amanda.8.xml,
185 man/xml-source/amanda.conf.5.xml, man/xml-source/amcheck.8.xml,
186 man/xml-source/amfetchdump.8.xml, man/xml-source/ammt.8.xml,
187 man/xml-source/amrecover.8.xml: Move </note> tag to beginning of line
189 2006-12-08 Jean-Louis Martineau <martineau@zmanda.com>
190 * changer-src/chg-rait.sh.in: Fix typo for -reset.
192 2006-12-07 Jean-Louis Martineau <martineau@zmanda.com>
193 * common-src/util.c (lookup_keyword): Use strcasecmp.
194 * common-src/util.c (get_conftoken): Don;t convert to uppercase.
195 * server-src/getconf.c: Don;t print extra '\n' for --list.
197 2006-12-04 Jean-Louis Martineau <martineau@zmanda.com>
198 * server-src/amtape.h: Remove file.
200 2006-11-29 Jean-Louis Martineau <martineau@zmanda.com>
201 * client-src/sendbackup.c: Kill dump process on error.
203 2006-11-29 Jean-Louis Martineau <martineau@zmanda.com>
204 * changer-src/chg-chio.pl.in: Check tapedev is set.
205 * changer-src/chg-disk.sh.in: Check tapedev is set.
206 * changer-src/chg-iomega.pl.in: Check tapedev is set.
207 * changer-src/chg-manual.sh.in: Check tapedev is set.
208 * changer-src/chg-mtx.sh.in: Check tapedev is set.
209 * changer-src/chg-rth.pl.in: Check tapedev is set.
210 * server-src/amcheck.c: Tapedev is needed only if tpchanger is not set.
211 * server-src/amflush.c: Tapedev is needed only if tpchanger is not set.
212 * server-src/amindexd.c: Tapedev is needed only if tpchanger is not set
213 * server-src/taper.c: Tapedev is needed only if tpchanger is not set.
215 2006-11-29 Jean-Louis Martineau <martineau@zmanda.com>
216 * client-src/sendbackup.c: Ignore tar exit with status 1.
218 2006-11-29 Jean-Louis Martineau <martineau@zmanda.com>
219 * server-src/amindexd.c (clean_backslash): New function use to unescape
220 '\' characters in index files.
222 2006-11-29 Jean-Louis Martineau <martineau@zmanda.com>
223 * restore-src/restore.c (search_tapes): Fix prompt_out setting.
225 2006-11-24 Jean-Louis Martineau <martineau@zmanda.com>
226 * common-src/util.c (copy_file): Fix compilation error.
228 2006-11-24 Jean-Louis Martineau <martineau@zmanda.com>
229 * client-src/sendbackup-dump.c, client-src/sendbackup-gnutar.c,
230 client-src/sendsize.c,
231 server-src/amindexd.c: Patch for gcc-3.2.3 to compile the new
234 2006-11-24 Jean-Louis Martineau <martineau@zmanda.com>
235 * common-src/file.c (old_sanitise_filename): New function.
236 * common-src/amanda.h (old_sanitise_filename): Prototype.
237 * common-src/util.c (copy_file): New function.
238 * common-src/util.h (copy_file): Prototype.
239 * server-src/diskfile.c: Check that two DLE doesn't get the same
241 * server-src/amindex.c (getoldindexfname): New function.
242 * server-src/amindex.h (getoldindexfname): prototype.
243 * server-src/amindexd.c: Use the old sanitized filename if the new
245 * server-src/amcheck.c: Call check_infofile.
246 * server-src/planner.c: Call check_infofile.
247 * server-src/server_util.c (check_infofile): New function, will copy
248 the old sanitizes info file if the new doesn't exist.
249 * server-src/server_util.h (check_infofile): Prototype.
251 2006-11-23 Jean-Louis Martineau <martineau@zmanda.com>
252 * common-src/security-util.c (tcpm_recv_token): amanda protocol
253 packet can be larger than NETWORK_BLOCK_BYTES
255 2006-11-20 Jean-Louis Martineau <martineau@zmanda.com>
256 * client-src/sendsize.c: Open the amandates file after the
257 <config>/amanda-client.conf file is loaded.
259 2006-11-20 Jean-Louis Martineau <martineau@zmanda.com>
260 * common-src/security-util.c, server-src/amcheck.c,
261 * server-src/driver.c, server-src/dumper.c,
262 * server-src/planner.c, tape-src/output-file.c: Lint cleanup.
264 2006-11-20 Ian Turner <ian@zmanda.com>
265 * tape-src/output-file.c: Fix a compilation error related to
266 improper type casts. Thanks to Satya Ganga for noticing this
269 2006-11-20 Jean-Louis Martineau <martineau@zmanda.com>
270 * server-src/driver.c: Use temporary variable to scanf an OFF_T_FMT.
271 * server-src/planner.c: Use temporary variable to scanf an OFF_T_FMT.
273 2006-11-13 Jean-Louis Martineau <martineau@zmanda.com>
274 * client-src/selfcheck.c: Work for estimate calcsize and
277 2006-11-13 Jean-Louis Martineau <martineau@zmanda.com>
278 * server-src/amcheck.c: Don't ouput an warning if holdingdisk 'use'
281 2006-11-09 Jean-Louis Martineau <martineau@zmanda.com>
282 * Amanda 2.5.1p2 released.
283 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1p2).
284 * NEWS: Update for 2.5.1p2
286 2006-11-09 Jean-Louis Martineau <martineau@zmanda.com>
287 * server-src/conffile.c (getconf_byname):
288 Parse "DEFINE:identifer:parameter" format.
289 * server-src/conffile.c (getconf_list): New function to list a DEFINE.
290 * server-src/conffile.c (lookup_holdingdisk): New function.
291 * server-src/conffile.h (getconf_list,
292 lookup_holdingdisk): New prototype.
293 * server-src/getconf.c: accept --list argument and
294 "DEFINE:identifer:parameter" format.
295 * man/xml-source/amgetconf.8.xml: Document.
297 2006-11-09 Jean-Louis Martineau <martineau@zmanda.com>
298 * changer-src/chg-scsi.c: Don't remove '_' from "generic_changer".
300 2006-11-08 Jean-Louis Martineau <martineau@zmanda.com>
301 * common-src/amanda.h, common-src/security-util.c,
302 common-src/util.h, configure.in,
303 oldrecover-src/amrecover.c, oldrecover-src/extract_list.c,
304 recover-src/amrecover.c, recover-src/extract_list.c,
305 restore-src/amrestore.c, server-src/conffile.c,
306 server-src/dumper.c: Fix compiler error on Tru64.
308 2006-11-08 Jean-Louis Martineau <martineau@zmanda.com>
309 * server-src/driver.c: set off_t variable to 0 before sscanf.
310 * server-src/planner.c: set off_t variable to 0 before sscanf.
312 2006-11-07 Jean-Louis Martineau <martineau@zmanda.com>
313 * server-src/amstatus.pl.in: Improve error message.
315 2006-11-07 Jean-Louis Martineau <martineau@zmanda.com>
316 * common-src/security-util.c: Fix coverity bug 170.
317 * server-src/diskfile.c: Fix coverity bug 147.
319 2006-11-07 Jean-Louis Martineau <martineau@zmanda.com>
320 * server-src/conffile.c (validate_chunksize): Check chunksize is >=
323 2006-11-06 Jean-Louis Martineau <martineau@zmanda.com>
324 * common-src/amanda.h: Define OFF_T_STRTOL.
325 * configure.in: Check for strtol and strtoll.
327 2006-11-02 Ian Turner <ian@zmanda.com>
328 * common-src/amanda.h: Use atol if atoll is missing.
330 2006-11-02 Jean-Louis Martineau <martineau@zmanda.com>
331 * common-src/security-util.c: Better message on invalid size.
333 2006-11-02 Jean-Louis Martineau <martineau@zmanda.com>
334 * configure.in: List bsdudp as a udp transport.
336 2006-11-01 Jean-Louis Martineau <martineau@zmanda.com>
337 * server-src/diskfile.c: Don't use 0 for NULL.
339 2006-11-01 Jean-Louis Martineau <martineau@zmanda.com>
340 * client-src/clientconf.c: Define AMANDATES_FILE
341 * client-src/amandates.h: Don't define AMANDATES_FILE
343 2006-11-01 Jean-Louis Martineau <martineau@zmanda.com>
344 * common-src/conffile.c: Rename DUMPTYPE_START_T to DUMPTYPE_STARTTIME.
345 * common-src/conffile.h: Rename DUMPTYPE_START_T to DUMPTYPE_STARTTIME.
346 * server-src/amadmin.c (disklist_one): Print correct starttime.
347 * server-src/diskfile.c: Set start_t to starttime.
348 * server-src/diskfile.h (disk_t): Add starttime.
349 * common-src/conffile.c (conf_print): Add a parameter if we want
350 CONFTYPE_STRING enclosed in ".
351 * server-src/planner.c: Use getconf_int to get etimeout value.
352 * common-src/conffile.c (CNF_CTIMEOUT, CNF_DTIMEOUT, CNF_ETIMEOUT):
353 They are of type CONFTYPE_INT
354 (CONFTYPE_TIME are for value parsed as "hhmm"")
355 * common-src/conffile.c (getconf_byname): Use conf_print().
356 * common-src/conffile.h: Add comment.
357 * server-src/amcheck.c, server-src/dumper.c, server-src/planner.c:
358 Use getconf_int to get timeout value.
360 2006-11-01 Jean-Louis Martineau <martineau@zmanda.com>
361 * changer-src/scsi-changer-driver.c: Add Tandberg SLR100,
363 * changer-src/sense.c: Add Tandberg SLR100 Tape Drive "SLR100".
365 2006-11-01 Jean-Louis Martineau <martineau@zmanda.com>
366 * common-src/amanda.h: Define dbrename if !DEBUG_CODE.
367 * restore-src/amidxtaped.c: Declare i if !DEBUG_CODE.
369 2006-10-25 Jean-Louis Martineau <martineau@zmanda.com>
370 * server-src/amtape.c: Use parse_conf instead of parse_server_conf.
371 * server-src/diskfile.c: Correct hostname allocation.
373 2006-10-25 Jean-Louis Martineau <martineau@zmanda.com>
374 Patch by Jay Fenlason
375 * common-src/rsh-security.c: Fix.
377 2006-10-24 Jean-Louis Martineau <martineau@zmanda.com>
378 * common-src/conffile.c (get_config_options): Build and argv of the
380 * common-src/conffile.h (get_config_options): Prototype.
381 * server-src/driverio.c: exec dumper/chunker/driver with the argv from
383 * server-src/amtape.c: Accept -o argument.
384 * man/xml-source/amtape.8.xml: Document it.
386 2006-10-24 Jean-Louis Martineau <martineau@zmanda.com>
387 * server-src/taper.c: Fix allocation problem on tapedev.
389 2006-10-20 Jean-Louis Martineau <martineau@zmanda.com>
390 * server-src/taper.c (free_split_buffer): Correct free.
392 2006-10-19 Jean-Louis Martineau <martineau@zmanda.com>
393 * man/xml-source/amanda.conf.5.xml: Fix formating.
395 2006-10-19 Jean-Louis Martineau <martineau@zmanda.com>
396 * client-src/calcsize.c: Quote amname.
398 2006-10-16 Jean-Louis Martineau <martineau@zmanda.com>
399 * common-src/dgram.c (dgram_cat),
400 common-src/packet.c (pkt_init, pkt_cat): Works correctly with
401 vsnprintf returning -1.
403 2006-10-11 Jean-Louis Martineau <martineau@zmanda.com>
404 * server-src/planner.c: Improve message for dump larger than available
405 tape space if runtapes > 1 and splitsize == 0.
407 2006-10-10 Jean-Louis Martineau <martineau@zmanda.com>
408 * server-src/driver.c (wait_children): Don't crash if dumper->chunker
411 2006-10-04 Jean-Louis Martineau <martineau@zmanda.com>
412 * amandad-src/amandad.c: Call security_recvpkt() on A_SENDNACK
414 * common-src/security-util.c: Improve message.
416 2006-10-03 Jean-Louis Martineau <martineau@zmanda.com>
417 * server-src/amcleanupdisk.c: Accept -o arguments.
418 * server-src/amcleanup.sh.in: Add missing 'shift' for non-linux system.
421 2006-10-03 Jean-Louis Martineau <martineau@zmanda.com>
422 * server-src/amoverview.pl.in: Fix parsing of time field from amadmin.
424 2006-10-03 Jean-Louis Martineau <martineau@zmanda.com>
425 * restore-src/amidxtaped.c, restore-src/restore.c,
426 server-src/amcheck.c, server-src/amflush.c,
427 server-src/amlabel.c, server-src/taper.c,
428 server-src/taperscan.c: Check for CNF_TAPEDEV == NULL.
430 2006-10-03 Jean-Louis Martineau <martineau@zmanda.com>
431 * server-src/conffile.c: Don't set CNF_TAPEDEV to DEFAULT_TAPE_DEVICE.
432 * configure.in: Don't set DEFAULT_TAPE_DEVICE.
434 2006-09-29 Jean-Louis Martineau <martineau@zmanda.com>
435 * common-src/bsdtcp-security.c: Add logging on error.
437 2006-09-29 Jean-Louis Martineau <martineau@zmanda.com>
438 * server-src/amoverview.pl.in: Use shellwords instead of quotewords,
439 don't add date for disk not in the disklist.
441 2006-09-28 Jean-Louis Martineau <martineau@zmanda.com>
442 * common-src/bsd-security.c: Fix %hd printf argument format.
443 * common-src/security-util.c: Fix %hd printf argument format.
445 2006-09-27 Jean-Louis Martineau <martineau@zmanda.com>
446 * Amanda 2.5.1p1 released.
447 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1p1).
448 * NEWS: Update for 2.5.1p1
450 2006-09-27 Jean-Louis Martineau <martineau@zmanda.com>
451 * restore-src/restore.c: Improve debugging.
452 * server-src/changer.c: Make sure to dup the fd out of the 0..2 range.
454 2006-09-27 Jean-Louis Martineau <martineau@zmanda.com>
455 * restore-src/amfetchdump.c: Pass new prompt_in parameter to
457 * restore-src/restore.c (search_tapes, load_manual_tape): New prompt_in
459 * restore-src/restore.h (search_tapes): New prompt_in parameter.
460 * restore-src/amidxtaped.c: Set new 'FILE *' instead of reusing stdin
462 * server-src/amindexd.c: Set new 'FILE *' instead of reusing stdin
465 2006-09-27 Jean-Louis Martineau <martineau@zmanda.com>
466 Patch by Orion Poplawski <orion@cora.nwra.com>
467 * server-src/planner.c: Add a skip_quoted_line() on error.
469 2006-09-23 Jean-Louis Martineau <martineau@zmanda.com>
470 * server-src/amstatus.pl.in: Fix parsing of 'taper: wrote label' line.
471 * server-src/amtoc.pl.in: Fix parsing of 'START taper' line.
473 2006-09-22 Jean-Louis Martineau <martineau@zmanda.com>
474 Patch by William Jojo
475 * client-src/sendsize.c: Fix #endif for AIX.
477 2006-09-22 Jean-Louis Martineau <martineau@zmanda.com>
478 * common-src/packet.c: Fix use of arglist_start/arglist_end.
479 * server-src/amindexd.c: Fix use of vsnprintf (for IRIX).
480 * server-src/logfile.c: Fix use of arglist_start/arglist_end.
482 2006-09-21 Jean-Louis Martineau <martineau@zmanda.com>
483 * server-src/amcheck.c: Don't assert if holding use is set to 0.
485 2006-09-21 Jean-Louis Martineau <martineau@zmanda.com>
486 * common-src/util.c: Declare keytable.
487 * common-src/util.h: Declare keytable as extern.
489 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
490 * contrib/sst: Removed
491 * Makefile.am (EXTRA_DIST): Remove sst files.
493 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
494 * server-src/find.c (search_logfile): Count 'PARTIAL taper line'.
496 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
498 * server-src/amcheck.c: Print "tapelist" instead of "tapefile".
500 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
501 * common-src/dgram.c (dgram_bind): Remove unused variables.
503 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
504 * common-src/dgram.c (dgram_bind): Don't set SO_REUSEADDR on socket.
506 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
507 * common-src/util.c (connect_port): Make EHOSTUNREACH and ENETUNREACH
510 2006-09-18 Jean-Louis Martineau <martineau@zmanda.com>
511 * common-src/util.c(dump_sockaddr): Convert from network to machine
512 bytes order before printing.
513 * common-src/dgram.c (dgram_recv): Print the fromaddr.
515 2006-09-15 Jean-Louis Martineau <martineau@zmanda.com>
516 * amandad-src/amandad.c: Correct order of close/dup.
518 2006-09-12 Jean-Louis Martineau <martineau@zmanda.com>
519 * common-src/bsdtcp-security.c: Use AMANDA_SERVICE_NAME.
521 2006-09-12 Jean-Louis Martineau <martineau@zmanda.com>
522 * server-src/amstatus.pl.in: Check that $dumpers_active is defined.
524 2006-09-12 Jean-Louis Martineau <martineau@zmanda.com>
525 * common-src/util.c (conftoken_getc): Return an int.
527 2006-09-11 Jean-Louis Martineau <martineau@zmanda.com>
528 * client-src/sendbackup-dump.c: Works if rundump is not used.
530 2006-09-05 Jean-Louis Martineau <martineau@zmanda.com>
531 * Amanda 2.5.1 released.
532 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1).
533 * NEWS: Change in amanda-2.5.1
535 2006-08-30 Jean-Louis Martineau <martineau@zmanda.com>
536 * server-src/dumper.c: Typo in error message.
538 2006-08-29 Jean-Louis Martineau <martineau@zmanda.com>
539 * client-src/selfcheck.c: Print error message to stdout before
542 2006-08-28 Jean-Louis Martineau <martineau@zmanda.com>
543 * server-src/dumper.c (log_msgout): Seek to begining of file.
545 2006-08-28 Jean-Louis Martineau <martineau@zmanda.com>
546 * server-src/reporter.c: Report if a dump was successfully retried.
548 2006-08-28 Jean-Louis Martineau <martineau@zmanda.com>
549 * server-src/amstatus.pl.in: Correct size for retried dump.
551 2006-08-25 Jean-Louis Martineau <martineau@zmanda.com>
552 * client-src/runtar.c: Check that strcmp(argv[3], "--create") == 0.
554 2006-08-24 Jean-Louis Martineau <martineau@zmanda.com>
555 * common-src/statfs.c (scale): Macro replaced by a function.
557 2006-08-24 Jean-Louis Martineau <martineau@zmanda.com>
558 * server-src/chunker.c: Use STREAM_BUFSIZE for stream_accept.
559 * server-src/taper.c: Use STREAM_BUFSIZE for stream_accept.
561 2006-08-24 Maitreyee Karmarkar <maitreyee.zmanda.com>
562 * man/xml-source/amcheck.8.xml: amcheck xml man page change
564 2006-08-23 Kevin Till <ktill@zmanda.com>
565 * server-src/driver.c: fix typo
567 2006-08-23 Jean-Louis Martineau <martineau@zmanda.com>
568 * server-src/driver.c (dumper_result): Decrement pendings_aborts.
569 * server-src/driver.c (handle_dumper_result): Don't send duper result
570 to chunker if we aborted it.
571 * server-src/driverio.c (dumper_cmd, chunker_cmd): Don't close the fd
573 * server-src/dumper.c: Accept ABORT command.
575 2006-08-23 Jean-Louis Martineau <martineau@zmanda.com>
576 * restore-src/restore.c (restore): Set bytes_read to the return value
579 2006-08-22 Jean-Louis Martineau <martineau@zmanda.com>
580 * tape-src/output-tape.c: Works if EOVERFLOW is not defined.
582 2006-08-21 Jean-Louis Martineau <martineau@zmanda.com>
583 * amandad-src/amandad.c, common-src/rsh-security.c,
584 common-src/ssh-security.c, restore-src/restore.c,
585 server-src/changer.c, server-src/dumper.c: Fix sentinel warning.
587 2006-08-21 Jean-Louis Martineau <martineau@zmanda.com>
588 * example/amanda.conf.in: Typo.
590 2006-08-21 Jean-Louis Martineau <martineau@zmanda.com>
591 * server-src/driverio.c: Fix bogus "(unsigned long)-1".
593 2006-08-21 Jean-Louis Martineau <martineau@zmanda.com>
594 * server-src/driver.c (start_some_dumps): Remove bogus free_assignedhd.
596 2006-08-21 Maitreyee Karmarkar <maitreyee.zmanda.com>
597 * server-src/amcheck.c: Check specific clients
598 * man/amcheck.8: add the multiple client check format
600 2006-08-18 Ian Turner <ian@zmanda.com>
601 * tape-src/amtapetype.c: Don't crash on exit
603 2006-08-17 Paddy Sreenivasan <paddy@zmanda.com>
604 * server-src/driverio.c:
605 * server-src/changer.c:
606 * restore-src/amfetchdump.c:
607 * recover-src/extract_list.c:
608 * oldrecover-src/extract_list.c:
610 * common-src/stream.c:
612 * common-src/dgram.c: Fix warnings
614 2006-08-17 Kevin Till <ktill@zmanda.com>
615 * common-src/stream.c: Loop 5 times (ntries > 5) on select error
617 2006-08-14 Paddy Sreenivasan <paddy@zmanda.com>
618 * client-src/sendsize.c: Fix warning
619 * server-src/reporter.c: Fix warnings
621 2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
622 * Amanda 2.5.1b2 released.
623 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1b2).
625 2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
626 * server-src/driver.c (find_diskspace): Make sure size > 0.
628 2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
629 * server-src/planner.c: Don't check new disk.
631 2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
632 * server-src/planner.c: Always log if full size estimate is larger
633 than the available tape space.
635 2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
636 * server-src/planner.c: Always log if the latest full dump will be
639 2006-07-27 Jean-Louis Martineau <martineau@zmanda.com>
640 * common-src/clock.c (timesub): Don't make a negative time.
642 2006-07-27 Jean-Louis Martineau <martineau@zmanda.com>
643 * man/xml-source/amanda.conf.5.xml: Tell which file are loaded.
644 * man/xml-source/amanda-client.conf.5.xml: Ditto.
646 2006-07-26 Jean-Louis Martineau <martineau@zmanda.com>
649 2006-07-26 Jean-Louis Martineau <martineau@zmanda.com>
650 * common-src/util.h (CONFTYPE_HOLDING): New conftype.
651 * common-src/util.c (conf_init_holding, conf_set_holding,
652 get_conftype_hold): New fonction.
653 * example/amanda.conf.in: Example of new holdingdisk value.
654 * man/xml-source/amanda.8.xml: Example.
655 * man/xml-source/amanda.conf.5.xml: Document it.
656 * server-src/amadmin.c (disklist_one): Print holdingdisk value.
657 * server-src/conffile.c: Parse new CONF_HOLDING type.
658 * server-src/conffile.h (dumptype_get_to_holdingdisk): Change macro.
659 * server-src/diskfile.c (parse_diskline): dumptype_get_to_holdingdisk.
660 * server-src/driver.c: Use new CONFTYPE_HOLDING value.
662 2006-07-26 Jean-Louis Martineau <martineau@zmanda.com>
663 * client-src/selfcheck.c: Fix bug found by coverity.
664 * common-src/debug.c: Fix bug found by coverity.
666 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
667 * server-src/amflush.c: Typo.
669 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
670 * server-src/amflush.c: Correct test for driver_stream.
672 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
673 * client-src/clientconf.c: Default CLN_AMANDATES to /etc/amandates.
674 * common-src/util.c (conf_init_size): Type is CONFTYPE_SIZE.
675 * server-src/conffile.c (getconf_taperalgo): New function.
676 * server-src/conffile.h (getconf_taperalgo): Prototype.
677 * server-src/driver.c: Use getconf_taperalgo.
679 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
680 * client-src/clientconf.c (client_getconf_boolean): New function.
681 * client-src/clientconf.h (client_getconf_boolean): Prototype.
682 * server-src/conffile.c (getconf_boolean): New function.
683 * server-src/conffile.h (getconf_boolean): Prototype.
684 * restore-src/amidxtaped.c: Use getconf_boolean.
685 * server-src/amflush.c: Use getconf_boolean.
686 * server-src/planner.c: Use getconf_boolean.
688 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
689 * server-src/getconf.c: Don't print BUGGY.
690 * changer-src/chg-chio.pl.in: Don't parse BUGGY.
691 * changer-src/chg-iomega.pl.in: Don't parse BUGGY.
692 * changer-src/chg-zd-mtx.sh.in: Don't parse BUGGY.
693 * man/xml-source/amgetconf.8.xml: Don't parse BUGGY.
694 * server-src/amverifyrun.sh.in: Don't parse BUGGY.
695 * server-src/amverify.sh.in: Don't parse BUGGY.
697 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
698 * restore-src/restore.c: Cleanup.
699 * restore-src/amrestore.c: Don't fsf if the last read return 0.
701 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
702 * client-src/selfcheck.c: Fix bug found by klocwork.
703 * common-src/rsh-security.c: Fix bug found by klocwork.
704 * common-src/ssh-security.c: Fix bug found by klocwork.
705 * server-src/planner.c: Fix bug found by klocwork.
707 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
708 * tape-src/output-tape.c (tape_tape_open): mt is declared inside #ifdef.
710 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
711 * server-src/amcheck.c: Fix quoting.
713 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
714 * client-src/clientconf.c: client_getconf* validate the type.
715 * common-src/util.c (get_conftype_*): New function.
716 * common-src/util.h (get_conftype_*): Prototype.
717 * server-src/conffile.c: getconf* validate the type.
718 * server-src/conffile.h: Use get_conftype_* function.
720 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
721 * client-src/clientconf.c: New AMANDATES client config option.
722 * client-src/clientconf.h: New AMANDATES client config option.
723 * client-src/amandates.c: Use AMANDATES.
724 * client-src/amandates.h: Use AMANDATES.
725 * client-src/selfcheck.c: Use AMANDATES.
726 * client-src/sendbackup-gnutar.c: Use AMANDATES.
727 * client-src/sendsize.c:: Use AMANDATES.
728 * common-src/util.h : New CONF_AMANDATES.
729 * man/xml-source/amanda-client.conf.5.xml: Document it.
731 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
732 * client-src/clientconf.c: New GNUTAR_LIST_DIR client config option.
733 * client-src/clientconf.h: New GNUTAR_LIST_DIR client config option.
734 * client-src/selfcheck.c: Use GNUTAR_LIST_DIR.
735 * client-src/sendbackup-gnutar.c: Use GNUTAR_LIST_DIR.
736 * client-src/sendsize.c: Use GNUTAR_LIST_DIR.
737 * common-src/util.h: New CONF_GNUTAR_LIST_DIR.
738 * man/xml-source/amanda-client.conf.5.xml: Document it.
740 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
741 * client-src/calcsize.c, client-src/killpgrp.c,
742 client-src/rundump.c, client-src/runtar.c,
743 client-src/selfcheck.c, client-src/sendbackup.c,
744 client-src/sendsize.c, common-src/amanda.h,
745 common-src/debug.c, oldrecover-src/amrecover.c,
746 recover-src/amrecover.c, restore-src/amfetchdump.c,
747 restore-src/amidxtaped.c, server-src/amadmin.c,
748 server-src/amcheck.c, server-src/amcleanupdisk.c,
749 server-src/amflush.c, server-src/amindexd.c,
750 server-src/amlabel.c, server-src/amlogroll.c,
751 server-src/amtape.c, server-src/amtrmidx.c,
752 server-src/amtrmlog.c, server-src/chunker.c,
753 server-src/driver.c, server-src/dumper.c,
754 server-src/getconf.c, server-src/planner.c,
755 server-src/reporter.c, server-src/taper.c: dbrename ot the config dir.
757 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
758 * common-src/amanda.h: Define DBG_SUBDIR_SERVER, DBG_SUBDIR_CLIENT
759 and DBG_SUBDIR_CLIENT.
760 * amandad-src/amandad.c, changer-src/chg-scsi.c,
761 changer-src/chg-scsi-chio.c, client-src/calcsize.c,
762 client-src/killpgrp.c, client-src/rundump.c, client-src/runtar.c,
763 client-src/selfcheck.c, client-src/sendbackup.c,
764 client-src/sendsize.c,
765 oldrecover-src/amrecover.c, recover-src/amrecover.c,
766 restore-src/amfetchdump.c, restore-src/amidxtaped.c,
767 restore-src/amrestore.c, server-src/amadmin.c,
768 server-src/amcheck.c, server-src/amcleanupdisk.c,
769 server-src/amflush.c, server-src/amindexd.c,
770 server-src/amlabel.c, server-src/amlogroll.c,
771 server-src/amtape.c, server-src/amtrmidx.c,
772 server-src/amtrmlog.c, server-src/chunker.c,
773 server-src/diskfile.c, server-src/driver.c,
774 server-src/dumper.c, server-src/getconf.c,
775 server-src/infofile.c, server-src/planner.c,
776 server-src/reporter.c (dbopen): Use DBG_SUBDIR_SERVER,
777 DBG_SUBDIR_CLIENT or DBG_SUBDIR_CLIENT.
779 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
780 * client-src/calcsize.c: Get config on argument.
781 * client-src/killpgrp.c: Get config on argument.
782 * client-src/rundump.c: Get config on argument.
783 * client-src/runtar.c: Get config on argument.
784 * client-src/sendbackup.c: Call program with config as argument.
785 * client-src/sendbackup-dump.c: Call program with config as argument.
786 * client-src/sendbackup-gnutar.c: Call program with config as argument.
787 * client-src/sendbackup.h: Add global g_options.
788 * client-src/sendsize.c: Call program with config as argument.
790 2006-07-23 Jean-Louis Martineau <martineau@zmanda.com>
791 * client-src/sendbackup-gnutar.c: Fix bug found by splint.
792 * client-src/sendsize.c: Fix bug found by splint.
794 2006-07-22 Jean-Louis Martineau <martineau@zmanda.com>
795 * server-src/taper.c: Fix amfree(mem_splitbuf).
797 2006-07-22 Jean-Louis Martineau <martineau@zmanda.com>
798 * server-src/diskfile.c, server-src/taper.c: Fix memory leak found
801 2006-07-22 Jean-Louis Martineau <martineau@zmanda.com>
802 * server-src/taper.c: Fix split_buffer allocation problem.
804 2006-07-22 Jean-Louis Martineau <martineau@zmanda.com>
805 * client-src/selfcheck.c, common-src/security-util.c,
806 restore-src/restore.c, server-src/diskfile.c: Fix memory leak found
809 2006-07-20 Jean-Louis Martineau <martineau@zmanda.com>
810 * changer-src/chg-scsi.c, changer-src/scsi-changer-driver.c,
811 client-src/amandates.c, client-src/calcsize.c,
812 client-src/selfcheck.c, client-src/sendbackup.c,
813 client-src/sendsize.c, common-src/security-util.c,
814 recover-src/extract_list.c, restore-src/restore.c,
815 server-src/amindexd.c, server-src/diskfile.c,
816 server-src/driver.c, server-src/reporter.c,
817 server-src/tapefile.c, server-src/taper.c: Fix memory leak found
820 2006-07-19 Jean-Louis Martineau <martineau@zmanda.com>
821 * client-src/selfcheck.c : Read client config file.
822 * client-src/sendbackup.c: Read client config file.
823 * client-src/sendsize.c : Read client config file.
825 2006-07-19 Jean-Louis Martineau <martineau@zmanda.com>
826 * amandad-src/amandad.h (g_option_t): Add 'char *config';
827 * amandad-src/amandad_util.c (parse_g_options): Parse 'config='.
828 * common-src/amfeatures.h (fe_req_options_config): New amfeature.
829 * common-src/amfeatures.c (am_init_feature_set):
830 set fe_req_options_config.
831 * server-src/amcheck.c: Send 'config=' in global options.
832 * server-src/dumper.c: Send 'config=' in global options.
833 * server-src/planner.c: Send 'config=' in global options.
835 2006-07-19 Jean-Louis Martineau <martineau@zmanda.com>
836 * amandad-src/amandad.c: Call dbopen("amandad").
837 * changer-src/chg-scsi.c: Call dbopen("server").
838 * changer-src/chg-scsi-chio.c: Call dbopen("server").
839 * client-src/calcsize.c: Call dbopen("client").
840 * client-src/getfsent.c: Call dbopen(NULL).
841 * client-src/killpgrp.c: Call dbopen("client").
842 * client-src/rundump.c: Call dbopen("client").
843 * client-src/runstar.c: Call dbopen("client").
844 * client-src/runtar.c: Call dbopen("client").
845 * client-src/selfcheck.c: Call dbopen("client").
846 * client-src/sendbackup.c: Call dbopen("client").
847 * client-src/sendsize.c: Call dbopen("client").
848 * common-src/amanda.h (dbopen, debug_open): Take a 'char * subdir'
850 * common-src/bsd-security.c: Call dbopen(NULL).
851 * common-src/debug.c (debug_open): Call debug_setup_1(subdir)
852 * common-src/debug.c (debug_setup_1): Take a subdir argument,
854 * common-src/file.c: Call dbopen(NULL).
855 * common-src/statfs.c: Call dbopen(NULL).
856 * common-src/token.c: Call dbopen(NULL).
857 * oldrecover-src/amrecover.c: Call dbopen("client").
858 * recover-src/amrecover.c: Call dbopen("client").
859 * restore-src/amfetchdump.c: Call dbopen("server").
860 * restore-src/amidxtaped.c: Call dbopen("server").
861 * restore-src/amrestore.c: Call dbopen("server").
862 * server-src/amadmin.c: Call dbopen("server").
863 * server-src/amcheck.c: Call dbopen("server").
864 * server-src/amcleanupdisk.c: Call dbopen("server").
865 * server-src/amflush.c: Call dbopen("server").
866 * server-src/amindexd.c: Call dbopen("server").
867 * server-src/amlabel.c: Call dbopen("server").
868 * server-src/amlogroll.c: Call dbopen("server").
869 * server-src/amtape.c: Call dbopen("server").
870 * server-src/amtrmidx.c: Call dbopen("server").
871 * server-src/amtrmlog.c: Call dbopen("server").
872 * server-src/chunker.c: Call dbopen("server").
873 * server-src/diskfile.c: Call dbopen("server").
874 * server-src/driver.c: Call dbopen("server").
875 * server-src/dumper.c: Call dbopen("server").
876 * server-src/getconf.c: Call dbopen("server").
877 * server-src/infofile.c: Call dbopen("server").
878 * server-src/planner.c: Call dbopen("server").
879 * server-src/reporter.c: Call dbopen("server").
880 * server-src/taper.c: Call dbopen("server").
882 2006-07-17 Jean-Louis Martineau <martineau@zmanda.com>
883 * server-src/chunker.c: Fix rt computation.
884 * server-src/dumper.c: Fix dumptime computation.
885 * server-src/taper.c: Fix rt computation.
887 2006-07-17 Jean-Louis Martineau <martineau@zmanda.com>
888 * NEWS: Klocwork defects fixed.
889 * NEWS: Coverity defect fixed.
891 2006-07-14 Jean-Louis Martineau <martineau@zmanda.com>
892 * Makefile.am (pkgdata_DATA): add ReleaseNotes.
894 2006-07-14 Jean-Louis Martineau <martineau@zmanda.com>
895 * Amanda 2.5.1b1 released.
896 * configure.in: Remove -Werror.
898 2006-07-14 Jean-Louis Martineau <martineau@zmanda.com>
899 * client-src/sendsize.c: Use read/write to copy tar snapshot file.
900 * client-src/sendbackup-gnutar.c: Ditto.
902 2006-07-13 Jean-Louis Martineau <martineau@zmanda.com>
903 * common-src/stream.c (stream_accept): Loop 5 times on select error.
905 2006-07-13 Jean-Louis Martineau <martineau@zmanda.com>
906 * server-src/dumper.c: The datafd is not scheduled at start,
908 * common-src/stream.c (tcpm_recv_token): Set error_msg.
910 2006-07-12 Jean-Louis Martineau <martineau@zmanda.com>
911 * common-src/util.c (free_new_argv): Move out of
912 #ifndef HAVE_LIBREADLINE.
914 2006-07-12 Jean-Louis Martineau <martineau@zmanda.com>
915 * server-src/amadmin.c (tape): Report the number of new tapes instead
916 of "a new tape" for each tapes.
917 * server-src/reporter.c (output_tapeinfo): Ditto.
919 2006-07-12 Jean-Louis Martineau <martineau@zmanda.com>
920 * server-src/taperscan.c (changer_taper_scan): Report error from
923 2006-07-11 John Franks jrfranks@zmanda.com
924 * configure.in: Fix multiple definition of readline during cygwin
927 2006-07-11 Paddy Sreenivasan <paddy@zmanda.com>
928 * common-src/pipespawn.c : Fixed compiler warning
930 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
931 * man/xml-source/amtapetype.8.xml: No default value for -e.
933 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
934 * common-src/util.c: Don't conftoken_ungetc(ch) if ch == EOF.
935 * server-src/reporter.c: Check tp == NULL.
937 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
938 * tape-src/tapetype.c: Make -e an needed argument.
939 * man/xml-source/amtapetype.8.xml: Update man page.
941 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
942 * changer-src/chg-zd-mtx.sh.in: Remove .conf from changerfile.
944 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
945 * recover-src/extract_list.c (check_file_overwrite): Renamed from
947 * recover-src/extract_list.c (check_file_overwrite): Do the path check
948 in the correct order (from left ro right).
950 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
951 * common-src/file.c (debug_agets): Remove call to dbprintf.
953 2006-07-10 Jean-Louis Martineau <martineau@zmanda.com>
954 * recover-src/extract_list.c (add_to_unlink_list, do_unlink_list,
955 free_unlink_list): New function to manage unlink_list.
956 * recover-src/extract_list.c (check_file_overwite): Check all
957 component of an EXTRACT_LIST_ITEM, if a component is not a
958 directory, add it to the unlink_list.
959 * recover-src/extract_list.c (extract_files): Call do_unlink_list and
960 free_unlink_list, rename buf to cwd.
962 2006-07-10 Jean-Louis Martineau <martineau@zmanda.com>
963 * common-src/pipespawn.c (pipespawnv_passwd): Add prototype.
964 * common-src/pipespawn.c (pipespawn, pipespawn): Remove 2 NULL
965 parameters to the pipespawnv_passwd call.
966 * common-src/pipespawn.c (pipespawnv_passwd): Remove passwdvar and
967 passwdfd parameters, add passwdvar and local variable.
968 Don't use memcpy to set passwdfd.
969 * common-src/pipespawn.h (pipespawnv_passwd): Remove prototype.
971 2006-07-07 Jean-Louis Martineau <martineau@zmanda.com>
972 * common-src/security-util.c (stream_read_sync_callback): Remove bogus
975 2006-07-07 Kevin Till <ktill@zmanda.com>
976 * common-src/bsd-security.c: use STREAM_BUFSIZE instead of -1
977 * common-src/bsdtcp-security.c: ditto
978 * common-src/krb4-security.c: ditto
979 * common-src/security-util.c: ditto
980 * restore-src/amidxtaped.c: ditto
982 2006-07-07 Jean-Louis Martineau <martineau@zmanda.com>
983 * common-src/util.c (get_conftoken): Remove duplicate conftoken_ungetc.
985 2006-07-07 Jean-Louis Martineau <martineau@zmanda.com>
986 * common-src/security-util.c: Validate and report big packet size.
988 2006-07-07 Jean-Louis Martineau <martineau@zmanda.com>
989 * oldrecover-src/Makefile.am: Typo.
991 2006-07-07 Jean-Louis Martineau <martineau@zmanda.com>
992 * client-src/sendsize.c: Typo.
994 2006-07-06 John Franks <jrfranks@zmanda.com>
995 * common-src/genversion.c:
996 Remove reference to error(). This causes a compile
999 2006-07-06 Jean-Louis Martineau <martineau@zmanda.com>
1000 Klocwork bug 128, 170, 182, 470, 517
1001 * changer-src/chg-scsi.c: Validate drivenum, check count_file.
1002 * client-src/sendsize.c: Validate level.
1003 * oldrecover-src/amrecover.c: Use tm.
1004 * recover-src/amrecover.c: Use tm.
1005 * server-src/infofile.c (delete_txinfofile): Use local variable.
1007 2006-07-06 Jean-Louis Martineau <martineau@zmanda.com>
1008 * server-src/taper.c: Check for cur_filename.
1009 * tape-src/output-file.c: Use vstrextend.
1010 * tape-src/tapeio.c: Check for r.
1012 2006-07-06 Jean-Louis Martineau <martineau@zmanda.com>
1014 * oldrecover-src/extract_list.c (clean_tape_list): Cleanup for splint.
1015 * recover-src/extract_list.c (clean_tape_list): Cleanup for splint.
1016 * server-src/amindexd.c: Add a /*@i@*/.
1017 * server-src/conffile.c: Cast to off_t for conf_init_am64.
1018 * server-src/driver.c: Cast to unsigned to print pid_t.
1019 * server-src/find.c (strip_failed_chunks): Cleanup for splint.
1021 2006-07-06 Jean-Louis Martineau <martineau@zmanda.com>
1023 * server-src/amindexd.c: Free their_feature_string.
1025 * restore-src/amrestore.c: Test maximum value for rst_flags->blocksize.
1027 * common-src/genversion.c: Check NULL result of malloc.
1029 * client-src/selfcheck.c: Check NULL result of fdopen.
1030 Klocwork bug 539, 542
1031 * oldrecover-src/extract_list.c: Fix pfn2->next = fn2.
1032 * recover-src/extract_list.c : Ditto
1033 Klocwork bug 268, 272, 543, 544
1034 * oldrecover-src/extract_list.c: Check for cmd != NULL.
1035 * recover-src/extract_list.c : Ditto
1037 * restore-src/amidxtaped.c: Check for argv != NULL.
1039 * changer-src/scsi-linux.c: Make buffer one larger.
1041 * changer-src/scsi-changer-driver.c (OpenDevice): Validate parameters.
1043 * changer-src/chg-scsi.c (clean_tape): Check usagetime != NULL.
1045 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1047 * regex-src/regcomp.c (allocset): Check for p->g->sets
1050 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1051 Klocwork bug 169, 170, 181
1052 * changer-src/chg-scsi.c: Validate input.
1054 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1056 * common-src/file.c (rmpdir): Check for p == NULL.
1058 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1060 * common-src/dgram.c (dgram_send_addr): Set addr_save earlier.
1062 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1064 * server-src/taper.c (file_reader_side): Maximum value for
1067 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1069 * recover-src/display_commands.c: Check for cmd != NULL.
1070 * oldrecover-src/display_commands.c: Ditto
1072 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1074 * restore-src/restore.c (restore): Check for tmp_filename.
1076 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1078 * server-src/driver.c: Check for h and activehd >= 0.
1080 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1081 Klocwork bug 338 and 390
1082 * server-src/reporter.c (handle_partial, handle_strange): Check result
1085 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1087 * client-src/selfcheck.c (check_options, check_disk): Check for
1090 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1092 * client-src/clientconf.c (add_client_conf): Check result of realloc.
1094 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1095 Klocwork bug 447 and 449
1096 * restore-src/restore.c: Check for valid sendbackup request.
1098 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1100 * restore-src/restore.c (restore): Set statinfo.st_size.
1102 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1104 * common-src/file.c (sanitise_filename): Never return NULL.
1106 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1107 * amandad-src/Makefile.am: Remove tape-src and libamtape.
1108 * client-src/Makefile.am: Remove tape-src and libamtape.
1109 * man/Makefile.am: Cleanup.
1110 * oldrecover-src/Makefile.am: Remove tape-src and libamtape.
1111 * recover-src/Makefile.am: Remove tape-src and libamtape.
1113 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1115 * server-src/driver.c (handle_dumper_result): Check for
1116 dumper->ev_read != NULL.
1118 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1120 * restore-src/restore.c (search_a_tape): Check for desired_tape == NULL.
1122 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1123 Klocwork bug 556 and 557
1124 * common-src/security-util.c (bsd_recv_security_ok): Check result of
1125 strtok, check service == NULL.
1127 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1129 * client-src/calcsize.c (calc_load_file): Return NULL if fopen fail.
1130 * client-src/calcsize.c (main): check NULL result from calc_load_file.
1132 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1134 * server-src/amflush.c (main): Check return of lookup_disk.
1136 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1137 Klocwork bug 62, 85, 459, 463, 466, 469, 555, 559
1138 * common-src/security-util.c: Check result of fdopen.
1139 * client-src/sendsize.c : Ditto.
1140 * server-src/amcheck.c : Ditto.
1141 * server-src/amflush.c : Ditto.
1143 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1144 Klocwork bug 159, 375, 377, 379, 508, 509, 513, 519
1145 * common-src/bsd-security.c: Replace malloc by alloc.
1146 * common-src/bsdudp-security.c: Ditto
1147 * common-src/genversion.c: Ditto
1148 * recover-src/amrecover.c: Ditto
1149 * restore-src/amidxtaped.c: Ditto
1150 * server-src/reporter.c: Ditto
1152 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1153 Klocwork bug 562 and 475
1154 * recover-src/set_commands.c (cd_dir): Check result of rindex.
1155 * oldrecover-src/set_commands.c (cd_dir): ditto.
1157 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1159 * restore-src/restore.c (load_manual_tape): Alloc space for cur_tapedev.
1161 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1163 * restore-src/restore.c (restore): Check for final_filename.
1165 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1167 * server-src/list_dir.c (add_dir_list_item): Check for cur_list->next.
1169 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1171 * server-src/amadmin.c (disklist_one): Check localtime return NULL.
1172 * server-src/amadmin.c (info_one) : Ditto.
1174 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1175 Klocwork bug 2, 83, 128, 384, 478, 504, 505, 506, 517, 566, 567
1176 * server-src/amadmin.c (seqdatestr): Check localtime return NULL.
1177 * common-src/util.c (construct_datestamp, construct_timestamp,
1179 * oldrecover-src/amrecover.c (main): Ditto.
1180 * oldrecover-src/uscan.l (ll_parse_date): Ditto.
1181 * recover-src/amrecover.c (main): Ditto.
1182 * recover-src/uscan.l (ll_parse_date): Ditto.
1183 * server-src/amflush.c (main): Ditto.
1184 * server-src/reporter.c (handle_success): Ditto.
1186 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1188 * client-src/sendsize.c (add_diskest): Check for level value.
1190 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1192 * server-src/reporter.c (nicedate): Check month value.
1194 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1196 * server-src/amadmin.c (tape): Limit nb_days to 10000.
1198 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1200 * server-src/amadmin.c (balance): Test 'later' after it is set.
1202 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1203 * common-src/alloc.c (internal_vstralloc): Don't return NULL.
1205 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
1206 * server-src/infofile.c (open_txinfofile): Use local variable.
1208 2006-06-29 Jean-Louis Martineau <martineau@zmanda.com>
1209 * restore-src/restore.c (label_of_current_slot): Close the tapefd if
1212 2006-06-29 Jean-Louis Martineau <martineau@zmanda.com>
1213 * server-src/find.c (strip_failed_chunks):
1214 - Get a **output_find as parameter.
1215 - Check the label before remove a valid chunk.
1216 - Memory management fix.
1218 2006-06-28 Jean-Louis Martineau <martineau@zmanda.com>
1219 * common-src/security-util.c: Improve message for .amandahosts.
1221 2006-06-27 Ian Turner <ian@zmanda.com>
1222 * common-src/fileheader.c: Fix a bug where spanned dumps would
1225 2006-06-27 Jean-Louis Martineau <martineau@zmanda.com>
1226 * server-src/amcheck.c: Fix test for holdingdisk negative size.
1228 2006-06-27 Jean-Louis Martineau <martineau@zmanda.com>
1229 * configure.in: Don't set DEFAULT_TAPE_DEVICE if it is not set.
1230 * client-src/clientconf.c: Work DEFAULT_TAPE_DEVICE not set.
1231 * common-src/genversion.c: Work DEFAULT_TAPE_DEVICE not set.
1232 * recover-src/amrecover.c: Work DEFAULT_TAPE_DEVICE not set.
1233 * server-src/getconf.c: Work DEFAULT_TAPE_DEVICE not set.
1235 2006-06-27 Jean-Louis Martineau <martineau@zmanda.com>
1236 Patch by Paul Bijnens
1237 * server-src/amcheck.c: Check for access(hdp->diskdir, X_OK).
1239 2006-06-27 Jean-Louis Martineau <martineau@zmanda.com>
1240 * server-src/conffile.c (getconf_byname): Check for kt->keyword != NULL.
1241 * client-src/clientconf.c (client_getconf_byname): Ditto
1243 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
1244 * recover-src/extract_list.c: check_file_overwite.
1246 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
1247 * recover-src/extract_list.c: Do the cleanup of the extract list
1248 at the extraction time
1249 * oldrecover-src/extract_list.c: Ditto.
1251 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
1252 * NEWS: Add new features.
1253 * ReleasesNotes: New files.
1255 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
1256 * docs/Makefile.am (pkgdata_DATA): Add amaespipe.8.txt amcrypt.8.txt
1257 amcrypt-asym-ossl.8.txt amcrypt-ossl.8.txt amfetchdump.8.txt
1258 * docs/amaespipe.8.txt: New file.
1259 * docs/amcrypt.8.txt: New file.
1260 * docs/amcrypt-asym-ossl.8.txt: New file.
1261 * docs/amcrypt-ossl.8.txt: New file.
1262 * docs/amfetchdump.8.txt: New file.
1264 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
1265 * docs/Makefile.am (pkgdata_DATA): Add howto-auth.txt.
1266 * docs/howto-auth: Documentation on auth.
1267 * docs/*.txt: Update from xml-docs
1269 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
1270 * man/xml-source/amanda.conf.5.xml: Add notes about bsdudp and bsdtcp.
1271 * man/xml-source/amanda-client.conf.5.xml: Ditto.
1273 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
1274 * recover-src/extract_list.c (is_empty_dir): New function.
1275 * recover-src/extract_list.c: Print a warning if cwd is not empty.
1277 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
1278 * server-src/amadmin.c: Allow 'p' and 'P' in --sort argument.
1280 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
1281 * server-src/amadmin.c: Print errstr returned by match_disklist.
1282 * server-src/amcheck.c: Print errstr returned by match_disklist.
1283 * server-src/amflush.c: Print errstr returned by match_disklist.
1284 * server-src/diskfile.c (match_disklist): Return an error str.
1285 * server-src/diskfile.h (match_disklist): New prototype.
1286 * server-src/planner.c: Print errstr returned by match_disklist.
1287 * server-src/reporter.c: Accept host/disk as arguments.
1289 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
1290 * server-src/amindexd.c (uncompress_file): Set LC_ALL=C before
1293 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
1294 * server-src/driver.c (wait_children, kill_children): New function.
1295 * server-src/driver.c (wait_for_children): Use wait_children and
1297 * server-src/driver.c (main): Use wait_children.
1298 * server-src/driverio.c (taper_cmd, chunker_cmd): Close socket on QUIT
1301 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
1302 * common-src/amfeatures.c (am_init_feature_set): Set
1303 fe_amrecover_feedme_tape.
1304 * common-src/amfeatures.h (fe_amrecover_feedme_tape): New amfeatures.
1305 * common-src/fileheader.c (print_header): Fix.
1306 * recover-src/extract_list.c: Use fe_amrecover_feedme_tape.
1307 * restore-src/amfetchdump.c: Print error if get_lock == 0.
1308 * restore-src/amidxtaped.c: Call send_message if get_lock == 0.
1309 * restore-src/restore.c: Split search_tapes in 5 functions.
1310 * restore-src/restore.h (send_message): prototype.
1312 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
1313 * man/xml-source/amfetchdump.8.xml: Document -O and new -o.
1314 * restore-src/amfetchdump.c: Replace -o by -O
1316 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
1317 * client-src/clientconf.c (parse_client_conf): Fix segmentation fault.
1318 * server-src/conffile.c (parse_server_conf): Fix segmentation fault.
1320 2006-06-21 Kevin Till <ktill@zmanda.com>
1321 * changer-src/chg-juke.sh.in
1322 * changer-src/chg-manual.sh.in
1323 * changer-src/chg-mcutil.sh.in
1324 * changer-src/chg-multi.sh.in
1325 * changer-src/chg-mtx.sh.in
1326 * changer-src/chg-rait.sh.in
1327 * changer-src/chg-disk.sh.in
1328 * changer-src/chg-zd-mtx.sh.in
1329 * changer-src/chg-null.sh.in
1330 * changer-src/chg-chs.sh.in
1331 * client-src/patch-system.sh.in
1332 * amplot/amplot.sh.in
1333 * server-src/amcrypt-ossl.sh.in
1334 * server-src/amrmtape.sh.in
1335 * server-src/amcleanup.sh.in
1336 * server-src/amverifyrun.sh.in
1337 * server-src/amaespipe.sh.in
1338 * server-src/amdump.sh.in
1339 * server-src/amcrypt.sh.in
1340 * server-src/amcrypt-ossl-asym.sh.in
1341 * server-src/amcheckdb.sh.in
1342 * server-src/amfreetapes.sh.in
1343 * server-src/amverify.sh.in
1344 change /bin/sh to @SHELL@ for configure to pick up the correct
1345 shell. Sourceforge bug 1466655
1346 * man/xml-source/amcrypt-ossl-asym.8.xml: it's backup-privkey.pem
1348 2006-06-20 Kevin Till <ktill@zmanda.com>
1349 * common-src/security-util.c: ignore EINTR in net_writev
1350 patch by Jean-Louis Martineau.
1352 2006-06-20 John Franks <jrfranks@zmanda.com>
1353 * server-src/conffile.c:
1354 Remove Duplicate keyword table entries and alphabetize
1355 to make future duplicates easier to spot...
1357 * server-src/taper.c:
1358 Fix compiler warnings when no mmap function is present.
1360 2006-06-20 John Franks <jrfranks@zmanda.com>
1361 * server-src/diskfile.c:
1362 Default boolean values without parameters to yes if
1363 no value is present in configuration file. This
1364 maintains backward compatibility and is logical since
1365 a value such as "index" reads as an assertion of fact.
1367 2006-06-19 Jean-Louis Martineau <martineau@zmanda.com>
1368 * docs/wishlist.txt: Remove features done in 2.5.0/2.5.1
1370 2006-06-19 Jean-Louis Martineau <martineau@zmanda.com>
1371 * man/xml-source/amanda.conf.5.xml: amrecover_check_label and
1372 amrecover_do_fsf default to yes.
1373 * server-src/conffile (init_dumptype_defaults): DUMPTYPE_INDEX set to 1.
1374 * server-src/diskfile.c (parse_diskline): index set from
1377 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
1378 * server-src/amstatus.pl.in: Match quotes in DONE line.
1380 2006-06-16 Kevin Till <ktill@zmanda.com>
1381 * example/amanda-client.conf.in:
1382 correct DEFAULT_TAPE_SERVER/DEFAULT_SERVER
1383 * server-src/amcrypt-ossl-asym.sh.in:
1384 set RANDFILE for openssl to place entropy file.
1385 * server-src/amcrypt-ossl.sh.in: ditto
1387 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
1388 * amandad-src/amandad.c : Use strcasecmp to compare auth.
1389 * client-src/selfcheck.c : Ditto
1390 * client-src/sendbackup.c : Ditto
1391 * restore-src/amidxtaped.c: Ditto
1392 * server-src/amindexd.c : Ditto
1394 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
1395 * server-src/amindexd.c (reply, lreply, fast_lreply): Correct use
1396 of arglist_start and arglist_end..
1397 * server-src/amindexd.c (lreply_backend): Remove function.
1399 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
1400 * common-src/bsd-security.c (stream_read_callback): Send error to the
1403 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
1404 * recover-src/extract_list.c: Typo.
1405 * restore-src/restore.c: Typo.
1407 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
1408 * client-src/clientconf.c: Allow include.
1409 * client-src/clientconf.c (read_confline): Don't crash.
1410 * server-src/conffile.c (read_confline): Don't crash.
1411 * recover-src/amrecover.c: Exit if error in conf file.
1413 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
1414 * common-src/arglist.h: Typo.
1415 * recover-src/extract_list.c: handle MESSAGE from amidxtaped.
1417 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
1418 * common-src/amfeatures.c (am_init_feature_set): Set
1419 fe_amrecover_message.
1420 * common-src/amfeatures.h (am_feature_e): Add fe_amrecover_message.
1421 * common-src/arglist.h (printf_arglist_function3): Prototype.
1423 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
1424 * restore-src/restore.c (send_message): New function that send message
1425 to stderr and/or amrecover.
1426 * restore-src/restore.c: Call send_message on some error path.
1428 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
1429 * common-src/event.c (event_loop_wait, event_wait): Take an
1430 event_handle_t * as parameter.
1431 * common-src/event.h: New prototype.
1432 * common-src/bsd-security.c: Call event_wait(bs->ev_read).
1433 * common-src/krb4-security.c: Call event_wait(ks->ev_read).
1434 * common-src/krb5-security.c: Call event_wait(ks->ev_read).
1435 * common-src/security-util.c: Call event_wait(ss->ev_read).
1437 2006-06-15 Kevin Till <ktill@zmanda.com>
1438 * man/xml-source/amcrypt-ossl-asym.8.xml: it's .am_passphrase
1439 * server-src/amcrypt-ossl-asym.sh.in: export PATH
1440 * server-src/amcrypt-ossl.sh.in: export PATH
1443 2006-06-15 Jean-Louis Martineau <martineau@zmanda.com>
1444 * server-src/amcheck.c: -w doesn't change the test selection.
1445 * man/xml-source/amcheck.8.xml
1447 2006-06-15 Jean-Louis Martineau <martineau@zmanda.com>
1448 * server-src/planner.c: Log empty disklist and no DLE selected.
1450 2006-06-14 Jean-Louis Martineau <martineau@zmanda.com>
1451 * common-src/bsd-security.c: Use %u to print in_port_t data.
1452 * common-src/bsdudp-security.c: Ditto.
1454 2006-06-14 Jean-Louis Martineau <martineau@zmanda.com>
1455 * changer-src/chg-disk.sh.in: Return the number of slot in output of
1457 * changer-src/chg-zd-mtx.sh.in: Ditto.
1459 2006-06-14 Jean-Louis Martineau <martineau@zmanda.com>
1460 * changer-src/chg-zd-mtx.sh.in: Accept changerfile that already
1461 have the .conf suffix.
1463 2006-06-13 Jean-Louis Martineau <martineau@zmanda.com>
1464 * amandad-src/amandad.c (s_ackwait): Resend the REP on receive of a
1467 2006-06-13 Jean-Louis Martineau <martineau@zmanda.com>
1468 * common-src/security-util.c (bsd_recv_security_ok): Set error only
1471 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
1472 * server-src/driver.c: usetimestamps is a warning.
1474 2006-06-12 Kevin Till <ktill@zmanda.com>
1475 * common-src/security-util.c: if host is 127.0.0.1 and either
1476 localhost or localhost.domain is in .amandahost, hostmatch passes.
1477 * common-src/security-util.h: update check_user_amandahosts prototype
1479 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
1480 * amandad-src/amandad.c (process_writenetfd): Close the pipe if the
1481 security_stream is closed.
1482 * recover-src/extract_list.c: Improve message if we don't get thei
1483 FEATURE line from amidxtaped.
1485 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
1486 * recover-src/amrecover.c: Read amanda-client.conf and
1487 <conf>/amanda-client.conf.
1489 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
1490 * common-src/security-util.c, common-src/tapelist.c,
1491 restore-src/restore.c, server-src/amcheck.c, server-src/amindexd.c,
1492 server-src/amtape.c, server-src/changer.c, server-src/driver.c,
1493 server-src/planner.c, server-src/taper.c,
1494 server-src/taperscan.c: Fix memory leak.
1496 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
1497 * restore-src/restore.c: Fix Adding at end of list.
1499 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
1500 * server-src/taper.c (syncpipe_putstr): Don't crash if str is NULL.
1502 2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
1503 * server-src/holding.c (pick_datestamp): Fix reading user input.
1505 2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
1506 * recover-src/amrecover.c (sigint_handler): Call send_command only if
1509 2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
1510 * common-src/util.c (connect_port): ETIMEDOUT is a fatal error.
1512 2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
1513 * common-src/stream.c (stream_client_internal): Get errno set
1515 * server-src/driver.c (handle_chunker_result): Don't assert(0) on
1516 receive of a TRYAGAIN from a chunker, but set
1518 * server-src/dumper.c: Try gethostbyname("localhost") before calling
1519 stream_client and log appropriate message.
1521 2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
1522 * server-src/amcheck.c: Report ERROR if gethostbyname("localhost")
1525 2006-06-08 Jean-Louis Martineau <martineau@zmanda.com>
1526 * client-src/clientconf.c (add_client_conf): New function to map
1527 normal option to their
1529 * client-src/clientconf.h (add_client_conf): Prototype.
1530 * man/xml-source/amrecover.8.xml: Document -o.
1531 * recover-src/amrecover.c: Also read <config>/amanda-client.conf
1533 2006-06-08 Jean-Louis Martineau <martineau@zmanda.com>
1534 * server-src/diskfile.c (parse_diskline): Only return 0 or -1.
1536 2006-06-08 Jean-Louis Martineau <martineau@zmanda.com>
1537 * amandad-src/amandad.h (g_option_t): Add auth.
1538 * amandad-src/amandad_util.c (init_g_options): Set auth to NULL.
1539 * amandad-src/amandad_util.c (parse_g_options): Parse auth.
1540 * amandad-src/amandad_util.c (free_g_options): Free auth.
1541 * client-src/sendbackup.c: Get amandad_auth from command line and
1542 compare with REQ packet.
1543 * common-src/amfeatures.h (fe_amindexd_options_hostname,
1544 fe_amindexd_options_features,
1545 fe_amindexd_options_auth,
1546 fe_amidxtaped_options_hostname,
1547 fe_amidxtaped_options_features,
1548 fe_amidxtaped_options_auth): New amfeatures.
1549 * common-src/amfeatures.c (am_init_feature_set): Set new amfeatures.
1550 * recover-src/amrecover.c: Send auth in OPTIONS of req packet.
1551 * recover-src/extract_list.c: Send auth in OPTIONS of req packet.
1552 * restore-src/amidxtaped.c: Parse amandad_auth from command line.
1553 Get auth from OPTIONS line.
1555 * server-src/amindexd.c: Parse amandad_auth from command line.
1556 Get auth from OPTIONS line.
1559 2006-06-08 Jean-Louis Martineau <martineau@zmanda.com>
1560 * common-src/util.c(connect_port): Return -2 on ECONNREFUSED error
1563 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
1564 * amandad-src/amandad.c: exec the service with the auth as parameter.
1565 * amandad-src/amandad.c(writebuf): Do no close fd.
1566 * client-src/selfcheck.c: Read the auth for the command line and
1567 compare with the option string.
1568 * client-src/selfcheck.c(main): Do no close 0,1,2 fd.
1570 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
1571 * man/xml-source/amanda.8.xml(CONFIGURATION OVERWRITE): New section.
1572 * man/xml-source/amadmin.8.xml, man/xml-source/amcheck.8.xml,
1573 man/xml-source/amdump.8.xml, man/xml-source/amflush.8.xml,
1574 man/xml-source/amgetconf.8.xml, man/xml-source/amlabel.8.xml,
1575 man/xml-source/amreport.8.xml,
1576 man/xml-source/amrestore.8.xml: Add -o option.
1578 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
1579 * common-src/util.c(get_conftoken): Merge from zmanda.
1581 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
1582 * common-src/util.c(get_conftoken): Remove a conftoken_ungetc.
1584 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
1585 * common-src/bsd-security.c (stream_read_callback): Merge with zmanda.
1587 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
1588 * amandad-src/amandad.c(process_writenetfd): Call security_stream_read
1591 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
1592 * server-src/conffile.c (lookup_interface): Fix merge error.
1594 2006-06-07 John Franks <jrfranks@zmanda.com>
1595 * common-src/amanda.h:
1596 Fix isnormal() replacement macro to indirectly
1597 check if a floating point value is != 0.0.
1598 This prevents compiler warnings.
1600 2006-06-07 John Franks <jrfranks@zmanda.com>
1602 Put in "/* NOTREACHED */" comments after error() calls.
1603 * server-src/diskfile.c
1604 Change disktype index default to yes for backward compatibility.
1606 2006-06-06 John Franks <jrfranks@zmanda.com>
1607 * amandad-src/amandad.c common-src/bsd-security.c:
1608 Correct fix for infinite amandad loop.
1610 2006-06-06 John Franks <jrfranks@zmanda.com>
1611 * common-src/stream.c common-src/util.c:
1613 * server-src/conffile.c:
1614 Remove replicated line
1616 2006-06-06 Jean-Louis Martineau <martineau@zmanda.com>
1617 * common-src/util.c (conftoken_ungetc): Return the character.
1618 * common-src/util.c (get_conftoken): Merge to allow escape character.
1619 * common-src/util.c (read_block): Allow STRING as IDENT.
1620 * server-src/conffile.c (getconf_long, getconf_size): New function.
1621 * server-src/conffile.c: Cleanup after Merge.
1623 2006-06-06 Jean-Louis Martineau <martineau@zmanda.com>
1624 * server-src/amadmin.c, server-src/amcheck.c, server-src/amflush.c,
1625 server-src/amlabel.c, server-src/amlogroll.c, server-src/amtrmidx.c,
1626 server-src/amtrmlog.c, server-src/getconf.c,
1627 server-src/reporter.c: Usage -o
1628 * server-src/amflush.c, server-src/amlogroll.c, server-src/amtrmidx.c,
1629 server-src/amtrmlog.c, server-src/chunker.c, server-src/driver.c,
1630 server-src/dumper.c, server-src/getconf.c, server-src/planner.c,
1631 server-src/reporter.c,
1632 server-src/taper.c: Add call to report_bad_conf_arg.
1633 * server-src/conffile.c(get_comprate, get_compress): Parse CONF_END.
1635 2006-06-06 John Franks <jrfranks@zmanda.com>
1637 Increase checking level from 1 to 2 for SUN lint.
1638 * client-src/amandates.c client-src/clientconf.c
1639 common-src/security-util.c recover-src/amrecover.c
1640 recover-src/extract_list.c regex-src/regcomp.c server-src/amcheck.c
1641 server-src/amlabel.c server-src/chunker.c server-src/conffile.c
1642 server-src/conffile.h server-src/diskfile.c server-src/diskfile.h
1643 server-src/driver.c server-src/holding.c server-src/reporter.c
1644 server-src/tapefile.c server-src/taper.c tape-src/amdd.c:
1646 * common-src/util.h common-src/util.c:
1648 Add missing conftype size.
1649 * common-src/bsd-security.c
1650 Fix infinte loop which consumes all /tmp space and 1/2
1651 the CPU time when EOF is reached on socket.
1653 2006-06-05 Paddy Sreenivasan <paddy@zmanda.com>
1654 * common-src/util.c: Fix warning
1656 2006-06-05 Jean-Louis Martineau <martineau@zmanda.com>
1657 * restore-src/amfetchdump.c, server-src/amcheck.c,
1658 server-src/amcheckdb.sh.in, server-src/amcleanup.sh.in,
1659 server-src/amdump.sh.in, server-src/amflush.c,
1660 server-src/amlabel.c, server-src/amlogroll.c,
1661 server-src/amtrmidx.c, server-src/amtrmlog.c,
1662 server-src/chunker.c, server-src/conffile.c,
1663 server-src/diskfile.c, server-src/driver.c,
1664 server-src/driverio.c, server-src/dumper.c,
1665 server-src/getconf.c, server-src/planner.c,
1666 server-src/reporter.c, server-src/taper.c,
1667 server-src/taperscan.c: Allow -o options and some memory fix.
1668 * server-src/conffile.c(lookup_dumptype, lookup_tapetype,
1669 lookup_interface): Use strcasecmp.
1671 2006-06-02 Jean-Louis Martineau <martineau@zmanda.com>
1672 * common-src/stream.c (stream_client_internal): Use connect_portrange.
1673 * common-src/util.c (connect_portrange): First, try to connect with a
1675 * common-src/util.c (connect_port): Try to connect with a specific port.
1676 * common-src/util.h: Cleanup.
1678 2006-06-02 Jean-Louis Martineau <martineau@zmanda.com>
1679 * server-src/reporter.c: Remove empty if.
1681 2006-06-02 Jean-Louis Martineau <martineau@zmanda.com>
1682 * common-src/util.c (read_block): Don't read CONF_NL aftre the '{'.
1683 * server-src/conffile.c(get_holdingdisk, get_tapetype, get_interface):
1684 Read a CONF_NL after the call to read_block.
1685 * server-src/conffile.c(read_dumptype): Read a CONF_NL if we are not
1686 called from diskfile.
1687 * server-src/diskfile.c: Don't loop on empty line after read_dumptype.
1689 2006-06-01 Kevin Till <ktill@zmanda.com>
1690 * server-src/amcrypt-ossl.sh.in: symmetric encrypt script using openSSL.
1691 Thanks to Ben Slusky.
1692 * server-src/amcrypt-ossl-asym.sh.in: public-ley encrypt script using openSSL.
1693 * man/xml-source/amcrypt-ossl.8.xml: man page
1694 * man/xml-source/amcrypt-ossl-asym.8.xml: man page
1695 * configure.in: ditto
1696 * man/Makefile.am: ditto
1697 * man/entities/global.entities: ditto
1698 * server-src/Makefile.am: ditto
1700 2006-06-01 John Franks <jfranks@zmanda.com>
1701 Eliminate Cygwin compile warnings.
1702 * client-src/getfsent.c: Quiet unused parameter warnings.
1703 * client-src/selfcheck.c: Quiet unused parameter warnings.
1704 * common-src/security-util.h: Make hostname const char *.
1706 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
1707 * server-src/amcheck.c: holdingdisk_get_disksize() return an off_t.
1708 * server-src/find.c: result should be ssize_t.
1710 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
1711 * common-src/amanda.h: Remove am64_t.
1712 * client-src/clientconf.c, client-src/clientconf.h, common-src/util.c,
1713 common-src/util.h, server-src/conffile.c, server-src/conffile.h:
1714 Second pass of config cleanup, add function to parse -o argument.
1715 * recover-src/amrecover.c: -o command argument.
1716 * restore-src/restore.c: Use off_t instead of am64_t.
1717 * server-src/amadmin.c: New config subcommand. -o command argument.
1718 * server-src/amlabel.c: Fix memory leak.
1719 * server-src/diskfile.c: Fix memory leak.
1720 * server-src/diskfile.h: Rename no_hold to to_holdingdisk.
1721 * server-src/driver.c: Many.
1722 * server-src/planner.c: am64_t to off_t.
1724 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
1725 This is the first pass of a general rewrite of configuration file
1726 parsing, It will now use array to store all options.
1728 * client-src/clientconf.c:
1729 * client-src/clientconf.h:
1730 * server-src/conffile.c:
1731 * server-src/conffile.h:
1732 * common-src/util.c: Many new functions.
1733 * common-src/util.h:
1735 * restore-src/amidxtaped.c, server-src/amcheck.c,
1736 server-src/amcleanupdisk.c, server-src/amlabel.c,
1737 server-src/diskfile.c, server-src/driver.c, server-src/driverio.c,
1738 server-src/find.c, server-src/holding.c, server-src/planner.c,
1739 server-src/reporter.c,
1740 server-src/taper.c: Use new macro to get configuration option.
1742 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
1743 * amandad-src/amandad.c, client-src/amandates.c, client-src/noop.c,
1744 client-src/selfcheck.c, client-src/sendsize.c,
1745 common-src/bsd-security.c, common-src/bsdtcp-security.c,
1746 common-src/bsdudp-security.c, common-src/fileheader.c,
1747 common-src/rsh-security.c, common-src/security-util.c,
1748 common-src/security-util.h, common-src/ssh-security.c,
1749 recover-src/extract_list.c, server-src/amcheck.c,
1750 server-src/amindexd.c, server-src/amlogroll.c,
1751 server-src/diskfile.c, server-src/driver.c, server-src/dumper.c,
1752 server-src/find.c, server-src/logfile.c, server-src/planner.c,
1753 server-src/reporter.c,
1754 server-src/tapefile.c: Fix memory and fd leak.
1756 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
1757 * server-src/find.c (search_holding_disk): Take the datestamp from the
1758 file, not the directory name, otherwise usetimestamps=no doesn't
1761 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
1762 * common-src/stream.c (stream_server): New priv parameter if we want
1763 a reserved port. Don't try to
1764 get a reserved port if priv==0.
1765 * common-src/stream.h (stream_server): New prototype.
1766 * common-src/bsd-security.c: Call stream_server with priv==0.
1767 * common-src/krb4-security.c: Call stream_server with priv==1.
1768 * common-src/security-util.c: Call stream_server with priv==0.
1769 * restore-src/amidxtaped.c: Call stream_server with priv==0.
1770 * server-src/chunker.c: Call stream_server with priv==0.
1771 * server-src/taper.c: Call stream_server with priv==0.
1773 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
1774 * server-src/diskfile.c: Return -1 if open of diskfile failed.
1775 * server-src/driver.c: Change message if didn't get a DATE line.
1776 * server-src/reporter.c: Ignore faillure in reading amanda.conf
1777 disklist and tapelist.
1779 2006-05-29 Jean-Louis Martineau <martineau@zmanda.com>
1780 * man/xml-source/amanda.8.xml: Documents service in .amandahosts.
1782 2006-05-29 Jean-Louis Martineau <martineau@zmanda.com>
1783 Previous patch doesn't work because 'make -j2' will use fd 3.
1784 * amandad-src/Makefile.am: Use a temporary file for output of
1786 * changer-src/Makefile.am: Ditto.
1787 * client-src/Makefile.am: Ditto.
1788 * common-src/Makefile.am: Ditto.
1789 * oldrecover-src/Makefile.am: Ditto.
1790 * recover-src/Makefile.am: Ditto.
1791 * restore-src/Makefile.am: Ditto.
1792 * server-src/Makefile.am: Ditto.
1793 * tape-src/Makefile.am: Ditto.
1795 2006-05-29 Jean-Louis Martineau <martineau@zmanda.com>
1796 * amandad-src/Makefile.am: 'make listlibsrc' send it's ouput to fd 3.
1797 * changer-src/Makefile.am: Ditto.
1798 * client-src/Makefile.am: Ditto.
1799 * common-src/Makefile.am: Ditto.
1800 * oldrecover-src/Makefile.am: Ditto.
1801 * recover-src/Makefile.am: Ditto.
1802 * restore-src/Makefile.am: Ditto.
1803 * server-src/Makefile.am: Ditto.
1804 * tape-src/Makefile.am: Ditto.
1806 2006-05-28 Paddy Sreenivasan <paddy@zmanda.com>
1807 * tape-src/tapeio.c : Fixed warnings
1808 * tape-src/output-rait.c : Fixed warnings
1809 * tape-src/output-null.c : Fixed warnings
1810 * tape-src/output-file.c : Fiexed warnings
1811 * recover-src/amrecover.c: Fixed warnings
1812 * recover-src/extract_list.c : Fixed warnings
1813 * server-src/amadmin.c : Fixed warnings
1814 * server-src/driver.c : Fixed warnings
1815 * server-src/infofile.c : Fixed warnings
1817 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
1818 * server-src/conffile.c (read_dumptype): Parse SSH_KEYS.
1820 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
1821 * common-src/security-util.c (udp_inithandle): Remove bad merge.
1822 * server-src/amindexd.c: Improve error message.
1823 * server-src/planner.c: Add a space in output.
1825 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
1826 * server-src/conffile.c: Set dpcur.no_hold correctly,
1827 Fix for conffile program.
1829 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
1830 Allow many services to share the same tcp connection for
1832 Add a security_close_connection to the security-api.
1833 * amandad-src/amandad.c (wait_30s, exit_on_qlength): New variable to
1834 control auth specific behaviour.
1835 * common-src/bsd-security.c: Add sec_close_connection_none.
1836 * common-src/bsdudp-security.c: Add sec_close_connection_none.
1837 * common-src/krb4-security.c: Add sec_close_connection_none.
1838 * common-src/krb5-security.c: Add sec_close_connection_none.
1839 * common-src/security.h (security_close_connection): Prototype.
1840 * common-src/security-util.h (sec_close_connection_none,
1841 tcpm_close_connection): Prototype.
1842 * common-src/security-util.h (struct tcp_conn): Add toclose.
1843 * common-src/security-util.h (struct sec_stream): Add closed_by_me and
1845 * common-src/security-util.c (sec_close_connection_none,
1846 tcpm_close_connection): New function.
1847 * common-src/security-util.c: Handle many services on one connection.
1848 * common-src/bsdtcp-security.c: Handle many services on one connection.
1849 * common-src/rsh-security.c: Handle many services on one connection.
1850 * common-src/ssh-security.c: Handle many services on one connection.
1851 * recover-src/amrecover.c: Add call security_close_connection.
1852 * recover-src/extract_list.c: Add call security_close_connection.
1853 * server-src/amcheck.c: Add call security_close_connection.
1854 * server-src/dumper.c: Add call security_close_connection.
1856 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
1857 * common-src/security-util.c (bsd_prefix_packet): We need the username
1858 of the getuid() user.
1860 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
1861 * common-src/fileheader.c: Parse datestamp on F_TAPEEND.
1862 * restore-src/amrestore.c: Set read_result to the result of
1864 * restore-src/restore.c (read_file_header): Return a ssize_t.
1865 Rename bytes_read by read_result.
1866 Set read_result to the result of read_file_header.
1867 * restore-src/restore.h (read_file_header): New prototype.
1869 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
1870 * server-src/taperscan.c: Replace bogus newvstralloc by vstrextend.
1872 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
1873 * client-src/getfsent.c (print_entry): Add prototype.
1874 * common-src/token.c (main): Shut up compiler warning.
1875 * server-src/infofile.c (dump_rec, dump_db): Add prototype.
1877 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
1878 * amandad-src/amandad.c, common-src/bsd-security.c,
1879 common-src/bsdtcp-security.c, common-src/bsdudp-security.c,
1880 common-src/event.c, common-src/krb5-security.c,
1881 common-src/protocol.c, common-src/rsh-security.c,
1882 common-src/security-util.c, common-src/ssh-security.c,
1883 common-src/util.c, server-src/driver.c: comment debugging.
1885 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
1886 * common-src/security-util.c: typo.
1887 * server-src/amcheck.c: Make sure all check are done.
1889 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
1890 Fix for program not compiled by default.
1891 make bsdsecurity still not compile.
1892 * common-src/bsd-security.c(bind_portrange): prototype change.
1893 * common-src/Makefile.am (STANDARD_COMMON_STUFF_NOT_FILE): Add match.o.
1894 * server-src/conffile.c: Many typo.
1895 * tape-src/tapeio.c: Use OFF_T_FMT and SSIZE_T_FMT when needed, typo.
1897 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
1898 * common-src/fileheader.c (validate_datestamp): Works for 8 characters
1900 * common-src/security-util.c (tcpm_send_token): netlength must be
1902 * common-src/security-util.c (bsd_prefix_packet): Fix typo.
1903 * common-src/util.c (get_time): Don't do computation for starttime.
1904 * server-src/conffile.c (read_dumptype): Do computation for starttime.
1906 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
1907 * common-src/krb5-security.c (krb5_sendpkt, krb5_stream_read_sync,
1908 recv_token): Return ssize_t.
1909 * common-src/krb5-security.c (krb5_accept, krb5_stream_accept,i
1910 krb5_stream_auth): Shut up compiler.
1911 * tape-src/output-file.c: Use SSIZE_MAX instead of SSIZE_T_MAX.
1913 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
1914 * configure.in(AM_INIT_AUTOMAKE): Fix.
1916 2006-05-25 John Franks <jrfranks@zmanda.com>
1917 Pass user CFLAGS correctly to machine generated code and do not
1918 enforce code quality checks on them.
1920 Put compiler code check flags into existing, but previously
1921 unused, AM_CFLAGS for Makefiles to pick up. CFLAGS should
1922 now only contain mandatory flags.
1924 * recover-src/Makefile.am oldrecover-src/Makefile.am:
1925 Use CFLAGS for compiling C code generated from uparse.y and uscan.l
1927 2006-05-24 John Franks <jrfranks@zmanda.com>
1928 Add support for binary path names on disk and in configuration files.
1929 (Allow spaces in filenames.)
1931 Allow quoted strings for disklist entries.
1933 Lint clean code using sun lint, splint and strict GCC warnings.
1934 Type / size clean, dead code removal, portibility checks, etc.
1935 Many checks are still turned off. See configure.in for lint flags used.
1937 Increase debug output in /tmp/amanda/*debug files.
1939 Set SO_REUSEADDR on sockets help avoid running out of ports.
1942 Added lint program discovery with specific targets for SUN lint and splint.
1943 Check each compiler option to see if GCC supports it.
1944 Enable more code quality warnings.
1945 Change missing xsltproc to warning rather than error.
1946 Define _GNU_SOURCES to build flags.
1947 Make size_t and time_t printf format macros.
1948 Check for isnormal() availability.
1949 Don't install man pages if they are not built.
1950 Fix man pages to not attempt build or install if
1951 --without-built-manpages is set.
1953 * Makefile.am amandad-src/Makefile.am changer-src/Makefile.am
1954 client-src/Makefile.am common-src/Makefile.am
1955 oldrecover-src/Makefile.am recover-src/Makefile.am
1956 restore-src/Makefile.am server-src/Makefile.am tape-src/Makefile.am:
1959 * common-src/amanda.h common-src/dgram.c common-src/stream.c
1961 Keep checking for ports on all bind errors.
1962 Delay and retry a few times if all ports are busy.
1963 Retry bind failures after all methods fail.
1964 increase bind checking timeout to 30 minutes.
1966 * client-src/amandad.c
1967 Issue wait when any child exits. (Get rid of defunct processes)
1968 Stat() index file before using system command.
1969 (shell is not reporting failure if index is not present)
1971 * recover-src/extract_list.c:
1972 Fix problem of 'add *' not adding directories.
1973 Fix problem of freeing pointer not obtained through malloc.
1974 Touch up file addition to actually use the file names
1975 retrieved when adding a directory and not the directory itself.
1977 * server-src/taper.c
1978 Strenghten error recovery for broken syncpipes and writer errors.
1980 * changer-src/chg-scsi-chio.c client-src/amandates.c
1981 client-src/client_util.c client-src/findpass.c client-src/getfsent.c
1982 client-src/selfcheck.c client-src/sendbackup-gnutar.c
1983 client-src/sendbackup-star.c client-src/sendbackup.c
1984 client-src/sendsize.c common-src/bsd-security.c common-src/file.c
1985 common-src/krb5-security.c server-src/amcheck.c server-src/amindexd.c
1986 server-src/diskfile.c server-src/driver.c server-src/dumper.c
1987 server-src/holding.c server-src/infofile.c server-src/logfile.c
1988 server-src/tapefile.c:
1989 allow empty lines in input streams.
1991 * recover-src/uparse.y
1992 print message when input is garbage.
1994 * server-src/getconf.c:
1995 Define HOSTNAME_INSTANCE if it was not already defined
1998 * configure.in: Make readline warning less specific. Readline is
1999 used by all input from terminal now.
2001 2006-05-24 Kevin Till <ktill@@zmanda.com>
2002 * client-src/sendbackup.c: ignore SIGINT
2003 * common-src/ssh-security.c: add to total only when n > 0
2004 * common-src/ssh-security.c: add ssh to error,
2005 retry writev when EINTR, EAGAIN is seen
2006 to STDOUT. exit when options is chosen in template mode.
2007 * server-src/driver.c: make sure timestamp is not null
2008 * amanda/configure.in: remove template.d/amanda.conf which is a dup
2009 of amanda-harddisk.conf
2010 * example/Makefile.am: add template.d/README
2011 * amanda-harddisk.conf.in: set tapedev
2012 * recover-src/amrecover.c: aclose socket before exit.
2013 * recover-src/extract_list.c: ditto
2014 * amanda_enterprise.spec: remove template.d/amanda.conf, add template.d/README
2015 in the failure cases. <> user input field.
2016 * server-src/amcheck.c: no quoted text is a warning
2017 * server-src/driver.c: no need to amfree qname
2018 argument. Search mtx in PATH too.
2019 * example/template.d/advanced.conf.in: fix comment for autoflush
2020 * example/template.d/advanced.conf.in: add usetimestamps
2021 * server-src/diskfile.c: to catch unsupported compress-encryption
2022 combination and abort amdump gracefully.
2023 * man/xml-source/amanda.conf.5.xml: fix syntax, add
2024 dumptype references.
2025 * man/xml-source/amanda.8.xml: fix syntax
2026 * configure.in: ditto
2027 * man/Makefile.am: ditto
2028 * example/amanda.conf.in: tidy up
2029 * man/xml-source/amaespipe.8.xml: add uuencode as requirement
2030 * man/xml-source/amcrypt.8.xml: add uuencode as requirement
2031 * server-src/amcheck.c: catch dumptype misconfiguration
2032 * server-src/diskfile.c: ditto
2033 * server-src/driverio.c: ditto
2034 * server-src/planner.c: ditto
2035 * server-src/conffile.c: check includefile before calling
2036 read_conffile_recursively
2037 * example/amanda.conf.in: add public-key encryption dumptype example
2038 * man/xml-source/amanda.8.xml: fix some formatting
2039 * server-src/planner.c: adjust setuid() calling sequences so that ssh can work
2040 * server-src/dumper.c: ditto
2041 * configure.in: add LOW_TCPPORTRANGE for amrecover
2042 * common-src/stream.c: use LOW_TCPPORTRANGE
2043 * server-src/amdump.sh.in: check if config is supplied
2044 * man/xml-source/amrestore.8.xml: add notes on "-f" option
2046 2006-05-24 Ian Turner <ian@zmanda.com>
2047 * configure.in: Properly document --without-xsltproc as itself,
2048 and not the (nonexistant) option --without-built-manpages.
2050 2006-05-16 John Franks <jrfranks@zmanda.com>
2051 * amandad-src/amandad.c client-src/clientconf.c common-src/bsd-security.c
2052 common-src/bsdudp-security.c common-src/dgram.c common-src/krb4-security.c
2053 common-src/krb5-security.c common-src/match.c common-src/packet.c
2054 common-src/security-util.c common-src/security-util.h
2055 common-src/security.h common-src/util.c oldrecover-src/Makefile.am
2056 oldrecover-src/set_commands.c recover-src/amrecover.c
2057 recover-src/extract_list.c server-src/conffile.c server-src/driver.c
2058 server-src/dumper.c server-src/planner.c server-src/reporter.c:
2059 Minimal changes to get tree to compile along with some more
2062 2006-05-15 Jean-Louis Martineau <martineau@zmanda.com>
2063 * server-src/amadmin.c (disklist_one): print spindle.
2065 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
2066 * commmon-src/bsd-security.c: Typo.
2068 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
2069 * common-src/Makefile.am (noinst_HEADERS): Add security-util.h.
2071 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
2072 Build a big tok_t enum for server and client config.
2073 * client-src/clientconf.c: Move many things to util.c.
2074 * client-src/clientconf.h: Remove extern variable.
2075 * common-src/util.c: Add common part of clientconf.c and conffile.c
2076 * common-src/util.h: Prototype.
2077 * server-src/conffile.c: Move many things to util.c.
2078 * server-src/diskfile.c(disk_parserror): Rename from parserror.
2079 * server-src/taper.c: Make many variable static.
2081 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
2082 * restore-src/restore.c: Fix use of possibly NULL input.
2084 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
2085 * common-src/ssh-security.c (ssh_connect): Retrieve ssh_keys from
2087 * server-src/amadmin.c(disklist_one): Print ssh_keys.
2088 * server-src/conffile.c(SSH_KEYS): Parse new dumptype option.
2089 * server-src/conffile.h(dumptype_t): Add ssh_keys.
2090 * server-src/diskfile.c(parse_diskline): Copy new field.
2091 * server-src/diskfile.h(disk_t) Add ssh_keys.
2092 * server-src/driverio.c(dumper_cmd): Send dp->ssh_keys in a PORT_DUMP
2093 command to the dumper.
2094 * server-src/dumper.c: Parse ssh_keys in a PORT_DUMP command.
2095 * server-src/dumper.c(dumper_get_security_conf): Return the ssh_keys.
2096 * server-src/server_util.c(amhost_get_security_conf): Return the
2099 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
2100 * amandad-src/amandad.c: Set allow_many_services to 0 if auth=bsdtcp.
2101 * common-src/bsd-security.c: Use security-util.c.
2102 * common-src/bsdtcp-security.c: New security-api.
2103 * common-src/bsdudp-security.c: New secutity-api.
2104 * common-src/krb4-security.c: Use security-util.c.
2105 * common-src/krb5-security.c: Use security-util.c.
2106 * common-src/Makefile.am (libamanda_la_SOURCES): Add bsdtcp-security.c,
2108 and security-util.c.
2109 * common-src/protocol.c: Debuging cleanup.
2110 * common-src/rsh-security.c Use security-util.c.
2111 * common-src/security.c: Use bsdtcp_security_driver
2112 and bsdudp_security_driver.
2113 * common-src/security.h(accept): New prototype.
2114 * common-src/security-util.c: Many common function for security-api.
2115 * common-src/security-util.h: many prototype for security-api.
2116 * common-src/ssh-security.c Use security-util.c.
2117 * common-src/stream.c (stream_client_internal): Call connect_portrange.
2118 * common-src/util.c (make_socket): Make a socket.
2119 * common-src/util.c (connect_portrange): Make a socket, bind it and
2121 * common-src/util.h (connect_portrange): Prototype.
2122 * configure.in: new --with-bsdtcp-security and --with-bsdudp-security.
2124 2006-05-10 Jean-Louis Martineau <martineau@zmanda.com>
2125 Patch by <amanda@inventivetechnology.at>
2126 * man/xml-source/amrecover.8.xml: Document listhost command.
2128 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
2129 Patch by <amanda@inventivetechnology.at>
2130 * server-src/amindexd.c: new LISTHOST command.
2131 * recover-src/set_commands.c (list_host): New function.
2132 * recover-src/amrecover.h (list_host): Prototype.
2133 * recover-src/help.c (list_host): Print help.
2134 * recover-src/uscan.l: Parse listhost command.
2135 * recover-src/uparse.y: LISTHOST command.
2136 * oldrecover-src/set_commands.c (list_host): New function.
2137 * oldrecover-src/amrecover.h (list_host): Prototype.
2138 * oldrecover-src/help.c (list_host): Print help.
2139 * oldrecover-src/uscan.l: Parse listhost command.
2140 * oldrecover-src/uparse.y: LISTHOST command.
2142 2006-05-08 Ian Turner <ian@zmanda.com>
2143 * server-src/amcheck.c: Make it an error when the expected new
2144 tape cannot be found. Thanks to Paul Bijnens
2145 <paul.bijnens@xplanation.com> for the patch and to Jason L
2146 Tibbitts III <tibbs@math.uh.edu> for noticing this problem.
2148 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
2149 * driverio.h (shed_s): Add est_nsize, est_csize, degr_nsize, degr_csize
2150 for nativa and compressed estimate size.
2151 * planner.c: Send the native and compressed estimate size to the driver.
2152 * driver.c: log with L_STATS the estimate of a successful dump.
2153 * reporter.c: Parse the L_STATS.
2154 * reporter.c(generate_bad_estimate): New function that will put in the
2155 NOTES section all bad estimate.
2157 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
2158 * configure.in (AC_CONFIG_FILES): Add oldrecover-src/Makefile.
2159 * Makefile.am (RECOVER_SUBDIRS): Add oldrecover-src.
2160 * oldrecover-src/amrecover.c: Copy of old recover-src/amrecover.c
2161 * oldrecover-src/amrecover.h: Copy of old recover-src/amrecover.h
2162 * oldrecover-src/display_commands.c: Copy of old
2163 recover-src/display_commands.c
2164 * oldrecover-src/extract_list.c: Copy of old recover-src/extract_list.c
2165 * oldrecover-src/help.c: Copy of old recover-src/help.c
2166 * oldrecover-src/Makefile.am: Copy of old recover-src/Makefile.am
2167 * oldrecover-src/set_commands.c: Copy of old recover-src/set_commands.c
2168 * oldrecover-src/uparse.y: Copy of old recover-src/uparse.y
2169 * oldrecover-src/uscan.l: Copy of old recover-src/uscan.l
2170 * recover-src/amrecover.c: Works with security-api.
2171 * recover-src/amrecover.h: Works with security-api.
2172 * recover-src/extract_list.c: Works with security-api.
2174 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
2175 * amandad-src/amandad.c: Fixup.
2177 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
2178 * common-src/packet.h: pkt_t.body is now a char*.
2179 * common-src/packet.c (pkt_init): Return an alloced pkt.body.
2180 * common-src/packet.c (pkt_cat): Increade pkt.body size if needed.
2181 * common-src/protocol.c: Free allocated pkt.body.
2182 * common-src/dgram.c (dgram_cat): Return int.
2183 * common-src/dgram.h (dgram_cat): New prototype.
2184 * common-src/krb5-security.c: Work with dynamicaly allocated packet
2186 * common-src/rsh-security.c: Work with dynamicaly allocated packet
2188 * common-src/ssh-security.c: Work with dynamicaly allocated packet
2190 * amandad-src/amandad.c: Work with dynamicaly allocated packet body.
2191 * server-src/amcheck.c: Don't limit packet size.
2192 * server-src/planner.c: Don't limit packet size.
2194 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
2195 * amandad-src/amandad.c (service_new): Apply the correct patch.
2197 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
2198 * server-src/taper.c: Fix compiler warning.
2199 * common-src/match.c: Many function get const parameters.
2200 * common-src/amanda.h: Prototype change.
2202 2006-05-07 Jean-Louis Martineau <martineau@zmanda.com>
2203 * amandad-src/amandad.c (service_new): Make sur that the 3 data_read[]
2204 and the 3 data_write[] fd are not in the range DATA_FD_OFFSET to
2205 DATA_FD_OFFSET+DATA_FD_COUNT-1.
2207 2006-05-05 Jean-Louis Martineau <martineau@zmanda.com>
2208 * common-src/tapelist.c (append_to_tapelist): Remove bad amfree.
2210 2006-05-05 Nikhil Bandiwadekar <nikhil@zmanda.com>
2211 * server-src/conffile.c: fix to correctly handle am64 datatype
2213 2006-05-04 Jean-Louis Martineau <martineau@zmanda.com>
2214 * server-src/taper.c: Write the slot number in the
2215 'taper: wrote label' line.
2216 * server-src/amverifyrun.sh.in: Parse that line.
2218 2006-05-02 Jean-Louis Martineau <martineau@zmanda.com>
2219 * amstatus.pl.in: Limit characters for hostname in setup_estimate line.
2221 2006-04-27 Jean-Louis Martineau <martineau@zmanda.com>
2222 * common-src/rsh-security.c: Pass "amdump amindexd amidxtaped" option
2224 * common-src/ssh-security.c: Ditto.
2226 2006-04-27 Jean-Louis Martineau <martineau@zmanda.com>
2227 * amandad-src/amandad.c: Accept a list of services on the command line.
2229 2006-04-27 Jean-Louis Martineau <martineau@zmanda.com>
2230 * common-src/tapelist.c (append_to_tapelist): Fix memory leak.
2232 2006-04-27 Jean-Louis Martineau <martineau@zmanda.com>
2233 * amandad-src/amandad.c: Fix memory leak.
2234 * amandad-src/amandad.h (free_g_options): Prototype.
2235 * amandad-src/amandad_util.c (free_g_options): New function to free a
2237 * server-src/amcleanupdisk.c: Fix memory leak.
2238 * server-src/reporter.c: Fix memory leak.
2239 * server-src/tapefile.c: Fix memory leak.
2240 * server-src/taperscan.c: Put message in error_message.
2242 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
2243 * server-src/amcheck.c (start_server_check): Memory leak.
2245 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
2246 * amandad-src/Makefile.am (noinst_HEADERS): Add amandad.h.
2247 * client-src/Makefile.am (noinst_HEADERS): Add clientconf.h.
2249 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
2250 * man/xml-source/amanda-client.conf.5.xml: New file.
2252 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
2253 * common-src/amanda.h (check_user_ruserok, check_user_amandahosts):
2255 * common-src/bsd-security.c: Pass the service name across check_user*
2256 function and validate it from the .amandahosts file.
2258 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
2259 * restore-src/amidxtaped.c: Can be launched by amandad.
2260 * server-src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/amandad-src
2261 * server-src/Makefile.am (amidxtaped__LDADD): Link with libamandad.
2262 * restore-src/restore.c: Fix indentation.
2264 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
2265 * server-src/amindexd.c: Can be launched by amandad
2266 * server-src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/amandad-src
2267 * server-src/Makefile.am (amindexd_LDADD): Link with libamandad.
2269 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
2270 * amandad-src/amandad.c: New file.
2271 * amandad-src/amandad.h: New file.
2272 * amandad-src/amandad_util.c: New file, add function init_g_options
2274 * amandad-src/Makefile.am: New file.
2275 * client-src/amandad.c: Removed file.
2276 * client-src/amandad.h: Removed file.
2277 * client-src/client_util.c (init_g_options, parse_g_options): Remove.
2278 * client-src/client_util.h (init_g_options, parse_g_options): Remove.
2279 * client-src/Makefile.am (INCLUDES): -I$(top_srcdir)/amandad-src
2280 * client-src/Makefile.am (libexec_PROGRAMS): Remove amandad.
2281 * client-src/Makefile.am (LDADD): Add
2282 ../amandad-src/libamandad.$(LIB_EXTENSION).
2283 * client-src/selfcheck.c: #include "amandad.h".
2284 * client-src/sendsize.c: #include "amandad.h".
2285 * configure.in (AC_CONFIG_FILES): amandad-src/Makefile.
2286 * Makefile.am (SUBDIRS): amandad-src.
2288 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
2289 * docs/security-api.txt: Document security_read_sync.
2290 * common-src/security.h: Typo.
2292 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
2293 * client-src/amandad.c (service_new): Pass the "amandad" argument to
2296 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
2297 * common-src/bsd-security.c: Allow to run many services on the same
2299 * common-src/rsh-security.c: Ditto.
2300 * common-src/ssh-security.c: Ditto.
2302 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
2303 * common-src/security.h (security_stream_read_sync): Prototype.
2304 * common-src/bsd-security.c (bsd_stream_read_sync): New function.
2305 * common-src/krb4-security.c (krb4_stream_read_sync): New function.
2306 * common-src/krb5-security.c (krb5_stream_read_sync): New function.
2307 * common-src/rsh-security.c (rsh_stream_read_sync): New function.
2308 * common-src/ssh-security.c (ssh_stream_read_sync): New function.
2310 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
2311 * client-src/amandad.c: Open pipe in both direction to the services.
2312 * client-src/sendbackup.c: Deal with the newer pipe.
2314 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
2315 * client-src/clientconf.c: New file to read the client configuration
2317 * client-src/clientconf.h: Header.
2318 * client-src/Makefile.am: Link clientconf into libamclient.
2319 * configure.in (AC_CONFIG_FILES): example/amanda-client.conf.
2320 * docs/amanda-client.conf.5.txt: New documentation.
2321 * docs/Makefile.am (pkgdata_DATA): amanda-client.conf.5.txt.
2322 * example/amanda-client.conf.in: exemple.
2323 * example/Makefile.am (noinst_DATA): amanda-client.conf.
2324 * man/entities/global.entities: amclientconf.
2325 * man/Makefile.am (COMMON_MAN5_PAGES): amanda-client.conf.5.
2326 * man/xml-source/amanda.8.xml (SEE ALSO): amanda-client.conf(5).
2327 * man/xml-source/amanda.conf.5.xml (SEE ALSO): amanda-client.conf(5).
2328 * man/xml-source/amrecover.8.xml (SEE ALSO): amanda-client.conf(5).
2330 2006-04-26 K. K. George<kkg@zmanda.com>
2331 * server-src/reporter.c: Fix to untaint the mailto parameter.
2332 * server-src/amcheck.c: Fix to untaint the mailto parameter
2333 * changer-src/chg-scsi.c: Fix to untaint the mailto parameter.
2334 * changer-src/chg-scsi-chio.c: Fix to untaint the mailto parameter.
2335 * common-src/util.h: Added function to check if the mailto
2336 parameter is untainted
2337 * common-src/util.c: Added function to check if the mailto
2338 parameter is untainted
2340 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
2341 * common-src/event.c(event_wait): New function.
2342 * common-src/event.h(event_wait): prototype.
2343 * docs/eventapi.txt: Document event_wait.
2345 2006-04-24 Jean-Louis Martineau <martineau@zmanda.com>
2346 * server-src/planner.c: Fix divide by zero if runtapes==0.
2348 2006-04-24 K. K. George<kkg@zmanda.com>
2349 * server-src/reporter.c: Fix to make the mailto parameter in
2350 amanda.conf optional. Added two more commandline options
2352 * server-src/amcheck.c: Fix to make the mailto parameter in
2353 amanda.conf optional.
2354 * man/xml-source/amreport.8.xml: Modified to document the
2355 -i & -Maddress commandline parameters
2356 * docs/amreport.8.txt: Modified to document the
2357 -i & -Maddress commandline parameters
2358 * changer-src/chg-scsi.c: Fix to make the mailto parameter in
2359 amanda.conf optional.
2360 * changer-src/chg-scsi-chio.c: Fix to make the mailto parameter in
2361 amanda.conf optional.
2363 2006-04-23 Jean-Louis Martineau <martineau@zmanda.com>
2364 * server-src/driver.c (handle_chunker_result): make sure that
2365 est_size > act-size.
2367 2006-04-21 Jean-Louis Martineau <martineau@zmanda.com>
2368 * server-src/changer.c (changer_command): Make sure fd[0] != 1.
2370 2006-04-19 Jean-Louis Martineau <martineau@zmanda.com>
2371 * restore-src/amidxtaped.c: Cleanup.
2373 2006-04-19 Ian Turner <ian@zmanda.com>
2374 * tape-src/output-tape.c: Do a more thourough check to ensure
2375 that we actually got a tape device, before proceeding to use
2378 2006-04-18 Ian Turner <ian@zmanda.com>
2379 * changer-src/chg-disk.sh.in: Check that the virtual device is a
2380 directory with proper permissions.
2381 * server-src/changer.c: Do the right thing (failure) if there is
2382 a problem with the changer.
2384 2006-04-18 Ian Turner <ian@zmanda.com>
2385 * recover-src/uscan.l: Accept setdate of the form
2386 yyyy-MM-dd-hh-mm in addition to yyyy-MM-dd-hh-mm-ss.
2387 * man/xml-source/amrecover.8.xml: Document this change.
2389 2006-04-14 Jean-Louis Martineau <martineau@zmanda.com>
2390 * recover-src/help.c: Document setdate YYYY-MM-DD-HH-MM-SS format.
2391 * man/xml-source/amrecover.8.xml: Ditto.
2393 2006-04-14 Jean-Louis Martineau <martineau@zmanda.com>
2394 * client-src/amandad.c: Use %p to printf pointer.
2396 2006-04-14 Jean-Louis Martineau <martineau@zmanda.com>
2397 * server-src/amtape.c: Add update command.
2399 2006-04-11 Jean-Louis Martineau <martineau@zmanda.com>
2400 * server-src/taper.c: log_add(L_WARNING) the output of taper_scan if
2401 no valid tape are found.
2403 2006-04-11 Jean-Louis Martineau <martineau@zmanda.com>
2404 * server-src/amcheck.c: Call taper_scan with
2405 (..., FILE_taperscan_output_callback,outf) arguments.
2406 * server-src/amtape.c: Call taper_scan with
2407 (..., FILE_taperscan_output_callback,stderr) arguments.
2408 * server-src/taper.c: Call taper_scan with
2409 (..., CHAR_taperscan_output_callback, &error_msg) arguments.
2410 * server-src/taperscan.h(FILE_taperscan_output_callback,
2411 CHAR_taperscan_output_callback): Protoype.
2412 * server-src/taperscan.h(taper_scan): New protoype, remove
2413 error_message arg, add taperscan_output_callback and data arg.
2414 * server-src/taperscan.c(FILE_taperscan_output_callback): Callback
2415 that print the msg to it's arg, which is FILE*.
2416 * server-src/taperscan.c(CHAR_taperscan_output_callback): Callback
2417 that append the msg to it's arg, which is char*.
2418 * server-src/taperscan.c(taper_scan): Fix for new arguments.
2419 * server-src/taperscan.c(changer_taper_scan): Fix for new arguments.
2421 2006-04-11 Jean-Louis Martineau <martineau@zmanda.com>
2422 * man/xml-source/amanda.conf.5.xml: Document amandad_path and
2423 client_username dumptype option.
2425 2006-04-11 Jean-Louis Martineau <martineau@zmanda.com>
2426 * common-src/krb4-security.c: Increase timeout to 60 seconds.
2427 * common-src/rsh-security.c: Increase timeout to 60 seconds.
2428 * common-src/ssh-security.c: Increase timeout to 60 seconds.
2430 2006-04-07 Jean-Louis Martineau <martineau@zmanda.com>
2431 * server-src/conffile.c: New configuration option usetimestamps.
2432 * server-src/conffile.h: New configuration option usetimestamps.
2433 * example/amanda.conf.in: Document new usetimestamps options.
2434 * man/xml-source/amanda.conf.5.xml: Document new usetimestamps options.
2435 * server-src/amflush.c: Use datestamp or timestamp depending of
2437 * server-src/planner.c: Use datestamp or timestamp depending of
2439 * server-src/driver.c: Log an ERROR if many run a day and
2440 usetimestamps us set to no.
2442 2006-04-07 Ian Turner <ian@zmanda.com>
2443 * server-src/changer.c: Don't crash if we go to taperscan "Plan
2446 2006-04-07 Ian Turner <ian@zmanda.com>
2447 * server-src/changer.c: Only print changer debug messages if
2448 there was a problem.
2450 2006-04-07 Ian Turner <ian@zmanda.com>
2451 * recover-src/amrecover.c: Print a more helpful command if mount
2452 point autodetection fails.
2453 * recover-src/display_commands.c: Print a more helpful message
2454 if the user tries to ls without having setdisk earlier.
2456 2006-04-07 Jean-Louis Martineau <martineau@zmanda.com>
2457 * server-src/amadmin.c: Fix use of datestamp as int.
2458 * server-src/find.c: Ditto.
2459 * server-src/reporter.c: Ditto.
2460 * server-src/tapefile.c: Ditto.
2462 2006-04-07 Jean-Louis Martineau <martineau@zmanda.com>
2463 * common-src/Makefile.am: Fix dependency between genversion and
2466 2006-04-07 Jean-Louis Martineau <martineau@zmanda.com>
2467 * recover-src/amrecover.c: Change initialization of server_name and
2470 2006-04-07 Jean-Louis Martineau <martineau@zmanda.com>
2471 * restore-src/amrestore.c: reset count_error to 0 on a restore.
2473 2006-04-06 Kevin Till <ktill@zmanda.com>
2474 * server-src/Makefile.am: always install planner/dumper setuid-root
2475 * server-src/amcheck.c: check planner/dumper for setuid-root
2476 * server-src/dumper.c: drop privilege asap. Switch between bsd
2477 and ssh auth is now possible with the same installation.
2478 * server-src/planner.c: ditto
2480 2006-04-06 Jean-Louis Martineau <martineau@zmanda.com>
2481 * server-src/taperscan.c (changer_taper_scan): Pass a pointer to the
2482 changer_loadslot call.
2484 2006-04-06 Jean-Louis Martineau <martineau@zmanda.com>
2485 * server-src/tapefile.c (lookup_last_reusable_tape): Fix a datestamp
2488 2006-04-06 Ian Turner <vectro@vectro.org>
2489 * recover-src/amrecover.c (main): Check AMANDA_SERVER and
2490 AMANDA_TAPE_SERVER environment variables before falling back
2491 to compiled-in defaults. Document this new behavior. Thanks to
2492 Malcolm Locke <malc@hoodee.co.uk> for the idea and patch.
2494 2006-04-06 Jean-Louis Martineau <martineau@zmanda.com>
2495 * server-src/reporter.c (handle_chunk): CHUNK line always have the
2498 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2499 * server-src/krb5-security.c: Fix for krb5_connect call in
2502 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2503 * server-src/driver.c (start_some_dumps): Recover correctly if the
2504 chunker reply with something that is not a PORT command.
2505 * server-src/driver.c (dump_to_tape): remove duplicate free_serial.
2506 * server-src/driverio.c: Improve debugging.
2508 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2509 * common-src/tapelist.c(unmarshal_tapelist_str): Fix
2510 "value computed is not used" compiler warning.
2512 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2513 * common-src/bsd-security.c (bsd_connect): New datap argument.
2514 * common-src/krb4-security.c (krb4_connect): New datap argument.
2515 * common-src/krb5-security.c (krb5_connect): New datap argument.
2516 * common-src/rsh-security.c (rsh_connect): New datap argument,
2517 retrieve amanda_path and client_username from configuration.
2518 * common-src/ssh-security.c (ssh_connect): New datap argument,
2519 retrieve amanda_path and client_username from configuration.
2520 * common-src/protocol.c: Pass new datap argument to security_connect.
2521 * common-src/security.h(connect): New prototype.
2522 * common-src/security.h(security_connect): Add datap to macro.
2523 * server-src/amadmin.c(disklist_one): Print amandad_path and
2525 * server-src/conffile.c(AMANDAD_PATH, CLIENT_USERNAME): Parse new
2527 * server-src/conffile.h(dumptype_t): Add amandad_path and
2529 * server-src/diskfile.c(parse_diskline): Copy new field.
2530 * server-src/diskfile.h(disk_t) Add amandad_path and client_username.
2531 * server-src/driverio.c(dumper_cmd): Send dp->amandad_path and
2532 dp->client_username in a PORT_DUMP command to the dumper.
2533 * server-src/dumper.c: Parse amandad_path and client_username in a
2535 * server-src/dumper.c(dumper_get_security_conf): New function to return
2536 configuration option to the security-api.
2537 * server-src/dumper.c: Use dumper_get_security_conf for the callback
2538 to protocol_sendreq.
2539 * server-src/planner.c Use amhost_get_security_conf for the callback
2540 to protocol_sendreq.
2541 * server-src/amcheck.c: Use amhost_get_security_conf for the callback
2542 to protocol_sendreq.
2543 * server-src/server_util.c(amhost_get_security_conf): New function to
2544 return configuration option to the security-api,
2545 it expect an am_host_t arg.
2546 * server-src/server_util.h(amhost_get_security_conf): Prototype.
2548 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2549 * server-src/amstatus.pl.in: Remove duplicate instruction.
2551 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2552 * server-src/amindexd.c: Remove all code that set str_buffer_size,
2553 rename str_buffer_size to reply_buffer_size,
2554 rename buf to reply_buffer,
2555 * server-src/amindexd.c(reply, lreply_backend): Increase reply_buffer
2558 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2559 * common-src/amfeatures.h: Add fe_amrecover_timestamp amfeature.
2560 * common-src/amfeatures.c (am_init_feature_set):
2561 Add fe_amrecover_timestamp.
2562 * server-src/amindexd.c(opaque_ls_one): New function.
2563 * server-src/amindexd.c(disk_history_list,opaque_ls_one): Send only a
2564 datestamp if client doesn't have fe_amrecover_timestamp.
2566 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2567 * recover-src/uscan.l: Parse "setdate YYYY-MM-DD-HH-MM-SS".
2568 * server-src/amindexd.c (cmp_date): New function to cmp datestamp with
2569 timestamp, use it where needed.
2570 * server-src/amindexd.c (amindexd_nicedate): Fix for timestamp.
2571 * server-src/amtrmidx.c: Fix for timestamp.
2572 * server-src/disk_history.h (DUMP_ITEM): Increase size of date.
2574 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2575 * server-src/amflush.c: Send DATE line to driver, use timestamp.
2576 * server-src/amindex.c (getindexfname): Increase datebuf size.
2577 * server-src/amtrmlog.c: Fix bug with date_keep computation if
2579 * server-src/amtrmlog.c: rotate timestamped log file.
2580 * server-src/chunker.c: Receive START cmd, use timestamp.
2581 * server-src/driver.c: Receive DATE line, send START cmd to chunker,
2583 * server-src/driverio.c (startup_dump_processes): Send START cmd to
2585 * server-src/driverio.c (dumper_cmd, chunker_cmd): Send START command.
2586 * server-src/driverio.h (startup_dump_processes): Prototype change,
2588 * server-src/dumper.c: Receive START cmd, use timestamp.
2589 * server-src/find.c (find_nicedate): Fix for timestamp.
2590 * server-src/planner.c: Send DATE line to driver, use timestamp.
2591 * server-src/server_util.c (cmdstr): Add START.
2592 * server-src/server_util.h (cmd_t): Add START.
2593 * server-src/taper.c: Get timestamp from TAPER_START command.
2595 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2596 * server-src/amindexd.c (amindexd_nicedate): New function.
2597 * server-src/find.h (struct find_result_s): Remove datestamp and
2598 datestamp_aux field, only timestamp will be used.
2599 * restore-src/amfetchdump.c: Convert datestamp to 'char *'.
2600 * restore-src/restore.c: Convert datestamp to 'char *'.
2601 * server-src/amindexd.c: Convert datestamp to 'char *'.
2602 * server-src/amlabel.c: Convert datestamp to 'char *'.
2603 * server-src/amtrmidx.c: Convert datestamp to 'char *'.
2604 * server-src/find.c: Convert datestamp to 'char *'.
2605 * server-src/reporter.c: Convert datestamp to 'char *'.
2606 * server-src/tapefile.c: Convert datestamp to 'char *'.
2607 * server-src/tapefile.h: Convert datestamp to 'char *'.
2608 * server-src/taper.c: Convert datestamp to 'char *'.
2610 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2611 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1b1).
2613 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
2614 * server-src/driver.c: Change expression to remove overflow.
2616 2006-03-29 Jean-Louis Martineau <martineau@zmanda.com>
2617 * client-src/calcsize.c: Don't use declaration after instruction,
2618 older compiler don't accept it.
2620 2006-03-23 Jean-Louis Martineau <martineau@zmanda.com>
2621 * Amanda 2.5.0 released.
2622 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0).
2623 * NEWS: Update for 2.5.0
2625 2006-03-22 Jean-Louis Martineau <martineau@zmanda.com>
2626 * server-src/dumper.c: wait for compress/index/encryp subprocess.
2628 2006-03-22 Jean-Louis Martineau <martineau@zmanda.com>
2629 * server-src/amstatus.pl.in: Parse PARTIAL reply.
2631 2006-03-22 Jean-Louis Martineau <martineau@zmanda.com>
2632 * server-src/driver.c: Put '#define HOLD_DEBUG' in comment.
2634 2006-03-21 Jean-Louis Martineau <martineau@zmanda.com>
2635 * server-src/chunker.c: Don't loop on startup_chunker.
2636 * server-src/dumper.c: Don't wait for all children, some process (ssh)
2637 might not terminate.
2639 2006-03-17 Ian Turner <ian@zmanda.com>
2640 * server-src/taper.c (read_file): When finished flushing a
2641 chunked dump, print information about the whole dump, not just
2642 the last chunk. Also, fix some memory leaks.
2644 2006-03-16 Kevin Till <ktill@zmanda.com>
2645 * server-src/amverify.sh.in: check for EOI. amrestore only
2646 reports EOI for some tapetypes.
2648 2006-03-15 Jean-Louis Martineau <martineau@zmanda.com>
2649 * server-src/conffile.c: Fix heritage of auth.
2651 2006-03-14 Kevin Till <ktill@@zmanda.com>
2652 * example/amanda.conf.in: add dumptype custom-compress.
2653 add ssh,krb5 as valid input for auth.
2654 * man/xml-source/amanda.conf.5.xml: give reference to
2655 custom-compress, encrypt-fast dumptypes.
2657 2006-03-14 Jean-Louis Martineau <martineau@zmanda.com>
2658 * common-src/amfeatures.h: Rename fe_amidxtaped_FEEDME to
2660 * common-src/amfeatures.c (am_init_feature_set): Set
2661 fe_amrecover_FEEDME.
2662 * restore-src/restore.h (search_tapes): Add their_features parameter.
2663 * restore-src/amfetchdump.c: Add NULL pointer to search_tapes call.
2664 * restore-src/amidxtaped.c: Add their_features to search_tapes call.
2665 * restore-src/restore.c (search_tapes): Send FEEDME only if client
2668 2006-03-11 Jean-Louis Martineau <martineau@zmanda.com>
2669 * server-src/driverio.c : Fix errors found using Coverity tools.
2671 2006-03-10 Jean-Louis Martineau <martineau@zmanda.com>
2672 * server-src/taperscan.c: Fix Coverity fix.
2674 2006-03-10 Jean-Louis Martineau <martineau@zmanda.com>
2675 * changer-src/scsi-changer-driver.c:
2676 Fix errors found using Coverity tools.
2677 * server-src/diskfile.c: Fix errors found using Coverity tools.
2678 * server-src/planner.c: Fix errors found using Coverity tools.
2679 * server-src/taperscan.c: Fix errors found using Coverity tools.
2681 2006-03-10 Jean-Louis Martineau <martineau@zmanda.com>
2682 * server-src/driverio.c: Undo my bad fix.
2683 * server-src/infofile.c: Fix errors found using Coverity tools.
2684 * tape-src/tapetype.c: Fix errors found using Coverity tools.
2686 2006-03-09 Jean-Louis Martineau <martineau@zmanda.com>
2687 * restore-src/restore.c: Fix errors found using Coverity tools.
2689 2006-03-09 Jean-Louis Martineau <martineau@zmanda.com>
2690 * server-src/holding.c: Fix errors found using Coverity tools.
2692 2006-03-09 Jean-Louis Martineau <martineau@zmanda.com>
2693 * server-src/driverio.c: Fix errors found using Coverity tools.
2694 * server-src/planner.c: Fix errors found using Coverity tools.
2696 2006-03-09 John Franks <jrfranks@zmanda.com>
2697 * changer-src/chg-scsi.c: Fix errors found using Coverity tools.
2698 * changer-src/scsi-changer-driver.c:
2699 Fix errors found using Coverity tools.
2700 * changer-src/sense.c: Fix errors found using Coverity tools.
2701 * client-src/sendbackup-dump.c: Fix errors found using Coverity tools.
2702 * client-src/sendbackup.c: Fix errors found using Coverity tools.
2703 * recover-src/display_commands.c:Fix errors found using Coverity tools.
2704 * regex-src/regcomp.c: Fix errors found using Coverity tools.
2705 * restore-src/restore.c: Fix errors found using Coverity tools.
2706 * server-src/amindexd.c: Fix errors found using Coverity tools.
2707 * server-src/diskfile.c: Fix errors found using Coverity tools.
2708 * server-src/driver.c: Fix errors found using Coverity tools.
2709 * server-src/driverio.c: Fix errors found using Coverity tools.
2710 * server-src/infofile.c: Fix errors found using Coverity tools.
2711 * server-src/planner.c: Fix errors found using Coverity tools.
2712 * server-src/taper.c: Fix errors found using Coverity tools.
2713 * server-src/taperscan.c: Fix errors found using Coverity tools.
2714 * server-src/conffile.c: Change report default to use at least
2715 one space between every column.
2717 2006-03-08 Jean-Louis Martineau <martineau@zmanda.com>
2718 * client-src/amandad.c: Fix coverity bug.
2719 * client-src/calcsize.c: Fix coverity bug.
2720 * client-src/client_util.c: Fix coverity bug.
2721 * client-src/sendbackup.c: Fix coverity bug.
2722 * client-src/sendsize.c: Fix coverity bug.
2723 * common-src/bsd-security.c: Fix coverity bug.
2724 * common-src/file.c: Fix coverity bug.
2725 * common-src/fileheader.c: Fix coverity bug.
2726 * common-src/pipespawn.c: Fix coverity bug.
2727 * recover-src/extract_list.c: Fix coverity bug.
2728 * restore-src/restore.c: Fix coverity bug.
2729 * server-src/amindexd.c: Fix coverity bug.
2730 * server-src/conffile.c: Fix coverity bug.
2731 * server-src/diskfile.c: Fix coverity bug.
2732 * server-src/driverio.c: Fix coverity bug.
2733 * server-src/dumper.c: Fix coverity bug.
2734 * server-src/planner.c: Fix coverity bug.
2735 * server-src/reporter.c: Fix coverity bug.
2737 2006-03-07 Paddy Sreenivasan <paddy@zmanda.com>
2738 * man/xml-source/amanda.8.xml: added amaespipe and amcrypt.
2740 2006-03-07 Jean-Louis Martineau <martineau@zmanda.com>
2741 * server-src/taper.c: Don't log a multi-line message in no-tape case.
2743 2006-03-06 John Franks <jrfranks@zmanda.com>
2744 * recover-src/extract_list.c:
2745 1) Don't add '.' directory twice to tar extract list.
2746 2) Don't prepend extra '/' to extract patterns starting with '/'.
2747 3) Convert "/" extract pattern to "*" equivalent.
2749 2006-03-06 Jean-Louis Martineau <martineau@zmanda.com>
2750 * server-src/taperscan.c (scan_slot): append slotstr to
2752 * server-src/taperscan.c: Add a '\n' after each slot error message.
2754 2006-03-06 Jean-Louis Martineau <martineau@zmanda.com>
2755 * server-src/reporter.c (handle_error): Handle error from taper.
2757 2006-03-06 Jean-Louis Martineau <martineau@zmanda.com>
2758 * server-src/taper.c (label_tape): Set errstr and return 0 if no
2759 valid tape are available.
2761 2006-03-03 Ian Turner <ian@zmanda.com>
2762 * common-src/amanda.h: New macros MAX_TAPE_LABEL_LEN and
2764 * common-src/amfeatures.h: New amfeature fe_amidxtaped_FEEDME
2765 * recover-src/extract_list.c: Accept port number with CONNECT;
2766 implement fe_amidxtaped_FEEDME.
2767 * restore-src/amidxtaped.c: Introduce port number with CONNECT.
2768 (closes SF bug 1431623)
2769 * restore-src/restore.c: Implement fe_amidxtaped_FEEDME.
2770 (closes SF bug 1421433)
2771 * restore-src/restore.h: Properly name rst_flags.
2773 2006-02-28 Jean-Louis Martineau <martineau@zmanda.com>
2774 * common-src/bsd-security.c (bsd_connect, netfd_read_callback, main):
2775 Set bh->proto_handle to NULL after allocating bh.
2776 * common-src/bsd-security.c (bsd_close): Donothing if
2777 bh->proto_handle == NULL.
2779 2006-02-28 Jean-Louis Martineau <martineau@zmanda.com>
2780 * common-src/protocol.c (s_repwait): Decrease p->timeout on receive
2783 2006-02-28 Jean-Louis Martineau <martineau@zmanda.com>
2784 * server-src/driver.c: Print dumper TRY_AGAIN message.
2786 2006-02-28 Jean-Louis Martineau <martineau@zmanda.com>
2787 * server-src/planner.c: Don't print estimate size if estimate failed.
2789 2006-02-25 Ian Turner <ian@zmanda.com>
2790 * man/Makefile.am: Don't use static patterns (as they are not
2791 portable), use implicit rules instead.
2793 2006-02-20 Kevin Till <ktill@zmanda.com>
2794 * common-src/krb4-security.c: changes needed for krb4/5 to compile. Thanks to
2796 * common-src/krb5-security.c: ditto.
2798 2006-02-16 Kevin Till <ktill@zmanda.com>
2799 * example/amanda.conf.in: dumptype option is "encrypt"
2800 * man/xml-source/amanda.conf.5.xml: ditto
2801 * server-src/holding.c: util.h is include'd twice
2802 * common-src/ssh-security.c: set correct debug print
2804 2006-02-10 Kevin Till <ktill@zmanda.com>
2805 * man/xml-source/amanda.8.xml: replace informaltable with literallayout
2807 2006-02-13 John Franks <jrfranks@zmanda.com>
2808 * server-src/driver.c: Pring a more precise message when taper
2809 returns an error. Include error message from taper in log.
2810 Print out "protocol error" if taper returns a bogus command.
2812 2006-02-10 Kevin Till <ktill@zmanda.com>
2813 * man/xml-source/amanda.conf.5.xml: add note about first character of a
2814 tapetype string must be alphabet
2816 2006-02-10 John Franks <jrfranks@zmanda.com>
2817 * server-src/taper.c: Call error() if an invalid string is read
2818 by syncpipe_getstr().
2820 2006-02-09 John Franks <jrfranks@zmanda.com>
2821 * Makefile.am, */Makefile.am: Corrections generated by David Braun
2822 dustybird@users.sourceforge.net to properly set source directories
2823 for remote (VPATH) builds.
2824 * man/Makefile.am: Fixed man page builds to use proper source and
2826 * autogen: Force rebuilding everything and print only syntax errors.
2827 (Errors are seen occasionally in system autogen files...)
2828 * configure.in: Eliminate possibility of empty string in shell tests.
2829 fix quoting of '[' and ']' characters in help messages.
2830 Fix default value for DUMPER_DIR to pick up EPREFIX correctly.
2832 2006-02-08 Ian Turner <ian@zmanda.com>
2833 * server-src/driver.c (handle_taper_result): Properly handle
2834 SPLIT_NEEDNEXT case. Thanks to Josef Wolf for finding this bug.
2837 2006-02-06 Kevin Till <ktill@zmanda.com>
2838 * restore-src/restore.c: fix comment formatting on version 1.2.1
2840 2006-02-06 Kevin Till <ktill@zmanda.com>
2841 * configure.in: Bug 1423731, SSH_SECURITY set only when --with-ssh-security used
2842 * server-src/Makefile.am:: not to install planner/dumper setuid-root --with-ssh-security
2843 * server-src/amcheck.c: ditto
2844 * server-src/dumper.c: ditto
2845 * restore-src/restore.c: add missing "}"
2847 2006-02-06 Ian Turner <ian@zmanda.com>
2848 * restore-src/amidxtaped.c: Properly handle changers,
2849 tape-label checking, and tape prompting in amrecover,
2850 amindexd, and amidextaped. Thanks to Paul Bijnens
2851 <pbijnens@users.sourceforge.net> for the patch.
2852 * restore-src/restore.c: ditto.
2853 * server-src/amindexd.c: ditto.
2855 2006-02-04 Paddy Sreenivasan <paddy@zmanda.com>
2856 * man/xml-source/amfetchdump.8.xml
2857 * man/xml-source/amcrypt.8.xml
2858 * man/xml-source/amanda.conf.5.xml
2859 * man/xml-source/amanda.8.xml
2860 * man/xml-source/amaespipe.8.xml
2861 * man/entities/global.entities: Merged changes from xml-docs tree
2863 2006-02-03 John Franks <jrfranks@zmanda.com>
2864 * server-src/taper.c: Fix null string printout in CHUNKERSUCCESS log line.
2866 2006-02-03 Ian Turner <ian@zmanda.com>
2867 * server-src/amadmin.c (main): Don't free conf_tapelist too
2868 early. Thanks to Cédric Lucantis
2869 <cedric-lucantis@users.sourceforge.net> for the patch.
2871 2006-02-02 Kevin Till <ktill@zmanda.com>
2872 * man/xml-source/amanda.8.xml: fix formatting. <informaltable> problem
2874 * man/xml-source/amrecover.8.xml: add note on client-encrypted tapes.
2876 2006-02-02 Ian Turner <ian@zmanda.com>
2877 * recover-src/extract_list.c (extract_files_child): Run tar with
2878 --numeric-owner if we are extracting a non-sambafied tar file.
2879 Thanks to Paul Bijnens <pbijnens@users.sourceforge.net> for
2880 the patch. Thanks also to Mark Schaefer for suggesting this
2883 2006-02-01 Jean-Louis Martineau <martineau@zmanda.com>
2884 * restore-src/restore.c: Use OFF_T_FMT to printf off_t variable,
2885 cast size_t to am64_t and use AM64_FMT to printf them.
2887 2006-01-31 Jean-Louis Martineau <martineau@zmanda.com>
2888 * server-src/driver.c (dumper_result): Reset sched(dp)->attempted to 0
2889 before adding it to tapeq.
2891 2006-01-27 Ian Turner <ian@zmanda.com>
2892 * configure.in: Add new option --without-xsltproc (and
2893 --with-xsltproc), which turns off (or forces) the use of xsltproc to
2894 build manpages. Thanks to Paul Bijnens
2895 <pbijnens@users.sourceforge.net> for suggesting this feature.
2897 2006-01-27 Ian Turner <ian@zmanda.com>
2898 * restore-src/amfetchdump.c: Properly clean up logfiles. Also,
2899 run as user amanda even if we are started as some other user.
2900 Thanks to Paul Bijnens <pbijnens@users.sourceforge.net> for the
2903 2006-01-25 Paddy Sreenivasan <paddy@zmanda.com>
2904 * common-src/amanda.h: Removed unnecessary header include files.
2906 2006-01-25 Kevin Till<ktill@zmanda.com>
2907 * server-src/amadmin.c: fix for sourceforge bug 1412698
2908 add missing parameters to "amadmin x disklist"
2909 * server-src/amstatus.pl.in: untaint user input, enforce known path.
2910 * server-src/amoverview.pl.in: untaint user input (bug 1353481)
2912 2006-01-25 Kevin Till<ktill@zmanda.com>
2913 * man/xml-source/amanda.conf.5.xml: fix formatting (<para> is not compatible
2914 with some tag) add supported auth types.
2916 2006-01-25 Kevin Till<ktill@zmanda.com>
2917 * common-src/bsd-security.c: move check_security to bsd_security.c,
2919 Thanks to Paul Bijnens
2920 * restore-src/amidxtaped.c: ditto
2921 * server-src/amindexd.c: ditto and no need to tell client
2922 about reason for denial
2923 * common-src/amanda.h: add proto of check_security
2924 * server-src/conffile.c: don't list CRYPT in the summary report
2926 * restore-src/restore.c: set outfd correctly for amfetchdump cases
2927 Thanks to Paul Bijnens
2929 2006-01-24 Ian Turner <ian@zmanda.com>
2930 * man/xml-source/amanda.conf.5.xml: Put documentation of
2931 split-dump options in the right place. Thanks to Paul Bijnens
2932 <pbijnens@users.sourceforge.net> for the fix.
2933 * man/xml-source/amanda.8.xml: ditto.
2935 2006-01-23 Ian Turner <ian@zmanda.com>
2936 * server-src/taperscan.c (find_brand_new_tape_label): Start
2937 brand new tape labels at 1 instead of 0. Thanks to Paul
2938 Bijnens <pbijnens@users.sourceforge.net> for the fix.
2940 2006-01-18 Jean-Louis Martineau <martineau@zmanda.com>
2941 * Amanda 2.5.0b2 released.
2942 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0b2).
2943 * NEWS: Update for 2.5.0b2
2945 2006-01-15 Jean-Louis Martineau <martineau@zmanda.com>
2946 * server-src/disk_history.c: Fix memory leak.
2948 2006-01-15 Jean-Louis Martineau <martineau@zmanda.com>
2949 * common-src/bsd-security.c: Fix memory leak.
2950 * common-src/tapelist.c: Fix memory leak.
2951 * restore-src/amidxtaped.c: Fix memory leak.
2952 * restore-src/restore.c: Fix memory leak.
2953 * server-src/amindexd.c: Fix memory leak.
2954 * server-src/conffile.c: Fix memory leak.
2955 * server-src/disk_history.c: Fix memory leak.
2956 * server-src/find.c: Fix memory leak.
2958 2006-01-13 John Franks <jrfranks@zmanda.com>
2959 * client-src/amandad.c: Remove SO_LINGER and TCP_NDELAY.
2960 Loop on I/O if EINTR or EAGAIN.
2961 * client-src/noop.c: Loop on I/O if EINTR or EAGAIN.
2962 * client-src/sendbackup.c: Remove SIGPIPE handler.
2963 Loop on I/O if EINTR or EAGAIN.
2964 Check for EPIPE on writes.
2965 * common-src/bsd-security.c: Loop on I/O if EINTR or EAGAIN.
2966 * common-src/stream.c: Remove SO_LINGER and TCP_NDELAY.
2967 * common-src/util.c: Loop on I/O if EINTR or EAGAIN.
2968 * recover-src/amrecover.c: Write commanda atomically in sigint handler
2969 * recover-src/extract_list.c:Remove SIGPIPE handler.
2970 Loop on I/O if EINTR or EAGAIN.
2971 Check for EPIPE on writes.
2972 Remove shutdown functions.
2973 * restore-src/amfetchdump.c: Remove SIGPIPE handler.
2974 * restore-src/amidxtaped.c: Remove SO_LINGER and TCP_NDELAY.
2975 Remove SIGPIPE handler.
2976 read_file_header does not return if it
2977 Fix infinite loop on EOF or error and
2978 fail if memory reallocation failure in
2980 * restore-src/restore.c: Remove SIGPIPE handler.
2981 Loop on I/O if EINTR or EAGAIN.
2982 Remove shutdown functions.
2984 * restore-src/restore.h: Change read_file_header to return void
2985 * server-src/amcheck.c: Use fullread() to handel EINTR etc.
2986 Remove unused variable.
2987 * server-src/changer.c: Remove SO_LINGER and TCP_NDELAY.
2988 Use fullwrite on socket.
2989 * server-src/driverio.c: Remove SO_LINGER and TCP_NDELAY.
2990 * server-src/taper.c: Use fullwrite() to write data.
2991 Use fullread() to read data.
2992 * tape-src/output-file.c; Use fullwrite() to write data.
2994 2006-01-13 Jean-Louis Martineau <martineau@zmanda.com>
2995 * server-src/amcheck.c (start_server_check): Remove unused variable
2997 * restore-src/restore.c (restore): Remove unused variable s, l and
3000 2006-01-12 Jean-Louis Martineau <martineau@zmanda.com>
3001 * recover-src/extract_list.c (send_to_tape_server): Do only on write.
3002 * restore-src/amidxtaped.c (get_client_line_fd): New function to read
3003 one complete line from an fd.
3005 2006-01-09 John Franks <jrfranks@zmanda.com>
3006 * common-src/amanda.h: Include tcp.h
3007 * client-src/amandad.c: Set TCP_NODELAY and SO_LINGER on sockets.
3008 * common-src/dgram.c: No linger on datagrams
3009 * common-src/stream.c: Set TCP_NODELAY and SO_LINGER on sockets.
3010 * common-src/util.c: Fix fullwrite to return # of bytes written
3012 * example/amanda.conf.in: Cleanup exclude list template.
3013 Use configure directlries instead of /usr/local
3014 * recover-src/extract_list.c: Cleanup read loops.
3015 Use real fullwrite instead of inline versions.
3016 Remove extra setting of LINGER on socket.
3017 * restore-src/amidxtaped.c: Set TCP_NODELAY and SO_LINGER on sockets.
3018 * restore-src/restore.c:Use real fullwrite instead of inline versions.
3019 * server-src/changer.c: Set TCP_NODELAY and SO_LINGER on sockets.
3020 * server-src/chunker.c: Use real fullwrite instead of inline versions.
3021 * server-src/driverio.c:Set TCP_NODELAY and SO_LINGER on sockets.
3022 * server-src/dumper.c: Use real fullwrite instead of inline versions.
3024 2006-01-09 Ian Turner <ian@zmanda.com>
3025 * changer-src/scsi-changer-driver.c: If there is a problem opening
3026 the device during GenericRewind, don't retry for 201 minutes; give
3027 up after only 200 seconds.
3029 2006-01-09 Ian Turner <ian@zmanda.com>
3030 * server-src/taperscan.c: When doing taper-scan algorithm, properly
3033 2006-01-09 Ian Turner <ian@zmanda.com>
3034 * tape-src/tapeio.c: Generate a more reasonable message when
3035 reading an empty tape label on brand-new tapes.
3037 2006-01-09 Ian Turner <ian@zmanda.com>
3038 * server-src/amcheck.c: Actually do what the documentation for
3039 amcheck -w says; that is, overwrite labels on tapes.
3041 2006-01-06 Kevin Till<ktill@zmanda.com>
3042 * server-src/amcheck.c: check if encrypt or compress program is
3043 executable. Check encrypt/compress configuration.
3044 * server-src/dumper.c: kill encrypt child when dump is stopped
3045 * server-src/amcrypt.sh.in: check for aespipe
3046 * server-src/amaespipe.sh.in: adjust PATH
3047 * man/xml-source/amtapetype.8.xml: fix format problem.
3049 2006-01-06 Jean-Louis Martineau <martineau@zmanda.com>
3050 * recover-src/extract-list.c: Remove 'U' argument for gtar extraction.
3052 2006-01-06 Jean-Louis Martineau <martineau@zmanda.com>
3053 * restore-src/restore.c (flush_open_outputs): Another shutdown is
3056 2006-01-05 John Franks <jrfranks@zmanda.com>
3057 * recover-src/extract_list.c: Extend linger timeouts to 60 seconds.
3058 Use shutdown() on sockets.
3059 Retry reads in case of EINTR or EAGAIN.
3060 * common-src/stream.c: set linger on correct socket.
3061 Extend linger timeouts to 60 seconds.
3062 * restore-src/restore.c: Fix compiler warnings.
3063 * Call shutdown in more cases.
3065 2006-01-05 John Franks <jrfranks@zmanda.com>
3066 * client-src/amandad.c: Set SO_LINGER on sockets.
3067 * common-src/dgram.c: Set SO_LINGER on sockets.
3068 * common-src/stream.c: Set SO_LINGER on sockets.
3069 * common-src/util.c: Return any bytes already read on error or EOF.
3070 * recover-src/extract_list.c: Set SO_LINGER on data socket.
3071 Fix printf of unterminated string data.
3072 Check return codes on socket header reads.
3073 * restore-src/amidxtaped.c: Set SO_LINGER on sockets.
3074 Check return codes on socket header reads.
3075 * restore-src/restore.c:
3076 Flush newline after operator prompt.
3077 * common-src/debug.c:
3078 Fix memory leak when debug file name already exists.
3079 Print error text upon hard open() error.
3080 Allow group members read only access to log files.
3082 2006-01-05 Kevin Till<ktill@zmanda.com>
3083 * restore-src/restore.c: handle sigpipe. Some program (e.g. bzip2) closes reading pipe
3084 early when it sees trailing garbage after EOF.
3086 2006-01-02 Jean-Louis Martineau <martineau@zmanda.com>
3087 * common-src/amanda.h: Add a FD_COPY macro.
3088 * recover-src/extract_list.c (writer_intermediary): Don't use
3089 writer_intermediary, do the select locally.
3091 2006-01-02 Jean-Louis Martineau <martineau@zmanda.com>
3092 * restore-src/restore.c (flush_open_outputs): Call shutdown before
3095 2005-12-30 John Franks <jrfranks@zmanda.com>
3096 * recover-src/extract_list.c:
3097 Fix double clearing of buffer during normal read path.
3098 * restore-src/amidxtaped.c
3099 Actually initialize changer if it is needed. (Set use_changer
3100 before checking it...)
3101 * Fix control messages being sent down the data pipe when
3102 restoring to client that does not support split dumps.
3103 * Print error and exit if a split dump is needed during restore
3104 and client can not handle it.
3106 2005-12-30 Ian Turner <ian@zmanda.com>
3107 * common-src/fileheader.c: Remove xx/UNKNOWN split-dump header
3108 syntax, in favor of xx/-1.
3110 2005-12-29 John Franks <jrfranks@zmanda.com>
3111 * recover-src/display_commands.c
3112 Fix list deletion which did not update list root with NULL pointer.
3113 Make free_dir_item() a non-recursive function to prevent stack bloat.
3114 Fix list insertion code which inserts item in list initializes entry.
3115 * recover-src/extract_list.c
3116 Fix to initialize lditem before using it...
3117 Prevent multiple frees of cmd string.
3118 Do not free err which is only initialized with static string pointers.
3119 Fix typo which caused newstralloc() to free the wrong memory.
3120 * server-src/amindexd.c
3121 Fix Compiler warning of unused variable.
3122 * server-src/taperscan.c
3123 Fix Compiler warning of bogus format specifier.
3125 2005-12-29 Kevin Till<ktill@zmanda.com>
3126 * man/xml-source/amcrypt.8.xml: add new amcrypt man page
3127 * man/xml-source/amaespipe.8.xml: add new amaespipe man page
3129 2005-12-29 Ian Turner <ian@zmanda.com>
3130 * man/xml-source/amanda.conf.5.xml: Document label_new_tapes
3133 2005-12-28 Ian Turner <ian@zmanda.com>
3134 * recover-src/amrecover.h: Use dynamic strings in struct DIR_ITEM.
3135 * recover-src/display_commands.c: ditto
3136 * recover-src/extract_list.c: ditto. Also use dynamic strings in
3137 struct EXTRACT_LIST and struct EXTRACT_LIST_ITEM.
3139 2005-12-28 Ian Turner <ian@zmanda.com>
3140 * common-src/amfeatures.h: Add three new amfeatures:
3141 fe_amindexd_marshall_in_OLSD, fe_amindexd_marshall_in_ORLD,
3142 fe_amindexd_marshall_in_DHST.
3143 * common-src/amfeatures.c: ditto.
3144 * server-src/amindexd.c: Talk well to older clients.
3146 2005-12-23 Ian Turner <ian@zmanda.com>
3147 * server-src/taperscan.c: Don't crash if find_brand_new_tape_label
3148 returns NULL. Also, don't return NULL from
3149 find_brand_new_tape_label without a good excuse.
3151 2005-12-23 Kevin Till <ktill@zmanda.com>
3152 * client-src/client_util.c: change server_decrypt_option to
3153 server-decrypt-option
3154 * client-src/sendbackup.c: change client_decrypt_option to
3155 client-decrypt-option
3156 * server-src/dumper.c: ditto
3157 * common-src/amfeatures.c: add crypt related amfeaturs
3158 * common-src/amfeatures.h: ditto
3159 * server-src/diskfile.c: amfeatures checking and warns on
3162 2005-12-23 Paddy Sreenivasan <paddy@zmanda.com>
3163 * restore-src/restore.c:
3164 * server-src/amtape.c:
3165 * server-src/taperscan.c : Make scan_init static function
3167 2005-12-23 John Franks <jrfranks@zmanda.com>
3168 * server-src/taper.c: Reduce I/O's system call overhead by 30%
3169 in main read / write loop.
3171 2005-12-23 John Franks <jrfranks@zmanda.com>
3172 * recover-src/restore.c Remove inapproriate aclose which caused
3173 broken restore pipe.
3174 * recover-src/extract_list.c Fix and cleanup read_buffer()
3175 mainly to fix hole that drops parital buffer of data if end
3176 of file is reached or an error occured.. Touched up calling
3177 functions to make sure EOF/timeouts are handled correctly.
3178 Increased normal path read timeout value from on second to
3179 whatever READ_TIMEOUT is set to.
3181 2005-12-22 Jean-Louis Martineau <martineau@zmanda.com>
3183 * restore-src/restore.c (restore): Remova an aclose.
3185 2005-12-22 Jean-Louis Martineau <martineau@zmanda.com>
3187 * restore-src/amidxtaped.c (cleanup): Function registered with atexit
3188 to remove the log file.
3190 2005-12-20 Jean-Louis Martineau <martineau@zmanda.com>
3192 * server-src/Makefile.am (noinst_HEADERS): Add taperscan.h.
3194 2005-12-20 John Franks <jrfranks@zmanda.com>
3196 * restore-src/restore.c: Remove unused variables.
3197 Fix uninitialize reference to bytes_read.
3198 * server-src/amcheck.c: Remove unused variables.
3199 Include taperscan.h for missing prototype.
3200 * server-src/amtape.c: Remove unused variables.
3201 Include taperscan.h for missing prototype.
3202 * server-src/taper.c: Remove unused variables.
3203 Minor indenting changes.
3204 * server-src/taperscan.c:Remove unused variables.
3205 Fix typo which assigns NULL rather than
3207 Commented out reference to auto_pos which
3208 is assigned but never used...
3210 2005-12-20 Jean-Louis Martineau <martineau@zmanda.com>
3212 * common-src/fileheader.c (parse_file_header): Parse '/' in part.
3213 * common-src/fileheader.c (build_header): Add space ' ' before "part".
3215 2005-12-20 Jean-Louis Martineau <martineau@zmanda.com>
3217 * server-src/reporter.c: Fix report of output size.
3219 2005-12-19 Ian Turner <ian@zmanda.com>
3220 * server-src/taperscan.c: Check that automatic tape labels satisfy
3223 2005-12-19 Ian Turner <ian@zmanda.com>
3224 * server-src/fileheader.c: Fix broken split-dump file headers.
3226 2005-12-18 Jean-Louis Martineau <martineau@zmanda.com>
3227 Patch by Paul Bijnens
3229 * server-src/amcheck.c: Tapelist file is regular file.
3231 2005-12-17 Jean-Louis Martineau <martineau@zmanda.com>
3233 * restore-src/restore.c (get_block): Return a ssize_t.
3234 * restore-src/restore.c: convert ssize_t to long for printing.
3235 * restore-src/restore.c (restore>): Remove unused variable, outpipe,
3238 2005-12-17 John R. Franks <jrfranks@zmanda.com>
3240 * restore-src/restore.h (read_file_header, restore): Return a ssize_t
3241 instead of using a global variable bytes_read.
3242 * restore-src/restore.c: Use local variable instead of global
3243 bytes_read. Many memory management fixe. Fixe pipe handling,
3244 * restore-src/amrestore.c: Use new read_file_header and restore.
3245 * restore-src/amfetchdump.c: Use new read_file_header and restore.
3247 2005-12-17 Jean-Louis Martineau <martineau@zmanda.com>
3248 With Kevin Till <ktill@zmanda.com>
3250 * common-src/fileheader.c (parse_file_header): Fix parsing of first
3252 * common-src/fileheader.c (build_header): Print crypt after programi
3253 and only if it is needed.
3255 2005-12-14 Ian Turner <ian@zmanda.com>
3257 * common-src/alloc.c: Add new function vstrextend, which extends an
3259 * common-src/amanda.h: Define vstrextend.
3260 * example/amanda.conf.in: Document new option
3261 label_new_tapes. Change default labelstr.
3262 * man/xml-source/amcheck.8.xml: Emphasize the destructiveness of
3264 * restore-src/restore.c: Use the new changer_find interface.
3265 * server-src/Makefile.am: Add new file taperscan.c
3266 * server-src/amcheck.c: Use the taper-scan algorithm in taperscan.c,
3267 instead of the previous separate amcheck implementation.
3268 * server-src/amtape.c: Use the taper-scan algorithm in taperscan.c,
3269 instead of the previous separate amtape implementation. Also, use
3270 the new changer_find interface for other kinds of tape finding.
3271 * server-src/changer.c: Eliminate changer_scan. Change the API to
3272 changer_find, so that callers can pass a user-data object, instead
3274 * server-src/changer.h: Declare and document new changer_find
3276 * server-src/conffile.c: Add new config option label_new_tapes.
3277 * server-src/conffile.h: ditto.
3278 * server-src/taper.c: Use the taper-scan algorithm in taperscan.c,
3279 instead of the previous separate taper implementation. Also,
3280 combine tape-label-reading for ZFTAPE and non-ZFTAPE drives (the
3281 difference only matters on writing).
3282 * server-src/taperscan.c: Refactor the taper-scan algorithm from
3283 taper, amtape, and amcheck. Implement label_new_tapes feature.
3284 * server-src/taperscan.h: Declare and document new taperscan
3286 * tape-src/tapeio.c: Notice the difference between a non-Amanda tape
3287 and some other tape-reading problem.
3288 * tape-src/tapeio.h: New declarations.
3290 2005-12-13 Jean-Louis Martineau <martineau@zmanda.com>
3292 * server-src/reporter.c (handle_success): On a taper line, the outsize
3293 should only count dump to tape, not flush.
3295 2005-12-13 Jean-Louis Martineau <martineau@zmanda.com>
3297 * server-src/amstatus.pl.in: Parse chunker DONE line to set output size.
3299 2005-12-09 John Franks <jrfranks@zmanda.com>
3301 * client-src/Makefile.am: Do not include tape library if
3302 configuring with --without-server option.
3303 * recover-src/Makefile.am: Do not include tape library if
3304 configuring with --without-server option.
3306 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
3308 * configure.in: Move the size detection after detection of large
3309 file support. That change the size of off_t.
3311 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
3313 * common-src/amanda.h: Set OFF_T_FMT to printf format of a off_t.
3314 * server-src/taper.c: Use OFF_T_FMT.
3316 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
3318 * configure.in: Set LL_FMT correctly.
3319 * server-src/conffile.c: Use LL_FMT.
3321 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
3323 * server-src/conffile.c: Maxdumpsize is a AM64.
3324 * server-src/planner.c: conf_maxdumpsize, total_size, tape_length and
3325 tape_mark are am64_t.
3327 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
3329 * configure.in: Check for sizeof of many type. Check printf format of
3331 * common-src/amanda.h: Typedef am64_t to a 64 bits signed type,i
3332 set AM64_FMT to the printf format of a am64_t variable.
3333 * server-src/conffile.c: New AM64 type.
3334 * server-src/conffile.h(getconf_am64): Prototype.
3336 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
3338 * client-src/Makefile.am: Remove amqde.
3339 * client-src/sendsize.c: Remove code to call amqde.
3340 * client-src/amqde.c: Remove file.
3341 * configure.in: Remove '--with-qde' option.
3343 2005-12-05 Jean-Louis Martineau <martineau@zmanda.com>
3345 * server-src/amindexd.c (reply, lreply, fast_lreply): Must use
3346 str_buffer_sizebuf instead of sizeof(bug).
3348 2005-12-05 Jean-Louis Martineau <martineau@zmanda.com>
3350 * server-src/planner.c: Print the time in the FINISH line.
3351 * server-src/reporter.c: The estimate time is based on the planner
3354 2005-12-05 Jean-Louis Martineau <martineau@zmanda.com>
3356 * common-src/Makefile.am (bsdsecurity_LDADD): Add ssh-security.
3358 2005-12-05 Jean-Louis Martineau <martineau@zmanda.com>
3360 * server-src/holding.c (scan_holdingdisk): Static function.
3361 * server-src/taper.c (signal_handler, install_signal_handlers): Ditto.
3362 * server-src/reporter.c (output_strange,do_postscript_output): Ditto.
3364 2005-12-04 Jean-Louis Martineau <martineau@zmanda.com>
3366 * server-src/logfile.c (logtype_str): Add important ','.
3368 2005-12-03 Jean-Louis Martineau <martineau@zmanda.com>
3370 * server-src/planner.c (setup_estimate): Fix wrong order for argument.
3372 2005-12-03 Jean-Louis Martineau <martineau@zmanda.com>
3374 * server-src/driver.c (start_some_dumps): Don't test for
3375 cur_idle == NOT_IDLE.
3377 2005-12-03 Jean-Louis Martineau <martineau@zmanda.com>
3379 * server-src/driverio.c (check_unfree_serial): New fonction to check
3380 unfreed serial number.
3381 * server-src/driverio.c (free_serial_dp): Set stable[s].dp to NULL.
3382 * server-src/driverio.h (check_unfree_serial): Prototype.
3383 * server-src/driver.c (main): Call check_unfree_serial.
3385 2005-12-02 Jean-Louis Martineau <martineau@zmanda.com>
3386 Patch by Franz Fischer
3388 * config/acinclude.m4i: Fix for __alpha.
3390 2005-12-02 Jean-Louis Martineau <martineau@zmanda.com>
3392 * common-src/util.c: Debug must end with '\n'.
3394 2005-12-01 Jean-Louis Martineau <martineau@zmanda.com>
3396 * configure.in: Amanda support x86_64-unknown-linux-gnu.
3398 2005-11-30 Jean-Louis Martineau <martineau@zmanda.com>
3400 * common-src/rsh-security.c (rsh_sendpkt): buf is a char array.
3401 * common-src/ssh-security.c (rsh_sendpkt): buf is a char array.
3402 * config/acinclude.m4i (AX_CREATE_STDINT_H): Newer macro.
3404 2005-11-30 Jean-Louis Martineau <martineau@zmanda.com>
3406 * client-src/rundump.c: undef USE_RUNDUMP before define.
3408 2005-11-30 Jean-Louis Martineau <martineau@zmanda.com>
3409 Patch by Franz Fischer
3411 * client-src/amqde.c: Fix compiler warning.
3413 2005-11-30 Jean-Louis Martineau <martineau@zmanda.com>
3414 Patch by Franz Fischer
3416 * common-src/event.h: Fix compiler warning.
3417 * server-src/conffile.h: Fix compiler warning.
3419 2005-11-30 Kevin Till <ktill@zmanda.com>
3421 * client-src/client_util.c add server-side, client-side encryption
3422 as well as custom compression. Custom compression patch is
3423 orginally created by Matthieu Lochegnies.
3424 * client-src/client_util.h Ditto
3425 * client-src/selfcheck.c Ditto
3426 * client-src/sendbackup-dump.c Ditto
3427 * client-src/sendbackup-gnutar.c Ditto
3428 * client-src/sendbackup.c Ditto
3429 * client-src/sendbackup.h Ditto
3430 * common-src/fileheader.c Ditto
3431 * common-src/fileheader.h Ditto
3432 * common-src/util.h Ditto
3433 * example/amanda.conf.in Ditto
3434 * man/xml-source/amanda.conf.5.xml Ditto
3435 * restore-src/amrestore.c Ditto
3436 * restore-src/restore.c Ditto
3437 * server-src/conffile.c Ditto
3438 * server-src/conffile.h Ditto
3439 * server-src/diskfile.c Ditto
3440 * server-src/diskfile.h Ditto
3441 * server-src/dumper.c Ditto
3443 2005-11-29 Jean-Louis Martineau <martineau@zmanda.com>
3445 * config/libtool.m4i: libtool 1.5.20
3446 * config/ltmain.sh: libtool 1.5.20
3448 2005-11-29 Jean-Louis Martineau <martineau@zmanda.com>
3449 Patch by Franz Fischer
3451 * common-src/fileheader.c (build_header): Declation before instruction.
3452 * restore-src/amfetchdump.c: Don't use C++ style comment.
3453 * restore-src/restore.c: Don't use C++ style comment.
3454 * server-src/amindexd.c (reply, lreply, fast_lreply): buf must be
3455 dynamicaly allocated.
3456 * server-src/logfile.h: Don't use C++ style comment.
3457 * server-src/taper.c (free_split_buffer): Test splitbuf against NULL.
3459 2005-11-22 Paddy Sreenivasan <paddy@zmanda.com>
3460 * common-src/rsh-security.c: Fix x86_64 compile warnings.
3461 * common-src/ssh-security.c: Fix x86_64 compile warnings.
3462 * man/Makefile.am: Added EXTRA_XML files.
3463 * man/xml-source/amanda.8.xml: Added spanning patch variables.
3464 * man/xml-source/amrecover.8.xml: Added amfetchdump to SEE ALSO.
3465 * xslt/global.entities: Removed file.
3467 2005-11-20 Jean-Louis Martineau <martineau@zmanda.com>
3468 Patch by Jon H. LaBadie
3470 * changer-src/chg-disk.sh.in: Check permission on file access.
3472 2005-11-17 Paddy Sreenivasan <paddy@zmanda.com>
3473 * man/entities/global.entities: New file. Added man page entities.
3474 * man/entities/xinclude.dtd: New file.
3475 * man/xslt/man.xsl: Correct include path for settings.xsl.
3477 2005-11-15 John R. Franks <jrfranks@zmanda.com>
3478 * changer-src/scsi-changer-driver.c: Fix IA-64 compile warnings.
3479 * common-src/rsh-security.c: Fix IA-64 compile warnings.
3480 * common-src/ssh-security.c: Fix IA-64 compile warnings.
3481 * regex-src/engine.c: Fix IA-64 compile warnings.
3482 * regex-src/regexec.c: Fix IA-64 compile warnings.
3484 2005-11-15 Paddy Sreenivasan <paddy@zmanda.com>
3486 * configure.in: Changed defaults for tape_dev and nr_tape_dev.
3487 * example/amanda.conf.in: Leave only changerfile definition
3489 * man/xml-source/amanda.conf.5.xml: Updated defaults for
3490 tapedev and rawtapedev
3492 2005-11-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3494 * server-src/planner.c: Fix incronly.
3496 2005-11-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3498 * man/Makefile.am: Set man_MANS,
3500 2005-11-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3502 * man/Makefile.am: Set man5_MANS and man8_MANS,
3503 install-data-hook use them.
3505 2005-11-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3506 Patch by Olivier Cherrier
3508 * man/Makefile.am (install-data-hook): Set protection correclty
3511 2005-10-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3513 * common-src/util.c (bind_portrange): Increase port in all case.
3515 2005-10-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3517 * server-src/conffile.c: Allow runtapes==0.
3518 * server-src/driver.c: Use a global conf_runtapes. Don't start a
3519 taper if runtapes==0.
3520 * server-src/reporter.c: Don't print The next tapes if runtapes==0.
3523 2005-10-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3525 * Amanda 2.5.0b1 released.
3526 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0b1).
3527 * NEWS: Update for 2.5.0b1.
3529 2005-10-25 Ian Turner <ian@zmanda.com>
3531 * man/Makefile.am: include amfetchdump.8.
3532 * man/xml-source/amadmin.8.xml: Add spanning-patch documentation.
3533 * man/xml-source/amanda.8.xml: ditto
3534 * man/xml-source/amrecover.8.xml: ditto
3535 * man/xml-source/amfetchdump.8.xml: ditto (new file)
3536 * man/xslt/global.entities: Add myself, Zmanda Inc.
3538 2005-10-24 Jean-Louis Martineau <martineau@zmanda.com>
3540 * client-src/sendsize.c (getsize_wrapper): Add a NULL at the end of
3541 the argvchild array.
3543 2005-10-20 Jean-Louis Martineau <martineau@zmanda.com>
3545 * server-src/server_util.c (getcmd): Print DEBUG to stderr.
3547 2005-10-20 Ian Turner <ian@zmanda.com>
3549 * configure.in: Check for xsltproc.
3550 * man/Makefile.am: Properly build, clean, and distribute generated
3551 manpages from XML source.
3552 * man/amadmin.8: Remove from CVS
3553 * man/amanda.8: Remove from CVS
3554 * man/amanda.conf.5: Remove from CVS
3555 * man/amcheck.8: Remove from CVS
3556 * man/amcheckdb.8: Remove from CVS
3557 * man/amcleanup.8: Remove from CVS
3558 * man/amdd.8: Remove from CVS
3559 * man/amdump.8: Remove from CVS
3560 * man/amflush.8: Remove from CVS
3561 * man/amgetconf.8: Remove from CVS
3562 * man/amlabel.8: Remove from CVS
3563 * man/ammt.8: Remove from CVS
3564 * man/amoverview.8: Remove from CVS
3565 * man/amplot.8: Remove from CVS
3566 * man/amrecover.8: Remove from CVS
3567 * man/amreport.8: Remove from CVS
3568 * man/amrestore.8: Remove from CVS
3569 * man/amrmtape.8: Remove from CVS
3570 * man/amstatus.8: Remove from CVS
3571 * man/amtape.8: Remove from CVS
3572 * man/amtapetype.8: Remove from CVS
3573 * man/amtoc.8: Remove from CVS
3574 * man/amverify.8: Remove from CVS
3575 * man/amverifyrun.8: Remove from CVS
3576 * man/xml-source/amadmin.8.xml: Add from xml-docs
3577 * man/xml-source/amanda.8.xml: Add from xml-docs
3578 * man/xml-source/amanda.conf.5.xml: Add from xml-docs
3579 * man/xml-source/amcheck.8.xml: Add from xml-docs
3580 * man/xml-source/amcheckdb.8.xml: Add from xml-docs
3581 * man/xml-source/amcleanup.8.xml: Add from xml-docs
3582 * man/xml-source/amdd.8.xml: Add from xml-docs
3583 * man/xml-source/amdump.8.xml: Add from xml-docs
3584 * man/xml-source/amflush.8.xml: Add from xml-docs
3585 * man/xml-source/amgetconf.8.xml: Add from xml-docs
3586 * man/xml-source/amlabel.8.xml: Add from xml-docs
3587 * man/xml-source/ammt.8.xml: Add from xml-docs
3588 * man/xml-source/amoverview.8.xml: Add from xml-docs
3589 * man/xml-source/amplot.8.xml: Add from xml-docs
3590 * man/xml-source/amrecover.8.xml: Add from xml-docs
3591 * man/xml-source/amreport.8.xml: Add from xml-docs
3592 * man/xml-source/amrestore.8.xml: Add from xml-docs
3593 * man/xml-source/amrmtape.8.xml: Add from xml-docs
3594 * man/xml-source/amstatus.8.xml: Add from xml-docs
3595 * man/xml-source/amtape.8.xml: Add from xml-docs
3596 * man/xml-source/amtapetype.8.xml: Add from xml-docs
3597 * man/xml-source/amtoc.8.xml: Add from xml-docs
3598 * man/xml-source/amverify.8.xml: Add from xml-docs
3599 * man/xml-source/amverifyrun.8.xml: Add from xml-docs
3600 * man/xslt/expand-sambadoc.xsl: Add from xml-docs
3601 * man/xslt/global.entities: Add from xml-docs
3602 * man/xslt/man.xsl: Add from xml-docs
3603 * man/xslt/settings.xsl: Add from xml-docs
3605 2005-10-20 Jean-Louis Martineau <martineau@zmanda.com>
3607 * server-src/amstatus.pl.in: a FLUSH command can't be in an estimate
3609 * server-src/driver.c: Start autoflush while waiting for estimate.
3610 * server-src/planner.c: Write FLUSH line before estimate.
3612 2005-10-17 Jean-Louis Martineau <martineau@zmanda.com>
3613 Patch by John R. Franks <jrfranks@zmanda.com>
3615 * server-src/taper.c (create_split_buffer): Should not use sizeof().
3617 2005-10-17 Jean-Louis Martineau <martineau@zmanda.com>
3619 * server-src/taper.c (read_file): Move the putresult(DONE) to the
3620 right place, some cleanup.
3622 2005-10-17 Jean-Louis Martineau <martineau@zmanda.com>
3624 * server-src/planner.c: Increase DEFAULT_DUMPRATE to 1024 K/s.
3626 2005-10-17 Ian Turner <ian@zmanda.com>
3628 * Changelog: Fix line breaks.
3629 * restore-src/restore.c: Give more useful FSF error messages.
3630 * recover-src/extract_list.c: Do better error checking on passed port
3632 * common-src/tapelist.c: Do proper memory management of strings.
3633 Otherwise really bad stuff happens.
3635 2005-10-17 Jean-Louis Martineau <martineau@zmanda.com>
3637 * server-src/taper.c: Set SIGPIPE to SIG_IGN, the code already
3638 handle it correctly.
3640 2005-10-16 Jean-Louis Martineau <martineau@zmanda.com>
3642 * server-src/taper.c (signal_handler): Don't REMOVE_SHARED_MEMORY, it
3645 2005-10-16 Jean-Louis Martineau <martineau@zmanda.com>
3647 * server-src/driverio.c (serial2disk): Print str if error.
3649 2005-10-15 Paddy Sreenivasan <paddy@zmanda.com>
3651 * server-src/taper.c: Shared memory need not be removed in normal paths.
3652 Done as part of atexit.
3654 2005-10-15 Jean-Louis Martineau <martineau@zmanda.com>
3655 Patch by John R. Franks <jrfranks@zmanda.com>
3657 * changer-src/scsi-aix.c: calls to open/openx guages success by
3658 checking for a file descriptor greater than 0. 0 is also a valid
3659 descriptor so the check should be >= 0.
3660 Calls to SCSI_OpenDevice does not check for error return.
3661 Calls to SCSI_OpenDevice does not check for error return.
3662 Calls to SCSI_OpenDevice does not check for error return.
3663 Call to opendir() does not check for error.
3664 * changer-src/scsi-hpux_new.c: Ditto.
3665 * changer-src/scsi-irix.c: Ditto.
3666 * changer-src/scsi-linux.c: Ditto.
3667 * changer-src/scsi-solaris.c: Ditto.
3668 * client-src/selfcheck.c: Call to open() does not check for error.
3669 * client-src/sendbackup.c: Call to freopen() does not check for error.
3670 * client-src/sendsize.c: Call to open() does not check for error.
3671 * common-src/bsd-security.c: Call to open() does not check for error.
3672 * common-src/file.c: Call to open() does not check for error.
3673 * restore-src/amrestore.c: Calls to tape_open() do not always check
3674 return code. open() is called with open flags set to 0
3675 (Call always fails with an EINVAL)
3676 * restore-src/restore.c: fopen() return error check is "fopen() < 0".
3677 fopen returns a pointer and the proper check should be
3679 Call to open() does not check for error.
3680 * tape-src/tapeio.c: tape_open() is called here and other places with a
3681 variable number of arguments, and yet is not defined as a varargs
3683 * tape-src/tapeio.h: Prototype for tape_open.
3685 2005-10-15 Jean-Louis Martineau <martineau@zmanda.com>
3686 Patch by Paddy Sreenivasan <paddy@zmanda.com>
3688 * client-src/sendsize.c: Log message changes.
3689 * server-src/taper.c: And an atexit function to detach shared memory.
3690 Trap some signal and detach shared memory.
3692 2005-10-14 Jean-Louis Martineau <martineau@zmanda.com>
3694 * regex-src/regcomp.c (findmust): Initialized start to NULL.
3696 2005-10-14 Jean-Louis Martineau <martineau@zmanda.com>
3697 Patch by John R. Franks <jrfranks@zmanda.com>
3699 * regex-src/cclass.h: Fixed to add missing braces and reformat long
3700 strings to fix in 80 columns.
3701 * regex-src/cname.h: Fixed by adding braces and tidying up code a bit.
3702 * regex-src/regcomp.c (p_ere): Initialized prevback and prevfwd to 0.
3703 ifdef out unused mcsub, mcin and mcfind functions.
3704 (findmust) Initialized newstart to NULL.
3705 * regex-src/regerror.c: Adds missing braces.
3706 * regex-src/regexec.c (nope): Use only in assert, so it is not only
3707 defined if NDEBUG is not defined.
3709 2005-10-14 Jean-Louis Martineau <martineau@zmanda.com>
3710 Patch by John R. Franks <jrfranks@zmanda.com>
3712 * common-src/krb4-security.c (krb4_security_dummy): Rename from dummy,
3713 it is not static int.
3714 * common-src/krb5-security.c (krb5_security_dummy): Rename from dummy,
3715 it is not static int.
3717 2005-10-13 Jean-Louis Martineau <martineau@zmanda.com>
3719 * common-src/util.c (bind_portrange): New argument proto.
3720 Check for reserved port.
3721 * common-src/util.h (bind_portrange): New prototype.
3722 * common-src/bsd-security.c (bind_portrange): New prototype.
3723 * common-src/dgram.c: Add "udp" as argument to bind_portrange.
3724 * common-src/stream.c: Add "tcp" as argument to bind_portrange.
3726 2005-10-12 Jean-Louis Martineau <martineau@zmanda.com>
3728 * restore-src/amidxtaped.c (check_security_buffer): i is a socklen_t.
3729 * restore-src/amidxtaped.c (main): Remove i, fd, amrestore_path, pid,
3730 isafile, stat_tape, tapename, s, fp, ch and errstr variable.
3732 2005-10-11 Ian Turner <ian@zmanda.com>
3733 Patch by Jean-Louis Martineau <martineau@zmanda.com>
3735 * restore-src/amfetchdump.c: Remove unused variable debug.
3736 * restore-src/amidxtaped.c: Remove lock_logfile(), which is also
3738 * restore-src/Makefile.am: Include libamanda twice, to fix build
3741 2005-10-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3743 * restore-src/Makefile (noinst_HEADERS): Add restore.h.
3744 * restore-src/restore.c (search_tapes): Add the fourth argument to
3747 2005-10-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3749 * server-src/conffile.c: dpcur.s_split_diskbuffer must be initialize
3751 * server-src/reporter.c (handle_partial): Set repdata to the result
3753 * server-src/taper.c: Set the first-file.
3755 2005-10-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3757 * client-src/client_util.c, server-src/amcheck.c,
3758 server-src/reporter.c: Add missing type for arguments.
3760 2005-10-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3762 * server-src/taper.c (tape_writer_side): detach_buffers on normal exit.
3764 2005-10-10 Ian Turner <ian@zmanda.com>
3766 * server-src/amtape.h: Apply tape-spanning patch by John Stange
3767 <building@cs.umd.edu> as ported to 2.5.0 by Ian Turner, with
3768 contributions by Christopher Pascoe <c.pascoe@itee.uq.edu.au>.
3769 * configure.in: Ditto
3770 * amplot/Makefile.am: Ditto
3771 * changer-src/Makefile.am: Ditto
3772 * client-src/Makefile.am: Ditto
3773 * common-src/Makefile.am: Ditto
3774 * common-src/amanda.h: Ditto
3775 * common-src/amfeatures.c: Ditto
3776 * common-src/amfeatures.h: Ditto
3777 * common-src/fileheader.c: Ditto
3778 * common-src/fileheader.h: Ditto
3779 * common-src/match.c: Ditto
3780 * common-src/tapelist.c: Ditto
3781 * common-src/tapelist.h: Ditto
3782 * example/amanda.conf.in: Ditto
3783 * man/Makefile.am: Ditto
3784 * recover-src/amrecover.c: Ditto
3785 * recover-src/amrecover.h: Ditto
3786 * recover-src/display_commands.c: Ditto
3787 * recover-src/extract_list.c: Ditto
3788 * restore-src/Makefile.am: Ditto
3789 * restore-src/amfetchdump.c: Ditto
3790 * restore-src/amfetchdump.h: Ditto
3791 * restore-src/amidxtaped.c: Ditto
3792 * restore-src/amrestore.c: Ditto
3793 * restore-src/restore.c: Ditto
3794 * restore-src/restore.h: Ditto
3795 * server-src/Makefile.am: Ditto
3796 * server-src/amadmin.c: Ditto
3797 * server-src/amindexd.c: Ditto
3798 * server-src/amoverview.pl.in: Ditto
3799 * server-src/amtoc.pl.in: Ditto
3800 * server-src/amverify.sh.in: Ditto
3801 * server-src/changer.c: Ditto
3802 * server-src/conffile.c: Ditto
3803 * server-src/conffile.h: Ditto
3804 * server-src/disk_history.c: Ditto
3805 * server-src/disk_history.h: Ditto
3806 * server-src/diskfile.c: Ditto
3807 * server-src/diskfile.h: Ditto
3808 * server-src/driver.c: Ditto
3809 * server-src/driverio.c: Ditto
3810 * server-src/find.c: Ditto
3811 * server-src/find.h: Ditto
3812 * server-src/holding.c: Ditto
3813 * server-src/holding.h: Ditto
3814 * server-src/logfile.c: Ditto
3815 * server-src/logfile.h: Ditto
3816 * server-src/planner.c: Ditto
3817 * server-src/reporter.c: Ditto
3818 * server-src/server_util.c: Ditto
3819 * server-src/server_util.h: Ditto
3820 * server-src/taper.c: Ditto
3822 2005-10-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3824 * server-src/taper.c: Change message: on new tape due to
3826 2005-10-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3827 Patch by John R. Franks
3829 * common-src/amflock.c (main): Don't call safe_fd, it's not needed
3831 * configure.in: '#include <sys/types.h>' in the check
3832 'for Linux like scsi support (sg)'
3834 2005-10-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3836 * client-src/amandad.c (writebuf): Call waitpid in the parent.
3838 2005-10-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3840 * client-src/amandad.c (service_delete): Remove call to sleep.
3841 * common-src/bsd-security.c: Add bsdprintf. Add more debug.
3842 The handle is used as a string, instead of 2 int.
3844 2005-10-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3846 * common-src/rsh-security.c: rshprintf should call dbprint.
3847 * common-src/ssh-security.c: rshprintf should call dbprint, add many
3849 * common-src/event.c: Add eventprintf, use it. Add debug_prefix_time
3852 2005-10-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3854 * common-src/stream.c: len is a socklen_t.
3855 * server-src/amindexd.c: Add socklen as a socklen_t.
3856 * restore-src/amidxtaped.c: Add socklen as a socklen_t.
3857 * tape-src/tapetype.c: Change printf format.
3858 * server-src/amlabel.c: Add a variable isa_zftape. init fd to -1.
3859 * server-src/dumper.c: Init outfd to -1.
3860 * common-src/file.c (areads_getbuf): First argument is const.
3862 2005-10-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3864 * server-src/reporter.c: Don't trunk hostname/diskname in
3865 'FAILURE AND STRANGE DUMP SUMMARY' section.
3867 2005-10-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3869 * server-src/chunker.c (main): Remove outfd.
3871 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3873 * server-src/conffile.c, server-src/diskfile.c, server-src/infofile.c,
3874 client-src/getfsent.c, common-src/statfs.c, common-src/token.c
3875 (main): Remove fd declaration.
3877 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3879 * client-src/runtar.c: 'e' and 'bdf' are only needed if GNUTAR.
3881 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3883 * common-src/sl.c (insert_sort_sl). Typo.
3885 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3887 * config/config.guess: Update from automake 1.9.5.
3888 * config/config.sub: Update from automake 1.9.5.
3889 * config/depcomp: Update from automake 1.9.5.
3890 * config/install-sh: Update from automake 1.9.5.
3891 * config/missing: Update from automake 1.9.5.
3892 * config/mkinstalldirs: Update from automake 1.9.5.
3893 * config/ltmain.sh: Update from libtool-1.5.16.
3894 * config/libtool.m4i: Update from libtool-1.5.16.
3896 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3898 * common-src/bsd-security.c: Fix small bug.
3900 2005-09-22 John R. Jackson <jrj@purdue.edu>
3902 * configure.in: If --without-server is specified, either on the
3903 command line or via config.site, make sure --without-restore
3904 is also in effect. Avoids compilation errors if mismatched.
3905 * example/config.site: Document above.
3907 2005-09-21 John R. Jackson <jrj@purdue.edu>
3909 * server-src/getconf.c: Allow CLIENT_LOGIN to be retrieved via
3910 "amgetconf build.CLIENT_LOGIN".
3912 2005-09-21 John R. Jackson <jrj@purdue.edu>
3914 * server-src/amlabel.c: 'int fd' is only needed if HAVE_LINUX_ZFTAPE_H
3917 2005-09-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
3919 * server-src/amlabel.c: 'int fd' is needed.
3921 2005-09-20 John R. Jackson <jrj@purdue.edu>
3923 * server-src/reporter.c: Fix minor typo noticed by Scott R. Burns
3924 <Scott.Burns@Netcontech.Com>.
3926 2005-09-20 John R. Jackson <jrj@purdue.edu>
3928 * common-src/file.c: Create safe_fd() to do common file descriptor
3929 safety operations at the start of every program. In addition
3930 to closing everything from three on up that used to be done
3931 with explicit code, make sure stdin, stdout and stderr are
3932 open per a potential (but unlikely) security report from Ben
3933 Schwarz <bschwarz@EECS.berkeley.EDU>.
3934 * common-src/amanda.h: Ditto.
3935 * client-src/amandad.c: Ditto.
3936 * client-src/calcsize.c: Ditto.
3937 * client-src/getfsent.c: Ditto.
3938 * client-src/killpgrp.c: Ditto.
3939 * client-src/rundump.c: Ditto.
3940 * client-src/runtar.c: Ditto.
3941 * client-src/selfcheck.c: Ditto.
3942 * client-src/sendbackup.c: Ditto.
3943 * client-src/sendsize.c: Ditto.
3944 * client-src/versionsuffix.c: Ditto.
3945 * common-src/amflock.c: Ditto.
3946 * common-src/rsh-security.c: Ditto.
3947 * common-src/ssh-security.c: Ditto.
3948 * common-src/statfs.c: Ditto.
3949 * common-src/token.c: Ditto.
3950 * recover-src/amrecover.c: Ditto.
3951 * restore-src/amidxtaped.c: Ditto.
3952 * restore-src/amrestore.c: Ditto.
3953 * server-src/amadmin.c: Ditto.
3954 * server-src/amcheck.c: Ditto.
3955 * server-src/amcleanupdisk.c: Ditto.
3956 * server-src/amflush.c: Ditto.
3957 * server-src/amindexd.c: Ditto.
3958 * server-src/amlabel.c: Ditto.
3959 * server-src/amlogroll.c: Ditto.
3960 * server-src/amtape.c: Ditto.
3961 * server-src/amtrmidx.c: Ditto.
3962 * server-src/amtrmlog.c: Ditto.
3963 * server-src/chunker.c: Ditto.
3964 * server-src/conffile.c: Ditto.
3965 * server-src/diskfile.c: Ditto.
3966 * server-src/driver.c: Ditto.
3967 * server-src/getconf.c: Ditto.
3968 * server-src/infofile.c: Ditto.
3969 * server-src/planner.c: Ditto.
3970 * server-src/reporter.c: Ditto.
3971 * server-src/taper.c: Ditto.
3972 * server-src/dumper.c: Ditto plus remove incorrect chdir to hard
3973 coded "/tmp/amanda".
3975 2005-09-20 John R. Jackson <jrj@purdue.edu>
3977 * client-src/calcsize.c: Fix format string.
3978 * server-src/diskfile.c: Fix compiler warnings.
3979 * server-src/planner.c: Fix compiler warnings.
3981 2005-09-20 John R. Jackson <jrj@purdue.edu>
3983 * common-src/amanda.h: Add dbreopen() so debug file can be closed
3984 and then reopened if needed.
3985 * common-src/debug.c: Ditto.
3986 * client-src/runtar.c: Close the debug file (fd 10) around the
3987 exec of GNU tar. Newer versions complain about stray file
3989 * server-src/getconf.c: Use dbreopen() to create the debug file.
3990 Do not try to open config file unless needed (allows clients to
3991 use build.XXX/dbopen.XXX/dbclose.XXX).
3993 2005-09-20 John R. Jackson <jrj@purdue.edu>
3995 * client-src/sendbackup-dump.c: Ignore a new message from Solaris
3998 2005-09-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4000 * common-src/bsd-security.c: Generate a unique event_id, thei
4001 proto_handle is not always unique.
4003 2005-09-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4005 * server-src/amverify.sh.in: Don't check for EOI, it's buggy.
4007 2005-09-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4009 * server-src/driverio.c: Don't save history with size < 0.
4011 2005-09-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4012 Patch by Geert Uytterhoeven <geert@linux-m68k.org>
4014 * server-src/planner.c: Don't use history with size < 0.
4016 2005-09-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4017 Patch Paul Bijnens <paul.bijnens@xplanation.com>
4019 * server-src/planner.c(delay_dumps): Delay incremental dump also
4022 2005-09-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4023 Patch by Orion Poplawski <orion@cora.nwra.com>
4025 * server-src/amoverview.pl.in: Add options -last, -num0 and -togo0.
4026 * man/amoverview.8: Document -last, -num0 and -togo0.
4028 2005-09-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4029 Patch by Orion Poplawski <orion@cora.nwra.com>
4031 * server-src/driver.c: Make tape_length and tape_left unsigned long.
4033 2005-07-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4034 Patch by Stefan G. Weichinger <monitor@oops.co.at>
4036 * client-src/sendbackup-gnutar.c: Added RE for new Samba-releases.
4038 2005-07-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4040 Bug found by John E Hein <jhein@timing.com>.
4041 * server-src/amadmin.c: Fix of by one with NB_HISTORY.
4042 * server-src/infofile.c:x: Fix of by one with NB_HISTORY.
4044 2005-06-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4045 Patch by Jay Fenlason <fenlason@redhat.com>
4047 * client-src/sendsize.c: Fix dbprintf call.
4049 2005-06-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4050 Stefan G. Weichinger <monitor@oops.co.at>
4052 * example/amanda.conf.in: edited the default-value for the
4053 holdingdisk-usage to "use -100 Mb".
4054 The old value "use 290 Mb" didn't make much
4057 2005-06-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4059 * server-src/amverifyrun.sh.in: Remove buggy space.
4061 2005-05-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4063 * server-src/amadmin.c: Add [--days <num>] argument to tape subcommand.
4065 2005-05-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4067 * example/amanda.conf.in: Update from 2.4.5.
4069 2005-05-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4071 * docs/*: New documentation from xml-docs.
4072 * docs/Makefile.am (pkgdata_DATA): Update for new files.
4074 2005-05-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4076 * man/Makefile.am (COMMON_MAN_PAGES): Add amanda.conf.5.
4078 2005-05-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4080 * man/*: Use man pages form xml-docs.
4081 * configure.in (AC_CONFIG_FILES): Remove all man pages.
4082 * man/Makefile.am (EXTRA_DIST): Add amadmin.8 amanda.8 amanda.conf.5
4083 amcheck.8 amcheckdb.8 amcleanup.8 amdump.8 amflush.8 amgetconf.8
4084 amlabel.8 amoverview.8 amreport.8 amrecover.8 amrmtape.8 amstatus.8
4085 amtapetype.8 amtoc.8 amverify.8 amverifyrun.8
4087 2005-05-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4089 * common-src/rsh-security.c (net_read_fillbuf): Read only a packet,
4091 * common-src/ssh-security.c (net_read_fillbuf): Read only a packet,
4093 * common-src/rsh-security.c (conn_put): Don't kill the process, only do
4094 a wait with WNOHANG.
4095 * common-src/ssh-security.c (conn_put): Don't kill the process, only do
4096 a wait with WNOHANG.
4098 2005-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4100 * changer-src/chg-zd-mtx.sh.in: Improve handling of
4101 "Unknown Storage Element Loaded".
4103 2005-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4104 - https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=144052
4106 * server-src/amverifyrun.sh.in: Filter changer log file.
4108 2005-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4110 * server-src/amcheck.c: Improve messages.
4112 2005-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4114 * client-src/sendsize.c (generic_calc_estimates): Use amname instead
4115 of dirname in message.
4117 2005-03-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4119 * server-src/conffile.h: Rename getcont_unit_divisor to
4120 getconf_unit_divisor.
4121 * server-src/amadmin.c: Use getconf_unit_divisor.
4122 * server-src/amcheck.c: Use getconf_unit_divisor.
4123 * server-src/conffile.c: Use getconf_unit_divisor.
4124 * server-src/conffile.c (unit_divisor): Init to 1.
4125 * server-src/reporter.c: Use getconf_unit_divisor. The mb macro always
4126 divide by 1024. Add the du macro. Use mb or du where appropriate.
4128 2005-03-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4130 * server-src/infofile.h (history_t): Add secs field.
4131 * server-src/infofile.c (read_txinfofile): Parse info file with secs
4133 * server-src/infofile.c (write_txinfofile): Write secs in history.
4134 * server-src/driverio.c (update_info_dumper): Update secs in history.
4136 2005-03-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4138 * server-src/planner.c: Improve server estimate.
4139 * server-src/planner.c: Write server estimate like others estimate.
4141 2005-02-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4143 * server-src/amstatus.pl.in: last_level is negative, on new disk.
4145 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4147 * server-src/amstatus.pl.in: Use '-?' to match negative values
4150 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4151 Patch by Orion Poplawski <orion@cora.nwra.com>
4153 * server-src/amoverview.pl.in: Print the total number of level 0
4154 dumps for each disk and the number of runs until the last level 0
4155 dump will be overwritten.
4157 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4158 Patch by Phil Homewood <pdh@snapgear.com>
4160 * server-src/amoverview.pl.in: Add -skipmissed option.
4162 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4164 * server-src/driver.c: Print the chunksize to the log.
4166 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4168 * client-src/calcsize.c: Print estimate to STDERR.
4169 * client-src/sendsize.c (generic_calc_estimates): Read calcsize result,
4170 and send it to amandad. Write debuging message.
4172 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4173 Patch by Franz G. Fischer
4175 * server-src/conffile.c: Adds a value type LONG and a val_t.l long
4176 union member and changes get_number() to return long and
4177 get_simple() to fill val_t.l if called for a long value. The
4178 get_simple() calls have been changed to LONG for typetype_t.blocksize
4179 typetype_t.length, typetype_t.filemark, holdingdisk_t.disksize and
4180 holdingdisk_t.chunksize.
4182 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4184 * server-src/amdump.sh.in: Redirect in append mode.
4185 * server-src/driver.c: Set stdout and stderr to not buffered.
4186 * server-src/planner.c: Set stderr to not buffered.
4187 Print 'setup_estimate:' on one line.
4188 * server-src/amstatus.pl.in: Parse new 'setup_estimate:' line.
4190 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4192 * client-src/calcsize.c: Improve estimate for sparse file and count
4193 space for filenames.
4195 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4197 * server-src/planner.c: Improve message if no incremental estimate.
4199 2004-12-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4200 Patch by Christopher Pascoe <c.pascoe@itee.uq.edu.au>
4202 * common-src/match.c (match_glob, match_tar): Don't amfree(regex)
4203 before calling error().
4205 2004-11-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4207 * server-src/driver.c (startaflush): Use ALGO_SMALLEST if nothing fit.
4209 2004-11-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4211 * server-src/driver.c: Typo.
4213 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4215 * restore-src/amrestore.c: Should now work correctly with empty file.
4216 * server-src/amverify.sh.in: Parse "End-of-Information detected."
4217 message from amrestore.
4219 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4221 * server-src/driver.c: tape_left should not become negative.
4223 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4224 Patch by Orion Poplawski <orion@cora.nwra.com>
4226 * server-src/diskfile.c: Parse negative spindle (-1).
4228 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4230 * server-src/amadmin.c: Balance subcommand use displayunit.
4231 * server-src/amcheck.c: Small cleanup.
4233 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4235 * restore-src/amrestore.c: Undo patch from 2004-11-11, it break
4238 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4240 * server-src/amstatus.pl.in: Remove trace.
4242 2004-11-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4244 * server-src/diskfile.c: Compilation fix.
4246 2004-11-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4248 * server-src/conffile.c: Parse displayunit,
4249 new fonction getcont_unit_divisor().
4250 * server-src/conffile.h: Prototype of getcont_unit_divisor().
4251 * server-src/amcheck.c: Use displayunit to display holding disk size.
4252 * server-src/amstatus.pl.in: Use displayunit to display dump size.
4253 * server-src/reporter.c: use displayunit to display dump size.
4254 * Document displayunit.
4256 2004-11-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4258 * server-src/reporter.c: Change 'Daily' for 'Incr.'.
4260 2004-11-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4262 * server-src/amstatus.pl.in Fix for level -1.
4264 2004-11-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4265 Patch by Daniel Widyono <widyono@seas.upenn.edu>
4267 * changer-src/chg-zd-mtx.sh.in: Fix for library with barcode.
4269 2004-11-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4271 * restore-src/amrestore.c: Read empty file.
4273 2004-11-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4275 * tape-src/tapetype.c: Use new tape.
4277 2004-11-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4279 * server-src/amstatus.pl.in: Display partial estimate.
4281 2004-11-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4283 * server-src/diskfile.c (read_diskline): A spindle must be numerical.
4285 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4287 * server-src/holding.c (rename_tmp_holding): Always rename files.
4289 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4291 * server-src/driver.c: Print message when too many retry.
4292 * server-src/amstatus.pl.in: Detect a failed dump after too many retry.
4293 * amplot/amplot.awk: Parse these message.
4295 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4297 * server-src/driver.c (dump_to_tape): Don't retry a dump indefinitely
4298 if dumper returns DONE and taper returns TRYAGAIN.
4300 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4302 * server-src/driver.c (dump_to_tape): Don't retry a dump indefinitely
4303 if dumper returns TRYAGAIN and taper returns DONE.
4305 2004-10-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4307 * server-src/amflush.c: Don't start a driver if nothing to flush.
4309 2004-10-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4310 Patch by Eric Siegerman <erics@telepres.com>
4312 * example/3hole.ps: Fix for multiple tape.
4314 2004-10-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4316 * server-src/amverify.sh.in: Terminate if no tape online.
4318 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4320 * server-src/amadmin.c (main): Call check_dumpuser() as soon as posible.
4322 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4324 * server-src/conffile.c (getconf_byname): Special case for typ == BOOL.
4326 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4328 * server-src/planner.c (promote_hills): Use dumpcycle instead of
4330 * example/amanda.conf.in: Remove warning for tapecyle set to inf.
4332 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4334 * server-src/amadmin.c (balance): Don't core dump if DUMPCYLE is too
4337 2004-09-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4339 * tape-src/tapetype.c: New -o option, doesn't overwrite amanda
4341 * man/amtapetype.8.in: Document new -o option.
4343 2004-09-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4345 * server-src/amstatus.pl.in: Works with failed dump to tape.
4347 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4349 * client-src/sendbackup-gnutar.c (end_backup): Write warning message
4351 * server-src/dumper.c (process_dumpline): Parse warning message.
4352 * server-src/reporter.c (handle_strange): Print warning message in
4353 the STRANGE summary.
4355 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4357 * server-src/driverio.c (free_serial): Set stable[s].dp to NULL.
4358 * server-src/driverio.c (disk2serial): Check that stable[s].dp == NULL.
4360 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4361 Patch by Joe Rhett <jrhett@isite.net>
4363 * common-src/alloc.c (safe_env): Keep SYSTEMROOT if __CYGWIN__.
4365 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4366 Patch by Orion Poplawski <orion@cora.nwra.com>
4368 * server-src/conffile.c (copy_dumptype): Copy maxpromoteday.
4370 2004-08-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4372 * client-src/selfcheck.c (check_disk): More check for CALCSIZE.
4374 2004-08-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4376 * common-src/amfeatures.h (fe_selfcheck_calcsize): New feature.
4377 * common-src/amfeatures.c (am_init_feature_set): Set
4378 fe_selfcheck_calcsize.
4379 * client-src/selfcheck.c: Check if calcsize binary is available if
4381 * server-src/amcheck.c (start_host): Call selfcheck with CALCSIZE
4382 if it support fe_selfcheck_calcsize.
4384 2004-08-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4386 * man/amanda.8.in: Document 'estimate' dumptype option.
4388 2004-08-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4390 * server-src/amrmtape.sh.in: Understand history info.
4392 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4394 * server-src/driver.c: Typo.
4396 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4398 * server-src/amstatus.pl.in: Parse CONTINUE and RQ-MORE-DISK line,
4399 print if a dump is waiting for holding disk space (roomq).
4401 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4403 * server-src/driver.c (handle_dumper_result, handle_chunker_result):
4404 Don't call free_serial().
4405 * server-src/driver.c (dumper_result): Call free_serial_dp(dp).
4406 * server-src/driverio.c (dumper_cmd): Remove CONTINUE cmd.
4407 * server-src/driverio.c (chunker_cmd): Print serial number for CONTINUE
4409 * server-src/driverio.c (disk2serial): Try to find a 'dp' before
4410 allocating a new serial.
4411 * server-src/driverio.c (free_serial_dp): New function to remove the
4413 * server-src/driverio.h (free_serial_dp): Prototype.
4414 * server-src/chunker.c (databuf_flush): Read serial number for CONTINUE
4417 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4419 * server-src/planner.c (getsize): Do SERVER estimate, call sendsize with
4422 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4424 * client-src/calcsize.c: Support exclude and include like gnutar,
4425 change in program argument.
4426 * client-src/sendsize.c: Execute calcsize as requested.
4427 * common-src/amfeatures.h (fe_calcsize_estimate): New feature.
4428 * common-src/amfeatures.c (am_init_feature_set): set
4429 fe_calcsize_estimate.
4430 * server-src/amcheck.c (start_host): Check if client support CALCSIZE
4433 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4435 * server-src/conffile.h (ES_CLIENT, ES_SERVER, ES_CALCSIZE): New define
4437 * server-src/conffile.h (dumptype_t): Add 'estimate' and 's_estimate'
4438 * server-src/conffile.c (get_estimate): New function to parse estimate
4440 * server-src/diskfile.c (read_diskline): Copy 'estimate'.
4441 * server-src/diskfile.h (disk_t): Add 'estimate'.
4442 * server-src/amadmin.c (disklist_one): Print estimate type.
4444 2004-08-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4446 * common-src/match.c (match_tar, tar_to_regex): New fonction similar
4447 to the exclude option of tar.
4448 * common-src/amanda.h (match_tar, tar_to_regex): Prototype.
4450 2004-08-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4452 * server-src/infofile.h (history_t): new struct.
4453 * server-src/infofile.h (info_t): Add a history_t.
4454 * server-src/infofile.c (read_txinfofile): Parse history data.
4455 * server-src/infofile.c (write_txinfofile): Print history data.
4456 * server-src/amadmin.c (export_one): export history data.
4457 * server-src/amadmin.c (import_one): import history data.
4458 * server-src/driverio.c (update_info_dumper): update history data.
4460 2004-05-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4461 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
4463 * server-src/planner.c: Log L_DISK for autoflush disk.
4465 2004-05-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4467 * server-src/planner.c (handle_result): Add dp to pestq at the
4470 2004-04-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4472 * common-src/amanda.h: #include "amanda-int.h" only if !CONFIGURE_TEST.
4474 2004-04-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4476 * config/acinclude.m4i (AX_CREATE_STDINT_H) : New macro.
4477 * configure.in: Use AX_CREATE_STDINT_H(common-src/amanda-int.h).
4478 * common-src/amanda.h: include "common-src/amanda-int.h".
4479 * changer-src/scsi-cam.c: Change u_int32_t for uint32_t.
4481 2004-04-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4483 * configure.in: Fix for automake 1.8.4.
4484 * config/acinclude.m4i: Fix for automake 1.8.4.
4486 2004-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4488 * configure.in: Result of autoupdate.
4490 2004-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4492 * config/config.guess: Update from automake 1.8.
4493 * config/config.sub: Update from automake 1.8.
4494 * config/depcomp: Update from automake 1.8.
4495 * config/install-sh: Update from automake 1.8.
4496 * config/missing: Update from automake 1.8.
4497 * config/mkinstalldirs: Update from automake 1.8.
4498 * config/ltmain.sh: Update from libtool-1.5.6.
4499 * config/libtool.m4i: Update from libtool-1.5.6.
4501 2004-04-26 Marc Mengel <mengel@fnal.gov>
4503 * tape-src/output-rait.c: Verify reads correctly.
4505 2004-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4507 * server-src/driver.c (continue_dumps): Fix deadlock if holding disk
4508 fill up when in degraded mode.
4510 2004-04-23 Eric Siegerman <eric_97@pobox.com>
4512 Bug fix: amflush would run, and consume a tape, even if there
4513 were no Amanda directories waiting to be flushed:
4514 * common-src/sl.c (is_empty_sl): New function to test
4515 whether a list is empty.
4516 * common-src/sl.h (is_empty_sl): Prototype.
4517 * server-src/amflush.sh (main): Use is_empty_sl(),
4518 rather than ==NULL, to test emptiness of datestamp_list.
4520 2004-04-23 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4522 * server-src/planner.c (setup_estimate): Typo.
4524 2004-04-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4526 Allow bumpsize, bumppercent, bumpdays and bumpmult to be in a dumptype.
4527 * server-src/conffile.c: Parse.
4528 * server-src/conffile.h: Define.
4529 * server-src/amadmin.c (disklist_one): Use.
4530 * server-src/diskfile.c (read_diskline): Initialize.
4531 * server-src/diskfile.h: Define.
4532 * server-src/planner.c: Use.
4533 * man/amanda.8.in: Document.
4535 2004-04-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4536 Fix by Paul Bijnens <paul.bijnens@xplanation.com>
4538 * server-src/planner.c (setup_estimate): Only ask for level 0 estimate
4539 if strategy is noinc.
4541 2004-04-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4542 Documentation from Paul Bijnens <paul.bijnens@xplanation.com>
4544 * man/amoverview.8.in: Document results.
4546 2004-04-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4547 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
4549 * server-src/amoverview.pl.in: Print last two characters.
4551 2004-04-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4553 * changer-src/chg-disk.sh.in: Fix for sh compatibility.
4555 2004-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4556 Fix by John Koyle <jkoyle@rfpdepot.com>
4558 * common-src/dgram.c: Fix EAGAIN on Linux.
4560 2004-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4562 * server-src/amadmin.c (bumpsize): Typo.
4564 2004-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4566 New bumppercent global option.
4567 * example/amanda.conf.in: Document it.
4568 * man/amanda.8.in: Document it.
4569 * server-src/amadmin.c (bumpsize): Write it.
4570 * server-src/conffile.c: Parse it.
4571 * server-src/conffile.h: Define It.
4572 * server-src/planner.c (bump_thresh): New size_level_0 parameter,
4573 use the new bumppercent option.
4575 2004-04-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4577 * server-src/amadmin.c: Rename host_t to amhost_t.
4578 * server-src/amcheck.c: Ditto.
4579 * server-src/amindexd.c: Ditto.
4580 * server-src/diskfile.c: Ditto.
4581 * server-src/diskfile.h: Ditto.
4582 * server-src/driver.c: Ditto.
4583 * server-src/planner.c: Ditto.
4585 2004-03-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4587 * amplot/amplot.awk: Parse "driver: tape size" line.
4589 2004-03-22 Stefan G. Weichinger <monitor@oops.co.at>
4591 * server-src/amcheck.c (start_host): Added warning for hostname
4593 * docs/TOP-TEN-QUESTIONS: added note about localhost-warning.
4595 2004-03-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4597 * docs/Makefile.am (pkgdata_DATA): Add TOP-TEN-QUESTIONS.
4599 2004-03-18 Stefan G. Weichinger <monitor@oops.co.at>
4601 * docs/TOP-TEN-QUESTIONS: New file.
4603 2004-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4605 * server-src/reporter.c (handle_success): Set stats[i].coutsize
4607 * server-src/taper.c: Do not subtract tt_blocksize_kb from filesize.
4609 2004-03-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4611 * common-src/ssh-security.c: New ssh security driver.
4612 * common-src/Makefile.am (libamanda_la_SOURCES): Add ssh-security.c.
4613 * common-src/security.c: Add ssh security driver.
4614 * configure.in: Add --with-ssh-security. Define SSH_SECURITY.
4616 2004-03-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4618 * server-src/amcheck.c: Do labelstr check in correct order.
4620 2004-03-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4622 Use only one time event for all dumpers, no wait event.
4623 start_some_dumps is called everytime a dumper or taper finish.
4624 * server-src/driver.c (dumpers_ev_time): New global event.
4625 * server-src/driver.c (start_some_dumps): Remove dumper argument,
4626 can start many dump.
4627 * server-src/driver.c (dumper_result): Call start_some_dumps instead
4629 * server-src/driver.c (handle_idle_wait): Remove function.
4630 * server-src/driver.c (handle_dumpers_time): new handle for
4631 dumpers_ev_time, it call start_some_dumps.
4632 * server-src/driverio.h (dumper_t): Remove ev_wait.
4633 * server-src/driverio.c (startup_dump_process): Don't set ev_wait.
4635 2004-03-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4637 * common-src/fileheader.c (print_header): Fix fprintf use.
4638 * client-src/amqde.c (parse_exclude_path): Fix = by ==.
4639 * common-src/protocol.c (s_repwait): Fix compiler warning.
4640 * common-src/rsh-security.c (runrsh): Fix compiler warning.
4642 2004-03-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4644 * common-src/pipespawn.c (pipespawn): Remove passwdvar and passwdfd.
4646 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4647 Reported by Allen Liu <allen@bellglobal.com>
4649 * server-src/amverifyrun.sh.in: Replace '-e' test by '-f'.
4651 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4653 * server-src/amcheck.c: Verify the tape is listed in the tapelist file.
4654 * server-src/taper.c: Ditto
4656 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4658 * server-src/driver.c (dump_schedule): Print complete name.
4660 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4662 The estimate send a PREP (partial REP) packet after each estimate.
4663 * client-src/amandad.c: Send PREP packet if sendsize.
4664 * common-src/amfeatures.c (am_init_feature_set): Add
4665 fe_partial_estimate.
4666 * common-src/amfeatures.h (am_feature_e): Add fe_partial_estimate.
4667 * common-src/packet.c (pktypes[]): Add PREP.
4668 * common-src/packet.h (pktype_t): Add P_PREP.
4669 * common-src/protocol.c (action_t): Add A_CONTPEND.
4670 * common-src/protocol.c: Handle P_PREP packet.
4671 * server-src/amstatus.pl.in: Parse "got partial result" line.
4672 * server-src/planner.c: Handle P_PREP packet.
4674 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4675 Reported by Jason Brooks <jason.brooks@windriver.com>
4677 * server-src/reporter.c: Remove duplicate setting of cd to
4680 2004-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4681 Patch by Philippe Charnier <charnier@xp11.frmug.org>
4683 * server-src/amtrmidx.c: Add '\n'.
4685 2004-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4687 * recover-src/set_commands.c (cd_glob): Fix memory leak.
4689 2004-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4691 * recover-src/set_commands.c (cd_dir, set_directory): Fix memory leak.
4692 * recover-src/uscan.l: Fix double amfree.
4694 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4696 * server-src/driver.c: Build holding disk name with timestamp.
4697 * server-src/holding.c (is_datestr): Check also for timestamp.
4698 * server-src/planner.c: Flush today's dump with autoflush.
4699 * server-src/find.c: Find holding disk with timestamp.
4700 * server-src/find.h (find_result_t): Add timestamp field.
4702 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4704 * changer-src/chg-zd-mtx.sh.in: Works if all slot and tape are full.
4706 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4708 * server-src/amverifyrun.sh.in: Do not execute amverify if no tape
4711 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4713 * server-src/amdump.sh.in: Do not redirect to /dev/null.
4715 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4717 * config/acinclude.m4i: Define CF_WAIT_INT.
4718 * configure.in: Call CF_WAIT_INT.
4719 * common-src/amanda.h: Try to make waitpid doesn't warn.
4721 2004-01-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4723 * Makefile.am (EXTRA_DIST): Add contrib/mkamandisk.
4725 2004-01-29 Christoph Pospiech <pospiech@de.ibm.com>
4727 * configure.in (AC_CONFIG_FILES): Add changer-src/chg-iomega.pl.
4728 * changer-src/Makefile.am (libexec_SCRIPTS) Add chg-iomega.
4729 * changer-src/chg-iomega.pl.in: New changer script.
4730 * docs/TAPE.CHANGERS: Document chg-iomega.
4731 * contrib/mkamandisk: Script to format iomega disk.
4733 2004-01-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4735 * restore-src/amidxtaped.c (scan_init): Remove the log file if it exit.
4737 2004-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4739 * configure.in: Set GNUTAR_LISTED_INCREMENTAL_DIRX.
4740 * example/amanda.conf.in: Update record documentation.
4741 * man/amanda.8.in: Update record documentation.
4743 2004-01-14 Stefan G. Weichinger <monitor@oops.co.at>
4745 * docs/INSTALL: Add config for xinetd.
4747 2004-01-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4749 * server-src/planner.c (handle_result): Detect bad estimate (-1).
4750 * server-src/planner.c (analyze_estimate): Don't schedule level
4751 if the estimate is bad.
4753 2003-12-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4755 * docs/HOWTO-FILE-DRIVER: New file.
4756 * docs/TAPE.CHANGERS: Explain chg-disk.
4757 * docs/Makefile.am (pkgdata_DATA): add HOWTO-FILE-DRIVER.
4759 2003-12-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4761 * docs/SYSTEM.NOTES: Add a note about sendsize coredump on AIX.
4763 2003-11-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4764 Patch by Jean-Christian SIMONETTI <simonetti@echo.fr>
4766 * changer-src/chg-disk.sh.in: New changer script.
4767 * changer-src/Makefile.am (libexec_SCRIPTS): Add chg-disk.
4768 * configure.in (AC_CONFIG_FILES): Add changer-src/chg-disk.sh.
4770 2003-11-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4772 * tape-src/tapetype.c: extern int optind.
4773 * tape-src/tapeio.c: extern int optind.
4775 2003-11-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4776 Patch by C.Scheeder <christoph.scheeder@scheeder.de>
4778 * changer-src/sense.c (SenseType): Add "DAT AutoChanger" and "C1537A".
4780 2003-11-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4782 * server-src/driver.c: Print the tape size.
4783 * server-src/amstatus.pl.in: print % of tape use.
4785 2003-11-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4787 * server-src/conffile.c (copy_dumptype): Copy in/exclude only if seen.
4789 2003-11-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4791 * server-src/reporter.c (output_tapeinfo): Fix printing of new tape.
4793 2003-11-25 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4795 * server-src/amcheck.c (taperscan_slot): Deal with label not in
4797 * server-src/amtape.c (taperscan_slot): Ditto.
4798 * server-src/taper.c (taperscan_slot): Ditto.
4800 2003-11-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4802 * server-src/driver.c (handle_taper_result): Always call
4803 continue_dumps() in TRYAGAIN case.
4805 2003-11-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4807 * changer-src/chg-chio.pl.in (getTapeStatus): Set $drives[$num] to 0
4808 if no tape in drive.
4810 2003-11-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4812 * docs/Makefile.am (pkgdata_DATA): Add HOWTO-AFS.
4814 2003-11-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4815 Patch by Mitch Collinsworth <mitch@ccmr.cornell.edu>
4817 * client-src/selfcheck.c: Skip accessibility check for AFS entries.
4818 * docs/HOWTO-AFS: New file.
4820 2003-11-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4822 * server-src/amadmin.c (tape): Display the next new tapes.
4823 * server-src/reporter.c (output_tapeinfo): Ditto.
4825 2003-10-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4827 * docs/Makefile.am (pkgdata_DATA): Add chg-scsi.notes.
4829 2003-10-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4831 * server-src/amcheck.c (taperscan_slot): Set found=3 if new tape.
4832 * server-src/amcheck.c (taper_scan): Handle found==3.
4833 * server-src/amtape.c (taperscan_slot): Set found=3 if new tape.
4834 * server-src/amtape.c (taper_scan): Handle found==3.
4835 * server-src/taper.c (taperscan_slot): Set found=3 if new tape.
4836 * server-src/taper.c (taper_scan): Handle found==3.
4838 2003-10-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4840 * server-src/amcheck.c: Use stralloc(optarg).
4841 * tape-src/ammt.c: Use stralloc(optarg).
4842 * tape-src/tapetype.c: Use stralloc(optarg).
4844 2003-10-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4845 Patch by Jay Fenlason <fenlason@redhat.com>
4847 * server-src/dumper.c: Don't set SIGCHLD to SIG_IGN.
4849 2003-10-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4850 Patch by Andrew Rucker Jones <arjones@simultan.dyndns.org>
4852 * client-src/sendbackup-gnutar.c (AM_SIZE_RE): Fix regex for samba3.
4854 2003-10-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4856 * server-src/amadmin.c (find): Call find_dump to allow dynamic disklist.
4857 * server-src/amindexd.c: Call find_dump to allow dynamic disklist.
4858 * server-src/amtrmidx.c: Call find_dump to allow dynamic disklist.
4859 * server-src/diskfile.c (add_disk): Set device and todo.
4860 * server-src/find.c: Build disklist dynamicaly from log files.
4861 * server-src/find.h (find_dump): New prototype.
4863 2003-10-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4865 * server-src/amlogroll.c: set_pname("amlogroll").
4867 2003-10-24 Todd M. Kover <kovert@omniscient.com>
4869 * add amqde for "quick and dirty estimates" under gnutar (program
4870 that will traverse the filesystem rather than invoke gnutar).
4871 controlled via configure option --with-qde. This really wants to
4872 be configured in the server.
4874 2003-10-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4876 * server-src/amverify.sh.in: Fix usage message.
4877 * common-src/fileheader.c (print_header): fprintf to outf.
4878 * server-src/tapefile.c (lookup_last_reusable_tape): Check for
4880 * server-src/amadmin.c (disklist_one): Don't print ':' on device line.
4882 2003-10-23 Todd Kover <kovert@omniscient.com>
4884 * make amrecover link against readline rather than libamanda so
4885 only amrecover would require the shared library (if it's found)
4887 2003-10-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4888 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
4890 * client-src/amandates.c (finish_amandates): Call error() if the
4892 * common-src/amflock.c (create_lock): Return -1 if the close of f fail.
4893 * common-src/amflock.c (read_lock): Don't set f to NULL if the close
4895 * server-src/tapefile.c (write_tapelist): Return 1 if the close of
4898 2003-10-14 John R. Jackson (jrj@purdue.edu)
4900 * docs/SYSTEM.NOTES: Add FreeBSD 5.1 note about setting the UDP packet
4901 size, compliments of Nicolas Ecarnot <nicolas.ecarnot@accim.com>.
4903 2003-10-14 John R. Jackson (jrj@purdue.edu)
4905 * client-src/sendsize.c: Handle case where PID's get re-used.
4907 2003-10-14 John R. Jackson (jrj@purdue.edu)
4909 * configure.in: Need to check for sys/gscdds.h on AIX to enable
4912 2003-10-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4914 * common-src/genversion.c (prundefvar): New function to print an
4916 * common-src/genversion.c: Print undefined variable.
4917 * server-src/amcheck.c: Improve message for no LPRCMD defined.
4919 2003-07-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4921 * restore-src/amidxtaped.c: Don't clea re_label before checking
4924 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4925 Patch by Scott Mcdermott <smcdermott@questra.com>
4927 * changer-src/chg-zd-mtx.sh.in (initial_poll_delay): New config
4928 variable to add a pause after a tape loading.
4930 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4931 Fix by John E. Hein <jhein@timing.com>
4933 * changer-src/chg-manual.sh.in: Quote @EGREP@.
4934 * changer-src/chg-null.sh.in: Quote @EGREP@.
4936 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4938 * amplot/amplot.sh.in: Remove files before runnig amplot.awk.
4939 * amplot/amplot.awk: Parse 'flush line', fix tape_wait line.
4940 * server-src/driver.c (read_flush): Write a 'flush size' to the
4943 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4945 * changer-src/chg-chio.pl.in: Fix next/prev command.
4947 2003-07-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4948 patch by Paul Bijnens <paul.bijnens@xplanation.com>
4950 * client-src/client_util.c (add_include): Count include with 2 /,
4951 Fix descriptor leak.
4953 2003-06-25 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4955 * server-src/amstatus.pl.in: Fix print spacing for idle dumpers.
4957 2003-06-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4959 * server-src/holding.c: Fix compiler error.
4960 * server-src/planner.c: Use snprintf.
4962 2003-06-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4963 patch by Paul Bijnens <paul.bijnens@xplanation.com>
4965 * tape-src/tapetype.c: Avoid a numerical overflow for large tape
4968 2003-06-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4970 * server-src/amstatus.pl.in: Fix to failed tape.
4972 2003-06-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4974 * server-src/planner.c (delay_dumps): Delay not delay forced full
4977 2003-06-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4979 * changer-src/chg-zd-mtx.sh.in: Log the changer file used.
4981 2003-06-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4983 * server-src/amverify.sh.in: Do not advance to next tape.
4985 2003-06-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4986 patch by Eric Siegerman <eric_97@pobox.com>
4988 * server-src/planner.c: Make promote_hills() honour maxpromotedays.
4990 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4992 * changer-src/scsi-bsd.c: Use pDev[DeviceFD].fd instead of DeviceFD.
4993 * changer-src/scsi-hpux_new.c:Use pDev[DeviceFD].fd instead of DeviceFD.
4994 * changer-src/scsi-linux.c: Use pDev[ip].fd instead of DeviceFD.
4996 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
4998 * client-src/noop.c: #include "util.h".
5000 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5002 * server-src/amflush.c: Implement new -b and -s options.
5003 * man/amflush.8.in: Document it.
5005 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5007 * server-src/driver.c (dump_to_tape): Don't go in degraded mode if
5010 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5012 * tape-src/output-rait.c: Don't call waitpid if we didn't fork.
5014 2003-06-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5016 * server-src/amverify.sh.in: Use @MAXTAPEBLOCKSIZE@ instead of 32.
5018 2003-06-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5019 Bug reported by Sven Rudolph <rudsve@drewag.de>
5021 * server-src/holding.c (mkholdingdir): New function to create a holding
5023 * server-src/holding.h (mkholdingdir): Prototype.
5024 * server-src/driver.c: Use mkholdingdir;
5025 * server-src/chunker.c: Call mkholdingdir before opening a file for
5028 2003-06-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5029 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
5031 * server-src/amstatus.pl.in: Fix for missing amdump.1 or amflush.1.
5033 2003-06-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5034 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
5036 * server-src/amstatus.pl.in: If nothing is active, it now gives the
5037 status of the last run (amdump or amflush).
5038 * man/amstatus.8.in: Document it.
5040 2003-05-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5042 * tape-src/output-file.c (check_online): Write error if opendir failed.
5044 2003-05-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5045 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
5047 * server-src/amoverview.pl.in: Use 'amadmin <conf> disklist' instead
5048 of parsing the disklist file.
5050 2003-05-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5052 * server-src/tapefile.c (read_tapelist,parse_tapeline): Fix for
5055 2003-05-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5057 * common-src/versuff.c.in: Use @VERSION_SUFFIX@.
5059 2003-05-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5061 * example/amanda.conf.in: Add more amrecover_changer doc.
5062 * man/amanda.8.in: Add more amrecover_changer doc.
5063 * man/amrecover.8.in: Add more amrecover_changer doc.
5065 2003-05-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5067 * server-src/tapefile.c (read_tapelist): Ignore blank line.
5068 * server-src/tapefile.c (parse_tapeline): Newer status parameter, set
5069 it to '1' when reading blank line.
5071 2003-04-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5073 * configure.in (AC_CHECK_HEADERS): Enleve linux/ftape-header-segment.h,
5074 linux/ftape-vendors.h et linux/ftape.h.
5076 2003-04-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5077 Patch by Darin Dugan <dddugan@iastate.edu>
5079 * server-src/amcheck.c: Change subject in email if no error.
5081 2003-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5083 * common-src/error.c (output_error_message): Always prepend program
5086 2003-04-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5088 * server-src/amstatus.pl.in: Fix for estimate disk.
5090 2003-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5092 * server-src/taper.c: Read holding file correctly if blocksize != 32k.
5094 2003-04-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5095 New file by Robert C Dege <RDege@northropgrumman.com>
5097 * configure.in: Find mcutil binary.
5098 * configure.in (AC_CONFIG_FILES): Add changer-src/chg-mcutil.sh and
5099 example/chg-mcutil.conf.
5100 * changer-src/Makefile (libexec_SCRIPTS): Add chg-mcutil.
5101 * changer-src/chg-mcutil.sh.in: New file.
5102 * example/Makefile (EXTRA_DIST): Add chg-mcutil.conf
5103 * example/chg-mcutil.conf.in: New file.
5105 2003-04-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5107 * man/amanda.8.in (blocksize): Document the --with-maxtapeblocksize
5110 2003-04-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5112 * server-src/amverifyrun.sh.in: Run the amverify command.
5114 2003-04-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5115 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
5117 * server-src/reporter.c: Get the filenumber correct.
5119 2003-04-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5120 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
5122 * server-src/reporter.c: Print a postscript label for each tape used.
5124 2003-03-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5126 * configure.in (*-sco3.2v4*): It is not like *-sco3.2v5*,
5127 define DEV_PREFIX and RDEV_PREFIX.
5129 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5131 * configure.in: Typo.
5133 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5134 Patch by Gert Doering <gert@greenie.muc.de>
5136 * client-src/getfsent.c (get_fstab_nextentry): Compile on *-sco3.2v4*.
5138 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5140 * configure.in: Compile on *-sco3.2v4*
5142 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5144 * configure.in: Use '=' instead of '=='.
5146 2003-03-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5148 * recover-src/set_commands.c (set_tape): Recognize null:, rait:,
5149 file: and tape: as driver, not host name.
5151 2003-03-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5153 * server-src/amrmtape.sh.in: Print better output.
5155 2003-03-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5157 * changer-src/Makefile.am (libexec_SCRIPTS): Missing \.
5159 2003-03-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5161 * client-src/client_util.c (add_include): If include contain 2 '/' then
5162 use at asis, don't try to match it.
5164 2003-03-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5166 * server-src/changer.h (changer_label): Return an int.
5167 * server-src/changer.h (changer_label): First parameter is char *.
5169 2003-03-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5171 * file tape-src/output-rait.c (rait_open): Call tapefd_set_master_fd();
5172 * file tape-src/tapeio.c (struct tape_info): Add master_fd field.
5173 * file tape-src/tapeio.c (tape_info_init): Set master_fd to -1;
5174 * file tape-src/tapeio.c (tapefd_getinfo_host, tapefd_getinfo_disk,
5175 tapefd_getinfo_level): Return info of master_fd.
5176 * file tape-src/tapeio.c (tapefd_set_master_fd): New function to set
5178 * file tape-src/tapeio.h (tapefd_set_master_fd): Prototype.
5180 2003-03-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5182 * tape-src/output-file.c (file_tapefd_can_fork): New function that
5183 return 1 if the file: can be run under a forked process.
5184 * tape-src/output-file.h (file_tapefd_can_fork): Prototype.
5185 * tape-src/output-null.c (null_tapefd_can_fork): New function that
5186 return 1 if the null: can be run under a forked process.
5187 * tape-src/output-null.h (null_tapefd_can_fork): Prototype.
5188 * tape-src/output-rait.c (rait_close, rait_tapefd_ioctl): Fork only if
5189 * tapefd_can_fork() return 1.
5190 * tape-src/output-rait.c (rait_tapefd_can_fork): New function that
5191 return 1 if the rait: can be run under a forked process.
5192 * tape-src/output-rait.h (rait_tapefd_can_fork): Prototype.
5193 * tape-src/output-tape.c (tape_tapefd_can_fork): New function that
5194 return 1 if the tape: can be run under a forked process.
5195 * tape-src/output-tape.h (tape_tapefd_can_fork): Prototype.
5196 * tape-src/tapeio.c (struct virtualtape): Add xxx_tapefd_can_fork and
5197 initialize vtable[];
5198 * tape-src/tapeio.c (tapefd_can_fork): New function to can the driver
5199 xxx_tapefd_can_fork function.
5200 * tape-src/tapeio.h (tapefd_can_fork): Prototype.
5202 2003-03-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5204 * tape-src/output-file.c (file_tapefd_write): Call file_release(fd)
5205 before opening the file for writing.
5207 2003-03-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5209 * changer-src/chg-zd-mtx.sh.in: Default for driveslot is 0.
5211 2003-03-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5213 * amplot/amplot.sh.in: New -b option for b/w postscript.
5214 * amplot/amplot.awk: Add 'color' to command if bw is set.
5215 * amplot/amplot.g: Change line 6 to line 8.
5216 * man/amplot.8: Document -b option.
5218 2003-03-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5220 * recover-src/extract_list.c: Fix the name of the
5221 amidxtaped.<timestamp>.debug file.
5223 2003-02-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5224 Patch by Eric Doutreleau <Eric.Doutreleau@int-evry.fr>
5226 * restore-src/amidxtaped.c: Use the device sent by the changer.
5228 2003-02-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5230 * restore-src/amidxtaped.c: Remove lock 'unlink(conf_logfile)' on
5233 2003-02-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5235 * server-src/changer.c: Sync with 2.4.4.
5237 2003-02-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5239 * client-src/client_util.c: Print error except ENOENT for
5240 exclude/include files.
5242 2003-02-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5244 * tape-src/tapetype.c: Use %ld to print some variable.
5246 2003-02-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5248 * server-src/conffile.c (init_defaults): conf_printer.s must be set
5251 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5252 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
5254 * tape-src/tapetype.c: Document -c option.
5256 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5258 * changer-src/chg-zd-mtx.sh.in:Print "are you sure your drive slot is n"
5260 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5262 * server-src/tapefile.c (read_tapelist): return 1 if can't open the
5265 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5267 * man/amtapetype.8.in: Add doc from a mail by John R. Jackson.
5269 2003-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5271 * server-src/amcheck.c: New -a option.
5272 * man/amcheck.8.in: Document it.
5274 2003-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5276 * server-src/amindexd.c (build_disk_table): Compare the level.
5278 2003-02-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5279 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
5281 * tape-src/tapetype.c: New -c argument to do only the compression test.
5282 Better detection of compression.
5283 * man/amtapetype.8.in: Document -c argument.
5285 2003-02-09 John R. Jackson (jrj@purdue.edu)
5287 * tape-src/tapetype.c: Allocate the I/O buffers on page boundaries.
5288 This helps performance on some OS's.
5290 2003-02-08 John R. Jackson (jrj@purdue.edu)
5292 * restore-src/amrestore.c: Clean up strtol() argument processing.
5294 2003-02-08 John R. Jackson (jrj@purdue.edu)
5296 * docs/INSTALL: Clean up supporting package versions and URL's.
5298 2003-02-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5300 * docs/Makefile.am (pkgdata_DATA): Add HOWTO-CYGWIN.html.
5302 2003-02-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5303 Patch by Christophe Kalt <kalt@taranis.org>
5305 * client-src/sendbackup-dump.c: New AM_SIZE_RE for NetApp.
5306 * client-src/sendsize.c: New re_size for NetApp.
5308 2003-02-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5309 Fix by Colin Henein <cmh@>
5311 * common-src/amanda.h: Fix for the where S_ISDIR is not defined.
5313 2003-02-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5314 Patch by Doug Kingston <dpk@randomnotes.org>
5316 * configure.in (NEED_SETUID_CLIENT): Set to false on *-pc-cygwin.
5317 * configure.in (WANT_SETUID_CLIENT): Set if NEED_SETUID_CLIENT != false.
5318 * client-src/Makefile.am: Don't chmod u+s if WANT_SETUID_CLIENT.
5320 2003-02-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5321 Patch by Andrew Rucker Jones <arjones@simultan.dyndns.org>
5323 * man/amtapetype.8.in: Fix example.
5325 2003-01-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5327 * common-src/amanda.h: #define S_ISDIR if not already defined.
5329 2003-01-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5330 File from Doug Kingston <dpk@randomnotes.org>
5332 * docs/HOWTO-CYGWIN.html: New file.
5334 2003-01-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5336 * configure.in: Define WANT_RUNTIME_PSEUDO_RELOC on cygwin
5337 * client-src/Makefile.am: AM_LDFLAGS="-Wl,-enable-runtime-pseudo-reloc"
5338 if WANT_RUNTIME_PSEUDO_RELOC.
5339 * recover-src/Makefile.am: Ditto.
5341 2003-01-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5343 * tape-src/output-rait.h: #define stralloc strdup
5344 * tape-src/output-rait.c: Revert patch of 2003-01-26, we don't have
5345 vstralloc in standalone.
5347 2003-01-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5348 Reported by Doug Kingston <dpk@randomnotes.org>
5350 * recover-src/Makefile.am: Set AM_YFLAGS instead of YFLAGS.
5352 2003-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5354 * tape-src/output-rait.c (tapeio_next_devname): Use vstralloc.
5356 2003-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5358 * changer-src/chg-scsi-chio.c: Change strdup to stralloc.
5359 * changer-src/chg-scsi.c: Ditto.
5360 * changer-src/scsi-aix.c: Ditto.
5361 * changer-src/scsi-bsd.c: Ditto.
5362 * changer-src/scsi-cam.c: Ditto.
5363 * changer-src/scsi-changer-driver.c: Ditto.
5364 * changer-src/scsi-hpux_new.c: Ditto.
5365 * changer-src/scsi-irix.c: Ditto.
5366 * changer-src/scsi-linux.c: Ditto.
5367 * changer-src/scsi-solaris.c: Ditto.
5368 * changer-src/sense.c: Ditto.
5369 * tape-src/output-rait.c: Ditto.
5371 2003-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5373 * server-src/taper.c (read_file): Don't count header in filesize.
5375 2003-01-25 John R. Jackson (jrj@purdue.edu)
5377 * tape-src/tapeio.c: Fix tape_access() and tape_stat() problem caused
5378 by indeterminate compiler order of evaluation.
5380 2003-01-25 John R. Jackson (jrj@purdue.edu)
5382 * restore-src/amidxtaped.c: Log errno when tape_stat fails.
5383 * restore-src/amrestore.c: Ditto.
5384 * tape-src/output-rait.c: Ditto.
5386 2003-01-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5388 * server-src/amstatus.pl.in: print an usage by tape.
5390 2003-01-23 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5392 * recover-src/extract_list.c (add_extract_item, delete_extract_item):
5393 Check also for level when comparing label.
5395 2003-01-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5397 Do not build chg-scsi-chio, it is buggy.
5398 * changer-src/Makefile.am (libexec_PROGRAMS): remove $(CHIO_SCSI).
5399 * changer-src/Makefile.am (EXTRA_PROGRAMS): add $(CHIO_SCSI).
5401 2003-01-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5403 * configure.in: disable amrestore if --without-server is set.
5405 2003-01-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5407 * client-src/amandad.c: Use the dbfd macro instead of the external
5409 * client-src/selfcheck.c: Ditto.
5410 * client-src/sendbackup.c: Ditto.
5411 * client-src/sendsize.c: Ditto.
5412 * client-src/sendbackup-gnutar.c: Use save_errno instead of errno.
5413 * common-src/debug.c: Move most declaration inside #ifdef DEBUG_CODE.
5414 * server-src/amindexd.c: dup db_fd() to stderr.
5415 * server-src/conffile.c: Don't call error() if the config file does not
5416 exist, just write to stderr and set got_parserror.
5418 2003-01-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5420 * recover-src/amrecover.c: Fix memory leak.
5422 2003-01-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5424 Add new maxpromoteday option in a dumptype.
5425 * example/amanda.conf.in: Give an example
5426 * man/amanda.8.in: Document it.
5427 * server-src/amadmin.c: Print it in the disklist subcommand.
5428 * server-src/conffile.c: read it.
5429 * server-src/conffile.h (dumptype_t): Add maxpromoteday and
5431 * server-src/diskfile.c (read_diskline): Copy maxpromoteday from
5432 dumptype_t to disk_t.
5433 * server-src/diskfile.h (disk_t): Add maxpromoteday.
5434 * server-src/planner.c (promote_highest_priority_incr): Don't promote
5435 a disk if est(dp)->next_level0 > dp->maxpromoteday.
5437 2003-01-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5438 Reported by Josh More <jmore@remote-print.com>
5440 * client-src/client_util.c (add_exclude, add_include): Remove the
5441 need for MAXPATHLEN.
5443 2003-01-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5444 Fix by Josh More <jmore@remote-print.com>
5446 * tape-src/output-tape.c: Add a ; after f = MT_UNLOAD
5448 2003-01-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5449 Undo patch of 2002-11-27. That doesn't work well for the planner.
5451 * common-src/amanda.h (days_diff): Revert to old macro.
5452 * server-src/amadmin.c: Undo Fix for newer days_diff.
5453 * server-src/planner.c: Undo Fix for newer days_diff.
5455 2003-01-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5457 * client-src/client_util.c: Fix memory leak reported by valgrind.
5458 * client-src/selfcheck.c: Ditto.
5459 * client-src/sendbackup.c: Ditto.
5460 * client-src/sendsize.c: Ditto.
5461 * common-src/amfeatures.c: Ditto.
5462 * common-src/debug.c: Ditto.
5463 * recover-src/amrecover.c: Ditto.
5464 * recover-src/extract_list.c: Ditto.
5465 * recover-src/set_commands.c: Ditto.
5466 * recover-src/uparse.y: Ditto.
5467 * recover-src/uscan.l: Ditto.
5468 * server-src/amindexd.c: Ditto.
5469 * server-src/amlabel.c: Ditto.
5470 * server-src/amtape.c: Ditto.
5471 * server-src/amtrmidx.c: Ditto.
5472 * server-src/amtrmlog.c: Ditto.
5473 * server-src/changer.c: Ditto.
5474 * server-src/conffile.c: Ditto.
5475 * server-src/driver.c: Ditto.
5476 * server-src/driverio.c: Ditto.
5477 * server-src/dumper.c: Ditto.
5478 * server-src/find.c: Ditto.
5479 * server-src/holding.c: Ditto.
5480 * server-src/logfile.c: Ditto.
5481 * server-src/planner.c: Ditto.
5482 * server-src/reporter.c: Ditto.
5483 * server-src/tapefile.c: Ditto.
5484 * server-src/taper.c: Ditto.
5486 2002-12-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5488 * amplot/amplot.awk: Many fix.
5490 2002-12-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5492 * server-src/planner.c (promote_highest_priority_incremental): Promote
5493 a disk > balanced size if no full today. Do not promote a disk it's
5494 the only disk due that day and no full today.
5496 2002-12-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5497 Patch by Brad Roberts <braddr@puremagic.com>
5499 * server-src/amflush.c: Remove 2 redundant amfree call after remove_sl.
5500 * server-src/holding.c (get_flush): Ditto.
5502 2002-12-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5504 * server-src/conffile.c: New taperalgo configuration keyword.
5505 * server-src/conffile.h: Ditto.
5506 * man/amanda.8.in: Document it.
5507 * server-src/driver.c (startaflush): New function to start a flush to
5510 2002-12-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5512 * server-src/diskfile.c (parse_diskline): Allow skip in dumptype.
5514 2002-12-23 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5516 * server-src/amstatus.pl.in: Parse features from PORT-WRITE line.
5518 2002-12-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5520 Don't use the G flag for samba backup restore by tar.
5521 * recover-src/extract_list.c (enum dumptypes): Add IS_SAMBA_TAR.
5522 * recover-src/extract_list.c (extract_files_child): Set dumptype to
5523 IS_SAMBA_TAR if it's a SAMBA backup. Don't pass the G flag to tar
5524 if it's IS_SAMBA_TAR.
5526 2002-12-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5528 * amplot/amplot.awk: Parse line with features, parse ENDFLUSH line.
5530 2002-12-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5532 * server-src/planner.c (promote_highest_priority_incremental): Newer
5533 algorithm that reduce the number of level 0 by hosts on a single day.
5535 2002-12-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5537 * amplot/amplot.awk: Parse newer log lines.
5539 2002-12-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5540 * server-src/reporter.c (output_stats): Typo.
5542 2002-12-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5544 * server-src/reporter.c: Print an usage by tape.
5546 2002-12-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5548 * tape-src/tapeio.c (do_read): Init count to 0.
5550 2002-12-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5552 * tape-src/Makefile.am: Install tapetype program as amtapetype.
5553 * docs/TAPETYPES: Change for amtapetype.
5554 * man/amtapetype.8.in: New man page
5555 * man/Makefile.am: Install it.
5556 * configure.in (AC_CONFIG_FILES): Add man/amtapetype.8.
5558 2002-12-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5560 * tape-src/ammt.c (optind): Add prototype.
5561 * tape-src/amdd.c (optind): Add prototype.
5563 2002-12-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5565 * common-src/arglist.h (printf_arglist_function,
5566 printf_arglist_function1, printf_arglist_function2): Define if
5567 STDC_HEADERS is not defined.
5569 2002-12-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5571 * server-src/amstatus.pl.in: New --date option to display datestamp.
5572 * server-src/amstatus.pl.in: Increase some field size.
5573 * server-src/amstatus.pl.in: The host field adjust it's length to the
5576 2002-11-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5578 * common-src/amanda.h (days_diff): Don't add a half day.
5579 * server-src/amadmin.c: Fix for newer days_diff.
5580 * server-src/planner.c: Fix for newer days_diff.
5582 2002-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5584 * client-src/amandad.c: Fix compiler warning.
5585 * common-src/Makefile.am (bsdsecurity): Link with file.o.
5586 * common-src/bsd-security.c: Fix compiler warning.
5587 * common-src/bsd-security.c (construct_datestamp, construct_timestamp):
5588 Add function if TEST.
5589 * server-src/chunker.c: Fix compiler warning.
5590 * server-src/dumper.c: Fix compiler warning.
5592 2002-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5594 * tape-src/tapetype.c: Cast time_t to long for printing.
5596 2002-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5598 * server-src/amflush.c: Write a "amflush: start at ???" line.
5599 * server-src/amstatus.pl.in: parse the "amflush: start at ???" line.
5601 2002-11-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5603 * server-src/planner.c (delay_dumps): Use snprintf.
5605 2002-11-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5607 * common-src/debug.c: Most of the code must in #ifdef DEBUG_CODE.
5608 * client-src/client_util.c: Use AMANDA_TMPDIR instead of AMANDA_DBGDIR.
5610 2002-11-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5612 * docs/TAPE.CHANGERS: Sync with 2.4.3.
5614 2002-11-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5616 * server-src/amadmin.c: Cleanup.
5618 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5620 * man/amadmin.8.in: Document new --days option of balance subcommand.
5622 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5624 * server-src/amadmin.c (days_diff): Make next_level0 more acurate.
5625 * server-src/amadmin.c (balance): Improve output.
5627 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5629 * recover-src/extract_list.c: Add Retry and Skip command to amrecover.
5631 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5633 * tape-src/output-tape.c (tape_tapefd_fsf): Must not be static.
5635 2002-11-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5637 * server-src/reporter.c: Fix for LPRCMD not defined.
5639 2002-11-14 Marc Mengel <mengel@fnal.gov>
5641 New changer scripts for use with rait: code, run several other
5642 changers in tandem and return a rait: tape device. Makes fake
5643 amanda.conf files under AMANDA_DEBUGDIR for each changer used,
5646 * changer-src/chg-rait.sh.in: New file. Multi-changer script.
5647 * changer-src/chg-null.sh.in: New File. Null-device changer script.
5648 * docs/TAPE.CHANGERS: Descriptions of above.
5649 * configure.in: added above files.
5650 * changer-src/Makefile.am: Likewise.
5652 2002-11-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5653 Patch by Orion Poplawski <orion@colorado-research.com>
5655 * server-src/planner.c (delay_dumps): Add the estimate size to all call
5658 2002-11-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5660 * server-src/reporter.c: Increase width of some field.
5662 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5664 * changer-src/scsi-solaris.c (SCSI_ExecuteCommand): Init ret to 0.
5666 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5668 * recover-src/extract_list.c (delete_file): j is int.
5669 * changer-src/scsi-defs.h (B, B1): Check if already defined.
5670 * server-src/taper.c: Some cast to int.
5671 * tape-src/amdd.c (read_func, write_func): Complete prototype.
5672 * tape-src/tapeio.h (tapefd_read, tapefd_write): return ssize_t,
5673 third argument is size_t.
5674 * tape-src/tapeio.c: Ditto.
5675 * tape-src/output-file.h (file_tapefd_read, file_tapefd_write): return
5676 ssize_t, third argument is size_t.
5677 * tape-src/output-file.c: Ditto.
5678 * tape-src/output-null.h (null_tapefd_read, null_tapefd_write): return
5679 ssize_t, third argument is size_t.
5680 * tape-src/output-null.c: Ditto.
5681 * tape-src/output-rait.h (rait_read, rait__write): return ssize_t,
5682 third argument is size_t.
5683 * tape-src/output-rait.c: Ditto.
5684 * tape-src/output-tape.h (tape_tapefd_read, tape_tapefd_write): return
5685 ssize_t, third argument is size_t.
5686 * tape-src/output-tape.c: Ditto.
5688 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5690 * configure.in: socklen_t default to int.
5691 * common-src/dgram.c (dgram_recv): addrlen is socklen_t.
5692 * common-src/stream.c (stream_server): len is socklen_t.
5693 * recover-src/extract_list.c (add_file): j is int.
5695 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5697 * client-src/client_util.c (test_name_len) Remove variable.
5698 * common-src/match.c (len_prefix): Change type to int.
5699 * server-src/taper.c: Use %p to print pointer.
5700 * tape-src/amdd.c (read_func, write_func):Change return type to ssize_t.
5701 * tape-src/amdd.c (debug): Renamed to debug_amdd.
5702 * tape-src/ammt.c (debug): Renamed to debug_ammt.
5704 2002-11-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5706 * restore-src/amidxtaped.c: Fix restore from file.
5708 2002-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5710 * restore-src/amidxtaped.c: Fix newline in string literal.
5712 2002-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5714 * server-src/conffile.c (maxdumpsize): New option.
5715 * server-src/conffile.h: Ditto.
5716 * server-src/planner.c: Use maxdumpsize if set.
5717 * example/amanda.conf.in: Document it.
5718 * man/amanda.8.in: Document it.
5720 2002-11-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5722 * common-src/amfeatures.h (fe_amidxtaped_fsf, fe_amidxtaped_label,
5723 fe_amidxtaped_device, fe_amidxtaped_host, fe_amidxtaped_disk,
5724 fe_amidxtaped_datestamp, fe_amidxtaped_header, fe_amidxtaped_nargs,
5725 fe_amidxtaped_config): New features.
5726 * common-src/amfeatures.c (am_init_feature_set): Set new features.
5727 * recover-src/extract_list.c: Send new protocol data to amidxtaped.
5728 * restore-src/Makefile.am: amidxtaped.c need libamserver.
5729 * restore-src/amidxtaped.c: Read new protocol data from amrecover.
5730 * restore-src/amidxtaped.c: Use new configuration options.
5731 * server-src/conffile.c (conf_amrecover_do_fsf,
5732 conf_amrecover_check_label, conf_amrecover_changer): New config.
5733 * server-src/conffile.h: New config options.
5734 * example/amanda.conf.in: Document them.
5735 * man/amanda.8.in: Document them.
5737 2002-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5739 * autogen: touch config/config.h.in
5740 * configure.in: Patch from autoupdate-2.53 and LIBOBJS.
5741 * common-src/Makefile.am: Build versuff.o before version.o
5742 * recover-src/Makefile.am: Remove work around for automake-1.2
5744 2002-11-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5746 * configure.in: Remove --disable-libtool.
5747 * */Makefile.am: Remove WANT_LIBTOOL.
5749 2002-11-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5751 * changer-src/chg-scsi.c (config_name, config_dir): Remove declaration.
5752 * server-src/amadmin.c: Ditto.
5753 * server-src/amcheck.c: Ditto.
5754 * server-src/amcleanupdisk.c: Ditto.
5755 * server-src/amflush.c: Ditto.
5756 * server-src/amindexd.c: Ditto.
5757 * server-src/amlabel.c: Ditto.
5758 * server-src/amlogroll.c: Ditto.
5759 * server-src/amtape.c: Ditto.
5760 * server-src/amtrmidx.c: Ditto.
5761 * server-src/amtrmlog.c: Ditto.
5762 * server-src/chunker.c: Ditto.
5763 * server-src/diskfile.c: Ditto.
5764 * server-src/driver.c: Ditto.
5765 * server-src/dumper.c: Ditto.
5766 * server-src/getconf.c: Ditto.
5767 * server-src/planner.c: Ditto.
5768 * server-src/reporter.c: Ditto.
5769 * server-src/taper.c: Ditto.
5770 * server-src/conffile.c (config_name, config_dir): Add declaration.
5772 2002-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5774 * man/amrestore.8: Amrestore doesn't use a changer.
5776 2002-11-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5778 * configure.in (SHELL): Don't set it, libtool do it.
5780 2002-10-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5782 * config/ltmain.sh, config/libtool.m4i: Update from libtool 1.4.3.
5784 2002-10-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5786 * restore-src/amrestore.c: New '-l <label>' flag, Do a rewind and
5787 check the label before restoring.
5788 * man/amrestore.8: Document -l flag.
5790 2002-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5792 * configure.in (AM_HAVE_MT_FLAGS, AM_HAVE_MT_FILENO, AM_HAVE_MT_BLKNO,
5793 AM_HAVE_MT_DSREG,AM_HAVE_MT_ERREG): Rename to HAVE_MT_FLAGS,
5794 HAVE_MT_FILENO, HAVE_MT_BLKNO, HAVE_MT_DSREG and HAVE_MT_ERREG.
5795 * tape-src/output-tape.c: Ditto.
5797 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5798 Undo patch of 2002-10-24. They are needed by amrecover.
5800 * client-src/getfsent.h (open_fstab, close_fstab, get_fstab_nextentry,
5801 is_local_fstype): Add Prototype.
5802 * client-src/getfsent.c (open_fstab, close_fstab, get_fstab_nextentry,
5803 is_local_fstype): remove Prototype.
5805 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5806 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
5808 * tape-src/tapetype.c: Detects and warns the user if the tape drive
5809 has hardware compression enabled.
5811 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5813 * restore-src/amrestore.c: New '-f <fileno>' flag, Do a rewind and
5814 'fsf <fileno>' if -f is set.
5815 * man/amrestore.8: Document -f flag.
5817 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5819 * common-src/amfeatures.h (fe_amindexd_fileno_in_OLSD,
5820 fe_amindexd_fileno_in_ORLD): New amfeatures.
5821 * common-src/amfeatures.c (am_init_feature_set): Set
5822 fe_amindexd_fileno_in_OLSD and fe_amindexd_fileno_in_ORLD.
5823 * recover-src/amrecover.h (struct DIR_ITEM): Add fileno.
5824 * recover-src/display_commands.c (add_dir_list_item): Set fileno
5826 * recover-src/display_commands.c (suck_dir_list_from_server): Read
5827 fileno if fe_amindexd_fileno_in_OLSD is set.
5828 * recover-src/extract_list.c (struct EXTRACT_LIST): Add fileno.
5829 * recover-src/extract_list.c (add_file): Read fileno if
5830 fe_amindexd_fileno_in_ORLD is set.
5831 * recover-src/extract_list.c (delete_file): Read fileno if
5832 fe_amindexd_fileno_in_ORLD is set.
5833 * server-src/amindexd.c (opaque_ls): Write fileno if
5834 fe_amindexd_fileno_in_OLSD or fe_amindexd_fileno_in_ORLD are set.
5836 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5837 patch by Doug Kingston <dpk@pobox.com>
5839 * configure.in (NEED_PATH_ENV, IGNORE_UID_CHECK, IGNORE_FSTAB,
5840 DONT_SUID_ROOT): Defined if on *-pc-cygwin.
5841 * client-src/Makefile.am: Fix for cygwin.
5842 * client-src/getfsent.c: Don't use fstab if IGNORE_FSTAB.
5843 * client-src/killpgrp.c: Don't suid(0) if DONT_SUID_ROOT.
5844 * client-src/rundump.c: Don't suid(0) if DONT_SUID_ROOT.
5845 * client-src/runtar.c: Don't suid(0) if DONT_SUID_ROOT.
5846 * client-src/selfcheck.c (check_suid): Don't check uid if
5848 * common-src/alloc.c (safe_env): Add PATH to ENV if NEED_PATH_ENV.
5849 * recover-src/amrecover.c: Don't check uid if IGNORE_UID_CHECK.
5851 2002-10-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5853 * client-src/getfsent.h (open_fstab, close_fstab, get_fstab_nextentry,
5854 is_local_fstype): Remove Prototype.
5855 * client-src/getfsent.c (open_fstab, close_fstab, get_fstab_nextentry,
5856 is_local_fstype): Add Prototype.
5858 2002-10-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5860 * server-src/amindexd.c: New FEATURES command that read the features
5861 set from the client and reply the features set of the server.
5862 * recover-src/amrecover.h: include "amfeatures.h"
5863 * recover-src/amrecover.c: Send the FEATURES command to the server
5864 and read it's features set.
5866 2002-10-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5868 * client-src/Makefile.am: Work around for CYGWIN.
5869 * server-src/Makefile.am: Ditto.
5871 2002-10-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5873 * configure.in: Remove empty command from $program_transform_name.
5875 2002-10-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5877 * recover-src/extract_list.c (READ_TIMEOUT): Increased to 240*60.
5879 2002-09-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5881 * client-src/getfsent.c (open_fstab): Check if MNTTAB is defined.
5883 2002-09-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5885 * server-src/amverifyrun.sh.in: New program.
5886 * man/amverifyrun.8.in: Man page for amverifyrun.
5887 * configure.in (AC_OUTPUT): add man/amverifyrun.8 and
5888 server-src/amverifyrun.sh.
5889 * man/Makefile.am (SERVER_MAN_PAGES): Add amverifyrun.8.
5890 * man/amanda.8.in: Add amdd, ammt and amverifyrun in SEE ALSO.
5891 * man/amverify.8.in: Add amverifyrun(8) in SEE ALSO.
5892 * server-src/Makefile.am (sbin_SCRIPTS): Add amverifyrun.
5894 2002-09-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5896 * server-src/amverify.sh.in: Accept runtapes as a third argument.
5897 * man/amverify.8.in: Document it.
5899 2002-09-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5901 * config/missing: Updated from automake-1.5.
5903 2002-09-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5905 * config/config.guess: Updated from ftp://ftp.gnu.org/gnu/config/
5906 * config/config.sub: Updated from ftp://ftp.gnu.org/gnu/config/
5908 2002-09-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5910 * client-src/sendsize.c (getsize_dump): Print the fstype.
5911 * client-src/sendbackup-dump.c (start_backup): Print the fstype.
5913 2002-09-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5914 Patch by Florian Hars <hars@bik-gmbh.de>
5916 * changer-src/chg-zd-mtx.sh.in: Fix default value for cleancycle.
5918 2002-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5920 * recover-src/extract_list.c (extract_files): print tape drive
5921 and host before asking to load tape.
5923 2002-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5925 * server-src/taper.c (read_file): Initialize file,
5926 stat(file.cont_filename) before opening it.
5928 2002-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5930 * server-src/amverify.sh.in: Don't check that the device is
5931 a character device, it could be a file: or rait:
5933 2002-09-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5935 * common-src/amfeatures.c (am_set_default_feature_set):
5936 fe_rep_options_sendbackup_options is a default feature.
5938 2002-09-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
5940 * server-src/amstatus.pl.in: Sort a disk in datestamp order.
5942 2002-09-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5943 Text by Jean-Francois Malouin <Jean-Francois.Malouin@bic.mni.mcgill.ca>
5945 * docs/EXCLUDE: Improve documentation.
5947 2002-09-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5949 * server-src/reporter.c: Fix compilation error if LPRCMD is not defined.
5951 2002-08-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5952 Patch by Jason Brooks <jason0@mail.wrs.com>
5954 * docs/chg-scsi.notes: New document.
5955 * changer-src/chg-scsi.c: Adding printout of "emubarcode" values
5957 * changer-src/scsi-changer-driver.c: Added dlt8000 and L500 to
5959 * changer-src/sense.c: Added dlt8000 and L500 to SenseType[].
5961 2002-08-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5963 * tape-src/output-null.c (null_tape_stat, null_tape_access): Use
5964 "/dev/null" instead of filename.
5966 2002-08-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5968 * changer-src/chg-mtx.sh.in: Sync with 2.4.3 branch.
5969 * changer-src/chg-scsi-chio.c: Ditto.
5970 * changer-src/chg-scsi.c: Ditto.
5971 * changer-src/scsi-aix.c: Ditto.
5972 * changer-src/scsi-bsd.c: Ditto.
5973 * changer-src/scsi-cam.c: Ditto.
5974 * changer-src/scsi-changer-driver.c: Ditto.
5975 * changer-src/scsi-defs.h: Ditto.
5976 * changer-src/scsi-hpux_new.c: Ditto.
5977 * changer-src/scsi-irix.c: Ditto.
5978 * changer-src/scsi-linux.c: Ditto.
5979 * changer-src/scsi-solaris.c: Ditto.
5980 * tape-src/tapeio.c: Ditto.
5982 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5984 * recover-src/uparse.y: Fix compiler warning.
5986 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5988 * server-src/amtrmidx.c: Continue if a directory doesn't exist.
5990 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5992 * man/amanda.8.in (tapecycle): Improve documentation.
5994 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
5996 * server-src/amstatus.pl.in: Works with features.
5998 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6000 * common-src/amfeatures.c (am_feature_to_string): Return the string
6001 "UNKNOWNFEATURE" if no features.
6002 * common-src/amfeatures.c (am_string_to_feature): Return NULL if the
6003 string is "UNKNOWNFEATURE".
6005 2002-08-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6007 * common-src/file.c (debug_agets): line_free was badly set when
6008 the buffer size in increased.
6010 2002-07-19 John R. Jackson (jrj@purdue.edu)
6012 * common-src/amanda.h: Fix bad #define.
6014 2002-07-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6016 David Munro <D.Munro@surrey.ac.uk>
6018 * common-src/sl.c (new_sl): Alloc (sl_t) instead of (sl_t *).
6020 2002-06-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6022 Jonathan R. Johnson <Jonathan.Johnson@MinnetonkaSoftware.com>
6024 * server-src/reporter.c: Fix psfname filename.
6026 2002-05-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6028 * client-src/sendbackup.c: Don't do compression if it is server side.
6029 * client-src/sendbackup-dump.c: Ditto.
6030 * client-src/sendbackup-gnutar.c: Ditto.
6032 2002-05-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6033 Patch by Manuel Bouyer <bouyer@antioche.lip6.fr>
6035 * server-src/taper.c (detach_buffers): Fix compilation with mmap.
6037 2002-04-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6039 * recover-src/extract_list.c (extract_files): Set dump_device_name
6040 after the call of okay_to_continue.
6042 2002-04-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6044 New features to describe the OPTIONS line of a REP packet.
6045 * common-src/amfeatures.h: Add fetures fe_rep_options_maxdumps,
6046 fe_rep_options_hostname, fe_rep_options_features and
6047 fe_rep_options_sendbackup_options.
6048 * common-src/amfeatures.c (am_init_feature_set): Add
6049 fe_rep_options_features.
6050 * client-src/selfcheck.c: Write REP packet according to server features. * client-src/sendbackup.c: Ditto.
6051 * client-src/sendsize.c: Ditto.
6053 2002-04-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6055 * common-src/amfeatures.h:
6056 Rename fe_g_options_maxdump to fe_req_options_maxdumps
6057 Rename fe_g_options_hostname to fe_req_options_hostname
6058 Rename fe_g_options_features to fe_req_options_features
6059 * common-src/amfeatures.c: Ditto
6060 * server-src/amcheck.c: Ditto
6061 * server-src/dumper.c: Ditto
6062 * server-src/planner.c: Ditto
6064 2002-04-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6066 * server-src/amcheck.c: Check if it can send features, hostname or
6067 maxdumps on the global options line. Don't send hostname and
6068 maxdumps for a noop service.
6069 * server-src/dumper.c: Ditto.
6070 * server-src/planner.c: Ditto.
6072 2002-04-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6074 * client-src/sendbackup.c: (optionstr): Add srvcomp-best and
6075 srvcomp-fast options.
6077 2002-04-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6079 * server-src/amcheck.c (start_host): Check the todo bit before
6082 2002-04-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6084 * client-src/client_util.c (parse_options, parse_g_options): Check
6085 for duplication options.
6086 * client-src/client_util.h (COMPR_SERVER_FAST, COMPR_SERVER_BEST):
6088 * client-src/selfcheck.c: Check for COMPR_FAST or COMPR_BEST.
6090 2002-04-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6092 * client-src/selfcheck.c (host):Remove variable,use g_options->hostname.
6093 * client-src/sendbackup.c: Ditto.
6094 * client-src/sendsize.c: Ditto.
6096 2002-04-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6098 * client-src/client_util.c (parse_g_options) New function to parse
6099 the global options string.
6100 * client-src/client_util.h (parse_g_options): Prototype.
6101 * client-src/selfcheck.c: use parse_g_options.
6102 * client-src/sendbackup.c: use parse_g_options.
6103 * client-src/sendsize.c: use parse_g_options.
6105 2002-04-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6107 * server-src/diskfile.c: Improve message for missing features.
6109 2002-04-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6112 * common-src/amfeatures.c (am_set_default_feature_set): New function
6113 to set the default features set.
6114 * common-src/amfeatures.h (am_set_default_feature_set): Prototype.
6115 * common-src/amfeatures.h: Rename amanda_feature_auth_keyword to
6117 * client-src/client_util.c: Check features.
6118 * server-src/amcheck.c: Ditto.
6119 * server-src/diskfile.c: Ditto.
6120 * server-src/driverio.c: Ditto.
6121 * server-src/planner.c: Ditto.
6122 * server-src/diskfile.h (optionstr): Change prototype.
6123 * client-src/sendsize.c: Fix compiler warning.
6125 2002-04-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6127 * common-src/amfeatures.c: Include "amfeatures.h"
6128 * common-src/rsh-security.c: Don't assert on undefined variable.
6130 2002-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6132 * common-src/amfeatures.c: Renamed from features.c
6133 * common-src/amfeatures.h: Renamed from features.h
6134 * common-src/Makefile.am: Rename features to amfeatures.
6135 * client-src/amandad.c: Ditto.
6136 * client-src/client_util.h: Ditto.
6137 * client-src/selfcheck.c: Ditto.
6138 * client-src/sendbackup.c: Ditto.
6139 * client-src/sendsize.c: Ditto.
6140 * server-src/amcheck.c: Ditto.
6141 * server-src/chunker.h: Ditto.
6142 * server-src/diskfile.h: Ditto.
6143 * server-src/dumper.c: Ditto.
6144 * server-src/planner.c: Ditto.
6145 * server-src/taper.c: Ditto.
6147 2002-04-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6149 * server-src/conffile.c: Default dumporder set to "ttt".
6150 * server-src/driver.c: If dumporder is too short, use t and T.
6151 * man/amanda.8.in: Default dumporder set to "ttt".
6153 2002-04-13 John R. Jackson (jrj@purdue.edu)
6155 * common-src/features.c: Add amanda_feature_auth_keyword feature so
6156 authorization in the OPTIONS string is backward compatible.
6157 * common-src/features.h: Ditto.
6158 * client-src/client_util.c: Ditto.
6159 * client-src/client_util.h: Ditto.
6160 * client-src/selfcheck.c: Ditto.
6161 * client-src/sendbackup.c: Ditto.
6162 * client-src/sendsize.c: Ditto.
6163 * server-src/diskfile.c: Ditto.
6164 * server-src/planner.c: Fix compiler warning.
6166 2002-04-13 John R. Jackson (jrj@purdue.edu)
6168 * server-src/diskfile.c: Fix memory leak.
6170 2002-04-13 John R. Jackson (jrj@purdue.edu)
6172 * server-src/amcheck.c: Fix error parsing in packet.
6174 2002-04-13 John R. Jackson (jrj@purdue.edu)
6176 * common-src/features.c: New file. Add support for feature sets so
6177 different Amanda versions can work together.
6178 * common-src/features.h: Ditto.
6179 * common-src/Makefile.am: Ditto. Add "features" test program.
6180 * client-src/amandad.c: Add "noop" service to return the feature set.
6181 * client-src/selfcheck.c: Accept and return a feature set in OPTIONS.
6183 * client-src/sendbackup.c: Ditto.
6184 * client-src/sendsize.c: Ditto.
6185 * common-src/bsd-security.c: Minor message change.
6186 * common-src/error.c: Use strcasecmp.
6187 * common-src/protocol.c: Use dbprintf for PROTO_DEBUG and improve
6189 * restore-src/amidxtaped.c: Improve parsing.
6190 * server-src/amcheck.c: Ask for client features via "noop" before
6191 doing the real "selfcheck" service requests. Improve parsing.
6192 * server-src/amflush.c: Minor coding format cleanup.
6193 * restore-src/amindexd.c: Improve parsing.
6194 * server-src/chunker.c: Deal with features string in commands. Improve
6196 * server-src/diskfile.c: Initialize the features hosttype field.
6197 * server-src/diskfile.h: Add the features hosttype field.
6198 * server-src/driver.c: Save the features from the schedule. Clean
6199 up some error messages.
6200 * server-src/driverio.c: Add features string to several commands.
6201 * server-src/dumper.c: Deal with features string in commands. Improve
6203 * server-src/planner.c: Ask for client features via "noop" before
6204 doing the real "sendsize" service requests. Improve parsing.
6205 * server-src/server_util.c: Minor coding cleanup.
6206 * server-src/server_util.h: Increase the number of args allowed on
6208 * server-src/taper.c: Deal with features string in commands. Improve
6211 2002-04-12 John R. Jackson (jrj@purdue.edu)
6213 * server-src/driver.c: Fix crash when only processing a tape queue
6216 2002-04-11 John R. Jackson (jrj@purdue.edu)
6218 * server-src/driver.c: Protect against crash when taper has died.
6220 2002-04-11 John R. Jackson (jrj@purdue.edu)
6222 * common-src/stream.c: Clean up an error message.
6224 2002-04-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6226 * docs/DUMPER-API: Remove the section about USER and GROUP.
6228 2002-04-09 John R. Jackson (jrj@purdue.edu)
6230 * server-src/driver.c: Fix send of QUIT to taper when it is down.
6232 2002-04-07 John R. Jackson (jrj@purdue.edu)
6234 * server-src/dumper.c: Change sendbackup response parsing to handle
6235 2.4 changes. Improve packet parse error processing. Make packet
6236 logging conditional on an #ifdef instead of commented out.
6238 2002-04-07 John R. Jackson (jrj@purdue.edu)
6240 * client-src/amandad.c: Fix FORCE_USERID to run the service as the
6241 client user if amandad was started as root.
6243 2002-04-07 John R. Jackson (jrj@purdue.edu)
6245 * common-src/clock.c: Move definition of amanda_gettimeofday() macro
6246 to the header file so it could be used other places. Use new
6247 amanda_timezone macro to avoid some #ifdef's.
6248 * common-src/clock.h: Ditto.
6249 * common-src/bsd-security.c: Fix compatibility problems with pre-2.5
6250 servers trying to talk to 2.5 clients. The HANDLE value was not
6251 being properly handled, and the sequence number was being ignored.
6253 2002-04-07 John R. Jackson (jrj@purdue.edu)
6255 * server-src/reporter.c: Move column routines to conffile.c so amcheck
6256 can use them in its tests. Do not abort on several failures, but
6257 generate messages in the FAILURE AND STRANGE DUMP SUMMARY section.
6258 * server-src/conffile.c: Move column routines to here.
6259 * server-src/conffile.h: Ditto.
6260 * server-src/amcheck.c: Add several config file tests.
6261 * server-src/logfile.c: Change "reporter" to "amreport".
6263 2002-04-07 John R. Jackson (jrj@purdue.edu)
6265 * configure.in: Add /usr/local/sbin to LOCPATH.
6267 2002-03-31 John R. Jackson (jrj@purdue.edu)
6269 * server-src/amcheck.c: Send maxdumps and hostname in packet OPTIONS.
6271 2002-03-31 John R. Jackson (jrj@purdue.edu)
6273 * changer-src/scsi-defs.h: Fix compiler warning and bug it was hiding.
6274 * changer-src/scsi-solaris.c: Ditto.
6276 2002-03-31 John R. Jackson (jrj@purdue.edu)
6278 * client-src/amandad.c: Fix arguments to pkt_cat.
6279 * common-src/bsd-security.c: Ditto.
6281 2002-03-31 John R. Jackson (jrj@purdue.edu)
6283 * client-src/amandad.c: Add relative timestamps to a lot of debug
6284 file messages, and add more messages, to better track what is
6285 going on. Various general cleanup.
6286 * client-src/calcsize.c: Ditto.
6287 * client-src/client_util.c: Ditto.
6288 * client-src/selfcheck.c: Ditto.
6289 * client-src/sendbackup-dump.c: Ditto.
6290 * client-src/sendbackup-gnutar.c: Ditto.
6291 * client-src/sendbackup.c: Ditto.
6292 * client-src/sendbackup.h: Ditto.
6293 * client-src/sendsize.c: Ditto.
6294 * common-src/amanda.h: Ditto.
6295 * common-src/bsd-security.c: Ditto.
6296 * common-src/clock.c: Ditto.
6297 * common-src/clock.h: Ditto.
6298 * common-src/debug.c: Ditto.
6299 * common-src/dgram.c: Ditto.
6300 * common-src/error.c: Ditto.
6301 * common-src/file.c: Ditto.
6302 * common-src/pipespawn.c: Ditto.
6303 * common-src/stream.c: Ditto.
6304 * common-src/util.c: Ditto.
6305 * man/amanda.8.in: Ditto.
6306 * restore-src/amidxtaped.c: Ditto.
6307 * restore-src/amrestore.c: Ditto.
6308 * server-src/amindexd.c: Ditto.
6309 * server-src/getconf.c: Ditto.
6310 * server-src/planner.c: Ditto.
6312 2002-03-31 John R. Jackson (jrj@purdue.edu)
6314 * client-src/sendsize.c: Pay attention to the spindle number.
6316 2002-03-30 John R. Jackson (jrj@purdue.edu)
6318 * server-src/planner.c: General delay_dumps code cleanup.
6320 2002-03-30 John R. Jackson (jrj@purdue.edu)
6322 * server-src/planner.c: Make sure individual dumps larger than a tape
6323 are not added back into the schedule. Found by Uncle George
6324 <gatgul@voicenet.com>.
6326 2002-03-29 John R. Jackson (jrj@purdue.edu)
6328 * man/amanda.8.in: Move "comment" in tapetype after inclusion of
6329 previous definition. Found by Uncle George <gatgul@voicenet.com>.
6331 2002-03-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6333 * client-src/client_util.c (fixup_relative): New function to prepend
6334 the dirname if relative.
6335 * client-src/client_util.c (build_exclude, build_include): Use
6337 * client-src/client_util.c (parse_options): Do not prepend the dirname.
6338 * client-src/selfcheck.c (check_options): Don't generate ERROR for samba
6341 2002-03-24 John R. Jackson (jrj@purdue.edu)
6343 * common-src/debug.c: Change dbopen() message slightly to match what
6344 amdump generates, making it easier to parse.
6346 2002-03-24 John R. Jackson (jrj@purdue.edu)
6348 * common-src/Makefile.am: Move clock routines to common-src so
6349 everyone may use them.
6350 * server-src/Makefile.am: Ditto.
6352 2002-03-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6354 * client-src/sendbackup-gnutar.c: Fix use of no_record.
6356 2002-03-24 John R. Jackson (jrj@purdue.edu)
6358 * client-src/amandad.c: Make sure argv[0] is valid before using it.
6359 * restore-src/amidxtaped.c: Ditto.
6360 * server-src/amindexd.c: Ditto.
6362 2002-03-24 John R. Jackson (jrj@purdue.edu)
6364 * client-src/client_util.c: Use the Amanda memory allocation code.
6365 * client-src/sendbackup-gnutar.c: Ditto.
6366 * client-src/sendsize.c: Ditto.
6367 * common-src/match.c: Ditto.
6368 * recover-src/amrecover.c: Ditto.
6369 * recover-src/display_commands.c: Ditto.
6370 * recover-src/extract_list.c: Ditto.
6371 * restore-src/amidxtaped.c: Ditto.
6372 * server-src/amflush.c: Ditto.
6373 * server-src/disk_history.c: Ditto.
6374 * server-src/driver.c: Ditto.
6375 * server-src/dumper.c: Ditto.
6376 * common-src/amanda.h: Always pass the source file and line number
6377 to the memory routines to make it easier to debug.
6378 * common-src/alloc.c: Ditto.
6379 * common-src/file.c: Ditto.
6381 2002-03-23 John R. Jackson (jrj@purdue.edu)
6383 * changer-src/chg-scsi-chio.c: Use agets instead of fgets.
6384 * changer-src/chg-scsi.c: Use agets instead of fgets.
6385 * client-src/client_util.c: Use agets instead of fgets.
6386 * recover-src/amrecover.c: Clean up output on EOF.
6387 * recover-src/extract_list.c: Use agets instead of direct stdio.
6388 Clean up output on EOF. Add '?' help.
6389 * recover-src/set_commands.c: Quote the new device in the verify
6390 output to make it stand out.
6391 * server-src/amflush.c: Clean up output on EOF. Clean up output
6392 when multiple holding disk areas selected. Clean up parsing.
6393 Loop until valid user response.
6394 * server-src/find.c: Do not complain if log file is missing for
6395 a new (datestamp == 0) tape.
6396 * server-src/holding.c: Use agets instead of fgets. Clean up
6397 interactive input and output.
6399 2002-03-23 John R. Jackson (jrj@purdue.edu)
6401 * client-src/selfcheck.c: Fix a compiler warning.
6402 * client-src/sendbackup.c: Ditto.
6403 * client-src/sendsize.c: Ditto.
6405 2002-03-23 John R. Jackson (jrj@purdue.edu)
6407 * client-src/getfsent.c (close_fstab()): Call endfsent() instead
6408 of fclose(), if available.
6410 2002-03-23 John R. Jackson (jrj@purdue.edu)
6412 * common-src/dbprintf (debug_printf): Make sure errno is preserved
6413 across dbprint() calls.
6415 2002-03-23 John R. Jackson (jrj@purdue.edu)
6417 * configure.in: Add -R$dir as well as -L$dir on Solaris when processing
6418 --with-libraries to support shared libraries of support products.
6420 2002-03-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6422 * server-src/chunker.c: Get result from dumper.
6423 * server-src/driver.c: Send dumper result to chunker.
6424 * server-src/driverio.c (chunker_cmd): Send DONE and FAILED command.
6425 * server-src/driverio.h (chunker_t): New down field.
6426 * server-src/dumper.c: Cleanup.
6427 * server-src/logfile.c (logtype_str): Add "PARTIAL".
6428 * server-src/logfile.h (logtype_e): Add L_PARTIAL log.
6429 * server-src/reporter.c: Handle PARTIAL log.
6430 * server-src/server_util.c (cmdstr): Add "PARTIAL".
6431 * server-src/server_util.h (cmd_t): Add PARTIAL command.
6432 * server-src/taper.c (read_file): Result is PARTIAL if dumper
6435 2002-03-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6437 * server-src/tapefile.c (write_tapelist): Write to a temp file and
6439 * server-src/amlabel.c: Do not rename the tapelist file.
6440 * server-src/taper.c (label_tape): Do not rename the tapelist file.
6442 2002-03-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6444 * client-src/client_util.c (parse_options): Do not check if the
6445 exclude file exist, it's done later.
6447 2002-03-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6449 * client-src/client_util.c (parse_options): Parse exclude-optional and
6451 * client-src/client_util.h (option_t): New exclude_optional and
6452 include_optional field.
6453 * man/amanda.8.in: Document optional.
6454 * server-src/amadmin.c (disklist_one): Display optional.
6455 * server-src/conffile.c: Parse optional keyword.
6456 * server-src/conffile.h (dumptype_t): New exclude_optional and
6457 include_optional field.
6458 * server-src/diskfile.c (read_diskline): Copy optional bits.
6459 * server-src/diskfile.c (optionstr): Print optional bits.
6460 * server-src/diskfile.h (disk_t): New exclude_optional and
6461 include_optional field.
6462 * server-src/planner.c (getsize): Use new sendsize format if optional
6465 2002-03-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6467 * server-src/driver.c (dump_to_tape): Call start_degraded_mode() if
6470 2002-03-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6472 * recover-src/extract_list.c (extract_files_setup): Add ^$ to host.
6474 2002-03-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6475 Patch from Michael Frankowski <mfrankow@winternet.com>
6477 * client-src/sendbackup-gnutar.c: Test for subdir before dbprintf.
6479 2002-03-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6481 * client-src/client_util.c (init_options): New function.
6482 * client-src/client_util.h (init_options): Prototype.
6483 * client-src/sendsize.c (main): Use init_options.
6485 2002-03-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6487 * client-src/client-util.c: Check for include and exclude files.
6489 2002-03-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6491 * server-src/amstatus.pl.in: Fix.
6492 * server-src/conffile.c(get-compress): Change message for bad
6495 2002-03-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6497 * server-src/amstatus.pl.in: Fix.
6498 * client-src/client_util.c (parse_options): Parse auth= option.
6499 * client-src/client_util.h (option_t): Add auth field.
6500 * client-src/sendbackup.c: Use auth instead of bsd-auth.
6501 * client-src/sendsize.c: Init auth.
6503 2002-03-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6505 * client-src/sendbackup-dump.c: use amdevice as argument to
6507 * client-src/sendsize.c: Use amdevice as argument to amname_to_dirname.
6508 * server-src/dumper.c: clear device if it is set to NODEVICE.
6510 2002-03-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6512 * server-src/amindexd.c: Compilation fix.
6514 2002-03-07 John R. Jackson (jrj@purdue.edu)
6516 * changer-src/chg-zd-mtx.sh.in: Allow whitespace on a VolumeTag line.
6517 Compliments of Christopher McCrory <chrismcc@pricegrabber.com>.
6519 2002-03-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6521 * recover-src/amrecover.h (list_disk): Prototype.
6522 * recover-src/set_commands.c (list_disk): New function.
6523 * recover-src/uparse.y: parse LISTDISK.
6524 * recover-src/uscan.l: listdisk keyword.
6525 * recover-src/help.c: help for listdisk.
6526 * man/amrecover.8.in: Doc for listdisk.
6527 * server-src/amindexd.c: New LISTDISK command.
6528 * docs/INDEXING: Document LISTDISK command.
6530 2002-03-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6532 * server-src/amstatus.pl.in: Better output for autoflush.
6534 2002-03-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6536 * server-src/amstatus.pl.in: Fix.
6538 2002-03-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6540 * server-src/amadmin.c (disklist_one): Print dp->device.
6541 * server-src/amcheck.c (start_host): Send device if specified.
6542 * server-src/amstatus.pl.in: Parse line with device.
6543 * server-src/diskfile.c (parse_diskline): Parse device.
6544 * server-src/diskfile.c (match_disklist): Match on device.
6545 * server-src/diskfile.h (disk_t): New field device.
6546 * server-src/driverio.c: (dumper_cmd): Send device.
6547 * server-src/dumper.c (main): Parse device in request.
6548 * server-src/dumper.c (start_dump): New device argument, send
6550 * server-src/planner.c (getsize): Send device to client.
6551 * server-src/server_util.h (MAX_ARGS): Set it to 12.
6552 * client-src/client_util.c (add_include, build_exclude, build_include,
6553 parse_options): New device argument.
6554 * client-src/client_util.h (build_exclude,build_include,parse_options):
6556 * client-src/selfcheck.c: Use device.
6557 * client-src/sendbackup-dump.c: Use device.
6558 * client-src/sendbackup-gnutar.c: Use device.
6559 * client-src/sendbackup.c: Use device.
6560 * client-src/sendbackup.h (start_backup): New device argument.
6561 * client-src/sendsize.c: Use device.
6562 * man/amanda.8.in: Document new disklist syntax.
6563 * example/disklist: Give example.
6565 2002-03-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6567 * server-src/amstatus.pl.in: Write "wait to flush" only if waittaper
6570 2002-03-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6572 * server-src/amstatus.pl.in: Fix for failed tape.
6574 2002-02-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6576 * man/amanda.8.in: Document multiple exclude.
6577 * man/amanda.8.in: Document include.
6579 2002-02-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6581 * client-src/client-util.c (add_include): Include are glob expression.
6583 2002-02-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6585 * common-src/debug.c (debug_open); Don't try to renmae an already
6588 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6590 * server-src/conffile.c (dump_configuration): Print multiple
6591 exclude and include.
6593 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6595 * client-src/client_util.c (add_exclude, add_include): Typo.
6597 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6599 * client-src/client_util.c (build_include, build_exclude): Fix for
6602 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6604 * client-src/client_util.c (get_name): Create a file name.
6605 * client-src/client_util.c (build_name): Remove old files,
6606 build an unused file name.
6607 * client-src/client_util.c (add_exclude): Add an exclude pattern to
6609 * client-src/client_util.c (add_include): Add an include to the
6611 * client-src/client_util.c (build_exclude): Concat all excludes in
6613 * client-src/client_util.c (build_include): Concat all includes in
6615 * client-src/client_util.h (build_exclude, build_include): Prototype.
6616 * client-src/selfcheck.c.diff (check_options): Call build_exclude
6618 * client-src/sendsize.c.diff: Call gtar with one
6619 exclude file/include file.
6620 * client-src/sendbackup-gnutar.c.diff: Call gtar with one
6621 exclude file/include file.
6623 2002-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6625 * common-src/amanda.h (amfree): Change e local variable to e__errno.
6626 * common-src/amanda.h (strappend): Change t local variable to t_t_t.
6628 2002-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6630 * client-src/sendsize.c: Set include_file and include_list to NULL
6631 when using old protocol.
6632 * client-src/sendbackup-gnutar.c: Include "." when using old protocol.
6634 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6636 * server-src/conffile.h (dumptype_t): Add include_file and include_list.
6637 * server-src/conffile.c: Read include.
6638 * server-src/diskfile.h (disk_t): Add include_file and include_list.
6639 * server-src/diskfile.c (optionstr): Add include to the optionstr.
6640 * server-src/amadmin.c (disklist_one): Print include.
6641 * server-src/planner.c: Use new protocol if include is used.
6642 * client-src/client_util.h (option_t): Add include_file and include_list
6643 * client-src/client_util.c (parse_options): Parse include.
6644 * client-src/selfcheck.c (check_options): Print ERROR if include are
6645 used for SAMBA or DUMP.
6646 * client-src/sendsize.c: Send include to gnutar.
6647 * client-src/sendbackup-gnutar.c: Send include to gnutar.
6649 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6651 * client-src/client_util.c (parse_options): Check that files from
6652 'exclude list' exist'.
6653 * client-src/selfcheck.c (check_options): Give ERROR if multiple
6654 exclude are used with samba or if exclude are used with DUMP.
6656 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6658 * client-src/sendbackup.h: Remove bad stuff introduced in previous
6660 * client-src/sendbackup-gnutar.c: Ditto.
6662 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6664 * client_src/client_util.c (parse_options): Function to parse
6666 * client_src/client_util.h (parse_options): Prototype.
6667 * client_src/client_util.h (option_t): Struct for options.
6668 * client_src/Makefile.am: Compile client_util.
6669 * client_src/selfcheck.c: Use new option_t and multiple exclude.
6670 * client_src/sendbackup.h: Use new option_t and multiple exclude.
6671 * client_src/sendbackup.c: Use new option_t and multiple exclude.
6672 * client_src/sendbackup-dump.c: Use new option_t and multiple exclude.
6673 * client_src/sendbackup-gnutar.c: Use new option_t and multiple exclude.
6674 * client_src/sendsize.c: Use new option_t and multiple exclude.
6675 * server-src/conffile.h: Use sl_t for exclude_file and exclude_list.
6676 * server-src/conffile.c: Multiple exclude.
6677 * server-src/diskfile.h: Use sl_t for exclude_file and exclude_list.
6678 * server-src/diskfile.c: Multiple exclude.
6679 * server-src/planner.c: Multiple exclude.
6681 2002-02-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6683 * common-src/pipespawn.c (pipespawnv): Typo, ap_snprintf -> snprintf.
6685 2002-02-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6687 * common-src/pipespawn.c (pipespawnv): New funtion taking an
6689 * common-src/pipespawn.h (pipespawnv): Prototype.
6691 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6693 * server-src/holding.h: Use sl_t instead of holding_t
6694 * server-src/holding.c: Ditto.
6695 * server-src/amcleanupdisk.c: Ditto.
6696 * server-src/amflush.c: Ditto.
6697 * server-src/find.c: Ditto.
6698 * server-src/planner.c: Ditto.
6700 2002-02-11 John R. Jackson (jrj@purdue.edu)
6702 * configure.in: AIX needs the "other" getconf argument to find out
6703 about large file support (XBS5_ILP32_OFFBIG instead of LFS).
6705 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6707 * common-src/sl.h: New header file
6708 * common-src/sl.c: New file for list of string struct.
6709 * common-src/Makefile.am: Compile sl.c
6711 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6713 * changer-src/chg-zd-mtx.sh.in: Don't use '^' in expr match argument.
6715 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6717 * common-src/fileheader.c (build_header): Typo.
6719 2002-02-10 John R. Jackson (jrj@purdue.edu)
6721 * configure.in: Add new file-pad tapetype option to take the place
6722 of a positive/negative blocksize. Blocksize may now only be
6723 positive. File-pad defaults to "true" which pads the last tape
6724 record like it always has.
6725 * man/amanda.8.in: Ditto.
6726 * server-src/amlabel.c: Ditto.
6727 * server-src/conffile.c: Ditto. Fix typo in conffile test program.
6728 * server-src/conffile.h: Ditto.
6729 * server-src/planner.c: Ditto.
6730 * server-src/taper.c: Ditto.
6732 2002-02-10 John R. Jackson (jrj@purdue.edu)
6734 * configure.in: Save the ./configure args and display them in the
6735 version string (e.g. amandad*debug and "amadmin xx version").
6736 * common-src/genversion.c: Ditto.
6738 2002-02-10 John R. Jackson (jrj@purdue.edu)
6740 * common-src/alloc.c: Fix type mismatch issues discovered by splint
6741 (www.splint.org). Compliments of jens persson <jens@persson.cx>.
6742 * common-src/bsd-security.c: Ditto.
6743 * common-src/debug.c: Ditto.
6744 * common-src/dgram.c: Ditto.
6745 * common-src/file.c: Ditto.
6746 * common-src/fileheader.c: Ditto.
6747 * common-src/fileheader.h: Ditto.
6748 * common-src/genversion.c: Ditto.
6749 * common-src/getcwd.c: Ditto.
6750 * common-src/match.c: Ditto.
6751 * common-src/stream.c: Ditto.
6752 * common-src/strstr.c: Ditto.
6753 * common-src/token.c: Ditto.
6754 * recover-src/amrecover.c: Ditto.
6755 * recover-src/display_commands.c: Ditto.
6756 * recover-src/extract_list.c: Ditto.
6757 * recover-src/set_commands.c: Ditto.
6758 * server-src/reporter.c: Ditto.
6760 2002-02-10 John R. Jackson (jrj@purdue.edu)
6762 * changer-src/chg-zd-mtx.sh.in: Major cleanup and general overhaul.
6763 * docs/TAPE.CHANGERS: Cleanup.
6765 2002-02-09 John R. Jackson (jrj@purdue.edu)
6767 * common-src/arglist.h: Clean up gcc detection of printf style variable
6768 argument list functions.
6769 * changer-src/scsi-changer-driver.c: Ditto.
6770 * common-src/debug.c: Ditto.
6771 * common-src/dgram.c: Ditto.
6772 * common-src/error.c: Ditto.
6773 * common-src/packet.c: Ditto.
6774 * common-src/packet.h: Ditto.
6775 * common-src/security.c: Ditto.
6776 * common-src/snprintf.c: Ditto.
6777 * common-src/token.c: Ditto.
6778 * common-src/token.h: Ditto.
6779 * server-src/amindexd.c: Ditto.
6780 * server-src/conffile.c: Ditto.
6781 * server-src/diskfile.c: Ditto.
6782 * server-src/logfile.c: Ditto.
6783 * server-src/logfile.h: Ditto.
6784 * server-src/server_util.c: Ditto.
6786 2002-02-09 John R. Jackson (jrj@purdue.edu)
6788 * configure.in: Must look in both strings.h and string.h when trying
6789 to find function declarations (strncasecmp was not found on AIX
6790 but is really there and our override caused a mismatch error).
6792 2002-02-09 John R. Jackson (jrj@purdue.edu)
6794 * configure.in: Add code to test for a type defined in other than the
6795 autoconf expected locations. Use it to look for socklen_t.
6797 2002-02-08 John R. Jackson (jrj@purdue.edu)
6799 * server-src/amadmin.c (check_dumpuser): Make it fatal to attempt to
6800 do an operation that would alter any files when run as someone other
6801 than the dump user from amanda.conf. This should prevent files from
6802 ending up with incorrect ownership.
6804 2002-02-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6806 * man/amrecover.8.in (settape): Document that the hostname is required
6807 if the protocol (tape:, file:, rait:, null:) is specified.
6808 * man/amrecover.8.in (settape): Document that it is posible to
6809 change the tape device when asked to load tape.
6811 2002-02-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6813 * server-src/holding.c (scan_holdingdir): Create the list in
6816 2002-02-02 John R. Jackson (jrj@purdue.edu)
6818 * configure.in: Add unistd.h to list of places to look for ruserok()
6819 declaration. Reported by John Koenig <jfkoenig@vipb.com> on ALPHA
6822 2002-02-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6823 Reported by Roland E. Lipovits <rel@lipo.at0.net>
6825 * server-src/amstatus.pl.in: Don't double-counts the failed
6826 estimate partitions.
6828 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6830 * configure.in: New --with-maxtapeblocksize with a default of 32.
6831 * common-src/amanda.h: MAX_TAPE_BLOCK_KB is defined in amanda.h
6833 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6835 * common-src/fileheader.c (build_header): Never write the
6837 * common-src/fileheader.c (parse_file_header): Do not parse the
6840 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6842 * common-src/fileheader.c (build_header): Write the BLOCKSIZE= line
6843 after the dd if=... line.
6845 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6847 * server-src/driver.c: Init code to 0.
6849 2002-01-29 John R. Jackson (jrj@purdue.edu)
6851 * tape-src/output-tape.c (tape_tapefd_fsf): Some systems cannot deal
6852 with large stack variables, so allocate tape I/O buffers dynamically.
6853 * tape-src/tapeio.c (tapefd_rdlabel): Ditto.
6855 2002-01-25 John R. Jackson (jrj@purdue.edu)
6857 * server-src/driver.c: Log non-zero exit codes and signals from all
6858 the dumpers and taper.
6860 2002-01-25 John R. Jackson (jrj@purdue.edu)
6862 * server-src/amindexd.c: Clean up reporting of errors by gethostby*()
6863 functions. Make sure they always report what they were trying to
6864 look up, and don't bother reporting errno (it would be h_errno).
6866 2002-01-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6868 * common-src/fileheader.h (dumpfile_t): Add blocksize field.
6869 * common-src/fileheader.h (build_header): Change prototype.
6870 * common-src/fileheader.c (fh_init): blocksize default to
6872 * common-src/fileheader.c (parse_file_header): Parse BLOCKSIZE= line.
6873 * common-src/fileheader.c (build_header): Remove blocksize parameter,
6874 write the BLOCKSIZE= line.
6875 * tape-src/tapeio.c: set file.blocksize, Change call to build_header.
6876 * restore-src/amrestore.c: Ditto.
6877 * server-src/dumper.c: Ditto.
6878 * server-src/taper.c: Ditto.
6879 * server-src/holding.c: Ditto.
6880 * server-src/chunker.c: Ditto.
6882 2002-01-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6884 * changer-src/scsi-changer-driver.c (SCSI_ReadElementStatus):
6887 2002-01-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6889 * server-src/planner.c: Check for dp->todo.
6891 2002-01-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6892 Patch by Harlan Stenn <Harlan.Stenn@pfcs.com>
6894 * changer-src/chg-scsi.c: Typo.
6896 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6898 * changer-src/Makefile.am: Run `perl -c' on perl script.
6899 * client-src/Makefile.am: Ditto.
6900 * dumper-src/Makefile.am: Ditto.
6901 * server-src/Makefile.am: Ditto.
6903 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6904 Reported by Geert Uytterhoeven <geert@linux-m68k.org>
6906 * README: Amanda compile on Linux/m68k.
6908 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6910 * changer-src/chg-rth.pl.in: Typo. fi -> }.
6912 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6913 Patch by Harlan Stenn <Harlan.Stenn@pfcs.com>
6915 * changer-src/chg-chio.pl.in: Typo. fi -> }.
6916 * changer-src/chg-chio.pl.in (prefix, exec_prefix): Set correctly.
6917 * changer-src/chg-chio.pl.in (max_picker): Init to -1.
6919 2002-01-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6921 * recover-src/extract_list.c (okay_to_continue_tape): Ignore \n
6924 2002-01-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6926 * server-src/amoverview.pl.in: Ignore some line from amadmin.
6928 2002-01-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6930 * common-src/event.c: Use ASSERTIONS not ASSERT.
6932 2002-01-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6934 * tape-src/output-tape.c (tape_tapefd_rewind, tape_tapefd_unload):
6936 * changer-src/scsi-irix.c (SCSI_OpenDevice): Cast to int.
6937 * common-src/match.c (clean_regex): Cast to int.
6939 2002-01-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6940 Reported by <ian.willis@sge.net>
6942 * common-src/rsh-security.c: Fix for RSH_DEBUG.
6944 2001-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6946 * config/ltconfig: Remove
6947 * config/ltmain.sh, config/libtool.m4i: Update from libtool 1.4.2.
6948 * config/config.guess: Update from
6949 ftp://ftp.gnu.org/gnu/config/config.guess
6950 * config/config.sub: Update from
6951 ftp://ftp.gnu.org/gnu/config/config.sub
6952 * config/depcomp, config/install-sh, config/missing,
6953 config/mkinstalldirs: Update from automake 1.5
6954 * config/Makefile.am (EXTRA_DIST): Remove ltconfig.
6956 2001-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6957 Patch by Harlan Stenn <Harlan.Stenn@pfcs.com>
6959 * configure.in: Add missing [.
6961 2001-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6962 Patch by Jason Thomas <jason@topic.com.au>
6963 and Eric Siegerman <erics@telepres.com>
6965 * common-src/bsd-security.c (check_user_amandahosts): improve message.
6967 2001-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6969 * server-src/driver.c: Do not go in degraded mode in nodump mode.
6970 * server-src/conffile.c:Check many options to be sure they are positive.
6972 2001-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
6974 * changer-src/chg-scsi.c (get_relative_target): return -1;
6975 * changer-src/scsi-irix.c (SCSI_ExecuteCommand): Remove Zero variable.
6976 * common-src/amanda.h: include strings.h if HAVE_STRINGS_H is defined.
6977 * server-src/amadmin.c (info_one): Remove lev0date variable.
6978 * server-src/amadmin.c (import_db): Remove vers_comment variable.
6979 * server-src/amindexd.c (main): Remove arg_len variable.
6980 * server-src/amtrmidx.c (main): Remove level_position and
6981 datestamp_position variables.
6982 * server-src/changer.c (changer_current): Remove checked variable.
6983 * server-src/conffile.c (read_confline): Check value of RESERVE.
6984 * server-src/conffile.c (get_tapetype): Check value of LENGTH and
6986 * server-src/diskfile.h: bit field of 1 bit must be unsigned.
6987 * server-src/driver.c (main): Don't check the value of RESERVE.
6988 * server-src/driver.c (find_diskspace): Remove as_pref variable.
6989 * server-src/driverio.c (getresult): cast cmd_t.
6990 * server-src/chunker.c (databuf_flush): save_type is a filetype_t.
6991 * server-src/find.c (search_logfile): Remove host_undo_ch and
6992 disk_undo_ch variables.
6993 * server-src/holding.c (pick_datestamp): Remove result variable.
6994 * server-src/server_util.c (getcmd): Loop on a cmd_t variable.
6995 * server-src/taper.c (tape_writer_side): Remove out_open variable.
6996 * tape-src/tapeio.c (tapefd_close): Cast to (void *).
6998 2001-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7000 * client-src/selfcheck.c: Fix compiler warning.
7001 * changer-src/chg-scsi.c: Ditto.
7002 * changer-src/scsi-changer-driver.c: Ditto.
7003 * changer-src/scsi-defs.h: Ditto.
7004 * server-src/server_util.c: Ditto.
7005 * common-src/fileheader.c: Ditto.
7007 2001-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7009 * configure.in: Set MAX_TAPE_BLOCK_KB on linux
7011 2001-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7012 Patch by Blaz Zupan <blaz@amis.net>
7014 * changer-src/chg-zd-mtx.sh.in: typo.
7016 2001-12-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7018 * client-src/selfcheck.c (check_access): New function (old check_file
7020 * client-src/selfcheck.c (check_file): Check that the filename is a
7022 * client-src/selfcheck.c (check_dir): Check that dirname is a directory.
7024 2001-12-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7025 Patch by Henning Schmiedehausen <henning@forge.intermeta.de>
7027 * common-src/file.c (safe_cd): Create the AMANDA_DBGDIR and
7028 AMANDA_TMPDIR directory.
7030 2001-12-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7032 * server-src/amverify.sh.in: Check that @AMANDA_TMPDIR@ exist.
7033 * server-src/amrmtape.sh.in: Ditto.
7035 2001-12-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7037 * changer-src/Makefile.am: fix setting of libexec_PROGRAMS.
7039 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7041 * server-src/amstatus.pl.in: Work with amflush log.
7043 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7045 * server-src/driver.c (nodump): new argument, Don't start the dumpers
7047 * server-src/holding.c (get_flush): chdir to original cwd.
7048 * server-src/reporter.c: accept driver and amflush line in log.
7049 * server-src/amflush.c: exec driver to do the flushing.
7051 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7053 * server-src/amstatus.pl.in: Fixup for estimate, write flush line.
7055 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7057 * recover-src/extract_list.c: You can change the tape device
7060 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7062 * restore-src/amrestore.c (restore): try to find the next chunk
7063 in the current directory.
7065 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7067 * example/amanda.conf.in: typo.
7069 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7071 Patch by Roland E. Lipovits <rel@lipo.at0.net>
7072 * example/amanda.conf.in: typo.
7074 2001-12-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7076 * server-src/dumper.c, server-src/taper.c, server-src/chunker.c:
7077 Replace TRY_AGAIN by TRYAGAIN.
7079 2001-11-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7080 Patch by Michael D. Beynon <beynon@ll.mit.edu>
7082 * server-src/driver.c (main): Take care of empty tapeq.
7084 2001-11-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7086 * server-src/diskfile.c (lookup_host): Match must be exact.
7088 2001-11-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7090 * server-src/planner.c: Add host, disk, datestamp and level on
7091 FLUSH line. Add datestamp on DUMP line.
7092 * server-src/driver.c (read_flush): Read new format of FLUSH line.
7093 * server-src/driver.c (read_schedule): Read new format of DUMP line.
7094 * server-src/amflush.c: Write a datestamp on stderr.
7095 * server-src/amdump.sh.in: Write a datestamp on stderr.
7096 * server-src/amstatus.pl.in: Works with autoflush.
7098 2001-11-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7099 * server-src/conffile.c (autoflush): New configuration options.
7100 * server-src/conffile.h (autoflush): New configuration options.
7101 * man/amanda.8.in: Document it.
7102 * example/amanda.conf.in: Document it.
7103 * server-src/holding.h (get_flush, pick_datestamp, pick_all_datestamp,
7104 cleanup_holdingdisk): New prototype.
7105 * server-src/holding.c (scan_holdingdir, cleanup_holdingdisk,
7106 get_flush): New function.
7107 * server-src/holding.c (pick_datestamp, pick_all_datestamp): New
7109 * server-src/amcleanupdisk.c: Change call to pick_all_datestamp.
7110 * server-src/amflush.c: Change call to pick_all_datestamp.
7111 * server-src/find.c: Change call to pick_all_datestamp.
7112 * server-src/planner.c: Write FLUSH line to driver, the schedule
7113 line contain the keyword DUMP.
7114 * server-src/planner.c: Add datestamp to SUCCESS and FAIL line.
7115 * server-src/amstatus.pl.in: New parsing of DUMP line.
7116 * server-src/driverio.h: New datestamp field in sched_t;
7117 * server-src/driver.c (build_diskspace): New function to build a
7118 assignedhd_t from an holding file.
7119 * server-src/driver.c (read_flush): New function to read the list
7121 * server-src/driver.c (read_schedule): Parse the keyword DUMP.
7122 * server-src/driver.c: Add datestamp to FAIL line.
7123 * server-src/dumper.c: Add datestamp to FAIL line.
7124 * server-src/reporter.c (timedata_t, repdata_t) : Major change of
7126 * server-src/taper.c: Add datestamp to FAIL line.
7128 2001-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7130 * server-src/conffile.c: New dumporder configuration.
7131 * server-src/conffile.h: Likewise.
7132 * server-src/driver.c (start_some_dumps): Use dumporder to
7133 select the next disk to dump.
7134 * example/amanda.conf.in: Give an example of dumporder.
7135 * man/amanda.8.in: Document it.
7137 2001-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7139 * recover-src/amrecover.h (cd_glob, cd_regex, cd_dir): New prototypes.
7140 * recover-src/set_commands.c (cd_glob, cd_regex, cd_dir): New functions.
7141 * recover-src/uparse.y: Add new token CDX, call cd_glob instead
7142 of set_directory for cd command, call cd_regex for cdx command.
7143 * recover-src/uscan.l: On cdx string return CDX token.
7144 * recover-src/help.c: Document it.
7145 * man/amrecover.8.in: Document it.
7147 2001-09-26 John R. Jackson (jrj@purdue.edu)
7149 * server-src/reporter.c: Fix problem when column sizes are negative.
7151 2001-09-21 John R. Jackson (jrj@purdue.edu)
7153 * server-src/Makefile.am: Add -I../common-src so genversion.h can be
7154 found (since it is built on the fly). Only fails when build is done
7155 in a different directory than the sources.
7157 2001-09-17 John R. Jackson (jrj@purdue.edu)
7159 * server-src/getconf.c: Add capabilities to amgetconf to return
7160 build environment values and also to open and close a debug file
7162 * man/amgetconf.8.in: Ditto.
7163 * changer-src/chg-scsi.c: Ditto.
7164 * common-src/amanda.h: Ditto.
7165 * common-src/debug.c: Ditto.
7166 * common-src/error.c: Ditto.
7167 * server-src/dumper.c: Ditto.
7169 2001-09-17 John R. Jackson (jrj@purdue.edu)
7171 * server-src/planner.c: Make sure we do not attempt to bump beyond
7174 2001-09-16 Thomas Hepper (th@ant.han.de)
7175 * changer-src/chg-scsi.c: Added new config option autoinv,
7176 if not set no auto inventory will be done if the label db is out of
7177 sync. Reworked MapBarCode, now the parameters are passed as a struct
7178 and the result is returned in this struct (MBC_T),
7179 also removed some duplicate/nonsens code from MapBarCode
7180 Changed the definitions for slot_file. It was used duplicate,
7181 1. as the config file set by amanda.conf, and second set by the
7182 config option in the chg-scsi config file. Now the file from
7183 amanda.conf is called chg_scsi_conf. and changer_file is renamed
7185 Added check if cleanfile is not set, if true clean_file is set to NULL
7186 Now return if tape_device is not in the range 0-9.
7187 Added some checks if we have all informations like slot_file,
7188 devices etc. Fixed and error in the search function,
7189 if the searched vol is already loaded return the correct info
7190 and not 'label not found'. Fixed error in the parameter passing
7191 to get_relative_slot. If the option was -slot last we where
7192 1 above the end parameter..
7194 * changer-src/scsi-bsd.c: Fix compile problems.
7195 * changer-src/scsi-changer-driver.c: Fixed the last problems :-)
7196 for the label/barcode handling...
7197 * changer-src/scsi-defs.h: Added new struct MBC_T
7198 * changer-src/sense.c: Added some more messages for Exabyte 210 lib
7200 2001-09-01 John R. Jackson (jrj@purdue.edu)
7202 * client-src/sendsize.c: Fix memory allocation problem.
7204 2001-08-31 John R. Jackson (jrj@purdue.edu)
7206 * server-src/amindex.c: Fix memory leak. Compliments of Robert Minsk
7207 <egbert@centropolisfx.com>.
7208 * server-src/logfile.c: Fix memory leak. Compliments of Robert Minsk
7209 <egbert@centropolisfx.com>.
7211 2001-08-30 John R. Jackson (jrj@purdue.edu)
7213 * server-src/planner.c: Fix problem with maintenance of total level
7214 0 size when disk being brought back into the schedule was not doing
7215 a level 0. Compliments of Robert Minsk <egbert@centropolisfx.com>.
7217 2001-08-24 John R. Jackson (jrj@purdue.edu)
7219 * server-src/amverify.sh.in: Fix missing backtick error.
7221 2001-08-24 John R. Jackson (jrj@purdue.edu)
7223 * server-src/taper.c: Allocate buffers on page boundaries.
7225 2001-08-22 John R. Jackson (jrj@purdue.edu)
7227 * tape-src/Makefile.am: Add chown/chgrp rules for ammt/amdd install
7228 so they end up like all the other Amanda programs.
7230 2001-08-15 Thomas Hepper (th@ant.han.de)
7231 * changer-src/chg-scsi.c. Removed version 1 DB support from mapBarCode. Changed the way parameter
7232 are given to MapBarCode and returned from there. No a struct is passed where all infos
7233 will be returned to the calling function.
7234 If eject is set we will not call LogSense in chg-scsi because it is also called in the
7236 * changer-src/scsi-defs.h: Added struct MBC_T used by MapBarCode.
7237 * changer-src/scsi-changer-driver.c: Changed all calls to MapBarCode to the new way
7239 2001-08-14 John R. Jackson (jrj@purdue.edu)
7241 * docs/EXCLUDE: New document from Andrew Hall <ahall@secureworks.net>
7242 describing how to set up and use GNU tar exclusions.
7243 * docs/Makefile.am: Added EXCLUDE and PORT.USAGE.
7245 2001-08-14 John R. Jackson (jrj@purdue.edu)
7247 * docs/PORT.USAGE: New document about how Amanda ports are used.
7249 2001-08-14 John R. Jackson (jrj@purdue.edu)
7251 * client-src/sendsize.c: Fix patch merge goof (ap_snprintf -> snprintf).
7253 2001-08-14 John R. Jackson (jrj@purdue.edu)
7255 * common-src/stream.c: Add stream_client_privileged() function to
7256 get a privileged port and fail if one is not available. The older
7257 stream_client() function gets a (non-privileged) port in the
7258 configured portrange, if set and possible, else anything available.
7259 * common-src/stream.h: Prototypes.
7260 * recover-src/amrecover.c: Use stream_client_privileged() instead of
7262 * recover-src/extract_list.c: Ditto.
7263 * configure.in: Added several more port range sanity checks. Added
7264 --with-tcpportrange as an alias for --with-portrange.
7266 2001-08-09 Thomas Hepper (th@ant.han.de)
7267 * changer-src/chg-scsi.c: Added check in MapBarCode if the labelfile
7268 parameter is empty, and if yes return.
7269 Added global variable do_inventory, and if set do an inventory before
7271 In MapBarCode changed the way the UPDATE_SLOT is done, now it uses
7272 the slot number passed to MapBarCode to find and update the record.
7273 * changer-src/scsi-changer-driver.c: Added def. for BreeceHill Q7
7274 Added global variables which are set by the tape_rdlabel function
7276 Reworked the way how the updates of the labelfile are done.
7278 2001-08-01 John R. Jackson (jrj@purdue.edu)
7280 * client-src/selfcheck.c: Fix typos I introduced into the PC subdir
7282 * client-src/sendbackup-gnutar.c: Ditto.
7283 * client-src/sendsize.c: Ditto.
7285 2001-08-01 Marko Injac <marko.injac@mail.insert.si> via John R. Jackson (jrj@purdue.edu)
7287 * client-src/findpass.c: Allow backup of subdirs of PC shares for
7288 amanda-2.4.1beta1 by Greg Shebert amanda-hackers list Tue Feb 1,
7289 2000. Ported to amanda-2.4.2p2 on debian potato by Marko Injac.
7290 * client-src/findpass.h: Ditto.
7291 * client-src/selfcheck.c: Ditto.
7292 * client-src/sendbackup-gnutar.c: Ditto.
7293 * client-src/sendsize.c: Ditto.
7294 * docs/SAMBA: Ditto.
7296 2001-08-01 John R. Jackson (jrj@purdue.edu)
7298 * client-src/sendsize.c: Prefix each debug line with sendsize process
7299 information to make picking out the output from a particular estimate
7300 run easier when maxdumps > 1.
7302 2001-08-01 John R. Jackson (jrj@purdue.edu)
7304 * server-src/amcheck.c: Unlink the temp files as soon as they are
7305 created so they always go away when amcheck terminates. Use
7306 pipespawn() instead of system() to call the MAILER program. Call
7307 dbopen()/dbclose() in main() to write to a debug file instead of
7310 2001-08-01 John R. Jackson (jrj@purdue.edu)
7312 * common-src/debug.c: Only rename files that end in ".debug".
7314 2001-08-01 John R. Jackson (jrj@purdue.edu)
7316 * common-src/pipespawn.c: Show empty pipespawn() args as "".
7318 2001-07-31 John R. Jackson (jrj@purdue.edu)
7320 * server-src/conffile.h: Add support for tapetype "blocksize" keyword.
7321 * server-src/conffile.c: Add tapetype "blocksize" keyword. Use
7322 DISK_BLOCK_KB where appropriate instead of TAPE_BLOCK_SIZE. Disallow
7323 negative tape length and tapemark size.
7324 * common-src/alloc.c: Add new amtable_free() function. Adjust args
7325 to amtable_alloc() to be consistent with amtable_free().
7326 * common-src/amanda.h: Add new am_round() and am_floor() macros.
7327 Define new DISK_BLOCK_KB, DISK_BLOCK_BYTES, MAX_TAPE_BLOCK_KB,
7328 MAX_TAPE_BLOCK_BYTES constants. Remove TAPE_BLOCK_SIZE and
7330 * common-src/bsd-security.c: TAPE_BLOCK_BYTES -> NETWORK_BLOCK_BYTES.
7331 Use -1 instead of DEFAULT_SIZE.
7332 * common-src/rsh-security.c: Ditto.
7333 * common-src/fileheader.c: Change write_header() to build_header().
7334 Add blocksize arg. Get rid of unused fill_buffer() function.
7335 * common-src/fileheader.h: Ditto.
7336 * common-src/stream.c: Use negative value to indicate default buffer
7338 * common-src/stream.h: Add NETWORK_BLOCK_BYTES and STREAM_BUFSIZE
7339 constants. Remove DATABUF_SIZE and DEFAULT_SIZE.
7340 * man/amanda.8.in: Document the new "blocksize" tapetype keyword.
7341 Document that "length" in tapetype has meaning to some output
7342 drivers. Fix "bumpdays" and "speed" defaults. Document new "file:"
7343 output driver record length data file.
7344 * man/amrestore.8: Add new "-b blocksize" arg. Add description of
7345 how to catalogue the images on a tape.
7346 * recover-src/amrecover.c: DEFAULT_SIZE -> -1.
7347 * recover-src/extract_list.c: DEFAULT_SIZE -> -1. Use DISK_BLOCK_BYTES
7348 instead of TAPE_BLOCK_BYTES for the header size.
7349 * restore-src/amrestore.c: Add new "-b blocksize" arg. Document how
7350 the header is handled. Deal with arbritrary tape record sizes.
7351 * server-src/amlabel.c: Use the tapetype blocksize.
7352 * server-src/chunker.c: Use DISK_BLOCK_BYTES and DISK_BLOCK_KB as
7353 appropropriate instead of older constants. Rewrite disk I/O buffer
7354 management. Never pad output stream (e.g. to holding disk). Use
7355 -1 for default stream buffer size.
7356 * server-src/driver.c: Use DISK_BLOCK_KB where appropriate instead of
7358 * server-src/driverio.c: Set chunker argv[0] to name based on which
7359 dumper it is working with.
7360 * server-src/dumper.c: Use DISK_BLOCK_BYTES and DISK_BLOCK_KB as
7361 appropropriate instead of older constants. Rewrite disk I/O buffer
7362 management. Never pad output stream (e.g. to holding disk). Use
7363 -1 for default stream buffer size.
7364 * server-src/holding.c: Change TAPE_BLOCK_BYTES to DISK_BLOCK_BYTES.
7365 Use fullread() instead of fill_buffer().
7366 * server-src/planner.c: Use tapetype blocksize instead of constant
7367 for tape length calculations.
7368 * server-src/taper.c: Support tapetype blocksize. Only pad writes if
7369 blocksize is negative. Reorganize shared memory buffers to put
7370 data on page boundaries. Try reducing tapebuf count if allocation
7372 * tape-src/output-file.c: Maintain record size information. Use mask
7373 and flags from caller.
7374 * tape-src/output-null.c: Use new amtable_alloc() arg order.
7375 * tape-src/output-rait.c: Use new amtable_alloc() arg order. Add
7376 private version of amtable_free() for standalone build. Fix off
7377 by one and other table allocation problems.
7378 * tape-src/output-rait.h: Maintain file descriptor count in the
7380 * tape-src/tapeio.c: Support tapetype blocksize. Use new
7381 amtable_alloc() arg order. Fix some error message text.
7382 * tape-src/tapeio.h: New prototypes with blocksize arg.
7383 * tape-src/tapetype.c: Add "-b blocksize" arg. Fix some end case
7386 2001-07-30 Ben Lewis (bhlewis@purdue.edu) via John R. Jackson (jrj@purdue.edu)
7388 * recover-src/amrecover.c: Improve the "Unexpected server end of file"
7391 2001-07-30 Ben Lewis (bhlewis@purdue.edu) via John R. Jackson (jrj@purdue.edu)
7393 * man/amanda.8.in: Document includefile.
7394 * man/amdump.8.in: Add note that local crontab documention should be
7395 checked for proper syntax.
7396 * man/amrecover.8.in: Document use of PAGER environment variable.
7397 * man/amrestore.8: Document that GNU tar must be used as some vendor
7398 tar programs cannot read GNU tar format.
7399 * docs/FAQ: Update location of online FAQ.
7401 2001-07-25 John R. Jackson <jrj@purdue.edu>
7403 * docs/TAPE.CHANGER: Changes from Ben Lewis (bhlewis@purdue.edu) to
7404 document the new (but optional) searchable features.
7406 2001-07-19 John R. Jackson <jrj@purdue.edu>
7408 * common-src/error.c: Fix function prototype error.
7410 2001-07-19 John R. Jackson <jrj@purdue.edu>
7412 * common-src/error.c: Add new function errordump() that acts like
7413 error() but calls abort() to (try to) drop core.
7414 * common-src/amanda.h: Prototype.
7415 * common-src/alloc.c: Call errordump() instead of error() for some
7416 memory allocation failures to aid traceback.
7418 2001-07-19 John R. Jackson <jrj@purdue.edu>
7420 * server-src/amadmin.c: Improve the error message when read_conffile()
7422 * server-src/amcheck.c: Ditto.
7423 * server-src/amcleanupdisk.c: Ditto.
7424 * server-src/amflush.c: Ditto.
7425 * server-src/amlabel.c: Ditto.
7426 * server-src/amlogroll.c: Ditto.
7427 * server-src/amtape.c: Ditto.
7428 * server-src/amtrmidx.c: Ditto.
7429 * server-src/amtrmlog.c: Ditto.
7430 * server-src/driver.c: Ditto.
7431 * server-src/dumper.c: Ditto.
7432 * server-src/getconf.c: Ditto.
7433 * server-src/planner.c: Ditto.
7434 * server-src/reporter.c: Ditto.
7435 * server-src/taper.c: Ditto.
7437 2001-07-19 John R. Jackson <jrj@purdue.edu>
7439 * server-src/driverio.c: Make the name "ps" reports match the dumper
7440 name (e.g. "dumper3").
7442 2001-07-18 John R. Jackson <jrj@purdue.edu>
7444 * changer-src/chg-chio.pl.in: Try to unload the drive before moving
7445 a tape back to a slot. Fixes a problem on Ecrix AutoPAK devices.
7446 Patch compliments of Sam Leffler <sam@errno.com>.
7448 2001-07-18 John R. Jackson <jrj@purdue.edu>
7450 * server-src/amverify.sh.in: Change to the Amanda temp directory
7451 instead of the config directory. In addition to making amverify
7452 act like most other Amanda programs, this gets around an
7455 2001-07-18 John R. Jackson <jrj@purdue.edu>
7457 * man/amanda.8.in: Describe the .amandahosts format better. Clean up
7458 a couple of minor typos.
7460 2001-07-13 John R. Jackson <jrj@purdue.edu>
7462 * common-src/dgram.h: Improve UDP datagram size calculation.
7463 * server-src/amcheck.c: Break up large requests into pieces.
7464 * server-src/planner.c: Break up large requests into pieces.
7466 2001-07-12 John R. Jackson <jrj@purdue.edu>
7468 * tape-src/amdd.c: Use tapefd_close() in amdd if the file was
7469 opened with tape_open(). This does any necessary output driver
7470 cleanup (such as moving the current file position for "file:").
7472 2001-07-12 John R. Jackson <jrj@purdue.edu>
7474 * Makefile.am: Fix automake warning.
7476 2001-07-11 John R. Jackson <jrj@purdue.edu>
7478 * tape-src/tapetype.c: Use tapefd_write() instead of write().
7480 2001-07-11 John R. Jackson <jrj@purdue.edu>
7482 * common-src/file.c: Fix a memory leak. Grab exponentially larger
7483 chunks of memory up to a point, then level out.
7485 2001-07-11 John R. Jackson <jrj@purdue.edu>
7487 * tape-src/tapetype.c: Only report a pass summary when stderr is not
7488 a tty. Deal with some obscure end cases.
7490 2001-07-10 John R. Jackson <jrj@purdue.edu>
7492 * changer-src/scsi-aix.c: Convert Tape_Eject to Tape_Ioctl.
7493 * changer-src/scsi-solaris.c: Ditto.
7495 2001-07-10 John R. Jackson <jrj@purdue.edu>
7497 * server-src/amcheck.c: Move user name check before attempt to create
7498 temp files so more appropriate error message is generated.
7500 2001-07-09 John R. Jackson <jrj@purdue.edu>
7502 * common-src/dgram.c: Fix error end case unitialized variable.
7504 2001-07-05 John R. Jackson <jrj@purdue.edu>
7506 * docs/TAPE.CHANGERS: Minor docs/TAPE.CHANGERS update to clarify
7507 that -slot and -eject unload and put the current tape away.
7509 2001-07-02 John R. Jackson <jrj@purdue.edu>
7511 * changer-src/chg-manual.sh.in: Add yet another ONLINEREGEX, this one
7512 compliments of Nick (n_hibma@qubesoft.com) for some FreeBSD variant.
7514 2001-06-29 John R. Jackson <jrj@purdue.edu>
7516 * tape-src/tapeio.c: Move the device name parsing routines from the
7517 RAIT module to tapeio and make them generic. This allows one
7518 module to open another, e.g. rait:{null:,z1,z2,z3}. Maintain
7519 both the original open flags and mask and use them on the real open.
7520 * tape-src/amdd.c: Make sure this compiles "stand-alone". To do so,
7521 use: gcc -Wall -DNO_AMANDA amdd.c output-rait.c output-tape.c.
7522 Abort as soon as one of the open calls fails instead of waiting
7523 for read/write to report a bad file descriptor.
7524 Pass a mask to the open function in case the output is created.
7525 * tape-src/ammt.c: Make sure this compiles "stand-alone". To do so,
7526 use: gcc -Wall -DNO_AMANDA ammt.c output-rait.c output-tape.c.
7527 * tape-src/output-file.c: Maintain both the original open flags and
7528 mask and use them on the real open.
7529 * tape-src/output-null.c: Ditto.
7530 * tape-src/output-file.h: Change to non-prototype declaration of
7531 file_tape_open() to deal with the optional mask parameter.
7532 * tape-src/output-null.h: Ditto.
7533 * tape-src/output-tape.h: Ditto.
7534 * tape-src/tapeio.h: Ditto. Add device name parsing prototypes.
7535 * tape-src/output-rait.c: Make sure this compiles "stand-alone".
7536 Maintain both the original open flags and mask and use them on the
7538 * tape-src/output-rait.h: Make sure this compiles "stand-alone".
7539 * tape-src/output-tape.c: Make this part of the "stand-alone" compile
7540 of ammt and amdd since it knows all the proper ioctl operations.
7541 Maintain both the original open flags and mask and use them on the
7544 2001-06-27 John R. Jackson <jrj@purdue.edu>
7546 * changer-src/chg-manual.sh.in: Add "bs=32k" to the dd command so
7547 some kernels would not complain about the tape block being larger
7549 * changer-src/chg-mtx.sh.in: Ditto.
7551 2001-06-21 John R. Jackson <jrj@purdue.edu>
7553 * server-src/planner.c: If the compression rate is very small (such
7554 as zero after some types of errors) and FORCE_FULL is set, a path
7555 is taken that (among other bad things) generates a schedule that
7556 driver cannot read (syntax errors).
7557 * server-src/conffile.c: Do not allow negative comprate values.
7559 2001-06-19 John R. Jackson <jrj@purdue.edu>
7561 * server-src/holding.c: Use fullread() instead of read() to read the
7564 2001-06-19 John R. Jackson <jrj@purdue.edu>
7566 * server-src/amtape.c: Document "slot advance" in the help output.
7568 2001-06-19 John R. Jackson <jrj@purdue.edu>
7570 * server-src/amindexd.c: Minor gethostbyaddr() argument change to be
7571 consistent with other Amanda usage.
7573 2001-06-19 John R. Jackson <jrj@purdue.edu>
7575 * server-src/amverify.sh.in: Better cross platform tar detection.
7577 2001-06-19 John R. Jackson <jrj@purdue.edu>
7579 * server-src/amverify.sh.in: More of the vrestore vs. 'b' flag change.
7581 2001-06-19 John R. Jackson <jrj@purdue.edu>
7583 * recover-src/amrecover.c: Add more debugging to guess_disk()
7584 function to better track how the disk is determined from the
7585 current working directory. Report current working directory in
7586 error message. Change "Trying" to "Trying disk" to distinguish
7587 this from host attempts.
7588 * recover-src/set_commands.c: Remove redundant amfree() call. Remove
7589 redundant "OISD /" exchange. Change "Trying" to "Trying host" to
7590 distinguish this from disk attempts.
7592 2001-06-19 Thomas Hepper <th@ant.han.de>
7593 * changer-src/chg-scsi.c: Made clean_slot a global var. Removed
7594 the label db update stuff from the COM_SLOT part (moved to unload
7595 in scsi-changer-driver.c)
7596 * changer-src/scsi-changer-driver.c: Do an unload if the tape is
7597 loaded in the Inventory function. Added an marker to avoid recursion
7598 in Inventroy function. Added label db check in unload function and
7599 call Inventroy if it indicates an out of sync db
7601 2001-06-18 John R. Jackson <jrj@purdue.edu>
7603 * recover-src/extract_list.c: Do not pass a 'b' (blocking) factor
7604 flag to vrestore. Some versions do not like it.
7606 2001-06-18 John R. Jackson <jrj@purdue.edu>
7608 * common-src/dgram.c: Use a sin_addr arg to inet_ntoa() like all the
7610 * common-src/stream.c: Ditto.
7612 2001-06-18 John R. Jackson <jrj@purdue.edu>
7614 * changer-src/chg-manual.sh.in: Add yet another online regex. Found
7615 by George Herson <gherson@snet.net>.
7617 2001-06-12 Thomas Hepper <th@ant.han.de>
7618 * changer-src/scsi-changer-driver.c (Inventory): Call Tape_Ready and let this function
7619 decide how to get the tape drive status.
7620 * changer-src/scsi-changer-driver.c (Tape_Ready): Now this function looks how to get
7621 the tape drive status.
7622 * changer-src/scsi-linux.c: changed some dbprintf to DebugPrint
7624 2001-06-10 Thomas Hepper <th@ant.han.de>
7625 * changer-src/chg-scsi.c: If get_current_slot gets an error from the fscanf function
7626 return also an error (-1) to the calling fucntion. (Fixes an error if the slot file
7627 is created with an touch)
7628 * changer-src/scsi-changer-driver.c: Fixed some NULL pointer errors in PrintConf
7629 Fixed an error in the unload function if the destination slot for the unload is not empty.
7630 (cut and paste error !!)
7632 2001-06-07 Thomas Hepper <th@ant.han.de>
7633 * changer-src/scsi-changer-driver.c: Change the type of TapeStatus from void to int.
7634 In PrintConf changed the loop variable for scan of pDev from 3 to CHG_MAXDEV.
7635 In PrintConf check if pDev[count].inquiry is a NULL pointer, and if yes skip.
7636 * changer-src/scsi-irix.c: Changed a lot, now it should work.
7637 * client-src/sendbackup-dump.c: Removed a { in the vxfsdump part.
7638 * tape-src/output-tape.c: Fixed the tape status checks, the structure elelemt
7639 is called buf.mt_dposn not buf.mt.dposn.
7641 2001-06-04 Thomas Hepper <th@ant.han.de>
7642 * changer-src/scsi-changer-driver.c: Renamed Tape_Eject to Tape_Ioctl
7643 incl. change of passwd parameter.
7645 2001-06-04 Thomas Hepper <th@ant.han.de>
7646 * changer-src/chg-scsi.c: include dmalloc.h for debugging of mem problems
7647 * changer-src/scsi-cam.c: Replaced Tape_Eject with a more generic
7648 function to send different ioctls (Tape_Ioctl)
7649 * changer-src/scsi-bsd.c: see above
7650 * changer-src/scsi-hpux_new.c: see above
7651 * changer-src/scsi-irix.c: If the device can be opened in SCSI_OpenDevice
7652 set pDev[ip].avail to 1.
7653 * changer-src/scsi-linux.c: include dmalloc.h for debugging of mem problems.
7654 Fixed an invalid free in SCSI_OpenDevice. Replaced Tape_Eject with Tape_Ioctl.
7655 * changer-src/scsi-changer-driver.c: include dmalloc.h for debugging of mem problems
7656 Eject the tape in the inventory function before the scan to get all
7657 barcode labels. Check in GenericEject if the device is able to receive
7658 SCSI commands, if not use the ioctl interface to eject the tape.
7659 Same for the GenericRewind function.
7660 Added the LogSense in the GenericEject function.
7661 * changer-src/scsi-defs.h: Added define for Tape_Ioctl commands, IOCTL_EJECT.
7663 2001-06-01 John R. Jackson <jrj@purdue.edu>
7665 * server-src/amindexd.c (build_disk_table): Make sure a holding disk
7666 image is used rather than a copy also on tape, if both exist.
7668 2001-06-01 Thomas Hepper <th@ant.han.de>
7669 * changer-src/scsi-changer-driver.c: Added an range check in the load
7670 function and abort if the requested slot is out of range.
7671 Fixed in incorrect pointer in the eject function if the ioctl
7674 2001-05-29 John R. Jackson <jrj@purdue.edu>
7676 * server-src/reporter.c: Fix PostScript output to only show what went
7677 on the tape, not what the total amount dumped. Compliments of
7678 Joshua Baker-LePain <jlb17@duke.edu>.
7680 2001-05-28 Thomas Hepper <th@ant.han.de>
7681 * changer-scsi/chg-scsi.c: Made the array for pDev configurable, #define CHG_MAXDEV
7682 * changer-scsi/scsi-defs.h: Added the define for CHG_MAXDEV
7683 * changer-src/scsi-cam.c: Set the flag pDev[x].avail to 1 if the device can be openend.
7684 Added debug message if the open fails. Implemented the function Tape_Status (not tested)
7685 * changer-src/scsi-changer-driver.c: Added the function DLT448ElementStatus, was lost
7686 during merge from 2.4.2. The difference to GenericElementStatus is that the DecodeModeSense
7687 needs an offset of 12, not 0 as in GenericElementStatus.
7688 Added an unload/GenericResetStatus in the Inventory function if an bar code reader is
7689 available. This is to get the label from the loaded tape.
7690 The function TapeStatus sets now the status regardless of the status of the tape.
7691 If the device is capable for sending SCSI commands use the SCSI interface to get
7692 the status of the tape.
7693 * docs/TAPE.CHANGERS: Added some notes about the debuglevel keyword and a short
7694 description on how to use the sgen interface on solaris 2.8
7696 2001-05-18 John R. Jackson <jrj@purdue.edu>
7698 * client-src/patch-system.sh.in: Missed a reference to kamanda in the
7699 last patch. Compliments of Tom Schutter <t.schutter@att.net>.
7701 2001-05-16 John R. Jackson <jrj@purdue.edu>
7703 * client-src/patch-system.sh.in: Go ahead and update /etc/services
7704 on a client even if the services themselves are not turned on to
7705 inetd. Compliments of Tom Schutter <t.schutter@att.net>. Add
7706 the TCP port for amandad for future use.
7708 2001-05-14 John R. Jackson <jrj@purdue.edu>
7710 * client-src/amandad.c: Fix hang when the incoming packet size is
7711 larger than the pipe buffer. Also, report back when too much
7712 data for a packet is returned by the service (this is not properly
7713 diagnosed back to, e.g., amcheck, but that's for another day).
7714 * common-src/bsd-security.c: Fix minor comment error.
7716 2001-05-11 John R. Jackson <jrj@purdue.edu>
7718 * common-src/util.c (bind_portrange): Log a debug message stating
7719 explicitly that all ports in the requested range were busy, or
7720 that a specific port failed bind() for an unexpected reason.
7722 2001-05-07 John R. Jackson <jrj@purdue.edu>
7724 * client-src/sendbackup-dump.c: Do not use full path to sed. Found by
7725 Roland E. Lipovits (rel@lipo.at0.net).
7727 2001-05-07 Thomas Hepper <th@ant.han.de>
7728 * changer-src/chg-scsi.c : Fixed NULL pointer in debug print of the config.
7729 * changer-src/scsi-canger-driver.c : Try to get and set the status of the tape drive in
7730 GenericElementStatus if there is an error condition. Move from tape to tape to get the
7731 tape loaded if it is only ejected.
7732 * changer-src/scsi-defs.h : New define for the Tape_Status fucntion, TAPE_NOT_LOADED
7733 * changer-src/scsi-linux.c : Added return type for tape not loaded
7734 * changer-src/scsi-solaris.c : In SCSI_ExecuteCommand force the direction to write if the
7735 databuffersize is 0, if the direction is input the ioctl returns with errno 22, invalid argument.
7736 The function Tape_Status will now return either tape loaded or not.
7737 * example/chg-scsi-solaris.conf.in : Added pointer to doc/TAPE.CHANGERS on how to configure
7739 * doc/TAPE.CHANGERS : Updated the description of the chg-scsi.conf options, short description on
7740 how to confgure the sgen driver on solaris 2.8
7742 2001-05-04 John R. Jackson <jrj@purdue.edu>
7744 * config/depcomp: Fix problem with argument* processing and update to
7747 2001-05-01 Thomas Hepper <th@ant.han.de>
7748 * changer-src/chg-scsi.c : Added patch for the slot advance command from John R. Jackson
7749 * changer-src/scsi-changer-driver.c : Renamed EXB120BarCode to EXB_BarCode. The currently
7750 known Exabyte libs handles the reader in the same way.
7752 2001-04-28 Thomas Hepper <th@ant.han.de>
7753 * changer-scsi/chg-scsi.c : Added missing break in MapBarCode
7754 Changed the way an tape label is read, use tape_open to open the
7755 device, not own open.
7756 * changer-src/scsi-changer-driver.c : Changed the way an tape label
7757 is read, use tape_open to open the device, not own open.
7758 * changer-src/scsi-linux.c : Fixed error on reopen of non SCSI devices
7759 (/dev/nst0 for example)
7761 2001-04-26 Thomas Hepper <th@ant.han.de>
7763 * changer-src/scsi-aix.c : Added more different ret values depending on the SCSI
7765 * changer-src/scsi-changer-driver.c: Split GenericElementStatus in GetElementStatus which
7766 reads the element Status, and GenericElementStatus which handles the errors.
7767 Removed DLT448ElementStatus. Rework the handling of some SCSI error conditions...
7768 * changer-src/scsi-defs.h: Added more defs for the debug SECTION types.
7769 * changer-src/scsi-linux.c: Fixed an bug in the non SCSI device handling in SCSI_OpenDevice
7770 * changer-src/sense.c: Added EXB-210 defs, added defs for READ_ELEMENT_STATUS error conditions.
7772 2001-04-25 John R. Jackson <jrj@purdue.edu>
7774 * changer-src/chg-rth.pl.in: Add exec_prefix back since it is usually
7775 used to define sbindir. Sigh. Include X=X assignments to get rid
7776 of the Perl warnings.
7777 * server-src/amoverview.pl.in: Ditto.
7779 2001-04-24 John R. Jackson <jrj@purdue.edu>
7781 * changer-src/chg-chio.pl.in: Remove unused exec_prefix to get rid of
7782 warning message. Patch from Nick Hibma <n_hibma@qubesoft.com>.
7784 2001-04-23 John R. Jackson <jrj@purdue.edu>
7786 * client-src/selfcheck.c: Allow Samba shares with no password.
7787 * client-src/sendbackup-gnutar.c: Ditto.
7788 * client-src/sendsize.c: Ditto.
7790 2001-04-15 Thomas Hepper <th@ant.han.de>
7791 * Makefile.am: Added contrib/gsc files to EXTRA_DIST
7793 2001-04-15 Thomas Hepper <th@ant.han.de>
7794 * changer-src/scsi-aix.c: Rework of the SCSI interface, support
7795 to talk to an device handled by the gsc driver (not tested yet)
7796 * changer-src/scsi-bsd.c (SCSI_ExecuteCommand): Fix error in
7797 device handling, Changed the return codes in case of an error
7798 * changer-src/scsi-cam.c (SCSI_ExecuteCommand): Fix error in
7799 device handling, Changed the return codes in case of an error
7800 * changer-src/scsi-changer-driver.c: Changed the way
7801 SCSI_ExecuteCommand passes error conditions back, error handling
7802 should now be done by the calling function, SCSI_Run for example.
7803 * changer-src/scsi-changer-driver.c (CheckMove): If the
7804 DeviceCapabilitiesPage is not set do not return an error, print
7805 an warning to the debug file.
7806 * changer-src/scsi-defs.h: New define for AIX_USE_GSC
7807 New defines for the return codes of SCSI_ExecuteCommand
7808 * changer-src/scsi-hpux_new.c: Fix error in device handling.
7809 Changed the return codes in case of an error
7810 * changer-src/scsi-irix.c: Fix error in device handling.
7811 Changed the return codes in case of an error
7812 * changer-src/scsi-solaris.c: Fix error in device handling.
7813 Changed the return codes in case of an error
7815 2001-04-15 Thomas Hepper <th@ant.han.de>
7816 *contrib/gsc: Generic SCSI interface for AIX, used by chg-scsi
7818 2001-04-13 John R. Jackson <jrj@purdue.edu>
7820 * example/amanda.conf.in: Fix multiple holding disks comment.
7822 2001-04-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7824 * client-src/getfsent.h (search_fstab): New prototype.
7825 * client-src/getfsent.c (search_fstab): New arg check_dev, skip
7826 entry if check_dev==1 and device stats failed.
7827 * client-src/getfsent.c (open_fstab for linux): Open MOUNTED.
7828 * client-src/getfsent.c (close_fstab for linux): close MOUNTED.
7829 * client-src/getfsent.c (get_fstab_nextentry for linux): parse MOUNTED.
7830 * client-src/getfsent.c (amname_to_devname, amname_to_dirname,
7831 amname_to_fstype): Call search_fstab sequentialy with 1 and 0
7834 2001-04-10 John R. Jackson <jrj@purdue.edu>
7836 * docs/INSTALL: Update location to GNUPLOT per Lars Hecking
7839 2001-04-09 Thomas Hepper <th@ant.han.de>
7840 * changer-src/scsi-changer-driver.c: More rework on the debug output.
7841 changed definition SENSE_NO_TAPE to SENSE_TAPE_NOT_ONLINE
7842 In function GenericRewind do an check before the rewind to see
7843 if the tape is loaded.
7844 * changer-src/scsi-defs.h: New #define for the debug, SECTION_TAPE
7845 * changer-src/sense.c: New definition for SENSE_RETRY, ASC=4, ASCQ=1
7847 2001-04-08 Alexandre Oliva <aoliva@redhat.com>
7849 * client-src/getfsent.c (search_fstab): Don't skip entry just
7850 because device stats failed.
7852 2001-04-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7854 * config/config.guess: Upgrade from ftp://ftp.gnu.org/pub/gnu/config
7855 * config/config.sub: Upgrade from ftp://ftp.gnu.org/pub/gnu/config
7856 * config/mkinstalldirs: Upgrade from automake CVS.
7858 2001-04-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7860 * config/depcomp: new file for automake.
7862 2001-04-03 John R. Jackson <jrj@purdue.edu>
7864 * Makefile.am: Remove *.test.c from the distribution.
7866 2001-04-02 John R. Jackson <jrj@purdue.edu>
7868 * NEWS: Update some of the 2.4.2 items.
7870 2001-03-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7872 * client-src/getfsent.c (search_fstab): If the device doesn't
7873 exist, it will take the entry from /etc/mtab.
7875 2001-03-26 John R. Jackson <jrj@purdue.edu>
7877 * server-src/amtape.c: Do not rewind for slot "advance". Do not report
7878 device name (which is bogus) for slot "advance".
7880 2001-03-23 John R. Jackson <jrj@purdue.edu>
7882 * example/amanda.conf.in: Add warning that the sample amanda.conf
7883 will not work as is and must be edited to match the installation.
7885 2001-03-21 John R. Jackson <jrj@purdue.edu>
7887 * recover-src/extract_list.c (extract_files_child): Fix problem that
7888 caused xfsrestore arg list to not be NULL terminated.
7890 2001-03-19 John R. Jackson <jrj@purdue.edu>
7892 * configure.in: Add --with-debug-days (default is 4) and remove
7893 --with-pid-debug-files.
7894 * common-src/Makefile.am: Clean up test program dependencies.
7895 * common-src/debug.c: Create timestamped debug file names and remove
7896 files older (based on file name) than --with-debug-days. Rename old
7897 style names to new style (based on modification time) the first time
7899 * common-src/file.c: Use construct_datestamp() instead of private code.
7900 * common-src/genversion.c: Display AMANDA_DEBUG_DAYS and remove
7901 DEBUG_FILE_WITH_PID.
7902 * common-src/util.c: Move construct_datestamp to here and add new
7903 function construct_timestamp. Change time used to build string to
7904 be an optional parameter instead of always getting it in the routine.
7905 * common-src/util.h: Add prototypes.
7906 * server-src/amcleanupdisk.c: Change construct_datestamp call to pass
7907 indication that it should get the current time.
7908 * server-src/amflush.c: Ditto.
7909 * server-src/chunker.c: Ditto.
7910 * server-src/driver.c: Ditto.
7911 * server-src/dumper.c: Ditto.
7912 * server-src/planner.c: Ditto.
7913 * server-src/server_util.c: Remove construct_datestamp (now in util.c).
7914 * server-src/server_util.h: Remove prototype.
7916 2001-03-15 John R. Jackson <jrj@purdue.edu>
7918 * server-src/planner.c (analyze_estimate): Do not do an incremental
7919 if FORCE_NO_BUMP is set and the last dump was a level 0.
7921 2001-03-14 John R. Jackson <jrj@purdue.edu>
7923 * server-src/amcheck.c: Change message from NOTE to WARNING when
7924 the hold file exists.
7925 * man/amcheck.8.in: Ditto.
7927 2001-03-14 John R. Jackson <jrj@purdue.edu>
7929 * client-src/selfcheck.c: Send smbclient via pipe instead of command
7930 line arg. Various minor cleanups. Use pipespawn instead of system()
7931 to clean up quoting problems and be consistent with sendsize and
7933 * client-src/sendbackup-dump.c: Send smbclient via pipe instead of
7934 line arg. Various minor cleanups.
7935 * client-src/sendbackup-gnutar.c: Send smbclient via pipe instead of
7936 line arg. Various minor cleanups. Clean up listed incremental file
7938 * client-src/sendbackup.c: Various minor cleanups.
7939 * client-src/sendsize.c: Send smbclient via pipe instead of command
7940 line arg. Various minor cleanups. Clean up listed incremental file
7942 * docs/SAMBA: Update and cleanup.
7943 * common-src/pipespawn.c: Import from 2.4.2 branch.
7944 * common-src/pipespawn.h: Import from 2.4.2 branch.
7945 * common-src/Makefile.am: Add pipespawn.[ch] references.
7947 2001-03-13 John R. Jackson <jrj@purdue.edu>
7949 * recover-src/extract_list.c (extract_files_child): Fix xfsrestore
7950 argument list processing.
7952 2001-03-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7954 * server-src/dumper.c (read_datafd): set errstr and return on
7955 databuf_write error.
7957 2001-03-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7959 * server-src/dumper.c (read_indexfd): Ignore error while writing
7960 to the index file. Log an L_INFO message.
7962 2001-03-09 John R. Jackson <jrj@purdue.edu>
7964 * server-src/taper.c: Initialize tape_fd to -1 and test in a couple
7965 more places. Run normal protocol after a tape startup error (e.g.
7966 "cannot overwrite") instead of just exiting to keep driver from
7967 reporting a broken pipe.
7969 2001-03-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7970 Reported by Eric Schnoebelen <eric@cirr.com>
7972 * server-src/changer.c (changer_command): Fix fd leak.
7974 2001-03-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7976 * server-src/server_util.c (cmdstr, getcmd, putresult): New.
7977 * server-src/server_util.h (cmdstr, getcmd, putresult): Prototype.
7978 * server-src/server_util.h (cmd_t): New.
7979 * server-src/driverio.c (cmdstr): Remove.
7980 * server-src/driverio.c: Use new cmdstr and cmd_t.
7981 * server-src/driverio.h: (tok_t): Remove.
7982 * server-src/amflush.c: Use new cmd_t.
7983 * server-src/driver.c: Use new cmd_t.
7984 * server-src/chunker.c (cmd_t, getcmd, putresult): Remove.
7985 * server-src/chunker.c: Use new cmd_t, getcmd and putresult.
7986 * server-src/dumper.c (cmd_t, getcmd, putresult): Remove.
7987 * server-src/dumper.c: Use new cmd_t, getcmd and putresult.
7988 * server-src/taper.c (cmd_t, getcmd, putresult): Remove.
7989 * server-src/taper.c: Use new cmd_t, getcmd and putresult.
7991 2001-03-05 John R. Jackson <jrj@purdue.edu>
7993 * common-src/util.c: The fullread() and fullwrite() functions should
7994 call read() and write(), not tapefd_read() and tapefd_write().
7996 2001-02-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
7998 * server-src/planner.c (setup_estimate): Don't re-ask for level 0
7999 if last_level is 0 and FORCE_NO_BUMP is set.
8001 2001-02-27 John R. Jackson <jrj@purdue.edu>
8003 * common-src/stream.h: Move DATABUF_SIZE to stream.h.
8004 * client-src/sendbackup.c: Do not ask for a big receive buffer.
8005 * server-src/dumper.c: Ask for a bigger send buffer. Minor typos.
8006 * server-src/taper.c: Ask for a bigger receive buffer.
8007 * recover-src/amrecover.c: Use stream_client instead of specific
8008 (and incorrect) bind() code.
8009 * recover-src/extract_list.c: Ditto.
8011 2001-02-27 John R. Jackson <jrj@purdue.edu>
8013 * common-src/dgram.c: Add lots more error logging to help track down
8016 2001-02-27 John R. Jackson <jrj@purdue.edu>
8018 * common-src/stream.c: Add lots more error logging to help track down
8021 2001-02-27 John R. Jackson <jrj@purdue.edu>
8023 * server-src/amtape.c: Rewind after loading a slot either by slot
8026 2001-02-27 John R. Jackson <jrj@purdue.edu>
8028 * configure.in: Add some commentary about why pushdef/popdef are
8029 needed around AC_CHECK_TYPE.
8031 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8032 Patch by Alex Pilosov <alex@pilosoft.com>
8034 * changer-src/scsi-cam.c: Clean up some SCSI CAM code,
8035 and permit use of both bus:target:lun(btl) and a full
8036 device name (/dev/ch0) as changerdev.
8038 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8039 Patch by Joe Rhett <jrhett@isite.net>
8040 and Jason Hollinden <jhollind@sammg.com>
8042 * changer-src/chg-zd-mtx.sh.in: Added barcode reader support,
8043 >9 tape slot support, variable for 'offline' or 'ONLINE'
8044 return value of tape device, and multi-config support. Moved
8045 all user settable variables to 'changerfile'.conf in the
8046 amanda config directory. Added commented out example of .conf
8049 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8051 * server-src/amindexd.c (uncompress_file): remove uncompressed
8052 index file if the command failed.
8054 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8056 * restore-src/amrestore.c (main): init r to 0.
8058 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8060 * changer-src/scsi-defs.h (PrintConf): Add prototype.
8061 * changer-src/scsi-changer-driver.c (SCSI_Run): Add prototype.
8062 * changer-src/scsi-linux.c (ScanBus): remove btl variable, return 0.
8064 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8066 * man/Makefile.am (EXTRA_DIST): add amdd.8 and ammt.8.
8068 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8070 * server-src/planner.c (setup_estimate): ask for level 0 for
8071 a new disk if force-bump is set,
8072 log force-bump and force-nobump command.
8074 2001-02-17 Thomas Hepper <th@ant.han.de>
8076 * changer-scsi/chg-scsi.c: New Option -genconf to create an example config file
8077 based on the information found on the system, works for Linux and BSD with cam
8078 support. New config option debuglevel
8079 * changer-src/scsi-changer-deriver.c: Reworked the debug output, it is now possible
8080 to control the amount of information by the config option debuglevel in the config
8081 file (docs follow), not complete yet.
8082 * changer-src/scsi-changer-driver.c: New function PrintConf to create an example
8084 New function DebugPrint to print debug information based on the variable debuglevel.
8085 Replaced a lot of dbprintf with new Function DebugPrint
8086 * changer-src/scsi-aix.c: changed parameter for ScanBus
8087 * changer-src/scsi-irix.c: changed parameter for ScanBus
8088 * changer-src/scsi-solaris.c: changed parameter for ScanBus
8089 * changer-src/scsi-bsd.c: changed parameter for ScanBus
8090 * changer-src/scsi-cam.c: Implemented function ScanBus
8091 * changer-src/scsi-linux.c: Implemented function ScanBus
8093 2001-02-09 John R. Jackson <jrj@purdue.edu>
8095 * server-src/diskfile.c: Fix core dump in test program.
8097 2001-02-09 John R. Jackson <jrj@purdue.edu>
8099 * tape-src/output-file.c: Use a "data" subdirectory of the main
8100 file driver device directory to hold the tape "files". This
8101 allows the status file to be moved to the main directory.
8102 * man/amanda.8.in: Document these changes.
8104 2001-02-08 Thomas Hepper <th@ant.han.de>
8106 * changer-src/scsi-aix.c: Added dummy ScanBus function
8107 * changer-src/scsi-bsd.c: Added dummy ScanBus function
8108 * changer-src/scsi-cam.c: Added dummy ScanBus function
8109 * changer-src/scsi-hpux_new.c: Added dummy ScanBus function
8110 * changer-src/scsi-irix.c: Added dummy ScanBus function
8111 * changer-src/scsi-defs.h: Added prototype for ScanBus function
8113 2001-02-04 John R. Jackson <jrj@purdue.edu>
8115 * man/amanda.8.in: Fix mailto to space separated, not comma.
8117 2001-02-03 John R. Jackson <jrj@purdue.edu>
8119 * .cvsignore: Add entries to keep CVS quiet.
8120 * */.cvsignore: Ditto.
8122 2001-02-03 John R. Jackson <jrj@purdue.edu>
8124 * client-src/Makefile.am: Add CLEANFILES rule to remove *.test.c.
8125 * common-src/Makefile.am: Add more sources as needed to the test
8126 programs so they would compile.
8127 * server-src/Makefile.am: Create TEST_PROGS make variable ala the
8128 other Makefile.am files.
8129 * tape-src/Makefile.am: Add CLEANFILES rule to remove *.test.c.
8131 2001-02-03 John R. Jackson <jrj@purdue.edu>
8133 * server-src/diskfile.c: Fix test program compilation error and bug
8134 when just a config name was given on the command line.
8136 2001-02-02 John R. Jackson <jrj@purdue.edu>
8138 * server-src/reporter.c: Fix problem with enum being unsigned on
8141 2001-01-29 John R. Jackson <jrj@purdue.edu>
8143 * tape-src/tapeio.c (tape_fsf): Go back to using snprintf as this
8146 2001-01-29 John R. Jackson <jrj@purdue.edu>
8148 * tape-src/output-tape.c (tape_tapefd_status): Convert flag values
8149 to booleans (compliments of Marc W. Mengel <mengel@fnal.gov>).
8150 * tape-src/tapeio.c (tape_fsf): Use ap_snprintf instead of snprintf
8151 (also compliments of Marc).
8153 2001-01-26 John R. Jackson <jrj@purdue.edu>
8155 * changer-src/Makefile.am: Double up the references to libamanda to
8156 handle systems that put regex in strange places.
8157 * client-src/Makefile.am: Ditto.
8158 * recover-src/Makefile.am: Ditto.
8159 * restore-src/Makefile.am: Ditto.
8160 * server-src/Makefile.am: Ditto.
8161 * tape-src/Makefile.am: Ditto.
8163 2001-01-23 John R. Jackson <jrj@purdue.edu>
8165 * configure.in: Add tapeio switch from Marc Mengel <mengel@fnal.gov>,
8166 enhance and add "null" and "file" output drivers. Change all
8167 tape changers (except chg-scsi) to use amdd and ammt. Change all
8168 tape changers (except chg-scsi) to log and use a consistent
8169 error reporting scheme. Fix various bugs along the way. Add new
8170 chg-multi config option, posteject, which is an optional script
8171 to call after each "tape" is ejected (e.g. to use to start a
8172 CDROM writer). Remove special code for tapedev of /dev/null
8173 (now handled by the "null" output driver). Changed the taper
8174 protocol to pass the host/disk/level so the write can send that
8175 along to the output driver. Fairly major rework of amrestore
8176 to clean up tape/non-tape and other oddities.
8177 * changer-src/chg-chio.pl.in: Ditto.
8178 * changer-src/chg-chs.sh.in: Ditto.
8179 * changer-src/chg-manual.sh.in: Ditto.
8180 * changer-src/chg-mtx.sh.in: Ditto.
8181 * changer-src/chg-multi.sh.in: Ditto.
8182 * changer-src/chg-rth.pl.in: Ditto.
8183 * changer-src/chg-zd-mtx.sh.in: Ditto.
8184 * client-src/sendbackup.c: Ditto.
8185 * common-src/alloc.c: Ditto.
8186 * common-src/amanda.h: Ditto.
8187 * docs/INTERNALS: Ditto.
8188 * man/Makefile.am: Ditto.
8189 * man/amanda.8.in: Ditto.
8190 * man/amdd.8: Ditto.
8191 * man/ammt.8: Ditto.
8192 * restore-src/amrestore.c: Ditto.
8193 * server-src/amcheck.c: Ditto.
8194 * server-src/amlabel.c: Ditto.
8195 * server-src/amtape.c: Ditto.
8196 * server-src/amverify.sh.in: Ditto.
8197 * server-src/conffile.c: Ditto.
8198 * server-src/conffile.h: Ditto.
8199 * server-src/taper.c: Ditto.
8200 * tape-src/Makefile.am: Ditto.
8201 * tape-src/amdd.c: Ditto.
8202 * tape-src/ammt.c: Ditto.
8203 * tape-src/output-file.c: Ditto.
8204 * tape-src/output-file.h: Ditto.
8205 * tape-src/output-null.c: Ditto.
8206 * tape-src/output-null.h: Ditto.
8207 * tape-src/output-rait.c: Ditto.
8208 * tape-src/output-rait.h: Ditto.
8209 * tape-src/output-tape.c: Ditto.
8210 * tape-src/output-tape.h: Ditto.
8211 * tape-src/tapeio.c: Ditto.
8212 * tape-src/tapeio.h: Ditto.
8213 * tape-src/tests/amtapeio.test.000: Ditto.
8214 * tape-src/tests/amtapeio.test.001: Ditto.
8215 * tape-src/tests/amtapeio.test.002: Ditto.
8216 * tape-src/tests/amtapeio.test.003: Ditto.
8217 * tape-src/tests/amtapeio.test.004: Ditto.
8218 * tape-src/tests/amtapeio.test.005: Ditto.
8219 * tape-src/tests/amtapeio.test.006: Ditto.
8220 * tape-src/tests/amtapeio.test.007: Ditto.
8221 * tape-src/tests/amtapeio.test.008: Ditto.
8222 * tape-src/tests/amtapeio.test.009: Ditto.
8223 * tape-src/tests/amtapeio.test.010: Ditto.
8224 * tape-src/tests/amtapeio.test.011: Ditto.
8225 * tape-src/tests/amtapeio.test.012: Ditto.
8226 * tape-src/tests/amtapeio.test.013: Ditto.
8227 * tape-src/tests/amtapeio.test.014: Ditto.
8228 * tape-src/tests/amtapeio.test.015: Ditto.
8229 * tape-src/tests/amtapeio.test.016: Ditto.
8230 * tape-src/tests/amtapeio.test.017: Ditto.
8231 * tape-src/tests/amtapeio.test.018: Ditto.
8232 * tape-src/tests/cleartape: Ditto.
8233 * tape-src/tests/newtest: Ditto.
8234 * tape-src/tests/rerun: Ditto.
8235 * tape-src/tests/runtest: Ditto.
8236 * tape-src/tests/testdist: Ditto.
8237 * tape-src/tests/torture: Ditto.
8239 2001-01-24 John R. Jackson <jrj@purdue.edu>
8241 * client-src/amandad.c: Improve packet logging.
8243 2001-01-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8245 * server-src/driver.c (start_some_dumps): typo.
8247 2001-01-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8249 * server-src/driverio.h (sched_t): new field no_space.
8250 * server-src/driver.c (start_some_dumps): don't start a disk if
8252 * server-src/driver.c (continue_dumps): set no_space if it's the
8253 only active dumpers, case c.
8254 * server-src/driver.c (read_schedule): set no_space to 0.
8256 2001-01-23 John R. Jackson <jrj@purdue.edu>
8258 * configure.in: Test for setmntent.
8259 * client-src/getfsent.c: Add some support for Redhat 7 /etc/fstab
8260 changes that indirectly reference the device for a file system.
8262 2001-01-22 Marc W. Mengel <mengel@fnal.gov>
8264 * recover-src/extract_list.c: Added -U to tar recover options
8265 to reduce errors recovering shared libs and/or binaries on
8268 2001-01-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8270 * docs/INSTALL: Notes about tar-1.13.19
8272 2001-01-17 Thomas Hepper <th@ant.han.de>
8274 * changer-src/chg-scsi.c: Moved definitions for config_t and
8275 changer_t into scsi-defs.h
8276 * changer-src/chg-scsi.c: New config option havebarcode
8277 * changer-src/scsi-changer-driver.c: Changed GenericBarCode do handle
8278 the option havebarcode. Replaced NoBarCode with GenericBarCode.
8279 Fixed compile warnings from -Wshadow
8280 * changer-src/scsi-linux.c: New function ScanBus to scan the SCSI Bus.
8282 * changer-src/scsi-solaris.c: Changed the return value to
8283 Command.uscsi_status in SCSI_ExecuteCommand if the return from the
8286 2001-01-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8288 * man/amanda.8.in: New section "HOST & DISK EXPRESSION" and
8289 "DATESTAMP EXPRESSION".
8290 * man/amadmin.8.in: Document new usage.
8291 * man/amflush.8.in: Document new usage.
8292 * man/amcheck.8.in: Document new usage.
8293 * man/amdump.8.in: Document new usage.
8294 * man/amrestore.8: Document new usage.
8295 * server-src/amadmin.c: Fix usage.
8296 * server-src/amflush.c: Fix usage.
8297 * server-src/amcheck.c: Fix usage.
8299 2001-01-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8301 * server-src/diskfile.c (match_disklist): Return if no args.
8303 2001-01-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8305 * server-src/diskfile.c (match_disklist): Fix.
8307 2001-01-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8309 * server-src/diskfile.c (match_disklist): Updated for
8310 [host [disk]*]* syntax.
8312 2001-01-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8314 * common-src/match.c (match_datestamp): New function.
8315 * common-src/amanda.h (match_datestamp): Prototype.
8316 * server-src/amflush.c: Use match_datestamp.
8317 * restore-src/amrestore.c: Use match_datestamp.
8319 2001-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8321 * common-src/match.c (match_word): Support for leading ^ and
8324 2001-01-04 John R. Jackson <jrj@purdue.edu>
8326 * common-src/error.c (error): If the debug file pointer is set, log
8327 any fatal error message to it and close the file so it has a good
8328 trace of what happened and when.
8330 2001-01-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8332 * taper-src/am-dd.c: include "tapeio.h", fix debug warning.
8333 * taper-src/am-mt.c: include "tapeio.h", fix debug warning.
8334 * taper-src/output-rait.c: include "tapeio.h", new define for
8336 * taper-src/tapeio.c(many): Remove unused tfd variable.
8337 * taper-src/tapeio.h (tape_unload,tape_status): Prototype.
8339 2001-01-04 John R. Jackson <jrj@purdue.edu>
8341 * client-src/killpgrp.c: Calls to error() do not need a newline.
8343 2001-01-04 John R. Jackson <jrj@purdue.edu>
8345 * man/amanda.8.in: Try to make it clearer that dumpcycle and maxdumps
8346 changes in the main part of the config file must appear before any
8347 dumptype definitions, and also that inherited dumptypes must appear
8348 before their reference.
8350 2001-01-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8352 * server-src/driver.c (continue_dumps): Don't reduce est_size if
8353 it is already larger than holding space allocated.
8354 * server-src/dumper.c: Remove all code for FILE_DUMP command.
8355 * server-src/chunker.c: Better handling of ENOSPC from
8358 2001-01-04 John R. Jackson <jrj@purdue.edu>
8360 * server-src/conffile.c (main): Fix conffile test program so it builds
8363 2001-01-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8365 * changer-src/scsi-defs.h (ChangerCMD_T): replace array function
8366 pointer by enumerated pointers.
8367 * changer-src/scsi-changer-driver.c: Use new calling convention.
8369 2001-01-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8371 * server-src/amstatus.pl.in: Better support for TRY-AGAIN and
8372 ABORT-FINISHED result.
8374 2001-01-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8376 * server-src/amflush.c: Use getopt to parse argument.
8377 * server-src/amflush.c: New [-D date]* argument.
8378 * man/amflush.8.in: Document it.
8380 2001-01-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8381 Patch by Andreas F Mueller <afm@othello.ch>
8383 * server-src/amadmin.c (force_no_bump_one): Fix message.
8385 2001-01-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8387 * tape-src/am-dd.c: include "amanda.h"
8388 * tape-src/am-mt.c: include "amanda.h"
8389 * tape-src/am-mt.c (main): res is int.
8390 * tape-src/output-rait.c: include "amanda.h", do not define stderr.
8391 * tape-src/tapeio.c (xxx_tapefd_read, plain_tapefd_read): second
8392 argument should be "char *"
8393 * tape-src/tapeio.c (xxx_tapefd_write, plain_tapefd_write): second
8394 argument should be "const char *"
8396 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8398 * server-src/find.c (find_match): Use todo bit.
8399 * server-src/find.c (find_dump): No arguments.
8400 * server-src/find.h (find_dump): Change prototype.
8401 * server-src/amadmin.c (find): New [host disk]* pair arguments.
8402 * server-src/amindexd.c: Change call to find_dump().
8403 * server-src/amtrmidx.c: Change call to find_dump().
8405 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8407 * configure.in: Don't check krb5 include if krb5 is not selected.
8409 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8411 * tape-src/Makefile.am (noinst_HEADERS): Add output-rait.h
8413 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8415 * server-src/amadmin.c (diskloop): typo.
8417 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8419 * server-src/amadmin.c (diskloop): New [host disk]* pair arguments.
8420 * server-src/amadmin.c (diskloop, reuse, noreuse): use get_pname()
8423 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8425 * server-src/amflush.c (main):log DISK after checking if logfile exist.
8427 2000-12-30 John R. Jackson <jrj@purdue.edu>
8429 * common-src/bsd-security.c: Improve the .rhosts/.amandahosts messages
8430 when things go wrong. Add support for "bsdsecurity" test program
8432 * common-src/Makefile.am: Ditto.
8433 * common-src/amanda.h: Ditto.
8434 * restore-src/amidxtaped.c: Ditto.
8435 * server-src/amindexd.c: Ditto.
8437 2000-12-30 John R. Jackson <jrj@purdue.edu>
8439 * ChangeLog: Bring Jean-Louis into the right month :-).
8440 * changer-src/scsi-changer-driver.c: Untested changes to at least
8441 get the code to compile on Solaris and to remove some warnings.
8442 * changer-src/scsi-defs.h: Ditto.
8443 * changer-src/scsi-solaris.c: Ditto.
8445 2000-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8447 * server-src/diskfile.c (add_disk): New function.
8448 * server-src/diskfile.h (add_disk): Prototype.
8449 * server-src/logfile.h (logtype_e): add L_DISK.
8450 * server-src/logfile.c (logtype_str): add "DISK".
8451 * server-src/amflush.c (main): log DISK.
8452 * server-src/planner.c (main): log DISK.
8453 * server-src/reporter.c: use DISK if available.
8455 2000-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8457 * server-src/amcheck.c: New [host disk]* pair arguments.
8458 * server-src/amflush.c: Ditto.
8459 * server-src/planner.c: Ditto.
8460 * server-src/amdump.sh.in: Ditto.
8461 * server-src/amrestore.c: Use new host/disk matcher.
8462 * man/amcheck.8.in: Document new [host disk]* pair arguments.
8463 * man/amflush.8.in: Ditto.
8464 * man/amdump.8.in: Ditto.
8466 2000-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8468 * server-src/diskfile.c (match_disklist): new function.
8469 * server-src/diskfile.h (struct disk_s): new field todo.
8470 * server-src/diskfile.h (match_disklist): prototype.
8472 2000-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8474 * common-src/match.c (match_word, match_host, match_disk):
8476 * common-src/amanda.h (match_host, match_disk): prototype.
8478 2000-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8480 * server-src/planner.c (analyze_estimate): pick incremental level
8481 if no estimate of level 0.
8483 2000-12-28 Marc W. Mengel <mengel@fnal.gov>
8484 * changer-src/chg-juke.sh.in: New File
8485 * changer-src/Makefile.am: Added support for chg-juke.
8486 * docs/TAPE.CHANGERS: Likewise.
8487 * configure.in: Likewise.
8489 2000-12-24 John R. Jackson <jrj@purdue.edu>
8491 * server-src/getconf.c: Fix free() of static text string (BUGGY) when
8492 the parameter being looked up is bad.
8494 2000-12-23 David Wolfskill <dhw@whistle.com>
8496 * server-src/amcheck.c (start_server_check): Change directory
8497 writable check to be for the tapelist directory instead of
8498 the config file directory. Remove config file directory test.
8499 * man/amcheck.8.in: Add mention of tapelist directory and do
8500 some other directory writable cleanup.
8502 2000-12-12 John R. Jackson <jrj@purdue.edu>
8504 * client-src/sendbackup-gnutar.c: Fix regex pattern to accept blanks
8507 2000-12-12 John R. Jackson <jrj@purdue.edu>
8509 * Makefile.am: Work around problem with automake 1.4 not including
8511 * docs/Makefile.am: Include RAIT and VTAPE-API in distribution.
8512 Work around problem with automake 1.4 not including pkgdata_DATA.
8513 * tape-src/rait.h: Renamed to rait.h.
8514 * tape-src/rait.c: Renamed to rait.c.
8515 * tape-src/output-rait.h: Renamed from rait.h.
8516 * tape-src/output-rait.c: Renamed from rait.c.
8517 * tape-src/Makefile.am: Reflect the new rait.[ch] names.
8518 * tape-src/tapeio.c: Use output-rait.h name. Minor typo changes.
8520 2000-12-08 Marc Mengel <mengel@fnal.gov>
8522 * docs/RAIT: New file.
8523 * docs/VTAPE-API: New file.
8524 * tape-src/rait.c: New File providing RAIT virtual tape type.
8525 * tape-src/tapeio.c: Major Surgery.
8526 (vtable): New static table of virtual tape types.
8527 (fdtable): New static table mapping file descriptors.
8528 (tapefd_fsf_ioctl): Renamed tapefd_fsf, with added ioctl argument.
8529 (tapefd_rewind_ioctl): Likewise.
8530 (tapefd_unload_ioctl): Likewise.
8531 (tapefd_weof_ioctl): Likewise.
8532 (tapefd_status_ioctl): Likewise.
8533 (tape_open): Now is a virtual tape table lookup and call.
8534 (tape_access): Now is a switch through virtual tape table.
8535 (tape_stat): Likewise.
8536 (tapefd_close): Likewise.
8537 (tapefd_fsf): Likewise.
8538 (tapefd_read): Likewise.
8539 (tapefd_rewind): Likewise.
8540 (tapefd_resetofs): Likewise.
8541 (tapefd_unload): Likewise.
8542 (tapefd_status): Likewise.
8543 (tapefd_weof): Likewise.
8544 (tapefd_write): Likewise.
8545 (plain_tape_access): Rename of tape_access.
8546 (plain_tape_open): Likewise.
8547 (plain_tapefd_read): Likewise.
8548 (plain_tape_stat): Likewise.
8549 (plain_tapefd_write): Likewise.
8550 (plain_tapefd_close): Likewise.
8551 (plain_tapefd_fsf): Now calls tapefd_fsf_ioctl with &ioctl().
8552 (plain_tapefd_rewind): Likewise.
8553 (plain_tapefd_resetofs): Likewise.
8554 (plain_tapefd_unload): Likewise.
8555 (plain_tapefd_status): Likewise.
8556 (plain_tapefd_weof): Likewise.
8558 2000-12-04 John R. Jackson <jrj@purdue.edu>
8560 * server-src/amdump.sh.in: Temporary fix for $LOGNAME vs whoami
8563 2000-12-04 John R. Jackson <jrj@purdue.edu>
8565 * server-src/conffile.c (read_conffile_recursively): If the file name
8566 for the includefile directive is not absolute, make it relative to
8567 the configuration directory.
8569 2000-12-03 John R. Jackson <jrj@purdue.edu>
8571 * restore-src/amrestore.c: Fix header when compression is included.
8572 Use "fast" option for -c and add new -C option to get "best".
8573 * man/amrestore.8: Document the new option, the compression level,
8574 and clean up some nroff issues.
8576 2000-11-30 Marc Mengel <mengel@fnal.gov>
8578 * changer-src/chg-chio.pl.in: Use am-mt and am-dd versus mt and dd.
8579 * changer-src/chg-chs.sh.in: Likewise.
8580 * changer-src/chg-manual.sh.in: Likewise.
8581 * changer-src/chg-mtx.sh.in: Likewise.
8582 * changer-src/chg-multi.sh.in: Likewise.
8583 * changer-src/chg-rth.pl.in: Likewise.
8584 * changer-src/chg-zd-mtx.sh.in: Likewise.
8585 * tape-src/am-dd.c: New file. Replacement for dd.
8586 * tape-src/am-mt.c: New file. replacement for mt.
8587 * tape-src/Makefile.am: Add build for am-mt and am-dd.
8588 * tape-src/tapeio.c (tape_unload, tapefd_unload, tape_status,
8589 tapefd_status): New functions.
8590 (tape_rewind, tape_fsf, tape_rdlabel): Change error message
8591 for tape being offline so it matches online/offline regex
8593 (tape_open): Ifdef-out mode flag clearing, so you can pass
8594 O_TRUNC, etc. in for am-dd.
8596 2000-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8598 * common-src/util.c: #include "../tape-src/tapeio.h"
8599 * tape-src/tapeio.c(tapefd_write): second arg is const.
8600 * tape-src/tapeio.h(tapefd_write): Likewise.
8601 * common-src/event.c(event_loop): declare entry if ASSERT is defined.
8602 * changer-src/chg-scsi.c: Fix compiler warning.
8603 * changer-src/scsi-aix.c: Likewise.
8604 * changer-src/scsi-bsd.c: Likewise.
8605 * changer-src/scsi-cam.c: Likewise.
8606 * changer-src/scsi-changer-driver.c: Likewise.
8607 * changer-src/scsi-defs.h: Likewise.
8608 * changer-src/scsi-hpux.c: Likewise.
8609 * changer-src/scsi-hpux_new.c: Likewise.
8610 * changer-src/scsi-irix.c: Likewise.
8611 * changer-src/scsi-linux.c: Likewise.
8612 * changer-src/scsi-solaris.c: Likewise.
8613 * changer-src/sense.c: Likewise.
8615 2000-11-22 John R. Jackson <jrj@purdue.edu>
8617 * contrib/dbbackup.ksh: Deal with adm being a symlink.
8618 * contrib/dbbackup.tcl: Update for Tcl 8.3 and newer Oratcl versions.
8620 2000-11-22 John R. Jackson <jrj@purdue.edu>
8622 * Makefile.am: Forgot to add contrib/sst/README.Amanda to the list
8623 of files to put in a distribution.
8625 2000-11-21 John R. Jackson <jrj@purdue.edu>
8627 * recover-src/extract_list.c (extract_files_child): Add support for
8630 2000-11-21 John R. Jackson <jrj@purdue.edu>
8632 * server-src/amcheck.c: Minor message wording changes.
8634 2000-11-21 John R. Jackson <jrj@purdue.edu>
8636 * configure.in: Forgot to check in this part of new amgetconf.8.in.
8638 2000-11-21 John R. Jackson <jrj@purdue.edu>
8640 * contrib/sst/README.Amanda: New file of Amanda specific sst notes.
8641 * contrib/sst/sst.c: Attempt at letting gcc compile sst.
8643 2000-11-21 John R. Jackson <jrj@purdue.edu>
8645 * man/amgetconf.8.in: New man page.
8646 * man/Makefile.am: Add support for amgetconf.8.in.
8647 * man/amadmin.8.in: Update for 2.4.2 and do general cleanup.
8648 * man/amanda.8.in: Ditto.
8649 * man/amcheck.8.in: Ditto.
8650 * man/amcheckdb.8.in: Ditto.
8651 * man/amcleanup.8.in: Ditto.
8652 * man/amdump.8.in: Ditto.
8653 * man/amflush.8.in: Ditto.
8654 * man/amlabel.8.in: Ditto.
8655 * man/amrecover.8.in: Ditto.
8656 * man/amreport.8.in: Ditto.
8657 * man/amrestore.8: Ditto.
8658 * man/amrmtape.8.in: Ditto.
8659 * man/amstatus.8.in: Ditto.
8660 * man/amtape.8: Ditto.
8661 * man/amtoc.8.in: Ditto.
8662 * man/amverify.8.in: Ditto.
8664 2000-11-21 John R. Jackson <jrj@purdue.edu>
8666 * contrib/sst/sst.c (sst_ioctl): Allow non-root users to use sst.
8668 2000-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8670 * server-src/amdump.sh.in: exit if amgetconf exit with status != 0.
8671 * server-src/amcleanup.sh.in: ditto
8672 * server-src/amstatus.pl.in: ditto
8674 2000-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8676 * server-src/driver.c (start_some_dumps): don't check free_kps if
8678 * server-src/driver.c (free_kps): remove the kludge.
8680 2000-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8682 * server-src/conffile.c: It's an error to have a negative chunksize.
8683 * man/amanda.8.in: remove documentation of negative chunksize.
8684 * example/amanda.conf.in: ditto
8685 * example/amanda.conf.chg-scsi.in:ditto
8686 * NEWS: negative chunksize is no longer supported.
8688 2000-11-03 John R. Jackson <jrj@purdue.edu>
8690 * server-src/driver.c (handle_taper_result): the holding disk entry
8691 should not be removed just because taper could not write it out in
8692 the "too many taper retries" case. It should be left for amflush.
8694 2000-11-01 John R. Jackson <jrj@purdue.edu>
8696 * server-src/amverify.sh.in: use common form for getting the first
8697 line of a file/pipe. Sed is more portable than head.
8699 2000-10-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8701 * client-src/selfcheck.c (check_disk): Write an appropriate
8702 message if the disk name start with '//' and the program is DUMP
8703 or SAMBA is not compiled in.
8705 2000-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8707 * server-src/driver.c (handle_chunker_result): The dumpsize is
8708 the third argument, not the fourth.
8710 2000-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8712 * server-src/driver.c (handle_chunker_result): don't check
8713 pending_aborts, call event_release() ob ABORT-FINISHED.
8715 2000-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8717 * server-src/chunker.c (databuf_flush): workaround to prevent a
8718 hang on a ABORT command.
8720 2000-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8722 * server-src/driver.c (continue_dumps): set estimate to more than
8723 what is already use instead of setting no_hold=1 when a disk
8724 don't fit on holding disk.
8726 2000-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8728 * server-src/chunker.c: chunker was broken after RQ-MORE-DISK.
8730 2000-10-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8732 * server-src/amstatus.pl.in: add '&' when calling &usage()
8735 2000-10-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8736 reported by The Hermit Hacker <scrappy@hub.org>
8738 * changer-src/chg-chio.pl.in: remove unused $libexecdir.
8740 2000-10-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8741 reported by The Hermit Hacker <scrappy@hub.org>
8743 * changer-src/chg-chio.pl.in: remove comma after LOG,
8744 typo: r should be 0.
8746 2000-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8748 * docs/INDEXING: doc updated.
8750 2000-10-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8752 * AUTHORS: add Thomas Hepper.
8754 2000-10-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8756 * server-src/driverio.c (chunker_cmd): send ABORT command.
8758 2000-10-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8760 * server-src/amverify.sh.in: grep only the first line of the header.
8762 2000-10-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8764 * server-src/amverify.sh.in: verify with tar even if the
8765 server and the client are not configured with the same path.
8767 2000-10-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8769 * NEWS: A new `ctimeout' keyword in amanda.conf to replace
8770 the CHECK_TIMEOUT constant in amcheck.c.
8772 2000-10-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8774 * server-src/amlabel.c: Don't set tape_ok to 0 if
8775 tape_wrlabel is successful.
8777 2000-10-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8779 * server-src/taper.c: amfree(strclosing).
8781 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8783 * server-src/driver.c: typo.
8785 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8787 * configure.in: --with-samba-user is deprecated.
8788 * docs/SAMBA: the username is now on the amandapass file.
8789 * NEWS: the username is now on the amandapass file.
8790 * client-src/findpass.c (findpass): accept "*" as diskname.
8791 * client-src/selfcheck.c (check_disk): call to samba changed.
8792 * client-src/sendsize.c (getsize_smbtar): ditto.
8793 * client-src/sendbackup-gnutar.c (start_backup): ditto.
8794 * recover-src/extract_list.c (extract_files_child): ditto.
8796 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8798 * server-src/taper.c: give better message when failing
8801 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8803 * server-src/diskfile.c (headqueue_disk): new function to
8804 insert at the head of the queue.
8805 * server-src/diskfile.h (headqueue_disk): prototype.
8806 * server-src/driver.c (taper_queuedisk): insert with
8807 headqueue_disk() if disk already attempted.
8809 2000-10-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8811 * AUTHORS: fix my email address.
8813 2000-09-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8815 * server-src/amcheck.c: Don't accept -m or -M option if MAILER
8817 * server-src/reporter.c: Need a -f optionn if MAILER is not defined.
8819 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8820 patch by <jeg@time.ucsc.edu>
8822 * server-src/reporter.c (output_summary): check for tape_labels.
8824 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8826 * server-src/amindexd.c: use strcasecmp to compare hostname.
8828 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8830 * server-src/amstatus.pl.in: fix plural misuse.
8832 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8834 * man/amanda.8.in: add all pages in the SEE ALSO section.
8836 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8838 * man/amreport.8.in: amreport does not rotate the log.
8839 * man/amrestore.8: note on holdingdisk.
8840 * restore-src/amrestore.c: update usage.
8841 * server-src/amrmtape.sh.in: update usage.
8842 * server-src/amverify.sh.in.usage: update usage.
8844 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8846 * server-src/amoverview.pl.in: update usage information,
8847 -config is no longer needed for ccompatibility with other program.
8848 * man/amoverview.8.in: -config is no longer needed.
8850 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8852 * example/amanda.conf.in: chunk should not be larger than
8853 MAX_FILE_SIZE - 1Mb.
8855 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8857 * client-src/sendsize.c (getsize_smbtar): remove unused debug_level
8859 * server-src/amlabel.c (main): init errstr to NULL,
8860 fix compiler warning.
8862 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8863 patch by jason Thomas <jet@users.sourceforge.net>
8865 * tape-src/tapetype.c: fix help message.
8867 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8868 patch by Rudolf Cejka <cejkar@users.sourceforge.net>
8870 * common-src/file.c (mkpdir): check p != NULL
8871 * man/amstatus.8.in: typo
8873 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8874 patch by Rudolf Cejka <cejkar@users.sourceforge.net>
8876 * client-src/calcsize.c:sets correct program name,
8877 prevent coredumps and some improrer command line error mesages
8879 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8881 * common-src/amanda.h: prototype clean_regex().
8882 * common-src/match.c: new function clean_regex() that escape
8883 all non-alphanumeric character.
8884 * recover-src/extract_list.c (add_file, delete_file): use clean_regex().
8886 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8888 * server-src/amcheck.c: (start_server_check): check for the oldlog
8891 2000-09-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8893 * server-src/amtrmlog.c: better check of the oldlog directory.
8895 2000-09-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8897 * server-src/amcheck.c: (start_server_check): don't check the tape
8898 if tapedev is /dev/null.
8900 2000-09-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8902 * server-src/reporter.c (output_tapeinfo): test reversed for run_tapes.
8904 2000-07-31 Thomas Hepper <th@ant.han.de>
8905 * changer-src/chg-scsi.c: Rework of the device handling.
8906 Every device is opend for an operation and than closed.
8907 This will hopefully fix the problems with openening the tape device
8908 and the SCSI control device for the tape
8909 new option emubarcode (see docs/TAPE.CHANGERS)
8910 * changer-src/scsi-cam.c: Changed to work with the new device handling.
8911 * changer-src/scsi-hpux_new.c: Changed to work with the new device handling.
8912 * changer-src/scsi-irix.c: Changed to work with the new device handling. (Not tested)
8913 * changer-src/scsi-solaris.c: Changed to work with the new device handling. (Not tested)
8914 * changer-src/scsi-linux.c: Changed to work with the new device handling.
8915 * changer-src/scsi-changer-driver.c: Changed to work with the new device handling
8916 * changer-src/scsi-defs.h: Changed to work with the new device handling
8917 2000-07-18 John R. Jackson <jrj@purdue.edu>
8919 * changer-src/chg-chio.pl.in (do_time): fix chg-chio.pl timestamp
8920 function to return a string instead of writing to stdout.
8922 2000-07-18 John R. Jackson <jrj@purdue.edu>
8924 * server-src/taper.c (file_reader_side): detach and destroy shared
8925 memory areas on an error condition. Found by Patrik Andersin
8928 2000-07-17 Thomas Hepper <th@ant.han.de>
8929 * docs/TAPE.CHANGERS: Added some notes for the cam driver
8930 * changer-src/scsi-cam.c: New syntax for telling scsi ids
8932 SCSI_ExecuteCommand now returns the correct sense buffer.
8934 2000-07-17 Thomas Hepper <th@ant.han.de>
8935 * configure.in: Added check for BSD SCSI CAM Support
8936 * changer-src/scsi-cam.c: New, functions for SCSI CAM Support
8937 ( at the moment for FreeBSD 4.0)
8938 * changer-src/Makefile.am: added scsi-cam.s to the list of sources
8939 * changer-src/chg-scsi.c: The structs for the OpenFiles_T is now
8940 allocated in chg-scsi and passed to OpenDevice.
8941 * changer-src/scsi-changer-driver.c: New Parameter for OpenDevice
8944 2000-07-10 Marc Mengel <mengel@fnal.gov>
8945 * tape-src/tapeio.c -- add tape_{stat,access}, allow "plain:" prefix
8946 on tape device names
8947 * tape-src/tapeio.h -- add tape_{stat,access} prototypes
8948 * common-src/util.c -- call tape_{read,write}() in full{read,write}()
8949 * restore-src/amidxtaped.c -- use tape_stat() on tapename
8950 * restore-src/amrestore.c -- use tape_stat() on tapename
8951 * server-src/amcheck.c -- use tape_access() on tapename
8952 * client-src/Makefile.am -- now needs libamtape.a twice
8953 * server-src/Makefile.am -- now needs libamtape.a twice
8954 * recover-src/Makefile.am -- now needs libamtape.a twice
8955 * Makefile.am -- tape-src before client-src
8957 2000-07-05 Thomas Hepper <th@ant.han.de>
8958 * changer-src/chg-scsi.c: fixed an core dump if tapeident was set
8959 * changer-src/scsi-changer-driver.c (OpenFile):
8960 if the ident ist set in the config set this in the internal device
8962 * changer-src/scsi-changer-driver.c (GenerciSenseHandler):
8963 changed the type for the info text from char * to char ** which
8964 is passwd to Sense2Action
8965 * changer-src/scsi-changer-driver.c (ChangerStatus):
8966 fixed the bug which causes an core dump for chg-scsi -status robot
8967 if an bar code reader is detected. Fixed also the bug that the
8968 mapping Label -> Barcode was not displayed.
8969 * changer-src/scsi-defs.h: Changed the prototype for Sense2Action
8970 * changer-src/sense.c: Added the defs for the Spectra TreeFrog lib
8971 * changer-src/sense.c (Sense2Action); Fixed the handling if no match
8972 was found (fall back to the generic description)
8974 2000-06-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8976 * server-src/list_dir.c (add_dir_list_item): add at head of list.
8978 2000-06-24 Thomas Hepper <th@ant.han.de>
8979 * changer-src/chg-scsi-chio.c: Merged changes from 2.4.2
8980 * changer-src/chg-scsi.c: Merged changes from 2.4.2
8981 * changer-src/sense.c: New file. Contains an table and function for the
8982 mapping of sense/ASC/ASCQ conditions from the SCSI sense.
8983 * changer-src/scsi-changer-driver.c: Merged changes from 2.4.2
8984 Changed handling for the sense keys. Now there is only one function
8985 to decide what to do with an sense/ASC/ASCQ conditon (abort,retry ..)
8986 * changer-src/Makefile.am: Added sense.c to the source list.
8987 * changer-src/scsi-solaris.c: Merged changes from 2.4.2
8988 * changer-src/scsi-linux.c: Merged changes from 2.4.2
8989 * changer-src/scsi-irix.c: Merged changes from 2.4.2
8990 * changer-src/scsi-hpux_new.c: Merged changes from 2.4.2
8991 * changer-src/scsi-defs.h: Merged changes from 2.4.2
8993 2000-06-12 Jeroen Ruigrok van der Werven <asmodai@wxs.nl>
8995 * server-src/amlabel.c (main): Do not amfree(config_name).
8997 2000-06-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8999 * server-src/holding.c (pick_datestamp): convert ch to upper.
9001 2000-05-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9003 * server-src/driver.c (handle_dumper_result, handle_chunker_result):
9004 delay call to dumper_result().
9006 2000-05-28 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9008 * client-src/sendbackup-gnutar.c: Ignore `socket ignored' GNU tar
9011 2000-05-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9013 * chunker.c: allow chunk to be written on different holding disk.
9014 * server-src/driver.c: allow chunk to be written on different
9016 * server-src/conffile.c: make sure that disksize and chunksize
9017 are multiple of TAPE_BLOCK_SIZE.
9018 * server-src/conffile.h: disksize and chunksize are long.
9019 * server-src/diskfile.c (find_disk): new function to see if a
9020 given disk is contained in a list structure.
9021 * server-src/diskfile.h (find_disk): prototype.
9022 * server-src/driverio.h (RQ_MORE_DISK): Added message.
9023 * server-src/driverio.h (free_assignedhd): prototype.
9024 * server-src/driverio.h (assignedhd_t): new data structure.
9025 * server-src/driverio.c (cmdstr): added comamnd RQ-MORE-DISK.
9026 * server-src/driverio.c (free_assignedhd): new function to free an
9027 array of assignedhd_t.
9029 2000-05-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9031 * server-src/driver.c (chunker_program): new variable.
9033 2000-04-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9035 * server-src/amstatus.pl.in: handle chunker line.
9037 2000-04-20 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9039 * recover-src/Makefile.am (LDADD): Removed libamtape.
9040 Reported by Paul Yeatman <pyeatman@ucsd.edu>
9042 2000-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9044 * server-src/chunker.c: new file for the chunker program.
9045 * server-src/Makefile.am: compile it.
9046 * server-src/driver.c: many modification.
9047 * server-src/driverio.c: many modification.
9048 * server-src/driverio.c (startup_chunk_process, chunker_cmd):
9050 * server-src/driverio.h: prototype them.
9051 * server-src/driverio.h (struct chunker_s): new structure.
9052 * server-src/logfile.c: handle chunker log.
9053 * server-src/logfile.h: ditto.
9054 * server-src/reporter.c: ditto.
9055 * server-src/taper.c: size reduced by TAPE_BLOCK_SIZE.
9057 2000-04-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9059 * server-src/taper.c: don't crash if the tapelist file
9062 2000-04-09 Frank Wojcik <fwojcik@lucent.com>
9064 * server-src/taper.c (detach_buffers): Fixed typo in error message.
9066 * server-src/amrmtape.sh.in: Fix occurrence of `Infofile', that
9067 should have been `InfoFile'.
9069 2000-04-09 Davide Marchignoli <marchign@di.unipi.it>
9071 * server-src/conffile.h (confparm_t): Added CTIMEOUT.
9072 * server-src/conffile.c: Added ctimeout support. Default to 30.
9073 * example/amanda.conf.in: Likewise.
9074 * man/amanda.8.in: Documented it.
9075 * server-src/amcheck.c: Use ctimeout from configuration file instead
9078 2000-04-09 Stan Brown <stanb@awod.com>
9080 * recover-src/amrecover.c (guess_disk): Omit DEV_PREFIX only if
9081 it is actually a prefix of fsname.
9083 2000-04-09 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9085 * server-src/amlabel.c (main): Check label *after* writing end mark.
9087 2000-03-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9089 * server-src/amlabel.c: don't crash if the tapelist file
9092 2000-02-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9094 * server-src/amstatus.pl.in: "0 dumpers busy" should be "0 dumper busy".
9096 2000-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9098 * server-src/amadmin.c (force_one, force_bump_one): FORCE_FULL
9099 and FORCE_BUMP are mutually exclusive.
9101 2000-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9103 * server-src/driver.c (main): use the holding disk even if the
9104 datestamped directory already exist.
9106 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9108 * server-src/amstatus.pl.in (prefix, exec_prefix): Refer to them
9109 twice to avoid warnings of possible typo.
9111 * amplot/amplot.awk: Ignore dumper's RQ-MORE-DISK.
9112 Reported by David Wolfskill <dhw@whistle.com>
9113 * amplot/amplot.awk: Handle taper's TRY-AGAIN like TAPE-ERROR.
9115 * server-src/amstatus.pl.in: Compute and display TRY-AGAIN tape
9117 Reported by David Wolfskill <dhw@whistle.com>
9119 * man/amtoc.8.in: Document -w.
9121 2000-01-21 David Wolfskill <dhw@whistle.com>
9123 * server-src/amtoc.pl.in: Add `-w' to add new lines and form feeds.
9125 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9127 * man/amlabel.8.in: Tapes are no longer requested in reverse order
9129 Reported by Brad Guillory <round@baileylink.net>
9131 * server-src/amstatus.pl.in: New option --stats, to display
9132 statistics about dumpers and taper.
9133 * man/amstatus.8.in: Document it.
9135 2000-01-21 David Wolfskill <dhw@whistle.com>
9137 * server-src/amstatus.pl.in: Sort dumpers by number.
9139 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9141 * server-src/amstatus.pl.in: Remove bogus (?) line `$$host=1'.
9143 * configure.in (MAILER): Warn or print an error if not found,
9144 depending on whether server code is disabled or not.
9146 * server-src/reporter.c (output_tapeinfo): Report used tapes
9147 regardless of tape errors.
9149 * config/acinclude.m4i (CF_WAIT): Simplify the test. Declare wait()
9150 in the global scope.
9152 2000-01-21 Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
9154 * config/acinclude.m4i (CF_WAIT): Avoid warnings on systems
9155 where `union wait' works but is deprecated.
9157 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9159 * recover-src/uscan.l (settape): Recognize it.
9160 * recover-src/uparse.y: Parse it.
9161 * recover-src/amrecover.h (set_tape): Declare it.
9162 * recover-src/set_commands.c (set_tape): Implement it.
9163 * recover-src/help.c (help_list): Document it.
9164 * man/amrecover.8.in: Likewise.
9165 * recover-src/extract_list.c (extract_files): Warn if tape device is
9167 * recover-src/amrecover.c (tape_device_name): Default to
9168 server-determined default.
9170 2000-01-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9172 * configure.in: Recognize alpha*-*-linux-* and sparc*-*-linux-*.
9174 * tape-src/Makefile.am (../common-src/libamanda.$(LIB_EXTENSION)):
9175 Allow for `make tapetype' before libamanda is built.
9177 * server-src/amoverview.pl.in: Year doesn't take just 2 bytes.
9179 2000-01-06 David Wolfskill <dhw@whistle.com>
9181 * docs/TAPETYPES: Typo.
9183 2000-01-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9185 * docs/TAPETYPES: Removed all tapetype entries. Pointed to
9186 example/amanda.conf, to the mailing list archives and to the on-line
9187 tapetype list. Explained the meaning of length, filemark and speed,
9188 and how to build and use the tapetype utility.
9190 1999-12-12 John R. Jackson <jrj@purdue.edu>
9192 * configure.in: egrep was having trouble with quoting on some systems.
9193 Broke it apart into multiple unquoted statements. Also, changed the
9194 script to run the steps on all dump tests and added "Label" as another
9197 1999-12-12 John R. Jackson <jrj@purdue.edu>
9199 * tape-src/tapetype.c: tweak the algorithm to write files in both
9200 passes and compute the tape mark size as the difference. Never
9201 report a negative tape mark size. Various other minor cleanup.
9203 1999-11-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9205 * client-src/sendbackup-gnutar.c (re_table): #if out the debugging
9206 Samba messages unless SAMBA_VERSION < 2.
9208 1999-11-29 John E.P.Hynes <john@hytronix.ne.mediaone.net>
9210 * client-src/sendbackup-gnutar.c (re_table): Update for Samba 2.0.6.
9212 1999-11-25 John R. Jackson <jrj@purdue.edu>
9214 * server-src/amflush.c (main): conf_logdir should not be free'd
9215 (found by Espen H Wiborg <espenhw@infotek.no>).
9217 1999-11-10 John R. Jackson <jrj@purdue.edu>
9219 * recover-src/extract_list.c: report the tape server host in the
9220 message to check the amidxtaped.debug file. If extract_list_child
9221 fails (such as when amidxtaped fails to read the tape), ask if
9222 things should continue instead of aborting.
9224 1999-11-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9226 * server-src/driverio.c (update_info_dumper): Discard information on
9227 older same- or higher-level dumps.
9228 * server-src/driver.c (dump_to_tape): Add comment that _dumper must
9229 be called before _taper.
9231 * docs/FAQ: Sometimes FQDNs are wrong for amandahosts.
9233 1999-11-10 John R. Jackson <jrj@purdue.edu>
9235 * server-src/amindexd.c (build_disk_table): need to clear the old
9236 disk history list before building a new one.
9238 1999-11-10 John R. Jackson <jrj@purdue.edu>
9240 * server-src/taper.c (label_tape): issue a warning when tapedev is
9242 * server-src/amcheck.c (start_server_check): make warning message
9243 text the same for amcheck and taper when tapedev is /dev/null.
9245 1999-11-10 John R. Jackson <jrj@purdue.edu>
9247 * server-src/amcleanupdisk.c (main): try to remove empty holding disk
9249 * server-src/holding.c (scan_holdingdisk): do not automatically remove
9250 empty holding disk areas since this function is called by various
9251 utilities and a dump might be in progress.
9253 1999-11-10 James FitzGibbon <james@targetnet.com>
9255 * server-src/infofile.c (put_info): d.size should have been
9258 1999-11-09 John R. Jackson <jrj@purdue.edu>
9260 * server-src/amcheck.c (start_server_check): test tapedev for
9261 "/dev/null" and issue warning that dumps will be thrown away.
9263 1999-11-02 David M. Olsen <David.M.Olsen@boeing.com>
9265 * server-src/amadmin.c (main): Second occurrence of CNF_TAPELIST
9266 should have been CNF_INFOFILE; fixed.
9268 1999-11-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9270 * common-src/amflock.c (struct flock): Do not assume the fields are
9271 declared in any particular order.
9272 Reported by Sean Kelly <kelly@plutotech.com>
9274 * Makefile.am (EXTRA_DIST): Added contrib/set_prod_link.pl.
9275 * docs/INSTALL: Likewise.
9277 1999-11-02 Ricardo Malta <rmalta@bigfoot.com>
9279 * contrib/set_prod_link.pl: Create the links for a configuration
9282 1999-11-02 David M. Olsen <David.M.Olsen@boeing.com>
9284 * common-src/rsh-security.c (net_writev): The result of a cast is
9285 not an lvalue; fixed.
9287 1999-10-26 Nicolas Mayencourt <Nicolas.Mayencourt@cui.unige.ch>
9289 * server-src/amtoc.pl.in: Correct a bug for total report.
9291 1999-11-01 John R. Jackson <jrj@purdue.edu>
9293 * server-src/amcleanupdisk.c (main): do not free the config name (it
9296 1999-10-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9298 * common-src/debug.c: Do not assume stderr is a compile-time
9299 constant. On glibc 2.2 (RedHat Linux 6.1), it is not.
9301 1999-10-11 Nicolas Mayencourt <Nicolas.Mayencourt@cui.unige.ch>
9303 * server-src/amtoc.pl.in: Add new options -i and -t. Print original
9304 size, instead of size on tape.
9306 1999-10-07 John R. Jackson <jrj@purdue.edu>
9308 * common-src/stream.c (stream_server): remove reference to portrange
9309 variable. Compliments of Randy Dees <rrd@amherst.com>.
9311 1999-10-03 John R. Jackson <jrj@purdue.edu>
9313 * server-src/driver.c (main): now that multiple results can come back
9314 from taper and dumper without a handshake (e.g. NO-ROOM), we need to
9315 process them all rather than just the first one. Call the new
9316 areads_dataready() function to peek and see if more data is ready.
9317 * common-src/amanda.h: declare areads_dataready().
9318 * common-src/file.c: define areads_dataready(). Fix some variable
9319 types. Fix a buffer expansion problem. Add code to the test
9320 program to force buffer expansion to be checked out.
9322 1999-10-03 John R. Jackson <jrj@purdue.edu>
9324 * common-src/file.c (areads_getbuf): fix a buffer allocation problem.
9326 1999-10-03 John R. Jackson <jrj@purdue.edu>
9328 * common-src/amflock.c (main): do not use aclose() in the configure
9329 test case. During configure we do not have areads_relbuf()
9330 available and it makes configure think all the tests have failed.
9332 1999-10-03 John R. Jackson <jrj@purdue.edu>
9334 * common-src/amanda.h: protect the close macros and areads* from
9335 out of range file descriptors.
9336 * common-src/file.c: ditto.
9338 1999-10-02 John R. Jackson <jrj@purdue.edu>
9340 * server-src/amindexd.c (build_disk_table): only "OK" results from
9341 find_dump should be considered.
9343 1999-10-02 John R. Jackson <jrj@purdue.edu>
9345 * common-src/file.c (areads): when NO-ROOM became advisory and didn't
9346 participate in a full handshake, it exposed a problem in areads()
9347 where a static buffer was shared among all I/O. Changed it to use
9348 a separate buffer for each file descriptor. Enhanced the test
9349 program to check out the code.
9350 * common-src/amanda.h: ditto
9351 * restore-src/amidxtaped.c: minor areads/agets comment typo.
9352 * server-src/amindexd.c: ditto
9354 1999-10-02 John R. Jackson <jrj@purdue.edu>
9356 * server-src/amlogroll.c: fix minor memory leak.
9358 1999-09-29 John R. Jackson <jrj@purdue.edu>
9360 * server-src/dumper.c (do_dump): closed the dump messages file too
9363 1999-09-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9365 * recover-src/extract_list.c (samba_extract_method): Default to
9366 SAMBA_TAR, for similarity with other restore programs.
9367 (extract_files_child): If restore with SMBCLIENT is enabled, explain
9368 that Samba shares will be restored to the SMB share.
9370 1999-09-22 John R. Jackson <jrj@purdue.edu>
9372 * configure.in: wrong variable when processing LIBRARY_DIRS. Fix
9373 compliments of John M. Vogtle <jmvogtle@kodak.com>.
9375 1999-09-20 John R. Jackson <jrj@purdue.edu>
9377 * server-src/Makefile.am: use new amlogroll utility to rename the log
9378 file to the datestamped name.
9379 * server-src/amcheck.c: ditto.
9380 * server-src/amcleanup.sh.in: ditto and call all utilities with the
9381 config file name as an argument.
9382 * server-src/amdump.sh.in: ditto and call all utilities with the
9383 config file name as an argument.
9384 * server-src/amflush.c: ditto.
9385 * server-src/amlogroll.c: new utility.
9386 * server-src/driverio.c: ditto and call all utilities with the
9387 config file name as an argument.
9388 * server-src/reporter.c: ditto.
9390 1999-09-20 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9392 * amlogroll.c: It was missing; copied from the 2.4.2 branch.
9394 * configure.in (AMANDA_TMPDIR): Added comment for config.h.in.
9396 1999-09-19 John R. Jackson <jrj@purdue.edu>
9398 * server-src/amverify.sh.in: this script is important enough it should
9399 not depend on having perl installed. Clean up the AIX "mt status"
9400 code. Test for presense of other restore programs and check that
9401 they are executable during processing.
9403 1999-09-19 John R. Jackson <jrj@purdue.edu>
9405 * server-src/amverify.sh.in: put back an "mt status" wait loop I
9406 erroneously removed, but protect it from AIX.
9408 1999-09-19 John R. Jackson <jrj@purdue.edu>
9410 * common-src/util.c: fix math in bind_portrange so ports requested
9411 are between those the caller passed and make sure port 0 does not
9412 accidentally get requested, which returns a non-privileged port.
9413 * common-src/dgram.c: bind_portrange last port argument is inclusive.
9414 * common-src/stream.c: ditto.
9415 * recover-src/amrecover.c: ditto.
9416 * recover-src/extract_list.c: ditto.
9418 1999-09-19 John R. Jackson <jrj@purdue.edu>
9420 * server-src/driver.c: do not send a FILE_WRITE to the taper when the
9421 tape queue is empty during a TRYAGAIN (driver core dumped).
9423 1999-09-19 John R. Jackson <jrj@purdue.edu>
9425 * server-src/taper.c: fix protocol problems when out of tape. Add
9426 FAKE_TAPE_ERROR debugging code to simulate tape errors. Fix problem
9427 with command line argument processing.
9429 1999-09-18 John R. Jackson <jrj@purdue.edu>
9431 * configure.in: several compress/uncompress variables were not being
9434 1999-09-18 John R. Jackson <jrj@purdue.edu>
9436 * client-src/sendbackup.c: pclose returns a child exit status of the
9437 pipe, not an errno, so do not try to strerror it.
9438 Have the index child process exit with the pclose exit code.
9439 Treat index failures as strange rather than fatal so the dump gets
9440 fully processed. It's more important to have the dump image than
9441 to skip it just because indexing had a (possibly unrelated) problem.
9443 1999-09-15 John R. Jackson <jrj@purdue.edu>
9445 * server-src/amtoc.pl.in: handle an image failing on one tape and
9446 succeeding on the next.
9448 1999-09-15 John R. Jackson <jrj@purdue.edu>
9450 * server-src/amstatus.pl.in: generalize the "driver: state" parsing
9451 so it can handle current and future information.
9453 1999-09-15 John R. Jackson <jrj@purdue.edu>
9455 * common-src/bsd-security.c: if the user field is not present in the
9456 .amandahosts file, it should default to the local user, not the
9457 remote user. For our purposes, that is CLIENT_USER, not the user
9458 we are running as (although they should be the same).
9460 1999-09-14 John R. Jackson <jrj@purdue.edu>
9462 * configure.in: Add --with-tmpdir to ./configure and use it for
9463 all Amanda temporary files. Default --with-dbgdir to --with-tmpdir.
9464 Move libexec/getconf to sbin/amgetconf and add an optional
9465 config parameter. Add optional config parameter to several
9467 Add debugging to chg-chio.
9468 Call new safe_cd() function in most programs to cd to --with-tmpdir
9469 so if they drop core, it goes to a known spot. Rename existing
9470 core files so more than one failure may be tracked. Remove most
9471 chdir() and umask() calls (umask is set in safe_cd).
9472 * amplot/amplot.sh.in: ditto.
9473 * changer-src/chg-chio.pl.in: ditto.
9474 * changer-src/chg-chs.sh.in: ditto.
9475 * changer-src/chg-manual.sh.in: ditto.
9476 * changer-src/chg-mtx.sh.in: ditto.
9477 * changer-src/chg-multi.sh.in: ditto.
9478 * changer-src/chg-rth.pl.in: ditto.
9479 * changer-src/chg-scsi-chio.c: ditto.
9480 * changer-src/chg-scsi.c: ditto.
9481 * changer-src/chg-zd-mtx.sh.in: ditto.
9482 * client-src/amandad.c: ditto.
9483 * client-src/calcsize.c: ditto.
9484 * client-src/killpgrp.c: ditto.
9485 * client-src/rundump.c: ditto.
9486 * client-src/runtar.c: ditto.
9487 * client-src/selfcheck.c: ditto.
9488 * client-src/sendbackup-gnutar.c: ditto.
9489 * client-src/sendbackup.c: ditto.
9490 * client-src/sendsize.c: ditto.
9491 * common-src/alloc.c: ditto.
9492 * common-src/amanda.h: ditto.
9493 * common-src/amflock.c: ditto.
9494 * common-src/bsd-security.c: ditto.
9495 * common-src/debug.c: ditto.
9496 * common-src/file.c: ditto.
9497 * common-src/genversion.c: ditto.
9498 * restore-src/amidxtaped.c: ditto.
9499 * server-src/Makefile.am: ditto.
9500 * server-src/amadmin.c: ditto.
9501 * server-src/amcheck.c: ditto.
9502 * server-src/amcheckdb.sh.in: ditto.
9503 * server-src/amcleanup.sh.in: ditto.
9504 * server-src/amcleanupdisk.c: ditto.
9505 * server-src/amdump.sh.in: ditto.
9506 * server-src/amflush.c: ditto.
9507 * server-src/amfreetapes.sh.in: ditto.
9508 * server-src/amindex.c: ditto.
9509 * server-src/amindex.h: ditto.
9510 * server-src/amindexd.c: ditto.
9511 * server-src/amlabel.c: ditto.
9512 * server-src/amrmtape.sh.in: ditto.
9513 * server-src/amstatus.pl.in: ditto.
9514 * server-src/amtape.c: ditto.
9515 * server-src/amtrmidx.c: ditto.
9516 * server-src/amtrmlog.c: ditto.
9517 * server-src/amverify.sh.in: ditto.
9518 * server-src/changer.c: ditto.
9519 * server-src/changer.h: ditto.
9520 * server-src/conffile.c: ditto.
9521 * server-src/conffile.h: ditto.
9522 * server-src/diskfile.c: ditto.
9523 * server-src/driver.c: ditto.
9524 * server-src/driverio.c: ditto.
9525 * server-src/dumper.c: ditto.
9526 * server-src/find.c: ditto.
9527 * server-src/getconf.c: ditto.
9528 * server-src/holding.c: ditto.
9529 * server-src/infofile.c: ditto.
9530 * server-src/logfile.c: ditto.
9531 * server-src/planner.c: ditto.
9532 * server-src/reporter.c: ditto.
9533 * server-src/tapefile.c: ditto.
9534 * server-src/taper.c: ditto.
9536 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9538 * common-src/bsd-security.c (bsd_stream): fn should take an ssize_t.
9539 (bsd_stream_read): Likewise, declaration.
9540 * common-src/rsh-security.c (rsh_stream): Likewise.
9541 (rsh_stream_read): Likewise, declaration and definition.
9542 * common-src/krb4-security.c (dummy): Compile when disabled.
9543 * common-src/krb5-security.c (dummy): Likewise.
9545 * server-src/reporter.c (sDivZero): Change from float to double, to
9548 * configure.in: Get snapshot date from SNAPSHOT file, if it exists.
9549 (VERSION): Add the date to it.
9550 (SNAPSHOT_STAMP): AC_SUBST to the SNAPSHOT file, if it exists.
9551 * Makefile.am (EXTRA_DIST): Added $(SNAPSHOT_STAMP).
9552 (config.status): Depend on $(SNAPSHOT_STAMP).
9553 (SNAPSHOT): Dummy rule to allow reconfigure if it's removed.
9555 * config/Makefile.am: Remove all traces of acconfig.h.
9557 * server-src/changer.c (changer_command): Fix for amwait_t != int.
9559 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9561 * config/acinclude.m4i: Added comments for config/config.h.in to all
9563 * configure.in: Likewise.
9564 * config/acconfig.h: Deleted.
9567 1999-09-05 John R. Jackson <jrj@purdue.edu>
9569 * changer-src/chg-chio.pl.in: add -w to #! line to catch more errors.
9570 * recover-src/display_commands.c: fix some compiler warnings.
9571 * recover-src/extract_list.c: fix some compiler warnings.
9572 * restore-src/amrestore.c: fix some compiler warnings.
9573 * server-src/planner.c: fix some compiler warnings.
9575 1999-09-05 John R. Jackson <jrj@purdue.edu>
9577 * recover-src/extract_list.c: add VRESTORE and VXRESTORE support.
9579 1999-09-05 John R. Jackson <jrj@purdue.edu>
9581 * common-src/stream.c: make sure errno is returned properly from
9582 stream_client() and stream_server().
9583 * server-src/taper.c: report errors from stream_server() and
9585 * recover-src/extract_list.c: make sure errno is preserved.
9587 1999-09-05 John R. Jackson <jrj@purdue.edu>
9589 * configure.in: make sure the dump and restore programs are defined
9590 in pairs, do not allow just the dump program without restore.
9591 * client-src/sendbackup-dump.c: assume restore program is present
9593 * common-src/genversion.c: assume restore program is present if
9596 1999-09-05 John R. Jackson <jrj@purdue.edu>
9598 * common-src/genversion.c: CLIENT_LOGIN has to be defined so there
9599 is no point testing for it.
9600 * server-src/conffile.c: ditto.
9602 1999-09-05 John R. Jackson <jrj@purdue.edu>
9604 * server-src/amverify.sh.in: add SMBCLIENT, VRESTORE, VXRESTORE
9605 and XFSRESTORE support.
9607 1999-09-05 John R. Jackson <jrj@purdue.edu>
9609 * server-src/conffile.c: add several common abbreviations to config
9612 1999-09-01 John R. Jackson <jrj@purdue.edu>
9614 * server-src/amtoc.pl.in: allow multiple -s entries.
9616 1999-09-01 John R. Jackson <jrj@purdue.edu>
9618 * server-src/reporter.c: handle/report a common columnspec syntax
9619 error instead of dumping core.
9621 1999-09-01 John R. Jackson <jrj@purdue.edu>
9623 * man/amanda.8.in: typo in columnspec description.
9625 1999-09-01 John R. Jackson <jrj@purdue.edu>
9627 * common-src/dgram.h: expressions in #define should be protected by
9630 1999-08-25 Alexandre Oliva <oliva@dcc.unicamp.br>
9632 * changer-src/chg-chs.sh.in (changerdev): Pass it as -f flag to CHS.
9633 * docs/TAPE.CHANGERS: Document it.
9634 Reported by Mike Horansky <moho@stanford.EDU>
9636 * server-src/conffile.c (read_dumptype): Renamed from get_dumptype.
9637 Extended to support reading a named dumptype from a specified FILE.
9638 (get_dumptype): Use read_dumptype.
9639 (main): Read disklist, so that custom dumptypes are shown.
9640 * server-src/conffile.h (read_dumptype): Declare.
9641 * server-src/diskfile.c (parse_diskline): Get line_num and line by
9642 reference. New argument diskf. Use read_dumptype if dumptype
9645 * man/amanda.8.in (disklist): Document it.
9647 * example/disklist: Exemplify it.
9649 1999-08-23 John R. Jackson <jrj@purdue.edu>
9651 * recover-src/amrecover.c (main): fix test for IPPORT_RESERVED.
9652 * recover-src/extract_list.c (extract_files_setup): ditto.
9654 1999-08-23 John R. Jackson <jrj@purdue.edu>
9656 * server-src/reporter.c (copy_template_file): make sure all data is
9657 written to label template pipeline.
9659 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
9661 * common-src/Makefile.am: Replace .o with OBJEXT. List sources
9662 explicitly, instead of LDADDing the corresponding objects.
9663 (OBJ_EXTENSION): Wipe out, use OBJEXT.
9665 * configure.in: Call AC_OBJEXT.
9666 (LTLIBOBJS, LTALLOCA): Define, according to ac_objext.
9667 * common-src/Makefile.am (libamanda_la_LIBADD): Use them.
9668 (libamanda_a_LIBADD): Use LIBOBJS and ALLOCA.
9670 * common-src/Makefile.am (genversion.o): Revert last change, it was
9671 just a bug in automake's --disable-dependency-tracking.
9673 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
9675 * README (platforms): Added OpenBSD.
9676 Reported by Ian Darwin <ian@sq.com>
9677 (platforms): Added SunOS 5.7.
9679 1999-08-15 Derek Ney <derek@hipgraphics.com>, Alexandre Oliva <oliva@dcc.unicamp.br>
9681 * client-src/sendsize.c (SAMBA_DEBUG_LEVEL): New macro, "0" for
9682 Samba >= 2, "3" for older ones.
9683 (getsize_smbtar): Use `du' if SAMBA_VERSION >= 2, and the
9684 appropriate SAMBA_DEBUG_LEVEL.
9686 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
9688 * common-src/Makefile.am (genversion.o): Depend on genversion.c
9689 too. It seems that IRIX's make doesn't work without it.
9690 Reported by Brian Cuttler <brian@wadsworth.org>
9692 1999-08-15 Jon LaBadie <jon@jgcomp.com>
9694 * tape-src/tapetype.c: Speed it up by using larger sections in the
9697 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
9699 * man/amanda.8.in (skip-full, incronly): Document existing bugs.
9701 * server-src/conffile.c (init_defaults): Default disksize to 0.
9702 * man/amanda.8.in (holdingdisk use): Document it.
9703 Reported by Grant Beattie <Grant.Beattie@fulcrum.com.au>
9705 * server-src/planner.c (setup_estimate): Typo.
9706 (next_level0): Typo.
9708 * config/ltconfig, config/ltmain.sh: Update from libtool 1.3.3.
9710 * example/amanda.conf.in: Clarify holdingdisk::use 0.
9712 * config/missing: Update from automake 1.4a.
9714 1999-07-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9716 * man/amanda.8.in: typo.
9718 1999-06-29 Alexandre Oliva <oliva@dcc.unicamp.br>
9720 * man/amrestore.8: Document holding-file usage.
9722 1999-06-25 Alexandre Oliva <oliva@dcc.unicamp.br>
9724 * Makefile.am (pkgdata_DATA): Install COPYRIGHTs.
9725 (EXTRA_DIST): Remove docs/*.
9726 * docs/Makefile.am: New file.
9727 (pkgdata_DATA): Install all docs.
9728 * configure.in: Output docs/Makefile.
9729 Suggested by Paul L. Lussier <plussier@baynetworks.com>
9731 * docs/FAQ (selfcheck time-out): NIS services, inetd rebooting,
9732 keyboard time-out, lsof.
9734 * server-src/amverify.sh.in (HEADER): Use `sed 1q' instead of the
9735 not-that-portable `head -1'.
9736 Reported by Andrew Lare <lare@eos913c.gsfc.nasa.gov>
9738 1999-06-19 Alexander Zangerl <az@Austria.EU.net>
9740 * client-src/sendbackup-dump.c (re_table): Match Solaris vxdump
9743 1999-06-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9745 * server-src/dumper.c (read_indexfd): typo
9747 1999-06-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9749 * server-src/dumper.c (do_dump): Close the indexout fh and wait
9750 for the completion of the index compress process.
9751 * server-src/dumper.c (read_mesgfd,read_datafd): Call stop_dump only
9752 if the index fd is already shut down.
9753 * server-src/dumper.c (read_indexfd): On EOF, call stop_dump() if both
9754 the mesg and data fd are shut down.
9756 1999-06-15 Adam Hammer <hammer@math.purdue.edu>
9758 * server-src/amverify.sh.in: Wait until device becomes ready after
9761 1999-06-15 Björn Brezger <Bjoern.Brezger@uni-konstanz.de>, Alexandre Oliva <oliva@dcc.unicamp.br>
9763 * client-src/calcsize.c (ROUND): Rewrite, it was broken.
9764 Reported by Erik Lindahl <erik@theophys.kth.se>
9766 1999-06-15 Alexandre Oliva <oliva@dcc.unicamp.br>
9768 * server-src/conffile.h: Changed all `long's to `int's, as they
9769 broke get_number et al on 64bit platforms.
9770 Reported by Erik Lindahl <erik@theophys.kth.se>
9772 * configure.in (bcopy, bzero): Oops, ICE_CHECK_DECL already checks
9775 * configure.in (bcopy, bzero): Check whether they're available.
9776 * common-src/amanda.h (bcopy, bzero): If not, use memmove and
9778 Reported by Grant Beattie <Grant.Beattie@fulcrum.com.au>
9780 * server-src/amcheck.c (start_server_check): If info file does not
9781 exist, explain that it is supposed to be created on the next run.
9783 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
9785 * server-src/tapefile.c (lookup_last_reusable_tape): Fix order of
9786 arguments in match() invocation.
9787 From Anthony Worrall <Anthony.Worrall@reading.ac.uk>
9789 1999-06-08 Mike Grupenhoff <kashmir@munge.com>
9791 * restore-src/amrestore.c: second arg to restore() is a char *, not
9792 a string_t. Adjust prototype accordingly.
9794 1999-06-07 Mike Grupenhoff <kashmir@munge.com>
9796 * common-src/util.c (bind_portrange): function that attempts
9797 to bind a network connection to a port in a given range.
9798 * common-src/util.h: prototype bind_portrange().
9799 * common-src/dgram.c (bind_reserved): remove, superceeded by
9801 (dgram_bind): use bind_portrange() instead of bind_reserved(), and
9802 try user specified ports first, then reserved ports, then regular
9804 * common-src/dgram.h: remove prototype for bind_reserved().
9805 * common-src/stream.c (stream_server, stream_client): use
9806 bind_portrange() instead of bind_reserved(), and try user
9807 specified ports first, then reserved ports, then regular
9809 * recover-src/amrecover.c (main): use bind_portrange() instead
9810 of bind_reserved(), and verify that the port it gives us is
9812 * recover-src/extract_list.c (extract_files_setup): use
9813 bind_portrange() instead of bind_reserved(), and verify that
9814 the port it gives us is a reserved one.
9816 1999-06-07 Mark F. Vlems <mvlems@vbox.xs4all.nl>
9818 * server-src/amindexd.c (reply, lreply, fast_lreply): Return code 0
9819 of printf does not imply an error on some systems (Openstep) even if
9820 the number of written characters is more than 0. The weakened error
9821 check has no implication for the correct implementations of printf.
9823 1999-06-03 Alexandre Oliva <oliva@dcc.unicamp.br>
9825 * server-src/driver.c (dump_to_tape): Tell hard from soft
9826 (retryable) failures in both dumper and taper results, and behave
9829 * docs/SYSTEM.NOTES: On Trusted Solaris, the format of inetd.conf is
9831 Reported by Julian Stevens <julian.stevens@baedsl.co.uk>
9833 1999-06-02 Mike Grupenhoff <kashmir@munge.com>
9835 * common-src/util.c (fullread, fullwrite): versions of
9836 read()/write() that keep looping until the buffer is
9837 completely read/written, or an error occurs.
9838 * common-src/Makefile.am: build util.c/util.h
9839 * common-src/fileheader.c, common-src/fileheader.h
9840 (fill_buffer): remove, replaced with fullread()
9841 * server-src/holding.c: use fullread() instead of fill_buffer().
9842 * common-src/bsd-security.c, restore-src/amrestore.c,
9843 server-src/amcheck.c, server-src/driverio.c, server-src/dumper.c,
9844 server-src/logfile.c, server-src/taper.c: use fullread/fullwrite
9845 instead of doing the retry loops manually.
9847 1999-06-02 Mike Grupenhoff <kashmir@munge.com>
9849 * server-src/dumper.c (read_mesgfd, read_datafd): upon EOF,
9850 close the stream. If the other stream is also closed, shut
9853 1999-06-02 Mike Grupenhoff <kashmir@munge.com>
9855 * client-src/amandad.c (REP_TIMEOUT): bump up to six hours, for slow
9857 (exit_check): remove waitpid(), let the service reap its own
9859 (s_repwait): rename 'err' to 'errstr' to avoid conflict with
9860 function in some libcs.
9861 (s_ackwait): if no pipes were opened by this service, then shut
9863 (process_netfd): on EOF, be sure to also close the network
9864 stream. Also, if this is the last stream to be closed, shut
9866 (allocstream): correct a comment
9867 (service_delete): only close the security handle if it is still
9868 open. Reap our children here instead of in exit_check().
9870 1999-06-01 Mike Grupenhoff <kashmir@munge.com>
9872 * server-src/taper.c (write_buffer): assert properly
9874 1999-06-01 John Williams <williams@morinda.com>
9876 * changer-src/scsi-hpux.c (eject_tape): Enable it, it works.
9878 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
9880 * docs/INSTALL: Point to the patches page. Update version numbers.
9882 * example/config.site: Document UDPPORTRANGE.
9884 1999-06-01 Jens Persson <jens.persson@btj.se>
9886 * configure.in (UDPPORTRANGE): Set from --with-udpportrange.
9887 * config/acconfig.h: Add UDPPORTRANGE.
9888 * common-src/dgram.c: Implement it.
9890 1999-05-27 Mike Grupenhoff <kashmir@munge.com>
9892 * common-src/alloc.c (alloc, debug_alloc, newalloc, debug_newalloc):
9893 make the size argument a size_t.
9894 (alloc): if an allocation fails, in the error message print how
9895 many bytes we tried to alloc. This helps us determine if the
9896 alloc call was errant, or we really were out of memory.
9897 * common-src/amanda.h: update alloc/newalloc prototypes for
9900 1999-05-27 Alexandre Oliva <oliva@dcc.unicamp.br>
9902 * config/ltconfig, config/ltmain.sh, config/libtool.m4i: Updated
9903 to libtool 1.3.2 plus a few patches.
9904 * config/config.guess, config/config.sub: Ditto.
9906 1999-05-26 Mike Grupenhoff <kashmir@munge.com>
9908 * common-src/protocol.c: retry connection failures three times,
9909 waiting five seconds between each attempt. Also, fix a lot
9912 1999-05-26 Mike Grupenhoff <kashmir@munge.com>
9914 * client-src/amandad.c: add a lot more dbprintfs so we know what's
9916 (service_new): use error() instead of dbprintf(); exit()
9919 1999-05-25 Alexandre Oliva <oliva@dcc.unicamp.br>
9921 * docs/FAQ (tar-patch): Mention sparse file problem.
9923 * recover-src/uscan.l: #undef `ECHO' after #include amanda.h; some
9924 system header files may define it.
9925 Reported by Dan Lipofsky <danlip@cyc.com>
9927 * */Makefile.am: Do not define ACLOCAL_M4, COMPILE or
9929 * Makefile.am: Create acinclude.m4 in the top-level directory.
9930 * config/Makefile.am: Create link to acconfig.h in the top-level
9932 * configure.in: Add AMANDA_CFLAGS to CFLAGS. Set DUMPER_DIR without
9934 * common-src/Makefile.am: Create genversion.h with #defines, to
9935 avoid genversion-specific CPPFLAGS.
9936 * common-src/genversion.c: #include genversion.h
9938 1999-05-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9940 * server-src/amandad.c (state2str): string "s_processrep" is 13
9943 1999-05-24 Mike Grupenhoff <kashmir@munge.com>
9945 * server-src/amcheck.c (main): if we reap a bogus pid, print
9946 out the error message we generate, instead of whatever junk
9947 happens to be in the buffer.
9949 1999-05-24 Mike Grupenhoff <kashmir@munge.com>
9951 * common-src/bsd-security.c (bsd_stream_read): remove old
9952 code that was part of something that ended up not happening.
9953 (stream_read_callback): use ssize_t.
9955 1999-05-24 Mike Grupenhoff <kashmir@munge.com>
9957 * common-src/event.c (event_register): restructure asserts, and
9958 for EV_READFD/EV_WRITEFD, assert that the fd is < FD_SETSIZE.
9960 1999-05-24 Mike Grupenhoff <kashmir@munge.com>
9962 * common-src/queue.h: move the multiple-inclusion #defines
9963 into application namespace. #undef each macro before defining
9964 it, in case the OS has an identical macro.
9966 1999-05-23 Alexandre Oliva <oliva@dcc.unicamp.br>
9968 * server-src/amindex.h: Keep P macro expression in a single line.
9969 Reported by Patrick Harrold <patrickh@nasco-inc.com>
9971 * common-src/Makefile.am (statfs_LDADD): Added alloc.obj.
9973 * common-src/statfs.c (STATFS_SCALE, sys/statvfs.h): If f_frsize is
9974 zero, use f_bsize. It now works with GNU libc 2.1.
9975 Reported by Heikki Vatiainen <hessu@cs.tut.fi>
9977 1999-05-22 Alex Pilosov <alex@pilosoft.com>
9979 * server-src/amindexd.c (is_dump_host_valid): sanitize_name(host)
9980 before doing a stat.
9981 * server-src/tapefile.c (lookup_nb_tape): init pos to 0.
9983 1999-05-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9985 * server-src/reporter.c: take the orig size from the SUCCESS line.
9986 use value from the infofile only the datestamp are equal.
9987 Write all available value.
9989 1999-05-18 Mike Grupenhoff <kashmir@munge.com>
9991 * common-src/strerror.c (strerror): restructure so that it doesn't
9994 1999-05-17 Mike Grupenhoff <kashmir@munge.com>
9996 * common-src/genversion.c (prvar): prototype declared it static,
9997 but actual function was still extern.
9999 1999-05-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10001 * server-src/planner.c (pick_inclevel): check for base_level+1 if
10002 we don't have estimate for base_level. Needed for FORCE_BUMP.
10003 * server-src/planner.c (promote_highest_priority_incremental):
10004 Don't promote if we don't have level 0 estimate. No more need
10005 to check for skip_full, DS_NOFULL, DS_INCRONLY or FORCE_BUMP.
10007 1999-05-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10009 * server-src/amflush.c: ignore SIGPIPE
10010 * server-src/driver.c: ignore SIGPIPE
10011 * server-src/driverio.c (taper_cmd, dumper_cmd): return 0 on error,
10013 * server-src/driverio.h (taper_cmd, dumper_cmd): prototype.
10015 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
10017 * server-src/dumper.c: make prototypes consistent, (putresult):
10018 make first arg const.
10020 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
10022 * server-src/conffile.c (getconf_byname): islower takes an int
10024 * server-src/diskfile.c (upcase): islower takes an int for an
10026 * server-src/driver.c (update_failed_dump_to_tape): prototype.
10027 * server-src/holding.c (insert_dirname, scan_holdingdisk):
10028 prototype and make static, (is_datestr): isdigit takes an int
10031 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
10033 * client-src/calcsize.c (basename): make static, prototype, and
10034 only include if BUILTIN_EXCLUDE_SUPPORT is defined and
10035 HAVE_BASENAME is not defined.
10036 * client-src/getfsent.c (dev2rde, samefile): prototype and
10038 * client-src/sendbackup-dump.c, client-src/sendbackup-gnutar.c
10039 (start_backup, end_backup): prototype.
10040 * client-src/sendbackup.c (index_closed, save_fd): prototype
10042 * client-src/versionsuffix.c (main): prototype.
10043 * common-src/alloc.c (internal_vstralloc): prototype.
10044 * common-src/file.c (mk1dir): prototype, make static, and make
10046 * server-src/amadmin.c (check_dumpuser): prototype.
10047 * server-src/amflush.c (get_letter_from_user): prototype and make
10049 * server-src/amindexd.c: prototype and make static numerous local
10051 * server-src/amlabel.c (main): prototype.
10052 * server-src/amtrmidx.c (main): prototype.
10053 * server-src/changer.c (report_bad_resultstr, run_changer_command):
10055 * server-src/conffile.h: properly prototype getconf_holdingdisks()
10056 * server-src/driverio.h: properly prototype init_driverio().
10057 * server-src/find.c (find_compare, parse_taper_datestamp_log):
10059 * server-src/infofile.c (zero_info, open_txinfofile,
10060 close_txinfofile, read_txinfofile, write_txinfofile,
10061 delete_txinfofile): prototype and make static.
10062 * server-src/planner.c (main, askfor): prototype.
10064 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
10066 * server-src/server_util.c: include server_util.h for prototypes
10067 * server-src/tapefile.h: properly prototype lookup_nb_tape()
10068 * server-src/driverio.c (childstr): make static, make return
10071 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
10073 * server-src/find.h: properly prototype find_log()
10074 * server-src/amtrmlog.c (main): prototype. find_log() takes
10077 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
10079 * server-src/reporter.c: make all functions and globals
10080 static. Prototype all functions, and make them consistent wrt
10081 K&R. Place all prototypes together. Place data type
10082 declarations before the prototypes that use them. Remove
10083 unused sort_by_time().
10085 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
10087 * server-src/dumper.c (process_dumpline): clean up the error
10089 * server-src/dumper.c (log_msgout): no need to reuse errf global,
10090 it makes me nervous. Also, use amfree instead of free.
10092 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
10094 * common-src/packet.c (pkt_cat): remove a bogus assert - len is
10095 a size_t, which is unsigned, so it will always be >= 0.
10097 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
10099 * client-src/amandad.c (action_t): consolidate A_PKTTIMEOUT and
10100 A_REPTIMEOUT into just A_TIMEOUT.
10102 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
10104 * common-src/amanda.h, common-src/alloc.c, common-src/event.c,
10105 common-src/rsh-security.c, server-src/driver.c,
10106 server-src/dumper.c: (min, max): consolidate all min/max
10107 definitions into amanda.h
10109 1999-05-14 Alexandre Oliva <oliva@dcc.unicamp.br>
10111 * docs/TAPE.CHANGERS (chg-rth): URL for chs is no longer valid.
10113 1999-05-12 Mike Grupenhoff <kashmir@munge.com>
10115 * common-src/amanda.h, common-src/alloc.c, common-src/file.c:
10116 const the filename arg to all of the dbmalloc versions of
10117 alloc and io functions
10119 1999-05-11 Mike Grupenhoff <kashmir@munge.com>
10121 * common-src/protocol.c (proto_t): don't need prev and next ptrs
10124 1999-05-11 Mike Grupenhoff <kashmir@munge.com>
10126 * common-src/amanda.h, common-src/alloc.c: remove the static
10127 buffer manager - nothing uses it. It can be resurrected in
10128 the future if needed.
10130 1999-05-11 Mike Grupenhoff <kashmir@munge.com>
10132 * common-src/amanda.h: define stringconcat() macros that
10133 concatenate two const strings together
10134 * common-src/versuff.c.in (versionsuffix, version): generate
10135 data at compile time using stringconcat().
10136 * common-src/genversion.c: simplify, don't need to alloc anything
10137 * common-src/Makefile.am (genversion_LDADD): this doesn't need
10138 alloc.o or error.o anymore
10140 1999-05-11 Mike Grupenhoff <kashmir@munge.com>
10142 * common-src/security.c (security_handleinit, security_streaminit):
10143 change default error message "unknown error" to "unknown protocol
10144 error" or "unknown stream error" to help identify where an
10145 messageless error was triggered.
10147 1999-05-11 Mike Grupenhoff <kashmir@munge.com>
10149 * client-src/amandad.c (main): call initgroups(), and also set
10152 1999-05-10 Mike Grupenhoff <kashmir@munge.com>
10154 * server-src/driver.c (start_some_dumps): if a dumper is
10155 constrained, and some dumpers or the taper are active, register
10157 * server-src/driver.c (handle_taper_result,
10158 handle_dumper_result): wakeup constrained dumpers after we
10159 have freed some resources.
10161 1999-05-10 Mike Grupenhoff <kashmir@munge.com>
10163 * common-src/fileheader.c, common-src/fileheader.h: rework the
10164 fileheader parse and format code to remove a lot of duplicated
10165 code (in the F_DUMPFILE and F_CONT_DUMPFILE cases), consting
10166 arguments, and simplifying parse code.
10168 1999-05-10 Mike Grupenhoff <kashmir@munge.com>
10170 * client-src/sendsize.c (getsize_dump): print out the strerror
10171 if we can't exec killpgrp.
10173 1999-05-10 Mike Grupenhoff <kashmir@munge.com>
10175 * server-src/dumper.c (add_msg_data): first two arguments
10176 to memmove() were backwards.
10178 1999-05-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10180 * example/amanda.conf.in: typo
10182 1999-05-07 Mike Grupenhoff <kashmir@munge.com>
10184 * common-src/alloc.c (safe_env): allow DISPLAY into the
10185 environment for purify.
10186 * server-src/holding.c (rename_tmp_holding): if fill_buffer
10187 returns 0, don't try to parse a nonexistant header.
10188 * server-src/taper.c (file_reader_side): init datestamp to
10189 NULL, and don't try to free it if it's still NULL on exit.
10191 1999-05-06 Mike Grupenhoff <kashmir@munge.com>
10193 * server-src/driver.c (start_some_dumps): sleep_time is an
10194 offset, not an absolute. Leave it that way when we return from
10197 1999-05-05 Mike Grupenhoff <kashmir@munge.com>
10199 * server-src/amverify.sh.in (pecho): new function. Like echo
10200 but doesn't append newline, and supports \r, etc. Implemented
10202 * server-src/amverify.sh.in: use pecho where we used to use echo -n,
10203 etc. It's nearly impossible to figure out which echo needs what
10204 flags and also know if it supports \r. So we just punt and use
10207 1999-05-04 Mike Grupenhoff <kashmir@munge.com>
10209 * server-src/driver.c: convert to use event handler.
10210 (some_dumps_in_progress, lookup_dumper): nuke.
10211 (sleep_time): make a time_t and static.
10212 (IDLE_NO_DUMPERS): give a lower precedence than IDLE_START_WAIT.
10213 (start_some_dumps): make this work on one dumper instead of all.
10214 Call when a dumper is finished and needs more work.
10215 (handle_idle_wait): callback for dumpers waiting for delayed
10217 * server-src/driverio.c: initialize event handles for dumpers
10218 and the taper. Nuke addfd().
10219 * server-src/driverio.h: add event handles for each dumper, and
10220 one global one for the taper. Nuke maxfd and readset globals.
10222 1999-05-04 Mike Grupenhoff <kashmir@munge.com>
10224 * server-src/driver.c (taper_queuedisk): new function that takes
10225 a disk_t, and, if the taper is not busy, tells it to write it out,
10226 or else adds it to the tapeq. Make use_lffo global static.
10227 * server-src/driver.c (handle_taper_result, handle_dumper_result):
10228 call taper_queuedisk() instead of queueing ourself.
10230 1999-04-30 Mike Grupenhoff <kashmir@munge.com>
10232 * server-src/driver.c: make all local functions static.
10233 Exposed two prototypes for nonexistant functions
10234 (diskname2filename, driver_main), and one function (dump_state)
10235 that was never called. #if 0 out dump_state.
10236 Nuke inside_dump_to_tape global - it's value was never used.
10237 Make pending_aborts global a static local in handle_dumper_result.
10239 1999-04-30 Mike Grupenhoff <kashmir@munge.com>
10241 * server-src/driverio.h (dumper_t): merge infd and outfd into
10242 just 'fd'. Comment the other members of the struct.
10243 * server-src/driverio.c: infd/outfd -> fd
10244 * server-src/driver.c (handle_dumper_result): merge some common
10245 code between the FAILED and TRYAGAIN cases. Comment the
10246 ABORT_FINISHED case. Also infd/outfd -> fd.
10248 1999-04-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10250 * server-src/planner.c (when_overwrite): return a big number (1024)
10251 if the tape is not reusable.
10253 1999-04-29 Alexandre Oliva <oliva@dcc.unicamp.br>
10255 * config/ltconfig, config/ltmain.sh, config/libtool.m4i: Updated
10258 1999-04-29 Mike Grupenhoff <kashmir@munge.com>
10260 * server-src/driver.c (handle_dumper_result): remove FATAL_TRYAGAIN
10261 case, nothing uses it.
10262 * server-src/driverio.c, server-src/driverio.h: garbage collect
10263 FATAL_TRYAGAIN. static & const cmdstr.
10265 1999-04-28 Mike Grupenhoff <kashmir@munge.com>
10267 * server-src/diskfile.c (read_diskfile): rework to take a
10268 disklist_t * as an argument, and return -1 on error, or 0 on
10269 success. const the filename argument. Kill a few globals.
10270 * server-src/diskfile.c (lookup_host, lookup_disk): const
10272 * server-src/diskfile.h: adjust prototypes for above changes
10273 * server-src/amadmin.c, server-src/amcheck.c,
10274 server-src/amcleanupdisk.c, server-src/amflush.c,
10275 server-src/amindexd.c, server-src/amtrmidx.c,
10276 server-src/amtrmlog.c, server-src/driver.c,
10277 server-src/planner.c, server-src/reporter.c: adjust calls to
10278 read_diskfile() to deal with convention
10280 1999-04-28 Mike Grupenhoff <kashmir@munge.com>
10282 * server-src/dumper.c (read_mesgfd, read_indexfd): on EOF, just
10283 stop reading these streams. We let EOF on the data stream cause
10284 the entire dump to be stopped.
10286 1999-04-27 Mike Grupenhoff <kashmir@munge.com>
10288 * common-src/rsh-security.c (conn_read_callback): cast
10289 event_wakeup() arg to event_id_t.
10291 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
10293 * common-src/versuff.c.in: Adjust constness to match version.h.
10295 * docs/SYSTEM.NOTES: Recommend GNU tar for Linux.
10297 1999-04-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10299 * server-src/amdump.sh.in: execute amtrmlog.
10301 1999-04-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10303 * client-src/sendbackup.c: rename write_tapeheader to info_taperheader
10304 we already have a write_tapeheader function in dumper.c
10305 * client-src/sendbackup.h: ditto
10306 * client-src/sendbackup-dump.c: ditto
10307 * client-src/sendbackup-gnutar.c: ditto
10309 1999-04-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10311 * dumper-src/gnutar.pl.in: add debuging code.
10312 * server-src/planner.c (getsize): send optionstr() for estimate
10314 * client-src/selfcheck.c: init program_is_wrapper to 0.
10315 * client-src/sendsize.c: implement DUMPER-API, support only
10318 1999-04-22 John R. Jackson <jrj@purdue.edu>
10320 * configure.in: add --with-broken-fsf to use a read() loop instead
10321 of the fsf ioctl on some broken systems.
10322 * config/acconfig.h: ditto
10323 * tape-src/tapeio.c (tapefd_fsf): ditto
10325 1999-04-22 Alexandre Oliva <oliva@dcc.unicamp.br>
10327 * docs/SYSTEM.NOTES: Typo
10328 * docs/SAMBA: Update on samba-largefs patch.
10329 * docs/FAQ: New FAQ about promotion of full dumps.
10331 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
10333 * tape-src/tapeio.c (tape_open): Retry after EBUSY and EINTR too.
10334 Comment out test that would set filename to /dev/null.
10336 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
10338 * docs/WISHLIST: Global reformat. Removed fixed issues. Added
10341 1999-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10343 * server-src/server_util.c: use snprintf instead of ap_snprintf.
10345 1999-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10347 * server-src/server_util.c: new file for utility function.
10348 New function construct_datestamp.
10349 * server-src/server_util.h: ditto
10350 * server-src/Makefile.am: link server_util.c with libamserver.
10351 * amcleanupdisk.c (construct_datestamp): remove function.
10352 * server-src/driver.c: ditto
10353 * server-src/dumper.c: ditto
10354 * server-src/amflush.c: ditto
10355 * server-src/planner.c: ditto
10357 1999-04-17 Mike Grupenhoff <kashmir@munge.com>
10359 * common-src/bsd-security.c: this doesn't need queue.h
10361 1999-04-17 Mike Grupenhoff <kashmir@munge.com>
10363 * common-src/event.c: Insert new events at the head of the eventq,
10364 not the tail, so we don't loop forever if a newly registered
10365 event has the same type as the one currently firing. Noticed
10366 and diagnosed by Jean-Louis Martineau.
10367 Use a LIST for the eventq, instead of a TAILQ, since we don't need
10368 to do tail insertions anymore.
10369 Make the eventq_* functions take a queue name so we can also use
10370 them for the handle cache. Rename eventq_append() to eventq_add().
10372 1999-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10374 * dumper-src/gnutar.pl.in: add DUMPER_DIR to INC.
10376 1999-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10378 * client-src/selfcheck.c: Implement DUMPER-API.
10379 * dumper-src/gnutar.pl.in (command_selfcheck): print OK, the function
10380 is not implemented.
10381 * dumper-src/generic-dumper.pl.in (parse_options): option are
10384 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
10386 * server-src/dumper.c: make dumpsize and headersize static. Rename
10387 nb_header_block to headersize and also make it static. headersize
10388 now counts bytes instead of blocks, just like the other two.
10389 Use SEEK_SET in an lseek instead of hardcoding 0.
10391 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
10393 * configure.in: implement --with-cflags to allow turning on
10394 compiler warnings and optimizations
10396 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
10398 * common-src/event.c (gethandle, puthandle): new functions that
10399 keep a cache of handles to reduce calls to malloc/free.
10401 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
10403 * common-src/alloc.c (dbmalloc_caller_loc): const the file
10404 arg, use the queue macros to maintain the list.
10406 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
10408 * common-src/versuff.c.in: const the return str of version()
10409 and versionsuffix. Bump copyright to 1999.
10411 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
10413 * client-src/amandad.c, client-src/amandad.h,
10414 client-src/sendbackup-dump,c, client-src/sendbackup-gnutar.c,
10415 client-src/sendbackup.c, common-src/bsd-security.c,
10416 common-src/dgram,c, common-src/dgram.h, common-src/event.c,
10417 common-src/event.h, common-src/krb4-security.c,
10418 common-src/krb5-security.c, common-src/packet.c,
10419 common-src/packet.h, common-src/protocol.c, common-src/security.c,
10420 common-src/security.h, server-src/amcheck.c, server-src/conffile.c,
10421 server-src/conffile.h, server-src/dumper.c:
10422 update copyright to 1999 on things I've touched this year.
10424 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
10426 * common-src/amanda.h: remove version_info extern. Bump
10428 * common-src/genversion.c: constify version_info. Emit
10429 {KRB4,KRB5,RSH}_SECURITY. Bump copyright.
10430 * common-src/version.h: const VERSION_COMMENT and version_info.
10431 const return str and fully prototype versionsuffix() and version()
10432 prototypes. Bump copyright.
10433 * server-src/planner.c (main): iterate through version_info using
10434 an index instead of a pointer.
10436 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
10438 * server-src/conffile.c: explicitly give the seen_columnspec global
10439 an int type instead of letting the compiler default to it.
10441 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
10443 * common-src/event.h (event_id_t): a new typedef for the
10444 first arg to event_register. Should be wide enough to
10445 reasonably hold an int or a pointer (but it is ok to trunc
10446 the pointer if necessary). Update proto for event_register()
10447 and event_wakeup().
10448 * common-src/event.c: struct event_handle->data is now an
10450 (event_register, event_wakeup): adjust args for event_id_t)
10451 (event_register): event_id_t is unsigned, no need to assert
10452 positivity anymore.
10453 * common-src/rsh-security.c (rsh_stream_read): cast first arg to
10454 event_register() to event_id_t.
10457 1999-04-15 Mike Grupenhoff <kashmir@munge.com>
10459 * common-src/event.c (release): nuke, and inline into event_loop.
10460 * common-src/event.c (event_loop): flesh out the timeout comment.
10461 Combone the EV_WAIT and EV_DEAD empty cases in the post-select loop.
10462 * common-src/event.h: flesh out the event_type_t comment.
10464 1999-04-15 Mike Grupenhoff <kashmir@munge.com>
10466 * common-src/event.c (fire): inline this with a macro. Remove
10467 timestamp arg. eh->lastfired is now only valid for EV_TIME
10468 events. Removes several time() systems from the critical path.
10469 * common-src/event.c (event_wakeup): have this fire EV_WAIT events
10470 directly instead of deferring back to the event loop. Removes the
10471 sequencing restriction for event_wakeup.
10473 1999-04-15 Mike Grupenhoff <kashmir@munge.com>
10475 * server-src/planner.c (getsize): put the hosts disks on the waitq
10476 before sending the request, not after.
10478 1999-04-15 Alexandre Oliva <oliva@dcc.unicamp.br>
10480 * docs/UPGRADE: Update URL for archived message.
10482 1999-04-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10484 * server-src/amcheck.c (main): should not set real uid to 0.
10486 1999-04-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10488 * common-src/bsd-security.c (bsd_connect): dgram_bind return the port
10489 number, we don't need ntohs().
10491 1999-04-12 Mike Grupenhoff <kashmir@munge.com>
10493 * common-src/dgram.c,common-src/dgram.h: nothing uses dgram_alloc()
10496 1999-04-12 Mike Grupenhoff <kashmir@munge.com>
10498 * server-src/amindexd.c: dgram.h not needed
10500 1999-04-12 Mike Grupenhoff <kashmir@munge.com>
10502 * common-src/event.c: fix a bunch of inaccurate comments.
10503 * common-src/event.c (event_loop): prune dead events in the
10504 pre-select pass instead of in the EV_WAIT pass.
10505 * common-src/event.c (fire): factor out all code that fires
10506 events into a 'fire' function.
10507 * common-src/event.c (signal_handler): bounds check the signal
10508 number against the size of sigtable instead of assuming sigtable
10511 1999-04-10 Mike Grupenhoff <kashmir@munge.com>
10513 * client-src/amandad.c (allocstream): if security_stream_server()
10514 fails, dbprintf the error.
10516 1999-04-10 Mike Grupenhoff <kashmir@munge.com>
10518 * configure.in: implement --with-rsh-security
10519 * common-src/rsh-security.c: first attempt at using rsh or a rsh-like
10520 command for dump transport and authentication. Still has lots
10522 * common-src/Makefile.am: build rsh-security.c
10523 * common-src/security.c: add rsh_security_driver to the drivers array
10524 * config/acconfig.h: define RSH_SECURITY
10526 1999-04-10 Mike Grupenhoff <kashmir@munge.com>
10528 * server-src/dumper.c (runcompress): use the proper end of the pipe
10529 for writing and reading. Also, grab errno early on fork error
10530 before calling close.
10531 * server-src/dumper.c (sendbackup_response): make sure the client
10532 at least send us a mesgfd and datafd.
10534 1999-04-10 Mike Grupenhoff <kashmir@munge.com>
10536 * client-src/amandad.c (main): don't dup stdout to db_fd - it might
10537 be needed by the security driver
10538 * client-src/amandad.c (s_ackwait, allocstream,): on error, don't
10539 attempt to event_release a handle we haven't attached yet.
10541 1999-04-10 Mike Grupenhoff <kashmir@munge.com>
10543 * ap_snprintf -> snprintf, ap_vsnprintf -> vsnprintf
10545 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10547 * client-src/Makefile.am (noinst_HEADERS): add amandad.h
10549 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10551 * common-src/Makefile.am (libamanda_la_SOURCES): build
10554 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10556 * configure.in: implement --with-dbmalloc=[dir], where dir is
10557 where the dist is unpacked and built. This could be improved on,
10558 because it doesn't handle the case where it's installed.
10560 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10562 * client-src/sendbackup.c: security changes:
10563 remove krb4 code and NAUGHTY_BITS macros.
10564 (parse_options): don't look for krb4 options
10565 (main): don't close pipes that were handed to us from amandad.
10566 Don't open stream directly - just use the pipes given to us.
10567 * client-src/sendbackup-dump.c, client-src/sendbackup-gnutar.c:
10568 Remove krb4 code and NAUGHTY_BITS macros.
10570 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10572 * client-src/amandad.h: new file describing the pipes between
10573 amandad and children.
10574 * client-src/amandad.c: rewrite for security changes. Can
10575 now handle multiple requests simultaneously, and has a state
10576 machine to deal with each active request.
10577 This handles all network transmissions and authentication.
10578 Each child process (sendbackup, selfcheck) gets three general
10579 purpose pipes to amandad which it may allocate for anything.
10580 amandad relays these pipes to equivalent security_streams.
10581 Lots of other stuff.
10582 Finally, NEED_KEYPIPE stuff removed.
10584 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10586 * server-src/dumper.c: security changes:
10587 Remove krb4 includes and NAUGHTY_BITS macros.
10588 Remove no-longer-true comment about DATABUF_SIZE ==
10589 TAPE_BLOCK_BYTES for krb4
10590 Remove file descriptor and event handle from streams array. Add
10591 a security_stream_t.
10592 Remove global read buffer.
10593 (check_options): remove krb4 code.
10594 (service_ports_init): remove, now handled by individual security
10596 (main): remove dgram usage.
10597 (do_dump): remove DUMPER_SOCKET_BUFFERING - now handled in the
10598 bsd driver. schedule reads on the streams using
10599 security_stream_read.
10600 (read_mesgfd,read_datafd,read_indexfd): adapt to
10601 security_stream_read callback interface.
10602 (stop_dump): just call security_stream_close on all non-null
10604 (sendbackup_response): adapt to new protocol layer error return.
10606 (startup_dump): stinky hack to parse the security driver string out of
10607 the options passed to us from driver.
10608 Lookup the security driver with said string.
10610 Free request after calling protocol_sendreq().
10612 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10614 * server-src/planner.c: security changes:
10615 (main): Remove dgram usage. Call protocol_init(). Remove
10617 (getsize): remove krb4 code. Handle protocol layer api changes.
10618 Lookup security driver/complain if not found. Free request
10619 after calling sendreq. All hosts get put on the waitq since
10620 sendreq never returns an error.
10621 (handle_result): deal with new protocol layer error semantics.
10624 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10626 * server-src/conffile.c: remove INTERFACE undef hack. Our
10627 namespace isn't polluted by krb4 headers anymore, so it's
10630 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10632 * server-src/amcheck.c: security changes:
10633 (main): ignore SIGPIPE - some security drivers might get it.
10634 Remove all usages of dgram.
10635 Make our real uid root and our effective uid amanda so we can
10636 get back to root later (on most os's :()
10637 (start_client_checks): remove krb4 bits.
10638 The dump user check should check the effective uid.
10639 Get the name of the security driver for this host out of
10640 host->diskp->security_driver.
10641 Free req after calling protocol_sendreq() because it will internalize
10643 protocol_sendreq doesn't return any errors - they're all returned
10644 via handle_response.
10645 (handle_result): renamed from handle_response for consistency.
10646 The protocol layer doesn't pass us a proto_t anymore, so detect
10647 errors based on pkt being NULL.
10648 Remove krb4 bits - security violations will be indicated by a
10651 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10653 * common-src/protocol.[ch]: rewrite for security api. The entry
10654 points now have the 'protocol' prefix. See protocol.h for more
10656 * common-src/security.c: rewrite for security api. This now contains
10657 the functions for the 'base class' or some approximation of it.
10658 See security.h for the entry points, or docs/SECURITY-API.
10660 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10662 * common-src/amanda.h: rip out krb4 defines, headers, and
10663 prototypes. Also, make assert() abort() after calling error().
10664 * common-src/krb4-security.c: stub file that pulls in the real
10665 krb4-security out of amanda-krb-2 if KRB4_SECURITY is defined.
10667 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10669 * server-src/conffile.h: aggregate all of the compress defines
10670 (COMP_{NONE,FAST,BEST,...}) into an enum and typedef it to comp_t.
10671 Make dumptype_t->compress a comp_t.
10672 * server-src/dumper.c: make srvcompress global a comp_t.
10673 * server-src/dumper.c (runcompress): add a comp_t third arg
10674 that specifies the level of compression for this fd.
10675 * server-src/dumper.c (do_dump): always compress index files
10676 with COMP_BEST compression, as pointed out by Jean-Louis Martineau.
10677 * server-src/dumper.c (read_indexfd): read the indexfd, not the
10678 datafd. Also noted by Jean-Louis Martineau.
10680 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
10682 * server-src/planner.c (main): ignore SIGPIPE. tcp based
10683 security drivers may get this while getting estimates.
10684 Set the real uid to root, and the effective uid to the amanda
10685 user, so we can get back to root later if needed.
10686 * server-src/planner.c (handle_result): rework error logic
10687 so we don't need to use p->state, which will eventually go
10690 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
10692 * server-src/dumper.c: rewrite to use the event handler instead
10693 of a select loop. Also, compress the index output using
10694 runcompress() instead of forking a compress ourselves.
10696 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
10698 * server-src/dumper.c (sendbackup_response): don't krb4 authenticate
10699 streams if krb4_auth if false.
10701 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
10703 * server-src/dumper.c (do_dump): some formatting cleanups. Nuke
10704 'killerr' - we can do without it.
10706 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
10708 * server-src/dumper.c (do_dump): store compresspid inside of
10711 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
10713 * server-src/dumper.c (parse_info_line): parse info lines
10714 from sendbackup directly into the 'file' global. Eliminate
10715 the backup_name, recover_cmd, and compress_suffix globals.
10716 * server-src/dumper.c (finish_tapeheader): nuke usage
10717 of above globals. Nuke unneeded explicit nul terminations (we
10718 memset the whole thing in fn_init).
10720 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
10722 * server-src/dumper.c (process_dumpline): rewrite to use strtok
10723 and const the argument.
10724 * server-src/dumper.c (make_tapeheader): rename to finish_tapeheader
10725 and prototype it. Remove the 'type' arg, since it's always
10726 F_DUMPFILE. Remove call to fn_init().
10727 * server-src/dumper.c (do_dump): call fh_init on 'file' while
10728 initializing globals. Call finish_tapeheader after getting info
10731 1999-04-07 John R. Jackson <jrj@purdue.edu>
10733 * tape-src/tapeio.c: allow tapedev to be /dev/null.
10734 * server-src/taper.c: allow tapedev to be /dev/null.
10735 * man/amanda.8.in: allow tapedev to be /dev/null.
10737 1999-04-07 Mike Grupenhoff <kashmir@munge.com>
10739 * server-src/dumper.c: collect got_info_endline, got_sizeline,
10740 got_endline, and header_done into one bitmask global, and make it
10741 static. Also, make 'file' static.
10743 1999-04-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10745 * server-src/reporter.c (TextRule): Fix to write the full string.
10747 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
10749 * configure.in: MIT krb5 has libk5crypto, Cygnus kerbnet 1.2
10750 calls it libcrypto. Check for both.
10752 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
10754 * common-src/bsd-security.c (check_user): if an .amandahosts
10755 file is missing or unreadable, log this fact to the debug file
10756 instead of claiming that a user doesn't have permission.
10757 * common-src/bsd-security.c (bsd_stream_client): if
10758 DUMPER_SOCKET_BUFFERING is defined, set the socket read buffer to
10759 be twice the size of our read buffer.
10761 1999-04-06 David Mankins <dm@k12-nis-2.bbn.com>
10763 * common-src/security.c (bsd_security_ok): if an .amandahosts
10764 file is missing or unreadable, log this fact to the debug file
10765 instead of claiming that a user doesn't have permission.
10767 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
10769 * server-src/dumper.c: put all of the streams (data,mesg,index)
10770 into an array with a name tag.
10771 * server-src/dumper.c (stop_dump): new function that cleans up
10772 and shuts down all of the streams.
10773 * server-src/dumper.c (sendbackup_response): make static, pass
10774 response_error through p->datap instead of making it global.
10775 Rewrite the parsing to use strtok() and take advantage of the
10776 streams array instead of repeading code for all three streams.
10778 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
10780 * server-src/dumper.c (main): keep our real uid as 0, and make
10781 our effective uid nonprivlidged, so we can get back to root
10782 later. Don't print what port we bound to. This info won't
10783 always be available or even applicable.
10784 * server-src/dumper.c (do_dump): create the stats line with one
10785 snprintf instead of a huge amount of code.
10787 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
10789 * server-src/dumper.c (startup_dump): make static, and const all
10791 * server-src/dumper.c (do_dump): make static
10793 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
10795 * server-src/dumper.c (do_dump): no need to have a separate buffer
10796 to read the mesgfd - just reuse the one we used for data reads.
10797 Gets rid of one more global. Also, we don't need to leave
10798 space for a NUL anymore.
10799 * server-src/dumper.c (main): wait for children after closing
10800 our fds. Some children may be blocked waiting for EOF on outfd,
10801 effectively causing deadlock between dumper and child.
10803 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
10805 * server-src/dumper.c (add_msg_data): now takes a 'len' arg, and
10806 doesn't expect the data to be nul terminated. Also, move
10807 the buffer from global scope into the function, and have a NULL
10808 arg flush it out if there is leftover data at the end. Finally,
10809 resize the buffer in 256 byte chunks.
10811 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
10813 * common-src/stream.c, common-src/stream.h (stream_client): add
10814 yet another arg - if nonzero, do a nonblocking connect
10815 * server-src/dumper.c: catch up with extra arg to stream_client()
10817 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
10819 * common-src/bsd-security.c, common-src/security.h: attempt
10820 to decouple security streams from security handles. Lots of
10821 other restructuring.
10823 1999-04-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10825 * server-src/amcheck.c: -t should read the tapelist to validate
10828 1999-03-30 Alexandre Oliva <oliva@dcc.unicamp.br>
10830 * patches/samba-largefs.patch: updated to patch that ended up
10831 installed in the Samba CVS tree
10833 * patches/tar-1.12.patch: patch the configure script so that it
10834 requires autoconf and autoheader to be run; improve the
10835 printf_long_long test so that it doesn't get false positives because
10838 * changer-src/scsi-chio.c: since we do not support FreeBSD 3's
10839 camlib.h interface, #ifdef out all the code
10840 Reported by Francis Lam <Francis.Lam@Leitch.com>
10842 * configure.in (VXSYSLOCPATH): apparently a complex path expression
10843 gets AC_PATH_PROGS confused; set the path beforehand
10844 Reported by Francis Lam <Francis.Lam@Leitch.com>
10846 1999-03-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10848 * server-src/reporter.c: compiler warning.
10850 1999-03-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10852 * server-src/amtrmlog.c: new program to move unused log
10854 * server-src/Makefile.am: install amtrmlog.
10855 * server-src/find.h: declare find_log().
10856 * server-src/find.c(find_log): new function to return an array of
10857 all the logfile name that are still needed.
10858 * server-src/find.c(search_logfile): special case if output_find==NULL,
10859 return 1 if it the logfile fir the label.
10861 1999-03-25 Neil Crellin <neil@wallaby.cc>
10863 * docs/TAPE.CHANGERS (chg-chs): URL for chs
10865 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>, Tom Schutter <tom@platte.com>, Cloyce D. Spradling <cloyce@headgear.org>
10867 * patches/samba-largefs.patch: updated for Samba 2.0.*
10869 1999-03-25 Charles Owens <owensc@enc.edu>
10871 * changer-src/chg-chio.pl.in (changeTape): do not print status to
10872 both stdout and stderr; this causes failures on FreeBSD
10874 1999-03-23 Mike Grupenhoff <kashmir@munge.com>
10876 * common-src/stream.c, common-src/stream.h (stream_client):
10877 const the hostname arg
10879 1999-03-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10881 * configure.in: AC_SUBST(GNUTAR_LISTED_INCREMENTAL_DIR)
10882 * dumper-src/gnutar.pl.in: use @GNUTAR_LISTED_INCREMENTAL_DIR@
10884 1999-03-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10886 * configure.in: default for DUMPER_DIR is $exec_prefix/dumper.
10887 * Makefile.am: make dumper-src directory
10888 * dumper-src: directory for program that implement the DUMPER-API.
10889 * dumper-src/Makefile.am:
10890 * dumper-src/generic-dumper.pl.in: first draft of a generic wrapper.
10891 * dumper-src/gnutar.pl.in: first draft of a gnutar wrapper.
10893 1999-03-21 Elmar Bartel <bartel@Informatik.TU-Muenchen.DE>
10895 * conffile.h, conffile.c: new columnspec option
10896 * reporter.c: use it
10897 * man/amanda.8.in: description and example
10898 * example/amanda.conf.in: ditto
10900 1999-03-20 Dahn Nilsson <dahn.nilsson@maxlab.lu.se>
10902 * configure.in: SAMBA_VERSION is not set correctly.
10904 1999-03-17 Alexandre Oliva <oliva@dcc.unicamp.br>
10906 * client-src/sendbackup-dump.c (re_table): generalize a bit some of
10907 the regular expressions, so as to make us more adaptable to future
10908 minor changes and bugfixes the the output format of some dumps
10910 1999-03-16 Thomas Hepper <th@ant.han.de>
10911 * changer-src/chg-scsi.c: If the open of the TapeDevice fails
10912 the programm is not terminated.
10913 * changer-src/scsi-aix.c: The wrong ident string was checked
10915 * changer-src/scsi-bsd.c: see scsi-aix.c
10916 * changer-src/scsi-linux.c: see scsi-aix.c
10917 * changer-src/scsi-solaris.c: see scsi-aix.c
10918 * changer-src/scsi-changer-driver.c: Added some more debug prints.
10919 Wrong fd passwd to LogSense.
10920 * docs/TAPE.CHANGERS: added note about linux and aha1542
10922 1999-03-15 Mike Grupenhoff <kashmir@munge.com>
10924 * common-src/packet.h: explicitly list the numeric values for
10925 the pktype_t enum, so we can use them on the wire
10927 1999-03-15 Alexandre Oliva <oliva@dcc.unicamp.br>
10929 * config/ltconfig, config/ltmain.sh: updated from libtool 1.2f
10930 * config/libtool.m4i, config/config.guess, config/config.sub: ditto
10931 * configure.in: dropped AC_PROG_RANLIB, as suggested by libtoolize
10933 1999-03-15 Mike Grupenhoff <kashmir@munge.com>
10935 * common-src/bsd-security.c (recv_security_ok): bring over
10936 increased verbosity change from common-src/security.c
10938 1999-03-14 Mathias Herberts <Mathias.Herberts@ago.fr>
10940 * man/amrecover.8.in: document mode and setmode
10942 1999-03-14 Jon Stevens <jon@clearink.com>
10944 * common-src/security.c (bsd_security_ok): increase the verbosity of
10945 failed authentication messages
10947 1999-03-14 Alexandre Oliva <oliva@dcc.unicamp.br>
10949 * configure.in (powerpc-*-linux-*): supported platform
10951 Reported by Jon Stevens <jon@clearink.com>
10953 1999-03-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10955 * configure.in: new option --with-dumperdir=DIR to specify the
10956 directory for the dumpers (dumper api).
10957 * config/acconfig.h: add def of DUMPER_DIR
10959 1999-03-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10961 * server-src/conffile.c: accept any string for the program.
10962 * server-src/amcheck.c: add the keyword DUMPER to the request if
10963 the program is not DUMP or GNUTAR.
10964 * server-src/planner.c: ditto
10965 * server-src/dumper.c: ditto
10967 1999-03-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10969 * server-src/dumper.c (startup_dump): rename dumpname to progname.
10970 the function will use the parameter progname instead of the
10973 1999-03-06 Alexandre Oliva <oliva@dcc.unicamp.br>
10975 * configure.in (openbsd): according to Ralf Gebhart
10976 <rgebhart@cybernet-ag.net>, sparc-unknown-openbsd2.3 is supported;
10977 I assume other openbsd platforms work too.
10979 1999-03-06 Thomas Hepper <th@ant.han.de>
10981 * client-src/sendbackup-gnutar.c: Replaced #fi with #endif
10982 * changer-src/: Get in sync with 2.4.2 Version
10984 1999-03-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10986 * configure.in: set SAMBA_VERSION
10987 * client-src/sendbackup-gnutar.c (start_backup): use -q flag
10988 if SAMBA_VERSION >= 2
10990 1999-03-05 Mathias Herberts <Mathias.Herberts@ago.fr>
10992 * recover-src/amrecover.h (set_mode, show_mode) declare new functions.
10993 * recover-src/amrecover.h (SAMBA_SMBCLIENT, SAMBA_TAR) define new
10995 * recover-src/extract_list.c: declare variable samba_extract_method.
10996 * recover-src/extract_list.c (extract_files_child): set dumptype
10997 according to samba_extract_method.
10998 * recover-src/help.c (help_list): print help for new command mode
11000 * recover-src/set_commands.c (set_mode, show_mode): new functions.
11001 * recover-src/uscan.l:
11002 * recover-src/uparse.y:
11004 1999-03-05 Mike Grupenhoff <kashmir@munge.com>
11006 * common-src/amanda.h: use ssize_t in writev return value
11007 * common-src/bsd-security.c (bsd_stream_write,bsd_stream_read):
11008 use ssize_t over int
11009 * common-src/file.c (areads): use ssize_t to hold read() return val
11010 * common-src/fileheader.c (fill_buffer): usse ssize_t to hold read()
11012 * common-src/security.h: stream_read's callback now takes a ssize_t
11013 as the third argument.
11014 * common-src/writev.c (writev): return a ssize_t
11016 1999-03-05 Mike Grupenhoff <kashmir@munge.com>
11018 * configure.in: check for ssize_t, make it int if not present
11019 * config/acconfig.h: add def for ssize_t
11021 1999-03-05 Mike Grupenhoff <kashmir@munge.com>
11023 * common-src/base64.c (base64encode): don't cast away a const
11026 1999-03-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11028 * common-src/bsd-security.c (stream_read_callback): change n to int
11029 since ssize_t doesn't exist on all OS.
11031 1999-03-03 Ralf Fassel <ralf@akutech.de>
11033 * common-src/conffile.h: bit field of length 1 should be unsigned int,
11036 1999-03-03 Ralf Fassel <ralf@akutech.de>
11038 * common-src/bsd-security.c (stream_read_callback): n should be ssize_t.
11040 1999-03-03 Ralf Fassel <ralf@akutech.de>
11042 * changer-src/scsi-changer-driver.c (CloseDevice): wrong assignment.
11044 1999-03-03 Ralf Fassel <ralf@akutech.de>
11046 * common-src/base64.c (base64encode): remove warning from sgi cc
11049 1999-03-03 Mike Grupenhoff <kashmir@munge.com>
11051 * common-src/bsd-security.c: use EV_WAIT events instead of
11052 maintaining a queue of listeners. Refcnt the dgram read event
11055 1999-03-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11057 * server-src/driverio.h: new parameter level to update_info_taper().
11058 * server-src/driverio.c (update_info_taper): use parameter instead
11059 of sched(dp)->level.
11060 * server-src/driver.c: call update_info_taper with level parameter.
11061 * server-src/amflush.c: call update_info_taper with level parameter.
11062 no longer need to create a sched_t struct.
11064 1999-03-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11066 * server-src/driverio.h: remove declaration of inparallel, cmdstr()
11067 and childstr(), declare init_driverio(), add inparallel parameter
11068 to startup_dump_processes().
11069 * server-src/driverio.c (init_driverio): new function to initialize
11070 dmptable and taper.
11071 * server-src/driverio.c (childstr): scan for all dumpers (MAX_DUMPERS)
11072 instead of only inparallel
11073 * server-src/driverio.c (startup_dump_processes): new parameter
11074 inparallel is used instead of global variable.
11075 * server-src/driver.c (main): call init_driverio.
11076 * server-src/driver.c (main): call startup_dump_processes with
11077 inparallel parameter.
11078 * server-src/amflush.c (main): call init_driverio.
11080 1999-03-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11082 * server-src/amrmtape.sh.in: work with "last_level" and
11083 "consecutive_runs" in the ouput of "amadmin export".
11085 1999-03-01 Mike Grupenhoff <kashmir@munge.com>
11087 * common-src/security.h: implement security_connect callback and
11088 security_status_t changes
11090 1999-03-01 Mike Grupenhoff <kashmir@munge.com>
11092 * common-src/bsd-security.c (bsd_connect): properly munge the uids
11093 to get a reserved port
11094 * common-src/bsd-security.c: adapt to the security_connect
11096 * common-src/bsd-security.c (bsd_sendpkt): dgram_cat is varargs now,
11097 so skip the vstralloc
11099 1999-03-01 Mike Grupenhoff <kashmir@munge.com>
11101 * common-src/event.c: implement EV_WAIT events. Implement macros
11102 for adding/removing/traversing the event queue
11103 * common-src/event.h: define EV_WAIT, and prototype event_wakeup()
11105 1999-02-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11107 * docs/WISHLIST: protocol between the driver and dumpers.
11109 1999-02-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11111 * server-src/amtoc.pl.in: output the datestamp of each dump, because
11112 amflush can flush the same disk multiple date.
11114 1999-02-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11116 * server-src/holding.h: declare struct holding_t. Remove
11117 declaration of insert_dirname, scan_holdingdisk. Declare
11118 new function free_holding_list. pick_datestamp and
11119 pick_all_datestamp now return (holding_t *).
11120 * server-src/holding.c (insert_dirname): new parameter holding_list
11121 where we add the name. Can add more than MAX_DIRS name.
11122 * server-src/holding.c (free_holding_list): new function to free
11124 * server-src/holding.c (scan_holdingdisk): new parameter holding_list.
11125 * server-src/holding.c (pick_all_datestamp, pick_datestamp): return
11126 a list instead of a (char **).
11127 * server-src/find.c (search_holding_disk): use the list return by
11128 pick_all_datestamp.
11129 * server-src/amflush.c: use the list return by pick_datestamp.
11130 * server-src/amcleanupdisk.c (check_disks): use the list return by
11131 pick_all_datestamp.
11133 1999-02-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11135 * server-src/driverio.c (addfd): bug fixe.
11137 1999-02-22 Alexandre Oliva <oliva@dcc.unicamp.br>
11139 * client-src/sendbackup-gnutar.c: new regexp for SAMBA
11140 Reported by Grzegorz Mucha <grzegorz.mucha@solidex.com.pl>
11142 1999-02-17 Alexandre Oliva <oliva@dcc.unicamp.br>
11144 * server-src/amtoc.pl.in: minor fixes for multi-tape runs
11146 1999-02-17 Nicolas Mayencourt <Nicolas.Mayencourt@cui.unige.ch>
11148 * server-src/amtoc.pl.in: complete, backward-incompatible rewrite;
11149 command-line arguments changed
11150 * man/amtoc.8.in: ditto
11152 1999-02-17 Alexandre Oliva <oliva@dcc.unicamp.br>
11154 * changer-src/chg-multi.sh.in: minor portability changes
11155 * docs/TAPE.CHANGERS: originally by James da Silva
11157 1999-02-17 Jean-Francois Dockes <dockes@cdkit.remcomp.fr>
11159 * changer-src/chg-multi.sh.in: various portability changes and
11160 general fixes, particularly for multieject; new cycle mode
11161 * docs/TAPE.CHANGERS: detailed description of chg-multi
11162 * example/chg-multi.conf: updated; added reference to
11163 docs/TAPE.CHANGERS for details
11165 1999-02-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11167 * server-src/driverio.h: remove declaration of addfd.
11168 * server-src/driverio.c (addfd): 2 new arguments, readset and maxfd,
11169 don't use global variable.
11170 * server-src/driverio.c (startup_tape_process, startup_dump_process):
11171 call addfd with new argument.
11173 1999-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11175 * server-src/driverio.c (startup_tape_process): new taper_program
11177 * server-src/driverio.h: remove declaration of taper_program.
11178 * server-src/driver.c (main): declare taper_program.
11179 * server-src/driver.c: call startup_tape_process with the new
11180 taper_program argument.
11181 * server-src/amflush.c (run_dumps): declare taper_program.
11182 * server-src/amflush.c (run_dumps): call startup_tape_process with
11183 the new taper_program argument.
11185 1999-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11187 * server-src/driverio.c (startup_dump_process, startup_dump_processes):
11188 new dumper_program argument.
11189 * server-src/driverio.h: remove declaration of dumper_program.
11190 * server-src/driver.c: declare dumper_program.
11191 * server-src/driver.c: call startup_dump_process and
11192 startup_dump_processes with the new dumper_program argument.
11194 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11196 * server-src/list_dir.h: remove global variable dir_list, declare
11197 new function get_dir_list.
11198 * server-src/list_dir.c (get_dir_list): new function to return dir_list.
11199 * server-src/amindexd.c (opaque_ls): use get_dir_list.
11201 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11203 * server-src/holding.h: remove declaration of get_letter_from_user()
11205 * server-src/holding.c: remove function get_letter_from_user() and
11207 * server-src/holding.c (pick_datestamp): return empty array instead
11208 of calling exit if no directory are found.
11209 * server-src/amflush.c (get_letter_from_user): new function copied
11211 * server-src/amflush.c (confirm): write a message and exit if no
11212 directory were found.
11214 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11216 * server-src/amflush.c (flush_holdingdisk): don't update the database
11217 when flushing a partial dump.
11219 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11221 * server-src/holding.h (get_dumpfile): new function
11222 * server-src/holding.c (get_dumpfile): new function to fill a
11223 dumpfile_t struct from a holding file.
11225 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11227 * server-src/amlabel.c: compiler warning: too many arguments for format
11229 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11231 * server-src/amlabel.c: remove the label from the tapefile in
11232 case it was already there (-f).
11234 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11236 * server-src/dumper.c: make sure holding files are not larger
11239 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11241 * server-src/amcleanupdisk.c: new program to scan and find temporary
11242 file on holding disks.
11243 * server-src/Makefile.am (libexec_PROGRAMS): add amcleanupdisk.
11244 * server-src/amcleanup.sh.in: call amcleanupdisk.
11246 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11248 * server-src/holding.c (pick_all_datestamp): new function to return
11249 all datestamp in the holding disks.
11250 * server-src/holding.h: declare pick_all_datestamp.
11252 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11254 * server-src/diskfile.h (host_t): new start_t field.
11255 * server-src/diskfile.c (read_diskline): set start_t to 0.
11256 * server-src/driver.c (start_some_dumps): Don't start a dump if
11257 the host->start_t > now.
11258 * server-src/driver.c (start_some_dumps): set host->start_t to 15 sec
11259 in the future when starting a FILE_DUMP.
11260 * server-src/driver.c (dump_to_tape): set host->start_t to 15 sec in
11261 the future when starting a PORT_DUMP.
11263 1999-02-10 Alexandre Oliva <oliva@dcc.unicamp.br>
11265 * server-src/amlabel.c (main): try to read just-written tape label
11266 back; if wrendmark overwrote the label, suggest using a
11267 non-rewinding device
11268 * tape-src/tapeio.c (tape_wrendmark): would not close tape device if
11271 1999-02-10 Paul Bijnens <Paul.Bijnens@lant.be>
11273 * server-src/amoverview.pl.in: Y2K fix in output to user
11274 * server-src/amtoc.pl.in (print_info): ditto
11276 1999-02-10 Alexandre Oliva <oliva@dcc.unicamp.br>
11278 * client-src/sendsize.c (getsize_dump): do not redirect standard
11279 output of estimator to /dev/null if we HAVE_DUMP_ESTIMATE
11281 1999-02-03 Alexandre Oliva <oliva@dcc.unicamp.br>
11283 * NEWS: fix description of incronly: it won't really perform full
11286 * NEWS: support for ufsdump -S, incronly strategy and new chunksize
11289 * server-src/conffile.c (init_holdingdisk_defaults, chunksize):
11291 * example/amanda.conf.in: ditto
11292 * man/amanda.8.in: ditto
11294 * configure.in (amanda_cv_dump_estimate): check for support for -S
11295 too, and define HAVE_DUMP_ESTIMATE as the estimate switch, if any
11296 * client-src/sendsize.c (re_size): new regexps for Solaris ufsdump
11297 -S and Samba `du'. Restrict regexp that matched Digital Unix'
11298 dump -E so that it doesn't match smbclient's output any more.
11299 Move some regexps around, and only define them if the corresponding
11300 dump program is available
11302 1999-02-01 Alexandre Oliva <oliva@dcc.unicamp.br>
11304 * example/amanda.conf.in: document the behavior of relative
11306 * man/amanda.8.in: ditto
11308 * man/amanda.8.in (exclude list): the GNU tar flag is
11309 --exclude-from, not --exclude-list
11310 Reported by Tom Schutter <tom@platte.com>
11312 * client-src/sendbackup-gnutar.c (re_table): ignore `session request
11313 to' message printed by Samba 2.0.0
11315 1999-01-28 Alexandre Oliva <oliva@dcc.unicamp.br>
11317 * man/amanda.8.in (comprate): it is not used when there is history
11318 information; useful for large disks that compress little
11319 Reported by job bogan <job@piquin.uchicago.edu>
11321 * Makefile.am: select which SUBDIRS to descend to here
11322 * client-src/Makefile.am: removed if WANT_CLIENT
11323 * tape-src/Makefile.am: removed if WANT_TAPE
11324 * server-src/Makefile.am: removed if WANT_SERVER
11325 * changer-src/Makefile.am: ditto
11326 * restore-src/Makefile.am: removed if WANT_RESTORE
11327 * recover-src/Makefile.am: removed if WANT_RECOVER
11328 * amplot/Makefile.am: removed if WANT_AMPLOT
11330 1999-01-27 Alexandre Oliva <oliva@dcc.unicamp.br>
11332 * NEWS: chg-scsi ports, Samba 2.0.0 support and SECURITY API
11334 * configure.in (USE_AMANDAHOSTS): enable by default
11335 * example/config.site: ditto
11336 * docs/INSTALL: ditto
11339 * docs/INSTALL: updated URLs for GNU packages and Samba
11340 * docs/SAMBA: note that Samba 2.0.0 is supported
11342 * docs/SYSTEM.NOTES (HP/UX): what does `Link severed' mean?
11344 1999-01-27 Thomas Hepper <th@ant.han.de>
11345 * changer-src/scsi-changer-driver.c SCSI_ReadElementStatus
11346 A while loop has to start with while, not if .....
11348 1999-01-27 Alexandre Oliva <oliva@dcc.unicamp.br>
11350 * Makefile.am (EXTRA_DIST): sst was added within contrib
11352 * ltmain.sh, ltconfig, libtool.m4i: updated from libtool CVS
11353 * configure.in: AC_SUBST LIBTOOL_DEPS
11354 * Makefile.am: regen libtool if neded
11356 * Makefile.am: declare that we want automake 1.4 and we're a foreign
11359 * configure.in: require autoconf 2.13, and use
11360 AC_VALIDATE_CACHED_SYSTEM_TUPLE instead of
11361 AC_VALIDATE_CACHE_SYSTEM_TYPE
11362 * config/acinclude.m4i: removed AC_VALIDATE_CACHE_SYSTEM_TYPE
11364 * configure.in (SAMBA_CLIENT): updated check for smbclient to
11365 support Samba 2.0.0
11367 1999-01-26 Alexandre Oliva <oliva@dcc.unicamp.br>
11369 * server-src/amdump.sh.in (runuser): set to LOGNAME if defined, and
11370 to the output of whoami otherwise
11371 Reported by Tom Schutter <tom@platte.com>
11373 1999-01-26 Thomas Hepper <th@ant.han.de>
11374 * Makefile.am Added sst driver files to EXTRA_DIST
11376 1999-01-26 Thomas Hepper <th@ant.han.de>
11377 * changer-src/Makefile.am added to LDADD
11378 ../tape-src/libamtape.$(LIB_EXTENSION)
11379 * changer-src/chg-scsi.c If statfile is not set try to get the info
11380 about the current loaded tape direct from the changer.
11381 Fixed debug output for the eject value if > 1
11382 * changer-src/libscsi.h Prototype for GetCurrentSlot
11383 * changer-src/scsi-aix.c If the Device we open is not a changer or tape
11384 return NULL, so that the above function can abort. New eject per mtio ioctl.
11385 * changer-src/scsi-bsd.c see scsi-aix.c
11386 * changer-src/scsi-linux.c see scsi-aix.c
11387 * changer-src/scsi-hpux_new.c see scsi-aix.c
11388 * changer-src/scsi-irix.c see scsi-aix.c
11389 * changer-src/scsi-solaris.c see scsi-aix.c and added a retry loop for
11390 the execution of SCSI commands.
11391 * changer-src/scsi-changer-driver.c New Function SCSI_ReadElementStatus
11392 split ReadElementStatus in device and device independed part
11393 New EXB120ElementStatus, renamed ReadElementStatus in GenericElementStatus
11394 added EXB 120 and DLT7000 to the devices list.
11395 Removed the linked list for the element status. Now every element
11396 type has its own array allocated in the *ElementStatus functions.
11397 Check in the functions which sends SCSI commands if the fd is able to
11398 receive SCSI commands.
11399 In GenericEject check which type of eject to use (ioctl/SCSI)
11400 New GetCurrentSlot, try to get the info about the loaded tape direct from
11402 * changer-src/scsi-chio.c Add function GetCurrentSlot (not well tested yet)
11403 * changer-src/scsi-defs.h Added missing decl. in MediumTransportElementDescriptor_T
11404 for LITTLE_ENDIAN_BITFIELDS
11405 new field from in ElementInfo_T
11406 * changer-src/sci-hpux.c EMpty function GetCurrentSlot, do we still need scsi-hpux.c ?
11407 * docs/TAPE.CHANGERS added some notes for HP-UX, expanded list of tested devices
11409 1999-01-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11411 * server-src/conffile.c (init_defaults): default value of runspercycle
11413 * server-src/amadmin.c (balance): use default value of runspercycle.
11414 * server-src/planner.c (main): use default value of runspercycle.
11416 1999-01-22 Martin Apel <apel@tecmath.de>
11418 * example/amanda.conf.in: explanation of incronly strategy.
11419 * man/amanda.8.in: explanation of incronly strategy.
11420 * server-src/amadmin.c: recognize incronly strategy
11421 * server-src/conffile.c: read the incronly strategy in the
11422 configuration file.
11423 * server-src/conffile.h: definition of DS_INCRONLY
11424 * server-src/planner.c: Do planning for incronly strategy:
11425 If the force flag is set perform a full dump, otherwise do
11426 normal incremental processing but avoid full dumps.
11427 * server-src/tapefile.c: Bugfix so only tapes which match
11428 the regular expression for tape labels in the current
11429 configuration are considered for writing.
11431 1999-01-22 Alexandre Oliva <oliva@dcc.unicamp.br>
11433 * common-src/bsd-security.c (check_user): there was no uid variable
11434 here; replace with getuid()
11436 1999-01-22 Alexandre Oliva <oliva@dcc.unicamp.br>
11438 * server-src/planner.c (output_scheduleline): removed `or historical
11439 data' from `no estimate' message; historical data doesn't matter any
11441 Reported by Giorgos Vlachos <Giorgos.Vlachos@eurodyn.com>
11443 1999-01-20 Todd Pfaff <pfaff@mcmaster.ca>
11445 * client-src/sendbackup-gnutar.c: more Samba 2.0.0 messages
11447 * client-src/sendbackup-gnutar.c: new Samba 2.0.0 message
11449 1999-01-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11451 * server-src/amflush.c: use ap_snprintf instead of snprintf.
11452 * server-src/amflush.c: rotation of new amflush log was broken.
11454 1999-01-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11456 * server-src/reporter.c: always call output_stats(), the problem is
11457 that degraded_mode is set if amflush fills the tape.
11459 1999-01-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11461 * server-src/amflush.c: write debuging info to $logdir/amflush
11462 instead of /dev/null if we run in background.
11463 * server-src/amcleanup.sh.in: rename $logdir/amflush.
11465 1999-01-14 Mike Grupenhoff <kashmir@munge.com>
11467 * server-src/dumper.c (make_tapeheader): explicitly compare
11468 srvcompress against srvcomp_none instead of assuming that
11469 srvcomp_none's value is 0.
11471 1999-01-14 Mike Grupenhoff <kashmir@munge.com>
11473 * server-src/dumper.c: move max() macro to top of file. Add min()
11474 * server-src/dumper.c (databuf_write): use min() to determine the
11476 * server-src/dumper.c (databuf_flush): more clearly calculate the
11477 buffer offset in the write loop
11479 1999-01-14 Mike Grupenhoff <kashmir@munge.com>
11481 * server-src/dumper.c (databuf_write): Egads! Also increment the
11482 source pointer doing a partial buf copy
11484 1999-01-14 Mike Grupenhoff <kashmir@munge.com>
11486 * common-src/bsd-security.c (check_user): use getpwnam(CLIENT_LOGIN)
11487 instead of getpwuid(getuid()), in case our caller has not done
11490 1999-01-12 Mike Grupenhoff <kashmir@munge.com>
11492 * server-src/dumper.c (add_msg_data): properly check for half-sent
11495 1999-01-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11497 * server-src/amstatus.pl.in: fix a divide by zero error.
11499 1999-01-11 Mike Grupenhoff <kashmir@munge.com>
11501 * server-src/dumper.c (add_msg_data): clarify and comment. Remove
11502 'len' arg. Const 'str' arg.
11503 * server-src/dumper.c (do_dump): compresspid and indexpid should
11504 be pid_t's. Also, remove len from add_msg_data call.
11506 1999-01-11 Mike Grupenhoff <kashmir@munge.com>
11508 * server-src/fileheader.c (parse_file_header): const the buffer
11510 * server-src/fileheader.h: update parse_file_header proto for const
11513 1999-01-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11515 * server-src/amstatus.pl.in: report the current dump when reporting
11516 the busy time of each dumper.
11518 1998-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11520 * server-src/dumper.c: open temporary holding file with O_TRUNC flags
11521 and with mode 0600.
11523 1998-12-28 John R. Jackson <jrj@purdue.edu>
11525 * server-src/reporter.c: do not drop core generating labels if the
11526 tape label is not defined, e.g. in degraded mode (compliments of
11527 Jan L. Peterson <jlp@Part.NET>).
11529 1998-12-28 John R. Jackson <jrj@purdue.edu>
11531 * server-src/amtape.c: initialize two strings to NULL to avoid a
11532 core dump, compliments of G. Allen Morris III <gam3@acm.org>.
11534 1998-12-27 John R. Jackson <jrj@purdue.edu>
11536 * man/amreport.8.in: remove reference to 8.5x11 paper size for the
11539 1998-12-27 John R. Jackson <jrj@purdue.edu>
11541 * example/3hole.ps: new lbl-templ file for 3 hole punch reports
11542 * example/Makefile.am: add 3hole.ps
11544 1998-12-22 Thomas Hepper <th@icem.de>
11546 * docs/TAPE.CHANGERS Update notes about chg-scsi
11547 * changer-src/chg-scsi.c Added new config option tapestatus,
11548 if set the tape log pages are written to this file.
11549 changed parameter list for get_clean_state/ask_clean,
11550 * changer-src/libscsi.h changed parameter list for get_clean_state
11551 * changer-src/scsi-changer-driver.c Added new functions OpenDevice
11552 CloseDevice LookupDevice.
11553 Added new functions to read and decode the Tape LOG Pages.
11554 Tape Eject and ready check is now done by SCSI calls
11556 * changer-src/scsi-aix.c
11557 * changer-src/scsi-bsd.c
11558 * changer-src/scsi-hpux_new.c
11559 * changer-src/scsi-hpux.c
11560 * changer-src/scsi-irix.c
11561 * changer-src/scsi-solaris.c
11562 Changed all SCSI_OpenDevice/SCSI_CloseDevice functions so that they
11563 fit to the new OpenDevice/CloseDevice calls. Removed mtio.h from
11564 includes, remove Tape_Ready and Tape_Eject
11565 * changer-src/scsi-chio.c
11566 * changer-src/scsi-defs.h
11568 For all changer-src files, removed tabs, run indent (from xemacs)
11569 Added emacs variables to the end (no tab, gnu style)
11571 1998-12-21 John R. Jackson <jrj@purdue.edu>
11573 * man/amanda.8.in: document the lbl-templ tapetype option.
11575 1998-12-21 John R. Jackson <jrj@purdue.edu>
11577 * man/amreport.8.in: fix formatting problem.
11579 1998-12-20 John R. Jackson <jrj@purdue.edu>
11581 * configure.in: define NEED_RESETOFS unless LFS (large file system
11582 support) is available.
11583 * config/acconfig.h: add NEED_RESETOFS tag.
11584 * server-src/taper.c: only reset the tape offset if NEED_RESETOFS
11585 is defined and only once per 2 GBytes.
11587 1998-12-20 Alexandre Oliva <oliva@dcc.unicamp.br>
11589 * server-src/amlabel.c (main): datestamp for new tapes is now 0
11590 * server-src/tapefile.c (reusable_tape): recognize datestamp 0 as
11592 * man/amlabel.8.in: document that tapes are added to tapelist
11594 1998-12-19 Mike Grupenhoff <kashmir@munge.com>
11596 * server-src/dumper.c (runcompress): new function. Given an output
11597 file descriptor, inserts a gzip/compress in front of that descriptor.
11598 * server-src/dumper.c (do_dump): if srvcompress is true, insert
11599 the gzip (using runcompress) in front of the output fd instead
11600 of the input fd. Only do this after the tapeheader has been written.
11602 1998-12-19 Mike Grupenhoff <kashmir@munge.com>
11604 * server-src/dumper.c (startup_chunker): new function. When doing
11605 chunking, fork a piped subprocess that reads in a fileheader and
11606 a data stream, and writes out the headered, chunked files. This
11607 allows us to treat unchunked, chunked, and port-dump dumps exactly
11609 * server-src/dumper.c (main): file-dump: if chunksize > 0,
11610 call startup_chunker for our outfd. Otherwise, open the
11611 holding file directly.
11613 1998-12-19 Mike Grupenhoff <kashmir@munge.com>
11615 * server-src/dumper.c (struct databuf): add a chunk_size member,
11616 the size of each chunk. Remove chunksize global.
11617 * server-src/dumper.c (main): add a chunksize local var
11618 * server-src/dumper.c (databuf_init): init the chunk_size member
11619 with the same value as split_size
11620 * server-src/dumper.c (databuf_flush): increment db->split_size
11621 by the amount in db->chunk_size instead of the global chunksize
11623 1998-12-19 John R. Jackson <jrj@purdue.edu>
11625 * server-src/amstatus.pl.in: instead of just displaying why no
11626 dumpers were busy, display reason(s) why N+1 were not busy.
11628 1998-12-18 John R. Jackson <jrj@purdue.edu>
11630 * server-src/amstatus.pl.in: add statistics about how much time
11631 taper and each dumper is busy, how much time N dumpers are busy
11632 and why no dumpers were busy.
11634 1998-12-18 Mike Grupenhoff <kashmir@munge.com>
11636 * server-src/dumper.c (struct databuf): add 'filename', 'filename_seq',
11637 and 'split_size' members to replace the equivalent globals. Nuke
11639 * server-src/dumper.c (databuf_init): add 'filename' and 'split_size'
11640 args to init those members. Init filename_seq to 0.
11641 * server-src/dumper.c (main): declare and init the databuf here
11642 * server-src/dumper.c (databuf_flush): refer to split_size, filename,
11643 and filename_seq in the databuf instead of the globals.
11644 * server-src/dumper.c (do_dump): now takes a databuf instead of an
11645 output file descriptor.
11647 1998-12-18 John R. Jackson <jrj@purdue.edu>
11649 * server-src/amstatus.pl.in: fix two perl warnings.
11651 1998-12-18 John R. Jackson <jrj@purdue.edu>
11653 * server-src/amstatus.pl.in: fix two minor typos. Add percentage
11654 display to the summary comparing real and estimated size and real
11655 versus total estimate (showing how well the estimates are doing and
11656 a rough guess at how far along the run is). Also the percentage of
11657 total holding disk space in use.
11659 1998-12-18 John R. Jackson <jrj@purdue.edu>
11661 * server-src/amstatus.pl.in: take the --file argument as is if it
11662 is an absolute path.
11664 1998-12-18 John R. Jackson <jrj@purdue.edu>
11666 * server-src/driver.c: call short_dump_state() one last time before
11667 quitting so amstatus gets a last good status. Tell taper to quit
11668 after the dumpers since it writes more information to the amdump
11669 file (helps prevent mixed messages).
11671 1998-12-17 Mike Grupenhoff <kashmir@munge.com>
11673 * server-src/dumper.c (databuf_flush): return 0 on success
11675 1998-12-17 Mike Grupenhoff <kashmir@munge.com>
11677 * server-src/dumper.c (databuf_flush): new function. Writes
11678 the contents of the databuf out to its backing file, doing splitting
11680 * server-src/dumper.c (databuf_write): call databuf_flush when the
11681 databuf fills up. Fully complete all writes (no short writes)
11682 * server-src/dumper.c (do_dump): databuf_write now guarantees complete
11683 writes, so remove retry loop. Call databuf_flush() when eof is hit.
11684 Do not close datafd on eof, because our caller (main) passed it to
11685 us and therefore owns it (and main does close it again).
11687 1998-12-17 Mike Grupenhoff <kashmir@munge.com>
11689 * server-src/dumper.c (databuf_init): new function, initializes
11691 * server-src/dumper.c (update_dataptr): rename to databuf_write,
11692 and have it take a buffer and a size, and return how many bytes
11693 of the buffer were written
11694 * server-src/dumper.c (do_dump): use databuf_init to initialize db.
11695 Use databuf_write to add incomign data to the databuf.
11696 Make size1 and size2 local to the blocks they are used in.
11698 1998-12-17 Alexandre Oliva <oliva@dcc.unicamp.br>
11700 * common-src/Makefile.am (noinst_DATA): removed; bogus
11701 * config/config.guess, config/config.sub: config/install-sh,
11702 config/mkinstalldirs: updated to current pre-2.13 autoconf CVS tree
11703 * patches/autoreconf.patch: removed
11704 * config/libtool/libtool.m4: renamed to config/libtool.m4i
11705 * config/acinclude.m4: renamed to config/acinclude.m4i
11706 * config/Makefile.am (EXTRA_DIST): updated to reflect changes
11707 * autogen: build config/acinclude.m4 by concatenating acinclude.m4i
11709 * configure.in: no longer test whether libtool is installed; require
11711 * config/ltconfig, config/ltmain.sh, config/libtool.m4i: updated to
11713 * amplot/Makefile.am (EXTRA_DIST): no longer needed
11714 * changer-src/Makefile.am (chg_scsi_SOURCE): move scsi-defs.h closer
11715 to the beginning of the list
11716 * docs/INSTALL: fixed URL to gnuplot; recommend autoconf and
11719 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
11721 * common-src/genversion.c (main): rip out krb4 defines. If we
11722 need this info, each driver will have to do it individually.
11724 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
11726 * server-src/conffile.c: remove KRB4_AUTH, BSD_AUTH tokens, auth
11727 element from dumptype_t, and get_auth() lookup func. Add
11728 security_driver to dumptype_t and parse value of AUTH keyword
11730 * server-src/conffile.h: nuke auth_t. Remove auth_t auth, int s_auth
11731 from typetype_t; add char *security_driver, int s_security_driver.
11732 * server-src/diskfile.c: nuke auth_t auth from disk_t, add
11733 char *security_driver. Inherit security_driver from the dumptype_t
11735 * server-src/diskfile.h: ditto
11736 * server-src/amadmin.c (disklist_one): output the security-driver
11737 string in place of the auth type
11738 * server-src/amcheck.c (start_client_checks, handle_response):
11739 enum type hostp->disks->auth is gone. check the string in the
11740 security_driver for this disk for krb4 auth.
11741 * server-src/planner.c (getsize, handle_result): check the string
11742 in hostp->disks->security_driver for the auth type.
11744 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
11746 * server-src/amindexd.c: no need to include protocol.h
11748 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
11750 * server-src/amindexd.c: remove duplication inclusion of version.h.
11751 Include tapefile.h to get read_tapelist() prototype
11752 * server-src/amindexd.c (build_disk_table): remove a plethora of
11754 * server-src/amindexd.c (main): rename security_ok() call to
11755 check_security(), and define check_security() locally. security_ok
11756 will disappear when the new security api goes in
11758 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
11760 * server-src/changer.c (changer_label): make it return void
11761 to keep gcc warning about control reaching the end of a nonvoid
11763 * server-src/changer.c: update changer_label's proto for previous
11765 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
11767 * common-src/amanda.h: define SET, CLR, ISSET macros for dealing
11769 * server-src/amadmin.c: use the bitmask macros for setting
11770 and clearing the bits in the infofile command word
11771 * server-src/planner.c: ditto. This fixes a bug in the code that
11772 tried to clear FORCE_FULL with an xor expression that was
11773 never assigned (x ^ FORCE_FULL)
11775 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
11777 * common-src/bsd-security.c (bsd_sendpkt): cast uid's to long and
11778 use %ld to print them.
11780 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
11782 * common-src/dgram.h: mark dgram_cat with gcc's printf attribute
11783 * common-src/packet.h: ditto for pkt_cat
11784 * common-src/security.h: likewise for security_seterror
11786 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
11788 * common-src/error.c (error): const the format arg
11789 * common-src/amanda.h: mark error with gcc's noreturn attribute, and
11790 const its format arg
11792 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
11794 * common-src/debug.c (debug_printf): const the format arg
11795 * common-src/amanda.h: const debug_printf's format arg
11797 1998-12-14 Alexandre Oliva <oliva@dcc.unicamp.br>
11799 * configure.in (BSD SCSI): test ... -a ... is not portable, and less
11800 so when written test ... -a test ... :-)
11802 1998-12-14 Thomas Hepper <th@icem.de>
11804 * changer-src/Makefile.am Added scsi-bsd.c
11805 * changer-src/chg-scsi.c Initialize *scsitapedevice
11806 * changer-src/scsi-changer-driver.c remove LITTLE_ENDIAN_BITFILEDS
11808 changed RequestSense to pRequestSense (there is a function
11809 called RequestSense)
11810 changed error handling in ResetStatus (fix for IRIX)
11811 FIxed length handling for the pages in ReadElemtStatus
11812 * changer-src/scsi-chio.c get_clean_state only returns 0, the
11813 ioctl to get the clean flag is not portable ;-(
11814 changed all (f)printf to dbprintf
11816 * changer-src/scsi-defs.h ElementStatusData_T is for BIG and
11817 LITTLE endian the same ...
11819 * changer-src/scsi-bsd.c New file for FreeBSD
11821 * changer-src/scsi-irix.c Clean up in the return handling
11822 changed RequestSense to pRequestSense
11823 Removed unused function TapeStatus
11825 * changer-src/scsi-linux.c changed RequestSense to pRequestSense
11826 Removed unused function TapeStatus
11828 * changer-src/scsi-solaris.c changed RequestSense to pRequestSense
11829 Removed unused function TapeStatus
11831 * config/acconfig.h added def for BSD_LIKE_SCSI
11833 * configure.in Added check for ENDIAN type AC_C_BIGENDIAN
11834 added sys/scsiio.h and check for BSD SCSI interface
11836 1998-12-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11838 * server-src/driver.c (handle_dumper_result): rename .tmp files
11839 when receiving ABORT_FINISHED.
11841 1998-12-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11843 * server-src/driver.c (start_some_dumps): Use the holdp returned
11844 by find_diskspace for a big_dumper in degraded mode.
11846 1998-12-11 Alexandre Oliva <oliva@dcc.unicamp.br>
11848 * docs/SYSTEM.NOTES (Ultrix): recommend gcc or egcs
11849 (IRIX): patch for xfsdump estimates
11851 1998-12-10 John R. Jackson <jrj@purdue.edu>
11853 * common-src/amflock.c (main): remove call set_pname() for
11854 CONFIGURE_TEST since error.o is not linked in.
11856 1998-12-10 Mike Grupenhoff <kashmir@munge.com>
11858 * server-src/dumper.c (struct databuf): add a fd member - the file
11859 descriptor that we are buffering
11860 * server-src/dumper.c (update_dataptr): remove
11861 outf arguments, use the fd in the passed databuf. Return 0 on
11862 success, and -1 on error.
11863 * server-src/dumper.c (update_dataptr): rework and comment the
11864 chunk code a bit. Get rid of the cont_filename global.
11865 * server-src/dumper.c (do_dump): init the fd member of the databuf
11866 * server-src/dumper.c (write_dataptr): fold back into update_dataptr
11868 1998-12-10 John R. Jackson <jrj@purdue.edu>
11870 * common-src/amflock.c (main): report CONFIGURE_TEST error messages to
11873 1998-12-10 John R. Jackson <jrj@purdue.edu>
11875 * common-src/amflock.c (main): call set_pname() for CONFIGURE_TEST.
11876 * configure.in: do not set up pname global for lnlock CONFIGURE_TEST.
11878 1998-12-10 Mike Grupenhoff <kashmir@munge.com>
11880 * server-src/dumper.c (update_dataptr): remove pointless backups
11881 of the databuf and associated vars when creating next chunk.
11882 Remove duplicate setting of file.cont_filename.
11884 1998-12-10 Mike Grupenhoff <kashmir@munge.com>
11886 * server-src/dumper.c (main): reuse outfd to clear the open files
11887 passed to us. Nuke the fd var.
11888 * server-src/dumper.c (update_dataptr): nuke 'split' argument - it
11889 was always set to 1
11891 1998-12-09 Mike Grupenhoff <kashmir@munge.com>
11893 * server-src/dumper.c (write_tapeheader): kill dead code
11894 * server-src/dumper.c (main): remove useless amfree of datestamp.
11895 Add missing break to 'default' case in command loop.
11896 * server-src/dumper.c: kill databuf, spaceleft, and dataptr globals.
11897 Create a 'struct databuf' that holds all three.
11898 * server-src/dumper.c (write_dataptr, update_dataptr): make
11899 these take a 'struct databuf *' as an argument, and have them
11900 operate on its contents instead of the aforementioned globals
11901 * server-src/dumper.c (do_dump): declare a 'struct databuf' here.
11902 Make it static, because it's large. Use it instead of the
11905 1998-12-09 Mike Grupenhoff <kashmir@munge.com>
11907 * server-src/dumper.c (main): rework the command loop a bit.
11908 Consolidate all duplicated error cleanup into one place at the
11909 end of the loop after each command has been processed. Exit
11910 with exit(), not return.
11912 1998-12-09 Mike Grupenhoff <kashmir@munge.com>
11914 * server-src/dumper.c (main, getcmd, write_dataptr): kill argc and
11915 argv globals, pass them as arguments to getcmd() via struct cmdargs.
11916 * server-src/dumper.c (getcmd): make the command lookup table driven.
11917 * server-src/dumper.c (write_dataptr): restructure the command
11918 logic a bit to hopefully clarify things.
11920 1998-12-09 Henning P. Schmiedehausen <henning@tanstaafl.de>
11922 * client-src/sendbackup.c (parse_options): Added check whether the
11923 pathname of the exclude file is relative and if yes, use the
11924 mountpoint of the filesystem as anchor. So you can put your exclude
11925 file in the root of the filesystem to backup.
11926 * client-src/sendsize.c (getsize_gnutar): added the same check as
11927 above so sendsize uses the same exclude file.
11929 1998-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11931 * server-src/holding.c (size_holding_files): return size in KB.
11932 * server-src/driver.c (adjust_diskspace): use KB returned by
11933 size_holding_files.
11934 * server-src/driver.c: rename .tmp file
11935 * server-src/dumper.c: do not rename .tmp file. let the driver do it.
11937 1998-12-09 John R. Jackson <jrj@purdue.edu>
11939 * common-src/stream.c (stream_server): do not request a reserved port
11940 if we are root but PORTRANGE is defined. Also, clean up the code
11941 and make sure *portp is -1 on all error returns.
11943 1998-12-08 John R. Jackson <jrj@purdue.edu>
11945 * Makefile.am: add the user-contributed area.
11946 * contrib/README: describe the user-contributed area.
11947 * contrib/dbbackup.README: README for Oracle database backup system.
11948 * contrib/dbbackup.ksh: Oracle database backup system wrapper.
11949 * contrib/dbbackup.sql: Oracle database backup system setup commands.
11950 * contrib/dbbackup.tcl: Oracle database backup system main body.
11952 1998-12-08 John R. Jackson <jrj@purdue.edu>
11954 * amplot/Makefile.am: fix install rule when DESTDIR is non-null,
11955 compliments of Henning P. Schmiedehausen <hps@tanstaafl.de>.
11957 1998-12-08 John R. Jackson <jrj@purdue.edu>
11959 * configure.in: fix reversed code for --with-amrecover, compliments
11960 of Yar Tikhiy <yar@radio-msu.net>.
11962 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11964 * common-src/fileheader.h (dumpfile_t): new is_partial field.
11965 * common-src/fileheader.c: add codee for new is_partial field.
11966 * server-src/holding.h (rename_tmp_holding): declare new function.
11967 * server-src/holding.c (rename_tmp_holding): new function.
11968 * server-src/dumper.c (do_dump): return 1 if succeded, otherwise 0.
11969 * server-src/dumper.c (main): open .tmp when dumping to disk,
11970 rename .tmp if do_dump return 1.
11971 * server-src/dumper.c (update_dataptr): open .tmp for new chunk.
11972 * server-src/amstatus.pl.in (dump_size): return size of .tmp file.
11974 1998-12-07 Mike Grupenhoff <kashmir@munge.com>
11976 * server-src/amtape.c (main, usage): make command lookup and usage
11979 1998-12-07 Mike Grupenhoff <kashmir@munge.com>
11981 * server-src/amadmin.c: make command lookup and usage table-driven
11982 * server-src/amadmin.c (balance, tape, bumpsize): add
11983 argc/argv arguments to make them like the rest
11984 * server-src/amadmin.c (show_version): new function, implements
11985 the version command, so it is done like the other commands
11986 * server-src/amadmin.c (main): iterate through cmdtab[] when
11987 looking up the command, instead of a huge if/then/else
11988 * server-src/amadmin.c (usage): iterate through cmdtab[] when
11989 displaying usage strings. Display the "disklist" usage string.
11991 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11993 * config/acconfig.h: add "#undef HAVE_WRITEV_DECL".
11995 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11997 * NEWS: document new force-bump, force-no-bump and unforce-bump
11998 command in amadmin.
12000 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12002 * server-src/holding.c (size_holding_files): new function to
12003 return the sum of the size of all chunk of an image.
12004 * server-src/holding.h (size_holding_files): declare.
12005 * server-src/driver.c (adjust_diskspace): use size_holding_files
12006 instead of doing a stat of only the first chunk.
12008 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12010 * server-src/amadmin.c: new force-bump, force-no-bump and unforce-bump
12012 * man/amadmin.8.in: document them.
12014 1998-12-05 Alexandre Oliva <oliva@dcc.unicamp.br>
12016 * docs/FAQ (large filesystems): fixed reference to results missing
12017 (results missing): updated to 64Kb UDP packets
12019 1998-12-04 Mike Grupenhoff <kashmir@munge.com>
12021 * common-src/amanda.h: implement WIFSIGNALED() if not already
12023 * server-src/amcheck.c: ream out compat definitions of WEXITSTATUS(),
12024 WTERMSIG(), and WIFSIGNALED(). These are already handled in amanda.h
12025 * server-src/changer.c: ditto
12027 1998-12-03 Mike Grupenhoff <kashmir@munge.com>
12029 * common-src/bsd-security.c (recv_security_ok): only check for
12030 a reserved port for REQ packets
12032 1998-12-03 Mike Grupenhoff <kashmir@munge.com>
12034 * common-src/bsd-security.c (recvpkt_callback): only compare
12035 the sin_addr and sin_port fields in the sockaddr when determining
12036 what handle an incoming packet belongs to.
12037 * common-src/bsd-security.c (pkthdr2str): use %s for the handle,
12038 since it's a string.
12040 1998-12-03 Mike Grupenhoff <kashmir@munge.com>
12042 * common-src/bsd-security.c (bsd_sendpkt): newline-terminate
12043 the 'SECURITY USER' line in the packet
12044 * common-src/bsd-security.c (check_user): fix many bugs
12045 in the USE_AMANDAHOSTS case
12047 1998-12-03 Mike Grupenhoff <kashmir@munge.com>
12049 * configure.in: AC_REPLACE_FUNCS(writev)
12051 1998-12-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12053 * server-src/infofile.h: rename PLANNER_FORCE to FORCE_FULL
12054 * server-src/planner.c: rename PLANNER_FORCE to FORCE_FULL
12055 * server-src/amadmin.c: rename PLANNER_FORCE to FORCE_FULL
12057 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
12059 * config/acconfig.h: add KRB5_SECURITY. Update comment above
12060 krb4 define to make clear that they are for krb4
12062 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
12064 * configure.in: if we're doing krb4 and -lcom_err is there, pull
12066 * configure.in: implement --with-krb5-security.
12068 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
12070 * common-src/dgram.c (dgram_cat): now can take printf-style
12072 * common-src/dgram.g (dgram_cat): update prototype
12074 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
12076 * common-src/bsd-security.c: wrap entire file in #ifdef BSD_SECURITY
12077 * common-src/bsd-security.c (bsd_connect): catch up with
12078 security interface changes - upper layer now allocates our handle
12079 Also, pass up useful error message about why connects failed
12080 via the handle we are given
12081 * common-src/bsd-security.c (gethandle): rename to inithandle,
12082 since we are now passed the handle's memory. No need to allocate
12083 memory or initialize the error msg pointer
12084 * common-src/bsd-security.c (bsd_close): now an empty function - no
12086 * common-src/bsd-security.c (recvpkt_callback): allocate the handle
12087 before calling inithandle() (nee gethandle()).
12088 * common-src/bsd-security.c (stream_read_callback): put
12089 strerror(errno) in the handle's error buffer before passing a
12090 read error up to the caller
12092 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
12094 * common-src/krb5-security.c: new stub file that pulls in the
12095 krb5 bits from the amanda-krb-2 tree if KRB5_SECURITY is
12098 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
12100 * common-src/base64.{c,h}: new files, implement base64 encoding
12101 and decoding. Implementation based on routines in bind, and so
12102 copyright is held by ISC and IBM (but is BSD-like).
12104 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
12106 * common-src/security.h: add 'handlesize' to the driver struct, also
12107 make the connect function pointer return int and take a handle
12109 * common-src/security.h (security_connect): addd a 'const char **'
12110 errmsg argument for returning connect errors
12112 1998-12-01 John R. Jackson <jrj@purdue.edu>
12114 * server-src/amcheck.c: make -t mean do the tape checks, add new -l
12115 option for doing just the local server (non-tape) checks. Have -w
12116 turn on -t. Have -cs (or -sc) do both server and client checks.
12117 * man/amcheck.8.in: document above changes and clean up some minor
12120 1998-12-01 Mike Grupenhoff <kashmir@munge.com>
12122 * common-src/event.c (release): nuke bogus comment about signal
12124 * common-src/event.c (event_loop): move the reentrancy assert
12125 after the empty queue check. Otherwise, calling event_loop()
12126 with an empty event queue would cause the entry count to get
12127 out of sync. Also, on exit, assert that the entry count has
12129 * common-src/event.c (event_loop): fix bogus comment about event
12132 1998-12-01 Mike Grupenhoff <kashmir@munge.com>
12134 * common-src/arglist.h: implement arglist_function3()
12136 1998-11-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12138 * server-src/driver.c (start_some_dumps): In degraded mode,
12139 a big dumper should do high priority dump before low priority.
12140 * server-src/driver.c (sort_by_priority_reversed): sort by
12141 time if priority is equal.
12143 1998-11-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12145 * server-src/infofile.h: declare FORCE_BUMP and FORCE_NO_BUMP
12147 * server-src/amadmin.c (force_one,unforce_one,info_one): work
12148 with info.command with bit operator.
12149 * server-src/planner.c (setup_estimate): work with info.command
12150 with bit operator, support for FORCE_BUMP and FORCE_NO_BUMP command.
12152 1998-11-27 Thomas Hepper <th@icem.de>
12154 * changer-src/scsi-aix.c Some changes in the error handling in
12155 scsi command execution
12156 * changer-src/scsi-changer-driver.c More debug prints.
12157 removed Endian16/Endian24 (replaced with macros)
12158 * changer-src/scsi-chio.c make get_clean_state work on linux
12159 * changer-src/scsi-defs.h added macros for converting from/to
12161 * docs/TAPE.CHANGERS add note about AIX and chg-scsi
12163 1998-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12165 * server-src/amadmin.c(export_one): export the last_level and
12166 consecutive_runs field.
12167 * server-src/amadmin.c(import_one): import the last_level and
12168 consecutive_runs field.
12170 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
12172 * common-src/amanda.h: uhh, every other decl has a leading
12173 'extern' so writev() should as well
12175 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
12177 * common-src/amanda.h: if no writev() decl exists, declare one
12179 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
12181 * configure.in: check for <sys/uio.h>, check for a writev() decl
12182 in <unistd.h> and/or <sys/uio.h>
12184 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
12186 * common-src/writev.c (writev): new file, implements writev for
12187 systems that lack it
12189 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
12191 * common-src/amanda.h: include <sys/uio.h> if it exists. Otherwise,
12192 define struct iovec
12194 1998-11-24 John R. Jackson <jrj@purdue.edu>
12196 * server-src/amlabel.c: insist on being run as the dump user (ala
12197 amlabel) to keep permissions straight.
12199 1998-11-24 John R. Jackson <jrj@purdue.edu>
12201 * server-src/amadmin.c: fix minor message format problem.
12203 1998-11-24 John R. Jackson <jrj@purdue.edu>
12205 * server-src/amlabel.c: insist on being run as the dump user (ala
12206 amflush) to keep permissions straight.
12208 1998-11-24 John R. Jackson <jrj@purdue.edu>
12210 * server-src/amrmtape.sh.in: insist on being run as the dump user (ala
12211 amdump) to keep permissions straight.
12213 1998-11-24 John R. Jackson <jrj@purdue.edu>
12215 * server-src/amadmin.c: issue a warning for update commands that might
12216 leave ownership incorrect.
12218 1998-11-24 John R. Jackson <jrj@purdue.edu>
12220 * server-src/amcheck.c: add a "-t" option to disable tape tests in the
12221 server checks. This lets server checks be done without mounting a
12222 tape. Add lots more sanity checks, in particular, ownership and
12223 permissions of the index area and text format database. Warn if
12224 amcheck is not run as the dump user listed in amanda.conf. Minor
12225 consistency cleanup in the messages.
12226 * man/amcheck.8.in: document the changes.
12228 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
12230 * common-src/dgram.c (dgram_bind): always try to get a reserved
12231 port, even if KRB4_SECURITY is defined
12233 1998-11-23 Mike Grupenhoff <kashmir@munge.com>
12235 * common-src/bsd-security.c (struct bsd_handle): change 'int handle'
12236 to 'char proto_handle[32]' because the remote client might generate
12237 handles that aren't completely numerical
12238 * common-src/bsd-security.c (gethandle, str2pkthdr): the 'handle' arg
12240 * common-src/bsd-security.c (bsd_connect): convert our generated
12241 handle into a string to pass to gethandle()
12242 * common-src/bsd-security.c (str2pkthdr): rewrite to parse with
12243 strtok(). Parse the handle as a string instead of trying to
12244 convert it into a number
12246 1998-11-20 Alexandre Oliva <oliva@dcc.unicamp.br>
12248 * server-src/amcleanup.sh.in (logdir/amdump): arrange that it is
12249 renamed if it exists, even if no log file could be found.
12251 1998-11-20 Mike Grupenhoff <kashmir@munge.com>
12253 * common-src/bsd-security.c: define STREAM_BUFSIZE to be
12254 the size of the tcp socket buffers
12255 * common-src/bsd-security.c (bsd_stream_server, bsd_stream_client):
12256 adapt to the stream_server() interface changes. Set socket
12257 buffers to STREAM_BUFSIZE.
12259 1998-11-20 Alexandre Oliva <oliva@dcc.unicamp.br>
12261 * config/ltmain.sh, config/ltconfig, config/libtool/libtool.m4:
12262 updated to current CVS libtool
12264 1998-11-19 John R. Jackson <jrj@purdue.edu>
12266 * server-src/conffile.c (get_holdingdisk, init_holdingdisk_defaults):
12267 set the default chunksize and the "0" and "-1" special chunksizes
12268 to 64 KBytes less than the maximum to allow the final read at EOF.
12269 * server-src/dumper.c (main): leave the chunksize as it is when it
12270 comes in except to truncate it to a 32 KByte boundary.
12271 * man/amanda.8.in: add some chunksize comments and clean up a few
12272 minor odds and ends.
12274 1998-11-19 Mike Grupenhoff <kashmir@munge.com>
12276 Give amrecover its own security bits. It has different needs
12277 and a different protocol than the rest of amanda, so it shouldn't
12278 try to reuse the security bits
12279 * recover-src/amrecover.c (get_security): new function, implements
12281 * recover-src/amrecover.c (main): call get_security()
12282 * recover-src/amrecover.h: get_security() prototype
12283 * recover-src/extract_list.c (extract_files_setup): call
12285 * restore-src/amidxtaped.c (check_security): new function, implements
12286 * restore-src/amidxtaped.c (main): call check_security()
12288 1998-11-19 Mike Grupenhoff <kashmir@munge.com>
12290 * common-src/stream.c (stream_server, stream_client): cast 4th
12291 arg of setsockopt() to (void *) to quash a compiler warning
12294 1998-11-19 John R. Jackson <jrj@purdue.edu>
12296 * recover-src/amrecover.c (main): use set_host to find the initial
12297 host name so we get the same alias resolution at startup as the
12299 * recover-src/set_commands.c (set_host): report alternate names being
12300 attempted and only clear the directory list if a host is found.
12302 1998-11-19 Alexandre Oliva <oliva@dcc.unicamp.br>
12304 * server-src/driverio.c (update_info_dumper): do not update
12305 compression or dump rates when called from
12306 update_failed_dump_to_date
12307 Reported by Michael Schmitz <mschmitz@sema.de>
12309 1998-11-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12311 * server-src/dumper.c (main): reduce the size of the chunksize by
12314 1998-11-18 Alexandre Oliva <oliva@dcc.unicamp.br>
12316 * configure.in: hack for paxutils was not working; fixed
12318 1998-11-18 Michael Povel <mcp@ladyada.han.de>
12320 * server-src/changer.h added new functions:changer_query
12321 ,changer_search,changer_find, changer_label
12322 * server-src/changer.c added changer_query, changer_search,
12323 changer_find, changer_label
12324 * server-src/amcheck.c (taper_scan) now uses changer_find
12325 * server-src/amtape.c (load_label and taper_scan) now use changer_find
12326 * server-src/taper.c (taper_scan) now uses changer_find
12327 * server-src/amlabel.c (main) added call to changer_label
12328 which is only an empty dummy at the moment
12330 1998-11-18 Thomas Hepper <th@icem.de>
12332 * changer-src/chg-scsi.c Added debug print option
12333 * changer-src/chg-scsi.c If the load fails do not continue
12334 * changer-src/scsi-aix.c changed #include <config.h> to <amanda.h>
12335 * changer-src/scsi-aix.c Added debug prints to SCSI_ExecuteCommand
12336 * changer-src/scsi-changer-driver.c changed #include <config.h> to
12337 #include <amanda.h>
12338 * changer-src/scsi-changer-driver.c Added debugging prints
12339 * changer-src/scsi-changer-driver.c Remove unused funktion TestUnitReady
12340 * changer-src/scsi-chio.c added missing funktion Tape_Ready
12341 * changer-src/scsi-hpux.c removed #include "config.h", is already done
12343 * changer-src/scsi-hpux_new.c changed #include <config.h> to
12344 #include <amanda.h>
12345 * changer-src/scsi-irix.c changed #include <config.h> to
12346 #include <amanda.h>
12347 * changer-src/scsi-linux.c changed #include <config.h> to
12348 #include <amanda.h>
12349 * changer-src/scsi-solaris.c changed #include <config.h> to
12350 #include <amanda.h>
12352 1998-11-17 Alexandre Oliva <oliva@dcc.unicamp.br>
12354 * client-src/sendsize.c: disable HAVE_DUMP_ESTIMATE if SAMBA_CLIENT
12357 1998-11-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12359 * server-src/tapefile.c (lookup_last_reusable_tape): Wrong order
12360 to shift the tpsave array.
12362 1998-11-17 Alexandre Oliva <oliva@dcc.unicamp.br>
12364 * example/amanda.conf.in: document that infofile is supposed to be a
12365 directory with the default database format
12366 * docs/FAQ: New questions: `infofile update failed' and `using the
12367 same host in different configurations'
12369 1998-11-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12371 changer-src/scsi-linux.c (Tape_Ready): typo, the argument Device
12372 to the SCSI_CloseDevice() is not defined, I changed it to tapedev.
12374 1998-11-17 Brendan M Coffey <bcoffey@connix.com>
12376 * common-src/stream.c (stream_server): add requested send and receive
12377 socket size parameters.
12378 * common-src/stream.h (stream_server): ditto
12379 * server-src/taper.c (file_reader_side): set a large receive socket
12381 * client-src/sendbackup.c (main): set a large send and receive socket
12382 buffer size for the data path, use defaults for the message and index
12385 1998-11-16 Alexandre Oliva <oliva@dcc.unicamp.br>
12387 * changer-src/scsi-solaris.c (Tape_Ready): typo in Thomas' patch
12389 1998-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12391 * server-src/infofile.h (get_dumpdate): rename record parameter to info.
12392 * server-src/infofile.h (get_info): rename record parameter to info.
12393 * server-src/infofile.h (put_info): rename record parameter to info.
12394 * server-src/infofile.c (get_dumpdate): rename rec parameter to info.
12395 * server-src/infofile.c (zero_info): rename ip parameter to info.
12396 * server-src/infofile.c (get_info): rename record parameter to info.
12397 * server-src/infofile.c (put_info): rename record parameter to info.
12398 * server-src/infofile.c (dump_rec): rename r parameter to info.
12399 * server-src/infofile.c (dump_db): rename record variable to info.
12400 * server-src/planner.c (last_level): rename ip parameter to info.
12401 * server-src/planner.c (next_level0): rename ip parameter to info.
12402 * server-src/planner.c (runs_at): rename ip parameter to info.
12403 * server-src/planner.c (askfor): rename inf parameter to info.
12404 * server-src/planner.c (setup_estimate): rename inf variable to info.
12405 * server-src/driverio.c (update_info_dumper): rename inf parameter
12407 * server-src/driverio.c (update_info_taper): rename inf parameter
12409 * server-src/amadmin.c (next_level0): rename ip parameter to info.
12410 * server-src/amadmin.c (force_one): rename inf variable to info.
12411 * server-src/amadmin.c (unforce_one): rename inf variable to info.
12412 * server-src/amadmin.c (delete_one): rename inf variable to info.
12413 * server-src/amadmin.c (info_one): rename inf variable to info.
12414 * server-src/amadmin.c (due_one): rename inf variable to info.
12415 * server-src/amadmin.c (balance): rename inf variable to info.
12417 1998-11-11 Thomas Hepper <th@icem.de>
12419 * configure.in: amanda_cv_hpux_scsi was double defined.
12420 Replaced it in the chio check with amanda_cv_hpux_scsi_chio
12421 * docs/TAPE.CHANGERS: update the notes about chg-scsi
12422 * changer-src/chg-scsi.c: Unload the cleaning tape only
12424 Pass the changerdev and tapedev Tape_Ready, so we can check
12425 if changerdev=tapedev. In this case the fd is already open.
12426 * changer-src/scsi-aix.c: cleanup and first parts are running :-)
12427 * changer-src/scsi-changer-driver.c: Pass back the scsi status
12428 field to the calling function, not the result from the ioctl
12429 if the return form the ioctl is >= 0
12430 * changer-src/scsi-hpux.c: Add additional param to Tape_Ready
12431 fill Tape_Ready with live
12432 * changer-src/scsi-hpux_new.c: Return the scsi status if
12433 the ioctl result is >=0. Add new Parameter to Tape_Ready
12434 * changer-src/scsi-irix.c: same as scsi-hpux_new.c
12435 * changer-src/scis-linux.c: Add additional param to Tape_Ready
12436 * changer-src/scsi-solaris.c: same as scsi-hpux_new.c
12438 1998-11-11 Mike Grupenhoff <kashmir@munge.com>
12440 * server-src/security.h: add driver entry points and macros
12441 for security_stream_accept() and security_stream_auth()
12442 * server-src/bsd-security.c: implement security_stream_accept()
12443 and security_stream_auth() for bsd security
12445 1998-11-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12447 * server-src/driver.c (main): redo my patch about total_disksize that
12448 Alexendre has undone, only the 2.4.1 branch was broken.
12450 1998-11-10 Alexandre Oliva <oliva@dcc.unicamp.br>
12452 * server-src/driver.c (main): total_disksize was only added after
12453 the loop terminated, i.e., when hdp was NULL -> crash. fixed.
12455 1998-11-09 John R. Jackson <jrj@purdue.edu>
12457 * server-src/reporter.c (main): ignore SIGPIPE so if a child process
12458 dies we do not also go away. Also fix a core dump if amanda.conf
12459 cannot be processed, and clean up a few error messages.
12461 1998-11-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12463 * server-src/infofile.h (struct info_s): add last_level and
12465 * server-src/infofile.c: support new last_level and consecutive_runs
12466 * server-src/planner.c (last_level): return ip->last_level.
12467 * server-src/planner.c (runs_at): return ip->consecutive_runs.
12468 * server-src/driverio.c (update_info_dumper): update inf.last_level
12469 and inf.consecutive_runs.
12471 1998-11-09 Mike Grupenhoff <kashmir@munge.com>
12473 * client-src/sendbackup-dump.c (start_backup): don't close indexf
12474 if it was never open
12475 * client-src/sendbackup-gnutar.c (start_backup): ditto
12477 1998-11-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12479 * server-src/driver.c (main): add hdp->disksize to total_disksize
12480 even when we create the datestamp dir. (reserve was unusable).
12482 1998-11-07 Alexandre Oliva <oliva@dcc.unicamp.br>
12484 * Makefile.am (EXTRA_DIST): added EVENT-API, SECURITY-API and
12486 * docs/STRATEGY-API: new file
12488 * configure.in (GNUTAR): accept tar from Free paxutils, the new name
12491 1998-11-07 Alexandre Oliva <oliva@dcc.unicamp.br>
12493 * changer-src/scsi-solaris.c: added missing #endif
12495 * configure.in: merge with camlib.h patch from Oct 31
12496 remove all uses of test ... -a ...; this is not portable.
12497 (AC_CHECK_HEADERS) added header files for Linux and Solaris
12499 1998-11-07 Thomas Hepper <th@icem.de>
12501 * changer-src/chg-scsi: Add config option scsidev
12502 * changer-src/chg-scsi: Remove function tape_ready
12503 * changer-src/chg-scsi: Add new parameter tapedev to function
12505 * changer_src/scsi-hpux.c: changed HAVE_HPUX_SCSI to
12506 HAVE_HPUX_SCSI_CHIO, changed in configure.in too
12507 * changer-src/libscsi.h: Expand definition for get_clean_state
12508 * new files in /changer-src:
12509 scsi-aix.c, scsi-changer-driver.c, scsi-defs.h
12510 scsi-hpux_new.c, scsi-irix.c, scsi-linux.c, scsi-solaris.c
12511 * configure.in checks for scsi ioctl added, check for header files
12512 for the scsi suport added
12513 * config/acconfig.h new:
12514 HAVE_HPUX_LIKE_SCSI, HAVE_HPUX_SCSI_CHIO, HAVE_LINUX_LIKE_SCSI
12515 HAVE_IRIX_LIKE_SCSI, HAVE_SOLARIS_LIKE_SCSI, HAVE_AIX_LIKE_SCSI
12516 removed: HAVE_HPUX_SCSI
12517 * changer-src/Makefile.am: New conditional for building chg-scsi-chio
12518 and chg-scsi. chg-scsi-chio is the old chg-scsi
12520 1998-11-06 Mike Grupenhoff <kashmir@munge.com>
12522 * common-src/bsd-security.c (bsd_stream_write): callback's third
12523 arg should now be an int.
12524 * common-src/bsd-security.c: quash some gcc -Wall warnings
12526 1998-11-06 Mike Grupenhoff <kashmir@munge.com>
12528 * common-src/security.h: the callback to stream_read should
12529 take signed type as its 'length' argument so errors can be
12530 expressed as a negative number.
12532 1998-11-06 Mike Grupenhoff <kashmir@munge.com>
12534 * common-src/bsd-security.c (stream_read_callback): do reads into
12535 a buffer of size TAPE_BLOCK_BYTES, instead of 256, and place the
12536 buffer in the stream handle instead of on the stack, since it's
12539 1998-11-05 Mike Grupenhoff <kashmir@munge.com>
12541 * common-src/event.c (event_loop): Consider error conditions on
12542 file descriptors as read or write events. The caller will be
12543 able to differentiate when they call read or write and it
12546 1998-11-05 Mike Grupenhoff <kashmir@munge.com>
12548 * common-src/event.c (event_loop): print out WHY select failed
12550 1998-11-05 Mike Grupenhoff <kashmir@munge.com>
12552 * common-src/bsd-security.c: adjust for the recvpkt timeout
12554 * common-src/bsd-security.c (handleq_remove): add a missing ; after
12556 * common-src/bsd-security.c (gethandle): initialize the error buffer
12557 in the security handle, since errors may be set before the handle
12558 is passed up to the general security layer
12559 * common-src/bsd-security.c (bsd_recvpkt_cancel): allow it to be
12560 called several times, or when no recvpkt was scheduled
12562 1998-11-05 Mike Grupenhoff <kashmir@munge.com>
12564 * common-src/security.h: define security_recvpkt_status_t
12565 * common-src/security.h: security_driver_t->recvpkt() now
12566 takes a timeout argument, and its callback takes a
12567 security_recvpkt_status_t
12568 * common-src/security.h: adjust the security_recvpkt() macro
12569 for the above changes
12571 1998-11-05 Mike Grupenhoff <kashmir@munge.com>
12573 * common-src/event.c (event_loop): assert that we are not firing
12576 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12578 * recover-src/amrecover.c: remove declaration of errstr.
12580 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12582 * server-src/amindexd.c (build_disk_table): call find_dump() instead
12583 of popen("amadmin <conf> find ...")
12585 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12587 * server-src/holding.h: rename dir_list to holding_list because
12588 dir_list is also declared in amflush.c
12589 * server-src/holding.c: ditto
12590 * server-src/find.c: ditto
12592 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12594 * server-src/amstatus.pl.in: remove warning.
12596 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
12598 * common-src/event.c (event_register): delete some improper debug
12599 code that shouldn't have made it in
12601 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
12603 * common-src/bsd-security.c: new file: security driver that
12604 implements "BSD" security.
12606 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
12608 * common-src/security.h: new file: the security api header
12610 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
12612 * common-src/event.c: new file: the event handler. Handles file
12613 descriptor io, signals, and timed events.
12614 * common-src/event.h: new file: interface for the event handler.
12616 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
12618 * common-src/packet.c: new file: description of pkt_t's and routines
12620 * common-src/packet.h: new file: header for common-src/packet.c
12622 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
12624 * common-src/queue.h: new file: the 4.4BSD queue macros, with
12625 additions from NetBSD
12627 1998-11-04 John R. Jackson <jrj@purdue.edu>
12629 * server-src/amverify.sh.in: tolerate extra amtape output.
12631 1998-11-04 Alexandre Oliva <oliva@dcc.unicamp.br>
12633 * configure.in: bumped to 2.5.0
12635 * server-src/taper.c (read_file): if a new tape cannot be found,
12636 report a no-tape error to the log file and exit, just like it does
12639 1998-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12641 * server-src/planner.c (pick_inclevel): return base_level even
12642 when the estimate failed.
12643 * server-src/planner.c (output_scheduleline): test for degr_size
12644 instead of degr_level.
12646 1998-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12648 * server-src/planner.c (last_level): update last_date otherwise only
12649 level 0 or the highest is returned.
12651 1998-11-03 Mike Grupenhoff <kashmir@munge.com>
12653 * common-src/alloc.c: const arguments to the stralloc functions
12654 * common-src/amanda.h: update stralloc prototypes for const
12657 1998-11-03 John R. Jackson <jrj@purdue.edu>
12659 * server-src/dumper.c (do_dump): do not report FAILED back to driver
12660 when it sent us ABORT. Clean up and send back ABORT-FINISHED.
12662 1998-11-03 John R. Jackson <jrj@purdue.edu>
12664 * server-src/driver.c (handle_dumper_result): do not abort a dumper
12665 that reports NO-ROOM if taper is busy since some holding disk space
12666 will eventually be released (this code it not used when PORT-DUMP is
12669 1998-11-03 John R. Jackson <jrj@purdue.edu>
12671 * server-src/taper.c (write_buffer): calling lseek after every tape
12672 write is wasteful and makes utilities like lsof less useful. Only
12673 reset the offset when the amount written is about to go over 2 GBytes.
12675 1998-11-02 John R. Jackson <jrj@purdue.edu>
12677 * server-src/driver.c (main, start_degraded_mode): fix rounding problem
12678 that made the code think there was a little room for full dumps in
12679 degraded mode, and fix the code that decides whether to do a full dump
12682 1998-11-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12684 * server-src/amstatus.pl.in: initialize variable to remove warning.
12686 1998-11-02 Alexandre Oliva <oliva@dcc.unicamp.br>
12688 * client-src/Makefile.am (CLIENT_SCRIPTS): rename to
12689 CLIENT_SCRIPTS_OPT, because *_SCRIPTS is interpreted by automake
12690 * configure.in (CLIENT_SCRIPTS): ditto
12691 Reported by Thomas Hepper <Thomas.Hepper@icem.de>
12693 * configure.in (LIBTOOL_M4): no longer defined
12694 (LIBTOOL_M4_MACRO_DIR): defined assuming CWD is top_srcdir
12695 * Makefile.am (ACLOCAL_M4_FROM_SRCDIR): relative to srcdir
12696 (ACLOCAL_M4): defined and created using ACLOCAL_M4_FROM_SRCDIR
12697 Reported by Thomas Hepper <Thomas.Hepper@icem.de>
12699 * client-src/sendbackup.c (backup_program): rename to
12700 gnutar_program, that's the name it should have had from the
12702 * client-src/sendbackup-gnutar.c (backup_program): ditto
12704 1998-10-31 Michael Schmitz <mschmitz@iname.com>
12706 * configure.in: let configure check whether strcasecmp is
12708 * common-src/strcasecmp.c: new file which contains a definition
12710 * common-src/amanda.h: added code to declare strcasecmp in
12711 case it's not declared in a standard header
12713 1998-10-31 Alexandre Oliva <oliva@dcc.unicamp.br>
12715 * configure.in (snprintf): arrange that it is included in the
12716 distribution automatically
12717 * common-src/Makefile.am (EXTRA_DIST): removed, not needed
12719 * changer-src/Makefile.am (libexec_SCRIPTS): would only be enabled
12722 * configure.in (NO_SCSI_CHANGER_MODE): chg-scsi does not support the
12723 new FreeBSD 3.0 chio.h, so disable it if camlib.h is found.
12724 * docs/SYSTEM.NOTES (FreeBSD 3.0): add a note about this
12725 (SunOS 4.x): libtool will no longer find incorrect library versions
12727 1998-10-30 John R. Jackson <jrj@purdue.edu>
12729 * common-src/security.c (bsd_security_ok): change error message to
12730 reflect that it is a host name we were looking up rather than an
12731 address (also makes the two similar messages unique).
12733 1998-10-28 Alexandre Oliva <oliva@dcc.unicamp.br>
12735 * docs/SYSTEM.NOTES: Debian 2's dump uses /var/lib/dumpdates
12737 1998-10-28 John R. Jackson <jrj@purdue.edu>
12739 * recover-src/set_commands.c (set_host): if the host given by the user
12740 does not work, try the canonical name and aliases returned by
12743 1998-10-28 John R. Jackson <jrj@purdue.edu>
12745 * configure.in: use "df /" instead of just "df" when trying to find
12746 the device that has the root file system to avoid things like NFS
12747 hangs that df sometimes suffers from.
12749 1998-10-27 Mike Grupenhoff <kashmir@munge.com>
12751 * common-src/stream.c (stream-client): add a 'localport' argument
12752 in which we can get the port this stream is bound to locally
12753 * common-src/stream.h (stream-client): update prototype
12754 * server-src/dumper.c: update stream-client calls
12756 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12758 * client-src/amandad.c (main): better logging of received packet,
12759 do not send a P_ACK when the received packet is not a P_REQ.
12761 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12763 * client-src/amandad.c (main): terminate immediately if started
12764 by a P_ACK packet without sending a P_NAK packet.
12766 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12768 * server-src/conffile.h (dtimeout): new keyword
12769 * server-src/conffile.c (dtimeout): ditto
12770 * server-src/dumper.c: use dtimeout instead of READ_TIMEOUT
12771 * example/amanda.conf.in: document it
12772 * man/amanda.8.in: ditto
12775 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12777 * server-src/dumper.c (sendbackup_response): a nak error will
12778 be a TRY-AGAIN instead of a FAILED.
12780 1998-10-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12782 * server-src/amlabel.c: move declaration of vtbl_no, datestr
12783 and slotcommand to the main function.
12785 1998-10-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12787 * server-src/amlabel.c: remove declaration of pname.
12789 1998-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12791 * server-src/amcheckdb.sh.in: modify to match new tapelist file
12792 format (keyword reuse and no-reuse). Probably no-one use this
12795 1998-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12797 * server-src/driver.c (handle_dumper_result): Add sleep time
12798 when a dumper failed, it could be a temporary network problem,
12799 such as NIS or NFS, better wait a few seconds before retrying.
12801 1998-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12803 * server-src/driverio.h: remove declaration of argc et argv.
12804 * server-src/driverio.h (getresult): add parameters result_argc,
12805 result_argv and max_arg.
12806 * server-src/driverio.c (getresult): use new parameters.
12807 * server-src/amflush.c (flush_holdingdisk, run_dumps): declare
12808 and use result_argc and result_argv instead of global variables
12810 * server-src/driver.c (main, handle_taper_result,
12811 handle_dumper_result, dump_to_tape): ditto
12813 1998-10-24 John R. Jackson <jrj@purdue.edu>
12815 * server-src/amstatus.pl.in: do not be quite so accurate in matching
12816 the log file lines since messages may be intermixed. Turn on perl
12817 -w switch and make first cut at cleaning up warnings.
12819 1998-10-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12821 * server-src/driverio.h: remove datestamp declaration.
12822 * server-src/amcheck.c: remove 'extern' to datestamp declaration.
12823 * server-src/amflush.c: declare datestamp.
12824 * server-src/amtape.c: remove 'extern' to datestamp declaration.
12825 * server-src/driver.c: declare datestamp.
12826 * server-src/dumper.c: remove 'extern' to datestamp declaration.
12827 * server-src/reporter.c: remove 'extern' to datestamp declaration.
12829 1998-10-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12831 * server-src/driverio.h: remove declaration of tok.
12832 * server-src/amflush.c (flush_holdingdisk,run_dumps): declare
12834 * server-src/driver.c (main, handle_taper_result, handle_dumper_result,
12835 dump_to_tape): declare tok locally.
12837 1998-10-23 John R. Jackson <jrj@purdue.edu>
12839 * configure.in: disable the -E and -h dump estimate checks if $DUMP
12842 1998-10-19 John R. Jackson <jrj@purdue.edu>
12844 * server-src/amindexd.c (is_config_valid): fix core dump by moving
12845 amfree of conf_dir later in case it is needed in an error message.
12847 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12849 * server-src/reporter.c: remove declaration of curlinenum,
12850 curlog, curprog and curstr.
12852 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12854 * server-src/amflush.c (main): move declaration of diskqp from
12857 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12859 * server-src/amcheck.c (main): move declaration of mailout and
12860 tempfname from global to local.
12862 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12864 * server-src/amadmin.c (search_logfile): remove declaration
12866 1998-10-15 Mike Grupenhoff <kashmir@munge.com>
12868 * server-src/amadmin.c (reuse, no-reuse): don't core dump if tape
12871 1998-10-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12873 * server-src/conffile.h: remove declaration of holdingdisks and
12874 num_holdingdisks, declare getconf_holdingdisks().
12875 * server-src/conffile.c: define getconf_holdingdisks(),
12876 * server-src/holding.c: use getconf_holdingdisks
12877 * server-src/find.c: ditto
12878 * server-src/amcheck.c: ditto
12879 * server-src/amflush.c: ditto
12880 * server-src/driver.c ditto
12882 1998-10-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12884 * server-src/driver.c: remove verbose and force_parameters
12887 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12889 * server-src/dumper.c: remove declaration of pid.
12890 * server-src/dumper.c(do_dump): move declaration of runtime,
12891 dumptime, compresspid, indexpid and killerr from global to local.
12893 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12895 * server-src/planner.c: remove declaration of total_waiting and
12897 * server-src/planner.c(main): move declaration of initial_size from
12900 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12902 * server-src/driverio.h,server-src/driver.c: move declaration
12903 of big_dumpers, degraded_mode and reserved_space from
12904 driverio.h to driver.c
12906 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12908 * server-src/driverio.h (optionstr): remove declaration
12910 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12912 * configure.in (SAMBA_CLIENT): fix typo
12914 1998-10-14 John R. Jackson <jrj@purdue.edu>
12916 * restore-src/amrestore.c (read_file_header): make a couple of error
12917 messages clearer that they refer to problems with a header rather
12918 than the image data.
12920 1998-10-13 Alexandre Oliva <oliva@dcc.unicamp.br>
12922 * client-src/Makefile.am (libamclient_a_SOURCES): missing since
12925 1998-10-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12927 * docs/INTERNALS (driver and dumper): document <dumpdate> in
12928 FILE-DUMP and PORT-DUMP request, document <chunksize> in
12931 1998-10-12 John R. Jackson <jrj@purdue.edu>
12933 * server-src/amtape.c (usage, main, show_device): apply patch from
12934 Chris Jones <cjones@clydesdale.math.montana.edu> to support "device"
12935 as an option to return the drive device name as reported by the
12937 * man/amtape.8: document the new "device" option.
12938 * server-src/amverify.sh.in: use the new amtape "device" option to
12939 better handle tape changers. Overhaul for general cleanup and some
12940 security issues, plus amverify now tries to support non-tar images.
12941 * man/amverify.8.in: document non-tar image issues.
12943 1998-10-08 John R. Jackson <jrj@purdue.edu>
12945 * example/amanda.conf.in: fix runspercycle example and comments
12947 1998-10-08 Alexandre Oliva <oliva@dcc.unicamp.br>
12949 * configure.in (SAMBA_CLIENT): try to find it by default; minimal
12951 * client-src/Makefile.am (WANT_SAMBA): use automake conditionals to
12953 * docs/SAMBA: document that --with-smbclient is no longer required
12954 to enable SAMBA support
12956 * docs/FAQ: about inconsistencies in active filesystems
12958 1998-10-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12960 * docs/DUMPER-API: add `no-record' option to the `backup' command.
12962 1998-10-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12964 * docs/DUMPER-API: subdivise section 3.1.
12966 1998-10-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12968 * docs/DUMPER-API: New `index-<mode>' options.
12969 define `support parse-estimate' and `support parse-backup' subcommand.
12970 New 'estimate-direct', `estimate-parse', `backup-direct' and
12971 `backup-parse' options.
12972 Remove PARSE keyword from estimate and backup command.
12974 1998-10-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12976 * docs/DUMPER-API: define PARSE keyword in stderr of the backup
12979 1998-10-03 Alexandre Oliva <oliva@dcc.unicamp.br>
12981 * man/Makefile.am (EXTRA_DIST): make sure the man-pages that are not
12982 generated by autoconf get into the distribution
12984 1998-10-02 Josef Karthauser <joe@pavilion.net>
12986 * changer-src/chg-chio.pl.in (getTapeParams): fix regular expression
12987 for $line; the trailing `s' of slots was missing
12989 1998-10-02 John R. Jackson <jrj@purdue.edu>
12991 * server-src/amstatus.pl.in: fix error message.
12993 1998-10-02 John R. Jackson <jrj@purdue.edu>
12995 * server-src/taper.c (write_file): fix a problem with tha taper
12996 stats where the times were all the same. The wallclock_str function
12997 returns a pointer to a static area so it cannot be called more
12998 than once as an argument to a function.
13000 1998-10-01 John R. Jackson <jrj@purdue.edu>
13002 * common-src/protocol.c (parse_integer): allow negative numbers.
13004 1998-10-01 John R. Jackson <jrj@purdue.edu>
13006 * server-src/amstatus.pl.in: add timestamps.
13008 1998-10-01 Alexandre Oliva <oliva@dcc.unicamp.br>
13010 * docs/DUMPER-API: define `support index', to be used instead of the
13011 previous `index-*' sub-commands
13013 1998-09-30 Alexandre Oliva <oliva@dcc.unicamp.br>
13015 * server-src/Makefile.am (libexec_PROGRAMS, sbin_SCRIPTS): don't use
13016 backslashes for continuation; this seems to break automake :-(
13018 1998-09-30 John R. Jackson <jrj@purdue.edu>
13020 * man/amanda.8.in: minor typo in "reserve" description.
13022 1998-09-29 John R. Jackson <jrj@purdue.edu>
13024 * server-src/taper.c (end_tape): do not rewind the tape when done.
13026 1998-09-29 Alexandre Oliva <oliva@dcc.unicamp.br>
13028 * configure.in (WANT_CLIENT, WANT_RESTORE, WANT_SERVER,
13029 WANT_RECOVER, WANT_TAPE, WANT_AMPLOT, WANT_CHG_SCSI): automake
13031 * amplot/Makefile.am: use them
13032 * changer-src/Makefile.am: ditto
13033 * client-src/Makefile.am: ditto
13034 * common-src/Makefile.am: ditto
13035 * man/Makefile.am: ditto
13036 * recover-src/Makefile.am: ditto
13037 * restore-src/Makefile.am: ditto
13038 * server-src/Makefile.am: ditto
13039 * tape-src/Makefile.am: ditto
13041 * Makefile.am: don't print commands that work around old aclocal bug
13043 * docs/DUMPER-API: remove environment variables, and mention a
13044 program that will help translating disklist entries to device names,
13045 mount points and filesystem types
13047 * recover-src/extract_list.c (extract_files_child): do not crash
13048 after failing to read the dump file header
13049 Reported by Jose Cheng <jcheng@math.ist.utl.pt>
13051 1998-09-28 Alexandre Oliva <oliva@dcc.unicamp.br>
13053 * server-src/taper.c (taperscan_slot): initialize scan_datestamp, to
13054 avoid amfree of uninitialized pointer
13055 Reported by Lance A. Brown <brown9@niehs.nih.gov>
13057 1998-09-27 Alexandre Oliva <oliva@dcc.unicamp.br>
13059 * docs/DUMPER-API (USER, GROUP): detailed security mechanisms
13060 (estimate, estimate-parse): can print `KILL' after the estimate
13062 * docs/DUMPER-API: various suggestions from Eric Siegerman
13063 <erics@now.com> and some explanations added
13065 1998-09-27 Andy Farkas <andyf@speednet.com.au>
13067 * man/amlabel.8.in (labelstr): fix typo
13069 1998-09-26 Alexandre Oliva <oliva@dcc.unicamp.br>
13071 * recover-src/extract_list.c (extract_files_child): fix-up
13072 no_initial_params if password or domain information is not found
13073 Reported by Jose Cheng <jcheng@math.ist.utl.pt>
13075 * docs/DUMPER-API: extended `index' to `index-from-output' or
13076 `index-from-image', as suggested by Dale Hagglund <rdh@best.com>.
13077 Explained that the dumptype option `program' is the name of the
13080 1998-09-25 John R. Jackson <jrj@purdue.edu>
13082 * configure.in: fix --with-dump-honor-nodump test. Patch by
13083 Jonas Oberg <jonas@coyote.org>.
13085 1998-09-24 John R. Jackson <jrj@purdue.edu>
13087 * example/disklist: document the "spindle" and "interface" fields.
13088 Reported by Brendan M Coffey <bcoffey@connix.com>.
13090 1998-09-24 Alexandre Oliva <oliva@dcc.unicamp.br>
13092 * docs/DUMPER-API: added draft description of the DUMPER API
13093 * Makefile.am (EXTRA_DIST): add it to the distribution
13095 * config/acinclude.m4 (AC_VALIDATE_CACHE_SYSTEM_TYPE): make sure
13096 cached values for host, build and target system types match with the
13098 * configure.in: use it
13100 1998-09-23 John R. Jackson <jrj@purdue.edu>
13102 * server-src/amstatus.pl.in: sort the host and partition names.
13103 From David Wolfskill <dhw@whistle.com>.
13105 1998-09-23 Alexandre Oliva <oliva@dcc.unicamp.br>
13107 * server-src/taper.c (getcmd): typo in last DEBUGging patch
13109 1998-09-22 Tim Perkins <Tim.Perkins@ddg.phar.cam.ac.uk>, Alexandre Oliva <oliva@dcc.unicamp.br>
13111 * client-src/selfcheck.c (check_disk): fix VDUMP auto-detection
13113 1998-09-22 Alexandre Oliva <oliva@dcc.unicamp.br>
13115 * changer-src/chg-mtx.sh.in: replace rew with rewind
13116 * changer-src/chg-zd-mtx.sh.in: ditto
13117 Reported by Henning Holtschneider <hh@loca.net>
13119 * client-src/sendsize.c: remove usage of #error
13120 Reported by Jay Orr <orr@vss.fsi.com>
13122 1998-09-21 John R. Jackson <jrj@purdue.edu>
13124 * man/amanda.8.in: document the new "tapebufs" parameter.
13126 1998-09-21 Kelly Setzer <setzer@telalink.net>
13128 * server-src/taper.c (NBUFS): replaced with conf_tapebufs
13129 (THRESHOLD): now means `empty bufs' instead of `full bufs'
13130 * server-src/conffile.c: add support for the "tapebufs" option
13131 * server-src/planner.c: ditto
13132 * examples/amanda.conf.in: add sample "tapebufs" entry
13134 * server-src/amlabel.c (main): adds entry to tapelist with date
13137 1998-09-20 Alexandre Oliva <oliva@dcc.unicamp.br>
13139 * server-src/taper.c (getcmd): print DEBUGging output to stderr
13140 Reported by Henning Holtschneider <hh@loca.net>
13142 1998-09-19 Eric Doutreleau <Eric.doutreleau@int-evry.fr>
13144 * server-src/driverio.h (MAX_DUMPERS): increased from 15 to 63 in
13145 order to launch more dumper in parallel
13146 * example/amanda.conf.in (inparallel): Add the fact that it is
13147 limited by MAX_DUMPERS
13149 1998-09-18 Alexandre Oliva <oliva@dcc.unicamp.br>
13151 * common-src/Makefile.am (libamanda_la_LDFLAGS): use libtool
13152 -release instead of -version_info, so as to encode the Amanda
13153 release number in the library name. Problems related with
13154 pre-installed libraries should disappear, and separate releases can
13155 now be installed into the same directory without the risk of one
13156 using libraries from the other.
13158 1998-09-18 Michael C. Povel <Michael.Povel@hub.de>
13160 * changer-src/chg-scsi.c (wait_ready): new function; keeps retrying
13161 until success or timeout
13162 (ask_clean, main): use it
13164 1998-09-18 Alexandre Oliva <oliva@dcc.unicamp.br>
13166 * client-src/selfcheck.c (check_options): don't require runtar for
13169 * client-src/rundump.c: fix support for VDUMP-only installation
13170 * client-src/selfcheck.c (check_options): fix detection of advfs
13171 * client-src/sendsize.c (getsize_dump): ditto
13172 * client-src/sendbackup-dump.c (start_backup): ditto
13173 Reported by Tim Perkins <Tim.Perkins@ddg.phar.cam.ac.uk>
13175 1998-09-16 John R. Jackson <jrj@purdue.edu>
13177 * man/amadmin.8.in: document that "hostname" is optional for "info".
13178 Reported by David Wolfskill <dhw@whistle.com>.
13180 1998-09-15 Alexandre Oliva <oliva@dcc.unicamp.br>
13182 * docs/FAQ: common compile-time and link-time errors
13184 1998-09-11 John R. Jackson <jrj@purdue.edu>
13186 * server-src/tapefile.c (lookup_last_reusable_tape): use new
13187 calling sequence that passes how old a tape to return. Remove
13188 lookup_previous_reusable_tape().
13189 * server-src/tapefile.h (lookup_last_reusable_tape): use new
13190 calling sequence that passes how old a tape to return. Remove
13191 lookup_previous_reusable_tape().
13192 * server-src/amadmin.c (tape): use new lookup_last_reusable_tape
13194 * server-src/amcheck.c (taper_scan, start_server_check): use new
13195 lookup_last_reusable_tape calling sequence.
13196 * server-src/amflush.c (confirm): use new lookup_last_reusable_tape
13198 * server-src/amtape.c (taper_scan): use new lookup_last_reusable_tape
13200 * server-src/reporter.c (output_tapeinfo): use new
13201 lookup_last_reusable_tape calling sequence.
13202 * server-src/taper.c (taper_scan): use new lookup_last_reusable_tape
13205 1998-09-11 Alexandre Oliva <oliva@dcc.unicamp.br>
13207 * client-src/sendbackup-gnutar.c (re_table): ignore
13208 `load_client_codepage' message from SAMBA
13210 1998-09-11 John R. Jackson <jrj@purdue.edu>
13212 * server-src/amstatus.pl.in (all): fix USE_VERSION_SUFFIXES=yes
13213 problems. Reported by David Eckelkamp <davide@locutus.tradewave.com>.
13215 * man/amstatus.8.in (all): fix minor typos.
13217 1998-09-10 John R. Jackson <jrj@purdue.edu>
13219 * configure.in (LFS): add code that might support configuring large
13222 1998-09-10 Alexandre Oliva <oliva@dcc.unicamp.br>
13224 * server-src/conffile.c (dump_configuration): runspercycle is not a
13225 member of dumptype_t
13226 (init_holdingdisk_defaults): init chunksize with documented default,
13227 not -1, because it wouldn't be recalculated
13229 * docs/INSTALL: URL for SAMBA was broken; note about 1.9.18p10 bug
13231 1998-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13233 * docs/SAMBA: 1.9.18p10 has a bug
13235 1998-09-09 Terje Malmedal <tm@funcom.com>
13237 * common-src/stream.c (stream_server, stream_client): added
13238 SO_KEEPALIVE option so we get an error if the other side crashes
13240 1998-09-09 Alexandre Oliva <oliva@dcc.unicamp.br>
13242 * configure.in (CHIO): look for chio and AC_SUBST it
13243 (MT, CHS): if not found, use just the program name
13245 1998-09-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13247 * server-src/planner.c (last_level): return the last level
13248 even it is still on holding disk if reserve < 100.
13250 1998-09-09 Alexandre Oliva <oliva@dcc.unicamp.br>
13252 * server-src/reporter.c (divzero, divzero_wide): print `#'s on
13255 * server-src/amtape.c (show_init): no longer print `scanning'
13257 (show_init_show, current_init_all): call show_init, then print the
13258 appropriate `scanning' message
13259 Reported by David Wolfskill <dhw@whistle.com>
13261 * changer-src/chg-scsi.c (main): use new multi-configuration
13262 mechanism only if tape_device contains only a single digit
13264 1998-09-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13266 * server-src/planner.c (setup_estimate): Don't write a
13267 "mismatch: no tapelist record, but curinfo next_level0" message
13268 and force a level 0 when reserve < 100.
13270 1998-09-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13272 * server-src/holding.h (get_amanda_names): return a filetype_t
13274 * server-src/holding.c (get_amanda_names): return the filetype_t
13275 of the file or F_UNKNOWN if it's not an amanda file.
13276 * server-src/find.c (search_holding_disk): Use the new return
13277 type of get_amanda_names.
13278 * server-src/amflush.c (flush_holdingdisk): Don't write a
13279 "ignoring cruft file" message for chunk files,
13280 filetype is F_CONT_DUMPFILE.
13282 1998-09-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13284 * recover-src/extract_list.c (extract_files_child): don't write
13285 the samba password to the debug file.
13287 1998-09-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13289 * server-src/driverio.c (update_info_dumper): set inf.command to
13290 NO_COMMAND if reserve< 100 because if you force a level 0 with
13291 'amadmin force', it will do level 0 every days until you flush them
13294 1998-09-03 Matthias Urlichs <smurf@noris.net>
13296 * recover-src/uscan.l: recognize "?" as alias for "help"
13298 * configure.in (MAILER): recognize "mail" as well as "Mail" and
13301 * client-src/calcsize.c (add_file_dump, add_file_unknown): only get
13302 sizes of directories and files
13304 * client-src/amandates.c (start_amandates): create amandates if
13305 error is either EINTR or ENOENT
13307 * common-src/dgram.c (dgram_send_addr): handle ECONNREFUSED by not
13308 dying when receiving, and retrying when sending, a packet. The
13309 server may get this error when a client reboots and hasn't started
13311 * common-src/protocol.c (handle_incoming_packet): ditto
13313 * server-src/driver.c (read_schedule): catch cases when the time
13314 goes negative. Some operators have the bad habit of syncing clocks
13317 * common-src/dgram.h (MAX_DGRAM): increased to 64Kb
13319 * client-src/amandad.c (main): read the pipe from the child
13320 incrementally: the pipe buffer of many OSes is shorter than
13321 MAX_DGRAM. Instead of SIGCHLD, note end-of-data by way of
13323 (sigchild_jump, sigchild_flag): removed
13324 * client-src/sendbackup.c (main): instead of fork-and-exit, tell
13325 amandad to process our data by closing our end of the pipe
13327 1998-09-03 Alexandre Oliva <oliva@dcc.unicamp.br>
13329 * NEWS: another typo (too late :-(
13331 1998-09-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13333 * server-src/driver.c: amanda will not use an holding disk
13334 if the directory with the datestamp already exist.
13336 1998-09-03 Alexandre Oliva <oliva@dcc.unicamp.br>
13338 * Amanda 2.4.1 released
13340 1998-08-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13344 1998-08-27 Alexandre Oliva <oliva@dcc.unicamp.br>
13346 * docs/INSTALL: update some version numbers; SAMBA 1.9.18p10 has
13347 fixed the bug in p8; using p8 is not recommended any more
13348 * docs/SAMBA: ditto
13350 * config/config.guess: updated to libtool 1.2b's, in order to
13351 auto-detect some recent architectures
13352 * config/config.sub: ditto
13354 * server-src/amcleanup.sh.in (sbindir): amreport now lives in
13355 sbindir; added it to PATH and removed full pathnames to binaries
13357 1998-08-27 Blair Zajac <blair@gps.caltech.edu>
13359 * configure.in: Add the directory /usr/lib/fs/vxfs to the search
13360 path where configure looks for vxdump and vxrestore. This is for
13361 Solaris so it can automatically handle vxfs filesystems.
13362 * client-src/sendbackup-dump.c: add missing last NULL argument to
13364 * server-src/dumper.c: add missing last NULL argument to
13366 * NEWS: reorder 2.4.1 items into most to least important for most
13368 * config/acconfig.h: update comment for VXDUMP and VXRESTORE to
13369 include systems where the Veritas filesystem is used.
13371 1998-08-21 Alexandre Oliva <oliva@dcc.unicamp.br>
13373 * man/amanda.8.in (nofull): only level 1 incrementals
13375 1998-08-20 Alexandre Oliva <oliva@dcc.unicamp.br>
13377 * changer-src/chg-mtx.sh.in (PATH): added /usr/local/bin
13379 * configure.in (BUILD_CHANGER_SCRIPTS_LIBEXEC): added chg-zd-mtx
13381 * changer-src/Makefile.am (EXTRA_SCRIPTS): ditto
13382 * docs/TAPE.CHANGERS (chg-zd-mtx): documented it
13383 (chg-mtx): mentioned chg-zd-mtx
13385 1998-08-20 Eric Doutreleau <Eric.Doutreleau@int-evry.fr>
13387 * changer-src/chg-zd-mtx.sh.in: new changer script for
13388 Zubkoff/Dandelion version of mtx.
13390 1998-08-19 Alexandre Oliva <oliva@dcc.unicamp.br>
13392 * docs/SAMBA: updated; documented new patch (sambatar.diff,
13393 available in the patches page) and requirements about backup user.
13394 * docs/INSTALL: documented new patch
13396 1998-08-18 Alexandre Oliva <oliva@dcc.unicamp.br>
13398 * client-src/sendsize.c (regex_s): refuse to compile if SAMBA_CLIENT
13399 and HAVE_DUMP_ESTIMATE are both defined: the regexp that matches the
13400 estimate from DU 4.0's dump also matches an output line from
13401 smbclient, that provides an incorrect estimate.
13402 * docs/SYSTEM.NOTES: document the problem
13404 1998-08-14 John R. Jackson <jrj@purdue.edu>
13406 * docs/TAPE.CHANGERS: describe "advance" and clean up some spelling.
13408 1998-08-13 Alexandre Oliva <oliva@dcc.unicamp.br>, Marcel Hild <hild@id-pro.de>
13410 * configure.in (--with-portrange): validate and define PORTRANGE
13411 * example/config.site: document it
13412 * config/acconfig.h (PORTRANGE): prepare for configure define
13413 * common-src/stream.c (stream_server): use PORTRANGE to limit TCP
13414 unreserved server sockets
13416 1998-08-12 Alexandre Oliva <oliva@dcc.unicamp.br>
13418 * docs/FAQ: working around `dumps way too big'
13420 1998-08-11 Alexandre Oliva <oliva@dcc.unicamp.br>, Gunnar Gunnarsson <gunnar@ki.ericsson.se>
13422 * common-src/token.h (rxquote, shquote): new functions
13423 * common-src/token.c (rxquote) quotes a string into an equivalent
13425 (shquote): quotes all shell special meta-characters, so that a
13426 string can be safely passed down for shell interpretation in
13427 system() or popen()-like calls
13428 * server-src/amindexd.c (build_disk_table): quote the disk_name with
13429 both rxquote and shquote
13431 1998-08-11 John R. Jackson <jrj@purdue.edu>
13433 * changer-src/chg-manual.sh.in: put the debug file in DEBUG_DIR for
13434 security. Clean up and enhance logging. Fix locations of the
13435 changer files. Source the changerfile into the script so it can
13436 override the request() function and allow alternatives to /dev/tty
13437 (e.g. E-mail, syslog). Issue rewind before status (Solaris does
13438 not give a good status report right after a tape is loaded).
13440 1998-08-10 Nick Hibma <nick.hibma@jrc.it>
13442 * changer-src/chg-chio.pl.in: move to first slot if last is unused
13444 1998-08-07 Alexandre Oliva <oliva@dcc.unicamp.br>
13446 * example/Makefile.am (EXTRA_DIST): add DIN-A4.ps
13448 1998-08-07 Günter Felkel <G.Felkel@edelmann.de>
13450 * example/DIN-A4.ps: new file
13452 1998-08-06 Alexandre Oliva <oliva@dcc.unicamp.br>
13454 * tape-src/tapetype.c (initrandombytes): use random() instead of
13455 rand(), its low-order bits are more random
13456 (main): call srandom(seed) instead of srand(seed)
13457 (USE_RAND): if defined, reverts to using rand() and srand(seed)
13459 * docs/FAQ: some notes about driving real tape changers
13461 1998-08-05 Alexandre Oliva <oliva@dcc.unicamp.br>
13463 * man/amreport.8.in (SYNOPSIS): replace `amtoc' with `amreport'
13465 1998-08-04 Alexandre Oliva <oliva@dcc.unicamp.br>
13467 * client-src/sendsize.c: revert 1998-08-01's change, it wouldn't
13468 even compile, as amfree() expands to a statement, not an expression,
13469 so it cannot be used as the `increment' part of a for loop.
13471 * server-src/planner.c (main): if runs_per_cycle is set to zero or
13472 negative, set it to 1, in order to avoid division by zero.
13473 * server-src/amadmin.c (balance): ditto
13475 1998-08-01 Alexandre Oliva <oliva@dcc.unicamp.br>
13477 * client-src/sendsize.c: replace free(line) with amfree(line),
13478 because line is not ensured to be non-NULL
13480 * docs/FAQ: amandad: error receiving message
13482 * docs/FAQ: difference between skip-full and strategy nofull
13484 1998-07-31 Alexandre Oliva <oliva@dcc.unicamp.br>
13486 * docs/FAQ: software or hardware compression?
13488 * server-src/driver.c (adjust_diskspace): do not abort just because
13489 a holding disk file is missing
13490 (main): report warning if holding disk directory could not be
13491 created, and do not use it
13492 Reported by Albrecht Gebhardt <agebhard@zidsrv.sci.uni-klu.ac.at>
13494 * example/Makefile.am (EXTRA_DIST): add 8.5x11.ps to the
13496 Reported by Jason L Tibbitts III <tibbs@hpc.uh.edu>
13498 * server-src/conffile.c (get_holdingdisk): define chunksize 0 as
13499 INT_MAX/1024, and chunksize -1 as -INT_MAX/1024
13500 * server-src/driver.c (find_diskspace): accept negative chunksizes
13501 as the maximum size (in modulus) for using the holding disk
13502 * man/amanda.8.in (chunksize): document the usage of negative
13503 values, and improve the explanation of chunking
13504 * example/amanda.conf.in: ditto
13506 1998-07-29 Alexandre Oliva <oliva@dcc.unicamp.br>
13508 * docs/FAQ: disk offline
13510 1998-07-27 Alexandre Oliva <oliva@dcc.unicamp.br>
13512 * restore-src/amidxtaped.c (main): use tape_rewind() instead of
13515 * server-src/amcleanup.sh.in (reporter): update to call amreport.
13516 (amdump.<n>) update to use the same renaming technique introduced in
13517 June 30's change to amdump.
13519 1998-07-25 Michael Graff <explorer@vix.com>
13521 * changer-src/Makefile.am (install-exec-hook): support $(DESTDIR)
13522 * client-src/Makefile.am (install-exec-hook): ditto
13523 * man/Makefile.am (install-data-hook): ditto
13524 * recover-src/Makefile.am (install-exec-hook): ditto
13525 * restore-src/Makefile.am (install-exec-hook): ditto
13526 * server-src/Makefile.am (install-exec-hook): ditto
13528 * configure.in: link krb5 and com_err in for Kerberos support, if
13531 1998-07-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13533 * server-src/reporter.c (copy_template_file): add braces to
13535 * tape-src/tapeio.h: declare is_zftape to remove warning in
13536 amlabel.c and taper.c
13538 1998-07-23 Alexandre Oliva <oliva@dcc.unicamp.br>
13540 * server-src/driver.c (any_delayed_disk): new variable, to ensure
13541 that we do not leave the main driver loop if there are delayed disks
13542 but there are no active dumpers
13543 (main): instead of checking whether idle_reason is IDLE_START_WAIT,
13544 check whether there is any_delayed_disk for remaining in the loop
13545 (start_degraded_mode): set any_delayed_disk when needed
13546 Reported by Peter Walker <peter@talarian.com>
13548 1998-07-23 John R. Jackson <jrj@purdue.edu>
13550 * server-src/reporter.c (main): handle LPRCMD being undefined.
13552 1998-07-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13554 * client-src/selfcheck.c (check_suid): new function to check if a
13555 program is SUID root.
13556 * client-src/selfcheck.c (check_overall): check that runtar and
13557 rundump are SUID root.
13559 1998-07-22 Alexandre Oliva <oliva@dcc.unicamp.br>
13561 * configure.in: version number set to 2.4.1
13563 * recover-src/Makefile.am (LDADD): libamtape imports symbols from
13564 libamanda, so it must be listed first
13566 * changer-src/Makefile.am (LDADD): remove duplication of libamserver
13567 and libamanda, as they no longer provide symbols for each other
13568 * server-src/Makefile.am (LDADD): ditto
13570 1998-07-21 Blair Zajac <blair@gps.caltech.edu>
13572 * server-src/amrmtape.sh.in: now use amanda.conf's tapelist variable
13573 * server-src/amcheckdb.sh.in: now use amanda.conf's tapelist variable
13574 * server-src/amfreetapes.sh.in: now use amanda.conf's tapelist variable
13575 * server-src/amtoc.pl.in: now use amanda.conf's tapelist variable,
13576 make perl4 compatible
13578 1998-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
13580 * docs/FAQ (results missing): suggestions to work around the UDP
13583 1998-07-16 Alexandre Oliva <oliva@dcc.unicamp.br>
13585 * docs/FAQ (amrecover): a config name may have to be specified
13586 Reported by digital messiah <dmessiah@silcon.com>
13588 1998-07-15 Blair Zajac <blair@gps.caltech.edu>
13590 * server-src/reporter.c (main): declare optind
13592 1998-07-15 Alexandre Oliva <oliva@dcc.unicamp.br>
13594 * configure.in: created Amanda 2.4.1 branch
13596 * example/amanda.conf.in: strategy noinc is not implemented yet
13598 1998-07-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13600 * NEWS: new runspercycle keyword
13601 * server-src/conffile.h: new runspercycle keyword
13602 * server-src/conffile.c: new runspercycle keyword
13603 * server-src/amadmin.c (balance): new runspercycle keyword
13604 * server-src/planner.c (main): new runspercycle keyword
13605 * man/amanda.8.in: document new runspercycle keyword
13606 * example/amanda.conf.in: example for new runspercycle keyword
13608 1998-07-13 Alexandre Oliva <oliva@dcc.unicamp.br>
13610 * docs/FAQ: What to do if DUMP program is not available.
13611 * client-src/selfcheck.c (check_overall): if a needed program is
13612 missing, print an error message.
13613 Reported by Klaus Hoffmann <handatalog@csi.com>
13615 * */Makefile.am: checked library version numbers, no need for update
13617 * configure.in: version number set to 2.4.1b1
13619 1998-07-11 Alexandre Oliva <oliva@dcc.unicamp.br>
13621 * docs/FAQ: new entries: how to label tapes, (not) spanning large
13622 filesystems across tapes, how to enable index generation,
13623 overwriting selected tapes, cleaning up databases, selecting tape
13626 1998-07-10 Alexandre Oliva <oliva@dcc.unicamp.br>
13628 * man/Makefile.am (EXTRA_DIST): amreport.8 is built from .8.in
13630 * configure.in (AC_OUTPUT): generate chg-chio.pl
13631 * changer-src/Makefile.am (EXTRA_DIST): removed chg-chio.c
13632 * changer-src/chg-chio.c: removed, as it was confusing make
13634 1998-07-10 Nick Hibma <nick.hibma@jrc.it>, Alexandre Oliva <oliva@dcc.unicamp.br>
13636 * changer-src/chg-chio.pl.in: new script, created to replace old
13637 chg-chio written in C
13638 * docs/TAPE.CHANGERS (chg-chio): document it
13639 * changer-src/Makefile.am (EXTRA_SCRIPTS): add chg-chio
13640 (EXTRA_DIST): still include chg-chio.c, just in case it is useful
13641 * configure.in (BUILD_CHANGER_SCRIPTS_LIBEXEC): add chg-chio
13643 1998-07-08 Alexandre Oliva <oliva@dcc.unicamp.br>
13645 * server-src/reporter.c (main): if no arguments are given, preserve
13646 original behavior; require config name otherwise. Perform better
13648 * example/DLT.ps (DrawHost): discard additional argument introduced
13649 in Steven Freed's modification
13650 * example/EXB-8500.ps (DrawHost): ditto
13651 * example/HP-DAT.ps (DrawHost): ditto
13653 * server-src/Makefile.am (amreport_SOURCES): build from reporter.c
13654 (driver_SOURCES) removed, no longer needed
13655 * man/Makefile.am (EXTRA_DIST): added amreport.8
13657 1998-07-08 Steven Freed <sfreed@gilasoft.com>
13659 * server-src/reporter.c (usage): new function
13660 (main): accept command-line arguments for selecting config name,
13661 output file, log file name to read from, postscript file to write
13663 (output_summary): print tape labels list, tape section numbers and
13665 * server-src/amdump.sh.in: run amreport
13666 * server-src/amflush.c (main): ditto
13668 * configure.in (BUILD_SERVER_PROGS_SBIN): add amreport
13669 (BUILD_SERVER_PROGS_LIBEXEC): remove reporter
13670 * man/amreport.8.in: new file
13671 * man/Makefile.am (man_MANS): added amreport.8
13672 * example/8.5x11.ps: new file
13674 1998-07-08 Alexandre Oliva <oliva@dcc.unicamp.br>
13676 * Makefile.am (ACLOCAL_M4): fix ||/&& precedence problem
13678 1998-07-07 John R. Jackson <jrj@purdue.edu>
13680 * changer-src/scsi-chio.c: move #include's so this will compile on
13681 systems without <sys/mtio.h> (e.g. AIX).
13683 1998-07-06 John R. Jackson <jrj@purdue.edu>
13685 * client-src/sendsize.c (handle_dumpline): allow the dump block
13686 count estimate to be negative. Found by Lance A. Brown
13687 <brown9@niehs.nih.gov> on NeXT.
13689 * common-src/Makefile.am, common-src/security.c: add TEST code to
13690 security.c so people can do "make security" and have a test program
13691 to track down why they are getting "access as XXX not allowed from
13694 * common-src/security.c (bsd_security_ok): allow the remote user
13695 field in .amandahosts to be empty ala .rhosts.
13697 1998-07-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13699 * server-src/amcheck.c (start_server_check): report space use for
13700 holding disk if a negative value is given in the use parameter.
13702 * server-src/driver.c (main): compute holding disk space if
13703 a negative value is given in the use parameter..
13705 * man/amanda.8.in (use) : document negative use paramater for
13708 * example/amanda.conf.in (use): document negative use paramater for
13711 1998-07-04 Alexandre Oliva <oliva@dcc.unicamp.br>
13713 * man/amanda.8.in (reserve): document it
13714 * example/amanda.conf.in (reserve, gigabytes): ditto
13715 (etimeout) negative number stands for total estimate time
13717 * NEWS: documented major changes since amanda 2.3.0.4
13719 * docs/INSTALL: refer to patch-system for editing services and
13722 * docs/FAQ: added entries for common amdump and amcheck errors
13724 * COPYRIGHT: updated to 1998, refer to Amanda Development Team
13725 * AUTHORS: who is the Amanda Development Team
13727 1998-07-03 John R. Jackson <jrj@purdue.edu>
13729 * docs/SYSTEM.NOTES: add comment about using the variable device name
13730 on IRIX. Otherwise, IRIX will write 4KByte physical blocks, which
13731 it appears to read OK, but not if you take the tape to some other
13732 system that does what you tell it. Discovered by Steve E. Khoo
13733 (steve@gordian.com).
13735 1998-07-02 Alexandre Oliva <oliva@dcc.unicamp.br>
13737 * server-src/planner.c (setup_estimate): handle new disks with
13738 skip-full correctly.
13740 * Makefile.am (aclocal.m4): must depend on libtool.m4, so as to
13741 force it to be newer on distributions.
13743 1998-07-01 John R. Jackson <jrj@purdue.edu>
13745 * server-src/driverio.h: change reserved_space to unsigned long to
13746 match free_space() and avoid a compiler warning.
13748 1998-06-30 John R. Jackson <jrj@purdue.edu>
13750 * man/amanda.8.in: fix amrecover synopsis and add a short description.
13751 Noted by Brendan M Coffey <bcoffey@connix.com>.
13753 * example/amanda.conf.in: make tapecycle example fit dumpcycle value
13754 better. Noted by Tom.Croll@radisys.com and suggested comments from
13755 Alexandre Oliva <oliva@dcc.unicamp.br>.
13757 1998-06-30 Alexandre Oliva <oliva@dcc.unicamp.br>
13759 * server-src/amdump.sh.in (maxdays): set up with tapecycle+2
13760 (days): loops from 1 to $maxdays, but stops if amdump.$days does not
13761 exist, so that we only rename amdump log files that exist. This
13762 prevents too long loops in case of an infinite tapecycle.
13763 Reported by Nick Hibma <nick.hibma@jrc.it>
13765 1998-06-28 Alexandre Oliva <oliva@dcc.unicamp.br>
13767 * common-src/security.c (bsd_security_ok): accept case mismatches
13768 when comparing hostnames and usernames from amandahosts, and assume
13769 localuser if username is missing.
13770 * docs/INSTALL: clarify BSD security and amandahosts, WRT to
13772 Reported by Chris Shenton <chris@absinthe.shenton.org>
13774 * server-src/reporter.c (output_tapeinfo): degraded mode no longer
13775 implies incremental dumps only.
13776 Reported by Randy Dees <rrd@amherst.com>
13778 1998-06-26 John R. Jackson <jrj@purdue.edu>
13780 * configure.in: fix BSD/OS Kerberos include file location.
13782 1998-06-26 Alexandre Oliva <oliva@dcc.unicamp.br>
13784 * config/ltmain.sh: install official patch to libtool 1.2a
13786 * configure.in: do not set max file size for Solaris 2.6, it is no
13789 1998-06-26 Tim McNerney <mumbly@netcom.com>
13791 * common-src/fileheader.c (parse_file_header): accept missing
13792 PROGRAM in tape section header, for backward compatibility.
13794 1998-06-25 Blair Zajac <blair@gps.caltech.edu>
13796 * server-src/amflush.c: fix mismatch arguments to error()
13798 1998-06-24 Steven Freed <sfreed@gilasoft.com>
13800 * configure.in (dump-honor-nodump): fix test for `-h' support
13802 1998-06-24 Scott Mesches <mesches@allison.Colorado.EDU>
13804 * example/DLT.ps: new file
13805 * example/Makefile.am (EXTRA_DIST): add DLT.ps
13807 1998-06-24 Alexandre Oliva <oliva@dcc.unicamp.br>
13809 * Makefile.am (EXTRA_DIST): moved CHANGES into ChangeLog
13811 * recover-src/extract_list.c (extract_files_child): handle
13812 IS_UNKNOWN dumptype as IS_DUMP
13814 * client-src/sendsize.c (getsize_dump): always create pipe for
13817 * client-src/amandad.c (sendnak): report `UNKNOWN' error if str is
13820 * amplot/amplot.awk: ignore `interface-state'
13821 Reported by Peter Walker <peter.walker@talarian.com>
13823 1998-06-24 Alexandre Oliva <oliva@dcc.unicamp.br>
13825 * server-src/amrmtape.sh.in: enable verbose by default; implement -q
13827 * man/amrmtape.8.in: ditto
13828 Suggested by Nick Hibma <nick.hibma@jrc.it>
13830 1998-06-24 Nick Hibma <nick.hibma@jrc.it>
13832 * server-src/amrmtape.sh.in: better error reporting for incorrect
13835 1998-06-24 Dan Swartzendruber <dswartz@druber.com>
13837 * server-src/conffile.h (RESERVE): new keyword.
13838 * server-src/conffile.c (RESERVE): ditto.
13839 (getconf_seen): recognize "reserve" keyword.
13840 (getconf_int): return value of "reserve" keyword.
13841 (read_confline): parse "reserve" line.
13842 * server-src/driverio.h (reserved_space): new global
13843 * server-src/driver.c (main): compute holding disk space to reserve
13844 for degraded dumps.
13845 (start_degraded_mode): if we haven't hit degraded mode reservation
13846 limit, allow full dump.
13848 1998-06-18 Blair Zajac <blair@gps.caltech.edu>
13850 * config/ltconfig: update to 1.2a
13851 * config/ltmain.sh: update to 1.2a
13852 * config/libtool/libtool.m4: update to 1.2a
13854 1998-06-17 John R. Jackson <jrj@purdue.edu>
13856 * server-src/dumper.c (write_tapeheader): comment out some variables
13857 to get rid of a compiler warning.
13859 1998-06-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13861 * server-src/amadmin.c (bumpsize): write wrong equation for bump
13864 1998-06-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13866 * man/amanda.8.in: add info about the chunksize parameter
13867 of the holdingdisk.
13868 * man/amanda.8.in: add info about amstatus command
13870 1998-06-13 Alexandre Oliva <oliva@dcc.unicamp.br>
13872 * common-src/Makefile.am (libamanda_version): updated
13873 * tape-src/Makefile.am (libtape_version): updated
13874 * client-src/Makefile.am (libclient_version): updated
13875 * server-src/Makefile.am (libserver_version): updated
13877 * server-src/taper.c (read_file): if switching to the next file
13878 fails or there's no next file, do not send a `W' to taper writer.
13880 * server-src/changer.h (changer_clean): new function
13881 * server-src/changer.c (changer_clean): ditto
13883 1998-06-13 Michael C. Povel <mcp@ladyada.han.de>
13885 * changer-src/chg-scsi.c: added ejetct_tape and sleep for external
13886 tape devices, and changed some code to allow multiple drives to use
13887 their own slots. Also added support for reserverd slots.
13888 * changer-src/libscsi.h (get_clean_state, eject_tape): new functions
13889 * changer-src/scsi-chio.c (get_clean_state, eject_tape): implemented
13891 * changer-src/scsi-hpux.c (get_clean_state, eject_tape): do nothing,
13892 until someone implements them
13893 * changer-src/scsi-proto.c (get_clean_state, eject_tape): new
13895 * docs/TAPE.CHANGERS: document new configuration file format
13896 * example/chg-scsi.conf: sample configuration file
13897 * example/Makefile.am: add chg-scsi.conf to the distribution
13898 * server-src/amtape.c: add support for `clean' command
13900 1998-06-13 Alexandre Oliva <oliva@dcc.unicamp.br>
13902 * docs/SYSTEM.NOTES: clean-up
13904 * docs/FAQ: new file
13905 * docs/SUNOS4.BUG: removed
13906 * Makefile.am: remove docs/SUNOS4.BUG and add docs/FAQ
13908 * example/amanda.conf.in (bumpmult): fixed equation for threshold
13909 * man/amanda.8.in (bumpsize): fix threshold example.
13910 problem reported by Brian McEntire <brianm@fsg1.nws.noaa.gov>
13912 * server-src/logfile.c (open_log): open log file with mode 0600.
13914 * server-src/amdump.sh.in: refuse to run if either amdump or log
13916 * server-src/amflush.c (main): refuse to run if log exists.
13917 * server-src/amcheck.c (start_server_check): do not perform tape
13918 testing if amdump and/or log exist in logdir.
13920 1998-06-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13922 * restore-src/amrestore.c (restore): fixed -p flag (and amrecover)
13923 should not dup2( A, B ); aclose(A) when A == B
13925 1998-06-10 Alexandre Oliva <oliva@dcc.unicamp.br>
13927 * client-src/sendsize.c (getsize_dump): use killpgrp
13928 unconditionally, so we're not bitten by setuid dump programs.
13929 * client-src/killpgrp.c: enable unconditionally.
13931 * tape-src/tapetype.c: new program: calculates tapetype parameters.
13932 * tape-src/Makefile.am (EXTRA_PROGRAMS): added tapetype.
13933 * example/amanda.conf.in: point to tapetype program.
13935 1998-06-09 Alexandre Oliva <oliva@dcc.unicamp.br>
13937 * docs/SAMBA: added notes about (not) backing up registry files and
13939 * docs/INSTALL: point to docs/SAMBA for usage and limitations
13941 1998-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
13943 * configure.in (amanda_cv_print_command): removed; using PRINT
13946 1998-06-07 Todd Kover <kovert@omniscient.com>
13948 * add --with-owner option to allow installed binaries to be owned
13949 by someone other than the amanda user
13951 * add GB as valid holding disk size.
13953 1998-06-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13955 * server-src/amadmin.c (info): don't need to specify an host.
13957 * server-src/amadmin.c (due): new due command to write when a
13958 filesystem is due ffor next level 0 or how much days it is
13961 * server-src/amstatus.pl.in (dump_size): new function to report
13962 the size of a dump split on multiple files.
13964 1998-06-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13966 * recover-src/extract_list.c (read_buffer): write a message
13967 when amrecover timeout waiting for amrestore to send the dump.
13969 1998-06-04 John R. Jackson <jrj@purdue.edu>
13971 * client-src/getfsent.c (main): use a dynamically allocated string
13972 for the lookups since dev2rdev alters it on the fly and some systems
13973 drop core for trying to write into read only memory. Also add the
13974 capability of passing additional lookups on the command line.
13976 * common-src/Makefile.am, common-src/file.c (main),
13977 common-src/token.c (main), server-src/conffile.c (dump_configuration,
13978 main), server-src/diskfile.c (main), server-src/infofile.c (main):
13979 Clean up compiler warnings in the test programs and make them all
13982 1998-06-03 Alexandre Oliva <oliva@dcc.unicamp.br>
13984 * amplot/amplot.sh.in: modified command line argument parsing
13985 mechanism, so as to prevent shell quoting problems and unportable
13987 Reported by Chris Jones <cjones@clydesdale.math.montana.edu>
13989 1998-06-02 John R. Jackson <jrj@purdue.edu>
13991 * server-src/amcheck.c (main), server-src/reporter.c (main): make
13992 sure internal errors, such as the mail command failing, get
13993 reported. In the case of amcheck, they go to stderr even if -m is
13994 set since there didn't seem to be anyplace better to do so and if
13995 this is running from a cron job it might get back to a real user.
13996 For reporter, the errors go to .../amdump along with everything
13997 else from the amdump script, and they should also go to .../log,
13998 except since it's reporter that's having the trouble, they probably
13999 will not make it into the mail report.
14001 1998-06-01 John R. Jackson <jrj@purdue.edu>
14003 * client-src/killpgrp.c: clean up minor compiler warnings by not
14004 building term_kill_{soft,hard} unless they are needed.
14006 * server-src/driverio.c (dumper_cmd): clean up compiler warning
14007 in printf format by forcing argument to always be long and using %ld.
14009 * server-src/driver.c: include <holding.h> to get declaration for
14010 unlink_holding_files and avoid a compiler warning.
14012 * common-src/amanda.h, common-src/match.c (validate_glob, match_glob,
14013 glob_to_regex), recover-src/amrecover.h, recover-src/extract_list.c
14014 (add_glob, add_regex, add_file, delete_glob, delete_regex,
14015 delete_file), recover-src/help.c (help_list), recover-src/uparse.y,
14016 recover-src/uscan.l, man/amrecover.8.in: add shell wildcard support
14017 for the add/delete amrecover commands. Add addx/deletex commands
14018 that use regular expressions. Support more characters in path names.
14020 1998-06-01 Dan Swartzendruber <dswartz@druber.com> via John R. Jackson
14022 * server-src/amlabel.c (main): check argc before referencing too
14023 far into argv for "-f".
14025 1998-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
14027 * docs/SYSTEM.NOTES: advise Linux users to use dump without
14030 * docs/INDEXING: update dumptype syntax
14032 1998-05-29 John R. Jackson <jrj@purdue.edu>
14034 * server-src/amindexd.c (uncompress_file, process_ls_dump,
14035 build_disk_table, is_dir_valid_opaque, opaque_ls): fix file
14036 descriptor leak, log the amadmin find command, fix error reporting
14037 from routines that do not generate system errors.
14038 * common-src/amanda.h: make sure errno is saved through amfree().
14040 1998-05-28 Alexandre Oliva <oliva@dcc.unicamp.br>
14042 * docs/SYSTEM.NOTES: GNU tar must be patched on HP/UX.
14043 * patches/tar-1.12.patch: ditto.
14045 * server-src/taper.c (endtape): do not log amount of used tape after
14046 entering degraded mode.
14048 * client-src/sendsize.c (getsize_dump): pass at least argv[0] to
14051 1998-05-28 Paul R. Johnson <prj@mit.edu>
14053 * client-src/sendbackup.c (check_status): when checking whether
14054 return status 1 is valid for dump, make sure it was *not* tar that
14057 1998-05-28 Tom Lear <toml@accesscom.com>, John R. Jackson <jrj@purdue.edu>
14059 * man/amcheck.8.in: document new -Maddress command line flag.
14060 * server-src/amcheck.c (usage, main): add -Maddress command line
14061 flag to send mail to a specific address instead of mailto from
14064 1998-05-27 John R. Jackson <jrj@purdue.edu>
14066 * man/amrestore.8: update for host/disk/date triplets.
14067 * recover-src/extract_list.c (extract_files_setup): pass datestamp
14068 argument in new position and without -d.
14069 * restore-src/amidxtaped.c (main): remove -d checks.
14070 * restore-src/amrestore.c (restore, usage, main): fix file descriptor
14071 leak, move datestamp to host/disk triplet and allow all to be repeated.
14073 1998-05-27 Alexandre Oliva <oliva@dcc.unicamp.br>
14075 * client-src/killpgrp.c (main): wait for either SIGTERM or EOF on
14078 * client-src/sendsize.c (getsize_dump): close the other end of
14079 killpgrp's stdin pipe before trying to kill it, because we just
14082 * configure.in (HAVE_HPUX_SCSI): check whether sys/scsi.h actually
14083 supports HP/UX-like changer commands.
14085 * config/acconfig.h (HAVE_HPUX_SCSI): indicates HP/UX-like changer
14086 interface is supported.
14088 * changer-src/scsi-hpux.c: check for HAVE_HPUX_SCSI instead of
14091 1998-05-25 Allen Briggs <briggs@canolog.ninthwonder.com>
14093 * changer-src/chg-manual.sh.in (ONLINEREGEX): add `^er=0$' for
14096 1998-05-23 Alexandre Oliva <oliva@dcc.unicamp.br>
14098 * client-src/sendsize.c (getsize_dump): killpgrp must be direct
14099 child of sendsize, otherwise sendsize won't be able to kill it.
14101 1998-05-23 Alexandre Oliva <oliva@dcc.unicamp.br>
14103 * configure.in (bcopy, bzero, fread, fwrite, vfprintf, vprintf,
14104 vsprintf): check for these in stdlib.h
14105 (memmove): check for it in strings.h
14107 * common-src/amanda.h (memmove): fix declaration of memmove, so as
14108 to be compatible with the ones in common-src/memmove.c and
14109 regex-src/fake/memmove.c
14111 reported by Tim Potter <tpot@acsys.anu.edu.au>
14113 1998-05-20 Alexandre Oliva <oliva@dcc.unicamp.br>
14115 * client-src/sendbackup.c (check_status): when checking whether dump
14116 returned 1, make sure it was not tar; #ifdef'ed out the code that
14117 ignores exit status 2 from gnutar (will be compiled in only if
14118 IGNORE_TAR_ERRORS is defined)
14119 * client-src/sendbackup-gnutar.c (GNUTAR active filesystem errors):
14120 updated comment; compile in GNUTAR error messages as DMP_NORMAL if
14121 IGNORE_TAR_ERRORS is defined; compile in SMBCLIENT error messages as
14122 DMP_NORMAL if IGNORE_SMBCLIENT_ERRORS is defined.
14124 1998-05-20 Tom Lear <toml@accesscom.com>
14126 * client-src/sendbackup.h (tarpid): new variable, used to check
14127 whether it is gnutar that is running
14128 * client-src/sendbackup-gnutar.c (start_backup): set tarpid when
14130 * client-src/sendbackup.c (check_status): if gnutar returns 2,
14133 1998-05-19 Jean-Louis Martineau <martineau@IRO.UMontrealCA>
14135 * client-src/amandad.c: set parse_errmsg when unexpected packet
14136 * recover-src/amrecover.c: overflow in clean_pathname()
14137 * recover-src/extract_list.c: add log in delete_file().
14138 small bug when call clean_pathname()
14139 * server-src/amindexd.c: ORLD command is not working
14140 * server-src/dumper.c: fixe overflow
14142 1998-05-17 Alexandre Oliva <oliva@dcc.unicamp.br>
14144 * configure.in: do not check for MAXFILESIZE
14145 * config/acconfig.h: do not define MAXFILESIZE
14146 * server-src/conffile.c: use INT_MAX instead of MAXFILESIZE
14147 * example/amanda.conf.in: ditto
14149 * server-src/driver.c (interface_state): new function; print the
14150 free bandwidth for each interface.
14151 (short_dump_state): call interface_state before holdingdisk_state
14153 * ChangeLog: renamed from CHANGES. Original entries follow.
14155 fix skip-incr handling so that reporter reports SKIPPED
14156 instead of missing result.
14157 -Jim Simmons <s4i@sws6.ctd.ornl.gov>
14159 split big dumps ( > MAXFILESIZE ) in multiple files on holding disk.
14160 new chunksize parameter in holdingdisk description of
14161 the amanda.conf file.
14162 -J-L Martineau <martineau@IRO.UMontreal.CA>
14164 an amstatus command that give the current state of a run.
14165 -J-L Martineau <martineau@IRO.UMontreal.CA>
14167 possibility to amflush multiple runs on one tape.
14168 possibility to select dump by datestamp in amrestore (-d datestamp).
14169 -J-L Martineau <martineau@IRO.UMontreal.CA>
14171 amidxtrm keep index of all active tapes as listed in tapelist file.
14172 -J-L Martineau <martineau@IRO.UMontreal.CA>
14174 the tapelist file keep every active tapes.
14175 "amadmin reuse" and "amadmin no-reuse" to mark tapes you want
14176 to keep for a long time.
14177 -J-L Martineau <martineau@IRO.UMontreal.CA>
14179 amlabel will not overwrite an amanda tape.
14180 The -f flag allow to overwriting an amanda tape.
14181 -J-L Martineau <martineau@IRO.UMontreal.CA>
14183 be consistent and use 1048576 as a dump size everyplace instead of
14184 100000 in some places (mostly cosmetic). -JJ
14186 negative numbers are now accepted in the configuration file
14189 allow a total estimate time-out to be specified. -oliva
14190 Suggested by Martyn Johnson <Martyn.Johnson@cl.cam.ac.uk>
14192 fix amtoc behavior in case of failed reads.
14193 -Niek Rijnbout <niek@knoware.nl>
14195 index files are now stored in a directory tree ala curinfo instead
14196 of a flat namespace. -JJ
14198 amrecover will now restore files using SAMBA.
14199 -Rob Riggs <rob@devilsthumb.com>
14201 VXDUMP needs not be run as root, so it no longer enables
14202 rundump automatically. -oliva
14204 new `killpgrp' setuid-root program. It is used to kill
14205 VDUMP, VXDUMP and XFSDUMP or with-rundump DUMP estimates in a
14207 -Joerg Behrens <jbehren@umpa06.gwdg.de> & oliva
14209 fixed amrmtape so that it will delete from tapelist only the
14210 entry that corresponds to the specified tape, not others that
14211 contain the tape name as a substring.
14212 -Nick Hibma <nick.hibma@jrc.it> & oliva
14214 Added support for FreeBSD dump -h flag (honor nodump).
14215 -James E. Housley <housley@pr-comm.com>
14217 Added support for ZFTAPE on Linux.
14218 -Albrecht Gebhardt <agebhard@zidsrv.sci.uni-klu.ac.at>
14220 Added support for printing tape labels.
14221 -Scott Mesches <mesches@allison.Colorado.EDU>
14223 Do not let amrecover die because of SIGPIPE if the pager terminates
14224 early during a long listing. Use the PAGER environment variable if
14225 available, else "more". -JJ
14227 Change log() calls to log_add() so it does not conflict with the math
14228 function of the same name. Replace pname global variable with two
14229 functions to set/get. Get rid of libamnolog. -JJ
14231 chg-chio was renamed to chg-scsi, and now it will support not
14232 only chio.h, but also tape changer interfaces available on
14233 HPUX, Solaris 2.5, IRIX and possibly others. Currently, only
14234 chio and HPUX are implemented.
14235 -Eric Schnoebelen <eric@cirr.com>
14237 Numerous bugs/errors were fixed in chg-chio/chg-scsi. it now
14238 properly responds to -eject requests, among other things.
14239 -Eric Schnoebelen <eric@cirr.com>
14243 updated to libtool 1.2a. -oliva
14245 fix kerberos encryption to work. -Chris Ross <cross@uu.net>
14247 add --with-owner option to optionally not have things owned by
14248 the amanda user. (meant to be in 2.4.0) -kovert
14250 only call initgroups() if it is available. -oliva
14252 check whether GNUTAR_LISTED_INCREMENTAL_DIR is a directory.
14253 -oliva, reported by J.A. Gutierrez <spd@gtc1.cps.unizar.es>
14255 amindexd no longer considers prefixes of hostnames as valid
14258 fix strappend2 so that it accepts a NULL first argument.
14259 -Rob Riggs <rob@devilsthumb.com>
14261 pass kerberos encryption switch to client.
14262 -Fredrik Jönsson <fjo@nada.kth.se>
14264 rename afree to amfree, to work around IRIX 6.4's afree.
14265 -oliva, reported Stephan P. Martin <smartin@schlund.de>
14267 implement `strategy skip' just like `ignore'.
14269 reported by Michael O'Shaughnessy <mikeo@emg.sms.siemens.com>
14271 amcheck now checks whether COMPRESS_PATH is executable, which
14272 would prevent server-compression and indexing from working.
14273 -oliva, reported by Peter Schultze <peter@mbi.ucla.edu>
14275 fixed dump estimate regular expression for DU 4.0.
14276 -Andreas Schmitz <schmitz@theorie.physik.uni-wuppertal.de>
14280 fixed memory corruption error in amtape.
14283 fixed VXDUMP support.
14284 -Andrew Ivanov <ivanov@mics.msu.su> & oliva
14286 typos fixed in chg-chs.
14287 -David Barr <dbarr@simplex.com>
14289 chg-mtx now prints error message if tapedev or changerdev must
14291 -Adrian T. Filipi-Martin <atf3r@cs.virginia.edu>
14293 fixed amflush problem, reported by Dietmar Goldbeck
14294 <dietmar@telemedia.de> -oliva
14296 Version 2.4.0-980319
14298 chg-mtx should use changer-dev if specified.
14299 -Steve Khoo <steve@gordian.com>
14301 flex-related backward-compatibility problem fixed.
14302 -Norman K Scherer <nsche@seros-48.hac.com>
14304 ported to RISCOS 4BSD. -Harlan Stenn <Harlan.Stenn@pfcs.com>
14306 when amrecover starts up, it will warn you $CWD is not the root
14307 of the selected filesystem. -oliva
14309 removed all uses of #elif, because some C compilers won't
14310 handle it correctly. -Gunther Felkel <G.Felkel@edelmann.de>
14312 fixed VDUMP-only (no DUMP defined) estimates.
14313 -Joern Behrens <jbehren@umpa05.gwdg.de>
14315 ported to UnixWare. -Jeff Moscow <jeff@rtr.com>
14317 improved vxdump support so that rundump will be used for vxfs
14318 filesystems only, and it will be enabled automatically. -oliva
14320 various portability problems fixed.
14322 taper will now log reason for tape error to log.<DATE> file,
14323 in addition to amdump.<n>.
14324 -Liudvikas Bukys <bukys@cs.rochester.edu>
14326 amflush now correctly updates the info database. -oliva
14327 reported by Liudvikas Bukys <bukys@cs.rochester.edu>
14329 sendsize now wait()s for tar and samba child processes. -oliva
14330 reported by Brian Morris <brian@mvhs.fuhsd.org>
14332 ensure that `amadmin find' reports multiple backups performed on
14333 the same day in the correct sequence.
14334 -Liudvikas Bukys <bukys@cs.rochester.edu>
14336 if backup server has multiple IP addresses, security code
14337 might reject it. -Gunnar Gunnarsson <gunnar@ki.ericsson.se>
14339 vdump would not work. -oliva
14341 kerberos support was broken. -mike
14343 Version 2.4.0-980222
14345 retry tape open on AIX if it fails with EAGAIN errno.
14346 -Francois Morris <Francois.Morris@lmcp.jussieu.fr>
14348 fix amrmtape so that it behaves well when files to amflush
14349 remain. Reported by Dietmar Goldbeck <dietmar@telemedia.de>
14351 retry tape rewind on FreeBSD. -Bob Willcox <bob@prm.com>
14353 read all output from amrestore otherwise, instead of the
14354 beginning of the next tape section, it would read garbage.
14355 -Terje Malmedal <tm@odin.funcom.com> & oliva
14357 formatting error in amoverview fixed.
14358 -Terje Malmedal <tm@odin.funcom.com>
14362 use vdump to dump advfs filesystems only. add support for vdump
14364 -Martyn Johnson <Martyn.Johnson@cl.cam.ac.uk> & oliva
14366 change index generation commands so that they are less prone
14367 to be fooled by blanks or strange characters in filenames.
14370 check whether exclude-list file exists before calling gnutar.
14371 If it does not, log a message to debugging file and discard it.
14372 selfcheck should check for that too, and print a warning message,
14373 but this is left for a future version. -oliva
14375 fix sendbackup-gnutar crashing problem. -oliva
14377 ensure that, in case of tape failure when dumping to tape, no
14378 incremental relative to the failed backup is performed.
14379 -oliva & Liudvikas Bukys <bukys@cs.rochester.edu>
14381 Fix buffer use and write() error handling in the index pipeline.
14382 -Dietmar Goldbeck <dietmar@telemedia.de>
14383 & Lars Fenneberg <lf@elemental.net>
14385 new index generation commands. -oliva
14389 accept curses and ncurses in addition to termcap for readline
14390 support, just as readline itself does. -oliva
14392 fix NO-ROOM handling when Kerberos encryption is enabled.
14393 -oliva & Eric Siegerman <erics@now.com>
14395 patch file for automake 1.2d provided. -oliva
14397 sendbackup.debug now contains the argument list of child
14400 wait() for child processes, such as server compressor, before
14401 accepting other commands.
14402 -Liudvikas Bukys <bukys@cs.rochester.edu>
14404 amrecover will print an error message if it is not run by root.
14405 It will not crash if you `pwd' before selecting a disk. -oliva
14407 updated to libtool 1.0i. -oliva
14409 fixed tape block size of vxdump on HPUX 10.20.
14410 -Andrew Ivanov <ivanov@mics.msu.su>
14412 Use "a" mode instead of "w" for the fdopen of the debug file.
14413 -David Lamkin <drl@net-tel.co.uk>
14415 allow multiple concurrent gnutar backups, by fixing amandates
14417 -Liudvikas Bukys <bukys@cs.rochester.edu>
14419 amdump should check for a hold file, as says the man-page.
14422 fix automatic enabling of USE_RUNDUMP for systems that require
14423 this. xfsdump support no longer requires USE_RUNDUMP to be
14424 defined, rundump will be enabled and used for xfs filesystems
14425 even if USE_RUNDUMP is not defined, unless XFSDUMP is not defined.
14426 This seems to have completely solved the xfsdump problems.
14429 when USE_RUNDUMP is enabled, instead of checking for read or write
14430 access in selfcheck, just test for the existence of disk devices.
14433 fixed code that computed the dump size when incomplete
14434 writes occurred in dumper. -Eric Siegerman <erics@now.com>
14436 amplot no longer crashes if there's no holding disk. -oliva
14440 fix xfsdump index generation command.
14441 -Robert Tarrall <tarrall@bamboo.colorado.edu>
14443 tape device wouldn't rewind if opened O_WRONLY.
14444 -Palle Girgensohn <girgen@partitur.se> & oliva
14446 use setpgid instead of setpgrp if available
14447 -Mark Woodford <woodford@uniprise.com> & oliva
14449 chg-mtx will check whether slot 6 is a cleaning tape or not.
14450 -Martyn Johnson <Martyn.Johnson@cl.cam.ac.uk>
14452 amrmtape updated to text database. -oliva
14454 incorrect NO-ROOM error when dumping directly to tape fixed.
14457 --with-user and --with-group become are now required. -oliva
14459 patch-system script much more configurable. -oliva
14461 amindexd must get an exact match for diskname.
14462 -Richard Kail <e8903122@student.tuwien.ac.at> & oliva
14464 fix serial number message in amflush
14465 -Liudvikas Bukys <bukys@cs.rochester.edu>
14467 removed backslashes from inside macro calls.
14468 un-indented # directives.
14469 -Gregory Neil Shapiro <gshapiro@WPI.EDU>
14471 bsd-security is now enabled by default. -oliva
14473 fixed estimate command for XFSDUMP.
14474 -Mark Radleigh <radleigh@image.ucr.edu>
14475 & Jeff Moskow <jeff@rtr.com>
14479 documented etimeout configuration option. -oliva&jrj
14481 prevent a few crashes in dumper and reporter. -jrj
14483 reporter would report the same host and disk for RESULTS MISSING.
14486 fix a few file-locking configure bugs. -oliva
14488 chg-multi updates and bugfixes.
14489 -Liudvikas Bukys <bukys@cs.rochester.edu>
14493 amindexd bugfix -Jos Alsters <Jos.Alsters@sci.kun.nl>
14495 New --disable-libtool configure option, for those who really don't
14496 want libraries to be installed. Shared libraries won't be
14497 built, of course. -oliva
14499 samba-related bugfixes.
14500 -Klaus Thiele <kth@becker-software.com>
14502 xfsdump, DNS and amidxtaped bugfixes. -martineau
14504 exclude-list support was broken, the filename was not copied
14505 to the gnutar argument list.
14506 -Stefan Bohm <Stefan.Bohm@rp-online.de>
14508 chg-chio still thought it was seagate-changer, and contained a
14509 few bugs. -Tim Tsai <tim@futuresouth.com>
14511 New file docs/RESTORE, by Daniel Moore <dmoore@jeffco.k12.co.us>
14515 Make sure amverify waits for the tape device to be ready before it
14516 starts reading each section. -oliva
14518 Fix amrecover so that it accepts filenames with blanks.
14519 -J. Shirk <jshirt@ksu.edu> & oliva
14521 Add a TIMEOUT config file parameter to replace the hard coded value
14522 in planner. -Daniel David Benson <bensond@ucdavis.edu>
14524 Change amrecover/amindexd/amidxtaped to require a SECURITY
14525 exchange if --with-bsd-security is enabled. It is done on a
14526 reserved port, which means amrecover must be run as root and that
14527 amindexd/amidxtaped need an entry for the incoming amrecover in
14528 either .rhosts or .amandahosts (Kerberos is not yet supported). --JJ
14530 Make our internal TEXTDB the default database style for the infofile.
14531 If you wish to keep using a dbm style database use the configure
14532 option "--with-db={db,dbm,gdbm,ndbm}".
14535 Sanitise the disk name in the TEXTDB code.
14536 **NOTE** if your infofile database uses TEXTDB (which has only been
14537 available since Amanda-2.4.0b1) and you have '/'s in the
14538 first field in disklist you will need to 'amadmin export'
14539 the data using the old version of Amanda, 'mv' the old
14540 database out of the way and 'amadmin import' it back again
14541 using the new version. When you are happy with the new
14542 version you may delete the old database.
14545 Get rid of DEV_ROOT/DEV_RROOT and figure out the raw name on the
14546 fly by trying a leading 'r' before each path element one at a time
14547 until we find a character device. This should handle all the current
14548 cases plus things like Solaris DiskSuite that have /dev/md/rdsk/xxx
14551 Change kill logic in sendsize to try TERM first, then KILL if that
14552 does not get dump's attention. This fixes a problem on AIX 4.x
14553 where dump was always getting a KILL and leaving orphaned message
14554 queues, which would eventually run the system out of resources. -JJ
14556 Extensive buffer management, bug and defensive coding overhaul
14558 * Use proper fgets/fread/read buffer size.
14559 * Wrote agets and areads to get a line without buffer overflow
14560 and changed most gets/fgets and some read calls to use it.
14561 * Replaced all *scanf("...%s...") with explicit pointer work.
14562 * Replaced most fixed size buffers with dynamic ones. This has
14563 no doubt introduced some memory leaks.
14564 * Replaced most sprintf calls with vstralloc (new routine).
14565 * Added overflow checks to some remaining explicit buffer
14567 * Made almost all read() and write() calls into loops to handle
14568 short and broken up transfers.
14569 * Fixed potentially uninitialized fstype field.
14570 * Added more sanity checks when parsing various things, including
14571 converting some assert() calls to real code.
14572 * The pattern amtrmidx used to find old index files to delete
14573 thought the date field was YYYY-MM-DD, but it is YYYYMMDD,
14574 so no files were being deleted.
14575 * Limited the number of directories listed by amflush to 26 to
14576 avoid funny characters in the user prompt.
14577 * Changed some of the amrecover routines to soak up the rest of
14578 the continuation lines after an error.
14579 * If a dumper dies, driver still tries to send a QUIT command
14580 which fails because the file descriptor has been closed.
14581 * Wrote afree macro that calls free and then sets the pointer
14582 to NULL. Changed most free calls to afree.
14583 * Wrote aclose/afclose/apclose macros to do the associated close
14584 and then set the argument to something invalid (-1 or NULL).
14585 * Check the file descriptor before calling FD_ISSET in dumper.
14586 Otherwise it goes to -1 on EOF and FD_* doesn't like that.
14587 * Call aclose() after FD_CLR (so the descriptor is not -1).
14589 * Added some TEXTDB support code to the infofile test program.
14590 * Set it up so -DPROTO_DEBUG could come from the compiler command
14591 line instead of having to modify the source.
14592 * Added -t command line flag code to sendbackup.c to support some
14594 * Added a test to amcheck to see if the log file is writable
14595 (if it already exists). During debugging, I keep leaving one
14596 around owned by root :-).
14597 * Changed upper limit on close loops from 255 to FD_SETSIZE.
14598 This probably needs some more study.
14601 If krb4 auth was compiled in but not enabled, clients would hang
14602 forever. -Aidan Cully <aidan@panix.com>
14604 Make sure SAMBA will not clear archive bits when performing an
14605 incremental backup, so any incremental will be a level 1.
14608 Add a LOGDIR option to amanda.conf and use it to replace the
14609 --with-logdir option to configure (this was only used for the
14610 amdump files) and the logfile option in amanda.conf. Log
14611 files are now LOGDIR/log and amdump files are LOGDIR/amdump.
14612 Note: if there is a LOGFILE option in amanda.conf it has its
14613 filename removed and is used as the LOGDIR (eg, if you have
14614 "logfile /usr/adm/amanda/log" in amanda.conf it is translated to
14615 "logdir /usr/adm/amanda" instead). This should not cause a
14616 problem for most sites.
14619 Remove --with-dbdir option from configure. This was only used
14620 to setup things for the man pages and example files. Oh.. and
14621 amrmtape. Fix this as well.
14624 Remove --with-indexdir option from configure. This is obtained
14625 from amanda.conf at run time. Also fix things so that it *is*
14626 obtained from amanda.conf in all cases.
14629 This is no longer tested on configure.in, since it is
14630 expressly forbidden to include kernel headers under glibc,
14631 according to Matthias Urlichs <smurf@noris.de>. However, Eric
14632 Doutreleau <ed@cti.ecp.fr> said he needed to include this
14633 header file in order to build amanda on
14634 sparc-unknown-linux-gnu. -oliva
14636 It is now possible to specify a username to be used to backup
14638 -Jean-Louis Martineau <martinea@iro.umontreal.ca>
14640 Make sure dumper replies with ABORT_FINISHED when a PORT-DUMP
14641 is aborted because of tape error.
14642 -Michael C. Povel <Michael.Povel@hub.de>
14644 Amcheck checks only for the needed features.
14645 -Jean-Louis Martineau <martinea@iro.umontreal.ca>
14647 Performance and memory-usage improvements to amrecover.
14648 -Jean-Louis Martineau <martinea@iro.umontreal.ca>
14650 Use extended regular expressions.
14651 -Noel Hunt <noel@jpmorgan.com>
14653 Fixed regular expressions for samba support.
14654 -Brian Fernald <fernald@nsi.edu>
14656 Fixed a few bugs that caused arithmetic exceptions in planner.
14657 -Bob Willcox <bob@luke.pmr.com>, Evan Champion
14658 <evanc@synapse.net>, scott and oliva
14660 amrecover should now be able to handle GNUtar restores.
14661 -Jean-Louis Martineau <martinea@iro.umontreal.ca>, plus
14662 incremental (-G) patch by Lars Fenneberg <lf@elemental.net>
14664 Ported to SINIX (Reliant Unix V5.43).
14665 -Michael Schmitz <mschmitz@iname.com>
14667 Configure now looks for large file support and will use it under
14668 Solaris 2.6 and above.
14669 -Blair Zajac <blair@gps.caltech.edu>
14671 Compatibility problems fixed for:
14672 SCO OpenServer 5.0.2: Paul Gampe <paulg@twics.com>
14676 New changerfile and changerdev configuration keywords, that
14677 allow changer scripts to be configured in the main amanda
14678 configuration file. Each changer script has been adapted, so
14679 that it uses those flags whenever possible. Also,
14680 documentation about built-in scripts has been added to
14681 docs/TAPE.CHANGERS. -oliva & Eric Schnoebelen
14682 <eric@egsner.cirr.com>
14684 --with-debugging now accepts a directory name, where debugging
14685 files should be stored. -John R. Jackson <jrj@cc.purdue.edu>
14687 Compatibility problems fixed for:
14688 NextStep 3.3: Fabrice GAILLARD <gaillard@ina.fr>
14689 SCO OpenServer V5: Christopher B. Olsen <colsen@compus.com>
14690 AIX: Georg Rehfeld <georg@wmd.de>
14692 Planner would core dump if it had to delay dumps. -Georg
14693 Rehfeld <georg@wmd.de>
14695 Added patch for samba to support very long filenames. -Todd
14696 Pfaff <todd@edge.cis.mcmaster.ca>
14698 Added VXDUMP support to estimate program. -oliva & John
14699 R. Jackson <jrj@cc.purdue.edu>
14701 Fixed amflush so that it cd's to the configuration directory
14702 before invoking reporter. -oliva
14704 driver no longer opens the infofile, so a deadlock is
14705 prevented. -oliva & John R. Jackson <jrj@cc.purdue.edu>
14707 Fixed typo in sendbackup-dump that would prevent compilation
14708 if either xfsdump or vxdump were enabled. -oliva
14710 Debugging messages produced by sendbackup are no longer
14711 included in the dump stream. -oliva
14713 amrestore should wait for the child process to die before
14714 re-opening the tape device. -Dietmar Braun
14715 <dietmar@tin-lizzy.hig>
14719 fixed race condition in debug file open operation. -oliva and
14722 exclude-list and exclude-file are correctly handled by
14723 sendsize. -oliva and Johann Klasek <jk@auto.tuwien.ac.at>
14725 fix some kerberos4 problems; no longer require low ports for
14726 kerberized connections; now use amanda@REALM instead of
14727 amanda.amanda@REALM in .klogin's. -kovert
14729 amrecover no longer depends on GNU flex library. -oliva
14731 Ensure that malloc(0) is not called. -Wolfram Schmidt
14732 <Wolfram.Schmidt@iao.fhg.de>
14734 Compression is now performed where specified, and server
14735 compress best specifications are obeyed. -oliva
14737 genversion now correctly recognizes the selected locking scheme.
14738 -Thomas Schmeidl <schmeidl@nwp.kwu.siemens.de>
14742 Several bugfixes by John R. Jackson <jrj@cc.purdue.edu>
14744 AIX's restore support added to amrecover. -David B. Anderson
14745 <dbanders@mail.physics.utah.edu>
14747 Dump process would not be killed unless it supported the -E
14748 flag (flipped #ifdef): fixed. -Steve Bower <sbower@raytheon.com>
14750 --with-testing now supports a trailing argument, that
14751 specifies the a string to be appended to service names. -oliva
14753 Recent versions of Samba require additional arguments so that
14754 estimates and total sizes are logged to stdout, not to syslog.
14755 -Ernie Oporto <ernie_oporto@MENTORG.COM> & Norbert Holzknecht
14756 <Holzknecht@fs31.vdeh-bfi.de>
14760 Improved planner backup-delaying mechanism. -scott
14762 Concurrent estimates are now supported. -oliva
14764 Shared library support included with GNU libtool. -oliva
14766 New hard-link-based locking mechanism for operating systems
14767 that do not support standard locking system calls. -scott
14769 New configuration file format, simpler and easier to
14772 New curinfo database format that uses only text files. The
14773 old dbm format is used by default, though. -scott
14775 DGUX support. -Brian Harvey <bharvey@raven.phs.com>
14777 Tentative HPUX vxdump support. -oliva
14779 Integrated amgetidx into dumper/sendbackup protocol. This
14780 ***breaks backward compatibility***! -oliva
14782 Have sendbackup-dump and sendbackup-gnutar list the actual
14783 program that should be used to restore a file from a backup
14784 instead of just listing restore or gtar. -blair&oliva
14786 Have configure check for the initgroups() declaration in
14787 unistd.h in addition to grp.h and sys/types.h, which is where
14788 some OSes have the declaration. -blair
14790 SAMBA backups wouldn't succeed if GNUTAR listed incrementals
14791 were enabled. SAMBA password file can now specify workgroup
14792 and may contain comments. -oliva
14794 Fixed xfsdump support. -oliva
14796 Fixed srvcompress option. -oliva
14798 Fixed exclude/exclude-list support. -oliva
14800 Change umask to 066 before creating index file in /tmp. -oliva
14802 Fixed autoconf for gdbm on linux. -oliva
14804 configure now seeks out a few possible locations for
14805 kerberos4 includes and tries to find the correct path if
14806 the kerberos bits have been installed. It's possible for
14807 someone to just specify the root of a kerberos tree for
14808 where the bits live, as well. -kovert
14812 Have bsd_security_ok() in amandad return 1 when BSD security is
14813 not turned on. Patch from Michael C. Grant
14814 <mcgrant@rascals.Stanford.EDU>.
14816 Add a configure option, --with-db, which lets the user specify
14817 the database library to use. The available codes to look for
14818 are db,dbm,gdbm,ndbm. The new configure code goes to a lot
14819 more length to find pairs of header files and libraries. If a
14820 header file exists and the library does not, but dbm_open() is
14821 found by linking against -lc, then that header file is used.
14822 Patch from Blair Zajac <blair@gps.caltech.edu>.
14824 Fixed bug at line 158 where selfcheck was testing that the
14825 result returned by open() was nonzero. The correct thing to do
14826 is check for non-negative values returned by open(). Changed
14827 the "ERROR" in line 169 to "OK" to prevent selfcheck from
14828 flagging the non-existence of /etc/amandapass as an error.
14829 Using "OK" in this line flags this condition as an informative
14830 statement rather than an error - which is to say this will be
14831 reported along with other errors but it isn't enough in itself
14832 to generate an error report. The reason that I think this is
14833 the right fix is because although every Amanda client is
14834 capable of backing up PCs using smbclient it isn't the case
14835 that we will back up PCs with every Amanda client. This also
14836 implies that we don't want to have /etc/amandapass files on all
14837 these machines either. If an Amanda client does have a samba
14838 "//host/share" entry in its disklist file then selfcheck will
14839 flag the non-existence of the /etc/amandapass file on line 105
14840 when it attempts to check that partition, so I believe that
14841 this is a safe fix. Patch from Michael Brantley
14842 <Michael-Brantley@deshaw.com>.
14844 Have all calls to gethostname() leave the result in character
14845 arrays of length 1025. This will make sure that gethostname
14846 behaves correctly. Patch from blair Zajac
14847 <blair@gps.caltech.edu>.
14849 Have amrecover.c include history.h or readline/history.h if
14850 configure finds it. Patch from blair Zajac
14851 <blair@gps.caltech.edu>.
14853 Have Amanda use cat if gzip and compress cannot be found. In
14854 this case, do not #define COMPRESS_FAST_OPT, COMPRESS_BEST_OPT,
14855 or UNCOMPRESS_OPT as "" since cat will look look for a file by
14856 the name of "". Place #ifdef's around code that uses any of
14857 the _OPT defines. Patch from Blair Zajac
14858 <blair@gps.caltech.edu>.
14860 Rewrite amgetidx to use amandad instead of rsh/rcp. amgetidx
14861 now only gets the index files from a given day. It now takes
14862 two optionally arguments <on day> or <ago days>. <on day> lets
14863 the user specify the day in one of the forms YYYYMMDD MMDD DD
14864 YYYY-MM-DD --MM-DD ---DD. <ago days> gets the files from days
14865 days ago. Have configure look for an appropriate directory to
14866 use for the temporary files on the clients. Use /var/tmp, then
14867 /usr/tmp, and if neither of those exist, then use /tmp. Have
14868 selfcheck check if the index holding directory has enough space
14869 in it. Add a new program called sendindex which sends the
14870 index files. Add the file docs/INDEXING which describes the
14871 index code. Patch from Alan McIvor <alan@auck.irl.cri.nz>.
14873 Have configure set up mt to use either the -f or the -t option
14874 depending upon the operating system. Patch from Blair Zajac
14875 <blair@gps.caltech.edu>.
14877 Include the amanda_tapetypes.txt file as docs/TAPETYPES. File
14878 composed by Chris Stacey <chris@snrc.uow.edu.au>.
14880 Allow certain dumptypes to be kicked off at specific times.
14881 Add a new, optional, parameter to the dumptype description in
14882 the config file. The parameter is called "starttime" and takes
14883 one argument which is a time of day (local timezone) formated
14884 as either hhmm or hmm (no `.'s, no `:'s, just an integer).
14885 define dumptype comp-user-2am {
14886 comment "Non-root partitions on fast machines"
14887 options compress-fast
14891 Any partitions listed in disklist with this dumptype will be
14892 fired off no earlier than 2am. If 2am today is less than 43200
14893 seconds past (12 hours ago) it will assume you meant 2am today
14894 and fire the dumps off right away. But if 2am today is more
14895 than 12 hours in the past, it will wait till 2am tomorrow.
14896 Patch from Brad Huntting <huntting@misc.glarp.com>.
14898 Totally rewrite the socket buffering code for dumper.
14899 Eliminate SO_SNDTIMEO and SO_RCVTIMEO setsockopt calls. Remove
14900 the check for HAVE_SO_SNDTIMEO from configure. Add a new
14901 option to configure named --enable-buffered-dump to enable this
14902 code. Patch from Brad Huntting <huntting@misc.glarp.com>.
14904 Have amflush call setsid() to detach amflush from the
14905 controlling terminal. Patch from Ken Laprade
14906 <klaprade@harris.com>.
14908 Have configure correctly work on systems where dbm_open is in
14909 libc. Patch from Farzad Farid <farzy@sgip.fr>.
14911 Patches to amrmtape which remove C style comments and let the
14912 script remove a tape if there is only one tape in the tapelist
14913 file. Patch from Andrew A. Ivanov <IVANOV@mics.msu.su>.
14915 Sprintf formatting error in amgetidx fixed. Patch from Yossi
14916 Gottlieb <yogo@xpert.com>.
14918 I'm using a Sony SDT/STL-7000 4mm DAT changer. I could not
14919 find any method of directly controlling the device, except for
14920 simply using the 'offline' mt command for advancing to the next
14921 tape. Using this method, however, I could not go beyond the
14922 last cassette (that is, to roll back to the first one). This
14923 means the device is currently being used as a simple gravity
14924 changer, only able to change forward. The chg-generic.conf
14925 should list the default tape device for all slots, disable
14926 'needeject', enable 'gravity' and enable the new option named
14927 'multieject'. Patch from Yossi Gottlieb <yogo@xpert.com>.
14929 Update the example chg-generic.conf file to include comments
14930 that describe how to use the multieject feature of the script.
14931 Patch from Yossi Gottlieb <yogo@xpert.com>.
14933 Protocol seems to loop when a A_TIMEOUT occurs because
14934 p->reqtries was not being decremented. Problem noted by Neal
14935 Becker <neal@ctd.comsat.com>.
14937 About half the calls to gethostname() in Amanda fail to
14938 null-terminate properly. This patch makes them all
14939 consistent. In addition it updates sendbackup-dump and
14940 sendbackup-gnutar so they handle USE_FQDN is a way consistent
14941 with the amindex stuff. In particular when USE_FQDN is set,
14942 the dump clients will not truncate their hostname before
14943 putting it in the dump headers. My patches to amflush are
14944 already in the Amanda betas so amflush should be able to match
14945 up both FQDN and non-FQDN clients against FQDN and non-FQDN
14946 disklist files. I also fixed an error message that was
14947 attributed to gethostname when it actually came from
14948 getpeername. Patches from James Mathiesen
14949 <james@nyc.deshaw.com>.
14951 I have run into the problem, on a Linux system, where the first
14952 time I run configure it generates valid Makefiles and Amanda
14953 compiles without problem. If I run configure again, or I alter
14954 a Makefile.in or something which causes autoconf to be called,
14955 the resulting Makefiles are no good - the programs in
14956 server-src don't finish linking because there is no dbm
14957 library. That is, the first time through configure -lgdbm is
14958 added to LIBS but the second, and any subsequent times, it is
14959 not. Patch from Alan McIvor <alan@auck.irl.cri.nz>.
14961 I've just found a bug that has prevented Amanda from running on
14962 my site for almost one week. Just after a dumper replied that
14963 it timed-out, the driver would send it another dump request.
14964 Then the driver would log to amdump an event of receiving a
14965 message from the dumper, but that message would be empty, the
14966 holding file for the requested filesystem would not exist, and
14967 driver would quit. It turned out that the problem was that
14968 dumper started to close its sockets (datafd, mesgfd and outfd)
14969 since release 2.3.0.4b3. outfd is initialized before invoking
14970 startup_dump, but it is sendbackup_response, intended to be
14971 invoked by the amandad protocol driver, that opens sockets and
14972 initializes datafd and mesgfd. If sendbackup_response is never
14973 run (because the amandad request times out), datafd and mesgfd
14974 will not be initialized, so they may contain already closed
14975 (and possibly already reopened) file descriptor numbers or
14976 still be uninitialized, containing any garbage, but usually 0
14977 --- but 0 is stdin, used for reading commands from the driver,
14978 it should not be closed! I've solved the problem by
14979 initializing them to -1 in startup_dump. Patch from Alexandre
14980 Oliva <oliva@dcc.unicamp.br>.
14982 Include declarations for select(), bind(), connect(), fread(),
14983 fwrite(), getopt(), getpeername(), getsockname(), getsockopt(),
14984 initgroups(), listen(), lstat(), mktemp(), mktime(), puts(),
14985 recvfrom(), select(), sendto(), setpgrp(), setsockopt(),
14986 shmat(), shmctl(), shmdt(), shmget(), socketpair(), sscanf(),
14987 strftime(), strncasecmp(), system() if the system does not
14988 declare these in any header files. Patch from Blair Zajac
14989 <blair@gps.caltech.edu>.
14991 Have configure correctly substitute for DB_DIR and LOG_DIR in
14992 example/amanda.conf when --prefix was not used. Problem noted
14993 by Philippe Charnier <charnier@xp11.frmug.org>.
14995 Include seagate-changer.c from Larry D. Pyeatt
14996 <pyeatt@cs.colostate.edu>. This program was written to control
14997 the Seagate/Conner/Archive autoloading DAT drive. This drive
14998 normally has 4 tape capacity but can be expanded to 12 tapes
14999 with an optional tape cartridge. This program may also work on
15000 other drives. This program works for me under Linux with Gerd
15001 Knorr's <kraxel@cs.tu-berlin.de> SCSI media changer driver
15002 installed as a kernel module. The kernel module is available
15004 http://sunsite.unc.edu/pub/Linux/kernel/patches/scsi/scsi-changer*
15005 Since the Linux media changer is based on NetBSD, this program
15006 should also work for NetBSD, although I have not tried it. It
15007 may be necessary to change the IOCTL calls to work on other
15010 Add a new configure option, --with-group, which tells Amanda
15011 the group to install all files as. Patch from Alexandre Oliva
15012 <oliva@dcc.unicamp.br>.
15014 If --with-bsd-security was not set, then dumper would not find
15015 the amanda/udp port to use to connect to clients. Patch from
15016 Alan McIvor <alan@auck.irl.cri.nz>.
15018 The order of dump programs to search for (ufsdump, vdump, dump,
15019 backup) didn't work on AIX systems, where backup should be used
15020 but a program named dump exists on the system. Patch by Blair
15021 Zajac <blair@gps.caltech.edu>.
15023 The configure --with-mmap was not working properly since
15024 configure was using the wrong variable to see if the system had
15025 a working mmap(). Problem noted by Keith Mitchell
15026 <kmitch@weenix.guru.org>.
15030 Save the results of getchar() into int's instead of char's in
15031 amidxtaped.c. Patch by Blair Zajac <blair@gps.caltech.edu>.
15033 Fix sendbackup-gnutar so that it can be compiled with a K&R
15034 compiler. Patch by Blair Zajac <blair@gps.caltech.edu>.
15036 Since I installed Amanda 2.3.0.4b3, I noticed some annoying
15037 messages in amdump:
15038 dumper: pid 8696 setsockopt(SO_SNDTIMEO): Invalid argument
15039 This is because Solaris 2.5 does declare SO_SNDTIMEO in
15040 sys/socket.h, but fails to setsockopt with the given
15041 arguments. Unfortunately, it is not documented, so I could not
15042 find out the correct way to do this, so I just added a test in
15043 configure to check whether SO_SNDTIMEO works as expected or
15044 not. Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
15046 Include amplot-2.2.6 written by Olafur Gudmundsson
15047 <ogud@tis.com> into Amanda. Have amplot be configured using
15048 configure instead of amplot.conf. It will be installed if
15049 gnuplot and the version of awk configure finds can handle
15050 variable assignment from the command line. I also changed some
15051 of the command line options so that the amdump files will not
15052 be compressed unless amplot is told to do so on the command
15053 line. It also takes a new command line option, -t, which lets
15054 the user set the time of the right side of the plot. Work done
15055 by Blair Zajac <blair@gps.caltech.edu>.
15057 Made rth-changer check all system calls for valid returns.
15058 Patch by Blair Zajac <blair@gps.caltech.edu>.
15060 amrestore.c and sendbackup-common.c would do an ifdef on
15061 HAVE_GZIP, which was no longer being defined if Amanda was
15062 using gzip. Now, define HAVE_GZIP if gzip is being used.
15063 Patch by Blair Zajac <blair@gps.caltech.edu>.
15065 Include a script, amoverview, that outputs an overview of all
15066 of the backups done on all of the disks. Script written by
15067 Dave Disser <disser@sdd.hp.com>.
15069 The prototype for amname_to_fstype() is missing in
15070 createindex-dump.c when xfsdump is available. Patch from Ken
15071 Laprade <klaprade@harris.com>.
15073 Apparently SGI provides a dummy libsun.a that does not really
15074 have anything in it. I guess this tricks configure into adding
15075 it to the Makefile. Have configure not check for libsun.a on
15076 SGI systems. Patch from Ken Laprade <klaprade@harris.com>.
15078 The global variable overwrite in amcheck.c apparently is seen
15079 as a potential conflict with the overwrite() curses function
15080 which is apparently in SGI's libtermcap.a. Declaring the
15081 variable static eliminates the warning. Patch from Ken Laprade
15082 <klaprade@harris.com>.
15084 Add a new configure option, --with-fqdn, which allows Amanda to
15085 back up systems in different domains. This requires that the
15086 disklist file have the fully qualified domain names (FQDNs)
15087 listed. Patch from Joe Ammond <Joe.Ammond@ee.gatech.edu>.
15089 Include rundump, a setuid program that runs dump as root. This
15090 is used under OSF1 systems. Patch from Alexandre Oliva
15091 <oliva@dcc.unicamp.br>.
15093 Install setuid files executable only by the owner and group of
15094 the files. This stops other users from running these programs,
15095 making security tighter. Patch from Alexandre Oliva
15096 <oliva@dcc.unicamp.br>.
15098 On FreeBSD 3.0, amanda.h needs to include <sys/types.h> before
15099 <dirent.h>. Problem noted by Keith Mitchell
15100 <kmitch@weenix.guru.org>.
15102 Amanda had a bug regarding the recent addition of support for
15103 excluding files in GNUTAR. planner and sendsize did not
15104 understand each other about empty exclusion lists, so there
15105 were failures using gnutar, as dump does not support excludes.
15106 Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
15108 Fixed a problem in configure where DUMP was being set to
15109 /no/restore/available when no restore program could be found
15110 instead of setting RESTORE to this. Patch from Alexandre Oliva
15111 <oliva@dcc.unicamp.br>.
15113 Have no-changer and hp-changer check for the existence of the
15114 logging directory before trying to use it. Patch by Blair
15115 Zajac <blair@gps.caltech.edu>.
15117 Patches to have nicer looking Samba support code. Patch from
15118 Michael Zucchi <cismpz@cis.unisa.edu.au>.
15120 Got Amanda to compile fine on a m88k-motorola-sysv4 system.
15121 Patches from Blair Zajac <blair@gps.caltech.edu>.
15123 In amandad.c, pk_t dupmsg was conflicting with dupmsg in
15124 /usr/include/sys/stream.h on an m88k-motorola-sysv4 system.
15125 Rename dupmsg to dup_msg. To keep things consistent, rename
15126 inmsg to in_msg and outmsg to out_msg. Patch by Blair Zajac
15127 <blair@gps.caltech.edu>.
15129 Check for the dbm_open declaration in any header file that may
15130 contain it. If it doesn't exist, then declare it and all of
15131 the other dbm_ functions. Check if struct datum is declared in
15132 any header files and if it isn't then declare it. Patch from
15133 Blair Zajac <blair@gps.caltech.edu>.
15135 Have runtar make sure that it is being invoked by the
15136 CLIENT_LOGIN user, since it is a suid executable. Patch from
15137 Alexandre Oliva <oliva@dcc.unicamp.br>.
15139 Have selfcheck check for /etc/vdumpdates if vdump is being
15140 used. Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
15142 If we're on an Ultrix system, then define STATFS_ULTRIX. Patch
15143 by Blair Zajac <blair@gps.caltech.edu>.
15145 amadmin export produces a full version number (2.3.0.4b2, for
15146 instance), while amadmin import expects three integers
15147 separated by dots, so it fails to import an exported file by
15148 itself. Patch by Alexandre Oliva <oliva@dcc.unicamp.br>.
15150 Sendsize.c would loop forever if debugging was not turned on.
15151 Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
15153 Define STATFS_OSF1 if we are on a *-dec-osf-* system. Change
15154 ifdef OSF1_HANG_BUG to ifdef OSF1_VDUMP, since I'd rather not
15155 have too many defines floating around. Patch by Blair Zajac
15156 <blair@gps.caltech.edu>.
15158 There was a bug in selfcheck.c when Blair installed the Samba
15159 support. I deleted an extra space that was added after
15160 SAMBA_CLIENT when the command was being put together. Fix by
15161 Michael Zucchi <cismpz@cis.unisa.edu.au>.
15163 Add a needed ; to client-src/Makefile.am and
15164 server-src/Makefile.am. Patch from Alexandre Oliva
15165 <oliva@dcc.unicamp.br>.
15167 Have planner.c and amcheck.c always get the amanda port number
15168 even if BSD security is turned off. Patch by Blair Zajac
15169 <blair@gps.caltech.edu>.
15171 Change the way amgetidx caches host up/down information. It
15172 used to stralloc() a string depending on if the host was up or
15173 down. Now, create two static character arrays, one holding
15174 "down" and the other holding "up" and simply point the
15175 hostinfo->up pointer to one of the two arrays. This should
15176 save a little memory. Patch by Blair Zajac
15177 <blair@gps.caltech.edu>.
15179 The Bourne shell in FreeBSD can't handle setting IFS to : and
15180 expanding $LOCPATH:$SYSPATH. Create two new variables before
15181 their use called $LOCSYSPATH and $SYSLOCPATH. Patch by Blair
15182 Zajac <blair@gps.caltech.edu>.
15184 Have open_fstab for BSD systems return the value of setfsent.
15185 Patch by Blair Zajac <blair@gps.caltech.edu>.
15187 Configure was searching for the dump program in the following
15188 order: ufsdump, vdump, backup, dump. On HP-UX systems,
15189 configure would find backup, which is a valid program but does
15190 not do what dump does. So switch the order of the programs to
15191 ufsdump, vdump, dump, backup. Patch by Blair Zajac
15192 <blair@gps.caltech.edu>.
15194 Fixed some dbprintf(()) bugs in amgetidx.c. Patch by Blair
15195 Zajac <blair@gps.caltech.edu>.
15197 Have amrecover.c always declare
15198 extern char *optarg;
15200 This makes amrecover.c compile on Ultrix systems. Problem
15201 noted by Scott Gasch <scott@cray-ymp.acm.stuorg.vt.edu>.
15203 Patch to configure to have it recognize gnutar version 1.11.2.
15204 Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
15208 Have amcleanup, no-changer, and hp-changer find out where the
15209 logging directory, or amdump error file is from getconf instead
15210 of using @LOG_DIR@ or @DB_DIR@ from configure. Problem noted
15211 by Joe Ammond <Joe.Ammond@ee.gatech.edu>.
15213 Remove VarDir=@DB_DIR@ from amrmtape.sh.in, since amrmtape
15214 figures out where the curinfo files are from the amanda.conf
15215 file. Problem noted by Joe Ammond <Joe.Ammond@ee.gatech.edu>.
15217 Include rth-changer, a tape changer script for the Robotic Tape
15218 Handling system OEM'd by Andataco (RTH-406). Script written by
15219 Erik Frederick <edf@tyrell.mc.duke.edu>.
15221 Add a new configure option called --with-pid-debug-files which
15222 has Amanda append the process ID to the debugging files placed
15223 in /tmp. The PID will not be appended unless this option is
15224 used. Suggestion by Joe Ammond <Joe.Ammond@ee.gatech.edu>.
15226 Add a new #define UNCOMPRESS_OPT to pass to UNCOMPRESS_PATH to
15227 get compressed standard input decompressed and pass it to
15228 standard output. The configure script only recognized gzip and
15229 compress right now, so it will set UNCOMPRESS_OPT to -dc and
15230 set UNCOMPRESS_PATH to the same value as COMPRESS_PATH. Edit
15231 all of the files that make use of UNCOMPRESS_PATH to also make
15232 use of UNCOMPRESS_OPT now. Patch by Blair Zajac
15233 <blair@gps.caltech.edu>.
15235 The readline() substitute in amrecover.c when the real
15236 readline() code is not available did not return to the caller
15237 what the user typed in. It now does so. Patch from Blair
15238 Zajac <blair@gps.caltech.edu>.
15240 Avoid -lnsl on Irix. On IRIX 5.x and 6.x systems that have the
15241 svr4net module installed, there will be a /usr/lib/libnsl.so
15242 present on the system. The configure script looks for this and
15243 tosses into the library list if it's there. It is not
15244 advisable to link against libnsl on IRIX unless you really need
15245 it for SVR4 networking (TLI/STREAMS). If you _do_ link against
15246 it, you should use include '-lc' _before_ '-lnsl'. The reason
15247 for this is that libnsl.so also contains the SysV TI-RPC code,
15248 which is RPC based on STREAMS/TLI rather than sockets. (Solaris
15249 2.x now uses this by default.) TI-RPC has some compatibility
15250 functions with the same names as older RPC functions, such as
15251 clnt_call(), clnt_create(), clnt_destroy(), and these conflict
15252 with the functions in libc.so. The main place this will hose
15253 you is NIS: NIS v2 expects the underlying RPC code to use
15254 sockets, not STREAMS, and it fails if the TI-RPC symbols in
15255 libnsl.so override the RPC symbols in libc.so. Again, you
15256 don't need libnsl.so unless you're actually using STREAMS/TLI
15257 or TI-RPC, so in Amanda's case it's safe to just ignore it. If
15258 you _do_ need it, you must do 'cc -o foo foo.c -lc -lnsl' in
15259 order to make sure the linker resolves the RPC symbol
15260 references correctly. The primary symptom of this problem is
15261 that things like getpwent(), getgrent() and getnetgrent() stop
15262 working in an NIS environment. To make a long story short: on
15263 IRIX, avoid using libnsl. Amanda doesn't need it anyway. So far
15264 I haven't encountered a problem with this, but you never know.
15265 Note from Bill Paul <wpaul@ctr.columbia.edu>.
15267 Include patches to have Amanda do incrementals of gnutar based
15268 backups. Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
15270 Delete the GNUTAR_BROKEN_PIPE from configure and acconfig.h
15271 since no code was testing for it. Patch by Blair Zajac
15272 <blair@gps.caltech.edu>.
15274 Have configure check for the number of arguments that
15275 gettimeofday takes and have clock.c use the appropriate number
15276 of arguments. Patch by Blair Zajac <blair@gps.caltech.edu>.
15278 Have sendbackup-common.c include tapeio.h instead of defining
15279 BUFFER_SIZE. Fix by Philip Guenther <guenther@gac.edu>.
15281 Put in more support for AIX by defining AIX_BACKUP if the
15282 system is an AIX system. Fix createindex-dump.c to pass the -B
15283 flag to restore to have it read from standard input. Problem
15284 noted by Bill Paul <wpaul@ctr.columbia.edu>. Patch by Blair
15285 Zajac <blair@gps.caltech.edu>.
15287 Add a regexp for AIX 4's backup in sendbackup-dump.c and
15288 sendsize.c. Patch from Bill Paul <wpaul@ctr.columbia.edu>.
15290 Add a comment to tapeio.h about BUFFER_SIZE and what it is used
15291 for and how people should not change it. Noted by Bill Paul
15292 <wpaul@ctr.columbia.edu>.
15294 Added a --with-mmap option to force the use of mmap() instead
15295 of shared memory support. Requested by wpaul@ctr.columbia.edu
15296 <Bill Paul>. Patch by Blair Zajac <blair@gps.caltech.edu>.
15298 On FreeBSD 2.x and 3.x, the SO_SNDTIMEOUT value is too large in
15299 dumper.c. Looking at the kernel source, the maximum value for
15300 tv_sec is about 227. The value used is READ_TIMEOUT/4, or
15301 (30*60)/4 == 450 seconds. This causes setsockopt() to return
15302 EDOM (Numerical argument out of domain), and again everything
15303 grinds to a halt. I changed the value from READ_TIMEOUT/4 to
15304 READ_TIMEOUT/8, which reduces the SO_SNDTIMEO value to 225. I
15305 haven't extensively tested this yet, but based on eyeballing
15306 the kernel source it should work. Patch from Bill Paul
15307 <wpaul@ctr.columbia.edu>.
15309 In dumper.c:do_dump(), there is code to set the transmission
15310 timeout, receive buffer size and receive low water mark on the
15311 data socket using setsockopt(). For SO_RECVBUF, the receive
15312 buffer size (recbuf) is set to DATABUF_SIZE * 4, which is
15313 32*1024*4, or 131072. On SunOS 4.1.x, this value is too
15314 large: dumper generates a 'no buffer space available' error
15315 and everything grinds to a halt. I took away the '*4', which
15316 reduces the size to 32767 bytes, which seems to work. I'm
15317 surprised nobody else has noticed this since it breaks SunOS
15318 Amanda servers. I can only surmise that people aren't using
15319 SunOS machines as servers these days. :) Patch from Bill Paul
15320 <wpaul@ctr.columbia.edu>.
15322 Have Amanda include either readline.h or readline/readline.h
15323 Fix suggested by Neal Becker <neal@ctd.comsat.com>.
15325 Have --with-includes put the -I flags into $CPPFLAGS and
15326 $CFLAGS so that AC_CHECK_HEADERS will find other include
15327 files. Problem noted by Neal Becker <neal@ctd.comsat.com>.
15329 Fixed common-src/Makefile.am to put the extra libamanda.a
15330 sources into the EXTRA_libamanda_a_SOURCES variable instead of
15331 EXTRA_DIST. Fix from Tom Tromey <tromey@drip.Colorado.EDU>.
15333 When compiling amgetidx.c with some compilers, trigraph
15334 substitutions were being made when they should not have been.
15335 Protect the code from this. Patch from Blair Zajac
15336 <blair@gps.caltech.edu>.
15338 Test for flock support in the following order:
15339 1) POSIX fcntl file locking
15342 The common-src/flock.c file will only be used if the lockf type
15343 locking is needed on this system. Patch from Blair Zajac
15344 <blair@gps.caltech.edu>.
15346 Have Samba support compile in only if requested by the user.
15347 Patch from Blair Zajac <blair@gps.caltech.edu>.
15349 Configure was not using $CFLAGS and $CPPFLAGS when trying to
15350 calculate the select argument type. Patch from Blair Zajac
15351 <blair@gps.caltech.edu>.
15353 Updated amanda.h to include alloca.h if the system has it and
15354 if it's ok to include. Also protect more include files with
15355 #ifdefs found by configure. Patch from Blair Zajac
15356 <blair@gps.caltech.edu>.
15358 Linux does not use the raw device names to do backups.
15359 configure now checks to see if it can find a raw disk device
15360 file whose name is built from root's mount point. If it can't,
15361 then set RDEV_PREFIX to use /dev/ instead of /dev/r. Fix
15362 suggested by Brian <brian.s.mogged@uwrf.edu> and Ken Latta
15363 <latta@parc.xerox.com>.
15365 Fixed const cast message from regex.c. Problem noted by Ken
15366 Laprade <klaprade@harris.com>. Patch from Blair Zajac
15367 <blair@gps.caltech.edu>.
15369 Configure was not checking for the OSF1_VDUMP #ifdef used in
15370 Amanda. It now will set OSF1_VDUMP if vdump is found on the
15371 system. However, it does not check if the system is really a
15372 OSF system. Patch from Blair Zajac <blair@gps.caltech.edu>.
15374 Have configure check for asm/byteorder.h for
15375 sparc-unknown-linux-gnu. Problem noted by Eric Doutreleau
15378 Remove the check for libintl.h from configure. It was only
15379 being used for regex.c, which really didn't need it. Patch
15380 from Blair Zajac <blair@gps.caltech.edu>.
15382 Convert all code to K&R C by trying to compile Amanda using
15383 /usr/bin/cc on a SunOS 4.1.1 machine. Have configure check if
15384 the compiler can handle the volatile keyword and if it can't,
15385 #define it to empty in the config.h file. Patch from Blair
15386 Zajac <blair@gps.caltech.edu>.
15388 Move the contents of versuff.h into version.h and remove
15389 versuff.h. Add a new function called version() which returns
15390 the version string. Use version() in some of the programs.
15391 Patch from Blair Zajac <blair@gps.caltech.edu>.
15393 m88k-motorola-sysv4 systems define L_FAIL, which is used by
15394 logfile.h. Undefine it in logfile.h. Patch from Blair Zajac
15395 <blair@gps.caltech.edu>.
15397 Include amindex-1.0 from Alan McIvor. It includes these
15398 improvements over 0.3:
15399 Amrecover now provides the ability to restore files
15400 from the tapes, via the "extract" command.
15402 Support for gnutar based index generation (but not file
15405 Numerous bug fixes.
15407 Have amgetidx try to open a socket to the shell/tcp port on the
15408 remote machine and cache if it succeeds. If it connection
15409 attempt succeeds, then attempt to get the index files over from
15410 the client. Patch from Blair Zajac <blair@gps.caltech.edu>.
15412 Update patch-system to include the amidxtape service at
15413 10083/tcp. Patch from Blair Zajac <blair@gps.caltech.edu>.
15415 Configure said that the server configuration was OK and then
15416 next said it wasn't. Remove these checks. Patch from Blair
15417 Zajac <blair@gps.caltech.edu>.
15419 Fixed building Amanda for multiple architectures in
15420 subdirectories of Amanda. Problem noted by Thomas Hepper
15421 <Thomas.Hepper@icem.de>.
15425 Fix a problem with `amadmin <conf> balance' dumping core. If
15426 some disks are overdue, they are stored in the sequence array
15427 with a negative index. This has the potential to cause memory
15428 corruption, and it makes the reported balance figures not add up
15429 to the same as the total. Since overdue disks are really going
15430 to be candidated for today's backups, they are thrown in the
15431 bin for those. Patch from Ken Laprade <klaprade@harris.com>.
15433 Add Samba client support using smbclient to Amanda. Samba must
15434 be patched with the file patches/samba-1.9.16p2.1.patch - this
15435 is a patch for 1.9.16p2 of Samba, and modifies the way the
15436 'dir' command works, and adds totals to both the dir command
15437 and the tar command, via stderr. These are used by amanda to
15438 estimate and count backup sizes. This should be installed on
15439 an amanda 'client' host, that will act as the 'samba server'
15440 host. This will most likely be the same machine as the Amanda
15441 master server. Patches from Michael Zucchi
15442 <zucchi@cis.unisa.edu.au>.
15444 Amrmtape converted from Bash to Bourne shell. Patch from Blair
15445 Zajac <blair@gps.caltech.edu>.
15447 Fix the indexing code to use "arglist.h" instead of <stdarg.h>
15448 Patch from Blair Zajac <blair@gps.caltech.edu>.
15450 Have amdump call amgetidx and amtrmidx. Put amgetidx and
15451 amtrmidx into the libexec directory instead of the bin
15452 directory, since Amanda users will not use these by hand.
15453 Patch from Blair Zajac <blair@gps.caltech.edu>.
15455 Modified diskfile.c to match hostname in the backup header
15456 against the fully qualified domain name in disklist file,
15457 because amflush fails in a multidomain backup environment, as
15458 backup headers have only the hostname. Patch from Karl
15459 Lehenbauer <karl@neosoft.com>.
15461 Have autoconf figure out if some functions are not declared and
15462 if they are not, then declare them. Patch from Blair Zajac
15463 <blair@gps.caltech.edu>.
15465 Add security fixes to amandad.c. It now checks the forward and
15466 reverse DNS names for consistency. Added a configure option
15467 --amandahosts to use Michael's code to use .amandahosts instead
15468 of .rhosts. Patch from Michael Douglass <mikedoug@texas.net>.
15470 Add amverify, a simple shell script to check Amanda tapes -
15471 gnutar driven backups only. Patch from Thomas Hepper
15472 <Thomas.Hepper@icem.de>.
15474 Add the version option to amadmin (eg amadmin <conf> version).
15475 Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
15477 Add the current option to amtape (eg amtape <conf> current).
15478 This let's you the label of the current tape only without using
15479 dd. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
15481 Gnutar support for amindex added. Patch from Thomas Hepper
15482 <Thomas.Hepper@icem.de>.
15484 Calcsize supports exclude-list (gtar). The source was
15485 extracted from gnutar itself to be 100% compatible. Patch from
15486 Thomas Hepper <Thomas.Hepper@icem.de>.
15488 Calcsize checks the file type and ignores special files and
15489 pipes. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
15491 Calcsizes calculation for gnu tar archives had a bug (gtar file
15492 blocks always are a multiple of 2k). Patch from Thomas Hepper
15493 <Thomas.Hepper@icem.de>.
15495 `amandates.c': amdandad suffered by missing AMANDATES_FILE.
15496 Now it creates this file before missing it. Patch from Thomas
15497 Hepper <Thomas.Hepper@icem.de>.
15499 `createindex-gnutar.c' added. Patch from Thomas Hepper
15500 <Thomas.Hepper@icem.de>.
15502 alloca(), strdup.c and getcwd added for those system who don't
15503 have them. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
15505 A dirty hack for BSD based systems without sigaction(), see
15506 amanda.h. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
15508 Add two scripts, hp-changer and no-changer. hp-changer is a
15509 tape changer script for a HP DAT changer. Every 10th tape a
15510 taper clean runs. no-changer is a changer-like script for
15511 single tape streamer. It makes Amanda see a tape changer unit
15512 with an infinite count of tapes (and requires an operator to
15513 change the tapes :-)). Every 10 tapes the operator is
15514 recommended to insert a cleaning tape. Patch from Thomas
15515 Hepper <Thomas.Hepper@icem.de>.
15517 The version suffix adding is done with a seperate function
15518 versionsuffix() also available as standalone program. Patch
15519 from Thomas Hepper <Thomas.Hepper@icem.de>.
15521 Several files got debug support. Patch from Thomas Hepper
15522 <Thomas.Hepper@icem.de>.
15524 Added an idle type file-too-large to driver.c to avoid dumping
15525 files to the holding disk(s) which exceed the maximum file size
15526 (2 GB on the most 32-bit machines). Patch from Thomas Hepper
15527 <Thomas.Hepper@icem.de>.
15529 Some minor bug fixes, mostly regarding missing or wrong casts
15530 confusing c compilers (shmat()/shmdt(), select()). Patch from
15531 Thomas Hepper <Thomas.Hepper@icem.de>.
15533 Genversion gives some more information. Patch from Thomas
15534 Hepper <Thomas.Hepper@icem.de>.
15536 getfsent.c and statfs.c have been cleaned up. The have to be
15537 checked on non-Irix/Solaris/NextStep/HPUX/AIX/Linux-systems.
15538 Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
15540 Simple support if readline.a is missing. NEVER TESTED! Patch
15541 from Thomas Hepper <Thomas.Hepper@icem.de>.
15543 Linux requires libdb.a and ndbm.h to handle database files. Not
15544 really what I expected. Patch from Thomas Hepper
15545 <Thomas.Hepper@icem.de>.
15547 Here's a simple patch which fixes a problem that causes amflush
15548 to erroneously complain "ignoring cruft file" about good dump
15549 files on the holding disk, and fail to flush them to tape.
15550 This happens if your holding disk directory has a long name,
15551 and the dump file also has a long name (i.e. if you use
15552 filesystem mount points in disklist). The problem occurs if
15553 the holding directory + filename exceeds 80 bytes. The patch
15554 still leaves a length limitation, but at least it matches the
15555 size limit imposed by driver (and thus dumper & taper) of 128
15556 bytes. Patch from Marion Hakanson <hakanson@cse.ogi.edu>.
15558 Use regex.h and regex.c from
15559 ftp://prep.ai.mit.edu/sh-utils-1.15.tar.gz instead of the regex
15560 checking code in the system. This code includes re_comp and
15561 re_exec calls, so it will work on any system. Patch by Blair
15562 Zajac <blair@gps.caltech.edu>.
15564 Amadmin find reports the wrong tape file numbers after when a
15565 dump is amflush'ed to tape. Patch by Ralf Fassel
15566 <ralf@atg.venture.de>.
15568 Fix a bug where dumps of disks on the Amanda server are counted
15569 against the available network bandwidth. Patch from Marion
15570 Hakanson <hakanson@cse.ogi.edu>.
15572 Tell gnutar to not exit with a nonzero value if a read failed.
15573 This prevents backups from aborting if a file disappeared
15574 before gnutar could save it. Patch from Hal Snyder
15577 Fix dumper which can cause the entire amdump run to hang after
15578 dumper issues a "TRY-AGAIN" message to driver while dumping
15579 directly to tape. Patch from Marion Hakanson's
15580 <hakanson@cse.ogi.edu>.
15582 Added Marion Hakanson's <hakanson@cse.ogi.edu> patches to fix
15583 problems when amanda dumps directly to tape (i.e. when holding
15584 space is full, or you're backing up a huge filesystem, etc.).
15585 The bug occurs in the way taper determines it has succeeded
15586 when doing a PORT-WRITE operation (i.e. dumping directly to
15587 tape). It used to assume that an EOF meant no more data --
15588 true if it's reading from a file, but when reading from a port
15589 (i.e. directly from a dump process), an EOF could signal
15590 abnormal exit as well as a normal one. So, I extended the
15591 protocol between driver and taper when dumping directly to tape
15592 (see dump_to_tape() in driver.c) so the taper will wait for the
15593 driver to pass PORT-WRITE-SUCCESS or PORT-WRITE-FAILURE to the
15594 taper (since driver gets OK/not-OK from the dumper) before the
15595 taper records success or failure. Note that this change
15596 affects only the PORT-WRITE case in taper. FYI, the bug
15597 resulted in the curinfo database for a failed port-dump to have
15598 the tape-label & file-number fields updated with the location
15599 of the failed dump, even though the timestamp & dump statistics
15600 still have the values of the last successful dump (the latter
15601 fields are updated by dumper itself).
15603 Patches from George Scott <George.Scott@cc.monash.edu.au> to
15604 fix the following problems in planner.c.
15605 1) Initialise total_size, total_lev0 and balanced_size. They
15606 are updated in analyze_estimates() but never initialised. Zero
15607 them before the first call.
15608 2) Remove oversize dumps. If there is a dump whose estimated
15609 size is larger than the tape the planner would tend to throw
15610 away all the other dumps and then probably generate an
15611 unworkable plan anyway. (The standard 2.2.6 planner probably
15612 tossed these dumps fairly quickly for other reasons, but my
15613 next fix made this one almost mandatory!) The fix is to drop
15614 these enormous dumps right at the begining. This shouldn't be
15615 triggered for anyone with a sane configuration.
15616 3) Promote hills. There are two ways to create a balanced
15617 cycle. The first is to fill in any holes and the second is to
15618 remove any hills. The original planner is good at doing the
15619 first but doesn't even attempt the second. A quick look at
15620 "amadmin balance" would show big hills quite clearly. This fix
15621 effectively does an "amadmin balance" and promotes a dump from
15622 one of the "hills". This type of promotion is quite
15624 - don't bother if we already plan to do any level 0 dumps
15625 - don't promote a dump if it was going to be the only level 0
15626 to be done on that run (ie, ignore hills that are only one
15628 - only promote one level 0 by this method
15629 - don't exceed tape_length
15630 The key to it is the first restriction. Large sites (with
15631 large numbers of disks and a large balanced_size) will have at
15632 least one level 0 scheduled for each day in the dump cycle and
15633 will already have a balanced cycle. This code will not
15634 activate for them. Small sites will probably not have a level
15635 0 scheduled and will benefit. The second restriction will stop
15636 Amanda from constantly promoting dumps when the schedule is as
15637 balanced as it will go. The third restriction will stop Amanda
15638 over reacting. Promoting one dump by this method would take
15639 total_lev0 larger that balanced_size. If it wouldn't then the
15640 first stage promotion didn't work like it should.
15641 4) Initialise got_estimate for all cases. This fix was from
15642 der Mouse <mouse@collatz.mcrcim.mcgill.edu>. "got_estimate"
15643 wasn't being initialised for skipped disks. Later in the code
15644 it was being used in all cases. The fix is to move its
15645 initialisation up a few lines.
15646 5) Explicitly ignore off-line disks. If a disk is off-line
15647 when the planner is run it gets -1 for all dump sizes. These
15648 were ignored at a later stage. This fix explicitly ignores
15650 6) Ignore down machines. If a machine is down when the planner
15651 is run it guesses from historical data what the size of
15652 tonights dump is likely to be and schedules a dump anyway. The
15653 dumper then usually discovers that the machine is still down
15654 and ends up with a half full tape. Unfortunately the planner
15655 had to delay another dump because it thought that the tape was
15656 full. The fix here is for the planner to discard unavailable
15657 machines totally rather than just ignore the fact that they are
15659 7) Keep at least one total. Amanda moves level 0 dumps back to
15660 incrementals to try and fit everything onto the tape.
15661 Unfortunately if all your incrementals are too big (or your
15662 tape too small) it can move all of your level 0 dumps. This
15663 ends up being a kind of deadlock since, unless a level 0 gets
15664 done, the incrementals will not reduce in size and until the
15665 incrementals reduce in size there will not be enough room to
15666 fit in a level 0. (This is not quite accurate since a level 4
15667 dump can get bumped to a level 5 which reduces its size.
15668 However, this deadlock has happened to me and for many days in
15669 a row.) The fix is to pick on the highest priority level 0 and
15670 not let it be moved. This change will not affect users with
15671 reasonably sized tapes since Amanda would not have moved all
15672 their disks to incrementals.
15673 8) Make usage of total_lev0 consistent. "total_lev0" is a
15674 double and doesn't include tape_mark's. Make it so.
15676 Add a fflush(outf) to amcheck.c. Patch from Mike Russell
15677 <Michael_Russell@Brown.EDU>.
15679 Fix problems with amhpfixdevs. Patch from Michael Schmitz
15680 <mschmitz@iname.com>.
15682 Have DEC OSF1 use installbsd instead of install. Patch from
15683 Rainer Landes <rlandes@fphws01.physik.uni-karlsruhe.de>.
15685 Have amcontrol take the first command line argument as the
15686 configuration to use. If there are no command line arguments,
15687 then use daily. Patch from Thomas Schmeidl
15688 <schmeidl@nwp.kwu.siemens.de>.
15690 Removed --atime-preserve from sendbackup-gnutar.c so that
15691 incremental backups of filesystems will work. Patch from
15692 Alexandre Oliva <oliva@dcc.unicamp.br>.
15694 Change all #if __STDC__ to #ifdef __STDC__ for those systems
15695 that define __STDC__ to 0, such as Solaris using cc -Xt, cc
15696 -Xa. Patch from Blair Zajac <blair@gps.caltech.edu>.
15698 Increase the socket buffer size, and set a low watter mark at
15699 32k. This cut the number of syscalls done to process one 32k
15700 block from dozens down to 4 (select, read, lseek, write).
15701 Patch from Brad Huntting <huntting@glarp.com>.
15703 Include amindex-0.3 from Alan McIvor <alan@salan.auck.irl.cri.nz>.
15705 Add the "srvcompress" option to compress dumps on the tape host
15706 instead of on the client machines. This may be useful when a
15707 fast tape host is backing up slow clients. The patches add a
15708 dump-type option, analogous to "compress-fast" or
15709 "compress-best" - the way to use it is to create a new dumptype
15710 in your amanda.conf that includes "srvcompress" and use the new
15711 dumptype for those filesystems you wish to have compressed on
15712 the tape server. For example, in amanda.conf:
15713 define dumptype srvcomp-user {
15714 comment "Partitions on slow machines, compressed on tapehost"
15715 options srvcompress
15718 Patches from Eric Volpe <epv@panix.com>.
15720 Increase the planner timeout for one estimate from 30 seconds
15721 to 120 seconds. Patch from Michael Schmitz
15722 <mschmitz@iname.com>.
15724 The select(2) prototype on HPUX specifies 'int' as argument
15725 type of the filedescriptor arguments. All other systems I know
15726 of use 'fd_set'. This has been fixed by having configure check
15727 the argument type to select and adding casts to the select(2)
15728 calls. Patch from Michael Schmitz <mschmitz@iname.com>.
15730 Improve the diagnostic output and increase the robustness of
15731 the system by adding better error checking on communication
15732 between taper & driver, and among the two taper processes.
15733 Patches from Marion Hakanson <hakanson@cse.ogi.edu>.
15735 Convert all flock() calls to use POSIX-style locks via the
15736 fcntl(2) call. This operation was prompted by the fact that
15737 the flock() emulation in the Amanda-provided common-src/flock.c
15738 was broken for read-only file descriptors, and the fcntl(2)
15739 locks are widely available. This patch makes it possible to
15740 have a read-only lock on the /etc/amandates file on systems
15741 which want to use it. I've built and tested the patched code
15742 on Amanda servers running on Digital Unix v3.2B (on Alpha
15743 hardware) and on SPARC Solaris-2.5.1. It's also been compiled
15744 here on SPARC's running SunOS-4.1.3u1b, HP-UX 9.0[345], and
15745 NeXTstep-3.3 (NeXT hardware). Note that the patches also
15746 remove all trace of the NEED_FLOCK define, and I have removed
15747 the file common-src/flock.c from our source tree here. Patch
15748 from Marion Hakanson <hakanson@cse.ogi.edu>.
15750 For disk/filesystem names which are wider than 14 characters,
15751 have reporter print out the rightmost characters of the disk
15752 name, which is usually more meaningful in a daily backup
15753 summary. Patch from Marion Hakanson <hakanson@cse.ogi.edu>.
15755 Lets amflush work in a wider variety of cases than was
15756 previously true (it used to work if the disklist contains only
15757 the first token of each hostname). sendbackup-dump.c and
15758 sendbackup-gnutar.c now do not trim the domain name from the
15759 host name that is sent back to the server. amflush now looks
15760 for an exact match, in the database. If it can't find one it
15761 strips the last token off the dump header hostname and keeps
15762 trying until it finds a match in the disklist or runs out of
15763 tokens. This also has the advantage that if gethostname()
15764 returns FQDNs and you specify the same FQDNs in the disklist,
15765 then amflush will always work. It will also work as long as
15766 the disklist and gethostname() on the clients return enough
15767 information to be unambiguous. Patch from James Mathiesen
15768 <james@deshaw.com>.
15770 Increase the READ_TIMEOUT in dumper.c to 30 minutes. This
15771 needs to be longer than the longest amount of time dump will
15772 not produce output. People have observed dumps taking more
15773 than 10 minutes to finish mapping some of the passes
15774 sometimes. Patch from James Mathiesen <james@deshaw.com>.
15776 Added Adrian T. Filipi-Martin's <atf3r@cs.virginia.edu>
15777 amrmtape script, which allows you to invalidate the contents of
15778 an existing backup tape within the Amanda current tape
15779 database. This is meant as a recovery mecanism for when a good
15780 backup is damaged either by faulty hardware or user error,
15781 i.e. the tape is eaten by the tape drive, or the tape has been
15782 overwritten. Blair Zajac wrote a quick little manual page for
15785 amrmtape was using the return value from amadmin and amadmin
15786 was exiting with a non-zero value, causing amrmtape to quit.
15787 Added a return 0 statement to amadmin.c. Patch from Blair
15788 Zajac <blair@gps.caltech.edu>.
15790 Went through all of the files and changed void main()'s to int
15791 main()'s. Patch from Blair Zajac <blair@gps.caltech.edu>.
15793 Removed the 50 tape file limit in amcleanup and amdump.
15795 createindex-dump and sendbackup-dump did not always take into
15796 account the version suffix. This is now handled. Patch from
15797 Philippe Charnier <charnier@lirmm.fr>
15799 Compile and install amrecover and amrestore as client programs,
15800 not a server program. The motovation for this is that
15801 amrecover is truly a program for all of the users on the
15802 system, while the remaining amanda programs could be used by
15803 only the system administrator. Patch from Alexandre Oliva
15804 <oliva@dcc.unicamp.br>.
15806 The program amtrmidx fails to close some of the pipes it uses,
15807 and this can lead to failure on systems with large numbers of
15808 disks with incomplete database sets, and file descriptor
15809 ulimits set. Patch from Alan McIvor <alan@auck.irl.cri.nz>.
15813 Expanded the width of the DISK column from the reporter
15814 output. I like to use mount points like /export/home?? instead
15815 of device names to back up. Since the width of the disk name
15816 field from reporter's output is pretty small, I couldn't easily
15817 figure out the statistics for a particular partition. Patch
15818 from Blair Zajac <blair@gps.caltech.edu>.
15820 Included Eric Doutreleau <ed@cti.ecp.fr> patch's for amadmin to
15821 handle multiple tapes better. The patch that he posted on used
15822 a hardwired value of 6 for runtapes, which I changed.
15824 Included Marion Hakanson's <hakanson@cse.ogi.edu> patches to
15825 amadmin.c and amadmin.8 to let amadmin use the same disk
15826 regular expression matching as amrestore. So now "^/$" will
15827 match only the root partition, not all of the disks.
15829 Added a patch from George.Scott@cc.monash.edu.au which makes
15830 new disks and forces dump with a higher priority.
15832 Changed tools/munge to delete blank lines and the commented
15833 lines that the C preprocessor generates (i.e. # 123). We also
15834 remove the space after the = sign that can be generated by cpp
15837 Installed amindex-0.2 from Alan McIvor <alan@auck.irl.cri.nz>
15838 with the following patches:
15840 Fix problem so that rsh'ing on a hpux host works.
15841 Patch from Neal Becker <neal@ctd.comsat.com>. This
15842 patch includes a new #define for RSH_COMMAND, which is
15843 set to rsh in config-common.h and defined as remsh in
15846 Fix bugs in createindex-dump.c when comparing errno to
15847 EINTR. The code was using = instead of ==. Patch from
15848 Neal Becker <neal@ctd.comsat.com>. I'm guessing this
15849 might fix some of the runaway createindex-dump
15850 processes that I have seen on my system.
15852 On my system, we use MAE which likes to generate path
15853 names with spaces in them. I patched
15854 createindex-dump.c so that filenames with spaces have
15855 the whole filename listed. Patch from Blair Zajac
15856 <blair@gps.caltech.edu>.
15858 Patch amtrmidx.c so that backups using the mount points
15859 for disks instead of the device name have the /'s
15860 replaced with _'s. Patch from Blair Zajac
15861 <blair@gps.caltech.edu>.
15865 Changed the signals being sent to xfsdump for Irix so that it
15866 will be killed without dumping a core.
15868 Fixed a typo in the definition of XFSDUMP in config.h-irix.
15870 Removed the extra option.s-* and copied options.h to
15873 Moved the amrestore manual page into the man directory so it
15874 would get installed.
15878 amindex-0.1 written by Alan McIvor <alan@kauri.auck.irl.cri.nz>
15879 installed. amindex generates an index of all of the files that
15880 were dumped. It is nice to see what files were dumped before
15881 you restore a whole bunch of tapes looking for a file. I
15882 patched some of this code. Here are some of the changes:
15884 Switched the Imakefile to Makefile and Makefile.in to
15885 be more consistent with the system used by the rest of
15888 Moved the configuration #defines out of the specific
15889 files (such as amrecover.c) into options.h, so that
15890 people installing this version of amanda would be able
15891 to see the required changes more easily and not have to
15892 edit multiple files.
15894 Made some changes to the codes to remove #include's
15895 where amanda.h would include them and also check if the
15896 system had the particular include file.
15898 Added code to set_commands.c and amgetidx.c to change
15899 /'s in disk names to _'s.
15901 Added code to amrecover.c to properly compile on
15904 With the -Xc compiler option on Solaris and with
15905 amindex, the sigaction structure was not being
15906 declared. Added -D__EXTENSIONS__ to config.h-sunos5 so
15907 that sigaction would be declared.
15909 I changed a bunch of fprintf to perrors.
15911 Include Sean Kelly's <kelly@fsl.noaa.gov> patch for tools/munge
15914 Used Peter Lackner's <plo@came.sbg.ac.at> patches for DU 4.0.
15916 Installed Ken Laprade's <klaprade@harris.com> patches for
15917 amanda to handle both EFS and XFs file systems on the same
15918 client. The only change from his patch is to #ifdef XFSDUMP
15919 the kill(-dumppid, SIGTERM) so the SIGTERM signal will be used
15920 on other systems, while SIGQUIT will be used on Irix systems.
15922 Installed Marion Hakanson's <hakanson@cse.ogi.edu> patches for
15923 the main config file to include subsidiary config files.
15925 On Solaris, sometimes the hdr->handle variable in amandad.c
15926 would be null, causing core dumps when it was used in a sprintf
15927 statement. The code now checks if hdr->handle is null and
15928 prints a "" if it is null. This was only done in amandad.c.
15930 Fix a problem where new disks would be added but not backed up
15931 concurrently. Changes to diskfile.c. I forgot who put this
15932 patch up on the mailing list.
15934 I made some changes to options.h to allow the user to more
15935 easily install the programs under a different user. This meant
15936 defining two new #defines, MK_AMANDA_USER and
15937 MK_QUOTED_AMANDA_USER which are used in the appropriate
15940 Used Marion Hakanson's <hakanson@cse.ogi.edu> patch for taper.c
15941 for multiple tapes.
15943 Included Joachim Loehr's <Joachim.Loeh@stadt-mh.de>
15944 script to automatically figure out which kind of HP-UX file
15945 system is being dumped. Look in tools for the script and a