1 2008-03-31 Dan Locks <dwlocks@zmanda.com>
2 * packaging/deb/buildpkg
3 packaging/rpm/buildpkg: added -p to cp to preserve file timestamps.
5 2008-03-31 Dan Locks <dwlocks@zmanda.com>
6 * packaging/Makefile.am: add deb subdirectory.
8 2008-03-27 Jean-Louis Martineau <martineau@zmanda.com>
9 * device-src/activate-devpay.c (parse_commandline): Always return.
11 2008-03-25 Jean-Louis Martineau <martineau@zmanda.com>
12 * config/amanda/readline.m4: Don't add READLINE_LIBS to LIBS.
13 * oldrecover-src/Makefile.am (LDAAD): Add READLINE_LIBS.
14 * recover-src/Makefile.am (LDAAD): Add READLINE_LIBS.
15 * config/amanda/swig.m4: AM_CONDITIONAL(WANT_CYGWIN_COPY_PERL_DLL)
16 * config/amanda/swig.m4: Add library to PERLEXTLIBS on cygwin.
17 * config/amanda/syshacks.m4: Add '-no-undefined' to AMANDA_ADD_LDFLAGS.
18 * amandad-src/Makefile.am,
19 * client-src/Makefile.am, device-src/Makefile.am,
20 server-src/Makefile.am, server-src/server_util.c,
21 tape-src/Makefile.am: Add library to many *_LIBADD.
22 * perl/Makefile.am (install-data-hook): Copy cygwin ddl if
23 WANT_CYGWIN_COPY_PERL_DLL.
25 2008-03-25 Jean-Louis Martineau <martineau@zmanda.com>
26 * server-src/reporter.c: Check difference between origsize and outsize
27 to find if the image is compressed.
29 2008-03-25 Jean-Louis Martineau <martineau@zmanda.com>
30 Greg Troxel reported the bug and possible solution.
31 * common-src/stream.c (stream_server): New family argument, it is used
33 * common-src/stream.h (stream_server): New prototype.
34 * server-src/chunker.c, server-src/taper.c: Call stream_server with
35 family of 'localhost', it's the name dumper use to contact them.
36 * restore-src/amidxtaped.c: Call stream_server with AF_INET.
37 * common-src/bsd-security.c, common-src/security-util.c: Call
38 stream_server with family of incoming packet.
40 2008-03-25 Jean-Louis Martineau <martineau@zmanda.com>
41 * common-src/security-util.c (show_stat_info): Use getpwuid_r
44 2008-03-25 Dustin J. Mitchell <dustin@zmanda.com>
45 * config/amanda/swig.m4: fix the fix to the fix for FreeBSD systems'
46 peculiar linking of threading libraries.
48 2008-03-20 Dan Locks <dwlocks@zmanda.com>
49 * packaging/deb/control: removed grep dependency
50 * packaging/deb/amanda-backup-client.postinst
51 packaging/deb/amanda-backup-server.postinst
52 packaging/deb/amanda-backup-server.postrm
53 packaging/deb/amanda-backup-client.postrm: removed call to
54 ldconfig to satisfy lintian
55 * packaging/deb/amanda-backup-server.lintian
56 packaging/deb/amanda-backup-client.lintian: sorted and added new
58 * packaging/deb/amanda-backup-client.dirs: removed var/amanda
60 2008-03-18 Jean-Louis Martineau <martineau@zmanda.com>
61 * Amanda 2.6.0 released.
62 * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.0")
63 * packaging/rpm/amanda.spec: %define amanda_version 2.6.0
64 * packaging/rpm/buildpkg: AMVER=amanda-2.6.0
66 2008-03-17 Jean-Louis Martineau <martineau@zmanda.com>
67 * server-src/diskfile.c: Correctly check if two hosts map to the same
70 2008-03-14 Dan Locks <dwlocks@zmanda.com>
71 * packaging/deb/*: Initial debian package release. This package is
72 based on Bdale Garbee's work as the official debian maintainer for
75 2008-03-13 Dan Locks <dwlocks@zmanda.com>
76 * packaging/rpm/amanda.spec: changed the PKG_CONFIG_PATH macro so that
77 it works with rpm versions earlier than 4.4
79 2008-03-12 Dan Locks <dwlocks@zmanda.com>
80 * packaging/rpm/buildpkg: made the script quieter, simplified its
81 usage by creating the required tarball on the fly.
82 * packaging/rpm/amanda.spec: fixed a number of complaints from rpmlint,
83 added --quiet to the configure invocation
85 2008-03-10 Jean-Louis Martineau <martineau@zmanda.com>
86 * device-src/tests/semaphore-test.c,
87 device-src/tests/vfs_test.c: Call amanda_thread_init(NULL).
89 2008-03-07 Jean-Louis Martineau <martineau@zmanda.com>
90 * Amanda 2.6.0b3 released.
91 * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.0b3")
92 * packaging/rpm/amanda.spec: %define amanda_version 2.6.0b3
93 * packaging/rpm/buildpkg: AMVER=amanda-2.6.0b3
95 2008-03-06 Jean-Louis Martineau <martineau@zmanda.com>
96 * common-src/Makefile.am: dest=$(amlibexecdir).
98 2008-03-06 Jean-Louis Martineau <martineau@zmanda.com>
99 * changer-src/Makefile.am: Rename SCRIPTSDATA to SCRIPTS_INCLUDE,
100 Add chg-lib.sh.in to EXTRA_DIST.
101 * dumper-src/Makefile.am: Rename SCRIPTSDATA to SCRIPTS_INCLUDE,
102 Add generic-dumper.pl to EXTRA_DIST.
103 * common-src/Makefile.am: Add amanda-sh-lib.sh to SCRIPTS_INCLUDE,
104 Add amanda-sh-lib.sh.in to EXTRA_DIST.
106 2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
107 * changer-src/Makefile.am: Move chg-lib.sh to SCRIPTSDATA.
108 * dumper-src/Makefile.am: Move generic-dumper to SCRIPTSDATA.
110 2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
111 * config/amanda/swig.m4: Check for *freebsd[123456]*
113 2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
114 * changer-src/chg-scsi-chio.c: Compile fix.
115 * changer-src/scsi-chio.c: Compile fix.
116 * config/amanda/changer.m4: Check for linux/chio.h
118 2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
119 * packaging/rpm/amanda.spec: Give CFLAGS after ./configure
121 2008-03-05 Dustin J. Mitchell <dustin@zmanda.com>
122 * config/amanda/swig.m4: With many thanks to John E. Hein
123 <jhein@timing.com>, fix the comment and make the change committed
124 yesterday apply to all FreeBSD < 7.0.
126 2008-03-05 Dustin J. Mitchell <dustin@zmanda.com>
127 * config/amanda/summary.m4: quote all warning messages that will be
128 included in heredocs, to avoid spurious interpretation of backquotes
130 2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
131 * packaging/rpm/amanda.spec: Add %{PERLSITELIB} in %files sections.
133 2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
134 * restore-src/amidxtaped: Use default config if amrecover doesn't send a config name. (amoldrecover doesn't send a config).
135 * restore-src/restore.c: amrecover from 2.4.5 doesn't send the filenum, so desired_tape->numfiles == 0.
136 If amidxtaped is launched directly from xinetd, then
137 flags->pipe_to_fd == STDOUT_FILENO, but this test should only
138 succeed for amrestore of amfetchdump.
140 2008-03-05 Jean-Louis Martineau <martineau@zmanda.com>
141 * device-src/tape-device.c: Set d_self->is_eof to FALSE.
143 2008-03-04 Dustin J. Mitchell <dustin@zmanda.com>
144 * perl/Makefile.am config/amanda/swig.m4: add a special case for
145 FreeBSD-6.2: include -lpthread in the linking of each perl
146 extension, because libgthread does not pull in libpthread as
147 it does on other platforms.
149 2008-03-03 Jean-Louis Martineau <martineau@zmanda.com>
150 * common-src/security-util.c: getnameinfo return != 0 on error.
152 2008-03-03 Jean-Louis Martineau <martineau@zmanda.com>
153 * config/amanda/dumpers.m4: Typo.
155 2008-03-03 Jean-Louis Martineau <martineau@zmanda.com>
156 * device-src/tests/vfs_test.c: Fix ignoring
157 return value of 'pipe', declared with attribute warn_unused_result.
159 2008-02-29 Dustin J. Mitchell <dustin@zmanda.com>
160 * common-src/amanda.h: add <stdint.h>
162 2008-02-29 Dustin J. Mitchell <dustin@zmanda.com>
163 * installcheck/Amanda_Config.pl: fix Amanda_Config's use of the
164 missing Amanda::Tests
166 2008-02-29 Dustin J. Mitchell <dustin@zmanda.com>
167 * installcheck/Makefile.am: remove Amconfig.pm from EXTRA_DIST, as it
170 2008-02-28 Dustin J. Mitchell <dustin@zmanda.com>
171 Thanks to John E. Hein <jhein@timing.com> for identifying this problem
172 * installcheck/Amanda_Config.pl: use a properly-sized constant to
173 check parsing of large configuration values
175 2008-02-28 Jean-Louis Martineau <martineau@zmanda.com>
176 * server-src/amindexd.c: Compute maxpart, call clean_dump.
177 * server-src/disk_history.h (DUMP_ITEM): Add maxpart field.
178 * server-src/disk_history.h (add_dump): New prototype,
179 add maxpart argument.
180 * server-src/disk_history.c (add_dump): Remove a DUMP_ITEM if the
181 previous part is not already added.
182 * server-src/disk_history.c (clean_dump): New function to remove
183 DUMP_ITEM if all part are not added.
184 * common-src/tapelist.h (tapelist_t): Add partnum field.
185 * common-src/tapelist.h (append_to_tapelist): New prototype,
186 add partnum argument.
187 * common-src/tapelist.c (append_to_tapelist): New partnum argument.
188 * restore-src/amfetchdump.c: Use new append_to_tapelist prototype.
190 2008-02-27 Jean-Louis Martineau <martineau@zmanda.com>
191 * server-src/find.c: Use sort_key in switch statement.
193 2008-02-26 Jean-Louis Martineau <martineau@zmanda.com>
194 * NEWS, ReleaseNotes: Document --with-amlibdir.
195 * config/amanda/dirs.m4: Add AS_HELP_STRING for --without-amlibdir and
196 --without-amlibexecdir,
197 Set AMPERLLIB to $amlibdir/perl.
199 2008-02-26 Dustin J. Mitchell <dustin@zmanda.com>
200 * perl/Makefile.am config/amanda/dirs.m4 config/amanda/summary.m4:
201 add --with-amperldir, --without-amperldir, and install perl modules
202 in Perl's installsitearch by default; thanks to Orion Poplawski
203 <orion@cora.nwra.com> for help and suggestions.
205 2008-02-26 Jean-Louis Martineau <martineau@zmanda.com>
206 * client-src/getfsent.c: Don't fail if stat of mount point fail.
208 2008-02-26 Jean-Louis Martineau <martineau@zmanda.com>
209 * common-src/util.c: Don't log a note if CLIENT_LOGIN == dumpuser for
210 RUNNING_AS_DUMPUSER_PREFERRED.
212 2008-02-25 Jean-Louis Martineau <martineau@zmanda.com>
213 * server-src/reporter.c: Report size of data on holding disk.
215 2008-02-20 Jean-Louis Martineau <martineau@zmanda.com>
216 * config/amanda/dirs.m4: Add --with-amlibdir and --with-amlibexecdir.
217 * NEWS, ReleaseNotes: Document it.
219 2008-02-20 Jean-Louis Martineau <martineau@zmanda.com>
220 * server-src/amcheck.c, server-src/dumper.c,
221 server-src/planner.c: Call waitpid to cleanup defunct process.
223 2008-02-20 Dustin J. Mitchell <dustin@zmanda.com>
224 * device-src/tape-posix.c: keep ioctl error message in
227 2008-02-19 Jean-Louis Martineau <martineau@zmanda.com>
228 * device-src/device.c, device-src/null-device.c,
229 device-src/s3.c, device-src/tape-device.c,
230 device-src/queueing.h, device-src/s3.h,
231 device-src/vfs-device.c, device-src/rait-device.c,
232 server-src/taper-source-test.c, server-src/server_util.c,
233 server-src/taper-disk-port-source.c, perl/Amanda/Device.swg,
234 perl/amglue/integers.swg, restore-src/restore.c,
235 common-src/glib-util.c: Fix solaris compiler warning.
237 2008-02-19 Jean-Louis Martineau <martineau@zmanda.com>
238 * common-src/util.c (quote_string): Quote single quote (').
239 * server-src/find.c:Correctly compute length of diskname.
241 2008-02-15 Dustin J. Mitchell <dustin@zmanda.com>
242 * configure.in config/amanda/progs.m4 config/amanda/flags.m4:
243 use AC_PROG_EGREP instead of the Amanda version
244 * server-src/find.c: fix compiler warning on Solaris 8
246 2008-02-15 Jean-Louis Martineau <martineau@zmanda.com>
247 * packaging/rpm/amanda.spec: Fix typo.
249 2008-02-15 Jean-Louis Martineau <martineau@zmanda.com>
250 * oldrecover-src/Makefile.am: Build all files in the build directory.
251 * recover-src/Makefile.am: Build all files in the build directory.
252 * config/amanda/config.m4: Use $srcdir to buld common-src/svn-info.h
253 * configure.in: execute AMANDA_GET_SVN_INFO after AC_OUTPUT because
254 AC_OUTPUT create the common-src directory.
256 2008-02-15 Jean-Louis Martineau <martineau@zmanda.com>
257 * server-src/amadmin.c: Use 'long long' and '%lld' to sscanf.
258 * file server-src/infofile.c: Use %jd to print intmax_t value.
259 * file server-src/driver.c: Use 'long long' and '%lld' to sscanf.
261 2008-02-15 Jean-Louis Martineau <martineau@zmanda.com>
262 * server-src/amdump.sh: Don't use 'date -d', use sed.
264 2008-02-13 Dan Locks <dwlocks@zmanda.com>
265 * packaging/rpm/amanda.spec: added a check for PKG_CONFIG_PATH in the
266 build environment as well as if provided on rpmbuild commandline.
267 Conditionalized this var to handle cross compiling on FC8.
269 2008-02-12 Jean-Louis Martineau <martineau@zmanda.com>
270 * server-src/dumper.c: Fail if no header or no data.
272 2008-02-12 Jean-Louis Martineau <martineau@zmanda.com>
273 * server-src/amstatus.pl: Report failure if dumper succeed and
276 2008-02-07 Jean-Louis Martineau <martineau@zmanda.com>
277 * NEWS, ReleaseNotes: Add notes about rsh/ssh and amandad_path.
279 2008-02-07 Jean-Louis Martineau <martineau@zmanda.com>
280 * Amanda 2.6.0b2 released.
281 * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.0b2")
282 * packaging/rpm/amanda.spec: %define amanda_version 2.6.0b2
283 * packaging/rpm/buildpkg: AMVER=amanda-2.6.0b2
285 2008-02-07 Jean-Louis Martineau <martineau@zmanda.com>
286 * recover-src/amrecover.c: Use tapedev from server if it is not set
287 in amanda.client.conf
288 * example/amanda-client.conf.in: Document it.
290 2008-02-07 Jean-Louis Martineau <martineau@zmanda.com>
291 * device-src/tape-device.c (tape_device_init): Init min_block_size
292 and fixed_block_size to 32768.
294 2008-02-07 Jean-Louis Martineau <martineau@zmanda.com>
295 * device-src/tape-posix.c (tape_is_ready): Don't use GMT_ONLINE.
297 2008-02-07 Dustin J. Mitchell <dustin@zmanda.com>
298 * man/xml-source/amcheckdump.8.xml: add -o option
299 * man/Makefile.am: build amcheckdump manpage
300 * server-src/amdevcheck.pl: tweak @ARGV parsing
301 * server-src/amcheckdump.pl installcheck/Installcheck/Run.pm
302 installcheck/amcheckdump.pl: significant rewrite to catch more errors
303 and not loop for ever on some errors.
305 2008-02-01 Dan Locks <dwlocks@zmanda.com>
306 * packaging/rpm/amanda.spec: added amdumpcheck.8.gz to the %files list
307 for both client and server, removed amplot from client, added missing
308 directory %{SYSCONFDIR}/amanda
310 2008-01-29 Dan Locks <dwlocks@zmanda.com>
311 * packaging/rpm/amanda.spec: changed %{SYSCONFDIR} to %{LOCALSTATEDIR}
312 where amanda/amandates is concerned. also added %{LOCALSTATEDIR} to
315 2008-01-29 Dan Locks <dwlocks@zmanda.com>
316 * man/xml-src/*: added wiki.zmanda.com to "see also" section of all
319 2008-01-29 Jean-Louis Martineau <martineau@zmanda.com>
320 * client-src/sendbackup.c: Check for g_options.
321 * client-src/sendsize.c: Check for g_options.
322 * client-src/selfcheck.c: Check for g_options.
323 * amandad-src/amandad_util.c (free_g_options): Check g_options != NULL.
325 2008-01-28 Jean-Louis Martineau <martineau@zmanda.com>
326 * server-src/amstatus.pl: Fix "Use of uninitialized value in string".
328 2008-01-28 Dustin J. Mitchell <dustin@zmanda.com>
329 * installcheck/Amanda_Config.pl common-src/conffile.c: uppercase
330 displayunit, and add a unit test to be sure.
332 2008-01-28 Jean-Louis Martineau <martineau@zmanda.com>
333 * server-src/amstatus.pl: handle lowercase displayunit.
335 2008-01-28 Dustin J. Mitchell <dustin@zmanda.com>
336 * configure.in config/amanda/ipv6.m4 common-src/amanda.h: check
337 for netinet/in.h and in_port_t, and define the latter if
338 necessary. Thanks to Craig Dewick <cdewick@lios.apana.org.au>
341 2008-01-28 Paddy Sreenivasan <paddy@zmanda.com>
342 * man/xml-source/amanda.8.xml: Update amanda(8) to reflect 2.6.0
345 2008-01-28 Jean-Louis Martineau <martineau@zmanda.com>
346 * amandad-src/amandad.c: Send service stderr to amandad debug file,
347 Wait for service termination and send error message to server.
349 2008-01-28 Jean-Louis Martineau <martineau@zmanda.com>
350 * device-src/device.c: Set PROPERTY_BLOCK_SIZE with a G_TYPE_INT
351 Set PROPERTY_READ_BUFFER_SIZE with a G_TYPE_UINT
353 2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
354 * man/Makefile.am man/xml-source/amcheckdump.8.xml: new manpage
355 * server-src/amcheckdump.pl: fix usage message
357 2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
358 * configure.in config/amanda/userid.m4: add --with-single-userid
360 2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
361 * perl/amglue/amglue.h perl/amglue/bigint.c: Include integer limits
362 for all amglue files where they are missing from glib headers
364 2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
365 * installcheck/Makefile.am: condition installchecks on the selected
368 2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
369 * installcheck/Makefile.am Makefile.am: distribute
370 installcheck/Installcheck scripts, make sure enough parameters
371 are passed along to distcheck for it to succeed, and also clean
372 up properly after tests are run.
374 2008-01-22 Dustin J. Mitchell <dustin@zmanda.com>
375 * config/amanda/dumpers.m4: eliminate strange warning when
376 --without-smbclient is given
378 2008-01-16 Dustin J. Mitchell <dustin@zmanda.com>
379 * installcheck/Makefile.am: Require user to specify
380 CLOBBER_MY_CONFIG=OK when running installchecks
382 2008-01-16 Jean-Louis Martineau <martineau@zmanda.com>
383 * packaging/rpm/amanda.spec: Don't set PKG_CONFIG_PATH.
385 2008-01-16 Jean-Louis Martineau <martineau@zmanda.com>
386 * oldrecover-src/extract_list.c, client-src/sendbackup.c,
387 client-src/sendsize.c, client-src/selfcheck.c,
388 recover-src/extract_list.c, server-src/changer.c,
389 server-src/amflush.c, server-src/driverio.c,
390 common-src/pipespawn.c: Call safe_fd before exec*.
392 2008-01-15 Jean-Louis Martineau <martineau@zmanda.com>
393 * packaging/rpm/amanda.spec: Remove build_host.
395 2008-01-15 Dustin J. Mitchell <dustin@zmanda.com>
396 * perl/Amanda/Types.swg perl/Amanda/Config.swg perl/Amanda/Device.swg
397 perl/amglue/integers.swg: fix typos and compiler warnings
399 2008-01-15 Jean-Louis Martineau <martineau@zmanda.com>
400 * packaging/Makefile.am: New file.
401 * packaging/README: New file.
402 * packaging/rpm/buildpkg: New file.
403 * packaging/rpm/amanda.spec: New file.
405 * config/amanda/dirs.m4 (AMANDA_WITH_DUMPERDIR): Give a warning if used.
406 * config/amanda/dirs.m4 (AMANDA_EXPAND_DIRS): Expand DUMPER_DIR to
407 ${amlibexecdir}/application
408 * Makefile.am (SUBDIRS): Add packaging.
409 * amanda.spec: Remove file.
411 2008-01-15 Jean-Louis Martineau <martineau@zmanda.com>
412 * device-src/Makefile.am (AM_CFLAGS): Set to $(AMANDA_WARNING_CFLAGS)
413 * device-src/tape-device.c, device-src/tape-posix.c,
414 device-src/vfs-device.c: include "util.h"
415 * device-src/rait-device.c: fix compiler warning.
417 2008-01-14 Dustin J. Mitchell <dustin@zmanda.com>
418 * perl/amglue/bigint.c: fix the range-checking mechanics for large
419 integers, since the precompiler seems to get confused by large
422 2008-01-14 Dustin J. Mitchell <dustin@zmanda.com>
423 * config/amanda/krb5-security.m4: abort configure run if krb5
424 is requested by libraries aren't found
426 2008-01-13 Dustin J. Mitchell <dustin@zmanda.com>
427 * man/xml-source/amanda.conf.5.xml: use × instead of ×
429 2008-01-11 Paddy Sreenivasan <paddy@zmanda.com>
430 * device-src/Makefile.am: Don't install queueing.h and device.h
432 2008-01-11 Dustin J. Mitchell <dustin@zmanda.com>
433 * perl/Amanda/Config.swg perl/Amanda/Debug.swg: complete documentation
435 2008-01-11 Jean-Louis Martineau <martineau@zmanda.com>
436 * amandad-src/Makefile.am: Install amandad in $libexecdir/amanda
437 * installcheck/amgetconf.pl: usetimestamps defaults to yes.
438 * NEWS, ReleaseNotes: Notes about make installcheck.
440 2008-01-11 Jean-Louis Martineau <martineau@zmanda.com>
441 * NEWS: Add amcryptsimple, amgpgcrypt, amserverconfig and amaddclient.
442 * ReleaseNotes: Ditto.
444 2008-01-11 Jean-Louis Martineau <martineau@zmanda.com>
445 * ReleaseNotes: Update for amanda-2.6.0
446 * News: Update for amanda-2.6.0
447 * configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.0b1")
448 * Makefile.am (pkgdata_DATA): Add NEWS, ChangeLog and amanda.spec
449 * amanda.spec: %{!?amanda_version: %define amanda_version 2.6.0b1}
451 2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
452 * common-src/conffile.c (usetimestamps): Default ot yes.
453 * man/xml-source/amanda.conf.5.xml (usetimestamps): Document it.
455 2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
456 * server-src/amverifyrun.sh, server-src/amverify.sh,
457 tape-src/ammt.c, tape-src/amdd.c: Write deprecated message.
459 2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
460 * config/amanda/defaults.m4: Set amandates to $localstatedir/amanda/amandate
462 2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
463 * server-src/amfreetapes.sh: Use amlibexecdir.
465 2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
466 * config/amanda/dirs.m4: Set amlibexecdir to $libexecdir/amanda.
467 * amandad-src/amandad.c, amplot/amplot.sh,
468 amplot/Makefile.am, changer-src/chg-chs.sh,
469 changer-src/chg-disk.sh, changer-src/chg-juke.sh,
470 changer-src/chg-lib.sh.in, changer-src/chg-manual.sh,
471 changer-src/chg-mcutil.sh, changer-src/chg-mtx.sh,
472 changer-src/chg-multi.sh, changer-src/chg-null.sh,
473 changer-src/chg-rait.sh, changer-src/chg-rth.pl,
474 changer-src/chg-zd-mtx.sh, changer-src/Makefile.am,
475 client-src/Makefile.am, client-src/patch-system.sh,
476 client-src/selfcheck.c, client-src/sendbackup-dump.c,
477 client-src/sendbackup-gnutar.c, client-src/sendsize.c,
478 common-src/amaespipe.sh, common-src/amanda-sh-lib.sh.in,
479 common-src/amcrypt-ossl-asym.sh, common-src/amcrypt-ossl.sh,
480 common-src/amcrypt.sh, common-src/genversion.c,
481 common-src/local-security.c, common-src/Makefile.am,
482 common-src/rsh-security.c, common-src/ssh-security.c,
483 dumper-src/amgtar.pl, example/xinetd.amandaclient,
484 example/xinetd.amandaserver, installcheck/amgetconf.pl,
485 perl/Amanda/Changer.pm, perl/Amanda/Paths.pm.in,
486 restore-src/Makefile.am, server-src/amcheck.c,
487 server-src/amcheckdb.sh, server-src/amcleanup.sh,
488 server-src/amdump.sh, server-src/amflush.c,
489 server-src/amoverview.pl, server-src/amrmtape.sh,
490 server-src/amverifyrun.sh, server-src/amverify.sh,
491 server-src/changer.c, server-src/driver.c,
492 server-src/getconf.c, server-src/Makefile.am,
493 tape-src/Makefile.am: Use amlibexecdir.
495 2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
496 * config/amanda/flags.m4 (AMANDA_STATIC_FLAGS):
497 Set AMANDA_STATIC_LDFLAGS to '-static' if set.
498 * configure.in: Call AMANDA_STATIC_FLAGS.
499 * amandad-src/Makefile.am, changer-src/Makefile.am,
500 client-src/Makefile.am, common-src/Makefile.am,
501 dumper-src/Makefile.am, oldrecover-src/Makefile.am,
502 recover-src/Makefile.am, restore-src/Makefile.am,
503 server-src/Makefile.am,
504 tape-src/Makefile.am(AM_LDFLAGS): Set to AMANDA_STATIC_LDFLAGS.
506 2008-01-09 Jean-Louis Martineau <martineau@zmanda.com>
507 * configure.in (AC_CONFIG_FILES): Add example/template.d/amanda-S3.conf
508 * example/Makefile.am (dist_template_DATA): Add
509 template.d/amanda-S3.conf
511 2008-01-09 Jean-Louis Martineau <martineau@zmanda.com>
512 * changer-src/scsi-solaris.c: Cleanup.
514 2008-01-09 Ian Turner <ian@zmanda.com>
515 * changer-src/chg-zd-mtx.sh.in: Don't write a corrupt changerfile
516 when a tape has no barcode label.
518 2008-01-08 Dustin J. Mitchell <dustin@zmanda.com>
519 * server-src/amcheckdump.pl: call critical() rather than
522 2008-01-08 Jean-Louis Martineau <martineau@zmanda.com>
523 * server-src/amcheckdump.pl: Parse 'amflush: starttime' and
524 'planner: timestamp' line.
525 * server-src/amflush.c: Print correct starttime line.
527 2008-01-08 Ian Turner <ian@zmanda.com>
528 Most of this work was done by Dustin J. Mitchell
529 <dustin@zmanda.com>, with contributions by Ian Turner <ian@zmanda.com>.
530 * example/template.d/amanda-S3.conf.in: Example configuration
532 * device-src/device.c: Register the S3 device.
533 * device-src/tests/get-activation-key.pl: Tool to retrieve
534 a DevPay activation key.
535 * device-src/s3-device.c, device-src/s3-device.h: S3 device driver.
536 * device-src/s3.c, device-src/s3.h: Network support for S3 driver.
537 * device-src/property.c, device-src/property.h: Register S3
538 authentication properties.
539 * device-src/activate-devpay.c: Tool to convert a devpay
540 activation key into user tokens.
541 * device-src/Makefile.am: Support all these new files.
542 * configure.in: Check S3 prerequesites.
543 * config/amanda/s3-device.m4: Check if the S3 device should be
545 * config/amanda/libs.m4: Code to check for libcurl version and
547 * common-src/util.c: Use libcurl header.
549 2008-01-08 Dustin J. Mitchell <dustin@zmanda.com>
550 * server-src/amcheckdump.pl: call critical() rather than
553 2008-01-08 Jean-Louis Martineau <martineau@zmanda.com>
554 * common-src/local-security.c: New 'local' security driver.
555 * common-src/security.c (drivers): Add local_security_driver
556 * common-src/Makefile.am (libamanda_la_SOURCES): Add local-security.c
557 * man/xml-source/amanda.conf.5.xml,
558 man/xml-source/amanda-client.conf.5.xml,
559 example/amanda-client.conf.in,
560 example/template.d/dumptypes: Document 'local' security driver.
562 2008-01-08 Dustin J. Mitchell <dustin@zmanda.com>
563 * server-src/amcheckdump.pl perl/Amanda/Util.swg: don't use
564 the C safe_fd, which kills the Perl debugger; just check
565 that fd's 0-2 are open
567 2008-01-08 Dustin J. Mitchell <dustin@zmanda.com>
568 * perl/Amanda/Types.swg perl/Makefile.am: add new Amanda::Types module
569 to contain data structures common to several other modules.
570 * perl/Amanda/Device.swg: move dumpfile_t to Amanda::Types
571 * installcheck/Amanda_Types.pl installcheck/Makefile.am: simple tests
573 * common-src/fileheader.c common-src/fileheader.h: build_header
574 now takes a precise size, not a minimum.
576 2008-01-08 Jean-Louis Martineau <martineau@zmanda.com>
577 * recover-src/amrecover.c: Call apply_config_overwrites before
578 config_init(CONFIG_INIT_EXPLICIT_NAME ...)
580 2008-01-07 Jean-Louis Martineau <martineau@zmanda.com>
581 * common-src/util.c (strquotedstr, hexdump): Remove function.
582 * common-src/util.h (strquotedstr, hexdump): Remove prototype.
583 * common-src/fileheader.c (strquotedstr, hexdump): Add function.
584 * common-src/fileheader.c (strquotedstr): Fix.
586 2008-01-07 Jean-Louis Martineau <martineau@zmanda.com>
587 * perl/Amanda/Changer.pm: Use Amanda::Config::get_config_dir().
589 2008-01-07 Jean-Louis Martineau <martineau@zmanda.com>
590 * config/automake/scripts.am: Don't set CHECK_PERL.
591 * changer-src/Makefile.am: Set CHECK_PERL.
592 * client-src/Makefile.am: Set CHECK_PERL.
593 * dumper-src/Makefile.am: Set CHECK_PERL.
594 * common-src/Makefile.am: Set CHECK_PERL.
596 2008-01-07 Jean-Louis Martineau <martineau@zmanda.com>
597 * common-src/krb5-security.c: Fix argument to resolve_hostname.
598 * config/amanda/krb4-security.m4: Check .a or .so lib.
599 * config/amanda/krb5-security.m4: Check .a or .so lib.
601 2008-01-07 Jean-Louis Martineau <martineau@zmanda.com>
602 * device-src/Makefile.am: Merge typo.
603 * example/Makefile.am: Merge Typo.
605 2007-12-27 Dustin J. Mitchell <dustin@zmanda.com>
606 * configure.in config/amanda/printf.m4: remove unused
609 2007-12-27 Paddy Sreenivasan <paddy@zmanda.com>
610 * server-src/reporter.c: Check for NULL mailto
612 2007-12-27 Satya Ganga <gsat@zmanda.com>
613 * server-src/amserverconfig.pl: holding disk will be created
614 only if we have at least 1G free space in the Amanda home dir
616 2007-12-27 Ian Turner <ian@zmanda.com>
617 * server-src/taperscan.c server-src/taper.c: only print error_message
620 2007-12-27 Dustin J. Mitchell <dustin@zmanda.com>
621 * server-src/amrmtape.sh: remove @DB_EXT@, which no longer
622 exists (since 2007-10-09).
624 2007-12-26 Dustin J. Mitchell <dustin@zmanda.com>
625 * server-src/amverify.sh: fix multiple non-portable shell
628 2007-12-23 Dustin J. Mitchell <dustin@zmanda.com>
629 Large-scale merge of perl interface to Amanda, along with
630 a fleet of related changes. Patch authors are given for
631 changes not made by Dustin.
633 * perl/Makefile.am config/amanda/swig.m4: use
634 ExtUtils::Embed::perl_inc() to get the include directory
635 and let Amanda's compiler/linker flags and libtool take
637 * perl/Amanda/Config.swg: use accessors for config_name,
638 config_filename, and config_dir
639 * server-src/amcheckdump.pl server-src/amdevcheck.pl
640 perl/Amanda/Util.swg installcheck/Amanda_Config.pl: use
642 * perl/Amanda/Util.swg common-src/amanda.h: use a .-relative
643 path in two #include directives to avoid accidentally
644 including perl's headers of the same name; this is a temporary
645 hack until a larger-scale overhaul of Amanda's headers is done.
646 * config/amanda/swig.m4: error out if shared libraries are disabled
647 * server-src/amcheckdump.pl: Use timestamp from latest
648 amdump.1 or amflush.1 log file. (Jean-Louis Martineau
649 <martineau@zmanda.com>)
650 * server-src/amcheckdump.pl: Output partnum. (Jean-Louis
651 Martineau <martineau@zmanda.com>)
652 * server-src/amcheckdump.pl: Add a '/' after the config name.
653 (Jean-Louis Martineau <martineau@zmanda.com>)
654 * perl/Amanda/Logfile.swg perl/Amanda/Device.swg perl/Makefile.am
655 perl/amglue/integers.swg perl/amglue/amglue.h
656 perl/amglue/amglue.swg perl/amglue/glib.swg
657 perl/amglue/bigint.c: Always use Math::BigInt to convert numeric
658 quantities from C to Perl, to avoid integer overflow and automatic
660 * perl/Amanda/Debug.swg client-src/versionsuffix.c
661 common-src/util.c common-src/util.h common-src/debug.c
662 common-src/debug.h common-src/conffile.c
663 common-src/conffile.h common-src/file.c common-src/file.h:
664 - move get_/set_pname to util.c
665 - rename RunningAsWho to running_as_flags
666 - cache original cwd before changing it in safe_cd, and use the
667 cached value in conffile
668 * server-src/logfile.c: call set_logerror in open_log
669 * client-src/runtar.c common-src/debug.c common-src/amanda.h
670 common-src/file.c common-src/file.h: replace client_uid,
671 client_gid globals with functions, to eliminate the need
673 * server-src/logfile.c: Update warning about globals
674 * server-src/find.c: Update search_logfile to possibly search
675 all tapes in a logfile. Also, other miscellaneous
676 refactoring. (Ian Turner <ian@zmanda.com>)
677 * server-src/find.h: Document new interface.
678 * server-src/amindexd.c, server-src/amadmin.c,
679 server-src/amtrmidx.c, restore-src/amfetchdump.c: Use new
681 * common-src/util.c, common-src/util.h: New function
682 compare_possibly_null_strings, which is like strcmp() but
683 orders NULL pointers before non-null strings.
684 * Makefile.am: reflect BINARY_OWNER into distcheck-triggered
686 * common-src/conffile.c common-src/conffile.h: completely
687 new API, almost complete rewrite
688 * common-src/columnar.c common-src/columnar.h
689 common-src/Makefile.am: new files, extracted from
691 * oldrecover-src/amrecover.c oldrecover-src/extract_list.c
692 changer-src/chg-scsi-chio.c changer-src/chg-scsi.c
693 client-src/sendbackup.c client-src/sendsize.c
694 client-src/selfcheck.c amandad-src/amandad.c
695 device-src/device.c recover-src/amrecover.c
696 recover-src/extract_list.c server-src/diskfile.h
697 server-src/logfile.c server-src/amlogroll.c
698 server-src/amindexd.c server-src/amcheck.c
699 server-src/dumper.c server-src/planner.c
700 server-src/chunker.c server-src/amadmin.c
701 server-src/amtape.c server-src/amcleanupdisk.c
702 server-src/getconf.c server-src/amflush.c
703 server-src/amtrmlog.c server-src/driverio.c
704 server-src/holding.c server-src/driverio.h
705 server-src/driver.c server-src/reporter.c server-src/taper.c
706 server-src/find.c server-src/amindex.c server-src/amtrmidx.c
707 server-src/diskfile.c server-src/amlabel.c
708 perl/Amanda/Config.swg config/amanda/defaults.m4
709 restore-src/amidxtaped.c restore-src/amrestore.c
710 restore-src/restore.c restore-src/amfetchdump.c
711 common-src/util.h common-src/glib-util.c tape-src/tapeio.c
712 common-src/amanda.h tape-src/tapeio.h: use new conffile API
713 * installcheck/Makefile.am installcheck/Amconfig.pm.in
714 installcheck/Installdirs.pm.in installcheck/Amanda_Config.pl
715 installcheck/Amanda_Changer.pl installcheck/Amanda_Cmdline.pl
716 installcheck/Amanda_Logfile.pl installcheck/amcheckdump.pl
717 installcheck/amdevcheck.pl installcheck/amgetconf.pl:
718 new unit tests for new modules, applications
719 * server-src/amdevcheck.pl server-src/amcheckdump.pl: new pure-
720 Perl applications; amcheckdump.pl is by Ian Turner
722 * perl/Amanda perl/Makefile.am perl/Amanda/Paths.pm.in
723 perl/Amanda/Logfile.swg perl/Amanda/Changer.pm
724 perl/Amanda/Config.swg perl/Amanda/Debug.swg
725 perl/Amanda/Tapefile.swg perl/Amanda/Cmdline.swg
726 perl/Amanda/Util.swg perl/Amanda/Device.swg: new directory
727 containing perl interfaces to Amanda modules
728 * perl/amglue perl/amglue/integers.swg perl/amglue/amglue.h
729 perl/amglue/exports.swg perl/amglue/ghashtable.c
730 perl/amglue/amglue.swg perl/amglue/constants.swg
731 perl/amglue/glib.swg perl/amglue/bigint.c: functions and
732 macros to glue Amanda to perl
734 2007-12-21 Satya Ganga <gsat@zmanda.com>
735 * server-src/amserverconfig.pl: correct holding disk size
736 validation logic so that it works on solaris too
738 2007-12-21 Satya Ganga <gsat@zmanda.com>
739 * server-src/amserverconfig.pl: amserverconfig needs to create a empty
742 2007-12-21 Jean-Louis Martineau <martineau@zmanda.com>
743 Bug reported by Tim Bunnell.
744 * client-src/getfsent.c (dev2rdev): Do it only for block device.
746 2007-12-21 Jean-Louis Martineau <martineau@zmanda.com>
747 * server-src/taper.c: Unquote holding_disk_file.
749 2007-12-20 Dustin J. Mitchell <dustin@zmanda.com>
750 * common-src/debug.h: fix (cosmetic, but confusing) typo
752 2007-12-19 Jean-Louis Martineau <martineau@zmanda.com>
753 * common-src/util.c (quote_string): Quote ':'.
755 2007-12-19 Ian Turner <ian@zmanda.com>
756 * server-src/taper.c: Don't crash if there is a problem writing a
759 2007-12-19 Jean-Louis Martineau <martineau@zmanda.com>
760 * server-src/planner.c: Correctly set planner_timestamp if
761 usetimestamps is set to no.
763 2007-12-18 Jean-Louis Martineau <martineau@zmanda.com>
764 * server-src/driverio.c (childstr): Check dumper->chunker.
766 2007-12-14 Ian Turner <ian@zmanda.com>
767 * device-src/tape-device.c: Try to open tape devices as O_NONBLOCK
768 at first; if the device is not ready, we will let the changer script
769 retry, instead of having the kernel do it for us.
770 * device-src/tape-ops.h, device-src/tape-aix.c,
771 device-src/tape-uware.c, device-src/tape-xenix.c,
772 device-src/tape-posix.c: Add new tape_is_ready() function.
774 2007-12-14 Jean-Louis Martineau <martineau@zmanda.com>
775 * config/amanda/dumpers.m4: Don't set STAR in AMANDA_PROG_SAMBA_CLIENT.
777 2007-12-14 Jean-Louis Martineau <martineau@zmanda.com>
778 * server-src/find.c (search_logfile): Parse taper result line before
781 2007-12-14 Jean-Louis Martineau <martineau@zmanda.com>
782 * server-src/find.c (find_log): Result should not have duplicate
785 2007-12-10 Jean-Louis Martineau <martineau@zmanda.com>
786 * server-src/amstatus.pl: Parse NEW-TAPE line
787 * server-src/taper.c: Add the handle in NEW-TAPE result.
788 * server-src/driver.c: Check number of arguments in NEW-TAPE result.
790 2007-12-10 Jean-Louis Martineau <martineau@zmanda.com>
791 * config/amanda/progs.m4: Define AMLINT To 'echo;false' to no lint
794 2007-12-10 Jean-Louis Martineau <martineau@zmanda.com>
795 * common-src/bsdudp-security.c: Loop over all address until a bind
797 * common-src/bsd-security.c: Loop over all address until a bind
799 * common-src/stream.c: Loop over all address until a connect is
802 2007-12-07 Jean-Louis Martineau <martineau@zmanda.com>
803 * server-src/amindexd.c: Don't use duplicate part.
805 2007-12-07 Jean-Louis Martineau <martineau@zmanda.com>
806 * restore-src/amfetchdump.c: Don't use duplicate part.
808 2007-12-07 Jean-Louis Martineau <martineau@zmanda.com>
809 * server-src/holding.c (holding_get_all_datestamps): Don't add
812 2007-12-07 Jean-Louis Martineau <martineau@zmanda.com>
813 * server-src/amcheck.c: Don't complain about correct unlabeled
816 2007-12-06 Jean-Louis Martineau <martineau@zmanda.com>
817 * client-src/sendbackup.c, client-src/sendsize.c,
818 client-src/selfcheck.c, client-src/calcsize.c,
819 amandad-src/amandad.c, device-src/device.c,
820 device-src/vfs-device.c, server-src/changer.c,
821 server-src/dumper.c, server-src/planner.c,
822 server-src/chunker.c, server-src/server_util.c,
823 server-src/taperscan.c, server-src/driver.c,
824 server-src/taper.c, server-src/find.c,
825 server-src/diskfile.c, common-src/pipespawn.c,
826 common-src/util.c, common-src/conffile.c: Fix memory leak.
828 2007-12-06 Jean-Louis Martineau <martineau@zmanda.com>
829 * server-src/find.c (search_logfile): Parse PARTPARTIAL line.
831 2007-12-06 Jean-Louis Martineau <martineau@zmanda.com>
832 * server-src/taper.c: Use g_strdup if pointer can be NULL.
834 2007-12-05 Jean-Louis Martineau <martineau@zmanda.com>
835 * server-src/taperscan.c: Don't output the latest changer result.
837 2007-12-05 Jean-Louis Martineau <martineau@zmanda.com>
838 * common-src/util.c (resolve_hostname): Take a new socktype argument.
839 * common-src/util.h (resolve_hostname): New prototype.
840 * common-src/bsd-security.c, common-src/bsdtcp-security.c,
841 common-src/bsdudp-security.c, common-src/krb5-security.c,
842 common-src/rsh-security.c, common-src/security-util.c,
843 common-src/ssh-security.c, common-src/stream.c,
844 recover-src/set_commands.c, server-src/amcheck.c,
845 server-src/dumper.c: Call resolve_hostname with socktype argument.
847 2007-12-05 Jean-Louis Martineau <martineau@zmanda.com>
848 * common-src/util.c (resolve_hostname): Don't return V4MAPPED address.
849 * common-src/amanda.h (AI_V4MAPPED, AI_ALL): Don't define.
851 2007-12-04 Ian Turner <ian@zmanda.com>
852 * server-src/taperscan.c, server-src/taperscan.h: Support persistence
853 between invocations of taper_scan(), so that you can get second-best
855 * server-src/amcheck.c, server-src/amtape.c: Use the new taperscan
857 * server-src/taper.c: Do the right thing if there is an error writing
860 2007-12-04 Jean-Louis Martineau <martineau@zmanda.com>
861 * server-src/amtape.c: Correctly output the result of taper scan.
863 2007-12-04 Jean-Louis Martineau <martineau@zmanda.com>
864 * server-src/amcheck.c, server-src/dumper.c
865 server-src/planner.c: Don't crash is securoty driver is not found.
867 2007-12-04 Jean-Louis Martineau <martineau@zmanda.com>
868 * server-src/changer.c: Print better message if the changer script
871 2007-12-03 Jean-Louis Martineau <martineau@zmanda.com>
872 * man/xml-source/amserverconfig.8.xml: Fix indentation.
874 2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
875 * server-src/taper-mem-port-source.c, server-src/taper-file-source.c
876 server-src/taper.c: Cast guint64 to uintmax_t and use %ju to print.
878 2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
879 * man/xml-source/amanda.conf.5.xml: Improve documentation.
880 * example/amanda.conf.in: Ditto.
882 2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
883 * server-src/server_util.c (cmdstr): Remove SPLIT-NEEDNEXT
885 * server-src/server_util.h (cmd_t): Remove SPLIT_NEEDNEXT
887 * server-src/taper.c: Send part_kbyte in PARTDONE result.
888 * server-src/amstatus.pl: Parse part_kbyte in PARTDONE result line.
889 Parse REQUEST-NEW_TAPE line.
890 * common-src/conffile.h: CONF_FLUSH_THRESHOLD_DUMPED,
891 CONF_FLUSH_THRESHOLD_SCHEDULE, CONF_TAPERFLUSH.
892 * common-src/conffile.c: CNF_FLUSH_THRESHOLD_DUMPED,
893 CNF_FLUSH_THRESHOLD_SCHEDULE, CNF_TAPERFLUSH.
894 * server-src/driverio.h: Add Many globals.
895 * server-src/driver.c: Split runq in runq and directq.
896 Implement flush-threshold-*/taperflush.
897 * example/amanda.conf.in: Example for flush-threshold-* and taperflush.
898 * man/xml-source/amanda.conf.5.xml: Document flush-threshold-*
901 2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
902 * server-src/taperscan.c: Fix output formating.
904 2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
905 * recover-src/set_commands.c: Add a terminating '/' in cd_regex.
906 Never add it in cd_dir.
908 2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
909 * config/automake/scripts.am: Build of the scripts also depend on
910 $(top_builddir)/config.status
912 2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
913 * server-src/amdump.sh: Pass a --startime argument to planner.
914 * server-src/planner.c: Get the --starttime command line argument.
916 2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
917 * server-src/amstatus.pl: New --locale-independent-date-format option.
918 * man/xml-source/amstatus.8.xml: Document it.
919 * server-src/amflush.c: Output a "starttime-locale-independent" line.
920 * server-src/amdump.sh: Output a "starttime-locale-independent" line.
922 2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
923 * server-src/find.c: Remove seen_chunk_of function.
925 2007-11-28 Jean-Louis Martineau <martineau@zmanda.com>
926 * config/macro-archive/docbook-dtd.m4: Check return code of 5.
928 2007-11-28 Dustin J. Mitchell <dustin@zmanda.com>
929 * installcheck/Amconfig.pm.in: fix quoting error leading to
930 directories named '"'
932 2007-11-28 Dustin J. Mitchell <dustin@zmanda.com>
933 * common-src/file.c: only chown new directories when running as root
935 2007-11-28 Dustin J. Mitchell <dustin@zmanda.com>
936 * config/automake/installperms.am: strip directory names from build
937 filenames when setting permissions; fixes errors from examples/
940 2007-11-28 Dustin J. Mitchell <dustin@zmanda.com>
941 * man/Makefile.am: Allow installs, but not tarballs, without
944 2007-11-27 Jean-Louis Martineau <martineau@zmanda.com>
945 * server-src/planner.c: Check dp->todo before using (est)->dp.
947 2007-11-27 Jean-Louis Martineau <martineau@zmanda.com>
948 * device-src/device.c (default_device_start): Overwrite label only
949 if mode == ACCESS_WRITE.
951 2007-11-20 Ian Turner <ian@zmanda.com>
952 * device-src/device.c, device-src/device.h
953 device-src/tape-device.c, device-src/rait-device.c: Change API
954 semantics with respect to label reading. This patch makes it
955 possible to open and read a volume with properties while only
956 reading its label once. Thanks to Jean-Louis Martineau
957 <martineau@zmanda.com> for suggesting this change.
959 2007-11-20 Ian Turner <ian@zmanda.com>
960 * device-src/vfs-device.c: Be more thourough about updating volume
963 2007-11-20 Ian Turner <ian@zmanda.com>
964 * changer-src/chg-lib.sh.in: Use a more robust check for MT path.
965 * server-src/amverify.sh.in: Use amrestore instead of amdd/ammt.
967 2007-11-09 Ian Turner <ian@zmanda.com>
968 * server-src/taperscan.c: Fix a memory allocation bug and be a little
971 2007-11-06 Ian Turner <ian@zmada.com>
972 * server-src/taperscan.c: Print a proper message if there is
973 only one flag from device_read_label().
975 2007-11-26 Dustin J. Mitchell <dustin@zmanda.com>
976 * configure.in config/amanda/config.m4 common-src/genversion.c
977 common-src/Makefile.am: explicitly generate svn info at configure
978 time, rather than relying on svn keywords
980 2007-11-26 Ian Turner <ian@zmanda.com>
981 * server-src/Makefile.am: Move amdevcheck from libexec/ to sbin/.
982 Thanks to Satya Ganga <gsat@zmanda.com> for noticing this problem.
984 2007-11-26 John Franks <jrfranks@zmanda.com>
985 * common-src/debug.c For cygwin builds: change to
986 close and reopen log file handle on successful rename.
987 This is to ensure that Windows has no possibility of
988 preventing access to the original file name if processes
991 2007-11-23 Jean-Louis Martineau <martineau@zmanda.com>
992 * server-src/amflush.c: Send config option (-o) to child process.
994 2007-11-23 Jean-Louis Martineau <martineau@zmanda.com>
995 * server-src/planner.c: Don't set est(dp)->state before testing it.
997 2007-11-23 Jean-Louis Martineau <martineau@zmanda.com>
998 * config/amanda/readline.m4: Include termcap, curses or ncurese in LIBS.
1000 2007-11-23 Jean-Louis Martineau <martineau@zmanda.com>
1001 * server-src/diskfile.c (match_disklist): Fix for disk not found.
1003 2007-11-23 Jean-Louis Martineau <martineau@zmanda.com>
1004 * server-src/driver.c: Don't release taper_ev_read in
1005 start_degraded_mode.
1007 2007-11-20 Paddy Sreenivasan <paddy@zmanda.com>
1008 * amanda.spec: Added calls to Zmanda
1009 * example/amanda-client.conf.in: Switch to bsdtcp
1011 2007-11-14 Jean-Louis Martineau <martineau@zmanda.com>
1012 * server-src/amstatus.pl: Handle taper FAILED message.
1014 2007-11-14 Jean-Louis Martineau <martineau@zmanda.com>
1015 * config/amanda/userid.m4: Use $enableval in AC_ARG_ENABLE.
1017 2007-11-07 Paddy Sreenivasan <paddy@zmanda.com>
1018 * server-src/amserverconfig.pl server-src/amaddclient.pl:
1019 new configuration tools
1020 * common-src/amgpgcrypt.pl common-src/amcryptsimple.pl:
1021 new encryption plugins
1022 * man/xml-source/amaddclient.8.xml man/xml-source/amgpgcrypt.8.xml
1023 man/xml-source/amcryptsimple.8.xml
1024 man/xml-source/amserverconfig.8.xml: man pages for new tools
1025 * example/template.d/* - Configuration file templates
1026 * example/amanda-client.conf.in: Updated amanda configuration file
1027 * example/Makefile.am man/Makefile.am server-src/Makefile.am
1028 common-src/Makefile.am: Added amserverconfig, amaddclient,
1029 amgpgcrypt and amcryptsimple
1030 * device-src/Makefile.am: Fixed libamdevice version
1031 * configure.in: Added template files
1032 * amanda.spec: Updated spec file for new utilities
1034 2007-11-01 Dustin J. Mitchell <dustin@zmanda.com>
1035 * config/automake/installperms.am: new method of specifying
1036 permissions on installed files
1037 * config/amanda/userid.m4 configure.in: add --disable-installperms
1038 to disable any permsisions settings (useful for packaging builds)
1039 * oldrecover-src/Makefile.am example/Makefile.am
1040 changer-src/Makefile.am amplot/Makefile.am
1041 client-src/Makefile.am amandad-src/Makefile.am man/Makefile.am
1042 dumper-src/Makefile.am recover-src/Makefile.am
1043 server-src/Makefile.am restore-src/Makefile.am
1044 Makefile.am support/Makefile.am common-src/Makefile.am
1045 tape-src/Makefile.am: use installperms.am
1047 2007-11-01 Dustin J. Mitchell <dustin@zmanda.com>
1048 Suggested by Jon LaBadie
1049 * config/automake/precompile.am: new rule to make
1050 precompiler output files; useful for debugging
1051 * */Makefile.am: include precompile.am
1053 2007-11-01 Jean-Louis Martineau <martineau@zmanda.com>
1054 * AUTHORS: Add Dustin J. Mitchell.
1056 2007-10-31 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
1057 * most C files, amanda.h: Switch to using the g_printf family, which
1058 supports a consistent set of %-conversions, including the 'z'
1059 (size_t) and 'j' (intmax_t) size specifiers. Convert various
1060 printf format strings accordingly.
1062 2007-10-31 Dustin J. Mitchell <dustin@zmanda.com>
1063 * common-src/genversion.c common-src/Makefile.am: fix BUILD_REV
1064 and BUILD_BRANCH to work even when packages are built from
1065 distribution tarballs
1067 2007-10-31 Ian Turner <ian@zmanda.com>
1068 * server-src/taperscan.c: Don't segfault if there is an error opening
1069 a device during taperscan.
1071 2007-10-30 Dustin J. Mitchell <dustin@zmanda.com>
1072 * docs autogen INSTALL UPGRADING configure.in
1073 DEVELOPING Makefile.am: remove docs/ directory in favor of
1074 manpages and online reference; most docs/* were outdated
1076 2007-10-29 Dustin J. Mitchell <dustin@zmanda.com>
1077 * changer-src/chg-zd-mtx.sh: fix typo
1079 2007-10-29 Ian Turner <ian@zmanda.com>
1080 * restore-src/restore.c: Don't mention slot numbers when running
1083 2007-10-29 Ian Turner <ian@zmanda.com>
1084 * man/xml-source/amfetchdump.8.xml: Remove documentation for
1087 2007-10-26 Dustin J. Mitchell <dustin@zmanda.com>
1088 Add support for post-install tests, which can be more thorough than
1090 * configure.in Makefile.am installcheck/*: new directory
1091 * installcheck/amgetconf.pl: test some of amgetconf's functionality
1092 * docs/developing.txt: notes on various test mechanisms
1093 * config/automake/scripts.am: add CHECK_PERL_FLAGS
1094 * common-src/debug.c: only try to chown debug files if running as root
1096 2007-10-25 Dustin J. Mitchell <dustin@zmanda.com>
1097 * config/mkinstalldirs config/depcomp config/config.guess
1098 config/ltmain.sh config/config.sub config/missing
1099 config/install-sh config/ylwrap: update files with automake-1.10,
1101 * autogen: don't call automake with --add-missing, as it stomps all
1102 over the working copy
1104 2007-10-25 Dustin J. Mitchell <dustin@zmanda.com>
1105 * gnulib/* config/*: updated to latest gnulib
1106 * gnulib/regenerate/regenerate: update gnulib date
1107 * gnulib/regenerate/getaddrinfo-cygwin.patch: update to patch new
1109 * device-src/tests/vfs_test.c: mkdtemp.h no longer exists
1111 2007-10-24 Jean-Louis Martineau <martineau@zmanda.com>
1112 * client-src/Makefile.am: Remove duplicate entry for
1113 libamclient_la_SOURCES.
1115 2007-10-23 Dustin J. Mitchell <dustin@zmanda.com>
1116 * config/automake/scripts.am: rules to build (substitute) scripts
1117 * config/automake/vars.am: define empty variables for later appending
1118 * config/automake/check-perl.am config/automake/check-shell.pm:
1120 * changer-src/Makefile.am amplot/Makefile.am client-src/Makefile.am
1121 dumper-src/Makefile.am server-src/Makefile.am
1122 common-src/Makefile.am: Use new include files
1123 * configure.in: remove now-unnecessary AC_CONFIG_FILES
1124 * *.sh.in *.pl.in *.awk.in: renamed
1126 2007-10-20 Jean-Louis Martineau <martineau@zmanda.com>
1127 * server-src/reporter.c: Always call sort_disks.
1129 2007-10-20 Jean-Louis Martineau <martineau@zmanda.com>
1130 * man/xml-source/amanda.conf.5.xml: Correctly document portrange.
1131 * common-src/conffile.c: Fix portrange.
1133 2007-10-20 Jean-Louis Martineau <martineau@zmanda.com>
1134 * common-src/conffile.c: Allow reserved-udp-port and reserved-tcp-port
1135 in amanda-client.conf.
1137 2007-10-17 Dustin J. Mitchell <dustin@zmanda.com>
1138 * common-src/amanda.h: remove amflock cruft
1140 2007-10-16 Dustin J. Mitchell <dustin@zmanda.com>
1141 * config/amanda/defaults.m4: Change EXAMPLE_TAPEDEV to use the 'tape:'
1142 syntax, and to indicate "you need to change this!" more explicitly
1144 2007-10-16 Ian Turner <ian@zmanda.com>
1145 * common-src/glib-util.c: Allow use of units in parsing GValues; in
1146 particular, this allows use of units when specifying device
1147 properties in the configuration file.
1148 * common-src/conffile.c, common-src/conffile.h: Make unit suffixes
1149 available outside of conffile.c.
1151 2007-10-16 Ian Turner <ian@zmanda.com>
1152 * device-src/device.c: Fix a compilation error in
1153 device_set_startup_properties_from_config().
1155 2007-10-16 Ian Turner <ian@zmanda.com>
1156 * man/xml-source/amanda.conf.5.xml, server-src/taper.c,
1157 common-src/conffile.c, common-src/conffile.h: Add new
1158 configuration directive device_output_buffer_size to replace
1161 2007-10-15 Ian Turner <ian@zmanda.com>
1162 * device-src/device.c: Don't complain about problems setting
1163 MAX_VOLUME_USAGE; do complain about problems setting
1166 2007-10-16 Jean-Louis Martineau <martineau@zmanda.com>
1167 * client-src/sendbackup-gnutar.c: Use GNUTAR.
1169 2007-10-15 Dustin J. Mitchell <dustin@zmanda.com>
1170 * device-src/device.c: do not fall back to tape:/foo if the tape
1171 device is not available (WANT_TAPE_DEVICE is not set)
1173 2007-10-12 Dustin J. Mitchell <dustin@zmanda.com>
1174 * changer-src/chg-mtx.sh.in changer-src/chg-zd-mtx.sh.in
1175 changer-src/chg-multi.sh.in: add missing definition of prefix
1177 2007-10-12 Jean-Louis Martineau <martineau@zmanda.com>
1178 * common-src/protocol.c (s_repwait): return PA_FINISH on P_NAK.
1180 2007-10-11 Dustin J. Mitchell <dustin@zmanda.com>
1181 * config/amanda/tape.m4: fix typo (have_MTIOCTOP -> HAVE_MTIOCTOP)
1183 2007-10-10 Dustin J. Mitchell <dustin@zmanda.com>
1184 * common-src/amflock-test.c common-src/amflock-lnlock.c: don't use
1185 AMANDA_TMPDIR during build-time testing
1187 2007-09-14 Dustin J. Mitchell <dustin@zmanda.com>
1188 * recover-src/uscan.l recover-src/extract_list.c
1189 recover-src/uparse.y recover-src/amrecover.h
1190 recover-src/help.c recover-src/set_commands.c: deprecate
1191 'settape', add 'setdevice'
1192 * man/xml-source/amrecover.8.xml: corresponding doc update
1193 * example/amanda.conf.in: update comments in example config,
1194 change default value of amrecover_changer from the confusing
1197 2007-10-09 Dustin J. Mitchell <dustin@zmanda.com>
1198 * common-src/amflock-test.c: lock files in the cwd, rather than /tmp,
1199 and pay attention to errors from unlink()
1201 2007-10-09 Dustin J. Mitchell <dustin@zmanda.com>
1202 * gnulib/regenerate/regenerate gnulib/mkdtemp.c gnulib/mkdtemp.h
1203 gnulib/gettimeofday.c gnulib/sys_time_.h gnulib/tempname.c
1204 gnulib/tempname.h gnulib/stat_.h gnulib/Makefile.am
1205 device-src/tests/vfs_test.c config/gnulib/mkdtemp.m4
1206 config/gnulib/sys_time_h.m4 config/gnulib/tempname.m4
1207 config/gnulib/gnulib-comp.m4 config/gnulib/sys_stat_h.m4
1208 config/gnulib/gnulib-cache.m4 config/gnulib/gettimeofday.m4:
1209 add 'mkdtemp' gnulib module, use it in vfs_test.c
1211 2007-10-09 Jean-Louis Martineau <martineau@zmanda.com>
1212 * common-src/util.c (portable_readdir): Don't use reentrant function.
1214 2007-10-08 Dustin J. Mitchell <dustin@zmanda.com>
1215 * autogen configure.in config/macro-archive/*.m4
1216 config/amanda/*.m4 config/libtool/*.m4: move most autoconf
1217 checks to macros in .m4 files. Hilights of changes along the way:
1218 - use AC_REQUIRES to enforce check ordering
1219 - Add a post-configure summary of important results
1220 - use AM_CONDITIONAL to control conditional compilation of whole
1221 files, instead of preprocessor macros
1222 - correct spelling of PRINCIPLE -> PRINCIPAL
1223 - remove support for dbmalloc (we use valgrind, coverity, etc. now)
1224 - remove support for infofiles in anything but text format
1225 - change DONT_SUID_ROOT to !WANT_SETUID_ROOT
1226 - remove unused --with-broken-fsf
1227 - remove multiple unused function and header checks, the defines
1228 from which do not appear in any source file
1229 - remove LTLIBOBJS cruft based on
1230 http://www.delorie.com/gnu/docs/autoconf/autoconf_165.html
1231 - remove unused LTALLOCA definition based on
1232 http://www.delorie.com/gnu/docs/libtool/libtool_30.html
1233 - use autoconf macro archive's
1234 AC_DEFINE_DIR to expand $prefix, etc. in directory variables
1235 - do not *require* --with-{user,group}; this allows 'make distcheck'
1237 * docs/developing.txt: describe how to update gnulib, libtool, and
1239 * po/reautopoint.patch po/reautopoint: script to update gettext,
1240 parallel to gnulib/regenerate/regenerate
1241 * amandad-src/amandad.c changer-src/scsi-aix.c
1242 changer-src/scsi-bsd.c changer-src/scsi-cam.c
1243 changer-src/scsi-changer-driver.c changer-src/scsi-chio.c
1244 changer-src/scsi-hpux.c changer-src/scsi-hpux_new.c
1245 changer-src/scsi-irix.c changer-src/scsi-linux.c
1246 changer-src/scsi-proto.c changer-src/scsi-solaris.c
1247 changer-src/sense.c client-src/calcsize.c client-src/getfsent.c
1248 client-src/selfcheck.c client-src/sendbackup.c
1249 client-src/sendsize.c common-src/alloc.c common-src/amanda.h
1250 common-src/conffile.c common-src/debug.c common-src/file.c
1251 common-src/genversion.c common-src/krb4-security.c
1252 common-src/writev.c device-src/tape-posix.c server-src/amadmin.c
1253 server-src/amcheck.c server-src/amlabel.c server-src/amlogroll.c
1254 server-src/amtape.c server-src/amtrmidx.c server-src/amtrmlog.c
1255 server-src/changer.c server-src/chunker.c server-src/diskfile.c
1256 server-src/driver.c server-src/dumper.c server-src/getconf.c
1257 server-src/infofile.c server-src/infofile.h server-src/planner.c
1258 server-src/reporter.c tape-src/output-tape.c: changes corresponding
1259 to simplifications and fixes in autoconf
1260 * gnulib/regenerate/no-error.patch gnulib/regenerate/regenerate: no
1261 need to create gnulib.m4i anymore
1263 2007-10-08 Kevin Till <ktill@zmanda.com> (merged by dustin@zmanda.com)
1264 * example/amanda.conf.in: add segate LTO tapetype
1266 2007-10-08 Paddy Sreenivasan <paddy@zmanda.com>
1267 * changer-src/chg-lib.sh.in
1268 changer-src/chg-null.sh.in changer-src/chg-disk.sh.in
1269 changer-src/chg-juke.sh.in changer-src/chg-rait.sh.in
1270 changer-src/chg-chs.sh.in changer-src/chg-mcutil.sh.in
1271 amplot/amplot.sh.in client-src/patch-system.sh.in
1272 server-src/amcheckdb.sh.in server-src/amverifyrun.sh.in
1273 server-src/amrmtape.sh.in server-src/amverify.sh.in
1274 server-src/amfreetapes.sh.in server-src/amcleanup.sh.in
1275 server-src/amdump.sh.in common-src/amanda-sh-lib.sh.in
1276 common-src/amcrypt-ossl-asym.sh.in common-src/amcrypt.sh.in
1277 common-src/amaespipe.sh.in common-src/Makefile.am
1278 common-src/amcrypt-ossl.sh.in: move amanda-sh-lib.sh from
1279 $libexecdir/amanda to just $libexecdir
1281 2007-10-04 Dustin J. Mitchell <dustin@zmanda.com>
1282 * device-src/tests/Makefile.am device-src/tests/vfs_test.c: add a test
1284 * device-src/property.c device-src/vfs-device.c: add
1287 2007-10-04 Dan Locks <dwlocks@zmanda.com>
1288 * amanda.spec: add .spec file Zmanda uses for community builds
1290 2007-10-04 Dustin J. Mitchell <dustin@zmanda.com>
1291 * device-src/device.c device-src/Makefile.am configure.in: add
1292 WANT_TAPE_DEVICE conditional, for machines that have no tape
1293 support whatsoever (Mac OS X)
1295 2007-10-03 Dan Locks <dwlocks@zmanda.com>
1296 * configure.in: Added /opt/local/bin AC_PATH_PROG(PKG_CONFIG.. for
1297 mac osx and macports
1299 2007-10-03 Jean-Louis Martineau <martineau@zmanda.com>
1300 * server-src/driver.c: Go in degraded mode after out of tape.
1302 2007-10-02 Jean-Louis Martineau <martineau@zmanda.com>
1303 * man/xml-source/amanda.conf.5.xml: Fix indentation.
1305 2007-10-02 Dustin J. Mitchell <dustin@zmanda.com>
1306 * server-src/amcheck.c: Fix typo in merge found by
1307 martineau@zmanda.com
1309 2007-10-01 Ian Turner <ian@zmanda.com>
1310 * device-src/rait-device.c, device-src/queueing.c,
1311 device-src/tests/device_test.c, device-src/device.h,
1312 device-src/device.c: Remove device_is_eof() function in favor of
1313 accessing is_eof member directly.
1315 2007-10-01 Dustin J. Mitchell <dustin@zmanda.com>
1317 * amandad-src/amandad.c: fix a use-after-free
1319 2007-10-01 Ian Turner <ian@zmanda.com>
1320 * device-src/device.c: Automatically register the CANONICAL_NAME
1321 property for all devices.
1323 2007-10-01 Ian Turner <ian@zmanda.com>
1324 * device-src/tape-posix.c: Use MTEOD on systems that have it but not
1327 2007-10-01 Ian Turner <ian@zmanda.com>
1328 * device-src/device.c, device-src/vfs-device.c,
1329 device-src/rait-device.c: Use g_strdup() instead of strdup().
1331 2007-10-01 Ian Turner <ian@zmanda.com>
1332 * changer-src/chg-lib.sh.in: Fix some compilation problems on
1335 2007-09-25 Dan Locks <dwlocks@zmanda.com>
1336 * common-src/util.c: cast uid_t to long long for printf formatting
1338 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
1339 * oldrecover-src/Makefile.am changer-src/Makefile.am
1340 client-src/Makefile.am amandad-src/Makefile.am
1341 recover-src/Makefile.am server-src/Makefile.am
1342 restore-src/Makefile.am common-src/Makefile.am
1343 tape-src/Makefile.am: replace -I../config with
1344 -I$(top_builddir)/config
1345 * device-src/tests/Makefile.am: Replace -I.. with
1346 -I$(top_srcdir)/device-src
1348 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
1349 * client-src/sendsize.c: change "smbclient" to SAMBA_CLIENT to allow
1352 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
1353 * common-src/amflock-flock.c common-src/amflock-posix.c
1354 common-src/amflock-lockf.c common-src/amflock-lnlock.c
1355 common-src/amflock.c: use G_GNUC_UNUSED to avoid compiler
1358 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
1359 * common-src/amanda.h common-src/file.h: move declaration of
1360 canonicalize_pathname to file.h
1362 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
1363 * common-src/util.c common-src/util.h: only check euid==uid
1364 if not RUNNING_AS_UID_ONLY; set_root_privs() checks that euid=0
1365 * client-src/runstar.c client-src/noop.c client-src/runtar.c
1366 client-src/sendbackup.c client-src/killpgrp.c
1367 client-src/sendsize.c client-src/selfcheck.c
1368 client-src/rundump.c amandad-src/amandad.c
1369 server-src/amlogroll.c server-src/amindexd.c
1370 server-src/amcheck.c server-src/dumper.c server-src/planner.c
1371 server-src/chunker.c server-src/amadmin.c server-src/amtape.c
1372 server-src/amcleanupdisk.c server-src/amflush.c
1373 server-src/amtrmlog.c server-src/amdevcheck.c
1374 server-src/driver.c server-src/reporter.c server-src/taper.c
1375 server-src/amtrmidx.c server-src/amlabel.c
1376 restore-src/amidxtaped.c restore-src/amfetchdump.c:
1377 remove RUNNING_WITHOUT_SETUID and change RUNNING_AS_SETUID_ROOT
1378 to RUNNING_AS_UID_ONLY (with corresponding checks for root-ness)
1379 * client-src/calcsize.c: drop root privs immediately, and only
1380 regain them for stat() and opendir() operations
1382 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
1383 * device-src/property.c device-src/property.h: create VERBOSE property
1385 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
1386 * device-src/device.h device-src/queueing.h: expand comments
1387 * tape-src/output-rait.h tape-src/output-null.c
1388 tape-src/output-null.h tape-src/output-file.c
1389 tape-src/output-file.h tape-src/output-tape.c
1390 tape-src/output-tape.h tape-src/output-rait.c: add deprecation
1393 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1394 * changer-src/chg-zd-mtx.sh.in: Don't pass stripped device names back
1397 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1398 * changer-src/chg-mtx.sh.in, changer-src/chg-manual.sh.in,
1399 changer-src/chg-zd-mtx.sh.in, changer-src/chg-juke.sh.in,
1400 changer-src/chg-chs.sh.in, changer-src/chg-multi.sh.in: Don't use
1401 ammt for anything; use system mt and only for device operations that
1403 * changer-src/chg-lib.sh.in: Support for above change.
1405 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1406 * device-src/tape-device.c: Fix a border case bug where
1407 tape_device_robust_read() would abort when called with a buffer
1408 exactly equal to the minimum read size.
1410 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1411 * device-src/tape-device.c: Use g_strdup() instead of strdup().
1413 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1414 * device-src/vfs-device.h, device-src/fd-device.c,
1415 device-src/tape-device.c, device-src/Makefile.am,
1416 device-src/fd-device.h, device-src/tape-device.h,
1417 device-src/vfs-device.c: Delete the FdDevice and make TapeDevice
1418 and VfsDevice direct descendants of Device. Also, correct all
1419 reading and writing of volume and part labels for both drivers.
1420 * server-src/amcheck.c: Unlabeled tapes are OK, at least with
1421 label_new_tapes_option.
1423 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1424 * server-src/taperscan.c: Fix the order of arguments to
1425 scan_read_label(). Patch by Dustin J. Mitchell <dustin@zmanda.com>.
1427 2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
1428 * restore-src/restore.c: Change "no tapedev specified" message.
1430 2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
1431 * server-src/amtape.c: changer_label should be called only on success.
1433 2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
1434 * restore-src/restore.c: init cur_tapedev.
1436 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
1437 * gnulib/regenerate/regenerate gnulib/* config/gnulib/*: add
1438 gnulib module 'fsusage'
1439 * common-src/statfs-test.c common-src/statfs.c
1440 common-src/statfs.h common-src/Makefile.am: remove old statfs
1441 * client-src/selfcheck.c client-src/calcsize.c
1442 server-src/amcheck.c server-src/driver.c: use fsusage instead of
1445 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1446 * common-src/alloc.c: Do away with debug_amfree(), which makes invalid
1447 assumptions about the way system malloc() works.
1448 * common-src/amanda.h: Update definition of amtable_free() accordingly.
1450 2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
1451 * server-src/amadmin.c: Allow 'f' sort order.
1452 * server-src/find.c: Fix parsing of log files.
1453 * server-src/find.h (DEFAULT_SORT_ORDER): Set to "hkdlpbf".
1455 2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
1456 * server-src/driverio.h (sched_t): Split attempted in dump_attempted
1457 and taper_attempted.
1458 * server-src/driver.c: Split attempted in dump_attempted
1459 and taper_attempted.
1460 * server-src/driver.c (file_taper_result): Retry dump if INPUT-ERROR.
1462 2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
1463 * server-src/dumper.c (add_msg_data): Remove bogus handling of "
1466 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1467 * server-src/taper-file-source.c: If there's a problem reading the
1468 holding disk, log the error as we get it from the OS.
1470 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1471 * server-src/taper-source.c, server-src/taper.c: Do the right thing
1472 if the connection to dumper is severed before we recieve a header.
1474 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1475 * server-src/taper-source.c, server-src/taper-source.h,
1476 server-src/taper-source-test.c, server-src/taper-port-source.c,
1477 server-src/taper-port-source.h: Don't have TaperPortSource track
1478 the control FD, and make it responsible for closing the data FD.
1479 * server-src/taper.c: ditto, plus close control socket correctly.
1481 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1482 * server-src/vfs-device.c: Fix a bug where all VFS device volumes
1483 were thought unlabeled. Also do the right thing when there are
1484 extra files in the VFS volume directory.
1485 * server-src/amlabel.c: Fail if there is a problem re-reading the
1488 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1489 * device-src/device.c: Set the device name before reading the label.
1490 * device-src/fd-device.c: An invalid header indicates an unlabeled
1491 volume, not a volume error.
1492 * device-src/taper-device.c: Insufficient buffer space causes
1493 ENOMEM, not ENOSPC, at least on Linux.
1494 * server-src/amlabel.c: Correctly handle the case where
1495 device_read_label() returns exactly 1 set bit.
1497 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1498 * server-src/taper-source.c, server-src/taper-disk-port-source.c,
1499 server-src/taper.c: Be careful not to use strings from getcwd()
1500 past the next invocation of getcwd().
1502 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1503 * device-src/vfs-device.c: Use old VFS device specification.
1505 2007-09-25 Ian Turner <ian@zmanad.com> (merged by dustin@zmanda.com)
1506 * server-src/amlabel.c: Don't dump core on successful labeling.
1508 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
1509 * device-src/tests/semaphore-test.c device-src/tests/Makefile.am:
1510 test semaphore module
1511 * device-src/semaphore.c: bugfixes, optimizations
1512 * device-src/semaphore.h: inline documentation
1514 2007-09-25 Nikhil Bandiwadekar <nikhil@zmanda.com> (merged by dustin@zmanda.com)
1515 * server-src/driver.c: Added quoting to directory name while logging
1516 in statistics section
1517 * server-src/reporter.c: Handled quoted string for directory name in
1520 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1521 * device-src/device.c, device-src/device.h, device-src/s3-device.c,
1522 device-src/fd-device.c, device-src/tape-device.c,
1523 device-src/vfs-device.c, device-src/rait-device.c: Implement new,
1524 more nuanced device_read_label() interface.
1525 * server-src/amcheck.c, server-src/amtape.c, server-src/taperscan.c,
1526 server-src/amlabel.c, restore-src/amrestore.c,
1527 restore-src/restore.c: Use new interface.
1528 * common-src/glib-util.c, common-src/glib-util.h: New Flags->string
1530 * server-src/amdevcheck.c: New tool to check device/volume status.
1531 * man/xml-source/amdevcheck.8.xml: Document it.
1532 * server-src/Makefile.am: Add amdevcheck
1533 * man/Makefile.am: Add amdevcheck.8
1535 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
1536 * device-src/s3-device.c: adjust glib logging calls to match debug.h's
1538 * common-src/debug.c: typo
1539 * common-src/debug.h: add definitions for g_info() and g_debug() if
1542 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1543 Thanks to Pavel Pragin <ppragin@zmanda.com> for finding these issues.
1544 * server-src/amtape.c: Update the changer database in 'amtape update'.
1545 Thanks to Dustin J. Mitchell <dustin@zmanda.com> for this fix.
1546 * server-src/taperscan.c: Update the changer database during the
1547 taper scan algorithm.
1549 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1550 Thanks to Jean-Louis Martineau <martineau@zmanda.com> for these fixes:
1551 * server-src/dumper.c: Log packet to debug file.
1552 * server-src/planner.c: Improve quoting.
1553 * server-src/driver.c: Don't call free_serial if we still need it.
1554 * server-src/driver.c: Wait for dumper result if taper fail.
1555 * server-src/amstatus.pl.in: Improve parsing of initial schedule.
1557 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1558 * device-src/tape-device.c: Use the right default block size for
1561 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
1562 * device-src/vfs-device.c: add forgotten device_add_property() call
1564 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1565 * server-src/taper.c: Remove an erroneous assertion. Thanks to
1566 Jean-Louis Martineau <martineau@zmanda.com> for noticing this issue.
1568 2007-09-25 Patch by Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
1569 * server-src/driverio.h server-src/driver.c: Record
1570 information from first PARTDONE result. Remove duplicate
1571 update_info_dumper. Call update_info_taper as needed.
1573 2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
1574 * restore-src/restore.c: Don't send text to prompt_out if amidxtaped.
1576 2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
1577 * restore-src/amfetchdump.c: Fix a bug where amfetchdump will never
1578 try to use the changer.
1580 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1581 * restore-src/amfetchdump.c: Fix a bug where amfetchdump will
1582 still try to use the changer even with the -d parameter.
1584 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
1585 * man/xml-source/amadmin.8.xml server-src/amadmin.c: add an
1586 'outd' column to 'amadmin CONF holding list -l', indicating
1587 an "outdated" dump, and a '-d' option to list only outdated
1588 holding disk files. Outdated dumps are described in the
1589 amadmin documentation.
1591 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
1592 * client-src/sendsize.c configure.in server-src/getconf.c
1593 restore-src/amrestore.c restore-src/amfetchdump.c
1594 common-src/util.c common-src/genversion.c common-src/util.h
1595 common-src/debug.c common-src/error.c common-src/amanda.h
1596 common-src/Makefile.am:
1597 - support the glib logging infrastructure by feeding messages
1599 - merge the error module into the debug module
1600 - document debug.h with verbose comments
1601 - call g_critical() for error() and g_error() for errordump()
1602 - remove double dgettext() call in debug_printf
1603 - remove --without-debugging (so debugging is always on)
1604 - remove mostly unused debug prefix support
1605 - remove onerror(), replacing its few uses with alternatives
1607 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
1608 * device-src/tests/device_test.c configure.in
1609 recover-src/extract_list.c recover-src/uparse.y
1610 server-src/amlogroll.c server-src/dumper.c server-src/reporter.c
1611 common-src/conffile.c common-src/amanda.h common-src/getcwd.c
1612 common-src/getcwd.h common-src/Makefile.am: Replace calls
1613 to safe_getcwd with calls to g_get_current_dir(), which
1614 has the same signature and semantics.
1616 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1617 * restore-src/restore.c: Fix a bug where amfetchdump would not
1618 restore anything when given the -p option. Thanks to Jean-Louis
1619 Martineau <martineau@zmanda.com> for help in the development of
1622 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
1623 * man/xml-source/amanda.conf.5.xml: note that includefile can
1625 * server-src/amcleanupdisk.c: fix local variable shadowing
1628 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
1629 * server-src/holding.c (holding_walk_file): amfree(filename).
1631 2007-09-25 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
1632 * man/Makefile.am: fixes for conditional compiles
1634 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1635 * common-src/conffile.c: Clean up some bad warning suppression and
1636 obselete unused code.
1638 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1639 * example/config.site man/xml-source/amanda.conf.5.xml
1640 device-src/device.c device-src/device.h device-src/property.c
1641 device-src/fd-device.c device-src/tape-device.c
1642 device-src/property.h device-src/tape-device.h
1643 device-src/tape-ops.h server-src/amcheck.c server-src/amtape.c
1644 server-src/taperscan.c server-src/taper.c server-src/amlabel.c
1645 restore-src/amrestore.c restore-src/restore.c:
1646 This patch adds a new property READ_BUFFER_SIZE which is used
1647 only by the tape device. The VFS device still uses BLOCK_SIZE
1648 for reading; other devices don't need the property.
1650 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
1651 * server-src/amcheck.c: remove debugging message
1652 * device-src/tape-posix.c: fix compilation
1653 errors when MTCOMPRESSION is not defined
1655 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
1656 * Makefile.am config/Makefile.am config/ax_create_stdint_h.m4i
1657 autogen configure.in: remove AX_CREATE_STDINT_H
1658 * configure.in: add system-specific glib configuration
1659 * changer-src/scsi-cam.c device-src/device.c
1660 device-src/device.h device-src/tests/device_test.c
1661 device-src/rait-device.c server-src/amcheck.c
1662 server-src/taper.c server-src/amlabel.c
1663 restore-src/amrestore.c restore-src/restore.c
1664 common-src/glib-util.c common-src/security-util.c
1665 common-src/amanda.h common-src/krb4-security.c:
1666 replace references to stdint types and defines with glib
1669 2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1670 * device-src/s3.c, device-src/tape-device.c,
1671 device-src/rait-device.c: Fix a number of compiler warnings, some
1672 legimate, others not. Thanks to Dustin J. Mitchell
1673 <dustin@zmanda.com> and Jean-Louis Martineau <martineau@zmanda.com>
1674 for help identifying warnings that need fixing.
1676 2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
1677 * man/xml-source/amcleanup.8.xml server-src/amcleanupdisk.c
1678 server-src/amcleanup.sh.in: add -v option for verbose output
1679 * server-src/holding.c server-src/holding.h: rewrite
1680 implementation of the holding API to use functors
1681 * server-src/driver.c: modifications to holding API changes
1683 2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1684 * device-src/device.c: Suppress a compiler warning.
1686 2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1687 * device-src/device.h, device-src/device.c, device-src/fd-device.c,
1688 device-src/tape-device.c, device-src/vfs-device.c,
1689 device-src/rait-device.c: Update the seek_file API skip missing
1690 files. Thanks to Dustin J. Mitchell <dustin@zmanda.com> and
1691 Jean-Louis Martineau <martineau@zmanda.com> for help with this patch.
1692 * restore-src/restore.c: Use the new API.
1694 2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1695 * client-src/Makefile.am, device-src/tests/Makefile.am,
1696 device-src/Makefile.am, configure.in, common-src/Makefile.am,
1697 tape-src/Makefile.am: Use AM_CFLAGS and LDFLAGS when
1698 compiling. These changes by Dustin J. Mitchell <dustin@zmanda.com>.
1699 * device-src/device.c, device-src/null-device.c,
1700 device-src/device.c, device-src/queueing.c, device-src/property.c,
1701 device-src/fd-device.c, device-src/s3-device.c,
1702 device-src/semaphore.h, device-src/property.h,
1703 device-src/vfs-device.c: Fix compiler warnings revealed by above
1704 change. Thanks to Jean-Louis Martineau Jean-Louis Martineau
1705 <martineau@zmanda.com> for help with these fixes.
1707 2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
1708 * restore-src/restore.c restore-src/restore.h:
1709 Allow NULLs in arguments to dump_match(); make it a static
1712 2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
1713 * device-src/device.c device-src/vfs-device.h
1714 device-src/rait-device.h device-src/device.h
1715 device-src/null-device.c device-src/tape-aix.c
1716 device-src/tape-uware.c device-src/null-device.h
1717 device-src/tape-xenix.c device-src/queueing.c
1718 device-src/semaphore.c device-src/property.c
1719 device-src/fd-device.c device-src/tape-device.c
1720 device-src/queueing.h device-src/semaphore.h
1721 device-src/property.h device-src/tape-posix.c
1722 device-src/fd-device.h device-src/tape-device.h
1723 device-src/vfs-device.c device-src/rait-device.c
1724 device-src/tape-ops.h common-src/glib-util.c
1725 common-src/glib-util.h: restrict to GPLv2
1727 2007-09-24 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
1728 * Correct Cygwin build errors:
1729 common-src/Makefile.am
1732 2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
1733 * server-src/cmdline.c server-src/planner.c server-src/amadmin.c
1734 server-src/amcleanupdisk.c server-src/amflush.c
1735 server-src/holding.c server-src/holding.h server-src/driver.c
1736 server-src/find.c common-src/glib-util.c common-src/glib-util.h:
1737 remove 'verbose' flag, remove holding directories from API (they
1738 will be gone soon anyway), and rework the holding module to use
1739 glib data structures
1741 2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
1742 * gnulib/regenerate/regenerate gnulib/Makefile.am
1743 device-src/tests/Makefile.am device-src/Makefile.am
1744 server-src/taper-mem-port-source.c server-src/taper.c
1745 config/gnulib/gnulib-comp.m4 config/gnulib/gnulib-cache.m4
1746 config/gnulib.m4i common-src/physmem.c common-src/physmem.h
1747 common-src/amanda.h common-src/base64.c common-src/Makefile.am
1748 common-src/base64.h: move base64, physmem into gnulib and set
1749 device API to include libgnu.
1751 2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
1752 * common-src/Makefile.am: remove redundant use of EXTRA_DIST
1754 2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
1755 * device-src/device.c device-src/tests/device_test.c
1756 device-src/rait-device.c server-src/amcheck.c
1757 server-src/amtape.c server-src/taperscan.c server-src/taper.c
1758 server-src/amlabel.c restore-src/restore.c: device_open() no
1759 longer free()s the device name it is given.
1761 2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
1762 * restore-src/restore.c: fix uninitialized value error
1764 2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
1765 * server-src/changer.c server-src/amindexd.c
1766 restore-src/amidxtaped.c common-src/debug.c common-src/amanda.h
1767 common-src/alloc.c: fix support for builds without --with-debugging
1769 2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
1770 * device-src/tests/queue_test.c: simplify signal handling to
1773 2007-09-24 Dustin J. Mitchell <dustin@zmanda.com>
1774 * server-src/cmdline.c server-src/cmdline.h:
1775 Optionally parse datestamps and levels
1776 * server-src/amadmin.c: pass flags to cmdline functions
1777 * server-src/find.c restore-src/amidxtaped.c
1778 restore-src/amrestore.c restore-src/restore.c
1779 restore-src/restore.h restore-src/amfetchdump.c:
1780 Use cmdline module in amrestore, amidxtaped, and amfetchdump
1782 2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1783 * restore-src/amrestore.c: Fix a segmentation fault that occurs
1784 when the user specifies hostname, diskname, and date. Thanks to
1785 Jean-Louis Martineau <martineau@zmanda.com> for finding and
1788 2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1789 * device-src/device.c (device_set_startup_properties_from_config):
1790 Use tapetype parameters as well as device_property directives.
1791 * device-src/device.h: ditto.
1792 * common-src/conffile.c: Use a new macro DEFAULT_TAPE_LENGTH
1793 as default tapetype length.
1794 * common-src/conffile.h: ditto.
1795 * restore-src/amrestore.c: Use new interface to
1796 devic_set_startup_properties_from_config().
1797 * restore-src/restore.c: ditto.
1798 * server-src/amcheck.c: ditto.
1799 * server-src/amlabel.c: ditto.
1800 * server-src/amtape.c: ditto.
1801 * server-src/taper.c: ditto.
1802 * server-src/taperscan.c: ditto.
1804 2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1805 * server-src/amcheck.c: Return 0 if everything is good with the
1806 tape. Thanks to Dustin Mitchell <dustin@zmanda.com> for
1807 reporting this issue, and to Jean-Louis Martineau
1808 <martineau@zmanda.com> for suggesting the form of the fix.
1810 2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1811 * server-src/restore.c: Only restore files matching requested
1812 disknames. Report and patch by Jean-Louis Martineau
1813 <martineau@zmanda.com>.
1815 2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1816 * server-src/restore.c: Drop some globals, use data types
1819 2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1820 * server-src/taper.c: Be slightly more rigorous in sanity-checking
1821 the expected number of splits.
1822 * server-src/taper-file-source.c: Correctly predict the number
1825 2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1826 * device-src/vfs-device.c: Accept device names without a
1829 2007-09-24 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
1830 Merge in new Device API. Thanks to Jean-Louis and Dustin for their
1831 code contributions to this patch.
1833 2007-09-20 Dustin J. Mitchell <dustin@zmanda.com>
1834 * oldrecover-src/extract_list.c recover-src/extract_list.c:
1835 change stralloc2 to newstralloc2 to avoid possible memory
1836 leak (coverity bug #214)
1838 2007-09-17 Jean-Louis Martineau <martineau@zmanda.com>
1839 * client-src/client_util.c: Parse kencrypt in option string.
1840 * client-src/sendbackup.c: Send KENCRYPT keyword in REP packet.
1841 * client-src/client_util.h: Add kencrypt field in option_t.
1842 * amandad-src/amandad.c: Enable kencrypt.
1843 * server-src/dumper.c: Enable kencrypt.
1844 * common-src/security.h (accept): New prototype, add conf_fn and datap.
1845 * common-src/bsdtcp-security.c (bsdtcp_accept): Use new param.
1846 * common-src/ssh-security.c (ssh_connect): Set rh->rc->conf_fn and
1848 * common-src/security-util.c (sec_accept): Set rc->conf_fn and
1850 * common-src/amanda.h (kencrypt_type): New enum.
1851 * common-src/bsdudp-security.c (bsdudp_accept): Use new param.
1852 * common-src/security-util.h (sec_accept): New prototype.
1853 * common-src/krb5-security.c: encryption enabled based on kencrypt.
1854 * common-src/bsd-security.c (bsd_accept): Use new param.
1856 2007-09-14 Dustin J. Mitchell <dustin@zmanda.com>
1857 * common-src/util.c common-src/util.h: add euid checks to
1859 * client-src/runstar.c client-src/noop.c client-src/runtar.c
1860 client-src/sendbackup.c client-src/killpgrp.c
1861 client-src/sendsize.c client-src/selfcheck.c
1862 client-src/rundump.c client-src/calcsize.c
1863 amandad-src/amandad.c configure.in server-src/amlogroll.c
1864 server-src/amindexd.c server-src/dumper.c server-src/planner.c
1865 server-src/chunker.c server-src/amadmin.c server-src/amtape.c
1866 server-src/amcleanupdisk.c server-src/amflush.c
1867 server-src/amtrmlog.c server-src/amdevcheck.c
1868 server-src/driver.c server-src/reporter.c server-src/taper.c
1869 server-src/amtrmidx.c server-src/amlabel.c
1870 restore-src/amidxtaped.c restore-src/amfetchdump.c: use them
1871 * common-src/krb5-security.c: remove unused variable
1873 2007-09-14 Dustin J. Mitchell <dustin@zmanda.com>
1874 * server-src/getconf.c: Don't check running_as in amgetconf, as
1875 it may not have a configuration file (e.g., for build params)
1877 2007-09-12 Dustin J. Mitchell <dustin@zmanda.com>
1878 Bug identified by Satya Ganga <gsat@zmanda.com>
1879 * common-src/util.c: handle bad call to check_running_as correctly
1881 2007-09-11 Dustin J. Mitchell <dustin@zmanda.com>
1882 Bug reported by Bill Bartlett; patch by Jean-Louis Martineau
1883 <martineau@zmanda.com>
1884 * common-src/statfs.c: fix error in available-space calculations
1886 2007-09-10 Dustin J. Mitchell <dustin@zmanda.com>
1887 * server-src/amcheck.c: quiet compiler warnings when SINGLE_USERID is
1890 2007-09-10 Dustin J. Mitchell <dustin@zmanda.com>
1891 * configure.in: change FORCE_USERID to CHECK_USERID, add SINGLE_USERID
1892 (when all of Amanda runs as the same userid) and WANT_SETUID_CLIENT
1893 (clint binaries should be setuid-root), currently only used on
1895 * common-src/util.c common-src/util.h: utility functions for userid
1896 checks and manipulations
1897 * oldrecover-src/amrecover.c client-src/runstar.c
1898 client-src/noop.c client-src/runtar.c client-src/sendbackup.c
1899 client-src/killpgrp.c client-src/sendsize.c
1900 client-src/selfcheck.c client-src/rundump.c
1901 client-src/calcsize.c amandad-src/amandad.c
1902 recover-src/amrecover.c server-src/amlogroll.c
1903 server-src/amindexd.c server-src/amcheck.c server-src/dumper.c
1904 server-src/planner.c server-src/chunker.c server-src/amadmin.c
1905 server-src/amtape.c server-src/amcleanupdisk.c
1906 server-src/getconf.c server-src/amflush.c server-src/amtrmlog.c
1907 server-src/amdevcheck.c server-src/driver.c
1908 server-src/reporter.c server-src/taper.c server-src/amdump.sh.in
1909 server-src/amtrmidx.c server-src/amlabel.c common-src/genversion.c
1910 restore-src/amidxtaped.c restore-src/amfetchdump.c
1911 common-src/bsdtcp-security.c common-src/bsdudp-security.c
1912 common-src/krb5-security.c common-src/krb4-security.c
1913 common-src/bsd-security.c: use utility functions to check userids.
1915 2007-09-07 Dustin J. Mitchell <dustin@zmanda.com>
1916 Change by Paul Bijnens
1917 * man/xml-source/amanda.conf.5.xml: Clarify 'etimeout'
1919 2007-09-07 Dustin J. Mitchell <dustin@zmanda.com>
1920 * gnulib/regenerate/no-error.patch gnulib/Makefile.am: remove
1921 spurious sign-compare warnings from gnulib
1923 2007-09-05 Dustin J. Mitchell <dustin@zmanda.com>
1924 Bug identified downstream in Debian packaging
1925 * changer-src/chg-null.sh.in: fix typo
1927 2007-08-29 Dustin J. Mitchell <dustin@zmanda.com>
1928 * common-src/genversion.c common-src/Makefile.am: add subversion revision
1929 and branch info to 'amadmin x version'
1931 2007-08-23 Dustin J. Mitchell <dustin@zmanda.com>
1932 sf bug #1775316 reported by joerg <altix@users.sourceforge.net>
1933 * configure.in: use 'sed' instead of shell substitutions to C-quote
1936 2007-08-22 Dustin J. Mitchell <dustin@zmanda.com>
1937 * common-src/Makefile.am: adjust dependencies so that 'make dist' can
1938 run without a 'make all'
1940 2007-08-20 Dustin J. Mitchell <dustin@zmanda.com>
1941 * client-src/sendbackup-gnutar.c client-src/sendsize.c: use
1942 sanitized, canonicalized, and quoted filenames where necessary
1943 * server-src/driver.c: quote diskname in logfile
1944 * common-src/amanda.h common-src/file.c: Add ':' to the list
1945 of characters sanitised when constructing filenames from
1946 disknames; add canonicalize_pathname()
1948 2007-08-14 Dustin J. Mitchell <dustin@zmanda.com>
1949 * common-src/amanda.h common-src/util.h: move readline headers
1950 out of amanda.h and into util.h, since the corresponding
1951 functions are in util.c
1952 * common-src/util.c: comments
1953 * configure.in: check for both headers and libraries and define
1954 HAVE_READLINE if both are found; add new --with-readline
1955 to require readline and --without-readline to not search
1957 * oldrecover-src/Makefile.am recover-src/Makefile.am: remove explicit
1958 use of READLINE_LIBS
1960 2007-08-09 Dustin J. Mitchell <dustin@zmanda.com>
1961 Patch by C R Ritson <c.r.ritson@newcastle.ac.uk>
1962 * server-src/amverifyrun.sh.in: "lock" the logfile by creating a
1965 2007-08-06 Dustin J. Mitchell <dustin@zmanda.com>
1966 * example/DLT-A4.ps example/Makefile.am: add new template contributed
1967 by Terry Burton <tez@terryburton.co.uk>.
1969 2007-08-01 Dustin J. Mitchell <dustin@zmanda.com>
1970 Patch by Satya Ganga <gsat@zmanda.com>
1971 * server-src/amcleanup.sh.in: shell-compatibility fixes for bash-2.03
1974 2007-07-31 Dustin J. Mitchell <dustin@zmanda.com>
1975 * common-src/statfs-test.c common-src/statfs.c common-src/statfs.h
1976 common-src/Makefile.am: Add a statfs-test to make sure that
1977 statfs works on target systems.
1979 2007-07-27 Ian Turner <ian@zmanda.com>
1980 * restore-src/amfetchdump.c: Check for required arguments in
1983 2007-07-27 Dustin J. Mitchell <dustin@zmanda.com>
1984 * config/automake/check-perl.am: new automake fragment to check perl scripts
1985 * config/automake/check-shell.am: new automake fragment to check shell scripts
1986 * configure.in changer-src/Makefile.am client-src/Makefile.am dumper-src/Makefile.am
1987 server-src/Makefile.am common-src/Makefile.am: use new checks
1988 * changer-src/chg-lib.sh.in: add newline for Solaris's 'bash'
1989 * changer-src/chg-chs.sh.in changer-src/chg-mcutil.sh.in: fix errors found by
1992 2007-07-26 Ian Turner <ian@zmanda.com>
1993 * restore-src/restore.c: If tpchanger is not defined, then (duh)
1994 don't use the changer. This patch by Jean-Louis Martineau
1995 <martineau@zmanda.com>.
1997 2007-07-24 Dustin J. Mitchell <dustin@zmanda.com>
1998 * changer-src/chg-lib.sh.in common-src/amanda-sh-lib.sh.in
1999 configure.in common-src/Makefile.am: new general-purpose
2000 shell-script library
2001 * configure.in: check for prog 'gettext'
2002 * changer-src/chg-null.sh.in
2003 changer-src/chg-manual.sh.in changer-src/chg-disk.sh.in
2004 changer-src/chg-juke.sh.in changer-src/chg-rait.sh.in
2005 changer-src/chg-chs.sh.in changer-src/chg-mcutil.sh.in
2006 amplot/amplot.sh.in client-src/patch-system.sh.in
2007 server-src/amcheckdb.sh.in server-src/amverifyrun.sh.in
2008 server-src/amrmtape.sh.in server-src/amverify.sh.in
2009 server-src/amfreetapes.sh.in server-src/amcleanup.sh.in
2010 server-src/amdump.sh.in common-src/amcrypt-ossl-asym.sh.in
2011 common-src/amcrypt.sh.in common-src/amaespipe.sh.in
2012 common-src/amcrypt-ossl.sh.in: use new library to function
2013 correctly even when gettext is missing.
2015 2007-07-23 Jean-Louis Martineau <martineau@zmanda.com>
2016 * common-src/conffile.c: Set MaxWidth for numerical value
2017 * server-src/reporter.c: Calculate the size if a numerical value.
2019 2007-07-20 Jean-Louis Martineau <martineau@zmanda.com>
2020 Patch by Dimitri Gorokhovik
2021 * changer-src/chg-multi.sh.in: Typo.
2023 2007-07-18 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
2024 * changer-src/chg-lib.sh.in, changer-src/chg-zd-mtx.sh.in: Correctly
2025 accept the use of tape:/dev/nst0 notation in chg-zd-mtx.
2027 2007-07-18 Dustin J. Mitchell <dustin@zmanda.com>
2028 * server-src/reporter.c: fix reporting of STRANGE messages
2030 2007-07-16 Dustin J. Mitchell <dustin@zmanda.com>
2031 * changer-src/chg-zd-mtx.sh.in: check for validity of 'mt' and 'mtx'
2032 binaries early, and produce appropriate error messages
2034 2007-07-13 Dustin J. Mitchell <dustin@zmanda.com>
2035 * configure.in: add /usr/sfw/bin to SYSPATH for Solaris 10
2037 2007-07-13 Jean-Louis Martineau <martineau@zmanda.com>
2038 * changer-src/chg-lib.sh.in: Remoce duplicate amdd, add ammt.
2040 2007-07-12 Dustin J. Mitchell <dustin@zmanda.com>
2041 * autogen config/Makefile.am config/ax_compare_version.m4i
2042 Makefile.am: new m4 file
2043 * config/docbook-xslt-min.m4i config/docbook-dtd.m4i
2044 config/docbook-xslt.m4i: major bug fixing
2046 2007-07-11 Dustin J. Mitchell <dustin@zmanda.com>
2047 * recover-src/amrecover.c recover-src/extract_list.c: Add detailed
2048 logging of the amrecover user conversation.
2050 2007-07-11 Jean-Louis Martineau <martineau@zmanda.com>
2051 Patch by Paul Bijnens
2052 * changer-src/chg-multi.sh.in: Typo.
2054 2007-07-10 Dustin J. Mitchell <dustin@zmanda.com>
2055 * configure.in: an empty 'MAILER' is no longer an error, just a
2057 * changer-src/chg-manual.sh.in changer-src/chg-scsi-chio.c
2058 changer-src/chg-scsi.c server-src/amverify.sh.in
2059 server-src/getconf.c common-src/genversion.c: conditionalize
2060 references to MAILER, to handle the situation when it is not
2063 2007-07-09 Dustin J. Mitchell <dustin@zmanda.com>
2064 Documentation patch as suggested by Chris Hoogendyk and Olivier
2066 * man/xml-source/amanda.8.xml: add better documentation about the
2067 -o command-line option for configuration override.
2069 2007-07-09 Jean-Louis Martineau <martineau@zmanda.com>
2070 * restore-src/restore.c: Don't do superfluous fsf,
2071 improve error handling.
2073 2007-07-05 Dustin J. Mitchell <dustin@zmanda.com>
2074 * server-src/amadmin.c: correct misalignment of 'amadmin x balance'
2075 output, as reported by Stefan G. Weichinger <sgw@amanda.org>.
2077 2007-07-03 Dustin J. Mitchell <dustin@zmanda.com>
2078 * common-src/amanda.h common-src/amflock.c: remove unused
2079 CONFIGURE_TEST conditionals
2081 2007-06-28 Dustin J. Mitchell <dustin@zmanda.com>
2082 * common-src/security-util.c: Change authorization error message to
2083 "Please add the line "HOST USER SERVICE" to AMANDAHOSTS on the client"
2084 as suggested by Paddy Sreenivasan <paddy@zmanda.com>.
2086 2007-06-28 Dustin J. Mitchell <dustin@zmanda.com>
2087 * configure.in common-src/amflock-flock.c
2088 common-src/amflock-posix.c common-src/amanda.h
2089 common-src/amflock-lockf.c common-src/amflock-test.c
2090 common-src/amflock-lnlock.c common-src/amflock.c
2091 common-src/amflock.h common-src/Makefile.am:
2092 refactor file locking support into multiple implementations,
2093 only test for availability (not functionality) at configure
2094 time, and add a 'make check' test script. Fixes a bug reported
2095 by Paul Crittenden. Chris Hoogendyk, Jon LaBadie, and Jean-Louis
2096 Martineau helped track it down.
2098 2007-06-27 Dustin J. Mitchell <dustin@zmanda.com>
2099 * autogen config/ax_create_stdint_h.m4i config/acinclude.m4i
2100 Makefile.am: use updated version of ax_create_stdint_h.m4
2101 from http://autoconf-archive.cryp.to/ax_create_stdint_h.html.
2102 Original by Guido U. Draheim <guidod@gmx.de>, patched locally
2103 to avoid spurious "command not found" on Solaris 10.
2104 * config/Makefile.am: add ax_create_stdint_h.m4i
2106 2007-06-25 Dustin J. Mitchell <dustin@zmanda.com>
2107 * server-src/cmdline.c server-src/cmdline.h server-src/taperscan.c
2108 server-src/taperscan.h config/docbook-dtd.m4i
2109 config/docbook-xslt-min.m4i config/docbook-xslt.m4i
2110 config/xsltproc.m4i common-src/sockaddr-util.c
2111 common-src/sockaddr-util.h common-src/amaespipe.sh.in:
2114 2007-06-25 Dustin J. Mitchell <dustin@zmanda.com>
2115 * client-src/sendbackup.c client-src/killpgrp.c
2116 client-src/sendsize.c client-src/selfcheck.c
2117 server-src/amcheck.c server-src/reporter.c common-src/util.c
2118 common-src/util.h common-src/security-util.c: add str_exit_status()
2119 to interpret the status resulting from wait(), use it throughout
2122 2007-06-20 Dustin J. Mitchell <dustin@zmanda.com>
2123 * server-src/planner.c common-src/bsdudp-security.c
2124 common-src/krb5-security.c common-src/bsd-security.c:
2125 remove dead/unused code
2127 2007-06-20 Dustin J. Mitchell <dustin@zmanda.com>
2128 * client-src/sendsize.c: call dbfn(), not debug_fn()
2129 * common-src/amanda.h: make dbfn() return a meaningful string
2130 when debugging is disabled
2132 2007-06-19 Dustin J. Mitchell <dustin@zmanda.com>
2133 * tape-src/tapetype.c: close and re-open tape after rewind
2134 (patch from Franz Fischer <amanda@franz-fischer.de>, modified
2135 by Jean-Louis Martineau <martineau@zmanda.com>)
2137 2007-06-06 Jean-Louis Martineau <martineau@zmanda.com>
2138 * restore-src/restore.c: accept all header with size >= DISK_BLOCK_BYTES
2140 2007-06-18 Jean-Louis Martineau <martineau@zmanda.com>
2141 * server-src/amstatus.pl.in: Set and use chunk_time.
2143 2007-06-07 Dustin J. Mitchell <dustin@zmanda.com>
2144 * server-src/amcleanupdisk.c: don't try to clean up holding disks
2147 2007-06-06 Dustin J. Mitchell <dustin@zmanda.com>
2148 * client-src/sendbackup.c: remove bogus check for unknown program
2150 2007-06-07 Jean-Louis Martineau <martineau@zmanda.com>
2151 Christopher McCrory found the cause of the problem.
2152 * server-src/find.c: Send ouput to stderr.
2154 2007-06-07 Jean-Louis Martineau <martineau@zmanda.com>
2155 * configure.in: detect GNU tar's 'backup' and ignore it. Thanks
2156 to Jeanna Geier <jeanna@webteam.net> for spotting this.
2158 2007-06-05 Jean-Louis Martineau <martineau@zmanda.com>
2159 * common-src/util.c: Don't use -w flags for od execution.
2161 2007-06-05 Dustin J. Mitchell <dustin@zmanda.com>
2162 * client-src/selfcheck.c: fix formatting typo
2163 * common-src/security.h: fix prototypes in comments
2164 * common-src/security-util.c common-src/util.c: fix
2166 * common-src/debug.c common-src/amanda.h: remove
2168 * changer-src/scsi-linux.c changer-src/chg-scsi-chio.c
2169 changer-src/scsi-cam.c client-src/calcsize.c
2170 recover-src/amrecover.c server-src/driver.c
2171 client-src/sendbackup-gnutar.c server-src/find.c
2172 server-src/diskfile.c : format string / i18n tweaks
2173 * common-src/amcrypt-ossl.sh.in: fix shell quoting
2175 2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
2176 * changer-src/sense.c server-src/driver.c server-src/reporter.c
2177 server-src/amadmin.c server-src/amtape.c common-src/amanda.h:
2178 use T_() instead of _T() as the macro flagging static strings
2179 in need of translation; fixes compilation error on Mac OS X, where
2180 _T is defined in the system headers.
2182 2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
2183 * changer-src/chg-zd-mtx.sh.in changer-src/chg-multi.sh.in:
2184 use chg-lib.sh fully, fix i18n problems.
2186 2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
2187 * common-src/krb5-security.c common-src/bsdtcp-security.c
2188 common-src/security-util.c: check results from getnameinfo()
2191 2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
2192 * server-src/amstatus.pl.in: use perl flags -Tw
2194 2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
2195 * common-src/debug.c common-src/error.c: fix compilation errors
2196 on strict platforms.
2198 2007-06-04 Jean-Louis Martineau <martineau@zmanda.com>
2199 * common-src/bsd-security.c common-src/bsdudp-security.c:
2200 Make bsd, bsdudp open an IPv4 and an IPv6 socket; fixes bug reported
2203 2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
2204 * oldrecover-src/Makefile.am changer-src/Makefile.am
2205 amplot/Makefile.am client-src/Makefile.am
2206 amandad-src/Makefile.am dumper-src/Makefile.am
2207 recover-src/Makefile.am restore-src/Makefile.am
2208 tape-src/Makefile.am: add quotes to allow spaces in user
2211 2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
2212 * changer-src/chg-scsi.c: use long int for tape sleep time
2213 * client-src/selfcheck.c: error out if no calcsize program is found
2214 * server-src/amindexd.c: run 'sort' in the C locale
2215 * server-src/amcheck.c: flag localhost not resolving as an error
2216 * server-src/diskfile.c: improve error handling
2217 * common-src/amcrypt.sh.in common-src/amcrypt-ossl-asym.sh.in
2218 common-src/amcrypt-ossl.sh.in: search /opt/csw/bin for openssl
2219 binaries; improve error handling
2221 2007-06-04 Dustin J. Mitchell <dustin@zmanda.com>
2222 * server-src/planner.c server-src/amcleanupdisk.c
2223 server-src/amflush.c server-src/holding.c server-src/holding.h:
2224 do not assume anything about the names of holding
2225 directories; use holding disk files themselves to discover
2226 dump time/datestamps
2228 2007-06-04 Jean-Louis Martineau <martineau@zmanda.com>
2229 * common-src/krb5-security.c: Typo.
2231 2007-06-01 Ian Turner <ian@zmanda.com>
2232 * restore-src/restore.c: Set flags->fsf = 0 by default.
2234 2007-05-29 Jean-Louis Martineau <martineau@zmanda.com>
2235 * server-src/driver.c: Check dumper->down.
2236 * server-src/dumper.c (sendbackup_response): Only call
2237 security_close_connection if pkt != NULL.
2239 2007-05-29 Jean-Louis Martineau <martineau@zmanda.com>
2240 * server-src/amstatus.pl.in: Use compressed size.
2242 2007-05-29 Jean-Louis Martineau <martineau@zmanda.com>
2243 * server-src/planner.c: Don't report overwrite if no label.
2245 2007-05-29 Jean-Louis Martineau <martineau@zmanda.com>
2246 * changer-src/chg-manual.sh.in: Don't reset the slot to 0 on eject.
2248 2007-05-25 Kevin Till <ktill@zmanda.com>
2249 * example/amanda.conf.in: ditto
2250 * man/xml-source/amanda.conf.5.xml: ditto
2251 * common-src/conffile.c: ditto
2253 2007-05-24 Dustin J. Mitchell <dustin@zmanda.com>
2254 * changer-src/scsi-changer-driver.c changer-src/scsi-cam.c
2255 client-src/sendbackup.c client-src/selfcheck.c
2256 recover-src/extract_list.c server-src/amindexd.c
2257 server-src/amcheck.c server-src/driver.c server-src/dumper.c
2258 server-src/planner.c server-src/amadmin.c server-src/diskfile.c
2259 contrib/set_prod_link.pl common-src/krb5-security.c
2260 common-src/bsd-security.c common-src/security-util.c
2261 common-src/conffile.c common-src/bsdudp-security.c:
2262 trivial changes to add _(), etc. -- harmonization of branch
2263 divergence caused by manual resolution of merge conflicts
2265 2007-05-24 Satya Ganga <gsat@zmanda.com> (merged by dustin@zmanda.com)
2266 * server-src/amcleanup.sh.in: rewrite to find all the active
2267 process/children for a given configuration
2269 2007-05-24 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
2270 * common-src/fileheader.c:
2271 Remove ".exe" extension from program name is tape header.
2273 2007-05-24 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
2274 * config/gettext-macros/gettext.m4
2275 config/gettext-macros/inttypes-pri.m4:
2276 Change name gl_HEADER_INTTYPES_H to gl_AC_HEADER_INTTYPES_H
2278 2007-05-24 Dustin J. Mitchell <dustin@zmanda.com>
2279 * configure.in: add configure.in recognition for Mac OS X
2281 2007-05-24 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
2282 * configure.in: IPV6 on cygwin only partially works.
2283 Force WORKING_IPV6 to false.
2285 2007-05-24 Kevin Till <ktill@zmanda.com> (merged by dustin@zmanda.com)
2286 * server-src/driver.c: use amanda text domain in driver
2288 2007-05-24 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
2289 * config/libtool.m4i:
2290 Fix to pass loader variables correctly on Solaris systems
2291 with a gcc that does not use -static or -shared.
2293 2007-05-24 Kevin Till <ktill@zmanda.com> (merged by dustin@zmanda.com)
2294 * server-src/amstatus.pl.in: parse directory and holding_disk_dir with
2297 2007-05-24 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
2298 * client-src/sendbackup.c client-src/sendsize.c client-src/sendbackup-star.c
2299 configure.in server-src/amindexd.c server-src/taper.c server-src/diskfile.c
2300 config/acinclude.m4i common-src/amanda.h common-src/util.c
2301 common-src/security-util.c:
2302 Fix compilation problems using GCC on solaris.
2304 2007-05-24 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
2305 * server-src/reporter.c: Split FAILED and STRANGE section.
2307 2007-05-23 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
2308 * common-src/conffile.c: Fix windows compilation warning.
2310 2007-05-23 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
2311 * po/Makefile.am changer-src/scsi-changer-driver.c changer-src/sense.c
2312 client-src/unctime.c server-src/amadmin.c server-src/amtape.c
2313 server-src/driver.c server-src/reporter.c common-src/amanda.h
2314 tape-src/tapeio.h tape-src/tapetype.c:
2315 Change _() gettext macro to call gettext()
2316 Create _T() to allow gettext translation of static strings.
2317 * common-src/security.c: Create larger buffers for error messages.
2319 2007-05-23 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
2320 * configure.in: Prevent annoying lint usage message from
2321 being displayed in configure console output.
2323 2007-05-23 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
2325 Fix problem of not generating po/Makefile.in on fresh checkout.
2326 * server-src/logfile.c:
2327 Always output to logfile in "C" locale.
2328 * amandad-src/amandad.c changer-src/chg-scsi-chio.c
2329 changer-src/chg-scsi.c client-src/calcsize.c client-src/getfsent.c
2330 client-src/killpgrp.c client-src/noop.c client-src/rundump.c
2331 client-src/runstar.c client-src/runtar.c client-src/selfcheck.c
2332 client-src/sendbackup.c client-src/sendsize.c
2333 client-src/versionsuffix.c common-src/amfeatures.c
2334 common-src/amflock.c common-src/file.c common-src/genversion.c
2335 common-src/statfs.c common-src/token.c oldrecover-src/amrecover.c
2336 recover-src/amrecover.c restore-src/amfetchdump.c
2337 restore-src/amidxtaped.c restore-src/amrestore.c server-src/amadmin.c
2338 server-src/amcheck.c server-src/amcleanupdisk.c server-src/amflush.c
2339 server-src/amindexd.c server-src/amlabel.c server-src/amlogroll.c
2340 server-src/amtape.c server-src/amtrmidx.c server-src/amtrmlog.c
2341 server-src/chunker.c server-src/diskfile.c server-src/driver.c
2342 server-src/dumper.c server-src/getconf.c server-src/infofile.c
2343 server-src/planner.c server-src/reporter.c server-src/taper.c
2344 tape-src/amdd.c tape-src/ammt.c tape-src/tapeio.c tape-src/tapetype.c:
2345 Change back to always run in "C" locale.
2347 2007-05-23 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
2348 * changer-src/chg-manual.sh.in: Fix quoting; fix gettext usage.
2350 2007-05-23 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
2352 New gettext routines.
2353 * server-src/amcheckdb.sh.in server-src/amcleanup.sh.in
2354 server-src/amverifyrun.sh.in server-src/amrmtape.sh.in
2355 server-src/amverify.sh.in server-src/amdump.sh.in
2356 server-src/amfreetapes.sh.in amplot/amplot.sh.in
2357 changer-src/chg-mtx.sh.in changer-src/chg-null.sh.in
2358 changer-src/chg-manual.sh.in changer-src/chg-zd-mtx.sh.in
2359 changer-src/chg-disk.sh.in changer-src/chg-juke.sh.in
2360 changer-src/chg-rait.sh.in changer-src/chg-scsi.c
2361 changer-src/chg-chs.sh.in changer-src/chg-multi.sh.in
2362 changer-src/chg-mcutil.sh.in client-src/patch-system.sh.in
2363 common-src/amcrypt.sh.in common-src/amaespipe.sh.in
2364 common-src/amcrypt-ossl-asym.sh.in common-src/amcrypt-ossl.sh.in:
2365 Internationalize shell messages
2366 * autogen config/gettext-macros/nls.m4
2367 config/gettext-macros/lib-link.m4:
2368 Update for autoconf version 2.6 autogen
2369 * oldrecover-src/amrecover.c recover-src/amrecover.c
2370 server-src/amflush.c server-src/logfile.c server-src/amtrmlog.c
2371 server-src/amlogroll.c server-src/amindexd.c server-src/amcheck.c
2372 server-src/driver.c server-src/dumper.c server-src/chunker.c
2373 server-src/planner.c server-src/reporter.c server-src/amadmin.c
2374 server-src/amtape.c server-src/taper.c server-src/server_util.c
2375 client-src/versionsuffix.c client-src/runtar.c
2376 server-src/amtrmidx.c server-src/amcleanupdisk.c
2377 server-src/getconf.c server-src/diskfile.c
2378 changer-src/chg-scsi-chio.c client-src/noop.c server-src/infofile.c
2379 server-src/amlabel.c client-src/sendbackup.c client-src/getfsent.c
2380 client-src/killpgrp.c client-src/sendsize.c client-src/selfcheck.c
2381 client-src/rundump.c client-src/calcsize.c restore-src/amidxtaped.c
2382 restore-src/amrestore.c restore-src/amfetchdump.c Makefile.am
2383 amandad-src/amandad.c common-src/genversion.c common-src/debug.c
2384 common-src/error.c common-src/statfs.c common-src/amflock.c
2385 common-src/file.c common-src/token.c common-src/security-util.c
2386 common-src/conffile.c common-src/amanda.h common-src/amfeatures.c
2387 tape-src/ammt.c tape-src/amdd.c tape-src/tapeio.c
2388 tape-src/tapetype.c:
2389 Use amanda domain for LC_MESSAGES.
2391 2007-05-22 Maitreyee Karmarkar <maitreyee@zmanda.com> (merged by dustin@zmanda.com)
2392 * server-src/amcheck.c : Changed some amcheck messages
2393 * common-src/conffile.c : Changed some amcheck messages
2395 2007-05-22 Maitreyee Karmarkar <maitreyee@zmanda.com> (merged by dustin@zmanda.com)
2396 * client-src/selfcheck.c, server-src/changer.c, server-src/amcheck.c,
2397 server-src/taperscan.c, server-src/diskfile.c,
2398 common-src/conffile.c:
2399 Change in some amcheck error messages
2401 2007-05-22 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
2402 * common-src/krb5-security.c common-src/security-util.c
2403 server-src/taper.c server-src/taperscan.c:
2404 Fix botched *vstrallocf conversions.
2405 * oldrecover-src/extract_list.c server-src/amlogroll.c
2406 server-src/chunker.c server-src/driver.c server-src/dumper.c
2407 server-src/getconf.c server-src/holding.c server-src/planner.c
2408 server-src/reporter.c server-src/taper.c:
2409 Add errno text when printing getcwd() error message.
2411 2007-05-22 Kevin Till <ktill@zmanda.com> (merged by dustin@zmanda.com)
2412 * configure.in: move crypt scripts to common-src since they are needed
2413 by both server and client
2414 * common-src/Makefile.am: ditto
2415 * server-src/Makefile.am: ditto
2417 2007-05-17 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
2418 * configure.in oldrecover-src/amrecover.c
2419 oldrecover-src/extract_list.c oldrecover-src/display_commands.c
2420 oldrecover-src/help.c oldrecover-src/set_commands.c
2421 recover-src/amrecover.c recover-src/extract_list.c
2422 recover-src/display_commands.c recover-src/help.c
2423 recover-src/set_commands.c server-src/amflush.c
2424 server-src/changer.c server-src/taperscan.c server-src/logfile.c
2425 server-src/amtrmlog.c server-src/driverio.c
2426 server-src/amlogroll.c server-src/tapefile.c
2427 server-src/amindexd.c server-src/driver.c server-src/amcheck.c
2428 server-src/dumper.c server-src/chunker.c server-src/planner.c
2429 server-src/reporter.c server-src/server_util.c
2430 server-src/amadmin.c server-src/amtape.c server-src/taper.c
2431 server-src/amcleanupdisk.c server-src/find.c
2432 server-src/amtrmidx.c server-src/getconf.c
2433 server-src/diskfile.c server-src/infofile.c
2434 server-src/amlabel.c changer-src/scsi-linux.c
2435 changer-src/chg-scsi-chio.c changer-src/scsi-chio.c
2436 changer-src/scsi-hpux.c changer-src/scsi-changer-driver.c
2437 changer-src/scsi-cam.c changer-src/chg-scsi.c
2438 changer-src/scsi-bsd.c changer-src/scsi-irix.c
2439 changer-src/scsi-solaris.c changer-src/sense.c
2440 changer-src/scsi-aix.c changer-src/scsi-hpux_new.c
2441 autogen client-src/unctime.c client-src/versionsuffix.c
2442 client-src/noop.c client-src/client_util.c client-src/runtar.c
2443 client-src/sendbackup-gnutar.c client-src/getfsent.c
2444 client-src/sendbackup.c client-src/sendbackup-dump.c
2445 client-src/killpgrp.c client-src/sendsize.c
2446 client-src/selfcheck.c client-src/rundump.c
2447 client-src/calcsize.c client-src/amandates.c
2448 restore-src/amidxtaped.c restore-src/amrestore.c
2449 restore-src/restore.c restore-src/amfetchdump.c Makefile.am
2450 amandad-src/amandad_util.c amandad-src/amandad.c
2451 common-src/rsh-security.c common-src/pipespawn.c
2452 common-src/security.c common-src/krb5-security.c
2453 common-src/util.c common-src/genversion.c
2454 common-src/bsdtcp-security.c common-src/debug.c
2455 common-src/fileheader.c common-src/dgram.c
2456 common-src/stream.c common-src/match.c
2457 common-src/protocol.c common-src/ssh-security.c
2458 common-src/statfs.c common-src/krb4-security.c
2459 common-src/amflock.c common-src/bsd-security.c
2460 common-src/file.c common-src/token.c common-src/event.c
2461 common-src/security-util.c common-src/conffile.c
2462 common-src/amanda.h common-src/bsdudp-security.c
2463 common-src/alloc.c common-src/clock.c common-src/amfeatures.c
2464 tape-src/ammt.c tape-src/amdd.c tape-src/output-file.c
2465 tape-src/tapeio.c tape-src/tapeio.h tape-src/output-tape.c
2466 tape-src/tapetype.c tape-src/output-rait.c:
2467 o First stage of internationalization.
2468 - Add GNU gettext to configuration.
2469 - Add _() macro to flag translatable strings and modify
2470 code to use it. Macros like SSIZE_T_FMT are included in
2471 this call, even though xgettext will not parse them; this
2472 will be fixed later.
2473 - Add plural() function for selecting singular or plural form
2474 of string and modify code to use it.
2475 - Add amanda.po target to Makefile.
2477 2007-05-17 Jean-Louis Martineau <martineau@zmanda.com>
2478 * server-src/amcheck.c: Remove bogus amfree(newtapefile).
2480 2007-05-17 Jean-Louis Martineau <martineau@zmanda.com>
2481 * server-src/amcheck.c: Check all tapelist filename.
2483 2007-05-17 Jean-Louis Martineau <martineau@zmanda.com>
2484 * server-src/dumper.c (read_datafd): Reset timeout after the write.
2486 2007-05-17 Jean-Louis Martineau <martineau@zmanda.com>
2487 * amplot/amplot.sh.in: Remove function keyword.
2488 * changer-src/chg-lib.sh.in: Remove function keyword.
2489 * changer-src/chg-multi.sh.in: Remove function keyword.
2490 * changer-src/chg-zd-mtx.sh.in: Remove function keyword.
2492 2007-05-17 Jean-Louis Martineau <martineau@zmanda.com>
2493 * server-src/diskfile.c: Fix double free.
2495 2007-05-17 Jean-Louis Martineau <martineau@zmanda.com>
2496 * common-src/amanda.h: define sockaddr_storage and ss_family.
2497 * common-src/amanda.h: define INET_ADDRSTRLEN.
2498 * config/acinclude.m4i (AC_SOCKADDR_STORAGE): New macro.
2499 * configure.in: AC_SOCKADDR_STORAGE.
2501 2007-05-17 Jean-Louis Martineau <martineau@zmanda.com>
2502 * common-src/amanda.h: Define AI_V4MAPPED and AI_ALL.
2504 2007-05-17 Jean-Louis Martineau <martineau@zmanda.com>
2505 * util.c (cmp_sockaddr): un-map V4mapped address before comparison.
2506 * common-src/security-util.c: add debugging.
2508 2007-05-17 Dustin J. Mitchell <dustin@zmanda.com> (merged by dustin@zmanda.com)
2509 * common-src/amanda.h: fix typo (missing 'extern') in erroutput_type
2511 2007-05-16 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
2512 * oldrecover-src/amrecover.c oldrecover-src/extract_list.c
2513 oldrecover-src/display_commands.c oldrecover-src/set_commands.c
2514 recover-src/amrecover.c recover-src/extract_list.c
2515 recover-src/display_commands.c recover-src/set_commands.c
2516 server-src/changer.c server-src/taperscan.c
2517 server-src/amtrmlog.c server-src/amindexd.c server-src/driver.c
2518 server-src/amcheck.c server-src/dumper.c server-src/chunker.c
2519 server-src/planner.c server-src/reporter.c server-src/taper.c
2520 server-src/amtrmidx.c changer-src/scsi-linux.c
2521 changer-src/chg-scsi-chio.c changer-src/scsi-chio.c
2522 changer-src/scsi-hpux.c changer-src/scsi-cam.c
2523 changer-src/scsi-changer-driver.c changer-src/chg-scsi.c
2524 changer-src/scsi-bsd.c changer-src/scsi-irix.c
2525 changer-src/scsi-solaris.c changer-src/sense.c
2526 changer-src/scsi-aix.c changer-src/scsi-hpux_new.c
2527 client-src/client_util.c client-src/runtar.c
2528 client-src/sendbackup-gnutar.c client-src/sendbackup.c
2529 client-src/sendbackup-dump.c client-src/killpgrp.c
2530 client-src/sendsize.c client-src/selfcheck.c
2531 client-src/rundump.c client-src/calcsize.c
2532 client-src/amandates.c restore-src/amidxtaped.c
2533 restore-src/restore.c amandad-src/amandad_util.c
2534 amandad-src/amandad.c common-src/rsh-security.c
2535 common-src/sockaddr-util.c common-src/pipespawn.c
2536 common-src/security.c common-src/krb5-security.c
2537 common-src/util.c common-src/util.h common-src/bsdtcp-security.c
2538 common-src/tapelist.c common-src/debug.c common-src/fileheader.c
2539 common-src/error.c common-src/dgram.c common-src/stream.c
2540 common-src/protocol.c common-src/ssh-security.c
2541 common-src/krb4-security.c common-src/bsd-security.c
2542 common-src/event.c common-src/security-util.c
2543 common-src/conffile.c common-src/amanda.h
2544 common-src/bsdudp-security.c common-src/security-util.h
2545 common-src/alloc.c tape-src/output-file.c tape-src/tapeio.c
2546 tape-src/output-tape.c:
2547 - Change dbprintf() to use __VA_ARGS__. (Remove extra parens)
2548 - Prepend program name and nano second accuracy time stamp
2549 to each line in debug file.
2550 - Emove any resulting duplicate timestamps from functions that
2551 inserted them in each dbprintf() line.
2552 - Fix dballoc compilation.
2553 - Fix dbmalloc compilation.
2554 - Fix amfree() to report file and line # of amfree line during
2556 - Add vstrallocf() and newvstrallocf() functions. These are
2557 the same as vstralloc() and newvstralloc() except they use
2558 printf style format strings. (Required to eliminate
2559 untranslateable string concatenations in messages.)
2560 - Change files to use *allocf() functions where it seemed
2562 - Fix kerberos 4 compilation.
2563 - Fix kerberos 5 compilation.
2565 2007-05-16 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
2566 * common-src/debug.c (debug_rename): Fix for cygwin: rename
2567 will not overwrite an existing file
2569 2007-05-15 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
2570 * client-src/sendbackup.c common-src/dgram.c common-src/event.c
2571 server-src/changer.c server-src/driverio.c:
2572 Cast FD_SETSIZE to int to avoid compilation problems.
2574 2007-05-15 Kevin Till <ktill@zmanda.com> (merged by dustin@zmanda.com)
2575 * common-src/debug.c: dbrename patch by Jean-Louis Martineau to
2576 unlink the target of the rename operation before renaming.
2578 2007-05-15 Dustin J. Mitchell <dustin@zmanda.com>
2579 * client-src/sendsize.c: fix parsing of include/excludes for
2582 2007-05-11 Jean-Louis Martineau <martineau@zmanda.com>
2583 * server-src/amcrypt-ossl-asym.sh.in: Use CLIENT_LOGIN.
2584 * server-src/amcrypt-ossl.sh.in: Use CLIENT_LOGIN.
2586 2007-05-08 Jean-Louis Martineau <martineau@zmanda.com>
2587 * common-src/krb5-security.c: Fix compilation.
2589 2007-05-09 Dustin J. Mitchell <dustin@zmanda.com>
2590 * common-src/stream.c: add errno's to stream_client_internal
2592 2007-05-09 Dustin J. Mitchell <dustin@zmanda.com>
2593 * server-src/amadmin.c server-src/infofile.c
2594 common-src/security-util.c common-src/krb5-security.c:
2595 fix type-punning warnings
2597 2007-05-09 Dustin J. Mitchell <dustin@zmanda.com>
2598 * recover-src/set_commands.c server-src/amcheck.c
2599 server-src/dumper.c common-src/rsh-security.c
2600 common-src/krb5-security.c common-src/util.c common-src/util.h
2601 common-src/bsdtcp-security.c common-src/stream.c
2602 common-src/ssh-security.c common-src/bsd-security.c
2603 common-src/security-util.c common-src/bsdudp-security.c
2604 common-src/security-util.h: Add IPv6-savvy resolve_hostname() and use it
2607 2007-05-08 Jean-Louis Martineau <martineau@zmanda.com>
2608 * config/Makefile.am (EXTRA_DIST): Add docbook-dtd.m4i,
2609 docbook-xslt.m4i, docbook-xslt-min.m4i and xsltproc.m4i.
2611 2007-05-07 Jean-Louis Martineau <martineau@zmanda.com>
2612 * common-src/stream.c: pass correct sockaddr size to bind()
2614 2007-05-07 Pieter Bowman <bowman@math.utah.edu>
2615 * common-src/file.c: reverse the order of chown/chmod to correctly
2616 create temporary files.
2618 2007-05-07 Jean-Louis Martineau <martineau@zmanda.com>
2619 * common-src/krb5-security.c: Fix compilation.
2621 2007-05-04 Dustin J. Mitchell <dustin@zmanda.com>
2622 * server-src/cmdline.c server-src/holding.c server-src/holding.h
2623 server-src/amadmin.c server-src/amcleanupdisk.c: remove
2624 holding_file_read_header()
2626 2007-05-04 Dustin J. Mitchell <dustin@zmanda.com>
2627 * common-src/sockaddr-util.h common-src/bsdtcp-security.c common-src/security-util.c
2628 common-src/krb5-security.c common-src/stream.c: add and use a copy_sockaddr() macro
2630 2007-05-04 Dustin J. Mitchell <dustin@zmanda.com>
2631 * configure.in common-src/rsh-security.c common-src/bsdtcp-security.c
2632 common-src/ssh-security.c common-src/bsdudp-security.c
2633 common-src/krb5-security.c common-src/krb4-security.c common-src/bsd-security.c
2634 common-src/Makefile.am: use AM_CONDITIONAL to select security modules to compile
2636 2007-05-04 Dustin J. Mitchell <dustin@zmanda.com>
2637 * autogen man/Makefile.am configure.in config/acinclude.m4i
2638 config/docbook-xslt-min.m4i config/docbook-dtd.m4i config/docbook-xslt.m4i
2639 config/xsltproc.m4i Makefile.am: detect xsltproc, docbook xslt, and docbook
2640 dtd versions better, to ensure proper creation of manpages.
2642 2007-05-04 Dustin J. Mitchell <dustin@zmanda.com>
2643 * server-src/amindexd.c common-src/sockaddr-util.c common-src/sockaddr-util.h
2644 common-src/util.c common-src/security-util.c common-src/amanda.h
2645 common-src/dgram.c common-src/stream.c common-src/Makefile.am: add new
2646 sockaddr-util.[ch] containing sockaddr-related functions.
2648 2007-05-04 Jean-Louis Martineau <martineau@zmanda.com>
2649 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.3alpha)
2651 2007-05-03 Jean-Louis Martineau <martineau@zmanda.com>
2652 * docs/*.txt: Update from xml-docs.
2654 2007-05-03 Jean-Louis Martineau <martineau@zmanda.com>
2655 * man/xml-source/amrecover.8.xml: Fix space.
2657 2007-05-03 Jean-Louis Martineau <martineau@zmanda.com>
2658 * Amanda 2.5.2 released.
2659 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.2).
2661 2007-05-02 Jean-Louis Martineau <martineau@zmanda.com>
2662 * docs/*.txt, man/xml-source/*.xml: Change OVERWRITE bu OVERRIDE.
2663 * man/xml-source/amadmin.8.xml: Add notees on no-reuse command.
2665 2007-05-02 Jean-Louis Martineau <martineau@zmanda.com>
2666 * amandad-src/amandad.c: Improve 'invalid service' message.
2668 2007-05-01 Jean-Louis Martineau <martineau@zmanda.com>
2669 * recover-src/extract_list.c: Report the error message.
2670 * recover-src/extract_list.c: Don't call close_connection.
2671 * common-src/security-util.c: (tcpm_close_connection): Check for rh->rc
2673 2007-04-27 Jean-Louis Martineau <martineau@zmanda.com>
2674 * common-src/security-util.c (tcp1_stream_client): Set rh->rc->driver.
2676 2007-04-27 Jean-Louis Martineau <martineau@zmanda.com>
2677 * common-src/bsd-security.c, common-src/bsdudp-security.c,
2678 common-src/krb4-security.c: Fix ntohs for port number.
2679 * common-src/dgram.c: Add socket number in comment.
2681 2007-04-27 Dustin J. Mitchell <dustin@zmanda.com>
2682 * server-src/holding.c server-src/holding.h server-src/find.c:
2683 use holding module in find.c:search_holding_disk()
2685 2007-04-27 Jean-Louis Martineau <martineau@zmanda.com>
2686 * server-src/amcheck.c: Fix infobad setting.
2688 2007-04-26 Jean-Louis Martineau <martineau@zmanda.com>
2689 * server-src/amcheck.c: Set *bad on error.
2691 2007-04-26 Jean-Louis Martineau <martineau@zmanda.com>
2692 * server-src/amflush.c: Quote L_DISK and FLUSH line.
2693 * server-src/driver.c: Parse quoted FLUSH line.
2694 * server-src/planner.c: Quote L_DISK and FLUSH line.
2696 2007-04-25 Dustin J. Mitchell <dustin@zmanda.com>
2697 * configure.in common-src/ssh-security.c: allow build-time configuration of SSH options
2699 2007-04-23 Paddy Sreenivasan <paddy@zmanda.com>
2700 * changer-src/scsi-solaris.c common-src/protocol.c: changes to build on Solaris
2702 2007-04-20 Dustin J. Mitchell <dustin@zmanda.com>
2703 * configure.in: remove unused AMANDA_C_VOLATILE
2704 * config/acinclude.m4: remove unused AMANDA_C_VOLATILE
2706 2007-04-20 Dustin J. Mitchell <dustin@zmanda.com>
2707 * autogen: silence unnecessary warnings about GNU make, return exit status
2709 2007-04-20 Dustin J. Mitchell <dustin@zmanda.com>
2710 * common-src/stream.c: retry socket creation if OS does not support IPv6
2713 2007-04-20 Jean-Louis Martineau <martineau@zmanda.com>
2714 * amplot/amplot.sh.in (test_awk,find_gnuplot): Imported from zmanda.
2715 * amplot/amplot.awk: Fix some parsing.
2716 * server-src/driver.c (free_kps): Return 0 instead of big value.
2718 2007-04-18 Jean-Louis Martineau <martineau@zmanda.com>
2719 * oldrecover-src/Makefile.am, changer-src/Makefile.am,
2720 client-src/Makefile.am, amandad-src/Makefile.am,
2721 recover-src/Makefile.am, server-src/Makefile.am,
2722 restore-src/Makefile.am: Link libgnu after libamanda.
2724 2007-04-18 Jean-Louis Martineau <martineau@zmanda.com>
2725 * client-src/sendbackup.c: Improve tar argument in amanda header for
2728 2007-04-18 Dustin J. Mitchell <dustin@zmanda.com>
2729 * man/Makefile.am configure.in config/acinclude.m4i: add xsltproc- and docbook-
2730 related autoconf macros, use them to ensure the environment is appropriate for
2731 building manpages; manpage build is off by default.
2733 2007-04-17 Jean-Louis Martineau <martineau@zmanda.com>
2734 * changer-src/chg-disk.sh.in: Send error message to stdout.
2736 2007-04-17 Dustin J. Mitchell <dustin@zmanda.com>
2737 * changer-src/chg-zd-mtx.sh.in: fix more typos (thanks to
2738 "Stefan G. Weichinger" <sgw@amanda.org>)
2740 2007-04-17 Jean-Louis Martineau <martineau@zmanda.com>
2741 * restore-src/restore.c: Fix restoration of split and encrypted backup.
2743 2007-04-13 Dustin J. Mitchell <dustin@zmanda.com>
2744 * changer-src/chg-zd-mtx.sh.in: fix typo in error message
2746 2007-04-13 Jean-Louis Martineau <martineau@zmanda.com>
2747 * Amanda 2.5.2b1 released.
2748 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.2b1).
2750 2007-04-13 Jean-Louis Martineau <martineau@zmanda.com>
2751 * client-src/sendbackup.c (first_num): Removed function.
2752 * client-src/sendbackup.c (the_num): return the nth number in a string.
2753 * client-src/sendbackup.h (AM_SIZE_RE): Need a field.
2754 * client-src/sendbackup-dump.c: Use new AM_SIZE_RE.
2755 * client-src/sendbackup-gnutar.c: Use new AM_SIZE_RE.
2757 2007-04-13 Jean-Louis Martineau <martineau@zmanda.com>
2758 * NEWS: Change in amanda-2.5.2
2759 * ReleaseNotes: Releases Notes for 2.5.2
2760 * server-src/chunker.c (write_tapeheader): Set errno to ENOSPC.
2762 2007-04-12 Dustin J. Mitchell <dustin@zmanda.com>
2763 * server-src/dumper.c: use fullwrite() instead of write()
2765 2007-04-12 Jean-Louis Martineau <martineau@zmanda.com>
2766 * amandad-src/amandad.c: Remove duplicate setsockopt(,,SO_REUSEADDR).
2767 * common-src/bsd-security.c: Use int for setsockopt.
2768 * common-src/stream.c (try_socksize): Use int for setsockopt.
2770 2007-04-12 Jean-Louis Martineau <martineau@zmanda.com>
2771 * server-src/amcheck.c: Remove duplicate test.
2772 * server-src/dumper.c: Use newvstralloc.
2774 2007-04-12 Jean-Louis Martineau <martineau@zmanda.com>
2775 * server-src/reporter.c: Take value from chunker if it succeed and
2778 2007-04-10 Jean-Louis Martineau <martineau@zmanda.com>
2779 * configure.in: Use krb5 shared library.
2781 2007-04-10 Dustin J. Mitchell <dustin@zmanda.com>
2782 * changer-src/chg-zd-mtx.sh.in: remove configurability of mt, mtx paths
2784 2007-04-10 Jean-Louis Martineau <martineau@zmanda.com>
2785 * common-src/krb5-security.c: Initialize rc->gss_context.
2787 2007-04-09 Dustin J. Mitchell <dustin@zmanda.com>
2788 * changer-src/chg-zd-mtx.sh.in: fix bugs in configuration for mt, mtx paths
2790 2007-04-06 Dustin J. Mitchell <dustin@zmanda.com>
2791 * oldrecover-src/extract_list.c oldrecover-src/display_commands.c
2792 client-src/sendbackup.c client-src/getfsent.c client-src/sendsize.c
2793 client-src/selfcheck.c recover-src/amrecover.c recover-src/extract_list.c
2794 recover-src/display_commands.c server-src/amlogroll.c
2795 server-src/amindexd.c server-src/tapefile.c server-src/amcheck.c
2796 server-src/dumper.c server-src/planner.c server-src/reporter.c
2797 server-src/amadmin.c server-src/find.c server-src/infofile.c
2798 restore-src/amidxtaped.c common-src/security-util.c common-src/amanda.h:
2799 improve parsing with strcmp_const and strcmp_const_skip
2801 2007-04-06 Jean-Louis Martineau <martineau@zmanda.com>
2802 * server-src/taper.c: Limit splitsize to 1G in PORT-WRITE.
2804 2007-04-06 Jean-Louis Martineau <martineau@zmanda.com>
2805 * common-src/krb5-security.c: Report client hostname.
2807 2007-04-06 Jean-Louis Martineau <martineau@zmanda.com>
2808 * common-src/tapelist.c (append_to_tape): Don't call dump_tapelist.
2810 2007-04-05 Dustin J. Mitchell <dustin@zmanda.com>
2811 * contrib/macosx/org.amanda.amandad.bsd*.plist: updated to use username
2814 2007-04-05 Dustin J. Mitchell <dustin@zmanda.com>
2815 * amplot/amplot.sh.in configure.in config/acinclude.m4i:
2816 move checks for gnuplot, awk to runtime for easier packaging;
2817 add fake gettext functions to ease the transition to
2818 full gettext support
2820 2007-04-05 Dustin J. Mitchell <dustin@zmanda.com>
2821 * server-src/amindex.c: fix bug where debug fd was closed by safe_fd,
2822 remove remote_hostname, rewrite to use getaddrinfo/getnameinfo
2823 * server-src/dumper.c server-src/amcheck.c recover-src/set_commands.c:
2824 use getaddrinfo/getnameinfo
2825 * common-src/security-util.[ch]: add try_resolving_hostname()
2826 * common-src/ssh-security.c common-src/rsh-security.c:
2827 use try_resolving_hostname, rewrite to avoid gethostbyname
2828 * common-src/krb5-security.c: use getaddrinfo instead of gethostbyname
2830 2007-04-05 Dustin J. Mitchell <dustin@zmanda.com>
2831 * changer-src/chg-lib.sh.in changer-src/chg-mtx.sh.in
2832 changer-src/chg-manual.sh.in changer-src/chg-zd-mtx.sh.in
2833 changer-src/chg-multi.sh.in changer-src/Makefile.am
2834 configure.in: make the path to MTX and other executables configurable
2835 in changer scripts; introduce new changer shell library to reduce
2836 code duplication; add fake gettext functions to ease the transition to
2837 full gettext support
2839 2007-04-04 Dustin J. Mitchell <dustin@zmanda.com>
2840 * server-src/dumper.c server-src/chunker.c: remove assumed ENOSPC
2841 error in static write_tapeheader functions
2843 2007-04-03 Jean-Louis Martineau <martineau@zmanda.com>
2844 * common-src/security-util.c: Remove buggy &.
2846 2007-04-03 Jean-Louis Martineau <martineau@zmanda.com>
2847 * common-src/conffile.c: Add READBLOCKSIZE tapetype config option.
2848 * common-src/conffile.c(getconf_readblocksize): Function to retrieve
2849 the tapetype readblocksize or the configured maxtapeblocksize.
2850 * common-src/conffile.h: Add READBLOCKSIZE tapetype config option.
2851 * man/xml-source/amanda.conf.5.xml: Document it.
2852 * tape-src/output-tape.c: Use getconf_readblocksize.
2853 * tape-src/tapeio.c: Use getconf_readblocksize.
2855 2007-04-03 Jean-Louis Martineau <martineau@zmanda.com>
2856 * common-src/bsd-security.c, common-src/bsdtcp-security.c,
2857 common-src/bsdudp-security.c,
2858 common-src/security-util.c: Fix auth_debug and dbprintf usage.
2860 2007-04-03 Jean-Louis Martineau <martineau@zmanda.com>
2861 Merge from zmanda ext.
2862 * man/xml-source/amadmin.8.xml man/xml-source/amanda.8.xml
2863 server-src/amflush.c server-src/cmdline.c server-src/cmdline.h
2864 server-src/holding.c server-src/holding.h server-src/driver.c
2865 server-src/planner.c server-src/amadmin.c server-src/taper.c
2866 server-src/amcleanupdisk.c server-src/find.c
2867 server-src/Makefile.am: revise holding-disk management, add new
2868 'amadmin' subcommand to list and delete dumps from the holding
2870 * server-src/amadmin.c: Add 'amadmin XX holding list -l'
2872 2007-04-02 Dustin J. Mitchell <dustin@zmanda.com>
2873 * common-src/bsdtcp-security.c common-src/bsd-security.c
2874 common-src/security-util.c common-src/bsdudp-security.c:
2875 bugfixes, always check for NULL ai_canonname
2876 * common-src/util.c common-src/util.h common-src/krb4-security.c
2877 common-src/security-util.c: bugfix for hosts with multiple addresses,
2878 improved cmp_sockaddr, remove redundant checks
2879 * server-src/taper.c: add log message when new tapes are auto-labeled
2880 * common-src/security-util.c: patch to avoid spurious compiler warnings
2883 2007-03-30 Dustin J. Mitchell <dustin@zmanda.com>
2884 * common-src/file.c: remove unused amanda_setup()
2886 2007-03-30 Jean-Louis Martineau <martineau@zmanda.com>
2887 * common-src/amanda.h: Define a _() macro.
2889 2007-03-28 Dustin J. Mitchell <dustin@zmanda.com>
2890 * common/amanda.h: fix typo in SS_SET_INADDR_ANY for non-IPv6
2892 * gnulib/regenerate/regenerate: update to include visibility
2893 and lock modules (See 2007-03-14)
2894 * recover-src/extract_list.c common-src/krb4-security.c
2895 common-src/event.c common-src/security-util.c: use
2896 SELECT_ARG_TYPE instead of fd_set
2898 2007-03-27 Jean-Louis Martineau <martineau@zmanda.com>
2899 * common-src/krb5-security.c: Fix for krb5 and IPv6.
2900 * common-src/security-util.c: Fix for krb5 and IPv6.
2902 2007-03-27 Jean-Louis Martineau <martineau@zmanda.com>
2903 * common-src/krb5-security.c: Compile with heimdal kerberos.
2905 2007-03-27 Jean-Louis Martineau <martineau@zmanda.com>
2906 Fix solaris 9 problem:
2907 * common-src/krb5-security.c: Use putenv instead of setenv.
2908 * common-src/security-util.c: Set flags according to family.
2910 2007-03-27 Jean-Louis Martineau <martineau@zmanda.com>
2911 Merge from zmanda EXT.
2913 2007-03-27 Jean-Louis Martineau <martineau@zmanda.com>
2914 * Makefile.am (EXTRA_DIST): Remove contrib/gnulib-update-current.
2916 2007-03-27 Jean-Louis Martineau <martineau@zmanda.com>
2917 * server-src/reporter.c: Ouput quoted diskname in "DUMP SUMMARY"
2920 2007-03-23 Jean-Louis Martineau <martineau@zmanda.com>
2921 * changer-src/chg-zd-mtx.sh.in: Exit with a message if the
2922 configuration file doesn't exist.
2924 2007-03-23 Jean-Louis Martineau <martineau@zmanda.com>
2925 * common-src/conffile.c: Fix error message.
2927 2007-03-23 Jean-Louis Martineau <martineau@zmanda.com>
2928 * amandad-src/amandad.c: Fix segfault.
2930 2007-03-23 Jean-Louis Martineau <martineau@zmanda.com>
2931 * common-src/security-util.c: Use SS_LEN.
2932 * common-src/util.c: Use SS_LEN.
2934 2007-03-21 Jean-Louis Martineau <martineau@zmanda.com>
2935 * common-src/security.h (security_driver): Add data_encrypt and
2936 data_decrypt function.
2937 * common-src/bsd-security.c, common-src/bsdtcp-security.c,
2938 common-src/bsdudp-security.c, common-src/krb4-security.c,
2939 common-src/rsh-security.c,
2940 common-src/ssh-security.c: Set data_encrypt and data_decrypt to NULL.
2942 * common-src/conffile.c: Parse KRB5KEYTAB and KRB5PRINCIPAL on client.
2943 * common-src/krb5-security.c: Complete rewrite.
2944 * common-src/security-util.h: Change many prototype.
2945 * common-src/security-util.c: Change argument to function.
2946 * recover-src/amrecover.c: Use generic_client_get_security_conf.
2947 * recover-src/extract_list.c: Use generic_client_get_security_conf.
2949 2007-03-21 Jean-Louis Martineau <martineau@zmanda.com>
2950 Merge from zmanda EXT.
2951 - Add SS_INIT, SS_SET_INADDR_ANY, SS_GET_PORT and SS_SET_PORT
2952 macros for IPv6 portability
2953 - add SS_LEN() macro for calculating length of a
2954 struct sockaddr, use it in a few locations where incorrect
2955 lengths were being passed.
2956 - New script for rebuilding gnulib from scratch; current
2957 gnulib is from "cvs update -D '2007-01-31 13:12:51 -0600'"
2959 2007-03-12 Jean-Louis Martineau <martineau@zmanda.com>
2960 * recover-src/set_commands.c (set_tape): Don't amfree(tape).
2961 * oldrecover-src/set_commands.c (set_tape): Don't amfree(tape).
2963 2007-02-22 Jean-Louis Martineau <martineau@zmanda.com>
2964 * changer-src/scsi-linux.c, common-src/security-util.c,
2965 common-src/stream.c, oldrecover-src/amrecover.c,
2966 restore-src/restore.c, server-src/amcheck.c,
2967 server-src/taper.c: Use SIZE_T_FMT and SSIZE_T_FMT instead of %z.
2969 2007-02-22 Jean-Louis Martineau <martineau@zmanda.com>
2970 * common-src/bsd-security.c: Always retry getaddrinfo if INET6 failed.
2971 * common-src/bsdudp-security.c: Ditto.
2973 2007-02-22 Jean-Louis Martineau <martineau@zmanda.com>
2974 * common-src/debug.c: Remove old file in current directory.
2976 2007-02-22 Jean-Louis Martineau <martineau@zmanda.com>
2977 * changer-src/chg-chio.pl.in: Typo.
2979 2007-02-21 Jean-Louis Martineau <martineau@zmanda.com>
2980 * recover-src/extract_list.c: Remove match for path_on_disk_slash.
2982 2007-02-20 Jean-Louis Martineau <martineau@zmanda.com>
2983 * common-src/stream.c, common-src/util.c: Pass exact socklen_t to
2984 bind and connect call.
2986 2007-02-20 Jean-Louis Martineau <martineau@zmanda.com>
2987 * server-src/taper.c: Set splitsize to 0 if no data in file.
2988 * server-src/amflush.c: Don't send FLUSH request if no data in file.
2989 * server-src/planner.c: Don't send FLUSH request if no data in file.
2990 * server-src/driver.c: Don't send request to taper if no data in file.
2992 2007-02-19 Jean-Louis Martineau <martineau@zmanda.com>
2993 * amandad-src/amandad.c: Fix compilation with --without-ipv6.
2995 2007-02-19 Jean-Louis Martineau <martineau@zmanda.com>
2996 * server-src/amverify.sh.in: Remove bogus fi.
2998 2007-02-16 Jean-Louis Martineau <martineau@zmanda.com>
2999 * server-src/amverify.sh.in: Add timeout on wait for device ready.
3000 * changer-src/chg-chio.pl.in: Wait (with timeout) for drive ready.
3002 2007-02-15 Jean-Louis Martineau <martineau@zmanda.com>
3003 * server-src/taper.c: Don't call free_server_config.
3005 2007-02-15 Jean-Louis Martineau <martineau@zmanda.com>
3006 * patching file oldrecover-src/amrecover.h (local_cd): Prototype.
3007 * oldrecover-src/set_commands.c: Works with quoted arguments.
3008 * oldrecover-src/uparse.y (LCD): Call local_cd.
3009 * recover-src/amrecover.h (local_cd): Prototype.
3010 * recover-src/set_commands.c: Works with quoted arguments.
3011 * recover-src/uparse.y (LCD): Call local_cd.
3013 2007-02-14 Jean-Louis Martineau <martineau@zmanda.com>
3014 * common-src/security-util.c: Add "on the client" message.
3016 2007-02-13 Jean-Louis Martineau <martineau@zmanda.com>
3017 * server-src/amstatus.pl.in: fix for chunk and displayunit.
3019 2007-02-13 Jean-Louis Martineau <martineau@zmanda.com>
3020 * server-src/dumper.c: Fix if krb4 is compiled but another auth is
3023 2007-02-13 Jean-Louis Martineau <martineau@zmanda.com>
3024 * common-src/alloc.c (safe_env): Remove LANG and LC_* only if we are
3025 priviledged process.
3027 2007-02-13 Jean-Louis Martineau <martineau@zmanda.com>
3028 * dumper-src/amgtar.pl.in: Replace -t options by -T.
3029 * dumper-src/Makefile.am: Remove perl -t options.
3031 2007-02-12 Jean-Louis Martineau <martineau@zmanda.com>
3032 * common-src/Makefile.am (STANDARD_COMMON_STUFF_NOT_FILE): Add sl.
3033 * common-src/statfs.c: Fix scale function.
3035 2007-02-12 Jean-Louis Martineau <martineau@zmanda.com>
3036 * client-src/sendsize.c: Fix PARAM_HONOR_NODUMP.
3038 2007-02-09 Jean-Louis Martineau <martineau@zmanda.com>
3039 * server-src/reporter.c: Fix postscript crash.
3041 2007-02-09 Jean-Louis Martineau <martineau@zmanda.com>
3042 * changer-src/chg-manual.sh.in: Add tty, email, tty_email request mode.
3044 2007-02-07 Jean-Louis Martineau <martineau@zmanda.com>
3045 * server-src/amindexd.c: Use dbfd.
3047 2007-02-06 Jean-Louis Martineau <martineau@zmanda.com>
3048 * common-src/alloc.c (vstrallocf): New function.
3049 * common-src/amanda.h (vstrallocf): Prototype.
3050 * client-src/sendsize.c: Send error if fe_rep_sendsize_quoted_error.
3051 * common-src/amfeatures.c (am_init_feature_set): Set
3052 fe_rep_sendsize_quoted_error.
3053 * common-src/amfeatures.h (fe_rep_sendsize_quoted_error): new features.
3054 * server-src/planner.c: Receive error message from sendsize.
3056 2007-02-06 Jean-Louis Martineau <martineau@zmanda.com>
3057 * amandad-src/amandad.c, changer-src/scsi-linux.c,
3058 common-src/conffile.c, configure.in,
3059 man/Makefile.am, man/xml-source/amcheck.8.xml,
3060 server-src/amlabel.c, server-src/taper.c: Merge from zmanda.
3062 2007-02-06 Jean-Louis Martineau <martineau@zmanda.com>
3063 * common-src/clock.c (timesub): The result must always be positive.
3065 2007-02-05 Jean-Louis Martineau <martineau@zmanda.com>
3066 * changer-src/chg-zd-mtx.sh.in: Fix for sed and IMPORT/EXPORT.
3068 2007-02-05 Jean-Louis Martineau <martineau@zmanda.com>
3069 * server-src/amcheck.c: Add parentheses.
3071 2007-02-02 Jean-Louis Martineau <martineau@zmanda.com>
3072 * contrib/gnulib-update-current: New file.
3073 * Makefile.am (EXTRA_DIST): Add contrib/gnulib-update-current.
3075 2007-02-02 Jean-Louis Martineau <martineau@zmanda.com>
3076 * man/Makefile.am: Use http://docbook.sourceforge.net
3077 * man/xml-source/amadmin.8.xml, man/xml-source/amaespipe.8.xml,
3078 man/xml-source/amanda.8.xml, man/xml-source/amanda-client.conf.5.xml,
3079 man/xml-source/amanda.conf.5.xml, man/xml-source/amcheck.8.xml,
3080 man/xml-source/amcrypt.8.xml, man/xml-source/amdump.8.xml,
3081 man/xml-source/amfetchdump.8.xml, man/xml-source/amflush.8.xml,
3082 man/xml-source/amgetconf.8.xml, man/xml-source/amlabel.8.xml,
3083 man/xml-source/ammt.8.xml, man/xml-source/amrecover.8.xml,
3084 man/xml-source/amreport.8.xml,
3085 man/xml-source/amtape.8.xml: Fix for xmllint.
3086 * man/xslt/man.xsl: Remove bogus code.
3088 2007-02-01 Jean-Louis Martineau <martineau@zmanda.com>
3089 * changer-src/chg-zd-mtx.sh.in: Support IMPORT/EXPORT slot.
3091 2007-02-01 Jean-Louis Martineau <martineau@zmanda.com>
3092 * server-src/amdump.sh.in: Output a starttime line.
3093 * server-src/amflush.c: Output a starttime line.
3094 * server-src/amstatus.pl.in: parse the starttime line.
3096 2007-01-26 Jean-Louis Martineau <martineau@zmanda.com>
3097 * configure.in: Fix --with-ipv6 option.
3099 2007-01-26 Jean-Louis Martineau <martineau@zmanda.com>
3100 * server-src/amdump.sh.in: Exit with a status.
3102 2007-01-26 Jean-Louis Martineau <martineau@zmanda.com>
3103 * server-src/diskfile.c: Use hostnext pointer.
3105 2007-01-26 Jean-Louis Martineau <martineau@zmanda.com>
3106 * server-src/reporter.c: Exit with a status.
3108 2007-01-26 Jean-Louis Martineau <martineau@zmanda.com>
3109 * server-src/amstatus.pl.in: Exit with a status.
3111 2007-01-26 Jean-Louis Martineau <martineau@zmanda.com>
3112 * server-src/amstatus.pl.in: Detect failed dump to tape.
3114 2007-01-25 Jean-Louis Martineau <martineau@zmanda.com>
3115 * configure.in: Add --with-ipv6 option.
3117 2007-01-25 Jean-Louis Martineau <martineau@zmanda.com>
3118 * server-src/changer.c (changer_command): Send stderr to dbfd().
3120 2007-01-25 Jean-Louis Martineau <martineau@zmanda.com>
3121 * server-src/diskfile.c: Check hostname have same case.
3123 2007-01-25 Jean-Louis Martineau <martineau@zmanda.com>
3124 * changer-src/chg-zd-mtx.sh.in: Check if MT and MTX exists.
3126 2007-01-25 Jean-Louis Martineau <martineau@zmanda.com>
3127 * changer-src/chg-zd-mtx.sh.in: Set CHANGER environment variable.
3129 2007-01-24 Jean-Louis Martineau <martineau@zmanda.com>
3130 * common-src/conffile.c: Cleanup conf_print function.
3132 2007-01-24 Jean-Louis Martineau <martineau@zmanda.com>
3133 * common-src/conffile.c: Check for duplicate -o options.
3134 * recover-src/amrecover.c: Change precedence of option.
3136 2007-01-24 Jean-Louis Martineau <martineau@zmanda.com>
3137 * server-src/diskfile.c: Fix compiler warning.
3139 2007-01-23 Jean-Louis Martineau <martineau@zmanda.com>
3140 * common-src/security-util.c (tcpm_recv_token): Check size < 0.
3143 2007-01-23 Jean-Louis Martineau <martineau@zmanda.com>
3144 * server-src/diskfile.c: Check duplicate DLE with match_host and
3147 2007-01-18 Jean-Louis Martineau <martineau@zmanda.com>
3148 * client-src/selfcheck.c: Improve check if /etc/dumpdates in not there.
3150 2007-01-18 Jean-Louis Martineau <martineau@zmanda.com>
3151 * restore-src/amfetchdump.c: Set arg_state to ARG_GET_HOST.
3153 2007-01-18 Jean-Louis Martineau <martineau@zmanda.com>
3154 * server-src/amcheck.c: Check tape_access.
3155 * server-src/taper.c: Improve message.
3157 2007-01-16 Jean-Louis Martineau <martineau@zmanda.com>
3158 * configure.in: Define GCC_COMPILER.
3159 * gnulib/Makefile.am: Add -Wno-error to AM_CFLAGS if GCC_COMPILER.
3161 2007-01-16 Jean-Louis Martineau <martineau@zmanda.com>
3162 * server-src/getconf.c: Fix segfault in parameter parsing.
3164 2007-01-15 Jean-Louis Martineau <martineau@zmanda.com>
3165 * common-src/bsd-security.c, common-src/bsdtcp-security.c,
3166 common-src/bsdudp-security.c,
3167 common-src/stream.c: Don't call check_addrinfo_give_name.
3168 * common-src/security-util.c (check_addrinfo_give_name): Always log
3171 2007-01-11 Jean-Louis Martineau <martineau@zmanda.com>
3172 * common-src/conffile.c Set default length/filemark correctly.
3173 * man/xml-source/amanda.conf.5.xml: Document they are in kbytes.
3175 2007-01-10 Jean-Louis Martineau <martineau@zmanda.com>
3176 * config/gnulib/gnulib-common.m4: New file.
3177 * config/gnulib.m4i: Load config/gnulib/gnulib-common.m4.
3179 2007-01-10 Jean-Louis Martineau <martineau@zmanda.com>
3180 * amandad-src/amandad.c (do_sendpkt): Send packet if handle != NULL.
3182 2007-01-10 Jean-Louis Martineau <martineau@zmanda.com>
3183 * common-src/conffile.c, common-src/conffile.h,
3184 server-src/diskfile.c: Keep different list for exclude file and list.
3186 2007-01-10 Jean-Louis Martineau <martineau@zmanda.com>
3187 * server-src/taper.c (read_file): Don't count first header twice.
3189 2007-01-05 Jean-Louis Martineau <martineau@zmanda.com>
3190 * server-src/amstatus.pl.in: Fix split-dump accounting.
3192 2007-01-04 Jean-Louis Martineau <martineau@zmanda.com>
3193 * restore-src/restore.c: Use prompt_in.
3195 2007-01-04 Jean-Louis Martineau <martineau@zmanda.com>
3196 * amandad-src/amandad.c, common-src/bsd-security.c,
3197 common-src/bsdtcp-security.c, common-src/bsdudp-security.c,
3198 common-src/dgram.c, common-src/security-util.c,
3199 common-src/stream.c,
3200 common-src/util.c: Replace HAVE_IPV6 by WORKING_IPV6.
3201 * configure.in: Define HAVE_IPV6 if IPv6 is working.
3203 2007-01-04 Jean-Louis Martineau <martineau@zmanda.com>
3204 * changer-src/chg-chio.pl.in, changer-src/chg-iomega.pl.in,
3205 changer-src/chg-rth.pl.in, dumper-src/amgtar.pl.in,
3206 server-src/amoverview.pl.in, server-src/amstatus.pl.in,
3207 server-src/amtoc.pl.in: Clean ENV and set PATH.
3209 2006-12-27 Jean-Louis Martineau <martineau@zmanda.com>
3210 * server-src/driver.c: Don't repport error for many run in a day if
3213 2006-12-27 Jean-Louis Martineau <martineau@zmanda.com>
3214 * common-src/util.c (quote_string): Escape '\' character.
3216 2006-12-22 Jean-Louis Martineau <martineau@zmanda.com>
3217 * recover-src/display_commands.c: Send quoted text to amindexd.
3218 * recover-src/extract_list.c: Send quoted text to amindexd.
3219 * recover-src/set_commands.c: Send quoted text to amindexd.
3221 2006-12-22 Jean-Louis Martineau <martineau@zmanda.com>
3222 * changer-src/chg-disk.sh.in: LASTSLOT in a changerfile for chg-disk.
3224 2006-12-22 Jean-Louis Martineau <martineau@zmanda.com>
3225 * client-src/sendsize.c: Compilation fix.
3227 2006-12-18 Jean-Louis Martineau <martineau@zmanda.com>
3228 * common-src/packet.c (pkt_init_empty): New function.
3229 * common-src/packet.h (pkt_init_empty): New prototype.
3230 * amandad-src/amandad.c, common-src/protocol.c,
3231 common-src/security-util.c: Use pkt_init_empty.
3233 2006-12-18 Jean-Louis Martineau <martineau@zmanda.com>
3234 * common-src/conffile.c: Print nothing if the list is emtpy.
3236 2006-12-14 Jean-Louis Martineau <martineau@zmanda.com>
3237 * restore-src/restore.c: Fix filename for output file.
3239 2006-12-12 Jean-Louis Martineau <martineau@zmanda.com>
3240 * common-src/amanda.h: Define __attribute__ for gcc >= 3.
3241 * common-src/packet.c (pkt_init): Accept NULL for fmt.
3242 * amandad-src/amandad.c, common-src/protocol.c,
3243 common-src/security-util.c: Pass NULL to pkt_init.
3244 * amandad-src/amandad.c, changer-src/chg-scsi.c,
3245 changer-src/scsi-linux.c, client-src/sendbackup.c,
3246 common-src/amanda.h, common-src/conffile.c,
3247 common-src/event.c, common-src/packet.c,
3248 common-src/security-util.c, common-src/stream.c,
3249 common-src/util.c, oldrecover-src/amrecover.c,
3250 restore-src/restore.c, server-src/amcheck.c,
3251 server-src/driver.c, server-src/driverio.c,
3252 server-src/taper.c: Fix printf format error.
3254 2006-12-12 Jean-Louis Martineau <martineau@zmanda.com>
3255 * server-src/amindexd.c: Use fgets to read index file because they
3258 2006-12-12 Jean-Louis Martineau <martineau@zmanda.com>
3259 * configure.in: Find patch for sort program.
3260 * server-src/amindexd.c: Clean the indexd file between the uncompress
3263 2006-12-08 Jean-Louis Martineau <martineau@zmanda.com>
3264 * configure.in: Add ICE_CHECK_DECL(snprintf,stdio.h)
3265 * configure.in: Add ICE_CHECK_DECL(vsnprintf,stdio.h)
3266 * client-src/sendbackup.c: Fix ignoring return value of write.
3268 2006-12-08 Jean-Louis Martineau <martineau@zmanda.com>
3269 * man/xml-source/amadmin.8.xml, man/xml-source/amanda.8.xml,
3270 man/xml-source/amanda.conf.5.xml, man/xml-source/amcheck.8.xml,
3271 man/xml-source/amfetchdump.8.xml, man/xml-source/ammt.8.xml,
3272 man/xml-source/amrecover.8.xml: Move </note> tag to beginning of line
3274 2006-12-08 Jean-Louis Martineau <martineau@zmanda.com>
3275 * changer-src/chg-rait.sh.in: Fix typo for -reset.
3277 2006-12-07 Jean-Louis Martineau <martineau@zmanda.com>
3278 * server-src/amindexd.c: Fix host case problem.
3279 * server-src/diskfile.c (add_disk, parse_diskline): Update hostname
3281 * server-src/diskfile.h (disk_s): New hostname field.
3282 * server-src/disk_history.c (add_dump): New hostname parameter.
3283 * server-src/disk_history.h (DUMP_ITEM): New hostname field.
3284 * server-src/disk_history.h (add_dump): Protoype change.
3286 2006-12-07 Jean-Louis Martineau <martineau@zmanda.com>
3287 * amandad-src/amandad.c: Add missing HAVE_IPV6.
3288 * common-src/security-util.c: Add missing HAVE_IPV6.
3289 * common-src/bsd-security.c, common-src/bsdtcp-security.c,
3290 common-src/bsdudp-security.c, common-src/dgram.c,
3291 common-src/dgram.h, common-src/stream.c,
3292 common-src/util.c: Fix for broken getaddrinfo:not returning V4MAPPED
3294 2006-12-07 Jean-Louis Martineau <martineau@zmanda.com>
3295 * common-src/conffile.c (lookup_keyword): Use strcasecmp.
3296 * common-src/conffile.c (get_conftoken): Don;t convert to uppercase.
3297 * server-src/getconf.c: Don;t print extra '\n' for --list.
3299 2006-12-04 Jean-Louis Martineau <martineau@zmanda.com>
3300 * common-src/util.c (str_sockaddr): Use host byte order for port.
3302 2006-12-04 Jean-Louis Martineau <martineau@zmanda.com>
3303 * server-src/amtape.h: Remove file.
3305 2006-12-04 Jean-Louis Martineau <martineau@zmanda.com>
3306 Application API phase 1.
3307 * client-src/client_util.c, client-src/client_util.h,
3308 client-src/selfcheck.c, client-src/sendbackup.c,
3309 client-src/sendsize.c, common-src/amfeatures.c,
3310 common-src/amfeatures.h, common-src/fileheader.c,
3311 common-src/fileheader.h, recover-src/extract_list.c,
3312 server-src/amcheck.c, server-src/amstatus.pl.in,
3313 server-src/dumper.c, server-src/Makefile.am,
3314 server-src/planner.c: Fix for Application API.
3315 * configure.in: Fix for moved files.
3316 * dumper-src/generic-dumper.pl.in: Fix for Application API.
3317 * dumper-src/Makefile.am: Fix for renamed files.
3318 * dumper-src/gnutar.pl.in: Renamed to dumper-src/amgtar.pl.in.
3319 * dumper-src/amgtar.pl.in: Fix for Application API.
3320 * dumper-src/star.pl.in: Renamed to dumper-src/amstar.pl.in.
3321 * dumper-src/amstar.pl.in: Fix for Application API.
3323 2006-11-29 Jean-Louis Martineau <martineau@zmanda.com>
3324 * client-src/sendbackup.c: Kill dump process on error.
3326 2006-11-29 Jean-Louis Martineau <martineau@zmanda.com>
3327 * changer-src/chg-chio.pl.in: Check tapedev is set.
3328 * changer-src/chg-disk.sh.in: Check tapedev is set.
3329 * changer-src/chg-iomega.pl.in: Check tapedev is set.
3330 * changer-src/chg-manual.sh.in: Check tapedev is set.
3331 * changer-src/chg-mtx.sh.in: Check tapedev is set.
3332 * changer-src/chg-rth.pl.in: Check tapedev is set.
3333 * server-src/amcheck.c: Tapedev is needed only if tpchanger is not set.
3334 * server-src/amflush.c: Tapedev is needed only if tpchanger is not set.
3335 * server-src/amindexd.c: Tapedev is needed only if tpchanger is not set
3336 * server-src/taper.c: Tapedev is needed only if tpchanger is not set.
3338 2006-11-29 Jean-Louis Martineau <martineau@zmanda.com>
3339 * client-src/sendbackup.c: Ignore tar exit with status 1.
3341 2006-11-29 Jean-Louis Martineau <martineau@zmanda.com>
3342 * server-src/amindexd.c (clean_backslash): New function use to unescape
3343 '\' characters in index files.
3345 2006-11-29 Jean-Louis Martineau <martineau@zmanda.com>
3346 * restore-src/restore.c (search_tapes): Fix prompt_out setting.
3348 2006-11-28 Jean-Louis Martineau <martineau@zmanda.com>
3349 * common-src/amanda.h: Don't include gnulib header if CONFIGURE_TEST
3351 * common-src/amflock.c (main): Remove unused fd variable.
3353 2006-11-28 Jean-Louis Martineau <martineau@zmanda.com>
3354 * config/Makefile.am (EXTRA_DIST): Add gnulib.m4i.
3356 2006-11-27 Jean-Louis Martineau <martineau@zmanda.com>
3357 * common-src/util.c (copy_file): Fix compilation error.
3359 2006-11-27 Jean-Louis Martineau <martineau@zmanda.com>
3360 * common-src/stream.c: Fix compilation error.
3362 2006-11-27 Jean-Louis Martineau <martineau@zmanda.com>
3363 * common-src/amanda.h (NI_MAXHOST): Define if not defined.
3364 * common-src/bsd-security.c, common-src/bsdtcp-security.c,
3365 common-src/bsdudp-security.c, common-src/dgram.c,
3366 common-src/security-util.c, common-src/stream.c,
3367 common-src/util.c: HAVE_IPV6 conditional code
3369 2006-11-26 Jean-Louis Martineau <martineau@zmanda.com>
3370 * config/gnulib/*: m4 files for gnulib.
3371 * config/gnulib.m4i: File to load all m4 files for gnulib.
3372 * gnulib/*: gnulib source.
3373 * */Makefile.am (INCLUDES): Add $(top_srcdir)/gnulib.
3374 * */Makefile.am (LDADD): Add ../gnulib/libgnu.$(LIB_EXTENSION).
3375 * Makefile.am (ACINCLUDE_M4_DEPS): Add $(srcdir)/config/gnulib.m4i.
3376 * Makefile.am (SUBDIRS): Add gnulib.
3377 * configure.in: AC_PREREQ(2.59), gl_EARLY, gl_INIT.
3378 * configure.in (AC_CONFIG_FILES): Add gnulib/Makefile.
3379 * autogen: Add config/gnulib.m4i to acinclude.m4.
3381 2006-11-24 Jean-Louis Martineau <martineau@zmanda.com>
3382 * client-src/sendbackup-dump.c, client-src/sendbackup-gnutar.c,
3383 client-src/sendsize.c,
3384 server-src/amindexd.c: Patch for gcc-3.2.3 to compile the new
3387 2006-11-24 Jean-Louis Martineau <martineau@zmanda.com>
3388 * common-src/file.c (old_sanitise_filename): New function.
3389 * common-src/amanda.h (old_sanitise_filename): Prototype.
3390 * common-src/util.c (copy_file): New function.
3391 * common-src/util.h (copy_file): Prototype.
3392 * server-src/diskfile.c: Check that two DLE doesn't get the same
3394 * server-src/amindex.c (getoldindexfname): New function.
3395 * server-src/amindex.h (getoldindexfname): prototype.
3396 * server-src/amindexd.c: Use the old sanitized filename if the new
3398 * server-src/amcheck.c: Call check_infofile.
3399 * server-src/planner.c: Call check_infofile.
3400 * server-src/server_util.c (check_infofile): New function, will copy
3401 the old sanitizes info file if the new doesn't exist.
3402 * server-src/server_util.h (check_infofile): Prototype.
3404 2006-11-23 Jean-Louis Martineau <martineau@zmanda.com>
3405 * common-src/security-util.c (tcpm_recv_token): amanda protocol
3406 packet can be larger than NETWORK_BLOCK_BYTES
3408 2006-11-21 Jean-Louis Martineau <martineau@zmanda.com>
3409 * common-src/stream.c: Fix compiler error.
3411 2006-11-21 Jean-Louis Martineau <martineau@zmanda.com>
3412 * amandad-src/amandad.c, common-src/amanda.h,
3413 common-src/bsd-security.c, common-src/bsdtcp-security.c,
3414 common-src/bsdudp-security.c, common-src/dgram.c,
3415 common-src/dgram.h, common-src/krb4-security.c,
3416 common-src/krb5-security.c, common-src/security-util.c,
3417 common-src/security-util.h, common-src/stream.c,
3418 common-src/util.c, common-src/util.h,
3419 restore-src/amidxtaped.c, server-src/amindexd.c: IPV6.
3421 2006-11-20 Jean-Louis Martineau <martineau@zmanda.com>
3422 * client-src/sendsize.c, oldrecover-src/display_commands.c,
3423 oldrecover-src/extract_list.c, recover-src/display_commands.c,
3424 recover-src/extract_list.c,
3425 server-src/driver.c: Fix compiler error.
3427 2006-11-20 Jean-Louis Martineau <martineau@zmanda.com>
3428 * client-src/sendsize.c: Open the amandates file after the
3429 <config>/amanda-client.conf file is loaded.
3431 2006-11-20 Jean-Louis Martineau <martineau@zmanda.com>
3432 * client-src/sendsize.c: Fix compiler error on boris.
3433 * server-src/driver.c: Fix compiler error on rocky.
3435 2006-11-20 Jean-Louis Martineau <martineau@zmanda.com>
3436 * common-src/security-util.c, server-src/amcheck.c,
3437 * server-src/driver.c, server-src/dumper.c,
3438 * server-src/planner.c, tape-src/output-file.c: Lint cleanup.
3440 2006-11-20 Ian Turner <ian@zmanda.com>
3441 * tape-src/output-file.c: Fix a compilation error related to
3442 improper type casts. Thanks to Satya Ganga for noticing this
3445 2006-11-20 Jean-Louis Martineau <martineau@zmanda.com>
3446 * server-src/driver.c: Use temporary variable to scanf an OFF_T_FMT.
3447 * server-src/planner.c: Use temporary variable to scanf an OFF_T_FMT.
3449 2006-11-13 Jean-Louis Martineau <martineau@zmanda.com>
3450 * client-src/selfcheck.c: Work for estimate calcsize and
3453 2006-11-13 Jean-Louis Martineau <martineau@zmanda.com>
3454 * server-src/amcheck.c: Don't ouput an warning if holdingdisk 'use'
3457 2006-11-09 Jean-Louis Martineau <martineau@zmanda.com>
3458 * man/xml-source/amgetconf.8.xml: Document --list.
3460 2006-11-09 Jean-Louis Martineau <martineau@zmanda.com>
3461 * changer-src/chg-scsi.c: Don't remove '_' from "generic_changer".
3463 2006-11-08 Jean-Louis Martineau <martineau@zmanda.com>
3464 * common-src/amanda.h, common-src/conffile.c,
3465 common-src/conffile.h, common-src/security-util.c,
3466 configure.in, oldrecover-src/amrecover.c,
3467 oldrecover-src/extract_list.c, recover-src/amrecover.c,
3468 recover-src/extract_list.c, restore-src/amrestore.c,
3469 server-src/dumper.c: Fix compiler error on Tru64.
3471 2006-11-08 Jean-Louis Martineau <martineau@zmanda.com>
3472 * common-src/conffile.c (getconf_byname):
3473 Parse "DEFINE:identifer:parameter" format.
3474 * common-src/conffile.c (getconf_list): New function to list a DEFINE.
3475 * common-src/conffile.c (lookup_holdingdisk): New function.
3476 * common-src/conffile.h (getconf_list,
3477 lookup_holdingdisk): New prototype.
3478 * server-src/getconf.c: accept --list argument and
3479 "DEFINE:identifer:parameter" format.
3480 * man/xml-source/amgetconf.8.xml: Document.
3482 2006-11-08 Jean-Louis Martineau <martineau@zmanda.com>
3483 * server-src/driver.c: set off_t variable to 0 before sscanf.
3484 * server-src/planner.c: set off_t variable to 0 before sscanf.
3486 2006-11-07 Jean-Louis Martineau <martineau@zmanda.com>
3487 * server-src/amstatus.pl.in: Improve error message.
3489 2006-11-07 Jean-Louis Martineau <martineau@zmanda.com>
3490 * common-src/security-util.c: Fix coverity bug 170.
3491 * server-src/diskfile.c: Fix coverity bug 147.
3493 2006-11-07 Jean-Louis Martineau <martineau@zmanda.com>
3494 * common-src/conffile.c (validate_chunksize): Check chunksize is >=
3497 2006-11-06 Jean-Louis Martineau <martineau@zmanda.com>
3498 * common-src/amanda.h: Define OFF_T_STRTOL.
3499 * configure.in: Check for strtol and strtoll.
3501 2006-11-02 Ian Turner <ian@zmanda.com>
3502 * common-src/amanda.h: Use atol if atoll is missing.
3504 2006-11-02 Jean-Louis Martineau <martineau@zmanda.com>
3505 * common-src/security-util.c: Better message on invalid size.
3507 2006-11-02 Jean-Louis Martineau <martineau@zmanda.com>
3508 * configure.in: List bsdudp as a udp transport.
3510 2006-11-01 Jean-Louis Martineau <martineau@zmanda.com>
3511 * server-src/diskfile.c: Don't use 0 for NULL.
3513 2006-11-01 Jean-Louis Martineau <martineau@zmanda.com>
3514 Revert Ian patch of 2006-10-29.
3515 * common-src/conffile.c: Defile AMANDATES_FILE
3516 * client-src/amandates.h: Don't define AMANDATES_FILE
3518 2006-11-01 Jean-Louis Martineau <martineau@zmanda.com>
3519 * common-src/conffile.c: Rename DUMPTYPE_START_T to DUMPTYPE_STARTTIME.
3520 * common-src/conffile.h: Rename DUMPTYPE_START_T to DUMPTYPE_STARTTIME.
3521 * server-src/amadmin.c (disklist_one): Print correct starttime.
3522 * server-src/diskfile.c: Set start_t to starttime.
3523 * server-src/diskfile.h (disk_t): Add starttime.
3525 2006-11-01 Jean-Louis Martineau <martineau@zmanda.com>
3526 * changer-src/scsi-changer-driver.c: Add Tandberg SLR100,
3528 * changer-src/sense.c: Add Tandberg SLR100 Tape Drive "SLR100".
3530 2006-11-01 Jean-Louis Martineau <martineau@zmanda.com>
3531 * common-src/amanda.h: Define dbrename if !DEBUG_CODE.
3532 * restore-src/amidxtaped.c: Declare i if !DEBUG_CODE.
3534 2006-10-30 Jean-Louis Martineau <martineau@zmanda.com>
3535 * server-src/amadmin.c (disklist_one): Print ignore field.
3536 * server-src/amoverview.pl.in: Ignore 'ignore yes' and 'strategy skip'.
3537 * server-src/diskfile.c: Correct hostname allocation.
3538 Keep 'ignore yes' and 'strategy skip' DLE in
3539 memory, set there todo to 0.
3540 * server-src/diskfile.h: (struct disk_s): New ignore field.
3542 2006-10-29 Ian Turner <ian@zmanda.com>
3543 This was reported as debian bug 394796. Thanks to Damyan Ivanov
3544 <dam@modsoftsys.com> for reporting and to Bdale Garbee
3545 <bdale@gag.com> for a preliminary patch.
3546 * common-src/conffile.c: Use AMANDATES_FILE as default for
3547 location of amandates.
3548 * common-src/amandates.h: Move from client-src/
3549 * client-src/amandates.h: Move to common-src/
3550 * common-src/Makefile.am: Update to reflect new location of
3552 * client-src/Makefile.am: ditto.
3554 2006-10-25 Jean-Louis Martineau <martineau@zmanda.com>
3555 Patch by Jay Fenlason
3556 * common-src/rsh-security.c: Fix.
3558 2006-10-24 Jean-Louis Martineau <martineau@zmanda.com>
3559 * common-src/conffile.c (get_config_options): Build and argv of the
3561 * common-src/conffile.h (get_config_options): Prototype.
3562 * server-src/driverio.c: exec dumper/chunker/driver with the argv from
3564 * server-src/amtape.c: Accept -o argument.
3565 * man/xml-source/amtape.8.xml: Document it.
3567 2006-10-24 Jean-Louis Martineau <martineau@zmanda.com>
3568 * server-src/taper.c: Fix allocation problem on tapedev.
3570 2006-10-20 Jean-Louis Martineau <martineau@zmanda.com>
3571 * common-src/conffile.c (conf_print): Add a parameter if we want
3572 CONFTYPE_STRING enclosed in ".
3573 * server-src/planner.c: Use getconf_int to get etimeout value.
3575 2006-10-20 Jean-Louis Martineau <martineau@zmanda.com>
3576 * server-src/taper.c (free_split_buffer): Correct free.
3578 2006-10-20 Jean-Louis Martineau <martineau@zmanda.com>
3579 * client-src/sendbackup.c: Parse quote amdevice.
3580 * server-src/amcheck.c: Send quoted amdevice.
3581 * server-src/planner.c: Send quoted amdevice.
3583 2006-10-20 Jean-Louis Martineau <martineau@zmanda.com>
3584 * common-src/conffile.c (CNF_CTIMEOUT, CNF_DTIMEOUT, CNF_ETIMEOUT):
3585 They are of type CONFTYPE_INT
3586 (CONFTYPE_TIME are for value parsed as "hhmm"")
3587 * common-src/conffile.c (getconf_byname): Use conf_print().
3588 * common-src/conffile.h: Add comment.
3589 * server-src/amcheck.c, server-src/dumper.c, server-src/planner.c:
3590 Use getconf_int to get timeout value.
3592 2006-10-19 Jean-Louis Martineau <martineau@zmanda.com>
3593 * man/xml-source/amanda.conf.5.xml: Fix formating.
3595 2006-10-19 Jean-Louis Martineau <martineau@zmanda.com>
3596 * client-src/calcsize.c, client-src/sendsize.c: Remove bogus fseek.
3598 2006-10-19 Jean-Louis Martineau <martineau@zmanda.com>
3599 * client-src/calcsize.c: Quote amname.
3601 2006-10-19 Jean-Louis Martineau <martineau@zmanda.com>
3602 * server-src/driver.c: Print an L_STATS with the hostname
3603 * server-src/reporter.c: Print hostname, org, config and date at the
3604 beginning of the report
3606 2006-10-16 Jean-Louis Martineau <martineau@zmanda.com>
3607 * common-src/dgram.c (dgram_cat),
3608 common-src/packet.c (pkt_init, pkt_cat): Works correctly with
3609 vsnprintf returning -1.
3611 2006-10-11 Jean-Louis Martineau <martineau@zmanda.com>
3612 * common-src/Makefile.am (libamanda_la_LIBADD) Remove @LTLIBOBJS@.
3614 2006-10-11 Jean-Louis Martineau <martineau@zmanda.com>
3615 * server-src/taper.c: stralloc(tapedev).
3616 * configure.in (EXAMPLE_TAPEDEV): Set to /dev/null if no tape-device.
3617 * example/amanda-client.conf.in, example/amanda.conf.in
3618 example/chg-mcutil.conf.in: Use EXAMPLE_TAPEDEV.
3620 2006-10-11 Jean-Louis Martineau <martineau@zmanda.com>
3621 * common-src/alloca.c, common-src/getcwd.c, common-src/mktime.c,
3622 common-src/memmove.c, common-src/snprintf.c,
3623 common-src/strcasecmp.c, common-src/strerror.c,
3624 common-src/strftime.c, common-src/strncasecmp.c,
3625 common-src/strstr.c, common-src/waitpid.c,
3626 COPYRIGHT-APACHE: Removed files.
3627 * configure.in: Remove many AC_REPLACE_FUNCS.
3628 * Makefile.am (pkgdata_DATA): Remove COPYRIGHT-APACHE.
3630 2006-10-11 Jean-Louis Martineau <martineau@zmanda.com>
3631 * common-src/Makefile.am: Remove all reference to our regex
3632 * common-src/match.c: #include <regex.h>, the system regex
3633 * common-src/memmove.c: No more memmove in regex-src
3634 * Makefile.am (pkgdata_DATA): Remove COPYRIGHT-REGEX
3635 * Makefile.am (EXTRA_DIST): Remove regex-src/*
3636 * regex-src: Remove directory.
3637 * common-src/regcomp.c, common-src/regerror.c,
3638 common-src/regexec.c, common-src/regfree.c,
3639 common-src/amregex.h: Remove files.
3641 2006-10-11 Jean-Louis Martineau <martineau@zmanda.com>
3642 * server-src/planner.c: Improve message for dump larger than available
3643 tape space if runtapes > 1 and splitsize == 0.
3645 2006-10-10 Jean-Louis Martineau <martineau@zmanda.com>
3646 * server-src/driver.c (wait_children): Don't crash if dumper->chunker
3649 2006-10-04 Jean-Louis Martineau <martineau@zmanda.com>
3650 * amandad-src/amandad.c: Call security_recvpkt() on A_SENDNACK
3652 * common-src/security-util.c: Improve message.
3654 2006-10-03 Jean-Louis Martineau <martineau@zmanda.com>
3655 * server-src/amcleanupdisk.c: Accept -o arguments.
3656 * server-src/amcleanup.sh.in: Add missing 'shift' for non-linux system.
3657 Accept -o arguments.
3659 2006-10-03 Jean-Louis Martineau <martineau@zmanda.com>
3660 * server-src/amoverview.pl.in: Fix parsing of time field from amadmin.
3662 2006-10-03 Jean-Louis Martineau <martineau@zmanda.com>
3663 * restore-src/amidxtaped.c, restore-src/restore.c,
3664 server-src/amcheck.c, server-src/amflush.c,
3665 server-src/amlabel.c, server-src/taper.c,
3666 server-src/taperscan.c: Check for CNF_TAPEDEV == NULL.
3668 2006-10-03 Jean-Louis Martineau <martineau@zmanda.com>
3669 * common-src/conffile.c: Don't set CNF_TAPEDEV to DEFAULT_TAPE_DEVICE.
3670 * configure.in: Don't set DEFAULT_TAPE_DEVICE.
3672 2006-09-29 Jean-Louis Martineau <martineau@zmanda.com>
3673 * common-src/bsdtcp-security.c: Add logging on error.
3675 2006-09-29 Jean-Louis Martineau <martineau@zmanda.com>
3676 * server-src/amoverview.pl.in: Use shellwords instead of quotewords,
3677 don't add date for disk not in the disklist.
3679 2006-09-28 Jean-Louis Martineau <martineau@zmanda.com>
3680 * common-src/bsd-security.c: Fix %hd printf argument format.
3681 * common-src/security-util.c: Fix %hd printf argument format.
3683 2006-09-28 Jean-Louis Martineau <martineau@zmanda.com>
3684 * common-src/conffile.c (client_keytab): Add DEBUG_*.
3685 * oldrecover-src/amrecover.c: Call read_clientconf.
3687 2006-09-27 Jean-Louis Martineau <martineau@zmanda.com>
3688 * restore-src/restore.c: Improve debugging.
3689 * server-src/changer.c: Make sure to dup the fd out of the 0..2 range.
3691 2006-09-27 Jean-Louis Martineau <martineau@zmanda.com>
3692 * restore-src/amfetchdump.c: Pass new prompt_in parameter to
3694 * restore-src/restore.c (search_tapes, load_manual_tape): New prompt_in
3696 * restore-src/restore.h (search_tapes): New prompt_in parameter.
3697 * restore-src/amidxtaped.c: Set new 'FILE *' instead of reusing stdin
3699 * server-src/amindexd.c: Set new 'FILE *' instead of reusing stdin
3702 2006-09-27 Jean-Louis Martineau <martineau@zmanda.com>
3703 Patch by Orion Poplawski <orion@cora.nwra.com>
3704 * server-src/planner.c: Add a skip_quoted_line() on error.
3706 2006-09-23 Jean-Louis Martineau <martineau@zmanda.com>
3707 * server-src/amstatus.pl.in: Fix parsing of 'taper: wrote label' line.
3708 * server-src/amtoc.pl.in: Fix parsing of 'START taper' line.
3710 2006-09-22 Jean-Louis Martineau <martineau@zmanda.com>
3711 * common-src/conffile.h: New CONFTYPE_INTRANGE conftype_t.
3712 * common-src/conffile.c: New CNF_RESERVED_UDP_PORT,
3713 CNF_RESERVED_TCP_PORT,
3714 CNF_UNRESERVED_TCP_PORT config options.
3715 * common-src/dgram.c: Use the new CNF_RESERVED_UDP_PORT option.
3716 * common-src/stream.c: Use the new CNF_*RESERVED_PORT options.
3717 * man/xml-source/amanda-client.conf.5.xml: Document it.
3718 * man/xml-source/amanda.conf.5.xml: Document it.
3720 2006-09-22 Jean-Louis Martineau <martineau@zmanda.com>
3721 Patch by William Jojo
3722 * client-src/sendsize.c: Fix #endif for AIX.
3724 2006-09-22 Jean-Louis Martineau <martineau@zmanda.com>
3725 * common-src/packet.c: Fix use of arglist_start/arglist_end.
3726 * server-src/amindexd.c: Fix use of vsnprintf (for IRIX).
3727 * server-src/logfile.c: Fix use of arglist_start/arglist_end.
3729 2006-09-21 Jean-Louis Martineau <martineau@zmanda.com>
3730 * server-src/amcheck.c: Don't assert if holding use is set to 0.
3732 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
3733 * server-src/find.c (search_logfile): Count 'PARTIAL taper line'.
3735 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
3736 Patch by Paul Bijens
3737 * server-src/amcheck.c: Print "tapelist" instead of "tapefile".
3739 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
3740 * common-src/dgram.c (dgram_bind): Remove unused variables.
3742 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
3743 * common-src/conffile.c, common-src/conffile.h: Add debug_amandad,
3744 debug_amidxtaped, debug_amindexd, debug_amrecover, debug_auth,
3745 debug_event, debug_holding, debug_protocol, debug_planner,
3746 debug_driver, debug_dumper, debug_chunker, debug_taper,
3747 debug_selfcheck, debug_sendsize, debug_sendbackup
3748 configurations options.
3749 * common-sc/debug.c: Use it's own clock function.
3750 * amandad-src/amandad.c, amandad-src/amandad_util.c,
3751 client-src/calcsize.c, client-src/client_util.c,
3752 client-src/killpgrp.c, client-src/rundump.c,
3753 client-src/runtar.c, client-src/selfcheck.c,
3754 client-src/sendbackup.c, client-src/sendsize.c,
3755 common-src/bsd-security.c, common-src/bsdtcp-security.c,
3756 common-src/bsdudp-security.c, common-src/debug.c,
3757 common-src/dgram.c, common-src/event.c,
3758 common-src/krb5-security.c, common-src/pipespawn.c,
3759 common-src/protocol.c, common-src/rsh-security.c,
3760 common-src/security.c, common-src/security-util.c,
3761 common-src/security-util.h, common-src/ssh-security.c,
3762 common-src/stream.c, common-src/util.c,
3763 recover-src/amrecover.c, restore-src/amidxtaped.c,
3764 server-src/amindexd.c, server-src/chunker.c,
3765 server-src/driver.c, server-src/dumper.c,
3766 server-src/planner.c,
3767 server-src/taper.c: Use the debug_* configuration options.
3768 Use debug_prefix_time to print the time on
3769 all debugging message.
3771 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
3772 * amandad-src/amandad.c: Use CNF_REP_TRIES.
3773 * common-src/conffile.c: New CONNECT_TRIES, REQ_TRIES, REP_TRIES
3774 configuration options.
3775 * common-src/conffile.h: New CONNECT_TRIES, REQ_TRIES, REP_TRIES
3776 configuration options.
3777 * common-src/protocol.c: Use CNF_CONNECT_TRIES and CNF_REQ_TRIES.
3778 * common-src/protocol.c: Rename reqtries to resettries.
3779 Rename acktries to reqtries.
3780 * man/xml-source/amanda-client.conf.5.xml: Document new options.
3781 * man/xml-source/amanda.conf.5.xml: Document new options.
3783 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
3784 * amandad-src/amandad.c: Read client configuratrion file.
3785 * client-src/client_util.c, client-src/selfcheck.c,
3786 client-src/sendbackup.c, client-src/sendbackup-dump.c,
3787 client-src/sendbackup-gnutar.c, client-src/sendsize.c,
3788 recover-src/amrecover.c, recover-src/extract_list.c,
3789 restore-src/amfetchdump.c, server-src/amadmin.c,
3790 server-src/amcheck.c, server-src/amflush.c,
3791 server-src/amflush.c, server-src/amlabel.c,
3792 server-src/amlogroll.c, server-src/amtrmidx.c,
3793 server-src/amtrmlog.c, server-src/chunker.c,
3794 server-src/diskfile.c, server-src/driver.c,
3795 server-src/dumper.c, server-src/getconf.c,
3796 server-src/planner.c, server-src/reporter.c,
3797 server-src/taper.c: Use generic macro/functions instead of
3798 client/server functions.
3799 * client-src/client_util.h: Remove unuse macro.
3800 * client-src/Makefile.am: Remove clientconf.? files.
3801 * common-src/amanda.h: Define MAX_DUMPERS.
3802 * common-src/conffile.c: New file, merge of client-src/clientconf.c
3803 and server-src/conffile.c
3804 * common-src/conffile.h: New file, merge of client-src/clientconf.c
3805 and server-src/conffile.c
3806 * common-src/Makefile.am (libamanda_la_SOURCES): Add conffile.c
3807 * common-src/Makefile.am (noinst_HEADERS): Add conffile.h
3808 * common-src/util.c: Move many thing to common-src/conffile.c.
3809 * common-src/util.h: Move many thing to common-src/conffile.h.
3810 * server-src/driverio.h: Remove MAX_DUMPERS define.
3811 * server-src/Makefile.am: Remove conffile.[hc].
3813 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
3814 * common-src/dgram.c (dgram_bind): Don't set SO_REUSEADDR on socket.
3816 2006-09-19 Jean-Louis Martineau <martineau@zmanda.com>
3817 * common-src/util.c (connect_port): Make EHOSTUNREACH and ENETUNREACH
3820 2006-09-18 Jean-Louis Martineau <martineau@zmanda.com>
3821 * common-src/util.c(dump_sockaddr): Convert from network to machine
3822 bytes order before printing.
3823 * common-src/dgram.c (dgram_recv): Print the fromaddr.
3825 2006-09-15 Jean-Louis Martineau <martineau@zmanda.com>
3826 * amandad-src/amandad.c: Correct order of close/dup.
3828 2006-09-12 Jean-Louis Martineau <martineau@zmanda.com>
3829 * common-src/bsdtcp-security.c: Use AMANDA_SERVICE_NAME.
3831 2006-09-12 Jean-Louis Martineau <martineau@zmanda.com>
3832 * server-src/amstatus.pl.in: Check that $dumpers_active is defined.
3834 2006-09-12 Jean-Louis Martineau <martineau@zmanda.com>
3835 * common-src/util.c (conftoken_getc): Return an int.
3837 2006-09-11 Jean-Louis Martineau <martineau@zmanda.com>
3838 * client-src/sendbackup-dump.c: Works if rundump is not used.
3840 2006-09-05 Jean-Louis Martineau <martineau@zmanda.com>
3841 * Amanda 2.5.1 released.
3842 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1).
3843 * NEWS: Change in amanda-2.5.1
3845 2006-08-30 Jean-Louis Martineau <martineau@zmanda.com>
3846 * server-src/dumper.c: Typo in error message.
3848 2006-08-29 Jean-Louis Martineau <martineau@zmanda.com>
3849 * client-src/selfcheck.c: Print error message to stdout before
3852 2006-08-28 Jean-Louis Martineau <martineau@zmanda.com>
3853 * server-src/dumper.c (log_msgout): Seek to begining of file.
3855 2006-08-28 Jean-Louis Martineau <martineau@zmanda.com>
3856 * server-src/reporter.c: Report if a dump was successfully retried.
3858 2006-08-28 Jean-Louis Martineau <martineau@zmanda.com>
3859 * server-src/amstatus.pl.in: Correct size for retried dump.
3861 2006-08-25 Jean-Louis Martineau <martineau@zmanda.com>
3862 * client-src/runtar.c: Check that strcmp(argv[3], "--create") == 0.
3864 2006-08-24 Jean-Louis Martineau <martineau@zmanda.com>
3865 * common-src/statfs.c (scale): Macro replaced by a function.
3867 2006-08-24 Jean-Louis Martineau <martineau@zmanda.com>
3868 * server-src/chunker.c: Use STREAM_BUFSIZE for stream_accept.
3869 * server-src/taper.c: Use STREAM_BUFSIZE for stream_accept.
3871 2006-08-24 Maitreyee Karmarkar <maitreyee.zmanda.com>
3872 * man/xml-source/amcheck.8.xml: amcheck xml man page change
3874 2006-08-23 Kevin Till <ktill@zmanda.com>
3875 * server-src/driver.c: fix typo
3877 2006-08-23 Jean-Louis Martineau <martineau@zmanda.com>
3878 * server-src/driver.c (dumper_result): Decrement pendings_aborts.
3879 * server-src/driver.c (handle_dumper_result): Don't send duper result
3880 to chunker if we aborted it.
3881 * server-src/driverio.c (dumper_cmd, chunker_cmd): Don't close the fd
3883 * server-src/dumper.c: Accept ABORT command.
3885 2006-08-23 Jean-Louis Martineau <martineau@zmanda.com>
3886 * restore-src/restore.c (restore): Set bytes_read to the return value
3887 of read_file_header.
3889 2006-08-22 Jean-Louis Martineau <martineau@zmanda.com>
3890 * tape-src/output-tape.c: Works if EOVERFLOW is not defined.
3892 2006-08-21 Jean-Louis Martineau <martineau@zmanda.com>
3893 * amandad-src/amandad.c, common-src/rsh-security.c,
3894 common-src/ssh-security.c, restore-src/restore.c,
3895 server-src/changer.c, server-src/dumper.c: Fix sentinel warning.
3897 2006-08-21 Jean-Louis Martineau <martineau@zmanda.com>
3898 * example/amanda.conf.in: Typo.
3900 2006-08-21 Jean-Louis Martineau <martineau@zmanda.com>
3901 * server-src/driverio.c: Fix bogus "(unsigned long)-1".
3903 2006-08-21 Jean-Louis Martineau <martineau@zmanda.com>
3904 * server-src/driver.c (start_some_dumps): Remove bogus free_assignedhd.
3906 2006-08-21 Maitreyee Karmarkar <maitreyee.zmanda.com>
3907 * server-src/amcheck.c: Check specific clients
3908 * man/amcheck.8: add the multiple client check format
3910 2006-08-18 Ian Turner <ian@zmanda.com>
3911 * tape-src/amtapetype.c: Don't crash on exit
3913 2006-08-17 Paddy Sreenivasan <paddy@zmanda.com>
3914 * server-src/driverio.c:
3915 * server-src/changer.c:
3916 * restore-src/amfetchdump.c:
3917 * recover-src/extract_list.c:
3918 * oldrecover-src/extract_list.c:
3919 * common-src/util.c:
3920 * common-src/stream.c:
3921 * common-src/file.c:
3922 * common-src/dgram.c: Fix warnings
3924 2006-08-17 Kevin Till <ktill@zmanda.com>
3925 * common-src/stream.c: Loop 5 times (ntries > 5) on select error
3927 2006-08-14 Paddy Sreenivasan <paddy@zmanda.com>
3928 * client-src/sendsize.c: Fix warning
3929 * server-src/reporter.c: Fix warnings
3931 2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
3932 * Amanda 2.5.1b2 released.
3933 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1b2).
3935 2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
3936 * server-src/driver.c (find_diskspace): Make sure size > 0.
3938 2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
3939 * server-src/planner.c: Don't check new disk.
3941 2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
3942 * server-src/planner.c: Always log if full size estimate is larger
3943 than the available tape space.
3945 2006-07-28 Jean-Louis Martineau <martineau@zmanda.com>
3946 * server-src/planner.c: Always log if the latest full dump will be
3949 2006-07-27 Jean-Louis Martineau <martineau@zmanda.com>
3950 * common-src/clock.c (timesub): Don't make a negative time.
3952 2006-07-27 Jean-Louis Martineau <martineau@zmanda.com>
3953 * man/xml-source/amanda.conf.5.xml: Tell which file are loaded.
3954 * man/xml-source/amanda-client.conf.5.xml: Ditto.
3956 2006-07-26 Jean-Louis Martineau <martineau@zmanda.com>
3957 * NEWS: for 2.5.1b2.
3959 2006-07-26 Jean-Louis Martineau <martineau@zmanda.com>
3960 * common-src/util.h (CONFTYPE_HOLDING): New conftype.
3961 * common-src/util.c (conf_init_holding, conf_set_holding,
3962 get_conftype_hold): New fonction.
3963 * example/amanda.conf.in: Example of new holdingdisk value.
3964 * man/xml-source/amanda.8.xml: Example.
3965 * man/xml-source/amanda.conf.5.xml: Document it.
3966 * server-src/amadmin.c (disklist_one): Print holdingdisk value.
3967 * server-src/conffile.c: Parse new CONF_HOLDING type.
3968 * server-src/conffile.h (dumptype_get_to_holdingdisk): Change macro.
3969 * server-src/diskfile.c (parse_diskline): dumptype_get_to_holdingdisk.
3970 * server-src/driver.c: Use new CONFTYPE_HOLDING value.
3972 2006-07-26 Jean-Louis Martineau <martineau@zmanda.com>
3973 * client-src/selfcheck.c: Fix bug found by coverity.
3974 * common-src/debug.c: Fix bug found by coverity.
3976 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
3977 * server-src/amflush.c: Typo.
3979 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
3980 * server-src/amflush.c: Correct test for driver_stream.
3982 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
3983 * client-src/clientconf.c: Default CLN_AMANDATES to /etc/amandates.
3984 * common-src/util.c (conf_init_size): Type is CONFTYPE_SIZE.
3985 * server-src/conffile.c (getconf_taperalgo): New function.
3986 * server-src/conffile.h (getconf_taperalgo): Prototype.
3987 * server-src/driver.c: Use getconf_taperalgo.
3989 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
3990 * client-src/clientconf.c (client_getconf_boolean): New function.
3991 * client-src/clientconf.h (client_getconf_boolean): Prototype.
3992 * server-src/conffile.c (getconf_boolean): New function.
3993 * server-src/conffile.h (getconf_boolean): Prototype.
3994 * restore-src/amidxtaped.c: Use getconf_boolean.
3995 * server-src/amflush.c: Use getconf_boolean.
3996 * server-src/planner.c: Use getconf_boolean.
3998 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
3999 * server-src/getconf.c: Don't print BUGGY.
4000 * changer-src/chg-chio.pl.in: Don't parse BUGGY.
4001 * changer-src/chg-iomega.pl.in: Don't parse BUGGY.
4002 * changer-src/chg-zd-mtx.sh.in: Don't parse BUGGY.
4003 * man/xml-source/amgetconf.8.xml: Don't parse BUGGY.
4004 * server-src/amverifyrun.sh.in: Don't parse BUGGY.
4005 * server-src/amverify.sh.in: Don't parse BUGGY.
4007 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
4008 * restore-src/restore.c: Cleanup.
4009 * restore-src/amrestore.c: Don't fsf if the last read return 0.
4011 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
4012 * client-src/selfcheck.c: Fix bug found by klocwork.
4013 * common-src/rsh-security.c: Fix bug found by klocwork.
4014 * common-src/ssh-security.c: Fix bug found by klocwork.
4015 * server-src/planner.c: Fix bug found by klocwork.
4017 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
4018 * tape-src/output-tape.c (tape_tape_open): mt is declared inside #ifdef.
4020 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
4021 * server-src/amcheck.c: Fix quoting.
4023 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
4024 * client-src/clientconf.c: client_getconf* validate the type.
4025 * common-src/util.c (get_conftype_*): New function.
4026 * common-src/util.h (get_conftype_*): Prototype.
4027 * server-src/conffile.c: getconf* validate the type.
4028 * server-src/conffile.h: Use get_conftype_* function.
4030 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
4031 * client-src/clientconf.c: New AMANDATES client config option.
4032 * client-src/clientconf.h: New AMANDATES client config option.
4033 * client-src/amandates.c: Use AMANDATES.
4034 * client-src/amandates.h: Use AMANDATES.
4035 * client-src/selfcheck.c: Use AMANDATES.
4036 * client-src/sendbackup-gnutar.c: Use AMANDATES.
4037 * client-src/sendsize.c:: Use AMANDATES.
4038 * common-src/util.h : New CONF_AMANDATES.
4039 * man/xml-source/amanda-client.conf.5.xml: Document it.
4041 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
4042 * client-src/clientconf.c: New GNUTAR_LIST_DIR client config option.
4043 * client-src/clientconf.h: New GNUTAR_LIST_DIR client config option.
4044 * client-src/selfcheck.c: Use GNUTAR_LIST_DIR.
4045 * client-src/sendbackup-gnutar.c: Use GNUTAR_LIST_DIR.
4046 * client-src/sendsize.c: Use GNUTAR_LIST_DIR.
4047 * common-src/util.h: New CONF_GNUTAR_LIST_DIR.
4048 * man/xml-source/amanda-client.conf.5.xml: Document it.
4050 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
4051 * client-src/calcsize.c, client-src/killpgrp.c,
4052 client-src/rundump.c, client-src/runtar.c,
4053 client-src/selfcheck.c, client-src/sendbackup.c,
4054 client-src/sendsize.c, common-src/amanda.h,
4055 common-src/debug.c, oldrecover-src/amrecover.c,
4056 recover-src/amrecover.c, restore-src/amfetchdump.c,
4057 restore-src/amidxtaped.c, server-src/amadmin.c,
4058 server-src/amcheck.c, server-src/amcleanupdisk.c,
4059 server-src/amflush.c, server-src/amindexd.c,
4060 server-src/amlabel.c, server-src/amlogroll.c,
4061 server-src/amtape.c, server-src/amtrmidx.c,
4062 server-src/amtrmlog.c, server-src/chunker.c,
4063 server-src/driver.c, server-src/dumper.c,
4064 server-src/getconf.c, server-src/planner.c,
4065 server-src/reporter.c, server-src/taper.c: dbrename ot the config dir.
4067 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
4068 * common-src/amanda.h: Define DBG_SUBDIR_SERVER, DBG_SUBDIR_CLIENT
4069 and DBG_SUBDIR_CLIENT.
4070 * amandad-src/amandad.c, changer-src/chg-scsi.c,
4071 changer-src/chg-scsi-chio.c, client-src/calcsize.c,
4072 client-src/killpgrp.c, client-src/rundump.c, client-src/runtar.c,
4073 client-src/selfcheck.c, client-src/sendbackup.c,
4074 client-src/sendsize.c,
4075 oldrecover-src/amrecover.c, recover-src/amrecover.c,
4076 restore-src/amfetchdump.c, restore-src/amidxtaped.c,
4077 restore-src/amrestore.c, server-src/amadmin.c,
4078 server-src/amcheck.c, server-src/amcleanupdisk.c,
4079 server-src/amflush.c, server-src/amindexd.c,
4080 server-src/amlabel.c, server-src/amlogroll.c,
4081 server-src/amtape.c, server-src/amtrmidx.c,
4082 server-src/amtrmlog.c, server-src/chunker.c,
4083 server-src/diskfile.c, server-src/driver.c,
4084 server-src/dumper.c, server-src/getconf.c,
4085 server-src/infofile.c, server-src/planner.c,
4086 server-src/reporter.c (dbopen): Use DBG_SUBDIR_SERVER,
4087 DBG_SUBDIR_CLIENT or DBG_SUBDIR_CLIENT.
4089 2006-07-25 Jean-Louis Martineau <martineau@zmanda.com>
4090 * client-src/calcsize.c: Get config on argument.
4091 * client-src/killpgrp.c: Get config on argument.
4092 * client-src/rundump.c: Get config on argument.
4093 * client-src/runtar.c: Get config on argument.
4094 * client-src/sendbackup.c: Call program with config as argument.
4095 * client-src/sendbackup-dump.c: Call program with config as argument.
4096 * client-src/sendbackup-gnutar.c: Call program with config as argument.
4097 * client-src/sendbackup.h: Add global g_options.
4098 * client-src/sendsize.c: Call program with config as argument.
4100 2006-07-23 Jean-Louis Martineau <martineau@zmanda.com>
4101 * client-src/sendbackup-gnutar.c: Fix bug found by splint.
4102 * client-src/sendsize.c: Fix bug found by splint.
4104 2006-07-22 Jean-Louis Martineau <martineau@zmanda.com>
4105 * server-src/taper.c: Fix amfree(mem_splitbuf).
4107 2006-07-22 Jean-Louis Martineau <martineau@zmanda.com>
4108 * server-src/diskfile.c, server-src/taper.c: Fix memory leak found
4111 2006-07-22 Jean-Louis Martineau <martineau@zmanda.com>
4112 * server-src/taper.c: Fix split_buffer allocation problem.
4114 2006-07-22 Jean-Louis Martineau <martineau@zmanda.com>
4115 * client-src/selfcheck.c, common-src/security-util.c,
4116 restore-src/restore.c, server-src/diskfile.c: Fix memory leak found
4119 2006-07-20 Jean-Louis Martineau <martineau@zmanda.com>
4120 * changer-src/chg-scsi.c, changer-src/scsi-changer-driver.c,
4121 client-src/amandates.c, client-src/calcsize.c,
4122 client-src/selfcheck.c, client-src/sendbackup.c,
4123 client-src/sendsize.c, common-src/security-util.c,
4124 recover-src/extract_list.c, restore-src/restore.c,
4125 server-src/amindexd.c, server-src/diskfile.c,
4126 server-src/driver.c, server-src/reporter.c,
4127 server-src/tapefile.c, server-src/taper.c: Fix memory leak found
4130 2006-07-19 Jean-Louis Martineau <martineau@zmanda.com>
4131 * client-src/selfcheck.c : Read client config file.
4132 * client-src/sendbackup.c: Read client config file.
4133 * client-src/sendsize.c : Read client config file.
4135 2006-07-19 Jean-Louis Martineau <martineau@zmanda.com>
4136 * amandad-src/amandad.h (g_option_t): Add 'char *config';
4137 * amandad-src/amandad_util.c (parse_g_options): Parse 'config='.
4138 * common-src/amfeatures.h (fe_req_options_config): New amfeature.
4139 * common-src/amfeatures.c (am_init_feature_set):
4140 set fe_req_options_config.
4141 * server-src/amcheck.c: Send 'config=' in global options.
4142 * server-src/dumper.c: Send 'config=' in global options.
4143 * server-src/planner.c: Send 'config=' in global options.
4145 2006-07-19 Jean-Louis Martineau <martineau@zmanda.com>
4146 * amandad-src/amandad.c: Call dbopen("amandad").
4147 * changer-src/chg-scsi.c: Call dbopen("server").
4148 * changer-src/chg-scsi-chio.c: Call dbopen("server").
4149 * client-src/calcsize.c: Call dbopen("client").
4150 * client-src/getfsent.c: Call dbopen(NULL).
4151 * client-src/killpgrp.c: Call dbopen("client").
4152 * client-src/rundump.c: Call dbopen("client").
4153 * client-src/runstar.c: Call dbopen("client").
4154 * client-src/runtar.c: Call dbopen("client").
4155 * client-src/selfcheck.c: Call dbopen("client").
4156 * client-src/sendbackup.c: Call dbopen("client").
4157 * client-src/sendsize.c: Call dbopen("client").
4158 * common-src/amanda.h (dbopen, debug_open): Take a 'char * subdir'
4160 * common-src/bsd-security.c: Call dbopen(NULL).
4161 * common-src/debug.c (debug_open): Call debug_setup_1(subdir)
4162 * common-src/debug.c (debug_setup_1): Take a subdir argument,
4164 * common-src/file.c: Call dbopen(NULL).
4165 * common-src/statfs.c: Call dbopen(NULL).
4166 * common-src/token.c: Call dbopen(NULL).
4167 * oldrecover-src/amrecover.c: Call dbopen("client").
4168 * recover-src/amrecover.c: Call dbopen("client").
4169 * restore-src/amfetchdump.c: Call dbopen("server").
4170 * restore-src/amidxtaped.c: Call dbopen("server").
4171 * restore-src/amrestore.c: Call dbopen("server").
4172 * server-src/amadmin.c: Call dbopen("server").
4173 * server-src/amcheck.c: Call dbopen("server").
4174 * server-src/amcleanupdisk.c: Call dbopen("server").
4175 * server-src/amflush.c: Call dbopen("server").
4176 * server-src/amindexd.c: Call dbopen("server").
4177 * server-src/amlabel.c: Call dbopen("server").
4178 * server-src/amlogroll.c: Call dbopen("server").
4179 * server-src/amtape.c: Call dbopen("server").
4180 * server-src/amtrmidx.c: Call dbopen("server").
4181 * server-src/amtrmlog.c: Call dbopen("server").
4182 * server-src/chunker.c: Call dbopen("server").
4183 * server-src/diskfile.c: Call dbopen("server").
4184 * server-src/driver.c: Call dbopen("server").
4185 * server-src/dumper.c: Call dbopen("server").
4186 * server-src/getconf.c: Call dbopen("server").
4187 * server-src/infofile.c: Call dbopen("server").
4188 * server-src/planner.c: Call dbopen("server").
4189 * server-src/reporter.c: Call dbopen("server").
4190 * server-src/taper.c: Call dbopen("server").
4192 2006-07-17 Jean-Louis Martineau <martineau@zmanda.com>
4193 * server-src/chunker.c: Fix rt computation.
4194 * server-src/dumper.c: Fix dumptime computation.
4195 * server-src/taper.c: Fix rt computation.
4197 2006-07-17 Jean-Louis Martineau <martineau@zmanda.com>
4198 * NEWS: Klocwork defects fixed.
4199 * NEWS: Coverity defect fixed.
4201 2006-07-14 Jean-Louis Martineau <martineau@zmanda.com>
4202 * Makefile.am (pkgdata_DATA): add ReleaseNotes.
4204 2006-07-14 Jean-Louis Martineau <martineau@zmanda.com>
4205 * Amanda 2.5.1b1 released.
4206 * configure.in: Remove -Werror.
4208 2006-07-14 Jean-Louis Martineau <martineau@zmanda.com>
4209 * client-src/sendsize.c: Use read/write to copy tar snapshot file.
4210 * client-src/sendbackup-gnutar.c: Ditto.
4212 2006-07-13 Jean-Louis Martineau <martineau@zmanda.com>
4213 * common-src/stream.c (stream_accept): Loop 5 times on select error.
4215 2006-07-13 Jean-Louis Martineau <martineau@zmanda.com>
4216 * server-src/dumper.c: The datafd is not scheduled at start,
4218 * common-src/stream.c (tcpm_recv_token): Set error_msg.
4220 2006-07-12 Jean-Louis Martineau <martineau@zmanda.com>
4221 * common-src/util.c (free_new_argv): Move out of
4222 #ifndef HAVE_LIBREADLINE.
4224 2006-07-12 Jean-Louis Martineau <martineau@zmanda.com>
4225 * server-src/amadmin.c (tape): Report the number of new tapes instead
4226 of "a new tape" for each tapes.
4227 * server-src/reporter.c (output_tapeinfo): Ditto.
4229 2006-07-12 Jean-Louis Martineau <martineau@zmanda.com>
4230 * server-src/taperscan.c (changer_taper_scan): Report error from
4233 2006-07-11 John Franks jrfranks@zmanda.com
4234 * configure.in: Fix multiple definition of readline during cygwin
4237 2006-07-11 Paddy Sreenivasan <paddy@zmanda.com>
4238 * common-src/pipespawn.c : Fixed compiler warning
4240 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
4241 * man/xml-source/amtapetype.8.xml: No default value for -e.
4243 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
4244 * common-src/util.c: Don't conftoken_ungetc(ch) if ch == EOF.
4245 * server-src/reporter.c: Check tp == NULL.
4247 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
4248 * tape-src/tapetype.c: Make -e an needed argument.
4249 * man/xml-source/amtapetype.8.xml: Update man page.
4251 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
4252 * changer-src/chg-zd-mtx.sh.in: Remove .conf from changerfile.
4254 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
4255 * recover-src/extract_list.c (check_file_overwrite): Renamed from
4256 check_file_overwite.
4257 * recover-src/extract_list.c (check_file_overwrite): Do the path check
4258 in the correct order (from left ro right).
4260 2006-07-11 Jean-Louis Martineau <martineau@zmanda.com>
4261 * common-src/file.c (debug_agets): Remove call to dbprintf.
4263 2006-07-10 Jean-Louis Martineau <martineau@zmanda.com>
4264 * recover-src/extract_list.c (add_to_unlink_list, do_unlink_list,
4265 free_unlink_list): New function to manage unlink_list.
4266 * recover-src/extract_list.c (check_file_overwite): Check all
4267 component of an EXTRACT_LIST_ITEM, if a component is not a
4268 directory, add it to the unlink_list.
4269 * recover-src/extract_list.c (extract_files): Call do_unlink_list and
4270 free_unlink_list, rename buf to cwd.
4272 2006-07-10 Jean-Louis Martineau <martineau@zmanda.com>
4273 * common-src/pipespawn.c (pipespawnv_passwd): Add prototype.
4274 * common-src/pipespawn.c (pipespawn, pipespawn): Remove 2 NULL
4275 parameters to the pipespawnv_passwd call.
4276 * common-src/pipespawn.c (pipespawnv_passwd): Remove passwdvar and
4277 passwdfd parameters, add passwdvar and local variable.
4278 Don't use memcpy to set passwdfd.
4279 * common-src/pipespawn.h (pipespawnv_passwd): Remove prototype.
4281 2006-07-07 Jean-Louis Martineau <martineau@zmanda.com>
4282 * common-src/security-util.c (stream_read_sync_callback): Remove bogus
4285 2006-07-07 Kevin Till <ktill@zmanda.com>
4286 * common-src/bsd-security.c: use STREAM_BUFSIZE instead of -1
4287 * common-src/bsdtcp-security.c: ditto
4288 * common-src/krb4-security.c: ditto
4289 * common-src/security-util.c: ditto
4290 * restore-src/amidxtaped.c: ditto
4292 2006-07-07 Jean-Louis Martineau <martineau@zmanda.com>
4293 * common-src/util.c (get_conftoken): Remove duplicate conftoken_ungetc.
4295 2006-07-07 Jean-Louis Martineau <martineau@zmanda.com>
4296 * common-src/security-util.c: Validate and report big packet size.
4298 2006-07-07 Jean-Louis Martineau <martineau@zmanda.com>
4299 * oldrecover-src/Makefile.am: Typo.
4301 2006-07-07 Jean-Louis Martineau <martineau@zmanda.com>
4302 * client-src/sendsize.c: Typo.
4304 2006-07-06 John Franks <jrfranks@zmanda.com>
4305 * common-src/genversion.c:
4306 Remove reference to error(). This causes a compile
4309 2006-07-06 Jean-Louis Martineau <martineau@zmanda.com>
4310 Klocwork bug 128, 170, 182, 470, 517
4311 * changer-src/chg-scsi.c: Validate drivenum, check count_file.
4312 * client-src/sendsize.c: Validate level.
4313 * oldrecover-src/amrecover.c: Use tm.
4314 * recover-src/amrecover.c: Use tm.
4315 * server-src/infofile.c (delete_txinfofile): Use local variable.
4317 2006-07-06 Jean-Louis Martineau <martineau@zmanda.com>
4318 * server-src/taper.c: Check for cur_filename.
4319 * tape-src/output-file.c: Use vstrextend.
4320 * tape-src/tapeio.c: Check for r.
4322 2006-07-06 Jean-Louis Martineau <martineau@zmanda.com>
4324 * oldrecover-src/extract_list.c (clean_tape_list): Cleanup for splint.
4325 * recover-src/extract_list.c (clean_tape_list): Cleanup for splint.
4326 * server-src/amindexd.c: Add a /*@i@*/.
4327 * server-src/conffile.c: Cast to off_t for conf_init_am64.
4328 * server-src/driver.c: Cast to unsigned to print pid_t.
4329 * server-src/find.c (strip_failed_chunks): Cleanup for splint.
4331 2006-07-06 Jean-Louis Martineau <martineau@zmanda.com>
4333 * server-src/amindexd.c: Free their_feature_string.
4335 * restore-src/amrestore.c: Test maximum value for rst_flags->blocksize.
4337 * common-src/genversion.c: Check NULL result of malloc.
4339 * client-src/selfcheck.c: Check NULL result of fdopen.
4340 Klocwork bug 539, 542
4341 * oldrecover-src/extract_list.c: Fix pfn2->next = fn2.
4342 * recover-src/extract_list.c : Ditto
4343 Klocwork bug 268, 272, 543, 544
4344 * oldrecover-src/extract_list.c: Check for cmd != NULL.
4345 * recover-src/extract_list.c : Ditto
4347 * restore-src/amidxtaped.c: Check for argv != NULL.
4349 * changer-src/scsi-linux.c: Make buffer one larger.
4351 * changer-src/scsi-changer-driver.c (OpenDevice): Validate parameters.
4353 * changer-src/chg-scsi.c (clean_tape): Check usagetime != NULL.
4355 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4357 * regex-src/regcomp.c (allocset): Check for p->g->sets
4360 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4361 Klocwork bug 169, 170, 181
4362 * changer-src/chg-scsi.c: Validate input.
4364 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4366 * common-src/file.c (rmpdir): Check for p == NULL.
4368 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4370 * common-src/dgram.c (dgram_send_addr): Set addr_save earlier.
4372 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4374 * server-src/taper.c (file_reader_side): Maximum value for
4377 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4379 * recover-src/display_commands.c: Check for cmd != NULL.
4380 * oldrecover-src/display_commands.c: Ditto
4382 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4384 * restore-src/restore.c (restore): Check for tmp_filename.
4386 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4388 * server-src/driver.c: Check for h and activehd >= 0.
4390 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4391 Klocwork bug 338 and 390
4392 * server-src/reporter.c (handle_partial, handle_strange): Check result
4395 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4397 * client-src/selfcheck.c (check_options, check_disk): Check for
4400 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4402 * client-src/clientconf.c (add_client_conf): Check result of realloc.
4404 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4405 Klocwork bug 447 and 449
4406 * restore-src/restore.c: Check for valid sendbackup request.
4408 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4410 * restore-src/restore.c (restore): Set statinfo.st_size.
4412 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4414 * common-src/file.c (sanitise_filename): Never return NULL.
4416 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4417 * amandad-src/Makefile.am: Remove tape-src and libamtape.
4418 * client-src/Makefile.am: Remove tape-src and libamtape.
4419 * man/Makefile.am: Cleanup.
4420 * oldrecover-src/Makefile.am: Remove tape-src and libamtape.
4421 * recover-src/Makefile.am: Remove tape-src and libamtape.
4423 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4425 * server-src/driver.c (handle_dumper_result): Check for
4426 dumper->ev_read != NULL.
4428 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4430 * restore-src/restore.c (search_a_tape): Check for desired_tape == NULL.
4432 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4433 Klocwork bug 556 and 557
4434 * common-src/security-util.c (bsd_recv_security_ok): Check result of
4435 strtok, check service == NULL.
4437 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4439 * client-src/calcsize.c (calc_load_file): Return NULL if fopen fail.
4440 * client-src/calcsize.c (main): check NULL result from calc_load_file.
4442 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4444 * server-src/amflush.c (main): Check return of lookup_disk.
4446 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4447 Klocwork bug 62, 85, 459, 463, 466, 469, 555, 559
4448 * common-src/security-util.c: Check result of fdopen.
4449 * client-src/sendsize.c : Ditto.
4450 * server-src/amcheck.c : Ditto.
4451 * server-src/amflush.c : Ditto.
4453 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4454 Klocwork bug 159, 375, 377, 379, 508, 509, 513, 519
4455 * common-src/bsd-security.c: Replace malloc by alloc.
4456 * common-src/bsdudp-security.c: Ditto
4457 * common-src/genversion.c: Ditto
4458 * recover-src/amrecover.c: Ditto
4459 * restore-src/amidxtaped.c: Ditto
4460 * server-src/reporter.c: Ditto
4462 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4463 Klocwork bug 562 and 475
4464 * recover-src/set_commands.c (cd_dir): Check result of rindex.
4465 * oldrecover-src/set_commands.c (cd_dir): ditto.
4467 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4469 * restore-src/restore.c (load_manual_tape): Alloc space for cur_tapedev.
4471 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4473 * restore-src/restore.c (restore): Check for final_filename.
4475 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4477 * server-src/list_dir.c (add_dir_list_item): Check for cur_list->next.
4479 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4481 * server-src/amadmin.c (disklist_one): Check localtime return NULL.
4482 * server-src/amadmin.c (info_one) : Ditto.
4484 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4485 Klocwork bug 2, 83, 128, 384, 478, 504, 505, 506, 517, 566, 567
4486 * server-src/amadmin.c (seqdatestr): Check localtime return NULL.
4487 * common-src/util.c (construct_datestamp, construct_timestamp,
4489 * oldrecover-src/amrecover.c (main): Ditto.
4490 * oldrecover-src/uscan.l (ll_parse_date): Ditto.
4491 * recover-src/amrecover.c (main): Ditto.
4492 * recover-src/uscan.l (ll_parse_date): Ditto.
4493 * server-src/amflush.c (main): Ditto.
4494 * server-src/reporter.c (handle_success): Ditto.
4496 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4498 * client-src/sendsize.c (add_diskest): Check for level value.
4500 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4502 * server-src/reporter.c (nicedate): Check month value.
4504 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4506 * server-src/amadmin.c (tape): Limit nb_days to 10000.
4508 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4510 * server-src/amadmin.c (balance): Test 'later' after it is set.
4512 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4513 * common-src/alloc.c (internal_vstralloc): Don't return NULL.
4515 2006-07-05 Jean-Louis Martineau <martineau@zmanda.com>
4516 * server-src/infofile.c (open_txinfofile): Use local variable.
4518 2006-06-29 Jean-Louis Martineau <martineau@zmanda.com>
4519 * restore-src/restore.c (label_of_current_slot): Close the tapefd if
4522 2006-06-29 Jean-Louis Martineau <martineau@zmanda.com>
4523 * server-src/find.c (strip_failed_chunks):
4524 - Get a **output_find as parameter.
4525 - Check the label before remove a valid chunk.
4526 - Memory management fix.
4528 2006-06-28 Jean-Louis Martineau <martineau@zmanda.com>
4529 * common-src/security-util.c: Improve message for .amandahosts.
4531 2006-06-27 Ian Turner <ian@zmanda.com>
4532 * common-src/fileheader.c: Fix a bug where spanned dumps would
4535 2006-06-27 Jean-Louis Martineau <martineau@zmanda.com>
4536 * server-src/amcheck.c: Fix test for holdingdisk negative size.
4538 2006-06-27 Jean-Louis Martineau <martineau@zmanda.com>
4539 * configure.in: Don't set DEFAULT_TAPE_DEVICE if it is not set.
4540 * client-src/clientconf.c: Work DEFAULT_TAPE_DEVICE not set.
4541 * common-src/genversion.c: Work DEFAULT_TAPE_DEVICE not set.
4542 * recover-src/amrecover.c: Work DEFAULT_TAPE_DEVICE not set.
4543 * server-src/getconf.c: Work DEFAULT_TAPE_DEVICE not set.
4545 2006-06-27 Jean-Louis Martineau <martineau@zmanda.com>
4546 Patch by Paul Bijnens
4547 * server-src/amcheck.c: Check for access(hdp->diskdir, X_OK).
4549 2006-06-27 Jean-Louis Martineau <martineau@zmanda.com>
4550 * server-src/conffile.c (getconf_byname): Check for kt->keyword != NULL.
4551 * client-src/clientconf.c (client_getconf_byname): Ditto
4553 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
4554 * recover-src/extract_list.c: check_file_overwite.
4556 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
4557 * recover-src/extract_list.c: Do the cleanup of the extract list
4558 at the extraction time
4559 * oldrecover-src/extract_list.c: Ditto.
4561 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
4562 * NEWS: Add new features.
4563 * ReleasesNotes: New files.
4565 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
4566 * docs/Makefile.am (pkgdata_DATA): Add amaespipe.8.txt amcrypt.8.txt
4567 amcrypt-asym-ossl.8.txt amcrypt-ossl.8.txt amfetchdump.8.txt
4568 * docs/amaespipe.8.txt: New file.
4569 * docs/amcrypt.8.txt: New file.
4570 * docs/amcrypt-asym-ossl.8.txt: New file.
4571 * docs/amcrypt-ossl.8.txt: New file.
4572 * docs/amfetchdump.8.txt: New file.
4574 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
4575 * docs/Makefile.am (pkgdata_DATA): Add howto-auth.txt.
4576 * docs/howto-auth: Documentation on auth.
4577 * docs/*.txt: Update from xml-docs
4579 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
4580 * man/xml-source/amanda.conf.5.xml: Add notes about bsdudp and bsdtcp.
4581 * man/xml-source/amanda-client.conf.5.xml: Ditto.
4583 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
4584 * recover-src/extract_list.c (is_empty_dir): New function.
4585 * recover-src/extract_list.c: Print a warning if cwd is not empty.
4587 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
4588 * server-src/amadmin.c: Allow 'p' and 'P' in --sort argument.
4590 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
4591 * server-src/amadmin.c: Print errstr returned by match_disklist.
4592 * server-src/amcheck.c: Print errstr returned by match_disklist.
4593 * server-src/amflush.c: Print errstr returned by match_disklist.
4594 * server-src/diskfile.c (match_disklist): Return an error str.
4595 * server-src/diskfile.h (match_disklist): New prototype.
4596 * server-src/planner.c: Print errstr returned by match_disklist.
4597 * server-src/reporter.c: Accept host/disk as arguments.
4599 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
4600 * server-src/amindexd.c (uncompress_file): Set LC_ALL=C before
4603 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
4604 * server-src/driver.c (wait_children, kill_children): New function.
4605 * server-src/driver.c (wait_for_children): Use wait_children and
4607 * server-src/driver.c (main): Use wait_children.
4608 * server-src/driverio.c (taper_cmd, chunker_cmd): Close socket on QUIT
4611 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
4612 * common-src/amfeatures.c (am_init_feature_set): Set
4613 fe_amrecover_feedme_tape.
4614 * common-src/amfeatures.h (fe_amrecover_feedme_tape): New amfeatures.
4615 * common-src/fileheader.c (print_header): Fix.
4616 * recover-src/extract_list.c: Use fe_amrecover_feedme_tape.
4617 * restore-src/amfetchdump.c: Print error if get_lock == 0.
4618 * restore-src/amidxtaped.c: Call send_message if get_lock == 0.
4619 * restore-src/restore.c: Split search_tapes in 5 functions.
4620 * restore-src/restore.h (send_message): prototype.
4622 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
4623 * man/xml-source/amfetchdump.8.xml: Document -O and new -o.
4624 * restore-src/amfetchdump.c: Replace -o by -O
4626 2006-06-22 Jean-Louis Martineau <martineau@zmanda.com>
4627 * client-src/clientconf.c (parse_client_conf): Fix segmentation fault.
4628 * server-src/conffile.c (parse_server_conf): Fix segmentation fault.
4630 2006-06-21 Kevin Till <ktill@zmanda.com>
4631 * changer-src/chg-juke.sh.in
4632 * changer-src/chg-manual.sh.in
4633 * changer-src/chg-mcutil.sh.in
4634 * changer-src/chg-multi.sh.in
4635 * changer-src/chg-mtx.sh.in
4636 * changer-src/chg-rait.sh.in
4637 * changer-src/chg-disk.sh.in
4638 * changer-src/chg-zd-mtx.sh.in
4639 * changer-src/chg-null.sh.in
4640 * changer-src/chg-chs.sh.in
4641 * client-src/patch-system.sh.in
4642 * amplot/amplot.sh.in
4643 * server-src/amcrypt-ossl.sh.in
4644 * server-src/amrmtape.sh.in
4645 * server-src/amcleanup.sh.in
4646 * server-src/amverifyrun.sh.in
4647 * server-src/amaespipe.sh.in
4648 * server-src/amdump.sh.in
4649 * server-src/amcrypt.sh.in
4650 * server-src/amcrypt-ossl-asym.sh.in
4651 * server-src/amcheckdb.sh.in
4652 * server-src/amfreetapes.sh.in
4653 * server-src/amverify.sh.in
4654 change /bin/sh to @SHELL@ for configure to pick up the correct
4655 shell. Sourceforge bug 1466655
4656 * man/xml-source/amcrypt-ossl-asym.8.xml: it's backup-privkey.pem
4658 2006-06-20 Kevin Till <ktill@zmanda.com>
4659 * common-src/security-util.c: ignore EINTR in net_writev
4660 patch by Jean-Louis Martineau.
4662 2006-06-20 John Franks <jrfranks@zmanda.com>
4663 * server-src/conffile.c:
4664 Remove Duplicate keyword table entries and alphabetize
4665 to make future duplicates easier to spot...
4667 * server-src/taper.c:
4668 Fix compiler warnings when no mmap function is present.
4670 2006-06-20 John Franks <jrfranks@zmanda.com>
4671 * server-src/diskfile.c:
4672 Default boolean values without parameters to yes if
4673 no value is present in configuration file. This
4674 maintains backward compatibility and is logical since
4675 a value such as "index" reads as an assertion of fact.
4677 2006-06-19 Jean-Louis Martineau <martineau@zmanda.com>
4678 * docs/wishlist.txt: Remove features done in 2.5.0/2.5.1
4680 2006-06-19 Jean-Louis Martineau <martineau@zmanda.com>
4681 * man/xml-source/amanda.conf.5.xml: amrecover_check_label and
4682 amrecover_do_fsf default to yes.
4683 * server-src/conffile (init_dumptype_defaults): DUMPTYPE_INDEX set to 1.
4684 * server-src/diskfile.c (parse_diskline): index set from
4687 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
4688 * server-src/amstatus.pl.in: Match quotes in DONE line.
4690 2006-06-16 Kevin Till <ktill@zmanda.com>
4691 * example/amanda-client.conf.in:
4692 correct DEFAULT_TAPE_SERVER/DEFAULT_SERVER
4693 * server-src/amcrypt-ossl-asym.sh.in:
4694 set RANDFILE for openssl to place entropy file.
4695 * server-src/amcrypt-ossl.sh.in: ditto
4697 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
4698 * amandad-src/amandad.c : Use strcasecmp to compare auth.
4699 * client-src/selfcheck.c : Ditto
4700 * client-src/sendbackup.c : Ditto
4701 * restore-src/amidxtaped.c: Ditto
4702 * server-src/amindexd.c : Ditto
4704 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
4705 * server-src/amindexd.c (reply, lreply, fast_lreply): Correct use
4706 of arglist_start and arglist_end..
4707 * server-src/amindexd.c (lreply_backend): Remove function.
4709 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
4710 * common-src/bsd-security.c (stream_read_callback): Send error to the
4713 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
4714 * recover-src/extract_list.c: Typo.
4715 * restore-src/restore.c: Typo.
4717 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
4718 * client-src/clientconf.c: Allow include.
4719 * client-src/clientconf.c (read_confline): Don't crash.
4720 * server-src/conffile.c (read_confline): Don't crash.
4721 * recover-src/amrecover.c: Exit if error in conf file.
4723 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
4724 * common-src/arglist.h: Typo.
4725 * recover-src/extract_list.c: handle MESSAGE from amidxtaped.
4727 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
4728 * common-src/amfeatures.c (am_init_feature_set): Set
4729 fe_amrecover_message.
4730 * common-src/amfeatures.h (am_feature_e): Add fe_amrecover_message.
4731 * common-src/arglist.h (printf_arglist_function3): Prototype.
4733 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
4734 * restore-src/restore.c (send_message): New function that send message
4735 to stderr and/or amrecover.
4736 * restore-src/restore.c: Call send_message on some error path.
4738 2006-06-16 Jean-Louis Martineau <martineau@zmanda.com>
4739 * common-src/event.c (event_loop_wait, event_wait): Take an
4740 event_handle_t * as parameter.
4741 * common-src/event.h: New prototype.
4742 * common-src/bsd-security.c: Call event_wait(bs->ev_read).
4743 * common-src/krb4-security.c: Call event_wait(ks->ev_read).
4744 * common-src/krb5-security.c: Call event_wait(ks->ev_read).
4745 * common-src/security-util.c: Call event_wait(ss->ev_read).
4747 2006-06-15 Kevin Till <ktill@zmanda.com>
4748 * man/xml-source/amcrypt-ossl-asym.8.xml: it's .am_passphrase
4749 * server-src/amcrypt-ossl-asym.sh.in: export PATH
4750 * server-src/amcrypt-ossl.sh.in: export PATH
4753 2006-06-15 Jean-Louis Martineau <martineau@zmanda.com>
4754 * server-src/amcheck.c: -w doesn't change the test selection.
4755 * man/xml-source/amcheck.8.xml
4757 2006-06-15 Jean-Louis Martineau <martineau@zmanda.com>
4758 * server-src/planner.c: Log empty disklist and no DLE selected.
4760 2006-06-14 Jean-Louis Martineau <martineau@zmanda.com>
4761 * common-src/bsd-security.c: Use %u to print in_port_t data.
4762 * common-src/bsdudp-security.c: Ditto.
4764 2006-06-14 Jean-Louis Martineau <martineau@zmanda.com>
4765 * changer-src/chg-disk.sh.in: Return the number of slot in output of
4767 * changer-src/chg-zd-mtx.sh.in: Ditto.
4769 2006-06-14 Jean-Louis Martineau <martineau@zmanda.com>
4770 * changer-src/chg-zd-mtx.sh.in: Accept changerfile that already
4771 have the .conf suffix.
4773 2006-06-13 Jean-Louis Martineau <martineau@zmanda.com>
4774 * amandad-src/amandad.c (s_ackwait): Resend the REP on receive of a
4777 2006-06-13 Jean-Louis Martineau <martineau@zmanda.com>
4778 * common-src/security-util.c (bsd_recv_security_ok): Set error only
4781 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
4782 * server-src/driver.c: usetimestamps is a warning.
4784 2006-06-12 Kevin Till <ktill@zmanda.com>
4785 * common-src/security-util.c: if host is 127.0.0.1 and either
4786 localhost or localhost.domain is in .amandahost, hostmatch passes.
4787 * common-src/security-util.h: update check_user_amandahosts prototype
4789 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
4790 * amandad-src/amandad.c (process_writenetfd): Close the pipe if the
4791 security_stream is closed.
4792 * recover-src/extract_list.c: Improve message if we don't get thei
4793 FEATURE line from amidxtaped.
4795 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
4796 * recover-src/amrecover.c: Read amanda-client.conf and
4797 <conf>/amanda-client.conf.
4799 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
4800 * common-src/security-util.c, common-src/tapelist.c,
4801 restore-src/restore.c, server-src/amcheck.c, server-src/amindexd.c,
4802 server-src/amtape.c, server-src/changer.c, server-src/driver.c,
4803 server-src/planner.c, server-src/taper.c,
4804 server-src/taperscan.c: Fix memory leak.
4806 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
4807 * restore-src/restore.c: Fix Adding at end of list.
4809 2006-06-12 Jean-Louis Martineau <martineau@zmanda.com>
4810 * server-src/taper.c (syncpipe_putstr): Don't crash if str is NULL.
4812 2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
4813 * server-src/holding.c (pick_datestamp): Fix reading user input.
4815 2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
4816 * recover-src/amrecover.c (sigint_handler): Call send_command only if
4819 2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
4820 * common-src/util.c (connect_port): ETIMEDOUT is a fatal error.
4822 2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
4823 * common-src/stream.c (stream_client_internal): Get errno set
4825 * server-src/driver.c (handle_chunker_result): Don't assert(0) on
4826 receive of a TRYAGAIN from a chunker, but set
4828 * server-src/dumper.c: Try gethostbyname("localhost") before calling
4829 stream_client and log appropriate message.
4831 2006-06-09 Jean-Louis Martineau <martineau@zmanda.com>
4832 * server-src/amcheck.c: Report ERROR if gethostbyname("localhost")
4835 2006-06-08 Jean-Louis Martineau <martineau@zmanda.com>
4836 * client-src/clientconf.c (add_client_conf): New function to map
4837 normal option to their
4839 * client-src/clientconf.h (add_client_conf): Prototype.
4840 * man/xml-source/amrecover.8.xml: Document -o.
4841 * recover-src/amrecover.c: Also read <config>/amanda-client.conf
4843 2006-06-08 Jean-Louis Martineau <martineau@zmanda.com>
4844 * server-src/diskfile.c (parse_diskline): Only return 0 or -1.
4846 2006-06-08 Jean-Louis Martineau <martineau@zmanda.com>
4847 * amandad-src/amandad.h (g_option_t): Add auth.
4848 * amandad-src/amandad_util.c (init_g_options): Set auth to NULL.
4849 * amandad-src/amandad_util.c (parse_g_options): Parse auth.
4850 * amandad-src/amandad_util.c (free_g_options): Free auth.
4851 * client-src/sendbackup.c: Get amandad_auth from command line and
4852 compare with REQ packet.
4853 * common-src/amfeatures.h (fe_amindexd_options_hostname,
4854 fe_amindexd_options_features,
4855 fe_amindexd_options_auth,
4856 fe_amidxtaped_options_hostname,
4857 fe_amidxtaped_options_features,
4858 fe_amidxtaped_options_auth): New amfeatures.
4859 * common-src/amfeatures.c (am_init_feature_set): Set new amfeatures.
4860 * recover-src/amrecover.c: Send auth in OPTIONS of req packet.
4861 * recover-src/extract_list.c: Send auth in OPTIONS of req packet.
4862 * restore-src/amidxtaped.c: Parse amandad_auth from command line.
4863 Get auth from OPTIONS line.
4865 * server-src/amindexd.c: Parse amandad_auth from command line.
4866 Get auth from OPTIONS line.
4869 2006-06-08 Jean-Louis Martineau <martineau@zmanda.com>
4870 * common-src/util.c(connect_port): Return -2 on ECONNREFUSED error
4873 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
4874 * amandad-src/amandad.c: exec the service with the auth as parameter.
4875 * amandad-src/amandad.c(writebuf): Do no close fd.
4876 * client-src/selfcheck.c: Read the auth for the command line and
4877 compare with the option string.
4878 * client-src/selfcheck.c(main): Do no close 0,1,2 fd.
4880 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
4881 * man/xml-source/amanda.8.xml(CONFIGURATION OVERWRITE): New section.
4882 * man/xml-source/amadmin.8.xml, man/xml-source/amcheck.8.xml,
4883 man/xml-source/amdump.8.xml, man/xml-source/amflush.8.xml,
4884 man/xml-source/amgetconf.8.xml, man/xml-source/amlabel.8.xml,
4885 man/xml-source/amreport.8.xml,
4886 man/xml-source/amrestore.8.xml: Add -o option.
4888 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
4889 * common-src/util.c(get_conftoken): Merge from zmanda.
4891 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
4892 * common-src/util.c(get_conftoken): Remove a conftoken_ungetc.
4894 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
4895 * common-src/bsd-security.c (stream_read_callback): Merge with zmanda.
4897 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
4898 * amandad-src/amandad.c(process_writenetfd): Call security_stream_read
4901 2006-06-07 Jean-Louis Martineau <martineau@zmanda.com>
4902 * server-src/conffile.c (lookup_interface): Fix merge error.
4904 2006-06-07 John Franks <jrfranks@zmanda.com>
4905 * common-src/amanda.h:
4906 Fix isnormal() replacement macro to indirectly
4907 check if a floating point value is != 0.0.
4908 This prevents compiler warnings.
4910 2006-06-07 John Franks <jrfranks@zmanda.com>
4912 Put in "/* NOTREACHED */" comments after error() calls.
4913 * server-src/diskfile.c
4914 Change disktype index default to yes for backward compatibility.
4916 2006-06-06 John Franks <jrfranks@zmanda.com>
4917 * amandad-src/amandad.c common-src/bsd-security.c:
4918 Correct fix for infinite amandad loop.
4920 2006-06-06 John Franks <jrfranks@zmanda.com>
4921 * common-src/stream.c common-src/util.c:
4923 * server-src/conffile.c:
4924 Remove replicated line
4926 2006-06-06 Jean-Louis Martineau <martineau@zmanda.com>
4927 * common-src/util.c (conftoken_ungetc): Return the character.
4928 * common-src/util.c (get_conftoken): Merge to allow escape character.
4929 * common-src/util.c (read_block): Allow STRING as IDENT.
4930 * server-src/conffile.c (getconf_long, getconf_size): New function.
4931 * server-src/conffile.c: Cleanup after Merge.
4933 2006-06-06 Jean-Louis Martineau <martineau@zmanda.com>
4934 * server-src/amadmin.c, server-src/amcheck.c, server-src/amflush.c,
4935 server-src/amlabel.c, server-src/amlogroll.c, server-src/amtrmidx.c,
4936 server-src/amtrmlog.c, server-src/getconf.c,
4937 server-src/reporter.c: Usage -o
4938 * server-src/amflush.c, server-src/amlogroll.c, server-src/amtrmidx.c,
4939 server-src/amtrmlog.c, server-src/chunker.c, server-src/driver.c,
4940 server-src/dumper.c, server-src/getconf.c, server-src/planner.c,
4941 server-src/reporter.c,
4942 server-src/taper.c: Add call to report_bad_conf_arg.
4943 * server-src/conffile.c(get_comprate, get_compress): Parse CONF_END.
4945 2006-06-06 John Franks <jrfranks@zmanda.com>
4947 Increase checking level from 1 to 2 for SUN lint.
4948 * client-src/amandates.c client-src/clientconf.c
4949 common-src/security-util.c recover-src/amrecover.c
4950 recover-src/extract_list.c regex-src/regcomp.c server-src/amcheck.c
4951 server-src/amlabel.c server-src/chunker.c server-src/conffile.c
4952 server-src/conffile.h server-src/diskfile.c server-src/diskfile.h
4953 server-src/driver.c server-src/holding.c server-src/reporter.c
4954 server-src/tapefile.c server-src/taper.c tape-src/amdd.c:
4956 * common-src/util.h common-src/util.c:
4958 Add missing conftype size.
4959 * common-src/bsd-security.c
4960 Fix infinte loop which consumes all /tmp space and 1/2
4961 the CPU time when EOF is reached on socket.
4963 2006-06-05 Paddy Sreenivasan <paddy@zmanda.com>
4964 * common-src/util.c: Fix warning
4966 2006-06-05 Jean-Louis Martineau <martineau@zmanda.com>
4967 * restore-src/amfetchdump.c, server-src/amcheck.c,
4968 server-src/amcheckdb.sh.in, server-src/amcleanup.sh.in,
4969 server-src/amdump.sh.in, server-src/amflush.c,
4970 server-src/amlabel.c, server-src/amlogroll.c,
4971 server-src/amtrmidx.c, server-src/amtrmlog.c,
4972 server-src/chunker.c, server-src/conffile.c,
4973 server-src/diskfile.c, server-src/driver.c,
4974 server-src/driverio.c, server-src/dumper.c,
4975 server-src/getconf.c, server-src/planner.c,
4976 server-src/reporter.c, server-src/taper.c,
4977 server-src/taperscan.c: Allow -o options and some memory fix.
4978 * server-src/conffile.c(lookup_dumptype, lookup_tapetype,
4979 lookup_interface): Use strcasecmp.
4981 2006-06-02 Jean-Louis Martineau <martineau@zmanda.com>
4982 * common-src/stream.c (stream_client_internal): Use connect_portrange.
4983 * common-src/util.c (connect_portrange): First, try to connect with a
4985 * common-src/util.c (connect_port): Try to connect with a specific port.
4986 * common-src/util.h: Cleanup.
4988 2006-06-02 Jean-Louis Martineau <martineau@zmanda.com>
4989 * server-src/reporter.c: Remove empty if.
4991 2006-06-02 Jean-Louis Martineau <martineau@zmanda.com>
4992 * common-src/util.c (read_block): Don't read CONF_NL aftre the '{'.
4993 * server-src/conffile.c(get_holdingdisk, get_tapetype, get_interface):
4994 Read a CONF_NL after the call to read_block.
4995 * server-src/conffile.c(read_dumptype): Read a CONF_NL if we are not
4996 called from diskfile.
4997 * server-src/diskfile.c: Don't loop on empty line after read_dumptype.
4999 2006-06-01 Kevin Till <ktill@zmanda.com>
5000 * server-src/amcrypt-ossl.sh.in: symmetric encrypt script using openSSL.
5001 Thanks to Ben Slusky.
5002 * server-src/amcrypt-ossl-asym.sh.in: public-ley encrypt script using openSSL.
5003 * man/xml-source/amcrypt-ossl.8.xml: man page
5004 * man/xml-source/amcrypt-ossl-asym.8.xml: man page
5005 * configure.in: ditto
5006 * man/Makefile.am: ditto
5007 * man/entities/global.entities: ditto
5008 * server-src/Makefile.am: ditto
5010 2006-06-01 John Franks <jfranks@zmanda.com>
5011 Eliminate Cygwin compile warnings.
5012 * client-src/getfsent.c: Quiet unused parameter warnings.
5013 * client-src/selfcheck.c: Quiet unused parameter warnings.
5014 * common-src/security-util.h: Make hostname const char *.
5016 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
5017 * server-src/amcheck.c: holdingdisk_get_disksize() return an off_t.
5018 * server-src/find.c: result should be ssize_t.
5020 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
5021 * common-src/amanda.h: Remove am64_t.
5022 * client-src/clientconf.c, client-src/clientconf.h, common-src/util.c,
5023 common-src/util.h, server-src/conffile.c, server-src/conffile.h:
5024 Second pass of config cleanup, add function to parse -o argument.
5025 * recover-src/amrecover.c: -o command argument.
5026 * restore-src/restore.c: Use off_t instead of am64_t.
5027 * server-src/amadmin.c: New config subcommand. -o command argument.
5028 * server-src/amlabel.c: Fix memory leak.
5029 * server-src/diskfile.c: Fix memory leak.
5030 * server-src/diskfile.h: Rename no_hold to to_holdingdisk.
5031 * server-src/driver.c: Many.
5032 * server-src/planner.c: am64_t to off_t.
5034 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
5035 This is the first pass of a general rewrite of configuration file
5036 parsing, It will now use array to store all options.
5038 * client-src/clientconf.c:
5039 * client-src/clientconf.h:
5040 * server-src/conffile.c:
5041 * server-src/conffile.h:
5042 * common-src/util.c: Many new functions.
5043 * common-src/util.h:
5045 * restore-src/amidxtaped.c, server-src/amcheck.c,
5046 server-src/amcleanupdisk.c, server-src/amlabel.c,
5047 server-src/diskfile.c, server-src/driver.c, server-src/driverio.c,
5048 server-src/find.c, server-src/holding.c, server-src/planner.c,
5049 server-src/reporter.c,
5050 server-src/taper.c: Use new macro to get configuration option.
5052 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
5053 * amandad-src/amandad.c, client-src/amandates.c, client-src/noop.c,
5054 client-src/selfcheck.c, client-src/sendsize.c,
5055 common-src/bsd-security.c, common-src/bsdtcp-security.c,
5056 common-src/bsdudp-security.c, common-src/fileheader.c,
5057 common-src/rsh-security.c, common-src/security-util.c,
5058 common-src/security-util.h, common-src/ssh-security.c,
5059 recover-src/extract_list.c, server-src/amcheck.c,
5060 server-src/amindexd.c, server-src/amlogroll.c,
5061 server-src/diskfile.c, server-src/driver.c, server-src/dumper.c,
5062 server-src/find.c, server-src/logfile.c, server-src/planner.c,
5063 server-src/reporter.c,
5064 server-src/tapefile.c: Fix memory and fd leak.
5066 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
5067 * server-src/find.c (search_holding_disk): Take the datestamp from the
5068 file, not the directory name, otherwise usetimestamps=no doesn't
5071 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
5072 * common-src/stream.c (stream_server): New priv parameter if we want
5073 a reserved port. Don't try to
5074 get a reserved port if priv==0.
5075 * common-src/stream.h (stream_server): New prototype.
5076 * common-src/bsd-security.c: Call stream_server with priv==0.
5077 * common-src/krb4-security.c: Call stream_server with priv==1.
5078 * common-src/security-util.c: Call stream_server with priv==0.
5079 * restore-src/amidxtaped.c: Call stream_server with priv==0.
5080 * server-src/chunker.c: Call stream_server with priv==0.
5081 * server-src/taper.c: Call stream_server with priv==0.
5083 2006-06-01 Jean-Louis Martineau <martineau@zmanda.com>
5084 * server-src/diskfile.c: Return -1 if open of diskfile failed.
5085 * server-src/driver.c: Change message if didn't get a DATE line.
5086 * server-src/reporter.c: Ignore faillure in reading amanda.conf
5087 disklist and tapelist.
5089 2006-05-29 Jean-Louis Martineau <martineau@zmanda.com>
5090 * man/xml-source/amanda.8.xml: Documents service in .amandahosts.
5092 2006-05-29 Jean-Louis Martineau <martineau@zmanda.com>
5093 Previous patch doesn't work because 'make -j2' will use fd 3.
5094 * amandad-src/Makefile.am: Use a temporary file for output of
5096 * changer-src/Makefile.am: Ditto.
5097 * client-src/Makefile.am: Ditto.
5098 * common-src/Makefile.am: Ditto.
5099 * oldrecover-src/Makefile.am: Ditto.
5100 * recover-src/Makefile.am: Ditto.
5101 * restore-src/Makefile.am: Ditto.
5102 * server-src/Makefile.am: Ditto.
5103 * tape-src/Makefile.am: Ditto.
5105 2006-05-29 Jean-Louis Martineau <martineau@zmanda.com>
5106 * amandad-src/Makefile.am: 'make listlibsrc' send it's ouput to fd 3.
5107 * changer-src/Makefile.am: Ditto.
5108 * client-src/Makefile.am: Ditto.
5109 * common-src/Makefile.am: Ditto.
5110 * oldrecover-src/Makefile.am: Ditto.
5111 * recover-src/Makefile.am: Ditto.
5112 * restore-src/Makefile.am: Ditto.
5113 * server-src/Makefile.am: Ditto.
5114 * tape-src/Makefile.am: Ditto.
5116 2006-05-28 Paddy Sreenivasan <paddy@zmanda.com>
5117 * tape-src/tapeio.c : Fixed warnings
5118 * tape-src/output-rait.c : Fixed warnings
5119 * tape-src/output-null.c : Fixed warnings
5120 * tape-src/output-file.c : Fiexed warnings
5121 * recover-src/amrecover.c: Fixed warnings
5122 * recover-src/extract_list.c : Fixed warnings
5123 * server-src/amadmin.c : Fixed warnings
5124 * server-src/driver.c : Fixed warnings
5125 * server-src/infofile.c : Fixed warnings
5127 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
5128 * server-src/conffile.c (read_dumptype): Parse SSH_KEYS.
5130 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
5131 * common-src/security-util.c (udp_inithandle): Remove bad merge.
5132 * server-src/amindexd.c: Improve error message.
5133 * server-src/planner.c: Add a space in output.
5135 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
5136 * server-src/conffile.c: Set dpcur.no_hold correctly,
5137 Fix for conffile program.
5139 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
5140 Allow many services to share the same tcp connection for
5142 Add a security_close_connection to the security-api.
5143 * amandad-src/amandad.c (wait_30s, exit_on_qlength): New variable to
5144 control auth specific behaviour.
5145 * common-src/bsd-security.c: Add sec_close_connection_none.
5146 * common-src/bsdudp-security.c: Add sec_close_connection_none.
5147 * common-src/krb4-security.c: Add sec_close_connection_none.
5148 * common-src/krb5-security.c: Add sec_close_connection_none.
5149 * common-src/security.h (security_close_connection): Prototype.
5150 * common-src/security-util.h (sec_close_connection_none,
5151 tcpm_close_connection): Prototype.
5152 * common-src/security-util.h (struct tcp_conn): Add toclose.
5153 * common-src/security-util.h (struct sec_stream): Add closed_by_me and
5155 * common-src/security-util.c (sec_close_connection_none,
5156 tcpm_close_connection): New function.
5157 * common-src/security-util.c: Handle many services on one connection.
5158 * common-src/bsdtcp-security.c: Handle many services on one connection.
5159 * common-src/rsh-security.c: Handle many services on one connection.
5160 * common-src/ssh-security.c: Handle many services on one connection.
5161 * recover-src/amrecover.c: Add call security_close_connection.
5162 * recover-src/extract_list.c: Add call security_close_connection.
5163 * server-src/amcheck.c: Add call security_close_connection.
5164 * server-src/dumper.c: Add call security_close_connection.
5166 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
5167 * common-src/security-util.c (bsd_prefix_packet): We need the username
5168 of the getuid() user.
5170 2006-05-26 Jean-Louis Martineau <martineau@zmanda.com>
5171 * common-src/fileheader.c: Parse datestamp on F_TAPEEND.
5172 * restore-src/amrestore.c: Set read_result to the result of
5174 * restore-src/restore.c (read_file_header): Return a ssize_t.
5175 Rename bytes_read by read_result.
5176 Set read_result to the result of read_file_header.
5177 * restore-src/restore.h (read_file_header): New prototype.
5179 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
5180 * server-src/taperscan.c: Replace bogus newvstralloc by vstrextend.
5182 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
5183 * client-src/getfsent.c (print_entry): Add prototype.
5184 * common-src/token.c (main): Shut up compiler warning.
5185 * server-src/infofile.c (dump_rec, dump_db): Add prototype.
5187 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
5188 * amandad-src/amandad.c, common-src/bsd-security.c,
5189 common-src/bsdtcp-security.c, common-src/bsdudp-security.c,
5190 common-src/event.c, common-src/krb5-security.c,
5191 common-src/protocol.c, common-src/rsh-security.c,
5192 common-src/security-util.c, common-src/ssh-security.c,
5193 common-src/util.c, server-src/driver.c: comment debugging.
5195 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
5196 * common-src/security-util.c: typo.
5197 * server-src/amcheck.c: Make sure all check are done.
5199 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
5200 Fix for program not compiled by default.
5201 make bsdsecurity still not compile.
5202 * common-src/bsd-security.c(bind_portrange): prototype change.
5203 * common-src/Makefile.am (STANDARD_COMMON_STUFF_NOT_FILE): Add match.o.
5204 * server-src/conffile.c: Many typo.
5205 * tape-src/tapeio.c: Use OFF_T_FMT and SSIZE_T_FMT when needed, typo.
5207 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
5208 * common-src/fileheader.c (validate_datestamp): Works for 8 characters
5210 * common-src/security-util.c (tcpm_send_token): netlength must be
5212 * common-src/security-util.c (bsd_prefix_packet): Fix typo.
5213 * common-src/util.c (get_time): Don't do computation for starttime.
5214 * server-src/conffile.c (read_dumptype): Do computation for starttime.
5216 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
5217 * common-src/krb5-security.c (krb5_sendpkt, krb5_stream_read_sync,
5218 recv_token): Return ssize_t.
5219 * common-src/krb5-security.c (krb5_accept, krb5_stream_accept,i
5220 krb5_stream_auth): Shut up compiler.
5221 * tape-src/output-file.c: Use SSIZE_MAX instead of SSIZE_T_MAX.
5223 2006-05-25 Jean-Louis Martineau <martineau@zmanda.com>
5224 * configure.in(AM_INIT_AUTOMAKE): Fix.
5226 2006-05-25 John Franks <jrfranks@zmanda.com>
5227 Pass user CFLAGS correctly to machine generated code and do not
5228 enforce code quality checks on them.
5230 Put compiler code check flags into existing, but previously
5231 unused, AM_CFLAGS for Makefiles to pick up. CFLAGS should
5232 now only contain mandatory flags.
5234 * recover-src/Makefile.am oldrecover-src/Makefile.am:
5235 Use CFLAGS for compiling C code generated from uparse.y and uscan.l
5237 2006-05-24 John Franks <jrfranks@zmanda.com>
5238 Add support for binary path names on disk and in configuration files.
5239 (Allow spaces in filenames.)
5241 Allow quoted strings for disklist entries.
5243 Lint clean code using sun lint, splint and strict GCC warnings.
5244 Type / size clean, dead code removal, portibility checks, etc.
5245 Many checks are still turned off. See configure.in for lint flags used.
5247 Increase debug output in /tmp/amanda/*debug files.
5249 Set SO_REUSEADDR on sockets help avoid running out of ports.
5252 Added lint program discovery with specific targets for SUN lint and splint.
5253 Check each compiler option to see if GCC supports it.
5254 Enable more code quality warnings.
5255 Change missing xsltproc to warning rather than error.
5256 Define _GNU_SOURCES to build flags.
5257 Make size_t and time_t printf format macros.
5258 Check for isnormal() availability.
5259 Don't install man pages if they are not built.
5260 Fix man pages to not attempt build or install if
5261 --without-built-manpages is set.
5263 * Makefile.am amandad-src/Makefile.am changer-src/Makefile.am
5264 client-src/Makefile.am common-src/Makefile.am
5265 oldrecover-src/Makefile.am recover-src/Makefile.am
5266 restore-src/Makefile.am server-src/Makefile.am tape-src/Makefile.am:
5269 * common-src/amanda.h common-src/dgram.c common-src/stream.c
5271 Keep checking for ports on all bind errors.
5272 Delay and retry a few times if all ports are busy.
5273 Retry bind failures after all methods fail.
5274 increase bind checking timeout to 30 minutes.
5276 * client-src/amandad.c
5277 Issue wait when any child exits. (Get rid of defunct processes)
5278 Stat() index file before using system command.
5279 (shell is not reporting failure if index is not present)
5281 * recover-src/extract_list.c:
5282 Fix problem of 'add *' not adding directories.
5283 Fix problem of freeing pointer not obtained through malloc.
5284 Touch up file addition to actually use the file names
5285 retrieved when adding a directory and not the directory itself.
5287 * server-src/taper.c
5288 Strenghten error recovery for broken syncpipes and writer errors.
5290 * changer-src/chg-scsi-chio.c client-src/amandates.c
5291 client-src/client_util.c client-src/findpass.c client-src/getfsent.c
5292 client-src/selfcheck.c client-src/sendbackup-gnutar.c
5293 client-src/sendbackup-star.c client-src/sendbackup.c
5294 client-src/sendsize.c common-src/bsd-security.c common-src/file.c
5295 common-src/krb5-security.c server-src/amcheck.c server-src/amindexd.c
5296 server-src/diskfile.c server-src/driver.c server-src/dumper.c
5297 server-src/holding.c server-src/infofile.c server-src/logfile.c
5298 server-src/tapefile.c:
5299 allow empty lines in input streams.
5301 * recover-src/uparse.y
5302 print message when input is garbage.
5304 * server-src/getconf.c:
5305 Define HOSTNAME_INSTANCE if it was not already defined
5308 * configure.in: Make readline warning less specific. Readline is
5309 used by all input from terminal now.
5311 2006-05-24 Kevin Till <ktill@@zmanda.com>
5312 * client-src/sendbackup.c: ignore SIGINT
5313 * common-src/ssh-security.c: add to total only when n > 0
5314 * common-src/ssh-security.c: add ssh to error,
5315 retry writev when EINTR, EAGAIN is seen
5316 to STDOUT. exit when options is chosen in template mode.
5317 * server-src/driver.c: make sure timestamp is not null
5318 * amanda/configure.in: remove template.d/amanda.conf which is a dup
5319 of amanda-harddisk.conf
5320 * example/Makefile.am: add template.d/README
5321 * amanda-harddisk.conf.in: set tapedev
5322 * recover-src/amrecover.c: aclose socket before exit.
5323 * recover-src/extract_list.c: ditto
5324 * amanda_enterprise.spec: remove template.d/amanda.conf, add template.d/README
5325 in the failure cases. <> user input field.
5326 * server-src/amcheck.c: no quoted text is a warning
5327 * server-src/driver.c: no need to amfree qname
5328 argument. Search mtx in PATH too.
5329 * example/template.d/advanced.conf.in: fix comment for autoflush
5330 * example/template.d/advanced.conf.in: add usetimestamps
5331 * server-src/diskfile.c: to catch unsupported compress-encryption
5332 combination and abort amdump gracefully.
5333 * man/xml-source/amanda.conf.5.xml: fix syntax, add
5334 dumptype references.
5335 * man/xml-source/amanda.8.xml: fix syntax
5336 * configure.in: ditto
5337 * man/Makefile.am: ditto
5338 * example/amanda.conf.in: tidy up
5339 * man/xml-source/amaespipe.8.xml: add uuencode as requirement
5340 * man/xml-source/amcrypt.8.xml: add uuencode as requirement
5341 * server-src/amcheck.c: catch dumptype misconfiguration
5342 * server-src/diskfile.c: ditto
5343 * server-src/driverio.c: ditto
5344 * server-src/planner.c: ditto
5345 * server-src/conffile.c: check includefile before calling
5346 read_conffile_recursively
5347 * example/amanda.conf.in: add public-key encryption dumptype example
5348 * man/xml-source/amanda.8.xml: fix some formatting
5349 * server-src/planner.c: adjust setuid() calling sequences so that ssh can work
5350 * server-src/dumper.c: ditto
5351 * configure.in: add LOW_TCPPORTRANGE for amrecover
5352 * common-src/stream.c: use LOW_TCPPORTRANGE
5353 * server-src/amdump.sh.in: check if config is supplied
5354 * man/xml-source/amrestore.8.xml: add notes on "-f" option
5356 2006-05-24 Ian Turner <ian@zmanda.com>
5357 * configure.in: Properly document --without-xsltproc as itself,
5358 and not the (nonexistant) option --without-built-manpages.
5360 2006-05-16 John Franks <jrfranks@zmanda.com>
5361 * amandad-src/amandad.c client-src/clientconf.c common-src/bsd-security.c
5362 common-src/bsdudp-security.c common-src/dgram.c common-src/krb4-security.c
5363 common-src/krb5-security.c common-src/match.c common-src/packet.c
5364 common-src/security-util.c common-src/security-util.h
5365 common-src/security.h common-src/util.c oldrecover-src/Makefile.am
5366 oldrecover-src/set_commands.c recover-src/amrecover.c
5367 recover-src/extract_list.c server-src/conffile.c server-src/driver.c
5368 server-src/dumper.c server-src/planner.c server-src/reporter.c:
5369 Minimal changes to get tree to compile along with some more
5372 2006-05-15 Jean-Louis Martineau <martineau@zmanda.com>
5373 * server-src/amadmin.c (disklist_one): print spindle.
5375 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
5376 * commmon-src/bsd-security.c: Typo.
5378 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
5379 * common-src/Makefile.am (noinst_HEADERS): Add security-util.h.
5381 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
5382 Build a big tok_t enum for server and client config.
5383 * client-src/clientconf.c: Move many things to util.c.
5384 * client-src/clientconf.h: Remove extern variable.
5385 * common-src/util.c: Add common part of clientconf.c and conffile.c
5386 * common-src/util.h: Prototype.
5387 * server-src/conffile.c: Move many things to util.c.
5388 * server-src/diskfile.c(disk_parserror): Rename from parserror.
5389 * server-src/taper.c: Make many variable static.
5391 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
5392 * restore-src/restore.c: Fix use of possibly NULL input.
5394 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
5395 * common-src/ssh-security.c (ssh_connect): Retrieve ssh_keys from
5397 * server-src/amadmin.c(disklist_one): Print ssh_keys.
5398 * server-src/conffile.c(SSH_KEYS): Parse new dumptype option.
5399 * server-src/conffile.h(dumptype_t): Add ssh_keys.
5400 * server-src/diskfile.c(parse_diskline): Copy new field.
5401 * server-src/diskfile.h(disk_t) Add ssh_keys.
5402 * server-src/driverio.c(dumper_cmd): Send dp->ssh_keys in a PORT_DUMP
5403 command to the dumper.
5404 * server-src/dumper.c: Parse ssh_keys in a PORT_DUMP command.
5405 * server-src/dumper.c(dumper_get_security_conf): Return the ssh_keys.
5406 * server-src/server_util.c(amhost_get_security_conf): Return the
5409 2006-05-12 Jean-Louis Martineau <martineau@zmanda.com>
5410 * amandad-src/amandad.c: Set allow_many_services to 0 if auth=bsdtcp.
5411 * common-src/bsd-security.c: Use security-util.c.
5412 * common-src/bsdtcp-security.c: New security-api.
5413 * common-src/bsdudp-security.c: New secutity-api.
5414 * common-src/krb4-security.c: Use security-util.c.
5415 * common-src/krb5-security.c: Use security-util.c.
5416 * common-src/Makefile.am (libamanda_la_SOURCES): Add bsdtcp-security.c,
5418 and security-util.c.
5419 * common-src/protocol.c: Debuging cleanup.
5420 * common-src/rsh-security.c Use security-util.c.
5421 * common-src/security.c: Use bsdtcp_security_driver
5422 and bsdudp_security_driver.
5423 * common-src/security.h(accept): New prototype.
5424 * common-src/security-util.c: Many common function for security-api.
5425 * common-src/security-util.h: many prototype for security-api.
5426 * common-src/ssh-security.c Use security-util.c.
5427 * common-src/stream.c (stream_client_internal): Call connect_portrange.
5428 * common-src/util.c (make_socket): Make a socket.
5429 * common-src/util.c (connect_portrange): Make a socket, bind it and
5431 * common-src/util.h (connect_portrange): Prototype.
5432 * configure.in: new --with-bsdtcp-security and --with-bsdudp-security.
5434 2006-05-10 Jean-Louis Martineau <martineau@zmanda.com>
5435 Patch by <amanda@inventivetechnology.at>
5436 * man/xml-source/amrecover.8.xml: Document listhost command.
5438 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
5439 Patch by <amanda@inventivetechnology.at>
5440 * server-src/amindexd.c: new LISTHOST command.
5441 * recover-src/set_commands.c (list_host): New function.
5442 * recover-src/amrecover.h (list_host): Prototype.
5443 * recover-src/help.c (list_host): Print help.
5444 * recover-src/uscan.l: Parse listhost command.
5445 * recover-src/uparse.y: LISTHOST command.
5446 * oldrecover-src/set_commands.c (list_host): New function.
5447 * oldrecover-src/amrecover.h (list_host): Prototype.
5448 * oldrecover-src/help.c (list_host): Print help.
5449 * oldrecover-src/uscan.l: Parse listhost command.
5450 * oldrecover-src/uparse.y: LISTHOST command.
5452 2006-05-08 Ian Turner <ian@zmanda.com>
5453 * server-src/amcheck.c: Make it an error when the expected new
5454 tape cannot be found. Thanks to Paul Bijnens
5455 <paul.bijnens@xplanation.com> for the patch and to Jason L
5456 Tibbitts III <tibbs@math.uh.edu> for noticing this problem.
5458 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
5459 * driverio.h (shed_s): Add est_nsize, est_csize, degr_nsize, degr_csize
5460 for nativa and compressed estimate size.
5461 * planner.c: Send the native and compressed estimate size to the driver.
5462 * driver.c: log with L_STATS the estimate of a successful dump.
5463 * reporter.c: Parse the L_STATS.
5464 * reporter.c(generate_bad_estimate): New function that will put in the
5465 NOTES section all bad estimate.
5467 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
5468 * configure.in (AC_CONFIG_FILES): Add oldrecover-src/Makefile.
5469 * Makefile.am (RECOVER_SUBDIRS): Add oldrecover-src.
5470 * oldrecover-src/amrecover.c: Copy of old recover-src/amrecover.c
5471 * oldrecover-src/amrecover.h: Copy of old recover-src/amrecover.h
5472 * oldrecover-src/display_commands.c: Copy of old
5473 recover-src/display_commands.c
5474 * oldrecover-src/extract_list.c: Copy of old recover-src/extract_list.c
5475 * oldrecover-src/help.c: Copy of old recover-src/help.c
5476 * oldrecover-src/Makefile.am: Copy of old recover-src/Makefile.am
5477 * oldrecover-src/set_commands.c: Copy of old recover-src/set_commands.c
5478 * oldrecover-src/uparse.y: Copy of old recover-src/uparse.y
5479 * oldrecover-src/uscan.l: Copy of old recover-src/uscan.l
5480 * recover-src/amrecover.c: Works with security-api.
5481 * recover-src/amrecover.h: Works with security-api.
5482 * recover-src/extract_list.c: Works with security-api.
5484 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
5485 * amandad-src/amandad.c: Fixup.
5487 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
5488 * common-src/packet.h: pkt_t.body is now a char*.
5489 * common-src/packet.c (pkt_init): Return an alloced pkt.body.
5490 * common-src/packet.c (pkt_cat): Increade pkt.body size if needed.
5491 * common-src/protocol.c: Free allocated pkt.body.
5492 * common-src/dgram.c (dgram_cat): Return int.
5493 * common-src/dgram.h (dgram_cat): New prototype.
5494 * common-src/krb5-security.c: Work with dynamicaly allocated packet
5496 * common-src/rsh-security.c: Work with dynamicaly allocated packet
5498 * common-src/ssh-security.c: Work with dynamicaly allocated packet
5500 * amandad-src/amandad.c: Work with dynamicaly allocated packet body.
5501 * server-src/amcheck.c: Don't limit packet size.
5502 * server-src/planner.c: Don't limit packet size.
5504 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
5505 * amandad-src/amandad.c (service_new): Apply the correct patch.
5507 2006-05-08 Jean-Louis Martineau <martineau@zmanda.com>
5508 * server-src/taper.c: Fix compiler warning.
5509 * common-src/match.c: Many function get const parameters.
5510 * common-src/amanda.h: Prototype change.
5512 2006-05-07 Jean-Louis Martineau <martineau@zmanda.com>
5513 * amandad-src/amandad.c (service_new): Make sur that the 3 data_read[]
5514 and the 3 data_write[] fd are not in the range DATA_FD_OFFSET to
5515 DATA_FD_OFFSET+DATA_FD_COUNT-1.
5517 2006-05-05 Jean-Louis Martineau <martineau@zmanda.com>
5518 * common-src/tapelist.c (append_to_tapelist): Remove bad amfree.
5520 2006-05-05 Nikhil Bandiwadekar <nikhil@zmanda.com>
5521 * server-src/conffile.c: fix to correctly handle am64 datatype
5523 2006-05-04 Jean-Louis Martineau <martineau@zmanda.com>
5524 * server-src/taper.c: Write the slot number in the
5525 'taper: wrote label' line.
5526 * server-src/amverifyrun.sh.in: Parse that line.
5528 2006-05-02 Jean-Louis Martineau <martineau@zmanda.com>
5529 * amstatus.pl.in: Limit characters for hostname in setup_estimate line.
5531 2006-04-27 Jean-Louis Martineau <martineau@zmanda.com>
5532 * common-src/rsh-security.c: Pass "amdump amindexd amidxtaped" option
5534 * common-src/ssh-security.c: Ditto.
5536 2006-04-27 Jean-Louis Martineau <martineau@zmanda.com>
5537 * amandad-src/amandad.c: Accept a list of services on the command line.
5539 2006-04-27 Jean-Louis Martineau <martineau@zmanda.com>
5540 * common-src/tapelist.c (append_to_tapelist): Fix memory leak.
5542 2006-04-27 Jean-Louis Martineau <martineau@zmanda.com>
5543 * amandad-src/amandad.c: Fix memory leak.
5544 * amandad-src/amandad.h (free_g_options): Prototype.
5545 * amandad-src/amandad_util.c (free_g_options): New function to free a
5547 * server-src/amcleanupdisk.c: Fix memory leak.
5548 * server-src/reporter.c: Fix memory leak.
5549 * server-src/tapefile.c: Fix memory leak.
5550 * server-src/taperscan.c: Put message in error_message.
5552 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
5553 * server-src/amcheck.c (start_server_check): Memory leak.
5555 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
5556 * amandad-src/Makefile.am (noinst_HEADERS): Add amandad.h.
5557 * client-src/Makefile.am (noinst_HEADERS): Add clientconf.h.
5559 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
5560 * man/xml-source/amanda-client.conf.5.xml: New file.
5562 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
5563 * common-src/amanda.h (check_user_ruserok, check_user_amandahosts):
5565 * common-src/bsd-security.c: Pass the service name across check_user*
5566 function and validate it from the .amandahosts file.
5568 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
5569 * restore-src/amidxtaped.c: Can be launched by amandad.
5570 * server-src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/amandad-src
5571 * server-src/Makefile.am (amidxtaped__LDADD): Link with libamandad.
5572 * restore-src/restore.c: Fix indentation.
5574 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
5575 * server-src/amindexd.c: Can be launched by amandad
5576 * server-src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/amandad-src
5577 * server-src/Makefile.am (amindexd_LDADD): Link with libamandad.
5579 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
5580 * amandad-src/amandad.c: New file.
5581 * amandad-src/amandad.h: New file.
5582 * amandad-src/amandad_util.c: New file, add function init_g_options
5584 * amandad-src/Makefile.am: New file.
5585 * client-src/amandad.c: Removed file.
5586 * client-src/amandad.h: Removed file.
5587 * client-src/client_util.c (init_g_options, parse_g_options): Remove.
5588 * client-src/client_util.h (init_g_options, parse_g_options): Remove.
5589 * client-src/Makefile.am (INCLUDES): -I$(top_srcdir)/amandad-src
5590 * client-src/Makefile.am (libexec_PROGRAMS): Remove amandad.
5591 * client-src/Makefile.am (LDADD): Add
5592 ../amandad-src/libamandad.$(LIB_EXTENSION).
5593 * client-src/selfcheck.c: #include "amandad.h".
5594 * client-src/sendsize.c: #include "amandad.h".
5595 * configure.in (AC_CONFIG_FILES): amandad-src/Makefile.
5596 * Makefile.am (SUBDIRS): amandad-src.
5598 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
5599 * docs/security-api.txt: Document security_read_sync.
5600 * common-src/security.h: Typo.
5602 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
5603 * client-src/amandad.c (service_new): Pass the "amandad" argument to
5606 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
5607 * common-src/bsd-security.c: Allow to run many services on the same
5609 * common-src/rsh-security.c: Ditto.
5610 * common-src/ssh-security.c: Ditto.
5612 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
5613 * common-src/security.h (security_stream_read_sync): Prototype.
5614 * common-src/bsd-security.c (bsd_stream_read_sync): New function.
5615 * common-src/krb4-security.c (krb4_stream_read_sync): New function.
5616 * common-src/krb5-security.c (krb5_stream_read_sync): New function.
5617 * common-src/rsh-security.c (rsh_stream_read_sync): New function.
5618 * common-src/ssh-security.c (ssh_stream_read_sync): New function.
5620 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
5621 * client-src/amandad.c: Open pipe in both direction to the services.
5622 * client-src/sendbackup.c: Deal with the newer pipe.
5624 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
5625 * client-src/clientconf.c: New file to read the client configuration
5627 * client-src/clientconf.h: Header.
5628 * client-src/Makefile.am: Link clientconf into libamclient.
5629 * configure.in (AC_CONFIG_FILES): example/amanda-client.conf.
5630 * docs/amanda-client.conf.5.txt: New documentation.
5631 * docs/Makefile.am (pkgdata_DATA): amanda-client.conf.5.txt.
5632 * example/amanda-client.conf.in: exemple.
5633 * example/Makefile.am (noinst_DATA): amanda-client.conf.
5634 * man/entities/global.entities: amclientconf.
5635 * man/Makefile.am (COMMON_MAN5_PAGES): amanda-client.conf.5.
5636 * man/xml-source/amanda.8.xml (SEE ALSO): amanda-client.conf(5).
5637 * man/xml-source/amanda.conf.5.xml (SEE ALSO): amanda-client.conf(5).
5638 * man/xml-source/amrecover.8.xml (SEE ALSO): amanda-client.conf(5).
5640 2006-04-26 K. K. George<kkg@zmanda.com>
5641 * server-src/reporter.c: Fix to untaint the mailto parameter.
5642 * server-src/amcheck.c: Fix to untaint the mailto parameter
5643 * changer-src/chg-scsi.c: Fix to untaint the mailto parameter.
5644 * changer-src/chg-scsi-chio.c: Fix to untaint the mailto parameter.
5645 * common-src/util.h: Added function to check if the mailto
5646 parameter is untainted
5647 * common-src/util.c: Added function to check if the mailto
5648 parameter is untainted
5650 2006-04-26 Jean-Louis Martineau <martineau@zmanda.com>
5651 * common-src/event.c(event_wait): New function.
5652 * common-src/event.h(event_wait): prototype.
5653 * docs/eventapi.txt: Document event_wait.
5655 2006-04-24 Jean-Louis Martineau <martineau@zmanda.com>
5656 * server-src/planner.c: Fix divide by zero if runtapes==0.
5658 2006-04-24 K. K. George<kkg@zmanda.com>
5659 * server-src/reporter.c: Fix to make the mailto parameter in
5660 amanda.conf optional. Added two more commandline options
5662 * server-src/amcheck.c: Fix to make the mailto parameter in
5663 amanda.conf optional.
5664 * man/xml-source/amreport.8.xml: Modified to document the
5665 -i & -Maddress commandline parameters
5666 * docs/amreport.8.txt: Modified to document the
5667 -i & -Maddress commandline parameters
5668 * changer-src/chg-scsi.c: Fix to make the mailto parameter in
5669 amanda.conf optional.
5670 * changer-src/chg-scsi-chio.c: Fix to make the mailto parameter in
5671 amanda.conf optional.
5673 2006-04-23 Jean-Louis Martineau <martineau@zmanda.com>
5674 * server-src/driver.c (handle_chunker_result): make sure that
5675 est_size > act-size.
5677 2006-04-21 Jean-Louis Martineau <martineau@zmanda.com>
5678 * server-src/changer.c (changer_command): Make sure fd[0] != 1.
5680 2006-04-19 Jean-Louis Martineau <martineau@zmanda.com>
5681 * restore-src/amidxtaped.c: Cleanup.
5683 2006-04-19 Ian Turner <ian@zmanda.com>
5684 * tape-src/output-tape.c: Do a more thourough check to ensure
5685 that we actually got a tape device, before proceeding to use
5688 2006-04-18 Ian Turner <ian@zmanda.com>
5689 * changer-src/chg-disk.sh.in: Check that the virtual device is a
5690 directory with proper permissions.
5691 * server-src/changer.c: Do the right thing (failure) if there is
5692 a problem with the changer.
5694 2006-04-18 Ian Turner <ian@zmanda.com>
5695 * recover-src/uscan.l: Accept setdate of the form
5696 yyyy-MM-dd-hh-mm in addition to yyyy-MM-dd-hh-mm-ss.
5697 * man/xml-source/amrecover.8.xml: Document this change.
5699 2006-04-14 Jean-Louis Martineau <martineau@zmanda.com>
5700 * recover-src/help.c: Document setdate YYYY-MM-DD-HH-MM-SS format.
5701 * man/xml-source/amrecover.8.xml: Ditto.
5703 2006-04-14 Jean-Louis Martineau <martineau@zmanda.com>
5704 * client-src/amandad.c: Use %p to printf pointer.
5706 2006-04-14 Jean-Louis Martineau <martineau@zmanda.com>
5707 * server-src/amtape.c: Add update command.
5709 2006-04-11 Jean-Louis Martineau <martineau@zmanda.com>
5710 * server-src/taper.c: log_add(L_WARNING) the output of taper_scan if
5711 no valid tape are found.
5713 2006-04-11 Jean-Louis Martineau <martineau@zmanda.com>
5714 * server-src/amcheck.c: Call taper_scan with
5715 (..., FILE_taperscan_output_callback,outf) arguments.
5716 * server-src/amtape.c: Call taper_scan with
5717 (..., FILE_taperscan_output_callback,stderr) arguments.
5718 * server-src/taper.c: Call taper_scan with
5719 (..., CHAR_taperscan_output_callback, &error_msg) arguments.
5720 * server-src/taperscan.h(FILE_taperscan_output_callback,
5721 CHAR_taperscan_output_callback): Protoype.
5722 * server-src/taperscan.h(taper_scan): New protoype, remove
5723 error_message arg, add taperscan_output_callback and data arg.
5724 * server-src/taperscan.c(FILE_taperscan_output_callback): Callback
5725 that print the msg to it's arg, which is FILE*.
5726 * server-src/taperscan.c(CHAR_taperscan_output_callback): Callback
5727 that append the msg to it's arg, which is char*.
5728 * server-src/taperscan.c(taper_scan): Fix for new arguments.
5729 * server-src/taperscan.c(changer_taper_scan): Fix for new arguments.
5731 2006-04-11 Jean-Louis Martineau <martineau@zmanda.com>
5732 * man/xml-source/amanda.conf.5.xml: Document amandad_path and
5733 client_username dumptype option.
5735 2006-04-11 Jean-Louis Martineau <martineau@zmanda.com>
5736 * common-src/krb4-security.c: Increase timeout to 60 seconds.
5737 * common-src/rsh-security.c: Increase timeout to 60 seconds.
5738 * common-src/ssh-security.c: Increase timeout to 60 seconds.
5740 2006-04-07 Jean-Louis Martineau <martineau@zmanda.com>
5741 * server-src/conffile.c: New configuration option usetimestamps.
5742 * server-src/conffile.h: New configuration option usetimestamps.
5743 * example/amanda.conf.in: Document new usetimestamps options.
5744 * man/xml-source/amanda.conf.5.xml: Document new usetimestamps options.
5745 * server-src/amflush.c: Use datestamp or timestamp depending of
5747 * server-src/planner.c: Use datestamp or timestamp depending of
5749 * server-src/driver.c: Log an ERROR if many run a day and
5750 usetimestamps us set to no.
5752 2006-04-07 Ian Turner <ian@zmanda.com>
5753 * server-src/changer.c: Don't crash if we go to taperscan "Plan
5756 2006-04-07 Ian Turner <ian@zmanda.com>
5757 * server-src/changer.c: Only print changer debug messages if
5758 there was a problem.
5760 2006-04-07 Ian Turner <ian@zmanda.com>
5761 * recover-src/amrecover.c: Print a more helpful command if mount
5762 point autodetection fails.
5763 * recover-src/display_commands.c: Print a more helpful message
5764 if the user tries to ls without having setdisk earlier.
5766 2006-04-07 Jean-Louis Martineau <martineau@zmanda.com>
5767 * server-src/amadmin.c: Fix use of datestamp as int.
5768 * server-src/find.c: Ditto.
5769 * server-src/reporter.c: Ditto.
5770 * server-src/tapefile.c: Ditto.
5772 2006-04-07 Jean-Louis Martineau <martineau@zmanda.com>
5773 * common-src/Makefile.am: Fix dependency between genversion and
5776 2006-04-07 Jean-Louis Martineau <martineau@zmanda.com>
5777 * recover-src/amrecover.c: Change initialization of server_name and
5780 2006-04-07 Jean-Louis Martineau <martineau@zmanda.com>
5781 * restore-src/amrestore.c: reset count_error to 0 on a restore.
5783 2006-04-06 Kevin Till <ktill@zmanda.com>
5784 * server-src/Makefile.am: always install planner/dumper setuid-root
5785 * server-src/amcheck.c: check planner/dumper for setuid-root
5786 * server-src/dumper.c: drop privilege asap. Switch between bsd
5787 and ssh auth is now possible with the same installation.
5788 * server-src/planner.c: ditto
5790 2006-04-06 Jean-Louis Martineau <martineau@zmanda.com>
5791 * server-src/taperscan.c (changer_taper_scan): Pass a pointer to the
5792 changer_loadslot call.
5794 2006-04-06 Jean-Louis Martineau <martineau@zmanda.com>
5795 * server-src/tapefile.c (lookup_last_reusable_tape): Fix a datestamp
5798 2006-04-06 Ian Turner <vectro@vectro.org>
5799 * recover-src/amrecover.c (main): Check AMANDA_SERVER and
5800 AMANDA_TAPE_SERVER environment variables before falling back
5801 to compiled-in defaults. Document this new behavior. Thanks to
5802 Malcolm Locke <malc@hoodee.co.uk> for the idea and patch.
5804 2006-04-06 Jean-Louis Martineau <martineau@zmanda.com>
5805 * server-src/reporter.c (handle_chunk): CHUNK line always have the
5808 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
5809 * server-src/krb5-security.c: Fix for krb5_connect call in
5812 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
5813 * server-src/driver.c (start_some_dumps): Recover correctly if the
5814 chunker reply with something that is not a PORT command.
5815 * server-src/driver.c (dump_to_tape): remove duplicate free_serial.
5816 * server-src/driverio.c: Improve debugging.
5818 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
5819 * common-src/tapelist.c(unmarshal_tapelist_str): Fix
5820 "value computed is not used" compiler warning.
5822 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
5823 * common-src/bsd-security.c (bsd_connect): New datap argument.
5824 * common-src/krb4-security.c (krb4_connect): New datap argument.
5825 * common-src/krb5-security.c (krb5_connect): New datap argument.
5826 * common-src/rsh-security.c (rsh_connect): New datap argument,
5827 retrieve amanda_path and client_username from configuration.
5828 * common-src/ssh-security.c (ssh_connect): New datap argument,
5829 retrieve amanda_path and client_username from configuration.
5830 * common-src/protocol.c: Pass new datap argument to security_connect.
5831 * common-src/security.h(connect): New prototype.
5832 * common-src/security.h(security_connect): Add datap to macro.
5833 * server-src/amadmin.c(disklist_one): Print amandad_path and
5835 * server-src/conffile.c(AMANDAD_PATH, CLIENT_USERNAME): Parse new
5837 * server-src/conffile.h(dumptype_t): Add amandad_path and
5839 * server-src/diskfile.c(parse_diskline): Copy new field.
5840 * server-src/diskfile.h(disk_t) Add amandad_path and client_username.
5841 * server-src/driverio.c(dumper_cmd): Send dp->amandad_path and
5842 dp->client_username in a PORT_DUMP command to the dumper.
5843 * server-src/dumper.c: Parse amandad_path and client_username in a
5845 * server-src/dumper.c(dumper_get_security_conf): New function to return
5846 configuration option to the security-api.
5847 * server-src/dumper.c: Use dumper_get_security_conf for the callback
5848 to protocol_sendreq.
5849 * server-src/planner.c Use amhost_get_security_conf for the callback
5850 to protocol_sendreq.
5851 * server-src/amcheck.c: Use amhost_get_security_conf for the callback
5852 to protocol_sendreq.
5853 * server-src/server_util.c(amhost_get_security_conf): New function to
5854 return configuration option to the security-api,
5855 it expect an am_host_t arg.
5856 * server-src/server_util.h(amhost_get_security_conf): Prototype.
5858 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
5859 * server-src/amstatus.pl.in: Remove duplicate instruction.
5861 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
5862 * server-src/amindexd.c: Remove all code that set str_buffer_size,
5863 rename str_buffer_size to reply_buffer_size,
5864 rename buf to reply_buffer,
5865 * server-src/amindexd.c(reply, lreply_backend): Increase reply_buffer
5868 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
5869 * common-src/amfeatures.h: Add fe_amrecover_timestamp amfeature.
5870 * common-src/amfeatures.c (am_init_feature_set):
5871 Add fe_amrecover_timestamp.
5872 * server-src/amindexd.c(opaque_ls_one): New function.
5873 * server-src/amindexd.c(disk_history_list,opaque_ls_one): Send only a
5874 datestamp if client doesn't have fe_amrecover_timestamp.
5876 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
5877 * recover-src/uscan.l: Parse "setdate YYYY-MM-DD-HH-MM-SS".
5878 * server-src/amindexd.c (cmp_date): New function to cmp datestamp with
5879 timestamp, use it where needed.
5880 * server-src/amindexd.c (amindexd_nicedate): Fix for timestamp.
5881 * server-src/amtrmidx.c: Fix for timestamp.
5882 * server-src/disk_history.h (DUMP_ITEM): Increase size of date.
5884 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
5885 * server-src/amflush.c: Send DATE line to driver, use timestamp.
5886 * server-src/amindex.c (getindexfname): Increase datebuf size.
5887 * server-src/amtrmlog.c: Fix bug with date_keep computation if
5889 * server-src/amtrmlog.c: rotate timestamped log file.
5890 * server-src/chunker.c: Receive START cmd, use timestamp.
5891 * server-src/driver.c: Receive DATE line, send START cmd to chunker,
5893 * server-src/driverio.c (startup_dump_processes): Send START cmd to
5895 * server-src/driverio.c (dumper_cmd, chunker_cmd): Send START command.
5896 * server-src/driverio.h (startup_dump_processes): Prototype change,
5898 * server-src/dumper.c: Receive START cmd, use timestamp.
5899 * server-src/find.c (find_nicedate): Fix for timestamp.
5900 * server-src/planner.c: Send DATE line to driver, use timestamp.
5901 * server-src/server_util.c (cmdstr): Add START.
5902 * server-src/server_util.h (cmd_t): Add START.
5903 * server-src/taper.c: Get timestamp from TAPER_START command.
5905 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
5906 * server-src/amindexd.c (amindexd_nicedate): New function.
5907 * server-src/find.h (struct find_result_s): Remove datestamp and
5908 datestamp_aux field, only timestamp will be used.
5909 * restore-src/amfetchdump.c: Convert datestamp to 'char *'.
5910 * restore-src/restore.c: Convert datestamp to 'char *'.
5911 * server-src/amindexd.c: Convert datestamp to 'char *'.
5912 * server-src/amlabel.c: Convert datestamp to 'char *'.
5913 * server-src/amtrmidx.c: Convert datestamp to 'char *'.
5914 * server-src/find.c: Convert datestamp to 'char *'.
5915 * server-src/reporter.c: Convert datestamp to 'char *'.
5916 * server-src/tapefile.c: Convert datestamp to 'char *'.
5917 * server-src/tapefile.h: Convert datestamp to 'char *'.
5918 * server-src/taper.c: Convert datestamp to 'char *'.
5920 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
5921 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.1b1).
5923 2006-04-05 Jean-Louis Martineau <martineau@zmanda.com>
5924 * server-src/driver.c: Change expression to remove overflow.
5926 2006-03-29 Jean-Louis Martineau <martineau@zmanda.com>
5927 * client-src/calcsize.c: Don't use declaration after instruction,
5928 older compiler don't accept it.
5930 2006-03-23 Jean-Louis Martineau <martineau@zmanda.com>
5931 * Amanda 2.5.0 released.
5932 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0).
5933 * NEWS: Update for 2.5.0
5935 2006-03-22 Jean-Louis Martineau <martineau@zmanda.com>
5936 * server-src/dumper.c: wait for compress/index/encryp subprocess.
5938 2006-03-22 Jean-Louis Martineau <martineau@zmanda.com>
5939 * server-src/amstatus.pl.in: Parse PARTIAL reply.
5941 2006-03-22 Jean-Louis Martineau <martineau@zmanda.com>
5942 * server-src/driver.c: Put '#define HOLD_DEBUG' in comment.
5944 2006-03-21 Jean-Louis Martineau <martineau@zmanda.com>
5945 * server-src/chunker.c: Don't loop on startup_chunker.
5946 * server-src/dumper.c: Don't wait for all children, some process (ssh)
5947 might not terminate.
5949 2006-03-17 Ian Turner <ian@zmanda.com>
5950 * server-src/taper.c (read_file): When finished flushing a
5951 chunked dump, print information about the whole dump, not just
5952 the last chunk. Also, fix some memory leaks.
5954 2006-03-16 Kevin Till <ktill@zmanda.com>
5955 * server-src/amverify.sh.in: check for EOI. amrestore only
5956 reports EOI for some tapetypes.
5958 2006-03-15 Jean-Louis Martineau <martineau@zmanda.com>
5959 * server-src/conffile.c: Fix heritage of auth.
5961 2006-03-14 Kevin Till <ktill@@zmanda.com>
5962 * example/amanda.conf.in: add dumptype custom-compress.
5963 add ssh,krb5 as valid input for auth.
5964 * man/xml-source/amanda.conf.5.xml: give reference to
5965 custom-compress, encrypt-fast dumptypes.
5967 2006-03-14 Jean-Louis Martineau <martineau@zmanda.com>
5968 * common-src/amfeatures.h: Rename fe_amidxtaped_FEEDME to
5970 * common-src/amfeatures.c (am_init_feature_set): Set
5971 fe_amrecover_FEEDME.
5972 * restore-src/restore.h (search_tapes): Add their_features parameter.
5973 * restore-src/amfetchdump.c: Add NULL pointer to search_tapes call.
5974 * restore-src/amidxtaped.c: Add their_features to search_tapes call.
5975 * restore-src/restore.c (search_tapes): Send FEEDME only if client
5978 2006-03-11 Jean-Louis Martineau <martineau@zmanda.com>
5979 * server-src/driverio.c : Fix errors found using Coverity tools.
5981 2006-03-10 Jean-Louis Martineau <martineau@zmanda.com>
5982 * server-src/taperscan.c: Fix Coverity fix.
5984 2006-03-10 Jean-Louis Martineau <martineau@zmanda.com>
5985 * changer-src/scsi-changer-driver.c:
5986 Fix errors found using Coverity tools.
5987 * server-src/diskfile.c: Fix errors found using Coverity tools.
5988 * server-src/planner.c: Fix errors found using Coverity tools.
5989 * server-src/taperscan.c: Fix errors found using Coverity tools.
5991 2006-03-10 Jean-Louis Martineau <martineau@zmanda.com>
5992 * server-src/driverio.c: Undo my bad fix.
5993 * server-src/infofile.c: Fix errors found using Coverity tools.
5994 * tape-src/tapetype.c: Fix errors found using Coverity tools.
5996 2006-03-09 Jean-Louis Martineau <martineau@zmanda.com>
5997 * restore-src/restore.c: Fix errors found using Coverity tools.
5999 2006-03-09 Jean-Louis Martineau <martineau@zmanda.com>
6000 * server-src/holding.c: Fix errors found using Coverity tools.
6002 2006-03-09 Jean-Louis Martineau <martineau@zmanda.com>
6003 * server-src/driverio.c: Fix errors found using Coverity tools.
6004 * server-src/planner.c: Fix errors found using Coverity tools.
6006 2006-03-09 John Franks <jrfranks@zmanda.com>
6007 * changer-src/chg-scsi.c: Fix errors found using Coverity tools.
6008 * changer-src/scsi-changer-driver.c:
6009 Fix errors found using Coverity tools.
6010 * changer-src/sense.c: Fix errors found using Coverity tools.
6011 * client-src/sendbackup-dump.c: Fix errors found using Coverity tools.
6012 * client-src/sendbackup.c: Fix errors found using Coverity tools.
6013 * recover-src/display_commands.c:Fix errors found using Coverity tools.
6014 * regex-src/regcomp.c: Fix errors found using Coverity tools.
6015 * restore-src/restore.c: Fix errors found using Coverity tools.
6016 * server-src/amindexd.c: Fix errors found using Coverity tools.
6017 * server-src/diskfile.c: Fix errors found using Coverity tools.
6018 * server-src/driver.c: Fix errors found using Coverity tools.
6019 * server-src/driverio.c: Fix errors found using Coverity tools.
6020 * server-src/infofile.c: Fix errors found using Coverity tools.
6021 * server-src/planner.c: Fix errors found using Coverity tools.
6022 * server-src/taper.c: Fix errors found using Coverity tools.
6023 * server-src/taperscan.c: Fix errors found using Coverity tools.
6024 * server-src/conffile.c: Change report default to use at least
6025 one space between every column.
6027 2006-03-08 Jean-Louis Martineau <martineau@zmanda.com>
6028 * client-src/amandad.c: Fix coverity bug.
6029 * client-src/calcsize.c: Fix coverity bug.
6030 * client-src/client_util.c: Fix coverity bug.
6031 * client-src/sendbackup.c: Fix coverity bug.
6032 * client-src/sendsize.c: Fix coverity bug.
6033 * common-src/bsd-security.c: Fix coverity bug.
6034 * common-src/file.c: Fix coverity bug.
6035 * common-src/fileheader.c: Fix coverity bug.
6036 * common-src/pipespawn.c: Fix coverity bug.
6037 * recover-src/extract_list.c: Fix coverity bug.
6038 * restore-src/restore.c: Fix coverity bug.
6039 * server-src/amindexd.c: Fix coverity bug.
6040 * server-src/conffile.c: Fix coverity bug.
6041 * server-src/diskfile.c: Fix coverity bug.
6042 * server-src/driverio.c: Fix coverity bug.
6043 * server-src/dumper.c: Fix coverity bug.
6044 * server-src/planner.c: Fix coverity bug.
6045 * server-src/reporter.c: Fix coverity bug.
6047 2006-03-07 Paddy Sreenivasan <paddy@zmanda.com>
6048 * man/xml-source/amanda.8.xml: added amaespipe and amcrypt.
6050 2006-03-07 Jean-Louis Martineau <martineau@zmanda.com>
6051 * server-src/taper.c: Don't log a multi-line message in no-tape case.
6053 2006-03-06 John Franks <jrfranks@zmanda.com>
6054 * recover-src/extract_list.c:
6055 1) Don't add '.' directory twice to tar extract list.
6056 2) Don't prepend extra '/' to extract patterns starting with '/'.
6057 3) Convert "/" extract pattern to "*" equivalent.
6059 2006-03-06 Jean-Louis Martineau <martineau@zmanda.com>
6060 * server-src/taperscan.c (scan_slot): append slotstr to
6062 * server-src/taperscan.c: Add a '\n' after each slot error message.
6064 2006-03-06 Jean-Louis Martineau <martineau@zmanda.com>
6065 * server-src/reporter.c (handle_error): Handle error from taper.
6067 2006-03-06 Jean-Louis Martineau <martineau@zmanda.com>
6068 * server-src/taper.c (label_tape): Set errstr and return 0 if no
6069 valid tape are available.
6071 2006-03-03 Ian Turner <ian@zmanda.com>
6072 * common-src/amanda.h: New macros MAX_TAPE_LABEL_LEN and
6074 * common-src/amfeatures.h: New amfeature fe_amidxtaped_FEEDME
6075 * recover-src/extract_list.c: Accept port number with CONNECT;
6076 implement fe_amidxtaped_FEEDME.
6077 * restore-src/amidxtaped.c: Introduce port number with CONNECT.
6078 (closes SF bug 1431623)
6079 * restore-src/restore.c: Implement fe_amidxtaped_FEEDME.
6080 (closes SF bug 1421433)
6081 * restore-src/restore.h: Properly name rst_flags.
6083 2006-02-28 Jean-Louis Martineau <martineau@zmanda.com>
6084 * common-src/bsd-security.c (bsd_connect, netfd_read_callback, main):
6085 Set bh->proto_handle to NULL after allocating bh.
6086 * common-src/bsd-security.c (bsd_close): Donothing if
6087 bh->proto_handle == NULL.
6089 2006-02-28 Jean-Louis Martineau <martineau@zmanda.com>
6090 * common-src/protocol.c (s_repwait): Decrease p->timeout on receive
6093 2006-02-28 Jean-Louis Martineau <martineau@zmanda.com>
6094 * server-src/driver.c: Print dumper TRY_AGAIN message.
6096 2006-02-28 Jean-Louis Martineau <martineau@zmanda.com>
6097 * server-src/planner.c: Don't print estimate size if estimate failed.
6099 2006-02-25 Ian Turner <ian@zmanda.com>
6100 * man/Makefile.am: Don't use static patterns (as they are not
6101 portable), use implicit rules instead.
6103 2006-02-20 Kevin Till <ktill@zmanda.com>
6104 * common-src/krb4-security.c: changes needed for krb4/5 to compile. Thanks to
6106 * common-src/krb5-security.c: ditto.
6108 2006-02-16 Kevin Till <ktill@zmanda.com>
6109 * example/amanda.conf.in: dumptype option is "encrypt"
6110 * man/xml-source/amanda.conf.5.xml: ditto
6111 * server-src/holding.c: util.h is include'd twice
6112 * common-src/ssh-security.c: set correct debug print
6114 2006-02-10 Kevin Till <ktill@zmanda.com>
6115 * man/xml-source/amanda.8.xml: replace informaltable with literallayout
6117 2006-02-13 John Franks <jrfranks@zmanda.com>
6118 * server-src/driver.c: Pring a more precise message when taper
6119 returns an error. Include error message from taper in log.
6120 Print out "protocol error" if taper returns a bogus command.
6122 2006-02-10 Kevin Till <ktill@zmanda.com>
6123 * man/xml-source/amanda.conf.5.xml: add note about first character of a
6124 tapetype string must be alphabet
6126 2006-02-10 John Franks <jrfranks@zmanda.com>
6127 * server-src/taper.c: Call error() if an invalid string is read
6128 by syncpipe_getstr().
6130 2006-02-09 John Franks <jrfranks@zmanda.com>
6131 * Makefile.am, */Makefile.am: Corrections generated by David Braun
6132 dustybird@users.sourceforge.net to properly set source directories
6133 for remote (VPATH) builds.
6134 * man/Makefile.am: Fixed man page builds to use proper source and
6136 * autogen: Force rebuilding everything and print only syntax errors.
6137 (Errors are seen occasionally in system autogen files...)
6138 * configure.in: Eliminate possibility of empty string in shell tests.
6139 fix quoting of '[' and ']' characters in help messages.
6140 Fix default value for DUMPER_DIR to pick up EPREFIX correctly.
6142 2006-02-08 Ian Turner <ian@zmanda.com>
6143 * server-src/driver.c (handle_taper_result): Properly handle
6144 SPLIT_NEEDNEXT case. Thanks to Josef Wolf for finding this bug.
6147 2006-02-06 Kevin Till <ktill@zmanda.com>
6148 * restore-src/restore.c: fix comment formatting on version 1.2.1
6150 2006-02-06 Kevin Till <ktill@zmanda.com>
6151 * configure.in: Bug 1423731, SSH_SECURITY set only when --with-ssh-security used
6152 * server-src/Makefile.am:: not to install planner/dumper setuid-root --with-ssh-security
6153 * server-src/amcheck.c: ditto
6154 * server-src/dumper.c: ditto
6155 * restore-src/restore.c: add missing "}"
6157 2006-02-06 Ian Turner <ian@zmanda.com>
6158 * restore-src/amidxtaped.c: Properly handle changers,
6159 tape-label checking, and tape prompting in amrecover,
6160 amindexd, and amidextaped. Thanks to Paul Bijnens
6161 <pbijnens@users.sourceforge.net> for the patch.
6162 * restore-src/restore.c: ditto.
6163 * server-src/amindexd.c: ditto.
6165 2006-02-04 Paddy Sreenivasan <paddy@zmanda.com>
6166 * man/xml-source/amfetchdump.8.xml
6167 * man/xml-source/amcrypt.8.xml
6168 * man/xml-source/amanda.conf.5.xml
6169 * man/xml-source/amanda.8.xml
6170 * man/xml-source/amaespipe.8.xml
6171 * man/entities/global.entities: Merged changes from xml-docs tree
6173 2006-02-03 John Franks <jrfranks@zmanda.com>
6174 * server-src/taper.c: Fix null string printout in CHUNKERSUCCESS log line.
6176 2006-02-03 Ian Turner <ian@zmanda.com>
6177 * server-src/amadmin.c (main): Don't free conf_tapelist too
6178 early. Thanks to Cédric Lucantis
6179 <cedric-lucantis@users.sourceforge.net> for the patch.
6181 2006-02-02 Kevin Till <ktill@zmanda.com>
6182 * man/xml-source/amanda.8.xml: fix formatting. <informaltable> problem
6184 * man/xml-source/amrecover.8.xml: add note on client-encrypted tapes.
6186 2006-02-02 Ian Turner <ian@zmanda.com>
6187 * recover-src/extract_list.c (extract_files_child): Run tar with
6188 --numeric-owner if we are extracting a non-sambafied tar file.
6189 Thanks to Paul Bijnens <pbijnens@users.sourceforge.net> for
6190 the patch. Thanks also to Mark Schaefer for suggesting this
6193 2006-02-01 Jean-Louis Martineau <martineau@zmanda.com>
6194 * restore-src/restore.c: Use OFF_T_FMT to printf off_t variable,
6195 cast size_t to am64_t and use AM64_FMT to printf them.
6197 2006-01-31 Jean-Louis Martineau <martineau@zmanda.com>
6198 * server-src/driver.c (dumper_result): Reset sched(dp)->attempted to 0
6199 before adding it to tapeq.
6201 2006-01-27 Ian Turner <ian@zmanda.com>
6202 * configure.in: Add new option --without-xsltproc (and
6203 --with-xsltproc), which turns off (or forces) the use of xsltproc to
6204 build manpages. Thanks to Paul Bijnens
6205 <pbijnens@users.sourceforge.net> for suggesting this feature.
6207 2006-01-27 Ian Turner <ian@zmanda.com>
6208 * restore-src/amfetchdump.c: Properly clean up logfiles. Also,
6209 run as user amanda even if we are started as some other user.
6210 Thanks to Paul Bijnens <pbijnens@users.sourceforge.net> for the
6213 2006-01-25 Paddy Sreenivasan <paddy@zmanda.com>
6214 * common-src/amanda.h: Removed unnecessary header include files.
6216 2006-01-25 Kevin Till<ktill@zmanda.com>
6217 * server-src/amadmin.c: fix for sourceforge bug 1412698
6218 add missing parameters to "amadmin x disklist"
6219 * server-src/amstatus.pl.in: untaint user input, enforce known path.
6220 * server-src/amoverview.pl.in: untaint user input (bug 1353481)
6222 2006-01-25 Kevin Till<ktill@zmanda.com>
6223 * man/xml-source/amanda.conf.5.xml: fix formatting (<para> is not compatible
6224 with some tag) add supported auth types.
6226 2006-01-25 Kevin Till<ktill@zmanda.com>
6227 * common-src/bsd-security.c: move check_security to bsd_security.c,
6229 Thanks to Paul Bijnens
6230 * restore-src/amidxtaped.c: ditto
6231 * server-src/amindexd.c: ditto and no need to tell client
6232 about reason for denial
6233 * common-src/amanda.h: add proto of check_security
6234 * server-src/conffile.c: don't list CRYPT in the summary report
6236 * restore-src/restore.c: set outfd correctly for amfetchdump cases
6237 Thanks to Paul Bijnens
6239 2006-01-24 Ian Turner <ian@zmanda.com>
6240 * man/xml-source/amanda.conf.5.xml: Put documentation of
6241 split-dump options in the right place. Thanks to Paul Bijnens
6242 <pbijnens@users.sourceforge.net> for the fix.
6243 * man/xml-source/amanda.8.xml: ditto.
6245 2006-01-23 Ian Turner <ian@zmanda.com>
6246 * server-src/taperscan.c (find_brand_new_tape_label): Start
6247 brand new tape labels at 1 instead of 0. Thanks to Paul
6248 Bijnens <pbijnens@users.sourceforge.net> for the fix.
6250 2006-01-18 Jean-Louis Martineau <martineau@zmanda.com>
6251 * Amanda 2.5.0b2 released.
6252 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0b2).
6253 * NEWS: Update for 2.5.0b2
6255 2006-01-15 Jean-Louis Martineau <martineau@zmanda.com>
6256 * server-src/disk_history.c: Fix memory leak.
6258 2006-01-15 Jean-Louis Martineau <martineau@zmanda.com>
6259 * common-src/bsd-security.c: Fix memory leak.
6260 * common-src/tapelist.c: Fix memory leak.
6261 * restore-src/amidxtaped.c: Fix memory leak.
6262 * restore-src/restore.c: Fix memory leak.
6263 * server-src/amindexd.c: Fix memory leak.
6264 * server-src/conffile.c: Fix memory leak.
6265 * server-src/disk_history.c: Fix memory leak.
6266 * server-src/find.c: Fix memory leak.
6268 2006-01-13 John Franks <jrfranks@zmanda.com>
6269 * client-src/amandad.c: Remove SO_LINGER and TCP_NDELAY.
6270 Loop on I/O if EINTR or EAGAIN.
6271 * client-src/noop.c: Loop on I/O if EINTR or EAGAIN.
6272 * client-src/sendbackup.c: Remove SIGPIPE handler.
6273 Loop on I/O if EINTR or EAGAIN.
6274 Check for EPIPE on writes.
6275 * common-src/bsd-security.c: Loop on I/O if EINTR or EAGAIN.
6276 * common-src/stream.c: Remove SO_LINGER and TCP_NDELAY.
6277 * common-src/util.c: Loop on I/O if EINTR or EAGAIN.
6278 * recover-src/amrecover.c: Write commanda atomically in sigint handler
6279 * recover-src/extract_list.c:Remove SIGPIPE handler.
6280 Loop on I/O if EINTR or EAGAIN.
6281 Check for EPIPE on writes.
6282 Remove shutdown functions.
6283 * restore-src/amfetchdump.c: Remove SIGPIPE handler.
6284 * restore-src/amidxtaped.c: Remove SO_LINGER and TCP_NDELAY.
6285 Remove SIGPIPE handler.
6286 read_file_header does not return if it
6287 Fix infinite loop on EOF or error and
6288 fail if memory reallocation failure in
6290 * restore-src/restore.c: Remove SIGPIPE handler.
6291 Loop on I/O if EINTR or EAGAIN.
6292 Remove shutdown functions.
6294 * restore-src/restore.h: Change read_file_header to return void
6295 * server-src/amcheck.c: Use fullread() to handel EINTR etc.
6296 Remove unused variable.
6297 * server-src/changer.c: Remove SO_LINGER and TCP_NDELAY.
6298 Use fullwrite on socket.
6299 * server-src/driverio.c: Remove SO_LINGER and TCP_NDELAY.
6300 * server-src/taper.c: Use fullwrite() to write data.
6301 Use fullread() to read data.
6302 * tape-src/output-file.c; Use fullwrite() to write data.
6304 2006-01-13 Jean-Louis Martineau <martineau@zmanda.com>
6305 * server-src/amcheck.c (start_server_check): Remove unused variable
6307 * restore-src/restore.c (restore): Remove unused variable s, l and
6310 2006-01-12 Jean-Louis Martineau <martineau@zmanda.com>
6311 * recover-src/extract_list.c (send_to_tape_server): Do only on write.
6312 * restore-src/amidxtaped.c (get_client_line_fd): New function to read
6313 one complete line from an fd.
6315 2006-01-09 John Franks <jrfranks@zmanda.com>
6316 * common-src/amanda.h: Include tcp.h
6317 * client-src/amandad.c: Set TCP_NODELAY and SO_LINGER on sockets.
6318 * common-src/dgram.c: No linger on datagrams
6319 * common-src/stream.c: Set TCP_NODELAY and SO_LINGER on sockets.
6320 * common-src/util.c: Fix fullwrite to return # of bytes written
6322 * example/amanda.conf.in: Cleanup exclude list template.
6323 Use configure directlries instead of /usr/local
6324 * recover-src/extract_list.c: Cleanup read loops.
6325 Use real fullwrite instead of inline versions.
6326 Remove extra setting of LINGER on socket.
6327 * restore-src/amidxtaped.c: Set TCP_NODELAY and SO_LINGER on sockets.
6328 * restore-src/restore.c:Use real fullwrite instead of inline versions.
6329 * server-src/changer.c: Set TCP_NODELAY and SO_LINGER on sockets.
6330 * server-src/chunker.c: Use real fullwrite instead of inline versions.
6331 * server-src/driverio.c:Set TCP_NODELAY and SO_LINGER on sockets.
6332 * server-src/dumper.c: Use real fullwrite instead of inline versions.
6334 2006-01-09 Ian Turner <ian@zmanda.com>
6335 * changer-src/scsi-changer-driver.c: If there is a problem opening
6336 the device during GenericRewind, don't retry for 201 minutes; give
6337 up after only 200 seconds.
6339 2006-01-09 Ian Turner <ian@zmanda.com>
6340 * server-src/taperscan.c: When doing taper-scan algorithm, properly
6343 2006-01-09 Ian Turner <ian@zmanda.com>
6344 * tape-src/tapeio.c: Generate a more reasonable message when
6345 reading an empty tape label on brand-new tapes.
6347 2006-01-09 Ian Turner <ian@zmanda.com>
6348 * server-src/amcheck.c: Actually do what the documentation for
6349 amcheck -w says; that is, overwrite labels on tapes.
6351 2006-01-06 Kevin Till<ktill@zmanda.com>
6352 * server-src/amcheck.c: check if encrypt or compress program is
6353 executable. Check encrypt/compress configuration.
6354 * server-src/dumper.c: kill encrypt child when dump is stopped
6355 * server-src/amcrypt.sh.in: check for aespipe
6356 * server-src/amaespipe.sh.in: adjust PATH
6357 * man/xml-source/amtapetype.8.xml: fix format problem.
6359 2006-01-06 Jean-Louis Martineau <martineau@zmanda.com>
6360 * recover-src/extract-list.c: Remove 'U' argument for gtar extraction.
6362 2006-01-06 Jean-Louis Martineau <martineau@zmanda.com>
6363 * restore-src/restore.c (flush_open_outputs): Another shutdown is
6366 2006-01-05 John Franks <jrfranks@zmanda.com>
6367 * recover-src/extract_list.c: Extend linger timeouts to 60 seconds.
6368 Use shutdown() on sockets.
6369 Retry reads in case of EINTR or EAGAIN.
6370 * common-src/stream.c: set linger on correct socket.
6371 Extend linger timeouts to 60 seconds.
6372 * restore-src/restore.c: Fix compiler warnings.
6373 * Call shutdown in more cases.
6375 2006-01-05 John Franks <jrfranks@zmanda.com>
6376 * client-src/amandad.c: Set SO_LINGER on sockets.
6377 * common-src/dgram.c: Set SO_LINGER on sockets.
6378 * common-src/stream.c: Set SO_LINGER on sockets.
6379 * common-src/util.c: Return any bytes already read on error or EOF.
6380 * recover-src/extract_list.c: Set SO_LINGER on data socket.
6381 Fix printf of unterminated string data.
6382 Check return codes on socket header reads.
6383 * restore-src/amidxtaped.c: Set SO_LINGER on sockets.
6384 Check return codes on socket header reads.
6385 * restore-src/restore.c:
6386 Flush newline after operator prompt.
6387 * common-src/debug.c:
6388 Fix memory leak when debug file name already exists.
6389 Print error text upon hard open() error.
6390 Allow group members read only access to log files.
6392 2006-01-05 Kevin Till<ktill@zmanda.com>
6393 * restore-src/restore.c: handle sigpipe. Some program (e.g. bzip2) closes reading pipe
6394 early when it sees trailing garbage after EOF.
6396 2006-01-02 Jean-Louis Martineau <martineau@zmanda.com>
6397 * common-src/amanda.h: Add a FD_COPY macro.
6398 * recover-src/extract_list.c (writer_intermediary): Don't use
6399 writer_intermediary, do the select locally.
6401 2006-01-02 Jean-Louis Martineau <martineau@zmanda.com>
6402 * restore-src/restore.c (flush_open_outputs): Call shutdown before
6405 2005-12-30 John Franks <jrfranks@zmanda.com>
6406 * recover-src/extract_list.c:
6407 Fix double clearing of buffer during normal read path.
6408 * restore-src/amidxtaped.c
6409 Actually initialize changer if it is needed. (Set use_changer
6410 before checking it...)
6411 * Fix control messages being sent down the data pipe when
6412 restoring to client that does not support split dumps.
6413 * Print error and exit if a split dump is needed during restore
6414 and client can not handle it.
6416 2005-12-30 Ian Turner <ian@zmanda.com>
6417 * common-src/fileheader.c: Remove xx/UNKNOWN split-dump header
6418 syntax, in favor of xx/-1.
6420 2005-12-29 John Franks <jrfranks@zmanda.com>
6421 * recover-src/display_commands.c
6422 Fix list deletion which did not update list root with NULL pointer.
6423 Make free_dir_item() a non-recursive function to prevent stack bloat.
6424 Fix list insertion code which inserts item in list initializes entry.
6425 * recover-src/extract_list.c
6426 Fix to initialize lditem before using it...
6427 Prevent multiple frees of cmd string.
6428 Do not free err which is only initialized with static string pointers.
6429 Fix typo which caused newstralloc() to free the wrong memory.
6430 * server-src/amindexd.c
6431 Fix Compiler warning of unused variable.
6432 * server-src/taperscan.c
6433 Fix Compiler warning of bogus format specifier.
6435 2005-12-29 Kevin Till<ktill@zmanda.com>
6436 * man/xml-source/amcrypt.8.xml: add new amcrypt man page
6437 * man/xml-source/amaespipe.8.xml: add new amaespipe man page
6439 2005-12-29 Ian Turner <ian@zmanda.com>
6440 * man/xml-source/amanda.conf.5.xml: Document label_new_tapes
6443 2005-12-28 Ian Turner <ian@zmanda.com>
6444 * recover-src/amrecover.h: Use dynamic strings in struct DIR_ITEM.
6445 * recover-src/display_commands.c: ditto
6446 * recover-src/extract_list.c: ditto. Also use dynamic strings in
6447 struct EXTRACT_LIST and struct EXTRACT_LIST_ITEM.
6449 2005-12-28 Ian Turner <ian@zmanda.com>
6450 * common-src/amfeatures.h: Add three new amfeatures:
6451 fe_amindexd_marshall_in_OLSD, fe_amindexd_marshall_in_ORLD,
6452 fe_amindexd_marshall_in_DHST.
6453 * common-src/amfeatures.c: ditto.
6454 * server-src/amindexd.c: Talk well to older clients.
6456 2005-12-23 Ian Turner <ian@zmanda.com>
6457 * server-src/taperscan.c: Don't crash if find_brand_new_tape_label
6458 returns NULL. Also, don't return NULL from
6459 find_brand_new_tape_label without a good excuse.
6461 2005-12-23 Kevin Till <ktill@zmanda.com>
6462 * client-src/client_util.c: change server_decrypt_option to
6463 server-decrypt-option
6464 * client-src/sendbackup.c: change client_decrypt_option to
6465 client-decrypt-option
6466 * server-src/dumper.c: ditto
6467 * common-src/amfeatures.c: add crypt related amfeaturs
6468 * common-src/amfeatures.h: ditto
6469 * server-src/diskfile.c: amfeatures checking and warns on
6472 2005-12-23 Paddy Sreenivasan <paddy@zmanda.com>
6473 * restore-src/restore.c:
6474 * server-src/amtape.c:
6475 * server-src/taperscan.c : Make scan_init static function
6477 2005-12-23 John Franks <jrfranks@zmanda.com>
6478 * server-src/taper.c: Reduce I/O's system call overhead by 30%
6479 in main read / write loop.
6481 2005-12-23 John Franks <jrfranks@zmanda.com>
6482 * recover-src/restore.c Remove inapproriate aclose which caused
6483 broken restore pipe.
6484 * recover-src/extract_list.c Fix and cleanup read_buffer()
6485 mainly to fix hole that drops parital buffer of data if end
6486 of file is reached or an error occured.. Touched up calling
6487 functions to make sure EOF/timeouts are handled correctly.
6488 Increased normal path read timeout value from on second to
6489 whatever READ_TIMEOUT is set to.
6491 2005-12-22 Jean-Louis Martineau <martineau@zmanda.com>
6493 * restore-src/restore.c (restore): Remova an aclose.
6495 2005-12-22 Jean-Louis Martineau <martineau@zmanda.com>
6497 * restore-src/amidxtaped.c (cleanup): Function registered with atexit
6498 to remove the log file.
6500 2005-12-20 Jean-Louis Martineau <martineau@zmanda.com>
6502 * server-src/Makefile.am (noinst_HEADERS): Add taperscan.h.
6504 2005-12-20 John Franks <jrfranks@zmanda.com>
6506 * restore-src/restore.c: Remove unused variables.
6507 Fix uninitialize reference to bytes_read.
6508 * server-src/amcheck.c: Remove unused variables.
6509 Include taperscan.h for missing prototype.
6510 * server-src/amtape.c: Remove unused variables.
6511 Include taperscan.h for missing prototype.
6512 * server-src/taper.c: Remove unused variables.
6513 Minor indenting changes.
6514 * server-src/taperscan.c:Remove unused variables.
6515 Fix typo which assigns NULL rather than
6517 Commented out reference to auto_pos which
6518 is assigned but never used...
6520 2005-12-20 Jean-Louis Martineau <martineau@zmanda.com>
6522 * common-src/fileheader.c (parse_file_header): Parse '/' in part.
6523 * common-src/fileheader.c (build_header): Add space ' ' before "part".
6525 2005-12-20 Jean-Louis Martineau <martineau@zmanda.com>
6527 * server-src/reporter.c: Fix report of output size.
6529 2005-12-19 Ian Turner <ian@zmanda.com>
6530 * server-src/taperscan.c: Check that automatic tape labels satisfy
6533 2005-12-19 Ian Turner <ian@zmanda.com>
6534 * server-src/fileheader.c: Fix broken split-dump file headers.
6536 2005-12-18 Jean-Louis Martineau <martineau@zmanda.com>
6537 Patch by Paul Bijnens
6539 * server-src/amcheck.c: Tapelist file is regular file.
6541 2005-12-17 Jean-Louis Martineau <martineau@zmanda.com>
6543 * restore-src/restore.c (get_block): Return a ssize_t.
6544 * restore-src/restore.c: convert ssize_t to long for printing.
6545 * restore-src/restore.c (restore>): Remove unused variable, outpipe,
6548 2005-12-17 John R. Franks <jrfranks@zmanda.com>
6550 * restore-src/restore.h (read_file_header, restore): Return a ssize_t
6551 instead of using a global variable bytes_read.
6552 * restore-src/restore.c: Use local variable instead of global
6553 bytes_read. Many memory management fixe. Fixe pipe handling,
6554 * restore-src/amrestore.c: Use new read_file_header and restore.
6555 * restore-src/amfetchdump.c: Use new read_file_header and restore.
6557 2005-12-17 Jean-Louis Martineau <martineau@zmanda.com>
6558 With Kevin Till <ktill@zmanda.com>
6560 * common-src/fileheader.c (parse_file_header): Fix parsing of first
6562 * common-src/fileheader.c (build_header): Print crypt after programi
6563 and only if it is needed.
6565 2005-12-14 Ian Turner <ian@zmanda.com>
6567 * common-src/alloc.c: Add new function vstrextend, which extends an
6569 * common-src/amanda.h: Define vstrextend.
6570 * example/amanda.conf.in: Document new option
6571 label_new_tapes. Change default labelstr.
6572 * man/xml-source/amcheck.8.xml: Emphasize the destructiveness of
6574 * restore-src/restore.c: Use the new changer_find interface.
6575 * server-src/Makefile.am: Add new file taperscan.c
6576 * server-src/amcheck.c: Use the taper-scan algorithm in taperscan.c,
6577 instead of the previous separate amcheck implementation.
6578 * server-src/amtape.c: Use the taper-scan algorithm in taperscan.c,
6579 instead of the previous separate amtape implementation. Also, use
6580 the new changer_find interface for other kinds of tape finding.
6581 * server-src/changer.c: Eliminate changer_scan. Change the API to
6582 changer_find, so that callers can pass a user-data object, instead
6584 * server-src/changer.h: Declare and document new changer_find
6586 * server-src/conffile.c: Add new config option label_new_tapes.
6587 * server-src/conffile.h: ditto.
6588 * server-src/taper.c: Use the taper-scan algorithm in taperscan.c,
6589 instead of the previous separate taper implementation. Also,
6590 combine tape-label-reading for ZFTAPE and non-ZFTAPE drives (the
6591 difference only matters on writing).
6592 * server-src/taperscan.c: Refactor the taper-scan algorithm from
6593 taper, amtape, and amcheck. Implement label_new_tapes feature.
6594 * server-src/taperscan.h: Declare and document new taperscan
6596 * tape-src/tapeio.c: Notice the difference between a non-Amanda tape
6597 and some other tape-reading problem.
6598 * tape-src/tapeio.h: New declarations.
6600 2005-12-13 Jean-Louis Martineau <martineau@zmanda.com>
6602 * server-src/reporter.c (handle_success): On a taper line, the outsize
6603 should only count dump to tape, not flush.
6605 2005-12-13 Jean-Louis Martineau <martineau@zmanda.com>
6607 * server-src/amstatus.pl.in: Parse chunker DONE line to set output size.
6609 2005-12-09 John Franks <jrfranks@zmanda.com>
6611 * client-src/Makefile.am: Do not include tape library if
6612 configuring with --without-server option.
6613 * recover-src/Makefile.am: Do not include tape library if
6614 configuring with --without-server option.
6616 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
6618 * configure.in: Move the size detection after detection of large
6619 file support. That change the size of off_t.
6621 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
6623 * common-src/amanda.h: Set OFF_T_FMT to printf format of a off_t.
6624 * server-src/taper.c: Use OFF_T_FMT.
6626 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
6628 * configure.in: Set LL_FMT correctly.
6629 * server-src/conffile.c: Use LL_FMT.
6631 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
6633 * server-src/conffile.c: Maxdumpsize is a AM64.
6634 * server-src/planner.c: conf_maxdumpsize, total_size, tape_length and
6635 tape_mark are am64_t.
6637 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
6639 * configure.in: Check for sizeof of many type. Check printf format of
6641 * common-src/amanda.h: Typedef am64_t to a 64 bits signed type,i
6642 set AM64_FMT to the printf format of a am64_t variable.
6643 * server-src/conffile.c: New AM64 type.
6644 * server-src/conffile.h(getconf_am64): Prototype.
6646 2005-12-08 Jean-Louis Martineau <martineau@zmanda.com>
6648 * client-src/Makefile.am: Remove amqde.
6649 * client-src/sendsize.c: Remove code to call amqde.
6650 * client-src/amqde.c: Remove file.
6651 * configure.in: Remove '--with-qde' option.
6653 2005-12-05 Jean-Louis Martineau <martineau@zmanda.com>
6655 * server-src/amindexd.c (reply, lreply, fast_lreply): Must use
6656 str_buffer_sizebuf instead of sizeof(bug).
6658 2005-12-05 Jean-Louis Martineau <martineau@zmanda.com>
6660 * server-src/planner.c: Print the time in the FINISH line.
6661 * server-src/reporter.c: The estimate time is based on the planner
6664 2005-12-05 Jean-Louis Martineau <martineau@zmanda.com>
6666 * common-src/Makefile.am (bsdsecurity_LDADD): Add ssh-security.
6668 2005-12-05 Jean-Louis Martineau <martineau@zmanda.com>
6670 * server-src/holding.c (scan_holdingdisk): Static function.
6671 * server-src/taper.c (signal_handler, install_signal_handlers): Ditto.
6672 * server-src/reporter.c (output_strange,do_postscript_output): Ditto.
6674 2005-12-04 Jean-Louis Martineau <martineau@zmanda.com>
6676 * server-src/logfile.c (logtype_str): Add important ','.
6678 2005-12-03 Jean-Louis Martineau <martineau@zmanda.com>
6680 * server-src/planner.c (setup_estimate): Fix wrong order for argument.
6682 2005-12-03 Jean-Louis Martineau <martineau@zmanda.com>
6684 * server-src/driver.c (start_some_dumps): Don't test for
6685 cur_idle == NOT_IDLE.
6687 2005-12-03 Jean-Louis Martineau <martineau@zmanda.com>
6689 * server-src/driverio.c (check_unfree_serial): New fonction to check
6690 unfreed serial number.
6691 * server-src/driverio.c (free_serial_dp): Set stable[s].dp to NULL.
6692 * server-src/driverio.h (check_unfree_serial): Prototype.
6693 * server-src/driver.c (main): Call check_unfree_serial.
6695 2005-12-02 Jean-Louis Martineau <martineau@zmanda.com>
6696 Patch by Franz Fischer
6698 * config/acinclude.m4i: Fix for __alpha.
6700 2005-12-02 Jean-Louis Martineau <martineau@zmanda.com>
6702 * common-src/util.c: Debug must end with '\n'.
6704 2005-12-01 Jean-Louis Martineau <martineau@zmanda.com>
6706 * configure.in: Amanda support x86_64-unknown-linux-gnu.
6708 2005-11-30 Jean-Louis Martineau <martineau@zmanda.com>
6710 * common-src/rsh-security.c (rsh_sendpkt): buf is a char array.
6711 * common-src/ssh-security.c (rsh_sendpkt): buf is a char array.
6712 * config/acinclude.m4i (AX_CREATE_STDINT_H): Newer macro.
6714 2005-11-30 Jean-Louis Martineau <martineau@zmanda.com>
6716 * client-src/rundump.c: undef USE_RUNDUMP before define.
6718 2005-11-30 Jean-Louis Martineau <martineau@zmanda.com>
6719 Patch by Franz Fischer
6721 * client-src/amqde.c: Fix compiler warning.
6723 2005-11-30 Jean-Louis Martineau <martineau@zmanda.com>
6724 Patch by Franz Fischer
6726 * common-src/event.h: Fix compiler warning.
6727 * server-src/conffile.h: Fix compiler warning.
6729 2005-11-30 Kevin Till <ktill@zmanda.com>
6731 * client-src/client_util.c add server-side, client-side encryption
6732 as well as custom compression. Custom compression patch is
6733 orginally created by Matthieu Lochegnies.
6734 * client-src/client_util.h Ditto
6735 * client-src/selfcheck.c Ditto
6736 * client-src/sendbackup-dump.c Ditto
6737 * client-src/sendbackup-gnutar.c Ditto
6738 * client-src/sendbackup.c Ditto
6739 * client-src/sendbackup.h Ditto
6740 * common-src/fileheader.c Ditto
6741 * common-src/fileheader.h Ditto
6742 * common-src/util.h Ditto
6743 * example/amanda.conf.in Ditto
6744 * man/xml-source/amanda.conf.5.xml Ditto
6745 * restore-src/amrestore.c Ditto
6746 * restore-src/restore.c Ditto
6747 * server-src/conffile.c Ditto
6748 * server-src/conffile.h Ditto
6749 * server-src/diskfile.c Ditto
6750 * server-src/diskfile.h Ditto
6751 * server-src/dumper.c Ditto
6753 2005-11-29 Jean-Louis Martineau <martineau@zmanda.com>
6755 * config/libtool.m4i: libtool 1.5.20
6756 * config/ltmain.sh: libtool 1.5.20
6758 2005-11-29 Jean-Louis Martineau <martineau@zmanda.com>
6759 Patch by Franz Fischer
6761 * common-src/fileheader.c (build_header): Declation before instruction.
6762 * restore-src/amfetchdump.c: Don't use C++ style comment.
6763 * restore-src/restore.c: Don't use C++ style comment.
6764 * server-src/amindexd.c (reply, lreply, fast_lreply): buf must be
6765 dynamicaly allocated.
6766 * server-src/logfile.h: Don't use C++ style comment.
6767 * server-src/taper.c (free_split_buffer): Test splitbuf against NULL.
6769 2005-11-22 Paddy Sreenivasan <paddy@zmanda.com>
6770 * common-src/rsh-security.c: Fix x86_64 compile warnings.
6771 * common-src/ssh-security.c: Fix x86_64 compile warnings.
6772 * man/Makefile.am: Added EXTRA_XML files.
6773 * man/xml-source/amanda.8.xml: Added spanning patch variables.
6774 * man/xml-source/amrecover.8.xml: Added amfetchdump to SEE ALSO.
6775 * xslt/global.entities: Removed file.
6777 2005-11-20 Jean-Louis Martineau <martineau@zmanda.com>
6778 Patch by Jon H. LaBadie
6780 * changer-src/chg-disk.sh.in: Check permission on file access.
6782 2005-11-17 Paddy Sreenivasan <paddy@zmanda.com>
6783 * man/entities/global.entities: New file. Added man page entities.
6784 * man/entities/xinclude.dtd: New file.
6785 * man/xslt/man.xsl: Correct include path for settings.xsl.
6787 2005-11-15 John R. Franks <jrfranks@zmanda.com>
6788 * changer-src/scsi-changer-driver.c: Fix IA-64 compile warnings.
6789 * common-src/rsh-security.c: Fix IA-64 compile warnings.
6790 * common-src/ssh-security.c: Fix IA-64 compile warnings.
6791 * regex-src/engine.c: Fix IA-64 compile warnings.
6792 * regex-src/regexec.c: Fix IA-64 compile warnings.
6794 2005-11-15 Paddy Sreenivasan <paddy@zmanda.com>
6796 * configure.in: Changed defaults for tape_dev and nr_tape_dev.
6797 * example/amanda.conf.in: Leave only changerfile definition
6799 * man/xml-source/amanda.conf.5.xml: Updated defaults for
6800 tapedev and rawtapedev
6802 2005-11-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
6804 * server-src/planner.c: Fix incronly.
6806 2005-11-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
6808 * man/Makefile.am: Set man_MANS,
6810 2005-11-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
6812 * man/Makefile.am: Set man5_MANS and man8_MANS,
6813 install-data-hook use them.
6815 2005-11-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
6816 Patch by Olivier Cherrier
6818 * man/Makefile.am (install-data-hook): Set protection correclty
6821 2005-10-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
6823 * common-src/util.c (bind_portrange): Increase port in all case.
6825 2005-10-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
6827 * server-src/conffile.c: Allow runtapes==0.
6828 * server-src/driver.c: Use a global conf_runtapes. Don't start a
6829 taper if runtapes==0.
6830 * server-src/reporter.c: Don't print The next tapes if runtapes==0.
6833 2005-10-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
6835 * Amanda 2.5.0b1 released.
6836 * configure.in: AM_INIT_AUTOMAKE(amanda, 2.5.0b1).
6837 * NEWS: Update for 2.5.0b1.
6839 2005-10-25 Ian Turner <ian@zmanda.com>
6841 * man/Makefile.am: include amfetchdump.8.
6842 * man/xml-source/amadmin.8.xml: Add spanning-patch documentation.
6843 * man/xml-source/amanda.8.xml: ditto
6844 * man/xml-source/amrecover.8.xml: ditto
6845 * man/xml-source/amfetchdump.8.xml: ditto (new file)
6846 * man/xslt/global.entities: Add myself, Zmanda Inc.
6848 2005-10-24 Jean-Louis Martineau <martineau@zmanda.com>
6850 * client-src/sendsize.c (getsize_wrapper): Add a NULL at the end of
6851 the argvchild array.
6853 2005-10-20 Jean-Louis Martineau <martineau@zmanda.com>
6855 * server-src/server_util.c (getcmd): Print DEBUG to stderr.
6857 2005-10-20 Ian Turner <ian@zmanda.com>
6859 * configure.in: Check for xsltproc.
6860 * man/Makefile.am: Properly build, clean, and distribute generated
6861 manpages from XML source.
6862 * man/amadmin.8: Remove from CVS
6863 * man/amanda.8: Remove from CVS
6864 * man/amanda.conf.5: Remove from CVS
6865 * man/amcheck.8: Remove from CVS
6866 * man/amcheckdb.8: Remove from CVS
6867 * man/amcleanup.8: Remove from CVS
6868 * man/amdd.8: Remove from CVS
6869 * man/amdump.8: Remove from CVS
6870 * man/amflush.8: Remove from CVS
6871 * man/amgetconf.8: Remove from CVS
6872 * man/amlabel.8: Remove from CVS
6873 * man/ammt.8: Remove from CVS
6874 * man/amoverview.8: Remove from CVS
6875 * man/amplot.8: Remove from CVS
6876 * man/amrecover.8: Remove from CVS
6877 * man/amreport.8: Remove from CVS
6878 * man/amrestore.8: Remove from CVS
6879 * man/amrmtape.8: Remove from CVS
6880 * man/amstatus.8: Remove from CVS
6881 * man/amtape.8: Remove from CVS
6882 * man/amtapetype.8: Remove from CVS
6883 * man/amtoc.8: Remove from CVS
6884 * man/amverify.8: Remove from CVS
6885 * man/amverifyrun.8: Remove from CVS
6886 * man/xml-source/amadmin.8.xml: Add from xml-docs
6887 * man/xml-source/amanda.8.xml: Add from xml-docs
6888 * man/xml-source/amanda.conf.5.xml: Add from xml-docs
6889 * man/xml-source/amcheck.8.xml: Add from xml-docs
6890 * man/xml-source/amcheckdb.8.xml: Add from xml-docs
6891 * man/xml-source/amcleanup.8.xml: Add from xml-docs
6892 * man/xml-source/amdd.8.xml: Add from xml-docs
6893 * man/xml-source/amdump.8.xml: Add from xml-docs
6894 * man/xml-source/amflush.8.xml: Add from xml-docs
6895 * man/xml-source/amgetconf.8.xml: Add from xml-docs
6896 * man/xml-source/amlabel.8.xml: Add from xml-docs
6897 * man/xml-source/ammt.8.xml: Add from xml-docs
6898 * man/xml-source/amoverview.8.xml: Add from xml-docs
6899 * man/xml-source/amplot.8.xml: Add from xml-docs
6900 * man/xml-source/amrecover.8.xml: Add from xml-docs
6901 * man/xml-source/amreport.8.xml: Add from xml-docs
6902 * man/xml-source/amrestore.8.xml: Add from xml-docs
6903 * man/xml-source/amrmtape.8.xml: Add from xml-docs
6904 * man/xml-source/amstatus.8.xml: Add from xml-docs
6905 * man/xml-source/amtape.8.xml: Add from xml-docs
6906 * man/xml-source/amtapetype.8.xml: Add from xml-docs
6907 * man/xml-source/amtoc.8.xml: Add from xml-docs
6908 * man/xml-source/amverify.8.xml: Add from xml-docs
6909 * man/xml-source/amverifyrun.8.xml: Add from xml-docs
6910 * man/xslt/expand-sambadoc.xsl: Add from xml-docs
6911 * man/xslt/global.entities: Add from xml-docs
6912 * man/xslt/man.xsl: Add from xml-docs
6913 * man/xslt/settings.xsl: Add from xml-docs
6915 2005-10-20 Jean-Louis Martineau <martineau@zmanda.com>
6917 * server-src/amstatus.pl.in: a FLUSH command can't be in an estimate
6919 * server-src/driver.c: Start autoflush while waiting for estimate.
6920 * server-src/planner.c: Write FLUSH line before estimate.
6922 2005-10-17 Jean-Louis Martineau <martineau@zmanda.com>
6923 Patch by John R. Franks <jrfranks@zmanda.com>
6925 * server-src/taper.c (create_split_buffer): Should not use sizeof().
6927 2005-10-17 Jean-Louis Martineau <martineau@zmanda.com>
6929 * server-src/taper.c (read_file): Move the putresult(DONE) to the
6930 right place, some cleanup.
6932 2005-10-17 Jean-Louis Martineau <martineau@zmanda.com>
6934 * server-src/planner.c: Increase DEFAULT_DUMPRATE to 1024 K/s.
6936 2005-10-17 Ian Turner <ian@zmanda.com>
6938 * Changelog: Fix line breaks.
6939 * restore-src/restore.c: Give more useful FSF error messages.
6940 * recover-src/extract_list.c: Do better error checking on passed port
6942 * common-src/tapelist.c: Do proper memory management of strings.
6943 Otherwise really bad stuff happens.
6945 2005-10-17 Jean-Louis Martineau <martineau@zmanda.com>
6947 * server-src/taper.c: Set SIGPIPE to SIG_IGN, the code already
6948 handle it correctly.
6950 2005-10-16 Jean-Louis Martineau <martineau@zmanda.com>
6952 * server-src/taper.c (signal_handler): Don't REMOVE_SHARED_MEMORY, it
6955 2005-10-16 Jean-Louis Martineau <martineau@zmanda.com>
6957 * server-src/driverio.c (serial2disk): Print str if error.
6959 2005-10-15 Paddy Sreenivasan <paddy@zmanda.com>
6961 * server-src/taper.c: Shared memory need not be removed in normal paths.
6962 Done as part of atexit.
6964 2005-10-15 Jean-Louis Martineau <martineau@zmanda.com>
6965 Patch by John R. Franks <jrfranks@zmanda.com>
6967 * changer-src/scsi-aix.c: calls to open/openx guages success by
6968 checking for a file descriptor greater than 0. 0 is also a valid
6969 descriptor so the check should be >= 0.
6970 Calls to SCSI_OpenDevice does not check for error return.
6971 Calls to SCSI_OpenDevice does not check for error return.
6972 Calls to SCSI_OpenDevice does not check for error return.
6973 Call to opendir() does not check for error.
6974 * changer-src/scsi-hpux_new.c: Ditto.
6975 * changer-src/scsi-irix.c: Ditto.
6976 * changer-src/scsi-linux.c: Ditto.
6977 * changer-src/scsi-solaris.c: Ditto.
6978 * client-src/selfcheck.c: Call to open() does not check for error.
6979 * client-src/sendbackup.c: Call to freopen() does not check for error.
6980 * client-src/sendsize.c: Call to open() does not check for error.
6981 * common-src/bsd-security.c: Call to open() does not check for error.
6982 * common-src/file.c: Call to open() does not check for error.
6983 * restore-src/amrestore.c: Calls to tape_open() do not always check
6984 return code. open() is called with open flags set to 0
6985 (Call always fails with an EINVAL)
6986 * restore-src/restore.c: fopen() return error check is "fopen() < 0".
6987 fopen returns a pointer and the proper check should be
6989 Call to open() does not check for error.
6990 * tape-src/tapeio.c: tape_open() is called here and other places with a
6991 variable number of arguments, and yet is not defined as a varargs
6993 * tape-src/tapeio.h: Prototype for tape_open.
6995 2005-10-15 Jean-Louis Martineau <martineau@zmanda.com>
6996 Patch by Paddy Sreenivasan <paddy@zmanda.com>
6998 * client-src/sendsize.c: Log message changes.
6999 * server-src/taper.c: And an atexit function to detach shared memory.
7000 Trap some signal and detach shared memory.
7002 2005-10-14 Jean-Louis Martineau <martineau@zmanda.com>
7004 * regex-src/regcomp.c (findmust): Initialized start to NULL.
7006 2005-10-14 Jean-Louis Martineau <martineau@zmanda.com>
7007 Patch by John R. Franks <jrfranks@zmanda.com>
7009 * regex-src/cclass.h: Fixed to add missing braces and reformat long
7010 strings to fix in 80 columns.
7011 * regex-src/cname.h: Fixed by adding braces and tidying up code a bit.
7012 * regex-src/regcomp.c (p_ere): Initialized prevback and prevfwd to 0.
7013 ifdef out unused mcsub, mcin and mcfind functions.
7014 (findmust) Initialized newstart to NULL.
7015 * regex-src/regerror.c: Adds missing braces.
7016 * regex-src/regexec.c (nope): Use only in assert, so it is not only
7017 defined if NDEBUG is not defined.
7019 2005-10-14 Jean-Louis Martineau <martineau@zmanda.com>
7020 Patch by John R. Franks <jrfranks@zmanda.com>
7022 * common-src/krb4-security.c (krb4_security_dummy): Rename from dummy,
7023 it is not static int.
7024 * common-src/krb5-security.c (krb5_security_dummy): Rename from dummy,
7025 it is not static int.
7027 2005-10-13 Jean-Louis Martineau <martineau@zmanda.com>
7029 * common-src/util.c (bind_portrange): New argument proto.
7030 Check for reserved port.
7031 * common-src/util.h (bind_portrange): New prototype.
7032 * common-src/bsd-security.c (bind_portrange): New prototype.
7033 * common-src/dgram.c: Add "udp" as argument to bind_portrange.
7034 * common-src/stream.c: Add "tcp" as argument to bind_portrange.
7036 2005-10-12 Jean-Louis Martineau <martineau@zmanda.com>
7038 * restore-src/amidxtaped.c (check_security_buffer): i is a socklen_t.
7039 * restore-src/amidxtaped.c (main): Remove i, fd, amrestore_path, pid,
7040 isafile, stat_tape, tapename, s, fp, ch and errstr variable.
7042 2005-10-11 Ian Turner <ian@zmanda.com>
7043 Patch by Jean-Louis Martineau <martineau@zmanda.com>
7045 * restore-src/amfetchdump.c: Remove unused variable debug.
7046 * restore-src/amidxtaped.c: Remove lock_logfile(), which is also
7048 * restore-src/Makefile.am: Include libamanda twice, to fix build
7051 2005-10-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7053 * restore-src/Makefile (noinst_HEADERS): Add restore.h.
7054 * restore-src/restore.c (search_tapes): Add the fourth argument to
7057 2005-10-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7059 * server-src/conffile.c: dpcur.s_split_diskbuffer must be initialize
7061 * server-src/reporter.c (handle_partial): Set repdata to the result
7063 * server-src/taper.c: Set the first-file.
7065 2005-10-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7067 * client-src/client_util.c, server-src/amcheck.c,
7068 server-src/reporter.c: Add missing type for arguments.
7070 2005-10-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7072 * server-src/taper.c (tape_writer_side): detach_buffers on normal exit.
7074 2005-10-10 Ian Turner <ian@zmanda.com>
7076 * server-src/amtape.h: Apply tape-spanning patch by John Stange
7077 <building@cs.umd.edu> as ported to 2.5.0 by Ian Turner, with
7078 contributions by Christopher Pascoe <c.pascoe@itee.uq.edu.au>.
7079 * configure.in: Ditto
7080 * amplot/Makefile.am: Ditto
7081 * changer-src/Makefile.am: Ditto
7082 * client-src/Makefile.am: Ditto
7083 * common-src/Makefile.am: Ditto
7084 * common-src/amanda.h: Ditto
7085 * common-src/amfeatures.c: Ditto
7086 * common-src/amfeatures.h: Ditto
7087 * common-src/fileheader.c: Ditto
7088 * common-src/fileheader.h: Ditto
7089 * common-src/match.c: Ditto
7090 * common-src/tapelist.c: Ditto
7091 * common-src/tapelist.h: Ditto
7092 * example/amanda.conf.in: Ditto
7093 * man/Makefile.am: Ditto
7094 * recover-src/amrecover.c: Ditto
7095 * recover-src/amrecover.h: Ditto
7096 * recover-src/display_commands.c: Ditto
7097 * recover-src/extract_list.c: Ditto
7098 * restore-src/Makefile.am: Ditto
7099 * restore-src/amfetchdump.c: Ditto
7100 * restore-src/amfetchdump.h: Ditto
7101 * restore-src/amidxtaped.c: Ditto
7102 * restore-src/amrestore.c: Ditto
7103 * restore-src/restore.c: Ditto
7104 * restore-src/restore.h: Ditto
7105 * server-src/Makefile.am: Ditto
7106 * server-src/amadmin.c: Ditto
7107 * server-src/amindexd.c: Ditto
7108 * server-src/amoverview.pl.in: Ditto
7109 * server-src/amtoc.pl.in: Ditto
7110 * server-src/amverify.sh.in: Ditto
7111 * server-src/changer.c: Ditto
7112 * server-src/conffile.c: Ditto
7113 * server-src/conffile.h: Ditto
7114 * server-src/disk_history.c: Ditto
7115 * server-src/disk_history.h: Ditto
7116 * server-src/diskfile.c: Ditto
7117 * server-src/diskfile.h: Ditto
7118 * server-src/driver.c: Ditto
7119 * server-src/driverio.c: Ditto
7120 * server-src/find.c: Ditto
7121 * server-src/find.h: Ditto
7122 * server-src/holding.c: Ditto
7123 * server-src/holding.h: Ditto
7124 * server-src/logfile.c: Ditto
7125 * server-src/logfile.h: Ditto
7126 * server-src/planner.c: Ditto
7127 * server-src/reporter.c: Ditto
7128 * server-src/server_util.c: Ditto
7129 * server-src/server_util.h: Ditto
7130 * server-src/taper.c: Ditto
7132 2005-10-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7134 * server-src/taper.c: Change message: on new tape due to
7136 2005-10-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7137 Patch by John R. Franks
7139 * common-src/amflock.c (main): Don't call safe_fd, it's not needed
7141 * configure.in: '#include <sys/types.h>' in the check
7142 'for Linux like scsi support (sg)'
7144 2005-10-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7146 * client-src/amandad.c (writebuf): Call waitpid in the parent.
7148 2005-10-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7150 * client-src/amandad.c (service_delete): Remove call to sleep.
7151 * common-src/bsd-security.c: Add bsdprintf. Add more debug.
7152 The handle is used as a string, instead of 2 int.
7154 2005-10-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7156 * common-src/rsh-security.c: rshprintf should call dbprint.
7157 * common-src/ssh-security.c: rshprintf should call dbprint, add many
7159 * common-src/event.c: Add eventprintf, use it. Add debug_prefix_time
7162 2005-10-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7164 * common-src/stream.c: len is a socklen_t.
7165 * server-src/amindexd.c: Add socklen as a socklen_t.
7166 * restore-src/amidxtaped.c: Add socklen as a socklen_t.
7167 * tape-src/tapetype.c: Change printf format.
7168 * server-src/amlabel.c: Add a variable isa_zftape. init fd to -1.
7169 * server-src/dumper.c: Init outfd to -1.
7170 * common-src/file.c (areads_getbuf): First argument is const.
7172 2005-10-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7174 * server-src/reporter.c: Don't trunk hostname/diskname in
7175 'FAILURE AND STRANGE DUMP SUMMARY' section.
7177 2005-10-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7179 * server-src/chunker.c (main): Remove outfd.
7181 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7183 * server-src/conffile.c, server-src/diskfile.c, server-src/infofile.c,
7184 client-src/getfsent.c, common-src/statfs.c, common-src/token.c
7185 (main): Remove fd declaration.
7187 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7189 * client-src/runtar.c: 'e' and 'bdf' are only needed if GNUTAR.
7191 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7193 * common-src/sl.c (insert_sort_sl). Typo.
7195 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7197 * config/config.guess: Update from automake 1.9.5.
7198 * config/config.sub: Update from automake 1.9.5.
7199 * config/depcomp: Update from automake 1.9.5.
7200 * config/install-sh: Update from automake 1.9.5.
7201 * config/missing: Update from automake 1.9.5.
7202 * config/mkinstalldirs: Update from automake 1.9.5.
7203 * config/ltmain.sh: Update from libtool-1.5.16.
7204 * config/libtool.m4i: Update from libtool-1.5.16.
7206 2005-09-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7208 * common-src/bsd-security.c: Fix small bug.
7210 2005-09-22 John R. Jackson <jrj@purdue.edu>
7212 * configure.in: If --without-server is specified, either on the
7213 command line or via config.site, make sure --without-restore
7214 is also in effect. Avoids compilation errors if mismatched.
7215 * example/config.site: Document above.
7217 2005-09-21 John R. Jackson <jrj@purdue.edu>
7219 * server-src/getconf.c: Allow CLIENT_LOGIN to be retrieved via
7220 "amgetconf build.CLIENT_LOGIN".
7222 2005-09-21 John R. Jackson <jrj@purdue.edu>
7224 * server-src/amlabel.c: 'int fd' is only needed if HAVE_LINUX_ZFTAPE_H
7227 2005-09-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7229 * server-src/amlabel.c: 'int fd' is needed.
7231 2005-09-20 John R. Jackson <jrj@purdue.edu>
7233 * server-src/reporter.c: Fix minor typo noticed by Scott R. Burns
7234 <Scott.Burns@Netcontech.Com>.
7236 2005-09-20 John R. Jackson <jrj@purdue.edu>
7238 * common-src/file.c: Create safe_fd() to do common file descriptor
7239 safety operations at the start of every program. In addition
7240 to closing everything from three on up that used to be done
7241 with explicit code, make sure stdin, stdout and stderr are
7242 open per a potential (but unlikely) security report from Ben
7243 Schwarz <bschwarz@EECS.berkeley.EDU>.
7244 * common-src/amanda.h: Ditto.
7245 * client-src/amandad.c: Ditto.
7246 * client-src/calcsize.c: Ditto.
7247 * client-src/getfsent.c: Ditto.
7248 * client-src/killpgrp.c: Ditto.
7249 * client-src/rundump.c: Ditto.
7250 * client-src/runtar.c: Ditto.
7251 * client-src/selfcheck.c: Ditto.
7252 * client-src/sendbackup.c: Ditto.
7253 * client-src/sendsize.c: Ditto.
7254 * client-src/versionsuffix.c: Ditto.
7255 * common-src/amflock.c: Ditto.
7256 * common-src/rsh-security.c: Ditto.
7257 * common-src/ssh-security.c: Ditto.
7258 * common-src/statfs.c: Ditto.
7259 * common-src/token.c: Ditto.
7260 * recover-src/amrecover.c: Ditto.
7261 * restore-src/amidxtaped.c: Ditto.
7262 * restore-src/amrestore.c: Ditto.
7263 * server-src/amadmin.c: Ditto.
7264 * server-src/amcheck.c: Ditto.
7265 * server-src/amcleanupdisk.c: Ditto.
7266 * server-src/amflush.c: Ditto.
7267 * server-src/amindexd.c: Ditto.
7268 * server-src/amlabel.c: Ditto.
7269 * server-src/amlogroll.c: Ditto.
7270 * server-src/amtape.c: Ditto.
7271 * server-src/amtrmidx.c: Ditto.
7272 * server-src/amtrmlog.c: Ditto.
7273 * server-src/chunker.c: Ditto.
7274 * server-src/conffile.c: Ditto.
7275 * server-src/diskfile.c: Ditto.
7276 * server-src/driver.c: Ditto.
7277 * server-src/getconf.c: Ditto.
7278 * server-src/infofile.c: Ditto.
7279 * server-src/planner.c: Ditto.
7280 * server-src/reporter.c: Ditto.
7281 * server-src/taper.c: Ditto.
7282 * server-src/dumper.c: Ditto plus remove incorrect chdir to hard
7283 coded "/tmp/amanda".
7285 2005-09-20 John R. Jackson <jrj@purdue.edu>
7287 * client-src/calcsize.c: Fix format string.
7288 * server-src/diskfile.c: Fix compiler warnings.
7289 * server-src/planner.c: Fix compiler warnings.
7291 2005-09-20 John R. Jackson <jrj@purdue.edu>
7293 * common-src/amanda.h: Add dbreopen() so debug file can be closed
7294 and then reopened if needed.
7295 * common-src/debug.c: Ditto.
7296 * client-src/runtar.c: Close the debug file (fd 10) around the
7297 exec of GNU tar. Newer versions complain about stray file
7299 * server-src/getconf.c: Use dbreopen() to create the debug file.
7300 Do not try to open config file unless needed (allows clients to
7301 use build.XXX/dbopen.XXX/dbclose.XXX).
7303 2005-09-20 John R. Jackson <jrj@purdue.edu>
7305 * client-src/sendbackup-dump.c: Ignore a new message from Solaris
7308 2005-09-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7310 * common-src/bsd-security.c: Generate a unique event_id, thei
7311 proto_handle is not always unique.
7313 2005-09-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7315 * server-src/amverify.sh.in: Don't check for EOI, it's buggy.
7317 2005-09-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7319 * server-src/driverio.c: Don't save history with size < 0.
7321 2005-09-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7322 Patch by Geert Uytterhoeven <geert@linux-m68k.org>
7324 * server-src/planner.c: Don't use history with size < 0.
7326 2005-09-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7327 Patch Paul Bijnens <paul.bijnens@xplanation.com>
7329 * server-src/planner.c(delay_dumps): Delay incremental dump also
7332 2005-09-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7333 Patch by Orion Poplawski <orion@cora.nwra.com>
7335 * server-src/amoverview.pl.in: Add options -last, -num0 and -togo0.
7336 * man/amoverview.8: Document -last, -num0 and -togo0.
7338 2005-09-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7339 Patch by Orion Poplawski <orion@cora.nwra.com>
7341 * server-src/driver.c: Make tape_length and tape_left unsigned long.
7343 2005-07-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7344 Patch by Stefan G. Weichinger <monitor@oops.co.at>
7346 * client-src/sendbackup-gnutar.c: Added RE for new Samba-releases.
7348 2005-07-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7350 Bug found by John E Hein <jhein@timing.com>.
7351 * server-src/amadmin.c: Fix of by one with NB_HISTORY.
7352 * server-src/infofile.c:x: Fix of by one with NB_HISTORY.
7354 2005-06-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7355 Patch by Jay Fenlason <fenlason@redhat.com>
7357 * client-src/sendsize.c: Fix dbprintf call.
7359 2005-06-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7360 Stefan G. Weichinger <monitor@oops.co.at>
7362 * example/amanda.conf.in: edited the default-value for the
7363 holdingdisk-usage to "use -100 Mb".
7364 The old value "use 290 Mb" didn't make much
7367 2005-06-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7369 * server-src/amverifyrun.sh.in: Remove buggy space.
7371 2005-05-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7373 * server-src/amadmin.c: Add [--days <num>] argument to tape subcommand.
7375 2005-05-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7377 * example/amanda.conf.in: Update from 2.4.5.
7379 2005-05-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7381 * docs/*: New documentation from xml-docs.
7382 * docs/Makefile.am (pkgdata_DATA): Update for new files.
7384 2005-05-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7386 * man/Makefile.am (COMMON_MAN_PAGES): Add amanda.conf.5.
7388 2005-05-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7390 * man/*: Use man pages form xml-docs.
7391 * configure.in (AC_CONFIG_FILES): Remove all man pages.
7392 * man/Makefile.am (EXTRA_DIST): Add amadmin.8 amanda.8 amanda.conf.5
7393 amcheck.8 amcheckdb.8 amcleanup.8 amdump.8 amflush.8 amgetconf.8
7394 amlabel.8 amoverview.8 amreport.8 amrecover.8 amrmtape.8 amstatus.8
7395 amtapetype.8 amtoc.8 amverify.8 amverifyrun.8
7397 2005-05-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7399 * common-src/rsh-security.c (net_read_fillbuf): Read only a packet,
7401 * common-src/ssh-security.c (net_read_fillbuf): Read only a packet,
7403 * common-src/rsh-security.c (conn_put): Don't kill the process, only do
7404 a wait with WNOHANG.
7405 * common-src/ssh-security.c (conn_put): Don't kill the process, only do
7406 a wait with WNOHANG.
7408 2005-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7410 * changer-src/chg-zd-mtx.sh.in: Improve handling of
7411 "Unknown Storage Element Loaded".
7413 2005-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7414 - https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=144052
7416 * server-src/amverifyrun.sh.in: Filter changer log file.
7418 2005-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7420 * server-src/amcheck.c: Improve messages.
7422 2005-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7424 * client-src/sendsize.c (generic_calc_estimates): Use amname instead
7425 of dirname in message.
7427 2005-03-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7429 * server-src/conffile.h: Rename getcont_unit_divisor to
7430 getconf_unit_divisor.
7431 * server-src/amadmin.c: Use getconf_unit_divisor.
7432 * server-src/amcheck.c: Use getconf_unit_divisor.
7433 * server-src/conffile.c: Use getconf_unit_divisor.
7434 * server-src/conffile.c (unit_divisor): Init to 1.
7435 * server-src/reporter.c: Use getconf_unit_divisor. The mb macro always
7436 divide by 1024. Add the du macro. Use mb or du where appropriate.
7438 2005-03-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7440 * server-src/infofile.h (history_t): Add secs field.
7441 * server-src/infofile.c (read_txinfofile): Parse info file with secs
7443 * server-src/infofile.c (write_txinfofile): Write secs in history.
7444 * server-src/driverio.c (update_info_dumper): Update secs in history.
7446 2005-03-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7448 * server-src/planner.c: Improve server estimate.
7449 * server-src/planner.c: Write server estimate like others estimate.
7451 2005-02-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7453 * server-src/amstatus.pl.in: last_level is negative, on new disk.
7455 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7457 * server-src/amstatus.pl.in: Use '-?' to match negative values
7460 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7461 Patch by Orion Poplawski <orion@cora.nwra.com>
7463 * server-src/amoverview.pl.in: Print the total number of level 0
7464 dumps for each disk and the number of runs until the last level 0
7465 dump will be overwritten.
7467 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7468 Patch by Phil Homewood <pdh@snapgear.com>
7470 * server-src/amoverview.pl.in: Add -skipmissed option.
7472 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7474 * server-src/driver.c: Print the chunksize to the log.
7476 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7478 * client-src/calcsize.c: Print estimate to STDERR.
7479 * client-src/sendsize.c (generic_calc_estimates): Read calcsize result,
7480 and send it to amandad. Write debuging message.
7482 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7483 Patch by Franz G. Fischer
7485 * server-src/conffile.c: Adds a value type LONG and a val_t.l long
7486 union member and changes get_number() to return long and
7487 get_simple() to fill val_t.l if called for a long value. The
7488 get_simple() calls have been changed to LONG for typetype_t.blocksize
7489 typetype_t.length, typetype_t.filemark, holdingdisk_t.disksize and
7490 holdingdisk_t.chunksize.
7492 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7494 * server-src/amdump.sh.in: Redirect in append mode.
7495 * server-src/driver.c: Set stdout and stderr to not buffered.
7496 * server-src/planner.c: Set stderr to not buffered.
7497 Print 'setup_estimate:' on one line.
7498 * server-src/amstatus.pl.in: Parse new 'setup_estimate:' line.
7500 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7502 * client-src/calcsize.c: Improve estimate for sparse file and count
7503 space for filenames.
7505 2005-02-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7507 * server-src/planner.c: Improve message if no incremental estimate.
7509 2004-12-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7510 Patch by Christopher Pascoe <c.pascoe@itee.uq.edu.au>
7512 * common-src/match.c (match_glob, match_tar): Don't amfree(regex)
7513 before calling error().
7515 2004-11-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7517 * server-src/driver.c (startaflush): Use ALGO_SMALLEST if nothing fit.
7519 2004-11-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7521 * server-src/driver.c: Typo.
7523 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7525 * restore-src/amrestore.c: Should now work correctly with empty file.
7526 * server-src/amverify.sh.in: Parse "End-of-Information detected."
7527 message from amrestore.
7529 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7531 * server-src/driver.c: tape_left should not become negative.
7533 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7534 Patch by Orion Poplawski <orion@cora.nwra.com>
7536 * server-src/diskfile.c: Parse negative spindle (-1).
7538 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7540 * server-src/amadmin.c: Balance subcommand use displayunit.
7541 * server-src/amcheck.c: Small cleanup.
7543 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7545 * restore-src/amrestore.c: Undo patch from 2004-11-11, it break
7548 2004-11-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7550 * server-src/amstatus.pl.in: Remove trace.
7552 2004-11-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7554 * server-src/diskfile.c: Compilation fix.
7556 2004-11-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7558 * server-src/conffile.c: Parse displayunit,
7559 new fonction getcont_unit_divisor().
7560 * server-src/conffile.h: Prototype of getcont_unit_divisor().
7561 * server-src/amcheck.c: Use displayunit to display holding disk size.
7562 * server-src/amstatus.pl.in: Use displayunit to display dump size.
7563 * server-src/reporter.c: use displayunit to display dump size.
7564 * Document displayunit.
7566 2004-11-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7568 * server-src/reporter.c: Change 'Daily' for 'Incr.'.
7570 2004-11-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7572 * server-src/amstatus.pl.in Fix for level -1.
7574 2004-11-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7575 Patch by Daniel Widyono <widyono@seas.upenn.edu>
7577 * changer-src/chg-zd-mtx.sh.in: Fix for library with barcode.
7579 2004-11-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7581 * restore-src/amrestore.c: Read empty file.
7583 2004-11-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7585 * tape-src/tapetype.c: Use new tape.
7587 2004-11-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7589 * server-src/amstatus.pl.in: Display partial estimate.
7591 2004-11-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7593 * server-src/diskfile.c (read_diskline): A spindle must be numerical.
7595 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7597 * server-src/holding.c (rename_tmp_holding): Always rename files.
7599 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7601 * server-src/driver.c: Print message when too many retry.
7602 * server-src/amstatus.pl.in: Detect a failed dump after too many retry.
7603 * amplot/amplot.awk: Parse these message.
7605 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7607 * server-src/driver.c (dump_to_tape): Don't retry a dump indefinitely
7608 if dumper returns DONE and taper returns TRYAGAIN.
7610 2004-10-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7612 * server-src/driver.c (dump_to_tape): Don't retry a dump indefinitely
7613 if dumper returns TRYAGAIN and taper returns DONE.
7615 2004-10-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7617 * server-src/amflush.c: Don't start a driver if nothing to flush.
7619 2004-10-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7620 Patch by Eric Siegerman <erics@telepres.com>
7622 * example/3hole.ps: Fix for multiple tape.
7624 2004-10-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7626 * server-src/amverify.sh.in: Terminate if no tape online.
7628 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7630 * server-src/amadmin.c (main): Call check_dumpuser() as soon as posible.
7632 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7634 * server-src/conffile.c (getconf_byname): Special case for typ == BOOL.
7636 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7638 * server-src/planner.c (promote_hills): Use dumpcycle instead of
7640 * example/amanda.conf.in: Remove warning for tapecyle set to inf.
7642 2004-09-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7644 * server-src/amadmin.c (balance): Don't core dump if DUMPCYLE is too
7647 2004-09-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7649 * tape-src/tapetype.c: New -o option, doesn't overwrite amanda
7651 * man/amtapetype.8.in: Document new -o option.
7653 2004-09-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7655 * server-src/amstatus.pl.in: Works with failed dump to tape.
7657 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7659 * client-src/sendbackup-gnutar.c (end_backup): Write warning message
7661 * server-src/dumper.c (process_dumpline): Parse warning message.
7662 * server-src/reporter.c (handle_strange): Print warning message in
7663 the STRANGE summary.
7665 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7667 * server-src/driverio.c (free_serial): Set stable[s].dp to NULL.
7668 * server-src/driverio.c (disk2serial): Check that stable[s].dp == NULL.
7670 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7671 Patch by Joe Rhett <jrhett@isite.net>
7673 * common-src/alloc.c (safe_env): Keep SYSTEMROOT if __CYGWIN__.
7675 2004-08-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7676 Patch by Orion Poplawski <orion@cora.nwra.com>
7678 * server-src/conffile.c (copy_dumptype): Copy maxpromoteday.
7680 2004-08-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7682 * client-src/selfcheck.c (check_disk): More check for CALCSIZE.
7684 2004-08-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7686 * common-src/amfeatures.h (fe_selfcheck_calcsize): New feature.
7687 * common-src/amfeatures.c (am_init_feature_set): Set
7688 fe_selfcheck_calcsize.
7689 * client-src/selfcheck.c: Check if calcsize binary is available if
7691 * server-src/amcheck.c (start_host): Call selfcheck with CALCSIZE
7692 if it support fe_selfcheck_calcsize.
7694 2004-08-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7696 * man/amanda.8.in: Document 'estimate' dumptype option.
7698 2004-08-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7700 * server-src/amrmtape.sh.in: Understand history info.
7702 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7704 * server-src/driver.c: Typo.
7706 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7708 * server-src/amstatus.pl.in: Parse CONTINUE and RQ-MORE-DISK line,
7709 print if a dump is waiting for holding disk space (roomq).
7711 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7713 * server-src/driver.c (handle_dumper_result, handle_chunker_result):
7714 Don't call free_serial().
7715 * server-src/driver.c (dumper_result): Call free_serial_dp(dp).
7716 * server-src/driverio.c (dumper_cmd): Remove CONTINUE cmd.
7717 * server-src/driverio.c (chunker_cmd): Print serial number for CONTINUE
7719 * server-src/driverio.c (disk2serial): Try to find a 'dp' before
7720 allocating a new serial.
7721 * server-src/driverio.c (free_serial_dp): New function to remove the
7723 * server-src/driverio.h (free_serial_dp): Prototype.
7724 * server-src/chunker.c (databuf_flush): Read serial number for CONTINUE
7727 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7729 * server-src/planner.c (getsize): Do SERVER estimate, call sendsize with
7732 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7734 * client-src/calcsize.c: Support exclude and include like gnutar,
7735 change in program argument.
7736 * client-src/sendsize.c: Execute calcsize as requested.
7737 * common-src/amfeatures.h (fe_calcsize_estimate): New feature.
7738 * common-src/amfeatures.c (am_init_feature_set): set
7739 fe_calcsize_estimate.
7740 * server-src/amcheck.c (start_host): Check if client support CALCSIZE
7743 2004-08-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7745 * server-src/conffile.h (ES_CLIENT, ES_SERVER, ES_CALCSIZE): New define
7747 * server-src/conffile.h (dumptype_t): Add 'estimate' and 's_estimate'
7748 * server-src/conffile.c (get_estimate): New function to parse estimate
7750 * server-src/diskfile.c (read_diskline): Copy 'estimate'.
7751 * server-src/diskfile.h (disk_t): Add 'estimate'.
7752 * server-src/amadmin.c (disklist_one): Print estimate type.
7754 2004-08-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7756 * common-src/match.c (match_tar, tar_to_regex): New fonction similar
7757 to the exclude option of tar.
7758 * common-src/amanda.h (match_tar, tar_to_regex): Prototype.
7760 2004-08-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7762 * server-src/infofile.h (history_t): new struct.
7763 * server-src/infofile.h (info_t): Add a history_t.
7764 * server-src/infofile.c (read_txinfofile): Parse history data.
7765 * server-src/infofile.c (write_txinfofile): Print history data.
7766 * server-src/amadmin.c (export_one): export history data.
7767 * server-src/amadmin.c (import_one): import history data.
7768 * server-src/driverio.c (update_info_dumper): update history data.
7770 2004-05-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7771 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
7773 * server-src/planner.c: Log L_DISK for autoflush disk.
7775 2004-05-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7777 * server-src/planner.c (handle_result): Add dp to pestq at the
7780 2004-04-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7782 * common-src/amanda.h: #include "amanda-int.h" only if !CONFIGURE_TEST.
7784 2004-04-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7786 * config/acinclude.m4i (AX_CREATE_STDINT_H) : New macro.
7787 * configure.in: Use AX_CREATE_STDINT_H(common-src/amanda-int.h).
7788 * common-src/amanda.h: include "common-src/amanda-int.h".
7789 * changer-src/scsi-cam.c: Change u_int32_t for uint32_t.
7791 2004-04-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7793 * configure.in: Fix for automake 1.8.4.
7794 * config/acinclude.m4i: Fix for automake 1.8.4.
7796 2004-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7798 * configure.in: Result of autoupdate.
7800 2004-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7802 * config/config.guess: Update from automake 1.8.
7803 * config/config.sub: Update from automake 1.8.
7804 * config/depcomp: Update from automake 1.8.
7805 * config/install-sh: Update from automake 1.8.
7806 * config/missing: Update from automake 1.8.
7807 * config/mkinstalldirs: Update from automake 1.8.
7808 * config/ltmain.sh: Update from libtool-1.5.6.
7809 * config/libtool.m4i: Update from libtool-1.5.6.
7811 2004-04-26 Marc Mengel <mengel@fnal.gov>
7813 * tape-src/output-rait.c: Verify reads correctly.
7815 2004-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7817 * server-src/driver.c (continue_dumps): Fix deadlock if holding disk
7818 fill up when in degraded mode.
7820 2004-04-23 Eric Siegerman <eric_97@pobox.com>
7822 Bug fix: amflush would run, and consume a tape, even if there
7823 were no Amanda directories waiting to be flushed:
7824 * common-src/sl.c (is_empty_sl): New function to test
7825 whether a list is empty.
7826 * common-src/sl.h (is_empty_sl): Prototype.
7827 * server-src/amflush.sh (main): Use is_empty_sl(),
7828 rather than ==NULL, to test emptiness of datestamp_list.
7830 2004-04-23 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7832 * server-src/planner.c (setup_estimate): Typo.
7834 2004-04-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7836 Allow bumpsize, bumppercent, bumpdays and bumpmult to be in a dumptype.
7837 * server-src/conffile.c: Parse.
7838 * server-src/conffile.h: Define.
7839 * server-src/amadmin.c (disklist_one): Use.
7840 * server-src/diskfile.c (read_diskline): Initialize.
7841 * server-src/diskfile.h: Define.
7842 * server-src/planner.c: Use.
7843 * man/amanda.8.in: Document.
7845 2004-04-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7846 Fix by Paul Bijnens <paul.bijnens@xplanation.com>
7848 * server-src/planner.c (setup_estimate): Only ask for level 0 estimate
7849 if strategy is noinc.
7851 2004-04-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7852 Documentation from Paul Bijnens <paul.bijnens@xplanation.com>
7854 * man/amoverview.8.in: Document results.
7856 2004-04-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7857 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
7859 * server-src/amoverview.pl.in: Print last two characters.
7861 2004-04-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7863 * changer-src/chg-disk.sh.in: Fix for sh compatibility.
7865 2004-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7866 Fix by John Koyle <jkoyle@rfpdepot.com>
7868 * common-src/dgram.c: Fix EAGAIN on Linux.
7870 2004-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7872 * server-src/amadmin.c (bumpsize): Typo.
7874 2004-04-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7876 New bumppercent global option.
7877 * example/amanda.conf.in: Document it.
7878 * man/amanda.8.in: Document it.
7879 * server-src/amadmin.c (bumpsize): Write it.
7880 * server-src/conffile.c: Parse it.
7881 * server-src/conffile.h: Define It.
7882 * server-src/planner.c (bump_thresh): New size_level_0 parameter,
7883 use the new bumppercent option.
7885 2004-04-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7887 * server-src/amadmin.c: Rename host_t to amhost_t.
7888 * server-src/amcheck.c: Ditto.
7889 * server-src/amindexd.c: Ditto.
7890 * server-src/diskfile.c: Ditto.
7891 * server-src/diskfile.h: Ditto.
7892 * server-src/driver.c: Ditto.
7893 * server-src/planner.c: Ditto.
7895 2004-03-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7897 * amplot/amplot.awk: Parse "driver: tape size" line.
7899 2004-03-22 Stefan G. Weichinger <monitor@oops.co.at>
7901 * server-src/amcheck.c (start_host): Added warning for hostname
7903 * docs/TOP-TEN-QUESTIONS: added note about localhost-warning.
7905 2004-03-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7907 * docs/Makefile.am (pkgdata_DATA): Add TOP-TEN-QUESTIONS.
7909 2004-03-18 Stefan G. Weichinger <monitor@oops.co.at>
7911 * docs/TOP-TEN-QUESTIONS: New file.
7913 2004-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7915 * server-src/reporter.c (handle_success): Set stats[i].coutsize
7917 * server-src/taper.c: Do not subtract tt_blocksize_kb from filesize.
7919 2004-03-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7921 * common-src/ssh-security.c: New ssh security driver.
7922 * common-src/Makefile.am (libamanda_la_SOURCES): Add ssh-security.c.
7923 * common-src/security.c: Add ssh security driver.
7924 * configure.in: Add --with-ssh-security. Define SSH_SECURITY.
7926 2004-03-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7928 * server-src/amcheck.c: Do labelstr check in correct order.
7930 2004-03-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7932 Use only one time event for all dumpers, no wait event.
7933 start_some_dumps is called everytime a dumper or taper finish.
7934 * server-src/driver.c (dumpers_ev_time): New global event.
7935 * server-src/driver.c (start_some_dumps): Remove dumper argument,
7936 can start many dump.
7937 * server-src/driver.c (dumper_result): Call start_some_dumps instead
7939 * server-src/driver.c (handle_idle_wait): Remove function.
7940 * server-src/driver.c (handle_dumpers_time): new handle for
7941 dumpers_ev_time, it call start_some_dumps.
7942 * server-src/driverio.h (dumper_t): Remove ev_wait.
7943 * server-src/driverio.c (startup_dump_process): Don't set ev_wait.
7945 2004-03-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7947 * common-src/fileheader.c (print_header): Fix fprintf use.
7948 * client-src/amqde.c (parse_exclude_path): Fix = by ==.
7949 * common-src/protocol.c (s_repwait): Fix compiler warning.
7950 * common-src/rsh-security.c (runrsh): Fix compiler warning.
7952 2004-03-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7954 * common-src/pipespawn.c (pipespawn): Remove passwdvar and passwdfd.
7956 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7957 Reported by Allen Liu <allen@bellglobal.com>
7959 * server-src/amverifyrun.sh.in: Replace '-e' test by '-f'.
7961 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7963 * server-src/amcheck.c: Verify the tape is listed in the tapelist file.
7964 * server-src/taper.c: Ditto
7966 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7968 * server-src/driver.c (dump_schedule): Print complete name.
7970 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7972 The estimate send a PREP (partial REP) packet after each estimate.
7973 * client-src/amandad.c: Send PREP packet if sendsize.
7974 * common-src/amfeatures.c (am_init_feature_set): Add
7975 fe_partial_estimate.
7976 * common-src/amfeatures.h (am_feature_e): Add fe_partial_estimate.
7977 * common-src/packet.c (pktypes[]): Add PREP.
7978 * common-src/packet.h (pktype_t): Add P_PREP.
7979 * common-src/protocol.c (action_t): Add A_CONTPEND.
7980 * common-src/protocol.c: Handle P_PREP packet.
7981 * server-src/amstatus.pl.in: Parse "got partial result" line.
7982 * server-src/planner.c: Handle P_PREP packet.
7984 2004-02-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7985 Reported by Jason Brooks <jason.brooks@windriver.com>
7987 * server-src/reporter.c: Remove duplicate setting of cd to
7990 2004-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7991 Patch by Philippe Charnier <charnier@xp11.frmug.org>
7993 * server-src/amtrmidx.c: Add '\n'.
7995 2004-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
7997 * recover-src/set_commands.c (cd_glob): Fix memory leak.
7999 2004-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8001 * recover-src/set_commands.c (cd_dir, set_directory): Fix memory leak.
8002 * recover-src/uscan.l: Fix double amfree.
8004 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8006 * server-src/driver.c: Build holding disk name with timestamp.
8007 * server-src/holding.c (is_datestr): Check also for timestamp.
8008 * server-src/planner.c: Flush today's dump with autoflush.
8009 * server-src/find.c: Find holding disk with timestamp.
8010 * server-src/find.h (find_result_t): Add timestamp field.
8012 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8014 * changer-src/chg-zd-mtx.sh.in: Works if all slot and tape are full.
8016 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8018 * server-src/amverifyrun.sh.in: Do not execute amverify if no tape
8021 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8023 * server-src/amdump.sh.in: Do not redirect to /dev/null.
8025 2004-02-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8027 * config/acinclude.m4i: Define CF_WAIT_INT.
8028 * configure.in: Call CF_WAIT_INT.
8029 * common-src/amanda.h: Try to make waitpid doesn't warn.
8031 2004-01-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8033 * Makefile.am (EXTRA_DIST): Add contrib/mkamandisk.
8035 2004-01-29 Christoph Pospiech <pospiech@de.ibm.com>
8037 * configure.in (AC_CONFIG_FILES): Add changer-src/chg-iomega.pl.
8038 * changer-src/Makefile.am (libexec_SCRIPTS) Add chg-iomega.
8039 * changer-src/chg-iomega.pl.in: New changer script.
8040 * docs/TAPE.CHANGERS: Document chg-iomega.
8041 * contrib/mkamandisk: Script to format iomega disk.
8043 2004-01-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8045 * restore-src/amidxtaped.c (scan_init): Remove the log file if it exit.
8047 2004-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8049 * configure.in: Set GNUTAR_LISTED_INCREMENTAL_DIRX.
8050 * example/amanda.conf.in: Update record documentation.
8051 * man/amanda.8.in: Update record documentation.
8053 2004-01-14 Stefan G. Weichinger <monitor@oops.co.at>
8055 * docs/INSTALL: Add config for xinetd.
8057 2004-01-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8059 * server-src/planner.c (handle_result): Detect bad estimate (-1).
8060 * server-src/planner.c (analyze_estimate): Don't schedule level
8061 if the estimate is bad.
8063 2003-12-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8065 * docs/HOWTO-FILE-DRIVER: New file.
8066 * docs/TAPE.CHANGERS: Explain chg-disk.
8067 * docs/Makefile.am (pkgdata_DATA): add HOWTO-FILE-DRIVER.
8069 2003-12-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8071 * docs/SYSTEM.NOTES: Add a note about sendsize coredump on AIX.
8073 2003-11-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8074 Patch by Jean-Christian SIMONETTI <simonetti@echo.fr>
8076 * changer-src/chg-disk.sh.in: New changer script.
8077 * changer-src/Makefile.am (libexec_SCRIPTS): Add chg-disk.
8078 * configure.in (AC_CONFIG_FILES): Add changer-src/chg-disk.sh.
8080 2003-11-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8082 * tape-src/tapetype.c: extern int optind.
8083 * tape-src/tapeio.c: extern int optind.
8085 2003-11-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8086 Patch by C.Scheeder <christoph.scheeder@scheeder.de>
8088 * changer-src/sense.c (SenseType): Add "DAT AutoChanger" and "C1537A".
8090 2003-11-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8092 * server-src/driver.c: Print the tape size.
8093 * server-src/amstatus.pl.in: print % of tape use.
8095 2003-11-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8097 * server-src/conffile.c (copy_dumptype): Copy in/exclude only if seen.
8099 2003-11-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8101 * server-src/reporter.c (output_tapeinfo): Fix printing of new tape.
8103 2003-11-25 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8105 * server-src/amcheck.c (taperscan_slot): Deal with label not in
8107 * server-src/amtape.c (taperscan_slot): Ditto.
8108 * server-src/taper.c (taperscan_slot): Ditto.
8110 2003-11-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8112 * server-src/driver.c (handle_taper_result): Always call
8113 continue_dumps() in TRYAGAIN case.
8115 2003-11-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8117 * changer-src/chg-chio.pl.in (getTapeStatus): Set $drives[$num] to 0
8118 if no tape in drive.
8120 2003-11-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8122 * docs/Makefile.am (pkgdata_DATA): Add HOWTO-AFS.
8124 2003-11-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8125 Patch by Mitch Collinsworth <mitch@ccmr.cornell.edu>
8127 * client-src/selfcheck.c: Skip accessibility check for AFS entries.
8128 * docs/HOWTO-AFS: New file.
8130 2003-11-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8132 * server-src/amadmin.c (tape): Display the next new tapes.
8133 * server-src/reporter.c (output_tapeinfo): Ditto.
8135 2003-10-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8137 * docs/Makefile.am (pkgdata_DATA): Add chg-scsi.notes.
8139 2003-10-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8141 * server-src/amcheck.c (taperscan_slot): Set found=3 if new tape.
8142 * server-src/amcheck.c (taper_scan): Handle found==3.
8143 * server-src/amtape.c (taperscan_slot): Set found=3 if new tape.
8144 * server-src/amtape.c (taper_scan): Handle found==3.
8145 * server-src/taper.c (taperscan_slot): Set found=3 if new tape.
8146 * server-src/taper.c (taper_scan): Handle found==3.
8148 2003-10-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8150 * server-src/amcheck.c: Use stralloc(optarg).
8151 * tape-src/ammt.c: Use stralloc(optarg).
8152 * tape-src/tapetype.c: Use stralloc(optarg).
8154 2003-10-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8155 Patch by Jay Fenlason <fenlason@redhat.com>
8157 * server-src/dumper.c: Don't set SIGCHLD to SIG_IGN.
8159 2003-10-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8160 Patch by Andrew Rucker Jones <arjones@simultan.dyndns.org>
8162 * client-src/sendbackup-gnutar.c (AM_SIZE_RE): Fix regex for samba3.
8164 2003-10-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8166 * server-src/amadmin.c (find): Call find_dump to allow dynamic disklist.
8167 * server-src/amindexd.c: Call find_dump to allow dynamic disklist.
8168 * server-src/amtrmidx.c: Call find_dump to allow dynamic disklist.
8169 * server-src/diskfile.c (add_disk): Set device and todo.
8170 * server-src/find.c: Build disklist dynamicaly from log files.
8171 * server-src/find.h (find_dump): New prototype.
8173 2003-10-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8175 * server-src/amlogroll.c: set_pname("amlogroll").
8177 2003-10-24 Todd M. Kover <kovert@omniscient.com>
8179 * add amqde for "quick and dirty estimates" under gnutar (program
8180 that will traverse the filesystem rather than invoke gnutar).
8181 controlled via configure option --with-qde. This really wants to
8182 be configured in the server.
8184 2003-10-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8186 * server-src/amverify.sh.in: Fix usage message.
8187 * common-src/fileheader.c (print_header): fprintf to outf.
8188 * server-src/tapefile.c (lookup_last_reusable_tape): Check for
8190 * server-src/amadmin.c (disklist_one): Don't print ':' on device line.
8192 2003-10-23 Todd Kover <kovert@omniscient.com>
8194 * make amrecover link against readline rather than libamanda so
8195 only amrecover would require the shared library (if it's found)
8197 2003-10-22 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8198 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
8200 * client-src/amandates.c (finish_amandates): Call error() if the
8202 * common-src/amflock.c (create_lock): Return -1 if the close of f fail.
8203 * common-src/amflock.c (read_lock): Don't set f to NULL if the close
8205 * server-src/tapefile.c (write_tapelist): Return 1 if the close of
8208 2003-10-14 John R. Jackson (jrj@purdue.edu)
8210 * docs/SYSTEM.NOTES: Add FreeBSD 5.1 note about setting the UDP packet
8211 size, compliments of Nicolas Ecarnot <nicolas.ecarnot@accim.com>.
8213 2003-10-14 John R. Jackson (jrj@purdue.edu)
8215 * client-src/sendsize.c: Handle case where PID's get re-used.
8217 2003-10-14 John R. Jackson (jrj@purdue.edu)
8219 * configure.in: Need to check for sys/gscdds.h on AIX to enable
8222 2003-10-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8224 * common-src/genversion.c (prundefvar): New function to print an
8226 * common-src/genversion.c: Print undefined variable.
8227 * server-src/amcheck.c: Improve message for no LPRCMD defined.
8229 2003-07-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8231 * restore-src/amidxtaped.c: Don't clea re_label before checking
8234 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8235 Patch by Scott Mcdermott <smcdermott@questra.com>
8237 * changer-src/chg-zd-mtx.sh.in (initial_poll_delay): New config
8238 variable to add a pause after a tape loading.
8240 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8241 Fix by John E. Hein <jhein@timing.com>
8243 * changer-src/chg-manual.sh.in: Quote @EGREP@.
8244 * changer-src/chg-null.sh.in: Quote @EGREP@.
8246 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8248 * amplot/amplot.sh.in: Remove files before runnig amplot.awk.
8249 * amplot/amplot.awk: Parse 'flush line', fix tape_wait line.
8250 * server-src/driver.c (read_flush): Write a 'flush size' to the
8253 2003-07-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8255 * changer-src/chg-chio.pl.in: Fix next/prev command.
8257 2003-07-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8258 patch by Paul Bijnens <paul.bijnens@xplanation.com>
8260 * client-src/client_util.c (add_include): Count include with 2 /,
8261 Fix descriptor leak.
8263 2003-06-25 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8265 * server-src/amstatus.pl.in: Fix print spacing for idle dumpers.
8267 2003-06-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8269 * server-src/holding.c: Fix compiler error.
8270 * server-src/planner.c: Use snprintf.
8272 2003-06-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8273 patch by Paul Bijnens <paul.bijnens@xplanation.com>
8275 * tape-src/tapetype.c: Avoid a numerical overflow for large tape
8278 2003-06-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8280 * server-src/amstatus.pl.in: Fix to failed tape.
8282 2003-06-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8284 * server-src/planner.c (delay_dumps): Delay not delay forced full
8287 2003-06-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8289 * changer-src/chg-zd-mtx.sh.in: Log the changer file used.
8291 2003-06-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8293 * server-src/amverify.sh.in: Do not advance to next tape.
8295 2003-06-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8296 patch by Eric Siegerman <eric_97@pobox.com>
8298 * server-src/planner.c: Make promote_hills() honour maxpromotedays.
8300 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8302 * changer-src/scsi-bsd.c: Use pDev[DeviceFD].fd instead of DeviceFD.
8303 * changer-src/scsi-hpux_new.c:Use pDev[DeviceFD].fd instead of DeviceFD.
8304 * changer-src/scsi-linux.c: Use pDev[ip].fd instead of DeviceFD.
8306 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8308 * client-src/noop.c: #include "util.h".
8310 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8312 * server-src/amflush.c: Implement new -b and -s options.
8313 * man/amflush.8.in: Document it.
8315 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8317 * server-src/driver.c (dump_to_tape): Don't go in degraded mode if
8320 2003-06-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8322 * tape-src/output-rait.c: Don't call waitpid if we didn't fork.
8324 2003-06-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8326 * server-src/amverify.sh.in: Use @MAXTAPEBLOCKSIZE@ instead of 32.
8328 2003-06-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8329 Bug reported by Sven Rudolph <rudsve@drewag.de>
8331 * server-src/holding.c (mkholdingdir): New function to create a holding
8333 * server-src/holding.h (mkholdingdir): Prototype.
8334 * server-src/driver.c: Use mkholdingdir;
8335 * server-src/chunker.c: Call mkholdingdir before opening a file for
8338 2003-06-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8339 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
8341 * server-src/amstatus.pl.in: Fix for missing amdump.1 or amflush.1.
8343 2003-06-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8344 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
8346 * server-src/amstatus.pl.in: If nothing is active, it now gives the
8347 status of the last run (amdump or amflush).
8348 * man/amstatus.8.in: Document it.
8350 2003-05-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8352 * tape-src/output-file.c (check_online): Write error if opendir failed.
8354 2003-05-29 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8355 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
8357 * server-src/amoverview.pl.in: Use 'amadmin <conf> disklist' instead
8358 of parsing the disklist file.
8360 2003-05-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8362 * server-src/tapefile.c (read_tapelist,parse_tapeline): Fix for
8365 2003-05-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8367 * common-src/versuff.c.in: Use @VERSION_SUFFIX@.
8369 2003-05-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8371 * example/amanda.conf.in: Add more amrecover_changer doc.
8372 * man/amanda.8.in: Add more amrecover_changer doc.
8373 * man/amrecover.8.in: Add more amrecover_changer doc.
8375 2003-05-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8377 * server-src/tapefile.c (read_tapelist): Ignore blank line.
8378 * server-src/tapefile.c (parse_tapeline): Newer status parameter, set
8379 it to '1' when reading blank line.
8381 2003-04-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8383 * configure.in (AC_CHECK_HEADERS): Enleve linux/ftape-header-segment.h,
8384 linux/ftape-vendors.h et linux/ftape.h.
8386 2003-04-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8387 Patch by Darin Dugan <dddugan@iastate.edu>
8389 * server-src/amcheck.c: Change subject in email if no error.
8391 2003-04-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8393 * common-src/error.c (output_error_message): Always prepend program
8396 2003-04-15 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8398 * server-src/amstatus.pl.in: Fix for estimate disk.
8400 2003-04-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8402 * server-src/taper.c: Read holding file correctly if blocksize != 32k.
8404 2003-04-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8405 New file by Robert C Dege <RDege@northropgrumman.com>
8407 * configure.in: Find mcutil binary.
8408 * configure.in (AC_CONFIG_FILES): Add changer-src/chg-mcutil.sh and
8409 example/chg-mcutil.conf.
8410 * changer-src/Makefile (libexec_SCRIPTS): Add chg-mcutil.
8411 * changer-src/chg-mcutil.sh.in: New file.
8412 * example/Makefile (EXTRA_DIST): Add chg-mcutil.conf
8413 * example/chg-mcutil.conf.in: New file.
8415 2003-04-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8417 * man/amanda.8.in (blocksize): Document the --with-maxtapeblocksize
8420 2003-04-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8422 * server-src/amverifyrun.sh.in: Run the amverify command.
8424 2003-04-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8425 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
8427 * server-src/reporter.c: Get the filenumber correct.
8429 2003-04-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8430 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
8432 * server-src/reporter.c: Print a postscript label for each tape used.
8434 2003-03-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8436 * configure.in (*-sco3.2v4*): It is not like *-sco3.2v5*,
8437 define DEV_PREFIX and RDEV_PREFIX.
8439 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8441 * configure.in: Typo.
8443 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8444 Patch by Gert Doering <gert@greenie.muc.de>
8446 * client-src/getfsent.c (get_fstab_nextentry): Compile on *-sco3.2v4*.
8448 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8450 * configure.in: Compile on *-sco3.2v4*
8452 2003-03-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8454 * configure.in: Use '=' instead of '=='.
8456 2003-03-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8458 * recover-src/set_commands.c (set_tape): Recognize null:, rait:,
8459 file: and tape: as driver, not host name.
8461 2003-03-14 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8463 * server-src/amrmtape.sh.in: Print better output.
8465 2003-03-13 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8467 * changer-src/Makefile.am (libexec_SCRIPTS): Missing \.
8469 2003-03-08 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8471 * client-src/client_util.c (add_include): If include contain 2 '/' then
8472 use at asis, don't try to match it.
8474 2003-03-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8476 * server-src/changer.h (changer_label): Return an int.
8477 * server-src/changer.h (changer_label): First parameter is char *.
8479 2003-03-07 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8481 * file tape-src/output-rait.c (rait_open): Call tapefd_set_master_fd();
8482 * file tape-src/tapeio.c (struct tape_info): Add master_fd field.
8483 * file tape-src/tapeio.c (tape_info_init): Set master_fd to -1;
8484 * file tape-src/tapeio.c (tapefd_getinfo_host, tapefd_getinfo_disk,
8485 tapefd_getinfo_level): Return info of master_fd.
8486 * file tape-src/tapeio.c (tapefd_set_master_fd): New function to set
8488 * file tape-src/tapeio.h (tapefd_set_master_fd): Prototype.
8490 2003-03-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8492 * tape-src/output-file.c (file_tapefd_can_fork): New function that
8493 return 1 if the file: can be run under a forked process.
8494 * tape-src/output-file.h (file_tapefd_can_fork): Prototype.
8495 * tape-src/output-null.c (null_tapefd_can_fork): New function that
8496 return 1 if the null: can be run under a forked process.
8497 * tape-src/output-null.h (null_tapefd_can_fork): Prototype.
8498 * tape-src/output-rait.c (rait_close, rait_tapefd_ioctl): Fork only if
8499 * tapefd_can_fork() return 1.
8500 * tape-src/output-rait.c (rait_tapefd_can_fork): New function that
8501 return 1 if the rait: can be run under a forked process.
8502 * tape-src/output-rait.h (rait_tapefd_can_fork): Prototype.
8503 * tape-src/output-tape.c (tape_tapefd_can_fork): New function that
8504 return 1 if the tape: can be run under a forked process.
8505 * tape-src/output-tape.h (tape_tapefd_can_fork): Prototype.
8506 * tape-src/tapeio.c (struct virtualtape): Add xxx_tapefd_can_fork and
8507 initialize vtable[];
8508 * tape-src/tapeio.c (tapefd_can_fork): New function to can the driver
8509 xxx_tapefd_can_fork function.
8510 * tape-src/tapeio.h (tapefd_can_fork): Prototype.
8512 2003-03-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8514 * tape-src/output-file.c (file_tapefd_write): Call file_release(fd)
8515 before opening the file for writing.
8517 2003-03-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8519 * changer-src/chg-zd-mtx.sh.in: Default for driveslot is 0.
8521 2003-03-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8523 * amplot/amplot.sh.in: New -b option for b/w postscript.
8524 * amplot/amplot.awk: Add 'color' to command if bw is set.
8525 * amplot/amplot.g: Change line 6 to line 8.
8526 * man/amplot.8: Document -b option.
8528 2003-03-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8530 * recover-src/extract_list.c: Fix the name of the
8531 amidxtaped.<timestamp>.debug file.
8533 2003-02-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8534 Patch by Eric Doutreleau <Eric.Doutreleau@int-evry.fr>
8536 * restore-src/amidxtaped.c: Use the device sent by the changer.
8538 2003-02-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8540 * restore-src/amidxtaped.c: Remove lock 'unlink(conf_logfile)' on
8543 2003-02-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8545 * server-src/changer.c: Sync with 2.4.4.
8547 2003-02-21 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8549 * client-src/client_util.c: Print error except ENOENT for
8550 exclude/include files.
8552 2003-02-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8554 * tape-src/tapetype.c: Use %ld to print some variable.
8556 2003-02-20 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8558 * server-src/conffile.c (init_defaults): conf_printer.s must be set
8561 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8562 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
8564 * tape-src/tapetype.c: Document -c option.
8566 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8568 * changer-src/chg-zd-mtx.sh.in:Print "are you sure your drive slot is n"
8570 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8572 * server-src/tapefile.c (read_tapelist): return 1 if can't open the
8575 2003-02-12 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8577 * man/amtapetype.8.in: Add doc from a mail by John R. Jackson.
8579 2003-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8581 * server-src/amcheck.c: New -a option.
8582 * man/amcheck.8.in: Document it.
8584 2003-02-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8586 * server-src/amindexd.c (build_disk_table): Compare the level.
8588 2003-02-10 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8589 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
8591 * tape-src/tapetype.c: New -c argument to do only the compression test.
8592 Better detection of compression.
8593 * man/amtapetype.8.in: Document -c argument.
8595 2003-02-09 John R. Jackson (jrj@purdue.edu)
8597 * tape-src/tapetype.c: Allocate the I/O buffers on page boundaries.
8598 This helps performance on some OS's.
8600 2003-02-08 John R. Jackson (jrj@purdue.edu)
8602 * restore-src/amrestore.c: Clean up strtol() argument processing.
8604 2003-02-08 John R. Jackson (jrj@purdue.edu)
8606 * docs/INSTALL: Clean up supporting package versions and URL's.
8608 2003-02-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8610 * docs/Makefile.am (pkgdata_DATA): Add HOWTO-CYGWIN.html.
8612 2003-02-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8613 Patch by Christophe Kalt <kalt@taranis.org>
8615 * client-src/sendbackup-dump.c: New AM_SIZE_RE for NetApp.
8616 * client-src/sendsize.c: New re_size for NetApp.
8618 2003-02-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8619 Fix by Colin Henein <cmh@>
8621 * common-src/amanda.h: Fix for the where S_ISDIR is not defined.
8623 2003-02-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8624 Patch by Doug Kingston <dpk@randomnotes.org>
8626 * configure.in (NEED_SETUID_CLIENT): Set to false on *-pc-cygwin.
8627 * configure.in (WANT_SETUID_CLIENT): Set if NEED_SETUID_CLIENT != false.
8628 * client-src/Makefile.am: Don't chmod u+s if WANT_SETUID_CLIENT.
8630 2003-02-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8631 Patch by Andrew Rucker Jones <arjones@simultan.dyndns.org>
8633 * man/amtapetype.8.in: Fix example.
8635 2003-01-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8637 * common-src/amanda.h: #define S_ISDIR if not already defined.
8639 2003-01-31 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8640 File from Doug Kingston <dpk@randomnotes.org>
8642 * docs/HOWTO-CYGWIN.html: New file.
8644 2003-01-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8646 * configure.in: Define WANT_RUNTIME_PSEUDO_RELOC on cygwin
8647 * client-src/Makefile.am: AM_LDFLAGS="-Wl,-enable-runtime-pseudo-reloc"
8648 if WANT_RUNTIME_PSEUDO_RELOC.
8649 * recover-src/Makefile.am: Ditto.
8651 2003-01-28 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8653 * tape-src/output-rait.h: #define stralloc strdup
8654 * tape-src/output-rait.c: Revert patch of 2003-01-26, we don't have
8655 vstralloc in standalone.
8657 2003-01-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8658 Reported by Doug Kingston <dpk@randomnotes.org>
8660 * recover-src/Makefile.am: Set AM_YFLAGS instead of YFLAGS.
8662 2003-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8664 * tape-src/output-rait.c (tapeio_next_devname): Use vstralloc.
8666 2003-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8668 * changer-src/chg-scsi-chio.c: Change strdup to stralloc.
8669 * changer-src/chg-scsi.c: Ditto.
8670 * changer-src/scsi-aix.c: Ditto.
8671 * changer-src/scsi-bsd.c: Ditto.
8672 * changer-src/scsi-cam.c: Ditto.
8673 * changer-src/scsi-changer-driver.c: Ditto.
8674 * changer-src/scsi-hpux_new.c: Ditto.
8675 * changer-src/scsi-irix.c: Ditto.
8676 * changer-src/scsi-linux.c: Ditto.
8677 * changer-src/scsi-solaris.c: Ditto.
8678 * changer-src/sense.c: Ditto.
8679 * tape-src/output-rait.c: Ditto.
8681 2003-01-26 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8683 * server-src/taper.c (read_file): Don't count header in filesize.
8685 2003-01-25 John R. Jackson (jrj@purdue.edu)
8687 * tape-src/tapeio.c: Fix tape_access() and tape_stat() problem caused
8688 by indeterminate compiler order of evaluation.
8690 2003-01-25 John R. Jackson (jrj@purdue.edu)
8692 * restore-src/amidxtaped.c: Log errno when tape_stat fails.
8693 * restore-src/amrestore.c: Ditto.
8694 * tape-src/output-rait.c: Ditto.
8696 2003-01-24 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8698 * server-src/amstatus.pl.in: print an usage by tape.
8700 2003-01-23 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8702 * recover-src/extract_list.c (add_extract_item, delete_extract_item):
8703 Check also for level when comparing label.
8705 2003-01-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8707 Do not build chg-scsi-chio, it is buggy.
8708 * changer-src/Makefile.am (libexec_PROGRAMS): remove $(CHIO_SCSI).
8709 * changer-src/Makefile.am (EXTRA_PROGRAMS): add $(CHIO_SCSI).
8711 2003-01-16 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8713 * configure.in: disable amrestore if --without-server is set.
8715 2003-01-04 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8717 * client-src/amandad.c: Use the dbfd macro instead of the external
8719 * client-src/selfcheck.c: Ditto.
8720 * client-src/sendbackup.c: Ditto.
8721 * client-src/sendsize.c: Ditto.
8722 * client-src/sendbackup-gnutar.c: Use save_errno instead of errno.
8723 * common-src/debug.c: Move most declaration inside #ifdef DEBUG_CODE.
8724 * server-src/amindexd.c: dup db_fd() to stderr.
8725 * server-src/conffile.c: Don't call error() if the config file does not
8726 exist, just write to stderr and set got_parserror.
8728 2003-01-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8730 * recover-src/amrecover.c: Fix memory leak.
8732 2003-01-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8734 Add new maxpromoteday option in a dumptype.
8735 * example/amanda.conf.in: Give an example
8736 * man/amanda.8.in: Document it.
8737 * server-src/amadmin.c: Print it in the disklist subcommand.
8738 * server-src/conffile.c: read it.
8739 * server-src/conffile.h (dumptype_t): Add maxpromoteday and
8741 * server-src/diskfile.c (read_diskline): Copy maxpromoteday from
8742 dumptype_t to disk_t.
8743 * server-src/diskfile.h (disk_t): Add maxpromoteday.
8744 * server-src/planner.c (promote_highest_priority_incr): Don't promote
8745 a disk if est(dp)->next_level0 > dp->maxpromoteday.
8747 2003-01-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8748 Reported by Josh More <jmore@remote-print.com>
8750 * client-src/client_util.c (add_exclude, add_include): Remove the
8751 need for MAXPATHLEN.
8753 2003-01-02 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8754 Fix by Josh More <jmore@remote-print.com>
8756 * tape-src/output-tape.c: Add a ; after f = MT_UNLOAD
8758 2003-01-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8759 Undo patch of 2002-11-27. That doesn't work well for the planner.
8761 * common-src/amanda.h (days_diff): Revert to old macro.
8762 * server-src/amadmin.c: Undo Fix for newer days_diff.
8763 * server-src/planner.c: Undo Fix for newer days_diff.
8765 2003-01-01 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8767 * client-src/client_util.c: Fix memory leak reported by valgrind.
8768 * client-src/selfcheck.c: Ditto.
8769 * client-src/sendbackup.c: Ditto.
8770 * client-src/sendsize.c: Ditto.
8771 * common-src/amfeatures.c: Ditto.
8772 * common-src/debug.c: Ditto.
8773 * recover-src/amrecover.c: Ditto.
8774 * recover-src/extract_list.c: Ditto.
8775 * recover-src/set_commands.c: Ditto.
8776 * recover-src/uparse.y: Ditto.
8777 * recover-src/uscan.l: Ditto.
8778 * server-src/amindexd.c: Ditto.
8779 * server-src/amlabel.c: Ditto.
8780 * server-src/amtape.c: Ditto.
8781 * server-src/amtrmidx.c: Ditto.
8782 * server-src/amtrmlog.c: Ditto.
8783 * server-src/changer.c: Ditto.
8784 * server-src/conffile.c: Ditto.
8785 * server-src/driver.c: Ditto.
8786 * server-src/driverio.c: Ditto.
8787 * server-src/dumper.c: Ditto.
8788 * server-src/find.c: Ditto.
8789 * server-src/holding.c: Ditto.
8790 * server-src/logfile.c: Ditto.
8791 * server-src/planner.c: Ditto.
8792 * server-src/reporter.c: Ditto.
8793 * server-src/tapefile.c: Ditto.
8794 * server-src/taper.c: Ditto.
8796 2002-12-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8798 * amplot/amplot.awk: Many fix.
8800 2002-12-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8802 * server-src/planner.c (promote_highest_priority_incremental): Promote
8803 a disk > balanced size if no full today. Do not promote a disk it's
8804 the only disk due that day and no full today.
8806 2002-12-30 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8807 Patch by Brad Roberts <braddr@puremagic.com>
8809 * server-src/amflush.c: Remove 2 redundant amfree call after remove_sl.
8810 * server-src/holding.c (get_flush): Ditto.
8812 2002-12-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8814 * server-src/conffile.c: New taperalgo configuration keyword.
8815 * server-src/conffile.h: Ditto.
8816 * man/amanda.8.in: Document it.
8817 * server-src/driver.c (startaflush): New function to start a flush to
8820 2002-12-27 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8822 * server-src/diskfile.c (parse_diskline): Allow skip in dumptype.
8824 2002-12-23 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8826 * server-src/amstatus.pl.in: Parse features from PORT-WRITE line.
8828 2002-12-19 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8830 Don't use the G flag for samba backup restore by tar.
8831 * recover-src/extract_list.c (enum dumptypes): Add IS_SAMBA_TAR.
8832 * recover-src/extract_list.c (extract_files_child): Set dumptype to
8833 IS_SAMBA_TAR if it's a SAMBA backup. Don't pass the G flag to tar
8834 if it's IS_SAMBA_TAR.
8836 2002-12-18 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8838 * amplot/amplot.awk: Parse line with features, parse ENDFLUSH line.
8840 2002-12-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8842 * server-src/planner.c (promote_highest_priority_incremental): Newer
8843 algorithm that reduce the number of level 0 by hosts on a single day.
8845 2002-12-17 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8847 * amplot/amplot.awk: Parse newer log lines.
8849 2002-12-11 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8850 * server-src/reporter.c (output_stats): Typo.
8852 2002-12-09 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8854 * server-src/reporter.c: Print an usage by tape.
8856 2002-12-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8858 * tape-src/tapeio.c (do_read): Init count to 0.
8860 2002-12-05 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8862 * tape-src/Makefile.am: Install tapetype program as amtapetype.
8863 * docs/TAPETYPES: Change for amtapetype.
8864 * man/amtapetype.8.in: New man page
8865 * man/Makefile.am: Install it.
8866 * configure.in (AC_CONFIG_FILES): Add man/amtapetype.8.
8868 2002-12-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8870 * tape-src/ammt.c (optind): Add prototype.
8871 * tape-src/amdd.c (optind): Add prototype.
8873 2002-12-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8875 * common-src/arglist.h (printf_arglist_function,
8876 printf_arglist_function1, printf_arglist_function2): Define if
8877 STDC_HEADERS is not defined.
8879 2002-12-03 Jean-Louis Martineau <martineau@iro.umontreal.ca>
8881 * server-src/amstatus.pl.in: New --date option to display datestamp.
8882 * server-src/amstatus.pl.in: Increase some field size.
8883 * server-src/amstatus.pl.in: The host field adjust it's length to the
8886 2002-11-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8888 * common-src/amanda.h (days_diff): Don't add a half day.
8889 * server-src/amadmin.c: Fix for newer days_diff.
8890 * server-src/planner.c: Fix for newer days_diff.
8892 2002-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8894 * client-src/amandad.c: Fix compiler warning.
8895 * common-src/Makefile.am (bsdsecurity): Link with file.o.
8896 * common-src/bsd-security.c: Fix compiler warning.
8897 * common-src/bsd-security.c (construct_datestamp, construct_timestamp):
8898 Add function if TEST.
8899 * server-src/chunker.c: Fix compiler warning.
8900 * server-src/dumper.c: Fix compiler warning.
8902 2002-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8904 * tape-src/tapetype.c: Cast time_t to long for printing.
8906 2002-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8908 * server-src/amflush.c: Write a "amflush: start at ???" line.
8909 * server-src/amstatus.pl.in: parse the "amflush: start at ???" line.
8911 2002-11-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8913 * server-src/planner.c (delay_dumps): Use snprintf.
8915 2002-11-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8917 * common-src/debug.c: Most of the code must in #ifdef DEBUG_CODE.
8918 * client-src/client_util.c: Use AMANDA_TMPDIR instead of AMANDA_DBGDIR.
8920 2002-11-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8922 * docs/TAPE.CHANGERS: Sync with 2.4.3.
8924 2002-11-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8926 * server-src/amadmin.c: Cleanup.
8928 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8930 * man/amadmin.8.in: Document new --days option of balance subcommand.
8932 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8934 * server-src/amadmin.c (days_diff): Make next_level0 more acurate.
8935 * server-src/amadmin.c (balance): Improve output.
8937 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8939 * recover-src/extract_list.c: Add Retry and Skip command to amrecover.
8941 2002-11-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8943 * tape-src/output-tape.c (tape_tapefd_fsf): Must not be static.
8945 2002-11-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8947 * server-src/reporter.c: Fix for LPRCMD not defined.
8949 2002-11-14 Marc Mengel <mengel@fnal.gov>
8951 New changer scripts for use with rait: code, run several other
8952 changers in tandem and return a rait: tape device. Makes fake
8953 amanda.conf files under AMANDA_DEBUGDIR for each changer used,
8956 * changer-src/chg-rait.sh.in: New file. Multi-changer script.
8957 * changer-src/chg-null.sh.in: New File. Null-device changer script.
8958 * docs/TAPE.CHANGERS: Descriptions of above.
8959 * configure.in: added above files.
8960 * changer-src/Makefile.am: Likewise.
8962 2002-11-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8963 Patch by Orion Poplawski <orion@colorado-research.com>
8965 * server-src/planner.c (delay_dumps): Add the estimate size to all call
8968 2002-11-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8970 * server-src/reporter.c: Increase width of some field.
8972 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8974 * changer-src/scsi-solaris.c (SCSI_ExecuteCommand): Init ret to 0.
8976 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
8978 * recover-src/extract_list.c (delete_file): j is int.
8979 * changer-src/scsi-defs.h (B, B1): Check if already defined.
8980 * server-src/taper.c: Some cast to int.
8981 * tape-src/amdd.c (read_func, write_func): Complete prototype.
8982 * tape-src/tapeio.h (tapefd_read, tapefd_write): return ssize_t,
8983 third argument is size_t.
8984 * tape-src/tapeio.c: Ditto.
8985 * tape-src/output-file.h (file_tapefd_read, file_tapefd_write): return
8986 ssize_t, third argument is size_t.
8987 * tape-src/output-file.c: Ditto.
8988 * tape-src/output-null.h (null_tapefd_read, null_tapefd_write): return
8989 ssize_t, third argument is size_t.
8990 * tape-src/output-null.c: Ditto.
8991 * tape-src/output-rait.h (rait_read, rait__write): return ssize_t,
8992 third argument is size_t.
8993 * tape-src/output-rait.c: Ditto.
8994 * tape-src/output-tape.h (tape_tapefd_read, tape_tapefd_write): return
8995 ssize_t, third argument is size_t.
8996 * tape-src/output-tape.c: Ditto.
8998 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9000 * configure.in: socklen_t default to int.
9001 * common-src/dgram.c (dgram_recv): addrlen is socklen_t.
9002 * common-src/stream.c (stream_server): len is socklen_t.
9003 * recover-src/extract_list.c (add_file): j is int.
9005 2002-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9007 * client-src/client_util.c (test_name_len) Remove variable.
9008 * common-src/match.c (len_prefix): Change type to int.
9009 * server-src/taper.c: Use %p to print pointer.
9010 * tape-src/amdd.c (read_func, write_func):Change return type to ssize_t.
9011 * tape-src/amdd.c (debug): Renamed to debug_amdd.
9012 * tape-src/ammt.c (debug): Renamed to debug_ammt.
9014 2002-11-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9016 * restore-src/amidxtaped.c: Fix restore from file.
9018 2002-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9020 * restore-src/amidxtaped.c: Fix newline in string literal.
9022 2002-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9024 * server-src/conffile.c (maxdumpsize): New option.
9025 * server-src/conffile.h: Ditto.
9026 * server-src/planner.c: Use maxdumpsize if set.
9027 * example/amanda.conf.in: Document it.
9028 * man/amanda.8.in: Document it.
9030 2002-11-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9032 * common-src/amfeatures.h (fe_amidxtaped_fsf, fe_amidxtaped_label,
9033 fe_amidxtaped_device, fe_amidxtaped_host, fe_amidxtaped_disk,
9034 fe_amidxtaped_datestamp, fe_amidxtaped_header, fe_amidxtaped_nargs,
9035 fe_amidxtaped_config): New features.
9036 * common-src/amfeatures.c (am_init_feature_set): Set new features.
9037 * recover-src/extract_list.c: Send new protocol data to amidxtaped.
9038 * restore-src/Makefile.am: amidxtaped.c need libamserver.
9039 * restore-src/amidxtaped.c: Read new protocol data from amrecover.
9040 * restore-src/amidxtaped.c: Use new configuration options.
9041 * server-src/conffile.c (conf_amrecover_do_fsf,
9042 conf_amrecover_check_label, conf_amrecover_changer): New config.
9043 * server-src/conffile.h: New config options.
9044 * example/amanda.conf.in: Document them.
9045 * man/amanda.8.in: Document them.
9047 2002-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9049 * autogen: touch config/config.h.in
9050 * configure.in: Patch from autoupdate-2.53 and LIBOBJS.
9051 * common-src/Makefile.am: Build versuff.o before version.o
9052 * recover-src/Makefile.am: Remove work around for automake-1.2
9054 2002-11-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9056 * configure.in: Remove --disable-libtool.
9057 * */Makefile.am: Remove WANT_LIBTOOL.
9059 2002-11-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9061 * changer-src/chg-scsi.c (config_name, config_dir): Remove declaration.
9062 * server-src/amadmin.c: Ditto.
9063 * server-src/amcheck.c: Ditto.
9064 * server-src/amcleanupdisk.c: Ditto.
9065 * server-src/amflush.c: Ditto.
9066 * server-src/amindexd.c: Ditto.
9067 * server-src/amlabel.c: Ditto.
9068 * server-src/amlogroll.c: Ditto.
9069 * server-src/amtape.c: Ditto.
9070 * server-src/amtrmidx.c: Ditto.
9071 * server-src/amtrmlog.c: Ditto.
9072 * server-src/chunker.c: Ditto.
9073 * server-src/diskfile.c: Ditto.
9074 * server-src/driver.c: Ditto.
9075 * server-src/dumper.c: Ditto.
9076 * server-src/getconf.c: Ditto.
9077 * server-src/planner.c: Ditto.
9078 * server-src/reporter.c: Ditto.
9079 * server-src/taper.c: Ditto.
9080 * server-src/conffile.c (config_name, config_dir): Add declaration.
9082 2002-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9084 * man/amrestore.8: Amrestore doesn't use a changer.
9086 2002-11-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9088 * configure.in (SHELL): Don't set it, libtool do it.
9090 2002-10-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9092 * config/ltmain.sh, config/libtool.m4i: Update from libtool 1.4.3.
9094 2002-10-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9096 * restore-src/amrestore.c: New '-l <label>' flag, Do a rewind and
9097 check the label before restoring.
9098 * man/amrestore.8: Document -l flag.
9100 2002-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9102 * configure.in (AM_HAVE_MT_FLAGS, AM_HAVE_MT_FILENO, AM_HAVE_MT_BLKNO,
9103 AM_HAVE_MT_DSREG,AM_HAVE_MT_ERREG): Rename to HAVE_MT_FLAGS,
9104 HAVE_MT_FILENO, HAVE_MT_BLKNO, HAVE_MT_DSREG and HAVE_MT_ERREG.
9105 * tape-src/output-tape.c: Ditto.
9107 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9108 Undo patch of 2002-10-24. They are needed by amrecover.
9110 * client-src/getfsent.h (open_fstab, close_fstab, get_fstab_nextentry,
9111 is_local_fstype): Add Prototype.
9112 * client-src/getfsent.c (open_fstab, close_fstab, get_fstab_nextentry,
9113 is_local_fstype): remove Prototype.
9115 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9116 Patch by Paul Bijnens <paul.bijnens@xplanation.com>
9118 * tape-src/tapetype.c: Detects and warns the user if the tape drive
9119 has hardware compression enabled.
9121 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9123 * restore-src/amrestore.c: New '-f <fileno>' flag, Do a rewind and
9124 'fsf <fileno>' if -f is set.
9125 * man/amrestore.8: Document -f flag.
9127 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9129 * common-src/amfeatures.h (fe_amindexd_fileno_in_OLSD,
9130 fe_amindexd_fileno_in_ORLD): New amfeatures.
9131 * common-src/amfeatures.c (am_init_feature_set): Set
9132 fe_amindexd_fileno_in_OLSD and fe_amindexd_fileno_in_ORLD.
9133 * recover-src/amrecover.h (struct DIR_ITEM): Add fileno.
9134 * recover-src/display_commands.c (add_dir_list_item): Set fileno
9136 * recover-src/display_commands.c (suck_dir_list_from_server): Read
9137 fileno if fe_amindexd_fileno_in_OLSD is set.
9138 * recover-src/extract_list.c (struct EXTRACT_LIST): Add fileno.
9139 * recover-src/extract_list.c (add_file): Read fileno if
9140 fe_amindexd_fileno_in_ORLD is set.
9141 * recover-src/extract_list.c (delete_file): Read fileno if
9142 fe_amindexd_fileno_in_ORLD is set.
9143 * server-src/amindexd.c (opaque_ls): Write fileno if
9144 fe_amindexd_fileno_in_OLSD or fe_amindexd_fileno_in_ORLD are set.
9146 2002-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9147 patch by Doug Kingston <dpk@pobox.com>
9149 * configure.in (NEED_PATH_ENV, IGNORE_UID_CHECK, IGNORE_FSTAB,
9150 DONT_SUID_ROOT): Defined if on *-pc-cygwin.
9151 * client-src/Makefile.am: Fix for cygwin.
9152 * client-src/getfsent.c: Don't use fstab if IGNORE_FSTAB.
9153 * client-src/killpgrp.c: Don't suid(0) if DONT_SUID_ROOT.
9154 * client-src/rundump.c: Don't suid(0) if DONT_SUID_ROOT.
9155 * client-src/runtar.c: Don't suid(0) if DONT_SUID_ROOT.
9156 * client-src/selfcheck.c (check_suid): Don't check uid if
9158 * common-src/alloc.c (safe_env): Add PATH to ENV if NEED_PATH_ENV.
9159 * recover-src/amrecover.c: Don't check uid if IGNORE_UID_CHECK.
9161 2002-10-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9163 * client-src/getfsent.h (open_fstab, close_fstab, get_fstab_nextentry,
9164 is_local_fstype): Remove Prototype.
9165 * client-src/getfsent.c (open_fstab, close_fstab, get_fstab_nextentry,
9166 is_local_fstype): Add Prototype.
9168 2002-10-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9170 * server-src/amindexd.c: New FEATURES command that read the features
9171 set from the client and reply the features set of the server.
9172 * recover-src/amrecover.h: include "amfeatures.h"
9173 * recover-src/amrecover.c: Send the FEATURES command to the server
9174 and read it's features set.
9176 2002-10-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9178 * client-src/Makefile.am: Work around for CYGWIN.
9179 * server-src/Makefile.am: Ditto.
9181 2002-10-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9183 * configure.in: Remove empty command from $program_transform_name.
9185 2002-10-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9187 * recover-src/extract_list.c (READ_TIMEOUT): Increased to 240*60.
9189 2002-09-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9191 * client-src/getfsent.c (open_fstab): Check if MNTTAB is defined.
9193 2002-09-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9195 * server-src/amverifyrun.sh.in: New program.
9196 * man/amverifyrun.8.in: Man page for amverifyrun.
9197 * configure.in (AC_OUTPUT): add man/amverifyrun.8 and
9198 server-src/amverifyrun.sh.
9199 * man/Makefile.am (SERVER_MAN_PAGES): Add amverifyrun.8.
9200 * man/amanda.8.in: Add amdd, ammt and amverifyrun in SEE ALSO.
9201 * man/amverify.8.in: Add amverifyrun(8) in SEE ALSO.
9202 * server-src/Makefile.am (sbin_SCRIPTS): Add amverifyrun.
9204 2002-09-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9206 * server-src/amverify.sh.in: Accept runtapes as a third argument.
9207 * man/amverify.8.in: Document it.
9209 2002-09-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9211 * config/missing: Updated from automake-1.5.
9213 2002-09-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9215 * config/config.guess: Updated from ftp://ftp.gnu.org/gnu/config/
9216 * config/config.sub: Updated from ftp://ftp.gnu.org/gnu/config/
9218 2002-09-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9220 * client-src/sendsize.c (getsize_dump): Print the fstype.
9221 * client-src/sendbackup-dump.c (start_backup): Print the fstype.
9223 2002-09-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9224 Patch by Florian Hars <hars@bik-gmbh.de>
9226 * changer-src/chg-zd-mtx.sh.in: Fix default value for cleancycle.
9228 2002-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9230 * recover-src/extract_list.c (extract_files): print tape drive
9231 and host before asking to load tape.
9233 2002-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9235 * server-src/taper.c (read_file): Initialize file,
9236 stat(file.cont_filename) before opening it.
9238 2002-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9240 * server-src/amverify.sh.in: Don't check that the device is
9241 a character device, it could be a file: or rait:
9243 2002-09-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
9245 * common-src/amfeatures.c (am_set_default_feature_set):
9246 fe_rep_options_sendbackup_options is a default feature.
9248 2002-09-06 Jean-Louis Martineau <martineau@iro.umontreal.ca>
9250 * server-src/amstatus.pl.in: Sort a disk in datestamp order.
9252 2002-09-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9253 Text by Jean-Francois Malouin <Jean-Francois.Malouin@bic.mni.mcgill.ca>
9255 * docs/EXCLUDE: Improve documentation.
9257 2002-09-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9259 * server-src/reporter.c: Fix compilation error if LPRCMD is not defined.
9261 2002-08-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9262 Patch by Jason Brooks <jason0@mail.wrs.com>
9264 * docs/chg-scsi.notes: New document.
9265 * changer-src/chg-scsi.c: Adding printout of "emubarcode" values
9267 * changer-src/scsi-changer-driver.c: Added dlt8000 and L500 to
9269 * changer-src/sense.c: Added dlt8000 and L500 to SenseType[].
9271 2002-08-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9273 * tape-src/output-null.c (null_tape_stat, null_tape_access): Use
9274 "/dev/null" instead of filename.
9276 2002-08-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9278 * changer-src/chg-mtx.sh.in: Sync with 2.4.3 branch.
9279 * changer-src/chg-scsi-chio.c: Ditto.
9280 * changer-src/chg-scsi.c: Ditto.
9281 * changer-src/scsi-aix.c: Ditto.
9282 * changer-src/scsi-bsd.c: Ditto.
9283 * changer-src/scsi-cam.c: Ditto.
9284 * changer-src/scsi-changer-driver.c: Ditto.
9285 * changer-src/scsi-defs.h: Ditto.
9286 * changer-src/scsi-hpux_new.c: Ditto.
9287 * changer-src/scsi-irix.c: Ditto.
9288 * changer-src/scsi-linux.c: Ditto.
9289 * changer-src/scsi-solaris.c: Ditto.
9290 * tape-src/tapeio.c: Ditto.
9292 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9294 * recover-src/uparse.y: Fix compiler warning.
9296 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9298 * server-src/amtrmidx.c: Continue if a directory doesn't exist.
9300 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9302 * man/amanda.8.in (tapecycle): Improve documentation.
9304 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9306 * server-src/amstatus.pl.in: Works with features.
9308 2002-08-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9310 * common-src/amfeatures.c (am_feature_to_string): Return the string
9311 "UNKNOWNFEATURE" if no features.
9312 * common-src/amfeatures.c (am_string_to_feature): Return NULL if the
9313 string is "UNKNOWNFEATURE".
9315 2002-08-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9317 * common-src/file.c (debug_agets): line_free was badly set when
9318 the buffer size in increased.
9320 2002-07-19 John R. Jackson (jrj@purdue.edu)
9322 * common-src/amanda.h: Fix bad #define.
9324 2002-07-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9326 David Munro <D.Munro@surrey.ac.uk>
9328 * common-src/sl.c (new_sl): Alloc (sl_t) instead of (sl_t *).
9330 2002-06-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9332 Jonathan R. Johnson <Jonathan.Johnson@MinnetonkaSoftware.com>
9334 * server-src/reporter.c: Fix psfname filename.
9336 2002-05-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9338 * client-src/sendbackup.c: Don't do compression if it is server side.
9339 * client-src/sendbackup-dump.c: Ditto.
9340 * client-src/sendbackup-gnutar.c: Ditto.
9342 2002-05-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9343 Patch by Manuel Bouyer <bouyer@antioche.lip6.fr>
9345 * server-src/taper.c (detach_buffers): Fix compilation with mmap.
9347 2002-04-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9349 * recover-src/extract_list.c (extract_files): Set dump_device_name
9350 after the call of okay_to_continue.
9352 2002-04-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9354 New features to describe the OPTIONS line of a REP packet.
9355 * common-src/amfeatures.h: Add fetures fe_rep_options_maxdumps,
9356 fe_rep_options_hostname, fe_rep_options_features and
9357 fe_rep_options_sendbackup_options.
9358 * common-src/amfeatures.c (am_init_feature_set): Add
9359 fe_rep_options_features.
9360 * client-src/selfcheck.c: Write REP packet according to server features. * client-src/sendbackup.c: Ditto.
9361 * client-src/sendsize.c: Ditto.
9363 2002-04-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9365 * common-src/amfeatures.h:
9366 Rename fe_g_options_maxdump to fe_req_options_maxdumps
9367 Rename fe_g_options_hostname to fe_req_options_hostname
9368 Rename fe_g_options_features to fe_req_options_features
9369 * common-src/amfeatures.c: Ditto
9370 * server-src/amcheck.c: Ditto
9371 * server-src/dumper.c: Ditto
9372 * server-src/planner.c: Ditto
9374 2002-04-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9376 * server-src/amcheck.c: Check if it can send features, hostname or
9377 maxdumps on the global options line. Don't send hostname and
9378 maxdumps for a noop service.
9379 * server-src/dumper.c: Ditto.
9380 * server-src/planner.c: Ditto.
9382 2002-04-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9384 * client-src/sendbackup.c: (optionstr): Add srvcomp-best and
9385 srvcomp-fast options.
9387 2002-04-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9389 * server-src/amcheck.c (start_host): Check the todo bit before
9392 2002-04-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9394 * client-src/client_util.c (parse_options, parse_g_options): Check
9395 for duplication options.
9396 * client-src/client_util.h (COMPR_SERVER_FAST, COMPR_SERVER_BEST):
9398 * client-src/selfcheck.c: Check for COMPR_FAST or COMPR_BEST.
9400 2002-04-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9402 * client-src/selfcheck.c (host):Remove variable,use g_options->hostname.
9403 * client-src/sendbackup.c: Ditto.
9404 * client-src/sendsize.c: Ditto.
9406 2002-04-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9408 * client-src/client_util.c (parse_g_options) New function to parse
9409 the global options string.
9410 * client-src/client_util.h (parse_g_options): Prototype.
9411 * client-src/selfcheck.c: use parse_g_options.
9412 * client-src/sendbackup.c: use parse_g_options.
9413 * client-src/sendsize.c: use parse_g_options.
9415 2002-04-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9417 * server-src/diskfile.c: Improve message for missing features.
9419 2002-04-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9422 * common-src/amfeatures.c (am_set_default_feature_set): New function
9423 to set the default features set.
9424 * common-src/amfeatures.h (am_set_default_feature_set): Prototype.
9425 * common-src/amfeatures.h: Rename amanda_feature_auth_keyword to
9427 * client-src/client_util.c: Check features.
9428 * server-src/amcheck.c: Ditto.
9429 * server-src/diskfile.c: Ditto.
9430 * server-src/driverio.c: Ditto.
9431 * server-src/planner.c: Ditto.
9432 * server-src/diskfile.h (optionstr): Change prototype.
9433 * client-src/sendsize.c: Fix compiler warning.
9435 2002-04-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9437 * common-src/amfeatures.c: Include "amfeatures.h"
9438 * common-src/rsh-security.c: Don't assert on undefined variable.
9440 2002-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9442 * common-src/amfeatures.c: Renamed from features.c
9443 * common-src/amfeatures.h: Renamed from features.h
9444 * common-src/Makefile.am: Rename features to amfeatures.
9445 * client-src/amandad.c: Ditto.
9446 * client-src/client_util.h: Ditto.
9447 * client-src/selfcheck.c: Ditto.
9448 * client-src/sendbackup.c: Ditto.
9449 * client-src/sendsize.c: Ditto.
9450 * server-src/amcheck.c: Ditto.
9451 * server-src/chunker.h: Ditto.
9452 * server-src/diskfile.h: Ditto.
9453 * server-src/dumper.c: Ditto.
9454 * server-src/planner.c: Ditto.
9455 * server-src/taper.c: Ditto.
9457 2002-04-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9459 * server-src/conffile.c: Default dumporder set to "ttt".
9460 * server-src/driver.c: If dumporder is too short, use t and T.
9461 * man/amanda.8.in: Default dumporder set to "ttt".
9463 2002-04-13 John R. Jackson (jrj@purdue.edu)
9465 * common-src/features.c: Add amanda_feature_auth_keyword feature so
9466 authorization in the OPTIONS string is backward compatible.
9467 * common-src/features.h: Ditto.
9468 * client-src/client_util.c: Ditto.
9469 * client-src/client_util.h: Ditto.
9470 * client-src/selfcheck.c: Ditto.
9471 * client-src/sendbackup.c: Ditto.
9472 * client-src/sendsize.c: Ditto.
9473 * server-src/diskfile.c: Ditto.
9474 * server-src/planner.c: Fix compiler warning.
9476 2002-04-13 John R. Jackson (jrj@purdue.edu)
9478 * server-src/diskfile.c: Fix memory leak.
9480 2002-04-13 John R. Jackson (jrj@purdue.edu)
9482 * server-src/amcheck.c: Fix error parsing in packet.
9484 2002-04-13 John R. Jackson (jrj@purdue.edu)
9486 * common-src/features.c: New file. Add support for feature sets so
9487 different Amanda versions can work together.
9488 * common-src/features.h: Ditto.
9489 * common-src/Makefile.am: Ditto. Add "features" test program.
9490 * client-src/amandad.c: Add "noop" service to return the feature set.
9491 * client-src/selfcheck.c: Accept and return a feature set in OPTIONS.
9493 * client-src/sendbackup.c: Ditto.
9494 * client-src/sendsize.c: Ditto.
9495 * common-src/bsd-security.c: Minor message change.
9496 * common-src/error.c: Use strcasecmp.
9497 * common-src/protocol.c: Use dbprintf for PROTO_DEBUG and improve
9499 * restore-src/amidxtaped.c: Improve parsing.
9500 * server-src/amcheck.c: Ask for client features via "noop" before
9501 doing the real "selfcheck" service requests. Improve parsing.
9502 * server-src/amflush.c: Minor coding format cleanup.
9503 * restore-src/amindexd.c: Improve parsing.
9504 * server-src/chunker.c: Deal with features string in commands. Improve
9506 * server-src/diskfile.c: Initialize the features hosttype field.
9507 * server-src/diskfile.h: Add the features hosttype field.
9508 * server-src/driver.c: Save the features from the schedule. Clean
9509 up some error messages.
9510 * server-src/driverio.c: Add features string to several commands.
9511 * server-src/dumper.c: Deal with features string in commands. Improve
9513 * server-src/planner.c: Ask for client features via "noop" before
9514 doing the real "sendsize" service requests. Improve parsing.
9515 * server-src/server_util.c: Minor coding cleanup.
9516 * server-src/server_util.h: Increase the number of args allowed on
9518 * server-src/taper.c: Deal with features string in commands. Improve
9521 2002-04-12 John R. Jackson (jrj@purdue.edu)
9523 * server-src/driver.c: Fix crash when only processing a tape queue
9526 2002-04-11 John R. Jackson (jrj@purdue.edu)
9528 * server-src/driver.c: Protect against crash when taper has died.
9530 2002-04-11 John R. Jackson (jrj@purdue.edu)
9532 * common-src/stream.c: Clean up an error message.
9534 2002-04-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9536 * docs/DUMPER-API: Remove the section about USER and GROUP.
9538 2002-04-09 John R. Jackson (jrj@purdue.edu)
9540 * server-src/driver.c: Fix send of QUIT to taper when it is down.
9542 2002-04-07 John R. Jackson (jrj@purdue.edu)
9544 * server-src/dumper.c: Change sendbackup response parsing to handle
9545 2.4 changes. Improve packet parse error processing. Make packet
9546 logging conditional on an #ifdef instead of commented out.
9548 2002-04-07 John R. Jackson (jrj@purdue.edu)
9550 * client-src/amandad.c: Fix FORCE_USERID to run the service as the
9551 client user if amandad was started as root.
9553 2002-04-07 John R. Jackson (jrj@purdue.edu)
9555 * common-src/clock.c: Move definition of amanda_gettimeofday() macro
9556 to the header file so it could be used other places. Use new
9557 amanda_timezone macro to avoid some #ifdef's.
9558 * common-src/clock.h: Ditto.
9559 * common-src/bsd-security.c: Fix compatibility problems with pre-2.5
9560 servers trying to talk to 2.5 clients. The HANDLE value was not
9561 being properly handled, and the sequence number was being ignored.
9563 2002-04-07 John R. Jackson (jrj@purdue.edu)
9565 * server-src/reporter.c: Move column routines to conffile.c so amcheck
9566 can use them in its tests. Do not abort on several failures, but
9567 generate messages in the FAILURE AND STRANGE DUMP SUMMARY section.
9568 * server-src/conffile.c: Move column routines to here.
9569 * server-src/conffile.h: Ditto.
9570 * server-src/amcheck.c: Add several config file tests.
9571 * server-src/logfile.c: Change "reporter" to "amreport".
9573 2002-04-07 John R. Jackson (jrj@purdue.edu)
9575 * configure.in: Add /usr/local/sbin to LOCPATH.
9577 2002-03-31 John R. Jackson (jrj@purdue.edu)
9579 * server-src/amcheck.c: Send maxdumps and hostname in packet OPTIONS.
9581 2002-03-31 John R. Jackson (jrj@purdue.edu)
9583 * changer-src/scsi-defs.h: Fix compiler warning and bug it was hiding.
9584 * changer-src/scsi-solaris.c: Ditto.
9586 2002-03-31 John R. Jackson (jrj@purdue.edu)
9588 * client-src/amandad.c: Fix arguments to pkt_cat.
9589 * common-src/bsd-security.c: Ditto.
9591 2002-03-31 John R. Jackson (jrj@purdue.edu)
9593 * client-src/amandad.c: Add relative timestamps to a lot of debug
9594 file messages, and add more messages, to better track what is
9595 going on. Various general cleanup.
9596 * client-src/calcsize.c: Ditto.
9597 * client-src/client_util.c: Ditto.
9598 * client-src/selfcheck.c: Ditto.
9599 * client-src/sendbackup-dump.c: Ditto.
9600 * client-src/sendbackup-gnutar.c: Ditto.
9601 * client-src/sendbackup.c: Ditto.
9602 * client-src/sendbackup.h: Ditto.
9603 * client-src/sendsize.c: Ditto.
9604 * common-src/amanda.h: Ditto.
9605 * common-src/bsd-security.c: Ditto.
9606 * common-src/clock.c: Ditto.
9607 * common-src/clock.h: Ditto.
9608 * common-src/debug.c: Ditto.
9609 * common-src/dgram.c: Ditto.
9610 * common-src/error.c: Ditto.
9611 * common-src/file.c: Ditto.
9612 * common-src/pipespawn.c: Ditto.
9613 * common-src/stream.c: Ditto.
9614 * common-src/util.c: Ditto.
9615 * man/amanda.8.in: Ditto.
9616 * restore-src/amidxtaped.c: Ditto.
9617 * restore-src/amrestore.c: Ditto.
9618 * server-src/amindexd.c: Ditto.
9619 * server-src/getconf.c: Ditto.
9620 * server-src/planner.c: Ditto.
9622 2002-03-31 John R. Jackson (jrj@purdue.edu)
9624 * client-src/sendsize.c: Pay attention to the spindle number.
9626 2002-03-30 John R. Jackson (jrj@purdue.edu)
9628 * server-src/planner.c: General delay_dumps code cleanup.
9630 2002-03-30 John R. Jackson (jrj@purdue.edu)
9632 * server-src/planner.c: Make sure individual dumps larger than a tape
9633 are not added back into the schedule. Found by Uncle George
9634 <gatgul@voicenet.com>.
9636 2002-03-29 John R. Jackson (jrj@purdue.edu)
9638 * man/amanda.8.in: Move "comment" in tapetype after inclusion of
9639 previous definition. Found by Uncle George <gatgul@voicenet.com>.
9641 2002-03-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9643 * client-src/client_util.c (fixup_relative): New function to prepend
9644 the dirname if relative.
9645 * client-src/client_util.c (build_exclude, build_include): Use
9647 * client-src/client_util.c (parse_options): Do not prepend the dirname.
9648 * client-src/selfcheck.c (check_options): Don't generate ERROR for samba
9651 2002-03-24 John R. Jackson (jrj@purdue.edu)
9653 * common-src/debug.c: Change dbopen() message slightly to match what
9654 amdump generates, making it easier to parse.
9656 2002-03-24 John R. Jackson (jrj@purdue.edu)
9658 * common-src/Makefile.am: Move clock routines to common-src so
9659 everyone may use them.
9660 * server-src/Makefile.am: Ditto.
9662 2002-03-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9664 * client-src/sendbackup-gnutar.c: Fix use of no_record.
9666 2002-03-24 John R. Jackson (jrj@purdue.edu)
9668 * client-src/amandad.c: Make sure argv[0] is valid before using it.
9669 * restore-src/amidxtaped.c: Ditto.
9670 * server-src/amindexd.c: Ditto.
9672 2002-03-24 John R. Jackson (jrj@purdue.edu)
9674 * client-src/client_util.c: Use the Amanda memory allocation code.
9675 * client-src/sendbackup-gnutar.c: Ditto.
9676 * client-src/sendsize.c: Ditto.
9677 * common-src/match.c: Ditto.
9678 * recover-src/amrecover.c: Ditto.
9679 * recover-src/display_commands.c: Ditto.
9680 * recover-src/extract_list.c: Ditto.
9681 * restore-src/amidxtaped.c: Ditto.
9682 * server-src/amflush.c: Ditto.
9683 * server-src/disk_history.c: Ditto.
9684 * server-src/driver.c: Ditto.
9685 * server-src/dumper.c: Ditto.
9686 * common-src/amanda.h: Always pass the source file and line number
9687 to the memory routines to make it easier to debug.
9688 * common-src/alloc.c: Ditto.
9689 * common-src/file.c: Ditto.
9691 2002-03-23 John R. Jackson (jrj@purdue.edu)
9693 * changer-src/chg-scsi-chio.c: Use agets instead of fgets.
9694 * changer-src/chg-scsi.c: Use agets instead of fgets.
9695 * client-src/client_util.c: Use agets instead of fgets.
9696 * recover-src/amrecover.c: Clean up output on EOF.
9697 * recover-src/extract_list.c: Use agets instead of direct stdio.
9698 Clean up output on EOF. Add '?' help.
9699 * recover-src/set_commands.c: Quote the new device in the verify
9700 output to make it stand out.
9701 * server-src/amflush.c: Clean up output on EOF. Clean up output
9702 when multiple holding disk areas selected. Clean up parsing.
9703 Loop until valid user response.
9704 * server-src/find.c: Do not complain if log file is missing for
9705 a new (datestamp == 0) tape.
9706 * server-src/holding.c: Use agets instead of fgets. Clean up
9707 interactive input and output.
9709 2002-03-23 John R. Jackson (jrj@purdue.edu)
9711 * client-src/selfcheck.c: Fix a compiler warning.
9712 * client-src/sendbackup.c: Ditto.
9713 * client-src/sendsize.c: Ditto.
9715 2002-03-23 John R. Jackson (jrj@purdue.edu)
9717 * client-src/getfsent.c (close_fstab()): Call endfsent() instead
9718 of fclose(), if available.
9720 2002-03-23 John R. Jackson (jrj@purdue.edu)
9722 * common-src/dbprintf (debug_printf): Make sure errno is preserved
9723 across dbprint() calls.
9725 2002-03-23 John R. Jackson (jrj@purdue.edu)
9727 * configure.in: Add -R$dir as well as -L$dir on Solaris when processing
9728 --with-libraries to support shared libraries of support products.
9730 2002-03-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9732 * server-src/chunker.c: Get result from dumper.
9733 * server-src/driver.c: Send dumper result to chunker.
9734 * server-src/driverio.c (chunker_cmd): Send DONE and FAILED command.
9735 * server-src/driverio.h (chunker_t): New down field.
9736 * server-src/dumper.c: Cleanup.
9737 * server-src/logfile.c (logtype_str): Add "PARTIAL".
9738 * server-src/logfile.h (logtype_e): Add L_PARTIAL log.
9739 * server-src/reporter.c: Handle PARTIAL log.
9740 * server-src/server_util.c (cmdstr): Add "PARTIAL".
9741 * server-src/server_util.h (cmd_t): Add PARTIAL command.
9742 * server-src/taper.c (read_file): Result is PARTIAL if dumper
9745 2002-03-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9747 * server-src/tapefile.c (write_tapelist): Write to a temp file and
9749 * server-src/amlabel.c: Do not rename the tapelist file.
9750 * server-src/taper.c (label_tape): Do not rename the tapelist file.
9752 2002-03-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9754 * client-src/client_util.c (parse_options): Do not check if the
9755 exclude file exist, it's done later.
9757 2002-03-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9759 * client-src/client_util.c (parse_options): Parse exclude-optional and
9761 * client-src/client_util.h (option_t): New exclude_optional and
9762 include_optional field.
9763 * man/amanda.8.in: Document optional.
9764 * server-src/amadmin.c (disklist_one): Display optional.
9765 * server-src/conffile.c: Parse optional keyword.
9766 * server-src/conffile.h (dumptype_t): New exclude_optional and
9767 include_optional field.
9768 * server-src/diskfile.c (read_diskline): Copy optional bits.
9769 * server-src/diskfile.c (optionstr): Print optional bits.
9770 * server-src/diskfile.h (disk_t): New exclude_optional and
9771 include_optional field.
9772 * server-src/planner.c (getsize): Use new sendsize format if optional
9775 2002-03-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9777 * server-src/driver.c (dump_to_tape): Call start_degraded_mode() if
9780 2002-03-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9782 * recover-src/extract_list.c (extract_files_setup): Add ^$ to host.
9784 2002-03-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9785 Patch from Michael Frankowski <mfrankow@winternet.com>
9787 * client-src/sendbackup-gnutar.c: Test for subdir before dbprintf.
9789 2002-03-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9791 * client-src/client_util.c (init_options): New function.
9792 * client-src/client_util.h (init_options): Prototype.
9793 * client-src/sendsize.c (main): Use init_options.
9795 2002-03-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9797 * client-src/client-util.c: Check for include and exclude files.
9799 2002-03-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9801 * server-src/amstatus.pl.in: Fix.
9802 * server-src/conffile.c(get-compress): Change message for bad
9805 2002-03-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9807 * server-src/amstatus.pl.in: Fix.
9808 * client-src/client_util.c (parse_options): Parse auth= option.
9809 * client-src/client_util.h (option_t): Add auth field.
9810 * client-src/sendbackup.c: Use auth instead of bsd-auth.
9811 * client-src/sendsize.c: Init auth.
9813 2002-03-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9815 * client-src/sendbackup-dump.c: use amdevice as argument to
9817 * client-src/sendsize.c: Use amdevice as argument to amname_to_dirname.
9818 * server-src/dumper.c: clear device if it is set to NODEVICE.
9820 2002-03-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9822 * server-src/amindexd.c: Compilation fix.
9824 2002-03-07 John R. Jackson (jrj@purdue.edu)
9826 * changer-src/chg-zd-mtx.sh.in: Allow whitespace on a VolumeTag line.
9827 Compliments of Christopher McCrory <chrismcc@pricegrabber.com>.
9829 2002-03-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9831 * recover-src/amrecover.h (list_disk): Prototype.
9832 * recover-src/set_commands.c (list_disk): New function.
9833 * recover-src/uparse.y: parse LISTDISK.
9834 * recover-src/uscan.l: listdisk keyword.
9835 * recover-src/help.c: help for listdisk.
9836 * man/amrecover.8.in: Doc for listdisk.
9837 * server-src/amindexd.c: New LISTDISK command.
9838 * docs/INDEXING: Document LISTDISK command.
9840 2002-03-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9842 * server-src/amstatus.pl.in: Better output for autoflush.
9844 2002-03-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9846 * server-src/amstatus.pl.in: Fix.
9848 2002-03-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9850 * server-src/amadmin.c (disklist_one): Print dp->device.
9851 * server-src/amcheck.c (start_host): Send device if specified.
9852 * server-src/amstatus.pl.in: Parse line with device.
9853 * server-src/diskfile.c (parse_diskline): Parse device.
9854 * server-src/diskfile.c (match_disklist): Match on device.
9855 * server-src/diskfile.h (disk_t): New field device.
9856 * server-src/driverio.c: (dumper_cmd): Send device.
9857 * server-src/dumper.c (main): Parse device in request.
9858 * server-src/dumper.c (start_dump): New device argument, send
9860 * server-src/planner.c (getsize): Send device to client.
9861 * server-src/server_util.h (MAX_ARGS): Set it to 12.
9862 * client-src/client_util.c (add_include, build_exclude, build_include,
9863 parse_options): New device argument.
9864 * client-src/client_util.h (build_exclude,build_include,parse_options):
9866 * client-src/selfcheck.c: Use device.
9867 * client-src/sendbackup-dump.c: Use device.
9868 * client-src/sendbackup-gnutar.c: Use device.
9869 * client-src/sendbackup.c: Use device.
9870 * client-src/sendbackup.h (start_backup): New device argument.
9871 * client-src/sendsize.c: Use device.
9872 * man/amanda.8.in: Document new disklist syntax.
9873 * example/disklist: Give example.
9875 2002-03-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9877 * server-src/amstatus.pl.in: Write "wait to flush" only if waittaper
9880 2002-03-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9882 * server-src/amstatus.pl.in: Fix for failed tape.
9884 2002-02-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9886 * man/amanda.8.in: Document multiple exclude.
9887 * man/amanda.8.in: Document include.
9889 2002-02-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9891 * client-src/client-util.c (add_include): Include are glob expression.
9893 2002-02-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9895 * common-src/debug.c (debug_open); Don't try to renmae an already
9898 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9900 * server-src/conffile.c (dump_configuration): Print multiple
9901 exclude and include.
9903 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9905 * client-src/client_util.c (add_exclude, add_include): Typo.
9907 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9909 * client-src/client_util.c (build_include, build_exclude): Fix for
9912 2002-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9914 * client-src/client_util.c (get_name): Create a file name.
9915 * client-src/client_util.c (build_name): Remove old files,
9916 build an unused file name.
9917 * client-src/client_util.c (add_exclude): Add an exclude pattern to
9919 * client-src/client_util.c (add_include): Add an include to the
9921 * client-src/client_util.c (build_exclude): Concat all excludes in
9923 * client-src/client_util.c (build_include): Concat all includes in
9925 * client-src/client_util.h (build_exclude, build_include): Prototype.
9926 * client-src/selfcheck.c.diff (check_options): Call build_exclude
9928 * client-src/sendsize.c.diff: Call gtar with one
9929 exclude file/include file.
9930 * client-src/sendbackup-gnutar.c.diff: Call gtar with one
9931 exclude file/include file.
9933 2002-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9935 * common-src/amanda.h (amfree): Change e local variable to e__errno.
9936 * common-src/amanda.h (strappend): Change t local variable to t_t_t.
9938 2002-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9940 * client-src/sendsize.c: Set include_file and include_list to NULL
9941 when using old protocol.
9942 * client-src/sendbackup-gnutar.c: Include "." when using old protocol.
9944 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9946 * server-src/conffile.h (dumptype_t): Add include_file and include_list.
9947 * server-src/conffile.c: Read include.
9948 * server-src/diskfile.h (disk_t): Add include_file and include_list.
9949 * server-src/diskfile.c (optionstr): Add include to the optionstr.
9950 * server-src/amadmin.c (disklist_one): Print include.
9951 * server-src/planner.c: Use new protocol if include is used.
9952 * client-src/client_util.h (option_t): Add include_file and include_list
9953 * client-src/client_util.c (parse_options): Parse include.
9954 * client-src/selfcheck.c (check_options): Print ERROR if include are
9955 used for SAMBA or DUMP.
9956 * client-src/sendsize.c: Send include to gnutar.
9957 * client-src/sendbackup-gnutar.c: Send include to gnutar.
9959 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9961 * client-src/client_util.c (parse_options): Check that files from
9962 'exclude list' exist'.
9963 * client-src/selfcheck.c (check_options): Give ERROR if multiple
9964 exclude are used with samba or if exclude are used with DUMP.
9966 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9968 * client-src/sendbackup.h: Remove bad stuff introduced in previous
9970 * client-src/sendbackup-gnutar.c: Ditto.
9972 2002-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9974 * client_src/client_util.c (parse_options): Function to parse
9976 * client_src/client_util.h (parse_options): Prototype.
9977 * client_src/client_util.h (option_t): Struct for options.
9978 * client_src/Makefile.am: Compile client_util.
9979 * client_src/selfcheck.c: Use new option_t and multiple exclude.
9980 * client_src/sendbackup.h: Use new option_t and multiple exclude.
9981 * client_src/sendbackup.c: Use new option_t and multiple exclude.
9982 * client_src/sendbackup-dump.c: Use new option_t and multiple exclude.
9983 * client_src/sendbackup-gnutar.c: Use new option_t and multiple exclude.
9984 * client_src/sendsize.c: Use new option_t and multiple exclude.
9985 * server-src/conffile.h: Use sl_t for exclude_file and exclude_list.
9986 * server-src/conffile.c: Multiple exclude.
9987 * server-src/diskfile.h: Use sl_t for exclude_file and exclude_list.
9988 * server-src/diskfile.c: Multiple exclude.
9989 * server-src/planner.c: Multiple exclude.
9991 2002-02-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9993 * common-src/pipespawn.c (pipespawnv): Typo, ap_snprintf -> snprintf.
9995 2002-02-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
9997 * common-src/pipespawn.c (pipespawnv): New funtion taking an
9999 * common-src/pipespawn.h (pipespawnv): Prototype.
10001 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10003 * server-src/holding.h: Use sl_t instead of holding_t
10004 * server-src/holding.c: Ditto.
10005 * server-src/amcleanupdisk.c: Ditto.
10006 * server-src/amflush.c: Ditto.
10007 * server-src/find.c: Ditto.
10008 * server-src/planner.c: Ditto.
10010 2002-02-11 John R. Jackson (jrj@purdue.edu)
10012 * configure.in: AIX needs the "other" getconf argument to find out
10013 about large file support (XBS5_ILP32_OFFBIG instead of LFS).
10015 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10017 * common-src/sl.h: New header file
10018 * common-src/sl.c: New file for list of string struct.
10019 * common-src/Makefile.am: Compile sl.c
10021 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10023 * changer-src/chg-zd-mtx.sh.in: Don't use '^' in expr match argument.
10025 2002-02-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10027 * common-src/fileheader.c (build_header): Typo.
10029 2002-02-10 John R. Jackson (jrj@purdue.edu)
10031 * configure.in: Add new file-pad tapetype option to take the place
10032 of a positive/negative blocksize. Blocksize may now only be
10033 positive. File-pad defaults to "true" which pads the last tape
10034 record like it always has.
10035 * man/amanda.8.in: Ditto.
10036 * server-src/amlabel.c: Ditto.
10037 * server-src/conffile.c: Ditto. Fix typo in conffile test program.
10038 * server-src/conffile.h: Ditto.
10039 * server-src/planner.c: Ditto.
10040 * server-src/taper.c: Ditto.
10042 2002-02-10 John R. Jackson (jrj@purdue.edu)
10044 * configure.in: Save the ./configure args and display them in the
10045 version string (e.g. amandad*debug and "amadmin xx version").
10046 * common-src/genversion.c: Ditto.
10048 2002-02-10 John R. Jackson (jrj@purdue.edu)
10050 * common-src/alloc.c: Fix type mismatch issues discovered by splint
10051 (www.splint.org). Compliments of jens persson <jens@persson.cx>.
10052 * common-src/bsd-security.c: Ditto.
10053 * common-src/debug.c: Ditto.
10054 * common-src/dgram.c: Ditto.
10055 * common-src/file.c: Ditto.
10056 * common-src/fileheader.c: Ditto.
10057 * common-src/fileheader.h: Ditto.
10058 * common-src/genversion.c: Ditto.
10059 * common-src/getcwd.c: Ditto.
10060 * common-src/match.c: Ditto.
10061 * common-src/stream.c: Ditto.
10062 * common-src/strstr.c: Ditto.
10063 * common-src/token.c: Ditto.
10064 * recover-src/amrecover.c: Ditto.
10065 * recover-src/display_commands.c: Ditto.
10066 * recover-src/extract_list.c: Ditto.
10067 * recover-src/set_commands.c: Ditto.
10068 * server-src/reporter.c: Ditto.
10070 2002-02-10 John R. Jackson (jrj@purdue.edu)
10072 * changer-src/chg-zd-mtx.sh.in: Major cleanup and general overhaul.
10073 * docs/TAPE.CHANGERS: Cleanup.
10075 2002-02-09 John R. Jackson (jrj@purdue.edu)
10077 * common-src/arglist.h: Clean up gcc detection of printf style variable
10078 argument list functions.
10079 * changer-src/scsi-changer-driver.c: Ditto.
10080 * common-src/debug.c: Ditto.
10081 * common-src/dgram.c: Ditto.
10082 * common-src/error.c: Ditto.
10083 * common-src/packet.c: Ditto.
10084 * common-src/packet.h: Ditto.
10085 * common-src/security.c: Ditto.
10086 * common-src/snprintf.c: Ditto.
10087 * common-src/token.c: Ditto.
10088 * common-src/token.h: Ditto.
10089 * server-src/amindexd.c: Ditto.
10090 * server-src/conffile.c: Ditto.
10091 * server-src/diskfile.c: Ditto.
10092 * server-src/logfile.c: Ditto.
10093 * server-src/logfile.h: Ditto.
10094 * server-src/server_util.c: Ditto.
10096 2002-02-09 John R. Jackson (jrj@purdue.edu)
10098 * configure.in: Must look in both strings.h and string.h when trying
10099 to find function declarations (strncasecmp was not found on AIX
10100 but is really there and our override caused a mismatch error).
10102 2002-02-09 John R. Jackson (jrj@purdue.edu)
10104 * configure.in: Add code to test for a type defined in other than the
10105 autoconf expected locations. Use it to look for socklen_t.
10107 2002-02-08 John R. Jackson (jrj@purdue.edu)
10109 * server-src/amadmin.c (check_dumpuser): Make it fatal to attempt to
10110 do an operation that would alter any files when run as someone other
10111 than the dump user from amanda.conf. This should prevent files from
10112 ending up with incorrect ownership.
10114 2002-02-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10116 * man/amrecover.8.in (settape): Document that the hostname is required
10117 if the protocol (tape:, file:, rait:, null:) is specified.
10118 * man/amrecover.8.in (settape): Document that it is posible to
10119 change the tape device when asked to load tape.
10121 2002-02-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10123 * server-src/holding.c (scan_holdingdir): Create the list in
10126 2002-02-02 John R. Jackson (jrj@purdue.edu)
10128 * configure.in: Add unistd.h to list of places to look for ruserok()
10129 declaration. Reported by John Koenig <jfkoenig@vipb.com> on ALPHA
10132 2002-02-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10133 Reported by Roland E. Lipovits <rel@lipo.at0.net>
10135 * server-src/amstatus.pl.in: Don't double-counts the failed
10136 estimate partitions.
10138 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10140 * configure.in: New --with-maxtapeblocksize with a default of 32.
10141 * common-src/amanda.h: MAX_TAPE_BLOCK_KB is defined in amanda.h
10143 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10145 * common-src/fileheader.c (build_header): Never write the
10147 * common-src/fileheader.c (parse_file_header): Do not parse the
10150 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10152 * common-src/fileheader.c (build_header): Write the BLOCKSIZE= line
10153 after the dd if=... line.
10155 2002-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10157 * server-src/driver.c: Init code to 0.
10159 2002-01-29 John R. Jackson (jrj@purdue.edu)
10161 * tape-src/output-tape.c (tape_tapefd_fsf): Some systems cannot deal
10162 with large stack variables, so allocate tape I/O buffers dynamically.
10163 * tape-src/tapeio.c (tapefd_rdlabel): Ditto.
10165 2002-01-25 John R. Jackson (jrj@purdue.edu)
10167 * server-src/driver.c: Log non-zero exit codes and signals from all
10168 the dumpers and taper.
10170 2002-01-25 John R. Jackson (jrj@purdue.edu)
10172 * server-src/amindexd.c: Clean up reporting of errors by gethostby*()
10173 functions. Make sure they always report what they were trying to
10174 look up, and don't bother reporting errno (it would be h_errno).
10176 2002-01-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10178 * common-src/fileheader.h (dumpfile_t): Add blocksize field.
10179 * common-src/fileheader.h (build_header): Change prototype.
10180 * common-src/fileheader.c (fh_init): blocksize default to
10182 * common-src/fileheader.c (parse_file_header): Parse BLOCKSIZE= line.
10183 * common-src/fileheader.c (build_header): Remove blocksize parameter,
10184 write the BLOCKSIZE= line.
10185 * tape-src/tapeio.c: set file.blocksize, Change call to build_header.
10186 * restore-src/amrestore.c: Ditto.
10187 * server-src/dumper.c: Ditto.
10188 * server-src/taper.c: Ditto.
10189 * server-src/holding.c: Ditto.
10190 * server-src/chunker.c: Ditto.
10192 2002-01-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10194 * changer-src/scsi-changer-driver.c (SCSI_ReadElementStatus):
10197 2002-01-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10199 * server-src/planner.c: Check for dp->todo.
10201 2002-01-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10202 Patch by Harlan Stenn <Harlan.Stenn@pfcs.com>
10204 * changer-src/chg-scsi.c: Typo.
10206 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10208 * changer-src/Makefile.am: Run `perl -c' on perl script.
10209 * client-src/Makefile.am: Ditto.
10210 * dumper-src/Makefile.am: Ditto.
10211 * server-src/Makefile.am: Ditto.
10213 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10214 Reported by Geert Uytterhoeven <geert@linux-m68k.org>
10216 * README: Amanda compile on Linux/m68k.
10218 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10220 * changer-src/chg-rth.pl.in: Typo. fi -> }.
10222 2002-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10223 Patch by Harlan Stenn <Harlan.Stenn@pfcs.com>
10225 * changer-src/chg-chio.pl.in: Typo. fi -> }.
10226 * changer-src/chg-chio.pl.in (prefix, exec_prefix): Set correctly.
10227 * changer-src/chg-chio.pl.in (max_picker): Init to -1.
10229 2002-01-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10231 * recover-src/extract_list.c (okay_to_continue_tape): Ignore \n
10234 2002-01-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10236 * server-src/amoverview.pl.in: Ignore some line from amadmin.
10238 2002-01-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10240 * common-src/event.c: Use ASSERTIONS not ASSERT.
10242 2002-01-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10244 * tape-src/output-tape.c (tape_tapefd_rewind, tape_tapefd_unload):
10246 * changer-src/scsi-irix.c (SCSI_OpenDevice): Cast to int.
10247 * common-src/match.c (clean_regex): Cast to int.
10249 2002-01-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10250 Reported by <ian.willis@sge.net>
10252 * common-src/rsh-security.c: Fix for RSH_DEBUG.
10254 2001-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10256 * config/ltconfig: Remove
10257 * config/ltmain.sh, config/libtool.m4i: Update from libtool 1.4.2.
10258 * config/config.guess: Update from
10259 ftp://ftp.gnu.org/gnu/config/config.guess
10260 * config/config.sub: Update from
10261 ftp://ftp.gnu.org/gnu/config/config.sub
10262 * config/depcomp, config/install-sh, config/missing,
10263 config/mkinstalldirs: Update from automake 1.5
10264 * config/Makefile.am (EXTRA_DIST): Remove ltconfig.
10266 2001-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10267 Patch by Harlan Stenn <Harlan.Stenn@pfcs.com>
10269 * configure.in: Add missing [.
10271 2001-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10272 Patch by Jason Thomas <jason@topic.com.au>
10273 and Eric Siegerman <erics@telepres.com>
10275 * common-src/bsd-security.c (check_user_amandahosts): improve message.
10277 2001-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10279 * server-src/driver.c: Do not go in degraded mode in nodump mode.
10280 * server-src/conffile.c:Check many options to be sure they are positive.
10282 2001-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10284 * changer-src/chg-scsi.c (get_relative_target): return -1;
10285 * changer-src/scsi-irix.c (SCSI_ExecuteCommand): Remove Zero variable.
10286 * common-src/amanda.h: include strings.h if HAVE_STRINGS_H is defined.
10287 * server-src/amadmin.c (info_one): Remove lev0date variable.
10288 * server-src/amadmin.c (import_db): Remove vers_comment variable.
10289 * server-src/amindexd.c (main): Remove arg_len variable.
10290 * server-src/amtrmidx.c (main): Remove level_position and
10291 datestamp_position variables.
10292 * server-src/changer.c (changer_current): Remove checked variable.
10293 * server-src/conffile.c (read_confline): Check value of RESERVE.
10294 * server-src/conffile.c (get_tapetype): Check value of LENGTH and
10296 * server-src/diskfile.h: bit field of 1 bit must be unsigned.
10297 * server-src/driver.c (main): Don't check the value of RESERVE.
10298 * server-src/driver.c (find_diskspace): Remove as_pref variable.
10299 * server-src/driverio.c (getresult): cast cmd_t.
10300 * server-src/chunker.c (databuf_flush): save_type is a filetype_t.
10301 * server-src/find.c (search_logfile): Remove host_undo_ch and
10302 disk_undo_ch variables.
10303 * server-src/holding.c (pick_datestamp): Remove result variable.
10304 * server-src/server_util.c (getcmd): Loop on a cmd_t variable.
10305 * server-src/taper.c (tape_writer_side): Remove out_open variable.
10306 * tape-src/tapeio.c (tapefd_close): Cast to (void *).
10308 2001-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10310 * client-src/selfcheck.c: Fix compiler warning.
10311 * changer-src/chg-scsi.c: Ditto.
10312 * changer-src/scsi-changer-driver.c: Ditto.
10313 * changer-src/scsi-defs.h: Ditto.
10314 * server-src/server_util.c: Ditto.
10315 * common-src/fileheader.c: Ditto.
10317 2001-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10319 * configure.in: Set MAX_TAPE_BLOCK_KB on linux
10321 2001-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10322 Patch by Blaz Zupan <blaz@amis.net>
10324 * changer-src/chg-zd-mtx.sh.in: typo.
10326 2001-12-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10328 * client-src/selfcheck.c (check_access): New function (old check_file
10330 * client-src/selfcheck.c (check_file): Check that the filename is a
10332 * client-src/selfcheck.c (check_dir): Check that dirname is a directory.
10334 2001-12-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10335 Patch by Henning Schmiedehausen <henning@forge.intermeta.de>
10337 * common-src/file.c (safe_cd): Create the AMANDA_DBGDIR and
10338 AMANDA_TMPDIR directory.
10340 2001-12-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10342 * server-src/amverify.sh.in: Check that @AMANDA_TMPDIR@ exist.
10343 * server-src/amrmtape.sh.in: Ditto.
10345 2001-12-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10347 * changer-src/Makefile.am: fix setting of libexec_PROGRAMS.
10349 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10351 * server-src/amstatus.pl.in: Work with amflush log.
10353 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10355 * server-src/driver.c (nodump): new argument, Don't start the dumpers
10357 * server-src/holding.c (get_flush): chdir to original cwd.
10358 * server-src/reporter.c: accept driver and amflush line in log.
10359 * server-src/amflush.c: exec driver to do the flushing.
10361 2001-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10363 * server-src/amstatus.pl.in: Fixup for estimate, write flush line.
10365 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10367 * recover-src/extract_list.c: You can change the tape device
10370 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10372 * restore-src/amrestore.c (restore): try to find the next chunk
10373 in the current directory.
10375 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10377 * example/amanda.conf.in: typo.
10379 2001-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10381 Patch by Roland E. Lipovits <rel@lipo.at0.net>
10382 * example/amanda.conf.in: typo.
10384 2001-12-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10386 * server-src/dumper.c, server-src/taper.c, server-src/chunker.c:
10387 Replace TRY_AGAIN by TRYAGAIN.
10389 2001-11-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10390 Patch by Michael D. Beynon <beynon@ll.mit.edu>
10392 * server-src/driver.c (main): Take care of empty tapeq.
10394 2001-11-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10396 * server-src/diskfile.c (lookup_host): Match must be exact.
10398 2001-11-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10400 * server-src/planner.c: Add host, disk, datestamp and level on
10401 FLUSH line. Add datestamp on DUMP line.
10402 * server-src/driver.c (read_flush): Read new format of FLUSH line.
10403 * server-src/driver.c (read_schedule): Read new format of DUMP line.
10404 * server-src/amflush.c: Write a datestamp on stderr.
10405 * server-src/amdump.sh.in: Write a datestamp on stderr.
10406 * server-src/amstatus.pl.in: Works with autoflush.
10408 2001-11-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10409 * server-src/conffile.c (autoflush): New configuration options.
10410 * server-src/conffile.h (autoflush): New configuration options.
10411 * man/amanda.8.in: Document it.
10412 * example/amanda.conf.in: Document it.
10413 * server-src/holding.h (get_flush, pick_datestamp, pick_all_datestamp,
10414 cleanup_holdingdisk): New prototype.
10415 * server-src/holding.c (scan_holdingdir, cleanup_holdingdisk,
10416 get_flush): New function.
10417 * server-src/holding.c (pick_datestamp, pick_all_datestamp): New
10419 * server-src/amcleanupdisk.c: Change call to pick_all_datestamp.
10420 * server-src/amflush.c: Change call to pick_all_datestamp.
10421 * server-src/find.c: Change call to pick_all_datestamp.
10422 * server-src/planner.c: Write FLUSH line to driver, the schedule
10423 line contain the keyword DUMP.
10424 * server-src/planner.c: Add datestamp to SUCCESS and FAIL line.
10425 * server-src/amstatus.pl.in: New parsing of DUMP line.
10426 * server-src/driverio.h: New datestamp field in sched_t;
10427 * server-src/driver.c (build_diskspace): New function to build a
10428 assignedhd_t from an holding file.
10429 * server-src/driver.c (read_flush): New function to read the list
10431 * server-src/driver.c (read_schedule): Parse the keyword DUMP.
10432 * server-src/driver.c: Add datestamp to FAIL line.
10433 * server-src/dumper.c: Add datestamp to FAIL line.
10434 * server-src/reporter.c (timedata_t, repdata_t) : Major change of
10436 * server-src/taper.c: Add datestamp to FAIL line.
10438 2001-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10440 * server-src/conffile.c: New dumporder configuration.
10441 * server-src/conffile.h: Likewise.
10442 * server-src/driver.c (start_some_dumps): Use dumporder to
10443 select the next disk to dump.
10444 * example/amanda.conf.in: Give an example of dumporder.
10445 * man/amanda.8.in: Document it.
10447 2001-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
10449 * recover-src/amrecover.h (cd_glob, cd_regex, cd_dir): New prototypes.
10450 * recover-src/set_commands.c (cd_glob, cd_regex, cd_dir): New functions.
10451 * recover-src/uparse.y: Add new token CDX, call cd_glob instead
10452 of set_directory for cd command, call cd_regex for cdx command.
10453 * recover-src/uscan.l: On cdx string return CDX token.
10454 * recover-src/help.c: Document it.
10455 * man/amrecover.8.in: Document it.
10457 2001-09-26 John R. Jackson (jrj@purdue.edu)
10459 * server-src/reporter.c: Fix problem when column sizes are negative.
10461 2001-09-21 John R. Jackson (jrj@purdue.edu)
10463 * server-src/Makefile.am: Add -I../common-src so genversion.h can be
10464 found (since it is built on the fly). Only fails when build is done
10465 in a different directory than the sources.
10467 2001-09-17 John R. Jackson (jrj@purdue.edu)
10469 * server-src/getconf.c: Add capabilities to amgetconf to return
10470 build environment values and also to open and close a debug file
10471 (e.g. for scripts).
10472 * man/amgetconf.8.in: Ditto.
10473 * changer-src/chg-scsi.c: Ditto.
10474 * common-src/amanda.h: Ditto.
10475 * common-src/debug.c: Ditto.
10476 * common-src/error.c: Ditto.
10477 * server-src/dumper.c: Ditto.
10479 2001-09-17 John R. Jackson (jrj@purdue.edu)
10481 * server-src/planner.c: Make sure we do not attempt to bump beyond
10484 2001-09-16 Thomas Hepper (th@ant.han.de)
10485 * changer-src/chg-scsi.c: Added new config option autoinv,
10486 if not set no auto inventory will be done if the label db is out of
10487 sync. Reworked MapBarCode, now the parameters are passed as a struct
10488 and the result is returned in this struct (MBC_T),
10489 also removed some duplicate/nonsens code from MapBarCode
10490 Changed the definitions for slot_file. It was used duplicate,
10491 1. as the config file set by amanda.conf, and second set by the
10492 config option in the chg-scsi config file. Now the file from
10493 amanda.conf is called chg_scsi_conf. and changer_file is renamed
10495 Added check if cleanfile is not set, if true clean_file is set to NULL
10496 Now return if tape_device is not in the range 0-9.
10497 Added some checks if we have all informations like slot_file,
10498 devices etc. Fixed and error in the search function,
10499 if the searched vol is already loaded return the correct info
10500 and not 'label not found'. Fixed error in the parameter passing
10501 to get_relative_slot. If the option was -slot last we where
10502 1 above the end parameter..
10504 * changer-src/scsi-bsd.c: Fix compile problems.
10505 * changer-src/scsi-changer-driver.c: Fixed the last problems :-)
10506 for the label/barcode handling...
10507 * changer-src/scsi-defs.h: Added new struct MBC_T
10508 * changer-src/sense.c: Added some more messages for Exabyte 210 lib
10510 2001-09-01 John R. Jackson (jrj@purdue.edu)
10512 * client-src/sendsize.c: Fix memory allocation problem.
10514 2001-08-31 John R. Jackson (jrj@purdue.edu)
10516 * server-src/amindex.c: Fix memory leak. Compliments of Robert Minsk
10517 <egbert@centropolisfx.com>.
10518 * server-src/logfile.c: Fix memory leak. Compliments of Robert Minsk
10519 <egbert@centropolisfx.com>.
10521 2001-08-30 John R. Jackson (jrj@purdue.edu)
10523 * server-src/planner.c: Fix problem with maintenance of total level
10524 0 size when disk being brought back into the schedule was not doing
10525 a level 0. Compliments of Robert Minsk <egbert@centropolisfx.com>.
10527 2001-08-24 John R. Jackson (jrj@purdue.edu)
10529 * server-src/amverify.sh.in: Fix missing backtick error.
10531 2001-08-24 John R. Jackson (jrj@purdue.edu)
10533 * server-src/taper.c: Allocate buffers on page boundaries.
10535 2001-08-22 John R. Jackson (jrj@purdue.edu)
10537 * tape-src/Makefile.am: Add chown/chgrp rules for ammt/amdd install
10538 so they end up like all the other Amanda programs.
10540 2001-08-15 Thomas Hepper (th@ant.han.de)
10541 * changer-src/chg-scsi.c. Removed version 1 DB support from mapBarCode. Changed the way parameter
10542 are given to MapBarCode and returned from there. No a struct is passed where all infos
10543 will be returned to the calling function.
10544 If eject is set we will not call LogSense in chg-scsi because it is also called in the
10546 * changer-src/scsi-defs.h: Added struct MBC_T used by MapBarCode.
10547 * changer-src/scsi-changer-driver.c: Changed all calls to MapBarCode to the new way
10549 2001-08-14 John R. Jackson (jrj@purdue.edu)
10551 * docs/EXCLUDE: New document from Andrew Hall <ahall@secureworks.net>
10552 describing how to set up and use GNU tar exclusions.
10553 * docs/Makefile.am: Added EXCLUDE and PORT.USAGE.
10555 2001-08-14 John R. Jackson (jrj@purdue.edu)
10557 * docs/PORT.USAGE: New document about how Amanda ports are used.
10559 2001-08-14 John R. Jackson (jrj@purdue.edu)
10561 * client-src/sendsize.c: Fix patch merge goof (ap_snprintf -> snprintf).
10563 2001-08-14 John R. Jackson (jrj@purdue.edu)
10565 * common-src/stream.c: Add stream_client_privileged() function to
10566 get a privileged port and fail if one is not available. The older
10567 stream_client() function gets a (non-privileged) port in the
10568 configured portrange, if set and possible, else anything available.
10569 * common-src/stream.h: Prototypes.
10570 * recover-src/amrecover.c: Use stream_client_privileged() instead of
10572 * recover-src/extract_list.c: Ditto.
10573 * configure.in: Added several more port range sanity checks. Added
10574 --with-tcpportrange as an alias for --with-portrange.
10576 2001-08-09 Thomas Hepper (th@ant.han.de)
10577 * changer-src/chg-scsi.c: Added check in MapBarCode if the labelfile
10578 parameter is empty, and if yes return.
10579 Added global variable do_inventory, and if set do an inventory before
10581 In MapBarCode changed the way the UPDATE_SLOT is done, now it uses
10582 the slot number passed to MapBarCode to find and update the record.
10583 * changer-src/scsi-changer-driver.c: Added def. for BreeceHill Q7
10584 Added global variables which are set by the tape_rdlabel function
10586 Reworked the way how the updates of the labelfile are done.
10588 2001-08-01 John R. Jackson (jrj@purdue.edu)
10590 * client-src/selfcheck.c: Fix typos I introduced into the PC subdir
10592 * client-src/sendbackup-gnutar.c: Ditto.
10593 * client-src/sendsize.c: Ditto.
10595 2001-08-01 Marko Injac <marko.injac@mail.insert.si> via John R. Jackson (jrj@purdue.edu)
10597 * client-src/findpass.c: Allow backup of subdirs of PC shares for
10598 amanda-2.4.1beta1 by Greg Shebert amanda-hackers list Tue Feb 1,
10599 2000. Ported to amanda-2.4.2p2 on debian potato by Marko Injac.
10600 * client-src/findpass.h: Ditto.
10601 * client-src/selfcheck.c: Ditto.
10602 * client-src/sendbackup-gnutar.c: Ditto.
10603 * client-src/sendsize.c: Ditto.
10604 * docs/SAMBA: Ditto.
10606 2001-08-01 John R. Jackson (jrj@purdue.edu)
10608 * client-src/sendsize.c: Prefix each debug line with sendsize process
10609 information to make picking out the output from a particular estimate
10610 run easier when maxdumps > 1.
10612 2001-08-01 John R. Jackson (jrj@purdue.edu)
10614 * server-src/amcheck.c: Unlink the temp files as soon as they are
10615 created so they always go away when amcheck terminates. Use
10616 pipespawn() instead of system() to call the MAILER program. Call
10617 dbopen()/dbclose() in main() to write to a debug file instead of
10620 2001-08-01 John R. Jackson (jrj@purdue.edu)
10622 * common-src/debug.c: Only rename files that end in ".debug".
10624 2001-08-01 John R. Jackson (jrj@purdue.edu)
10626 * common-src/pipespawn.c: Show empty pipespawn() args as "".
10628 2001-07-31 John R. Jackson (jrj@purdue.edu)
10630 * server-src/conffile.h: Add support for tapetype "blocksize" keyword.
10631 * server-src/conffile.c: Add tapetype "blocksize" keyword. Use
10632 DISK_BLOCK_KB where appropriate instead of TAPE_BLOCK_SIZE. Disallow
10633 negative tape length and tapemark size.
10634 * common-src/alloc.c: Add new amtable_free() function. Adjust args
10635 to amtable_alloc() to be consistent with amtable_free().
10636 * common-src/amanda.h: Add new am_round() and am_floor() macros.
10637 Define new DISK_BLOCK_KB, DISK_BLOCK_BYTES, MAX_TAPE_BLOCK_KB,
10638 MAX_TAPE_BLOCK_BYTES constants. Remove TAPE_BLOCK_SIZE and
10640 * common-src/bsd-security.c: TAPE_BLOCK_BYTES -> NETWORK_BLOCK_BYTES.
10641 Use -1 instead of DEFAULT_SIZE.
10642 * common-src/rsh-security.c: Ditto.
10643 * common-src/fileheader.c: Change write_header() to build_header().
10644 Add blocksize arg. Get rid of unused fill_buffer() function.
10645 * common-src/fileheader.h: Ditto.
10646 * common-src/stream.c: Use negative value to indicate default buffer
10648 * common-src/stream.h: Add NETWORK_BLOCK_BYTES and STREAM_BUFSIZE
10649 constants. Remove DATABUF_SIZE and DEFAULT_SIZE.
10650 * man/amanda.8.in: Document the new "blocksize" tapetype keyword.
10651 Document that "length" in tapetype has meaning to some output
10652 drivers. Fix "bumpdays" and "speed" defaults. Document new "file:"
10653 output driver record length data file.
10654 * man/amrestore.8: Add new "-b blocksize" arg. Add description of
10655 how to catalogue the images on a tape.
10656 * recover-src/amrecover.c: DEFAULT_SIZE -> -1.
10657 * recover-src/extract_list.c: DEFAULT_SIZE -> -1. Use DISK_BLOCK_BYTES
10658 instead of TAPE_BLOCK_BYTES for the header size.
10659 * restore-src/amrestore.c: Add new "-b blocksize" arg. Document how
10660 the header is handled. Deal with arbritrary tape record sizes.
10661 * server-src/amlabel.c: Use the tapetype blocksize.
10662 * server-src/chunker.c: Use DISK_BLOCK_BYTES and DISK_BLOCK_KB as
10663 appropropriate instead of older constants. Rewrite disk I/O buffer
10664 management. Never pad output stream (e.g. to holding disk). Use
10665 -1 for default stream buffer size.
10666 * server-src/driver.c: Use DISK_BLOCK_KB where appropriate instead of
10668 * server-src/driverio.c: Set chunker argv[0] to name based on which
10669 dumper it is working with.
10670 * server-src/dumper.c: Use DISK_BLOCK_BYTES and DISK_BLOCK_KB as
10671 appropropriate instead of older constants. Rewrite disk I/O buffer
10672 management. Never pad output stream (e.g. to holding disk). Use
10673 -1 for default stream buffer size.
10674 * server-src/holding.c: Change TAPE_BLOCK_BYTES to DISK_BLOCK_BYTES.
10675 Use fullread() instead of fill_buffer().
10676 * server-src/planner.c: Use tapetype blocksize instead of constant
10677 for tape length calculations.
10678 * server-src/taper.c: Support tapetype blocksize. Only pad writes if
10679 blocksize is negative. Reorganize shared memory buffers to put
10680 data on page boundaries. Try reducing tapebuf count if allocation
10682 * tape-src/output-file.c: Maintain record size information. Use mask
10683 and flags from caller.
10684 * tape-src/output-null.c: Use new amtable_alloc() arg order.
10685 * tape-src/output-rait.c: Use new amtable_alloc() arg order. Add
10686 private version of amtable_free() for standalone build. Fix off
10687 by one and other table allocation problems.
10688 * tape-src/output-rait.h: Maintain file descriptor count in the
10690 * tape-src/tapeio.c: Support tapetype blocksize. Use new
10691 amtable_alloc() arg order. Fix some error message text.
10692 * tape-src/tapeio.h: New prototypes with blocksize arg.
10693 * tape-src/tapetype.c: Add "-b blocksize" arg. Fix some end case
10696 2001-07-30 Ben Lewis (bhlewis@purdue.edu) via John R. Jackson (jrj@purdue.edu)
10698 * recover-src/amrecover.c: Improve the "Unexpected server end of file"
10701 2001-07-30 Ben Lewis (bhlewis@purdue.edu) via John R. Jackson (jrj@purdue.edu)
10703 * man/amanda.8.in: Document includefile.
10704 * man/amdump.8.in: Add note that local crontab documention should be
10705 checked for proper syntax.
10706 * man/amrecover.8.in: Document use of PAGER environment variable.
10707 * man/amrestore.8: Document that GNU tar must be used as some vendor
10708 tar programs cannot read GNU tar format.
10709 * docs/FAQ: Update location of online FAQ.
10711 2001-07-25 John R. Jackson <jrj@purdue.edu>
10713 * docs/TAPE.CHANGER: Changes from Ben Lewis (bhlewis@purdue.edu) to
10714 document the new (but optional) searchable features.
10716 2001-07-19 John R. Jackson <jrj@purdue.edu>
10718 * common-src/error.c: Fix function prototype error.
10720 2001-07-19 John R. Jackson <jrj@purdue.edu>
10722 * common-src/error.c: Add new function errordump() that acts like
10723 error() but calls abort() to (try to) drop core.
10724 * common-src/amanda.h: Prototype.
10725 * common-src/alloc.c: Call errordump() instead of error() for some
10726 memory allocation failures to aid traceback.
10728 2001-07-19 John R. Jackson <jrj@purdue.edu>
10730 * server-src/amadmin.c: Improve the error message when read_conffile()
10732 * server-src/amcheck.c: Ditto.
10733 * server-src/amcleanupdisk.c: Ditto.
10734 * server-src/amflush.c: Ditto.
10735 * server-src/amlabel.c: Ditto.
10736 * server-src/amlogroll.c: Ditto.
10737 * server-src/amtape.c: Ditto.
10738 * server-src/amtrmidx.c: Ditto.
10739 * server-src/amtrmlog.c: Ditto.
10740 * server-src/driver.c: Ditto.
10741 * server-src/dumper.c: Ditto.
10742 * server-src/getconf.c: Ditto.
10743 * server-src/planner.c: Ditto.
10744 * server-src/reporter.c: Ditto.
10745 * server-src/taper.c: Ditto.
10747 2001-07-19 John R. Jackson <jrj@purdue.edu>
10749 * server-src/driverio.c: Make the name "ps" reports match the dumper
10750 name (e.g. "dumper3").
10752 2001-07-18 John R. Jackson <jrj@purdue.edu>
10754 * changer-src/chg-chio.pl.in: Try to unload the drive before moving
10755 a tape back to a slot. Fixes a problem on Ecrix AutoPAK devices.
10756 Patch compliments of Sam Leffler <sam@errno.com>.
10758 2001-07-18 John R. Jackson <jrj@purdue.edu>
10760 * server-src/amverify.sh.in: Change to the Amanda temp directory
10761 instead of the config directory. In addition to making amverify
10762 act like most other Amanda programs, this gets around an
10765 2001-07-18 John R. Jackson <jrj@purdue.edu>
10767 * man/amanda.8.in: Describe the .amandahosts format better. Clean up
10768 a couple of minor typos.
10770 2001-07-13 John R. Jackson <jrj@purdue.edu>
10772 * common-src/dgram.h: Improve UDP datagram size calculation.
10773 * server-src/amcheck.c: Break up large requests into pieces.
10774 * server-src/planner.c: Break up large requests into pieces.
10776 2001-07-12 John R. Jackson <jrj@purdue.edu>
10778 * tape-src/amdd.c: Use tapefd_close() in amdd if the file was
10779 opened with tape_open(). This does any necessary output driver
10780 cleanup (such as moving the current file position for "file:").
10782 2001-07-12 John R. Jackson <jrj@purdue.edu>
10784 * Makefile.am: Fix automake warning.
10786 2001-07-11 John R. Jackson <jrj@purdue.edu>
10788 * tape-src/tapetype.c: Use tapefd_write() instead of write().
10790 2001-07-11 John R. Jackson <jrj@purdue.edu>
10792 * common-src/file.c: Fix a memory leak. Grab exponentially larger
10793 chunks of memory up to a point, then level out.
10795 2001-07-11 John R. Jackson <jrj@purdue.edu>
10797 * tape-src/tapetype.c: Only report a pass summary when stderr is not
10798 a tty. Deal with some obscure end cases.
10800 2001-07-10 John R. Jackson <jrj@purdue.edu>
10802 * changer-src/scsi-aix.c: Convert Tape_Eject to Tape_Ioctl.
10803 * changer-src/scsi-solaris.c: Ditto.
10805 2001-07-10 John R. Jackson <jrj@purdue.edu>
10807 * server-src/amcheck.c: Move user name check before attempt to create
10808 temp files so more appropriate error message is generated.
10810 2001-07-09 John R. Jackson <jrj@purdue.edu>
10812 * common-src/dgram.c: Fix error end case unitialized variable.
10814 2001-07-05 John R. Jackson <jrj@purdue.edu>
10816 * docs/TAPE.CHANGERS: Minor docs/TAPE.CHANGERS update to clarify
10817 that -slot and -eject unload and put the current tape away.
10819 2001-07-02 John R. Jackson <jrj@purdue.edu>
10821 * changer-src/chg-manual.sh.in: Add yet another ONLINEREGEX, this one
10822 compliments of Nick (n_hibma@qubesoft.com) for some FreeBSD variant.
10824 2001-06-29 John R. Jackson <jrj@purdue.edu>
10826 * tape-src/tapeio.c: Move the device name parsing routines from the
10827 RAIT module to tapeio and make them generic. This allows one
10828 module to open another, e.g. rait:{null:,z1,z2,z3}. Maintain
10829 both the original open flags and mask and use them on the real open.
10830 * tape-src/amdd.c: Make sure this compiles "stand-alone". To do so,
10831 use: gcc -Wall -DNO_AMANDA amdd.c output-rait.c output-tape.c.
10832 Abort as soon as one of the open calls fails instead of waiting
10833 for read/write to report a bad file descriptor.
10834 Pass a mask to the open function in case the output is created.
10835 * tape-src/ammt.c: Make sure this compiles "stand-alone". To do so,
10836 use: gcc -Wall -DNO_AMANDA ammt.c output-rait.c output-tape.c.
10837 * tape-src/output-file.c: Maintain both the original open flags and
10838 mask and use them on the real open.
10839 * tape-src/output-null.c: Ditto.
10840 * tape-src/output-file.h: Change to non-prototype declaration of
10841 file_tape_open() to deal with the optional mask parameter.
10842 * tape-src/output-null.h: Ditto.
10843 * tape-src/output-tape.h: Ditto.
10844 * tape-src/tapeio.h: Ditto. Add device name parsing prototypes.
10845 * tape-src/output-rait.c: Make sure this compiles "stand-alone".
10846 Maintain both the original open flags and mask and use them on the
10848 * tape-src/output-rait.h: Make sure this compiles "stand-alone".
10849 * tape-src/output-tape.c: Make this part of the "stand-alone" compile
10850 of ammt and amdd since it knows all the proper ioctl operations.
10851 Maintain both the original open flags and mask and use them on the
10854 2001-06-27 John R. Jackson <jrj@purdue.edu>
10856 * changer-src/chg-manual.sh.in: Add "bs=32k" to the dd command so
10857 some kernels would not complain about the tape block being larger
10859 * changer-src/chg-mtx.sh.in: Ditto.
10861 2001-06-21 John R. Jackson <jrj@purdue.edu>
10863 * server-src/planner.c: If the compression rate is very small (such
10864 as zero after some types of errors) and FORCE_FULL is set, a path
10865 is taken that (among other bad things) generates a schedule that
10866 driver cannot read (syntax errors).
10867 * server-src/conffile.c: Do not allow negative comprate values.
10869 2001-06-19 John R. Jackson <jrj@purdue.edu>
10871 * server-src/holding.c: Use fullread() instead of read() to read the
10874 2001-06-19 John R. Jackson <jrj@purdue.edu>
10876 * server-src/amtape.c: Document "slot advance" in the help output.
10878 2001-06-19 John R. Jackson <jrj@purdue.edu>
10880 * server-src/amindexd.c: Minor gethostbyaddr() argument change to be
10881 consistent with other Amanda usage.
10883 2001-06-19 John R. Jackson <jrj@purdue.edu>
10885 * server-src/amverify.sh.in: Better cross platform tar detection.
10887 2001-06-19 John R. Jackson <jrj@purdue.edu>
10889 * server-src/amverify.sh.in: More of the vrestore vs. 'b' flag change.
10891 2001-06-19 John R. Jackson <jrj@purdue.edu>
10893 * recover-src/amrecover.c: Add more debugging to guess_disk()
10894 function to better track how the disk is determined from the
10895 current working directory. Report current working directory in
10896 error message. Change "Trying" to "Trying disk" to distinguish
10897 this from host attempts.
10898 * recover-src/set_commands.c: Remove redundant amfree() call. Remove
10899 redundant "OISD /" exchange. Change "Trying" to "Trying host" to
10900 distinguish this from disk attempts.
10902 2001-06-19 Thomas Hepper <th@ant.han.de>
10903 * changer-src/chg-scsi.c: Made clean_slot a global var. Removed
10904 the label db update stuff from the COM_SLOT part (moved to unload
10905 in scsi-changer-driver.c)
10906 * changer-src/scsi-changer-driver.c: Do an unload if the tape is
10907 loaded in the Inventory function. Added an marker to avoid recursion
10908 in Inventroy function. Added label db check in unload function and
10909 call Inventroy if it indicates an out of sync db
10911 2001-06-18 John R. Jackson <jrj@purdue.edu>
10913 * recover-src/extract_list.c: Do not pass a 'b' (blocking) factor
10914 flag to vrestore. Some versions do not like it.
10916 2001-06-18 John R. Jackson <jrj@purdue.edu>
10918 * common-src/dgram.c: Use a sin_addr arg to inet_ntoa() like all the
10920 * common-src/stream.c: Ditto.
10922 2001-06-18 John R. Jackson <jrj@purdue.edu>
10924 * changer-src/chg-manual.sh.in: Add yet another online regex. Found
10925 by George Herson <gherson@snet.net>.
10927 2001-06-12 Thomas Hepper <th@ant.han.de>
10928 * changer-src/scsi-changer-driver.c (Inventory): Call Tape_Ready and let this function
10929 decide how to get the tape drive status.
10930 * changer-src/scsi-changer-driver.c (Tape_Ready): Now this function looks how to get
10931 the tape drive status.
10932 * changer-src/scsi-linux.c: changed some dbprintf to DebugPrint
10934 2001-06-10 Thomas Hepper <th@ant.han.de>
10935 * changer-src/chg-scsi.c: If get_current_slot gets an error from the fscanf function
10936 return also an error (-1) to the calling fucntion. (Fixes an error if the slot file
10937 is created with an touch)
10938 * changer-src/scsi-changer-driver.c: Fixed some NULL pointer errors in PrintConf
10939 Fixed an error in the unload function if the destination slot for the unload is not empty.
10940 (cut and paste error !!)
10942 2001-06-07 Thomas Hepper <th@ant.han.de>
10943 * changer-src/scsi-changer-driver.c: Change the type of TapeStatus from void to int.
10944 In PrintConf changed the loop variable for scan of pDev from 3 to CHG_MAXDEV.
10945 In PrintConf check if pDev[count].inquiry is a NULL pointer, and if yes skip.
10946 * changer-src/scsi-irix.c: Changed a lot, now it should work.
10947 * client-src/sendbackup-dump.c: Removed a { in the vxfsdump part.
10948 * tape-src/output-tape.c: Fixed the tape status checks, the structure elelemt
10949 is called buf.mt_dposn not buf.mt.dposn.
10951 2001-06-04 Thomas Hepper <th@ant.han.de>
10952 * changer-src/scsi-changer-driver.c: Renamed Tape_Eject to Tape_Ioctl
10953 incl. change of passwd parameter.
10955 2001-06-04 Thomas Hepper <th@ant.han.de>
10956 * changer-src/chg-scsi.c: include dmalloc.h for debugging of mem problems
10957 * changer-src/scsi-cam.c: Replaced Tape_Eject with a more generic
10958 function to send different ioctls (Tape_Ioctl)
10959 * changer-src/scsi-bsd.c: see above
10960 * changer-src/scsi-hpux_new.c: see above
10961 * changer-src/scsi-irix.c: If the device can be opened in SCSI_OpenDevice
10962 set pDev[ip].avail to 1.
10963 * changer-src/scsi-linux.c: include dmalloc.h for debugging of mem problems.
10964 Fixed an invalid free in SCSI_OpenDevice. Replaced Tape_Eject with Tape_Ioctl.
10965 * changer-src/scsi-changer-driver.c: include dmalloc.h for debugging of mem problems
10966 Eject the tape in the inventory function before the scan to get all
10967 barcode labels. Check in GenericEject if the device is able to receive
10968 SCSI commands, if not use the ioctl interface to eject the tape.
10969 Same for the GenericRewind function.
10970 Added the LogSense in the GenericEject function.
10971 * changer-src/scsi-defs.h: Added define for Tape_Ioctl commands, IOCTL_EJECT.
10973 2001-06-01 John R. Jackson <jrj@purdue.edu>
10975 * server-src/amindexd.c (build_disk_table): Make sure a holding disk
10976 image is used rather than a copy also on tape, if both exist.
10978 2001-06-01 Thomas Hepper <th@ant.han.de>
10979 * changer-src/scsi-changer-driver.c: Added an range check in the load
10980 function and abort if the requested slot is out of range.
10981 Fixed in incorrect pointer in the eject function if the ioctl
10984 2001-05-29 John R. Jackson <jrj@purdue.edu>
10986 * server-src/reporter.c: Fix PostScript output to only show what went
10987 on the tape, not what the total amount dumped. Compliments of
10988 Joshua Baker-LePain <jlb17@duke.edu>.
10990 2001-05-28 Thomas Hepper <th@ant.han.de>
10991 * changer-scsi/chg-scsi.c: Made the array for pDev configurable, #define CHG_MAXDEV
10992 * changer-scsi/scsi-defs.h: Added the define for CHG_MAXDEV
10993 * changer-src/scsi-cam.c: Set the flag pDev[x].avail to 1 if the device can be openend.
10994 Added debug message if the open fails. Implemented the function Tape_Status (not tested)
10995 * changer-src/scsi-changer-driver.c: Added the function DLT448ElementStatus, was lost
10996 during merge from 2.4.2. The difference to GenericElementStatus is that the DecodeModeSense
10997 needs an offset of 12, not 0 as in GenericElementStatus.
10998 Added an unload/GenericResetStatus in the Inventory function if an bar code reader is
10999 available. This is to get the label from the loaded tape.
11000 The function TapeStatus sets now the status regardless of the status of the tape.
11001 If the device is capable for sending SCSI commands use the SCSI interface to get
11002 the status of the tape.
11003 * docs/TAPE.CHANGERS: Added some notes about the debuglevel keyword and a short
11004 description on how to use the sgen interface on solaris 2.8
11006 2001-05-18 John R. Jackson <jrj@purdue.edu>
11008 * client-src/patch-system.sh.in: Missed a reference to kamanda in the
11009 last patch. Compliments of Tom Schutter <t.schutter@att.net>.
11011 2001-05-16 John R. Jackson <jrj@purdue.edu>
11013 * client-src/patch-system.sh.in: Go ahead and update /etc/services
11014 on a client even if the services themselves are not turned on to
11015 inetd. Compliments of Tom Schutter <t.schutter@att.net>. Add
11016 the TCP port for amandad for future use.
11018 2001-05-14 John R. Jackson <jrj@purdue.edu>
11020 * client-src/amandad.c: Fix hang when the incoming packet size is
11021 larger than the pipe buffer. Also, report back when too much
11022 data for a packet is returned by the service (this is not properly
11023 diagnosed back to, e.g., amcheck, but that's for another day).
11024 * common-src/bsd-security.c: Fix minor comment error.
11026 2001-05-11 John R. Jackson <jrj@purdue.edu>
11028 * common-src/util.c (bind_portrange): Log a debug message stating
11029 explicitly that all ports in the requested range were busy, or
11030 that a specific port failed bind() for an unexpected reason.
11032 2001-05-07 John R. Jackson <jrj@purdue.edu>
11034 * client-src/sendbackup-dump.c: Do not use full path to sed. Found by
11035 Roland E. Lipovits (rel@lipo.at0.net).
11037 2001-05-07 Thomas Hepper <th@ant.han.de>
11038 * changer-src/chg-scsi.c : Fixed NULL pointer in debug print of the config.
11039 * changer-src/scsi-canger-driver.c : Try to get and set the status of the tape drive in
11040 GenericElementStatus if there is an error condition. Move from tape to tape to get the
11041 tape loaded if it is only ejected.
11042 * changer-src/scsi-defs.h : New define for the Tape_Status fucntion, TAPE_NOT_LOADED
11043 * changer-src/scsi-linux.c : Added return type for tape not loaded
11044 * changer-src/scsi-solaris.c : In SCSI_ExecuteCommand force the direction to write if the
11045 databuffersize is 0, if the direction is input the ioctl returns with errno 22, invalid argument.
11046 The function Tape_Status will now return either tape loaded or not.
11047 * example/chg-scsi-solaris.conf.in : Added pointer to doc/TAPE.CHANGERS on how to configure
11049 * doc/TAPE.CHANGERS : Updated the description of the chg-scsi.conf options, short description on
11050 how to confgure the sgen driver on solaris 2.8
11052 2001-05-04 John R. Jackson <jrj@purdue.edu>
11054 * config/depcomp: Fix problem with argument* processing and update to
11057 2001-05-01 Thomas Hepper <th@ant.han.de>
11058 * changer-src/chg-scsi.c : Added patch for the slot advance command from John R. Jackson
11059 * changer-src/scsi-changer-driver.c : Renamed EXB120BarCode to EXB_BarCode. The currently
11060 known Exabyte libs handles the reader in the same way.
11062 2001-04-28 Thomas Hepper <th@ant.han.de>
11063 * changer-scsi/chg-scsi.c : Added missing break in MapBarCode
11064 Changed the way an tape label is read, use tape_open to open the
11065 device, not own open.
11066 * changer-src/scsi-changer-driver.c : Changed the way an tape label
11067 is read, use tape_open to open the device, not own open.
11068 * changer-src/scsi-linux.c : Fixed error on reopen of non SCSI devices
11069 (/dev/nst0 for example)
11071 2001-04-26 Thomas Hepper <th@ant.han.de>
11073 * changer-src/scsi-aix.c : Added more different ret values depending on the SCSI
11075 * changer-src/scsi-changer-driver.c: Split GenericElementStatus in GetElementStatus which
11076 reads the element Status, and GenericElementStatus which handles the errors.
11077 Removed DLT448ElementStatus. Rework the handling of some SCSI error conditions...
11078 * changer-src/scsi-defs.h: Added more defs for the debug SECTION types.
11079 * changer-src/scsi-linux.c: Fixed an bug in the non SCSI device handling in SCSI_OpenDevice
11080 * changer-src/sense.c: Added EXB-210 defs, added defs for READ_ELEMENT_STATUS error conditions.
11082 2001-04-25 John R. Jackson <jrj@purdue.edu>
11084 * changer-src/chg-rth.pl.in: Add exec_prefix back since it is usually
11085 used to define sbindir. Sigh. Include X=X assignments to get rid
11086 of the Perl warnings.
11087 * server-src/amoverview.pl.in: Ditto.
11089 2001-04-24 John R. Jackson <jrj@purdue.edu>
11091 * changer-src/chg-chio.pl.in: Remove unused exec_prefix to get rid of
11092 warning message. Patch from Nick Hibma <n_hibma@qubesoft.com>.
11094 2001-04-23 John R. Jackson <jrj@purdue.edu>
11096 * client-src/selfcheck.c: Allow Samba shares with no password.
11097 * client-src/sendbackup-gnutar.c: Ditto.
11098 * client-src/sendsize.c: Ditto.
11100 2001-04-15 Thomas Hepper <th@ant.han.de>
11101 * Makefile.am: Added contrib/gsc files to EXTRA_DIST
11103 2001-04-15 Thomas Hepper <th@ant.han.de>
11104 * changer-src/scsi-aix.c: Rework of the SCSI interface, support
11105 to talk to an device handled by the gsc driver (not tested yet)
11106 * changer-src/scsi-bsd.c (SCSI_ExecuteCommand): Fix error in
11107 device handling, Changed the return codes in case of an error
11108 * changer-src/scsi-cam.c (SCSI_ExecuteCommand): Fix error in
11109 device handling, Changed the return codes in case of an error
11110 * changer-src/scsi-changer-driver.c: Changed the way
11111 SCSI_ExecuteCommand passes error conditions back, error handling
11112 should now be done by the calling function, SCSI_Run for example.
11113 * changer-src/scsi-changer-driver.c (CheckMove): If the
11114 DeviceCapabilitiesPage is not set do not return an error, print
11115 an warning to the debug file.
11116 * changer-src/scsi-defs.h: New define for AIX_USE_GSC
11117 New defines for the return codes of SCSI_ExecuteCommand
11118 * changer-src/scsi-hpux_new.c: Fix error in device handling.
11119 Changed the return codes in case of an error
11120 * changer-src/scsi-irix.c: Fix error in device handling.
11121 Changed the return codes in case of an error
11122 * changer-src/scsi-solaris.c: Fix error in device handling.
11123 Changed the return codes in case of an error
11125 2001-04-15 Thomas Hepper <th@ant.han.de>
11126 *contrib/gsc: Generic SCSI interface for AIX, used by chg-scsi
11128 2001-04-13 John R. Jackson <jrj@purdue.edu>
11130 * example/amanda.conf.in: Fix multiple holding disks comment.
11132 2001-04-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11134 * client-src/getfsent.h (search_fstab): New prototype.
11135 * client-src/getfsent.c (search_fstab): New arg check_dev, skip
11136 entry if check_dev==1 and device stats failed.
11137 * client-src/getfsent.c (open_fstab for linux): Open MOUNTED.
11138 * client-src/getfsent.c (close_fstab for linux): close MOUNTED.
11139 * client-src/getfsent.c (get_fstab_nextentry for linux): parse MOUNTED.
11140 * client-src/getfsent.c (amname_to_devname, amname_to_dirname,
11141 amname_to_fstype): Call search_fstab sequentialy with 1 and 0
11144 2001-04-10 John R. Jackson <jrj@purdue.edu>
11146 * docs/INSTALL: Update location to GNUPLOT per Lars Hecking
11147 <lhecking@nmrc.ie>.
11149 2001-04-09 Thomas Hepper <th@ant.han.de>
11150 * changer-src/scsi-changer-driver.c: More rework on the debug output.
11151 changed definition SENSE_NO_TAPE to SENSE_TAPE_NOT_ONLINE
11152 In function GenericRewind do an check before the rewind to see
11153 if the tape is loaded.
11154 * changer-src/scsi-defs.h: New #define for the debug, SECTION_TAPE
11155 * changer-src/sense.c: New definition for SENSE_RETRY, ASC=4, ASCQ=1
11157 2001-04-08 Alexandre Oliva <aoliva@redhat.com>
11159 * client-src/getfsent.c (search_fstab): Don't skip entry just
11160 because device stats failed.
11162 2001-04-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11164 * config/config.guess: Upgrade from ftp://ftp.gnu.org/pub/gnu/config
11165 * config/config.sub: Upgrade from ftp://ftp.gnu.org/pub/gnu/config
11166 * config/mkinstalldirs: Upgrade from automake CVS.
11168 2001-04-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11170 * config/depcomp: new file for automake.
11172 2001-04-03 John R. Jackson <jrj@purdue.edu>
11174 * Makefile.am: Remove *.test.c from the distribution.
11176 2001-04-02 John R. Jackson <jrj@purdue.edu>
11178 * NEWS: Update some of the 2.4.2 items.
11180 2001-03-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11182 * client-src/getfsent.c (search_fstab): If the device doesn't
11183 exist, it will take the entry from /etc/mtab.
11185 2001-03-26 John R. Jackson <jrj@purdue.edu>
11187 * server-src/amtape.c: Do not rewind for slot "advance". Do not report
11188 device name (which is bogus) for slot "advance".
11190 2001-03-23 John R. Jackson <jrj@purdue.edu>
11192 * example/amanda.conf.in: Add warning that the sample amanda.conf
11193 will not work as is and must be edited to match the installation.
11195 2001-03-21 John R. Jackson <jrj@purdue.edu>
11197 * recover-src/extract_list.c (extract_files_child): Fix problem that
11198 caused xfsrestore arg list to not be NULL terminated.
11200 2001-03-19 John R. Jackson <jrj@purdue.edu>
11202 * configure.in: Add --with-debug-days (default is 4) and remove
11203 --with-pid-debug-files.
11204 * common-src/Makefile.am: Clean up test program dependencies.
11205 * common-src/debug.c: Create timestamped debug file names and remove
11206 files older (based on file name) than --with-debug-days. Rename old
11207 style names to new style (based on modification time) the first time
11209 * common-src/file.c: Use construct_datestamp() instead of private code.
11210 * common-src/genversion.c: Display AMANDA_DEBUG_DAYS and remove
11211 DEBUG_FILE_WITH_PID.
11212 * common-src/util.c: Move construct_datestamp to here and add new
11213 function construct_timestamp. Change time used to build string to
11214 be an optional parameter instead of always getting it in the routine.
11215 * common-src/util.h: Add prototypes.
11216 * server-src/amcleanupdisk.c: Change construct_datestamp call to pass
11217 indication that it should get the current time.
11218 * server-src/amflush.c: Ditto.
11219 * server-src/chunker.c: Ditto.
11220 * server-src/driver.c: Ditto.
11221 * server-src/dumper.c: Ditto.
11222 * server-src/planner.c: Ditto.
11223 * server-src/server_util.c: Remove construct_datestamp (now in util.c).
11224 * server-src/server_util.h: Remove prototype.
11226 2001-03-15 John R. Jackson <jrj@purdue.edu>
11228 * server-src/planner.c (analyze_estimate): Do not do an incremental
11229 if FORCE_NO_BUMP is set and the last dump was a level 0.
11231 2001-03-14 John R. Jackson <jrj@purdue.edu>
11233 * server-src/amcheck.c: Change message from NOTE to WARNING when
11234 the hold file exists.
11235 * man/amcheck.8.in: Ditto.
11237 2001-03-14 John R. Jackson <jrj@purdue.edu>
11239 * client-src/selfcheck.c: Send smbclient via pipe instead of command
11240 line arg. Various minor cleanups. Use pipespawn instead of system()
11241 to clean up quoting problems and be consistent with sendsize and
11243 * client-src/sendbackup-dump.c: Send smbclient via pipe instead of
11244 line arg. Various minor cleanups.
11245 * client-src/sendbackup-gnutar.c: Send smbclient via pipe instead of
11246 line arg. Various minor cleanups. Clean up listed incremental file
11248 * client-src/sendbackup.c: Various minor cleanups.
11249 * client-src/sendsize.c: Send smbclient via pipe instead of command
11250 line arg. Various minor cleanups. Clean up listed incremental file
11252 * docs/SAMBA: Update and cleanup.
11253 * common-src/pipespawn.c: Import from 2.4.2 branch.
11254 * common-src/pipespawn.h: Import from 2.4.2 branch.
11255 * common-src/Makefile.am: Add pipespawn.[ch] references.
11257 2001-03-13 John R. Jackson <jrj@purdue.edu>
11259 * recover-src/extract_list.c (extract_files_child): Fix xfsrestore
11260 argument list processing.
11262 2001-03-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11264 * server-src/dumper.c (read_datafd): set errstr and return on
11265 databuf_write error.
11267 2001-03-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11269 * server-src/dumper.c (read_indexfd): Ignore error while writing
11270 to the index file. Log an L_INFO message.
11272 2001-03-09 John R. Jackson <jrj@purdue.edu>
11274 * server-src/taper.c: Initialize tape_fd to -1 and test in a couple
11275 more places. Run normal protocol after a tape startup error (e.g.
11276 "cannot overwrite") instead of just exiting to keep driver from
11277 reporting a broken pipe.
11279 2001-03-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11280 Reported by Eric Schnoebelen <eric@cirr.com>
11282 * server-src/changer.c (changer_command): Fix fd leak.
11284 2001-03-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11286 * server-src/server_util.c (cmdstr, getcmd, putresult): New.
11287 * server-src/server_util.h (cmdstr, getcmd, putresult): Prototype.
11288 * server-src/server_util.h (cmd_t): New.
11289 * server-src/driverio.c (cmdstr): Remove.
11290 * server-src/driverio.c: Use new cmdstr and cmd_t.
11291 * server-src/driverio.h: (tok_t): Remove.
11292 * server-src/amflush.c: Use new cmd_t.
11293 * server-src/driver.c: Use new cmd_t.
11294 * server-src/chunker.c (cmd_t, getcmd, putresult): Remove.
11295 * server-src/chunker.c: Use new cmd_t, getcmd and putresult.
11296 * server-src/dumper.c (cmd_t, getcmd, putresult): Remove.
11297 * server-src/dumper.c: Use new cmd_t, getcmd and putresult.
11298 * server-src/taper.c (cmd_t, getcmd, putresult): Remove.
11299 * server-src/taper.c: Use new cmd_t, getcmd and putresult.
11301 2001-03-05 John R. Jackson <jrj@purdue.edu>
11303 * common-src/util.c: The fullread() and fullwrite() functions should
11304 call read() and write(), not tapefd_read() and tapefd_write().
11306 2001-02-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11308 * server-src/planner.c (setup_estimate): Don't re-ask for level 0
11309 if last_level is 0 and FORCE_NO_BUMP is set.
11311 2001-02-27 John R. Jackson <jrj@purdue.edu>
11313 * common-src/stream.h: Move DATABUF_SIZE to stream.h.
11314 * client-src/sendbackup.c: Do not ask for a big receive buffer.
11315 * server-src/dumper.c: Ask for a bigger send buffer. Minor typos.
11316 * server-src/taper.c: Ask for a bigger receive buffer.
11317 * recover-src/amrecover.c: Use stream_client instead of specific
11318 (and incorrect) bind() code.
11319 * recover-src/extract_list.c: Ditto.
11321 2001-02-27 John R. Jackson <jrj@purdue.edu>
11323 * common-src/dgram.c: Add lots more error logging to help track down
11326 2001-02-27 John R. Jackson <jrj@purdue.edu>
11328 * common-src/stream.c: Add lots more error logging to help track down
11331 2001-02-27 John R. Jackson <jrj@purdue.edu>
11333 * server-src/amtape.c: Rewind after loading a slot either by slot
11336 2001-02-27 John R. Jackson <jrj@purdue.edu>
11338 * configure.in: Add some commentary about why pushdef/popdef are
11339 needed around AC_CHECK_TYPE.
11341 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11342 Patch by Alex Pilosov <alex@pilosoft.com>
11344 * changer-src/scsi-cam.c: Clean up some SCSI CAM code,
11345 and permit use of both bus:target:lun(btl) and a full
11346 device name (/dev/ch0) as changerdev.
11348 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11349 Patch by Joe Rhett <jrhett@isite.net>
11350 and Jason Hollinden <jhollind@sammg.com>
11352 * changer-src/chg-zd-mtx.sh.in: Added barcode reader support,
11353 >9 tape slot support, variable for 'offline' or 'ONLINE'
11354 return value of tape device, and multi-config support. Moved
11355 all user settable variables to 'changerfile'.conf in the
11356 amanda config directory. Added commented out example of .conf
11359 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11361 * server-src/amindexd.c (uncompress_file): remove uncompressed
11362 index file if the command failed.
11364 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11366 * restore-src/amrestore.c (main): init r to 0.
11368 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11370 * changer-src/scsi-defs.h (PrintConf): Add prototype.
11371 * changer-src/scsi-changer-driver.c (SCSI_Run): Add prototype.
11372 * changer-src/scsi-linux.c (ScanBus): remove btl variable, return 0.
11374 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11376 * man/Makefile.am (EXTRA_DIST): add amdd.8 and ammt.8.
11378 2001-02-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11380 * server-src/planner.c (setup_estimate): ask for level 0 for
11381 a new disk if force-bump is set,
11382 log force-bump and force-nobump command.
11384 2001-02-17 Thomas Hepper <th@ant.han.de>
11386 * changer-scsi/chg-scsi.c: New Option -genconf to create an example config file
11387 based on the information found on the system, works for Linux and BSD with cam
11388 support. New config option debuglevel
11389 * changer-src/scsi-changer-deriver.c: Reworked the debug output, it is now possible
11390 to control the amount of information by the config option debuglevel in the config
11391 file (docs follow), not complete yet.
11392 * changer-src/scsi-changer-driver.c: New function PrintConf to create an example
11394 New function DebugPrint to print debug information based on the variable debuglevel.
11395 Replaced a lot of dbprintf with new Function DebugPrint
11396 * changer-src/scsi-aix.c: changed parameter for ScanBus
11397 * changer-src/scsi-irix.c: changed parameter for ScanBus
11398 * changer-src/scsi-solaris.c: changed parameter for ScanBus
11399 * changer-src/scsi-bsd.c: changed parameter for ScanBus
11400 * changer-src/scsi-cam.c: Implemented function ScanBus
11401 * changer-src/scsi-linux.c: Implemented function ScanBus
11403 2001-02-09 John R. Jackson <jrj@purdue.edu>
11405 * server-src/diskfile.c: Fix core dump in test program.
11407 2001-02-09 John R. Jackson <jrj@purdue.edu>
11409 * tape-src/output-file.c: Use a "data" subdirectory of the main
11410 file driver device directory to hold the tape "files". This
11411 allows the status file to be moved to the main directory.
11412 * man/amanda.8.in: Document these changes.
11414 2001-02-08 Thomas Hepper <th@ant.han.de>
11416 * changer-src/scsi-aix.c: Added dummy ScanBus function
11417 * changer-src/scsi-bsd.c: Added dummy ScanBus function
11418 * changer-src/scsi-cam.c: Added dummy ScanBus function
11419 * changer-src/scsi-hpux_new.c: Added dummy ScanBus function
11420 * changer-src/scsi-irix.c: Added dummy ScanBus function
11421 * changer-src/scsi-defs.h: Added prototype for ScanBus function
11423 2001-02-04 John R. Jackson <jrj@purdue.edu>
11425 * man/amanda.8.in: Fix mailto to space separated, not comma.
11427 2001-02-03 John R. Jackson <jrj@purdue.edu>
11429 * .cvsignore: Add entries to keep CVS quiet.
11430 * */.cvsignore: Ditto.
11432 2001-02-03 John R. Jackson <jrj@purdue.edu>
11434 * client-src/Makefile.am: Add CLEANFILES rule to remove *.test.c.
11435 * common-src/Makefile.am: Add more sources as needed to the test
11436 programs so they would compile.
11437 * server-src/Makefile.am: Create TEST_PROGS make variable ala the
11438 other Makefile.am files.
11439 * tape-src/Makefile.am: Add CLEANFILES rule to remove *.test.c.
11441 2001-02-03 John R. Jackson <jrj@purdue.edu>
11443 * server-src/diskfile.c: Fix test program compilation error and bug
11444 when just a config name was given on the command line.
11446 2001-02-02 John R. Jackson <jrj@purdue.edu>
11448 * server-src/reporter.c: Fix problem with enum being unsigned on
11451 2001-01-29 John R. Jackson <jrj@purdue.edu>
11453 * tape-src/tapeio.c (tape_fsf): Go back to using snprintf as this
11456 2001-01-29 John R. Jackson <jrj@purdue.edu>
11458 * tape-src/output-tape.c (tape_tapefd_status): Convert flag values
11459 to booleans (compliments of Marc W. Mengel <mengel@fnal.gov>).
11460 * tape-src/tapeio.c (tape_fsf): Use ap_snprintf instead of snprintf
11461 (also compliments of Marc).
11463 2001-01-26 John R. Jackson <jrj@purdue.edu>
11465 * changer-src/Makefile.am: Double up the references to libamanda to
11466 handle systems that put regex in strange places.
11467 * client-src/Makefile.am: Ditto.
11468 * recover-src/Makefile.am: Ditto.
11469 * restore-src/Makefile.am: Ditto.
11470 * server-src/Makefile.am: Ditto.
11471 * tape-src/Makefile.am: Ditto.
11473 2001-01-23 John R. Jackson <jrj@purdue.edu>
11475 * configure.in: Add tapeio switch from Marc Mengel <mengel@fnal.gov>,
11476 enhance and add "null" and "file" output drivers. Change all
11477 tape changers (except chg-scsi) to use amdd and ammt. Change all
11478 tape changers (except chg-scsi) to log and use a consistent
11479 error reporting scheme. Fix various bugs along the way. Add new
11480 chg-multi config option, posteject, which is an optional script
11481 to call after each "tape" is ejected (e.g. to use to start a
11482 CDROM writer). Remove special code for tapedev of /dev/null
11483 (now handled by the "null" output driver). Changed the taper
11484 protocol to pass the host/disk/level so the write can send that
11485 along to the output driver. Fairly major rework of amrestore
11486 to clean up tape/non-tape and other oddities.
11487 * changer-src/chg-chio.pl.in: Ditto.
11488 * changer-src/chg-chs.sh.in: Ditto.
11489 * changer-src/chg-manual.sh.in: Ditto.
11490 * changer-src/chg-mtx.sh.in: Ditto.
11491 * changer-src/chg-multi.sh.in: Ditto.
11492 * changer-src/chg-rth.pl.in: Ditto.
11493 * changer-src/chg-zd-mtx.sh.in: Ditto.
11494 * client-src/sendbackup.c: Ditto.
11495 * common-src/alloc.c: Ditto.
11496 * common-src/amanda.h: Ditto.
11497 * docs/INTERNALS: Ditto.
11498 * man/Makefile.am: Ditto.
11499 * man/amanda.8.in: Ditto.
11500 * man/amdd.8: Ditto.
11501 * man/ammt.8: Ditto.
11502 * restore-src/amrestore.c: Ditto.
11503 * server-src/amcheck.c: Ditto.
11504 * server-src/amlabel.c: Ditto.
11505 * server-src/amtape.c: Ditto.
11506 * server-src/amverify.sh.in: Ditto.
11507 * server-src/conffile.c: Ditto.
11508 * server-src/conffile.h: Ditto.
11509 * server-src/taper.c: Ditto.
11510 * tape-src/Makefile.am: Ditto.
11511 * tape-src/amdd.c: Ditto.
11512 * tape-src/ammt.c: Ditto.
11513 * tape-src/output-file.c: Ditto.
11514 * tape-src/output-file.h: Ditto.
11515 * tape-src/output-null.c: Ditto.
11516 * tape-src/output-null.h: Ditto.
11517 * tape-src/output-rait.c: Ditto.
11518 * tape-src/output-rait.h: Ditto.
11519 * tape-src/output-tape.c: Ditto.
11520 * tape-src/output-tape.h: Ditto.
11521 * tape-src/tapeio.c: Ditto.
11522 * tape-src/tapeio.h: Ditto.
11523 * tape-src/tests/amtapeio.test.000: Ditto.
11524 * tape-src/tests/amtapeio.test.001: Ditto.
11525 * tape-src/tests/amtapeio.test.002: Ditto.
11526 * tape-src/tests/amtapeio.test.003: Ditto.
11527 * tape-src/tests/amtapeio.test.004: Ditto.
11528 * tape-src/tests/amtapeio.test.005: Ditto.
11529 * tape-src/tests/amtapeio.test.006: Ditto.
11530 * tape-src/tests/amtapeio.test.007: Ditto.
11531 * tape-src/tests/amtapeio.test.008: Ditto.
11532 * tape-src/tests/amtapeio.test.009: Ditto.
11533 * tape-src/tests/amtapeio.test.010: Ditto.
11534 * tape-src/tests/amtapeio.test.011: Ditto.
11535 * tape-src/tests/amtapeio.test.012: Ditto.
11536 * tape-src/tests/amtapeio.test.013: Ditto.
11537 * tape-src/tests/amtapeio.test.014: Ditto.
11538 * tape-src/tests/amtapeio.test.015: Ditto.
11539 * tape-src/tests/amtapeio.test.016: Ditto.
11540 * tape-src/tests/amtapeio.test.017: Ditto.
11541 * tape-src/tests/amtapeio.test.018: Ditto.
11542 * tape-src/tests/cleartape: Ditto.
11543 * tape-src/tests/newtest: Ditto.
11544 * tape-src/tests/rerun: Ditto.
11545 * tape-src/tests/runtest: Ditto.
11546 * tape-src/tests/testdist: Ditto.
11547 * tape-src/tests/torture: Ditto.
11549 2001-01-24 John R. Jackson <jrj@purdue.edu>
11551 * client-src/amandad.c: Improve packet logging.
11553 2001-01-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11555 * server-src/driver.c (start_some_dumps): typo.
11557 2001-01-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11559 * server-src/driverio.h (sched_t): new field no_space.
11560 * server-src/driver.c (start_some_dumps): don't start a disk if
11562 * server-src/driver.c (continue_dumps): set no_space if it's the
11563 only active dumpers, case c.
11564 * server-src/driver.c (read_schedule): set no_space to 0.
11566 2001-01-23 John R. Jackson <jrj@purdue.edu>
11568 * configure.in: Test for setmntent.
11569 * client-src/getfsent.c: Add some support for Redhat 7 /etc/fstab
11570 changes that indirectly reference the device for a file system.
11572 2001-01-22 Marc W. Mengel <mengel@fnal.gov>
11574 * recover-src/extract_list.c: Added -U to tar recover options
11575 to reduce errors recovering shared libs and/or binaries on
11576 active filesystems.
11578 2001-01-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11580 * docs/INSTALL: Notes about tar-1.13.19
11582 2001-01-17 Thomas Hepper <th@ant.han.de>
11584 * changer-src/chg-scsi.c: Moved definitions for config_t and
11585 changer_t into scsi-defs.h
11586 * changer-src/chg-scsi.c: New config option havebarcode
11587 * changer-src/scsi-changer-driver.c: Changed GenericBarCode do handle
11588 the option havebarcode. Replaced NoBarCode with GenericBarCode.
11589 Fixed compile warnings from -Wshadow
11590 * changer-src/scsi-linux.c: New function ScanBus to scan the SCSI Bus.
11592 * changer-src/scsi-solaris.c: Changed the return value to
11593 Command.uscsi_status in SCSI_ExecuteCommand if the return from the
11596 2001-01-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11598 * man/amanda.8.in: New section "HOST & DISK EXPRESSION" and
11599 "DATESTAMP EXPRESSION".
11600 * man/amadmin.8.in: Document new usage.
11601 * man/amflush.8.in: Document new usage.
11602 * man/amcheck.8.in: Document new usage.
11603 * man/amdump.8.in: Document new usage.
11604 * man/amrestore.8: Document new usage.
11605 * server-src/amadmin.c: Fix usage.
11606 * server-src/amflush.c: Fix usage.
11607 * server-src/amcheck.c: Fix usage.
11609 2001-01-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11611 * server-src/diskfile.c (match_disklist): Return if no args.
11613 2001-01-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11615 * server-src/diskfile.c (match_disklist): Fix.
11617 2001-01-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11619 * server-src/diskfile.c (match_disklist): Updated for
11620 [host [disk]*]* syntax.
11622 2001-01-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11624 * common-src/match.c (match_datestamp): New function.
11625 * common-src/amanda.h (match_datestamp): Prototype.
11626 * server-src/amflush.c: Use match_datestamp.
11627 * restore-src/amrestore.c: Use match_datestamp.
11629 2001-01-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11631 * common-src/match.c (match_word): Support for leading ^ and
11634 2001-01-04 John R. Jackson <jrj@purdue.edu>
11636 * common-src/error.c (error): If the debug file pointer is set, log
11637 any fatal error message to it and close the file so it has a good
11638 trace of what happened and when.
11640 2001-01-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11642 * taper-src/am-dd.c: include "tapeio.h", fix debug warning.
11643 * taper-src/am-mt.c: include "tapeio.h", fix debug warning.
11644 * taper-src/output-rait.c: include "tapeio.h", new define for
11646 * taper-src/tapeio.c(many): Remove unused tfd variable.
11647 * taper-src/tapeio.h (tape_unload,tape_status): Prototype.
11649 2001-01-04 John R. Jackson <jrj@purdue.edu>
11651 * client-src/killpgrp.c: Calls to error() do not need a newline.
11653 2001-01-04 John R. Jackson <jrj@purdue.edu>
11655 * man/amanda.8.in: Try to make it clearer that dumpcycle and maxdumps
11656 changes in the main part of the config file must appear before any
11657 dumptype definitions, and also that inherited dumptypes must appear
11658 before their reference.
11660 2001-01-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11662 * server-src/driver.c (continue_dumps): Don't reduce est_size if
11663 it is already larger than holding space allocated.
11664 * server-src/dumper.c: Remove all code for FILE_DUMP command.
11665 * server-src/chunker.c: Better handling of ENOSPC from
11666 write_tapeheader().
11668 2001-01-04 John R. Jackson <jrj@purdue.edu>
11670 * server-src/conffile.c (main): Fix conffile test program so it builds
11673 2001-01-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11675 * changer-src/scsi-defs.h (ChangerCMD_T): replace array function
11676 pointer by enumerated pointers.
11677 * changer-src/scsi-changer-driver.c: Use new calling convention.
11679 2001-01-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11681 * server-src/amstatus.pl.in: Better support for TRY-AGAIN and
11682 ABORT-FINISHED result.
11684 2001-01-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11686 * server-src/amflush.c: Use getopt to parse argument.
11687 * server-src/amflush.c: New [-D date]* argument.
11688 * man/amflush.8.in: Document it.
11690 2001-01-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11691 Patch by Andreas F Mueller <afm@othello.ch>
11693 * server-src/amadmin.c (force_no_bump_one): Fix message.
11695 2001-01-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11697 * tape-src/am-dd.c: include "amanda.h"
11698 * tape-src/am-mt.c: include "amanda.h"
11699 * tape-src/am-mt.c (main): res is int.
11700 * tape-src/output-rait.c: include "amanda.h", do not define stderr.
11701 * tape-src/tapeio.c (xxx_tapefd_read, plain_tapefd_read): second
11702 argument should be "char *"
11703 * tape-src/tapeio.c (xxx_tapefd_write, plain_tapefd_write): second
11704 argument should be "const char *"
11706 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11708 * server-src/find.c (find_match): Use todo bit.
11709 * server-src/find.c (find_dump): No arguments.
11710 * server-src/find.h (find_dump): Change prototype.
11711 * server-src/amadmin.c (find): New [host disk]* pair arguments.
11712 * server-src/amindexd.c: Change call to find_dump().
11713 * server-src/amtrmidx.c: Change call to find_dump().
11715 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11717 * configure.in: Don't check krb5 include if krb5 is not selected.
11719 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11721 * tape-src/Makefile.am (noinst_HEADERS): Add output-rait.h
11723 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11725 * server-src/amadmin.c (diskloop): typo.
11727 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11729 * server-src/amadmin.c (diskloop): New [host disk]* pair arguments.
11730 * server-src/amadmin.c (diskloop, reuse, noreuse): use get_pname()
11731 instead of argv[0].
11733 2000-12-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11735 * server-src/amflush.c (main):log DISK after checking if logfile exist.
11737 2000-12-30 John R. Jackson <jrj@purdue.edu>
11739 * common-src/bsd-security.c: Improve the .rhosts/.amandahosts messages
11740 when things go wrong. Add support for "bsdsecurity" test program
11742 * common-src/Makefile.am: Ditto.
11743 * common-src/amanda.h: Ditto.
11744 * restore-src/amidxtaped.c: Ditto.
11745 * server-src/amindexd.c: Ditto.
11747 2000-12-30 John R. Jackson <jrj@purdue.edu>
11749 * ChangeLog: Bring Jean-Louis into the right month :-).
11750 * changer-src/scsi-changer-driver.c: Untested changes to at least
11751 get the code to compile on Solaris and to remove some warnings.
11752 * changer-src/scsi-defs.h: Ditto.
11753 * changer-src/scsi-solaris.c: Ditto.
11755 2000-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11757 * server-src/diskfile.c (add_disk): New function.
11758 * server-src/diskfile.h (add_disk): Prototype.
11759 * server-src/logfile.h (logtype_e): add L_DISK.
11760 * server-src/logfile.c (logtype_str): add "DISK".
11761 * server-src/amflush.c (main): log DISK.
11762 * server-src/planner.c (main): log DISK.
11763 * server-src/reporter.c: use DISK if available.
11765 2000-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11767 * server-src/amcheck.c: New [host disk]* pair arguments.
11768 * server-src/amflush.c: Ditto.
11769 * server-src/planner.c: Ditto.
11770 * server-src/amdump.sh.in: Ditto.
11771 * server-src/amrestore.c: Use new host/disk matcher.
11772 * man/amcheck.8.in: Document new [host disk]* pair arguments.
11773 * man/amflush.8.in: Ditto.
11774 * man/amdump.8.in: Ditto.
11776 2000-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11778 * server-src/diskfile.c (match_disklist): new function.
11779 * server-src/diskfile.h (struct disk_s): new field todo.
11780 * server-src/diskfile.h (match_disklist): prototype.
11782 2000-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11784 * common-src/match.c (match_word, match_host, match_disk):
11786 * common-src/amanda.h (match_host, match_disk): prototype.
11788 2000-12-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11790 * server-src/planner.c (analyze_estimate): pick incremental level
11791 if no estimate of level 0.
11793 2000-12-28 Marc W. Mengel <mengel@fnal.gov>
11794 * changer-src/chg-juke.sh.in: New File
11795 * changer-src/Makefile.am: Added support for chg-juke.
11796 * docs/TAPE.CHANGERS: Likewise.
11797 * configure.in: Likewise.
11799 2000-12-24 John R. Jackson <jrj@purdue.edu>
11801 * server-src/getconf.c: Fix free() of static text string (BUGGY) when
11802 the parameter being looked up is bad.
11804 2000-12-23 David Wolfskill <dhw@whistle.com>
11806 * server-src/amcheck.c (start_server_check): Change directory
11807 writable check to be for the tapelist directory instead of
11808 the config file directory. Remove config file directory test.
11809 * man/amcheck.8.in: Add mention of tapelist directory and do
11810 some other directory writable cleanup.
11812 2000-12-12 John R. Jackson <jrj@purdue.edu>
11814 * client-src/sendbackup-gnutar.c: Fix regex pattern to accept blanks
11817 2000-12-12 John R. Jackson <jrj@purdue.edu>
11819 * Makefile.am: Work around problem with automake 1.4 not including
11821 * docs/Makefile.am: Include RAIT and VTAPE-API in distribution.
11822 Work around problem with automake 1.4 not including pkgdata_DATA.
11823 * tape-src/rait.h: Renamed to rait.h.
11824 * tape-src/rait.c: Renamed to rait.c.
11825 * tape-src/output-rait.h: Renamed from rait.h.
11826 * tape-src/output-rait.c: Renamed from rait.c.
11827 * tape-src/Makefile.am: Reflect the new rait.[ch] names.
11828 * tape-src/tapeio.c: Use output-rait.h name. Minor typo changes.
11830 2000-12-08 Marc Mengel <mengel@fnal.gov>
11832 * docs/RAIT: New file.
11833 * docs/VTAPE-API: New file.
11834 * tape-src/rait.c: New File providing RAIT virtual tape type.
11835 * tape-src/tapeio.c: Major Surgery.
11836 (vtable): New static table of virtual tape types.
11837 (fdtable): New static table mapping file descriptors.
11838 (tapefd_fsf_ioctl): Renamed tapefd_fsf, with added ioctl argument.
11839 (tapefd_rewind_ioctl): Likewise.
11840 (tapefd_unload_ioctl): Likewise.
11841 (tapefd_weof_ioctl): Likewise.
11842 (tapefd_status_ioctl): Likewise.
11843 (tape_open): Now is a virtual tape table lookup and call.
11844 (tape_access): Now is a switch through virtual tape table.
11845 (tape_stat): Likewise.
11846 (tapefd_close): Likewise.
11847 (tapefd_fsf): Likewise.
11848 (tapefd_read): Likewise.
11849 (tapefd_rewind): Likewise.
11850 (tapefd_resetofs): Likewise.
11851 (tapefd_unload): Likewise.
11852 (tapefd_status): Likewise.
11853 (tapefd_weof): Likewise.
11854 (tapefd_write): Likewise.
11855 (plain_tape_access): Rename of tape_access.
11856 (plain_tape_open): Likewise.
11857 (plain_tapefd_read): Likewise.
11858 (plain_tape_stat): Likewise.
11859 (plain_tapefd_write): Likewise.
11860 (plain_tapefd_close): Likewise.
11861 (plain_tapefd_fsf): Now calls tapefd_fsf_ioctl with &ioctl().
11862 (plain_tapefd_rewind): Likewise.
11863 (plain_tapefd_resetofs): Likewise.
11864 (plain_tapefd_unload): Likewise.
11865 (plain_tapefd_status): Likewise.
11866 (plain_tapefd_weof): Likewise.
11868 2000-12-04 John R. Jackson <jrj@purdue.edu>
11870 * server-src/amdump.sh.in: Temporary fix for $LOGNAME vs whoami
11873 2000-12-04 John R. Jackson <jrj@purdue.edu>
11875 * server-src/conffile.c (read_conffile_recursively): If the file name
11876 for the includefile directive is not absolute, make it relative to
11877 the configuration directory.
11879 2000-12-03 John R. Jackson <jrj@purdue.edu>
11881 * restore-src/amrestore.c: Fix header when compression is included.
11882 Use "fast" option for -c and add new -C option to get "best".
11883 * man/amrestore.8: Document the new option, the compression level,
11884 and clean up some nroff issues.
11886 2000-11-30 Marc Mengel <mengel@fnal.gov>
11888 * changer-src/chg-chio.pl.in: Use am-mt and am-dd versus mt and dd.
11889 * changer-src/chg-chs.sh.in: Likewise.
11890 * changer-src/chg-manual.sh.in: Likewise.
11891 * changer-src/chg-mtx.sh.in: Likewise.
11892 * changer-src/chg-multi.sh.in: Likewise.
11893 * changer-src/chg-rth.pl.in: Likewise.
11894 * changer-src/chg-zd-mtx.sh.in: Likewise.
11895 * tape-src/am-dd.c: New file. Replacement for dd.
11896 * tape-src/am-mt.c: New file. replacement for mt.
11897 * tape-src/Makefile.am: Add build for am-mt and am-dd.
11898 * tape-src/tapeio.c (tape_unload, tapefd_unload, tape_status,
11899 tapefd_status): New functions.
11900 (tape_rewind, tape_fsf, tape_rdlabel): Change error message
11901 for tape being offline so it matches online/offline regex
11902 in changer scripts.
11903 (tape_open): Ifdef-out mode flag clearing, so you can pass
11904 O_TRUNC, etc. in for am-dd.
11906 2000-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11908 * common-src/util.c: #include "../tape-src/tapeio.h"
11909 * tape-src/tapeio.c(tapefd_write): second arg is const.
11910 * tape-src/tapeio.h(tapefd_write): Likewise.
11911 * common-src/event.c(event_loop): declare entry if ASSERT is defined.
11912 * changer-src/chg-scsi.c: Fix compiler warning.
11913 * changer-src/scsi-aix.c: Likewise.
11914 * changer-src/scsi-bsd.c: Likewise.
11915 * changer-src/scsi-cam.c: Likewise.
11916 * changer-src/scsi-changer-driver.c: Likewise.
11917 * changer-src/scsi-defs.h: Likewise.
11918 * changer-src/scsi-hpux.c: Likewise.
11919 * changer-src/scsi-hpux_new.c: Likewise.
11920 * changer-src/scsi-irix.c: Likewise.
11921 * changer-src/scsi-linux.c: Likewise.
11922 * changer-src/scsi-solaris.c: Likewise.
11923 * changer-src/sense.c: Likewise.
11925 2000-11-22 John R. Jackson <jrj@purdue.edu>
11927 * contrib/dbbackup.ksh: Deal with adm being a symlink.
11928 * contrib/dbbackup.tcl: Update for Tcl 8.3 and newer Oratcl versions.
11930 2000-11-22 John R. Jackson <jrj@purdue.edu>
11932 * Makefile.am: Forgot to add contrib/sst/README.Amanda to the list
11933 of files to put in a distribution.
11935 2000-11-21 John R. Jackson <jrj@purdue.edu>
11937 * recover-src/extract_list.c (extract_files_child): Add support for
11940 2000-11-21 John R. Jackson <jrj@purdue.edu>
11942 * server-src/amcheck.c: Minor message wording changes.
11944 2000-11-21 John R. Jackson <jrj@purdue.edu>
11946 * configure.in: Forgot to check in this part of new amgetconf.8.in.
11948 2000-11-21 John R. Jackson <jrj@purdue.edu>
11950 * contrib/sst/README.Amanda: New file of Amanda specific sst notes.
11951 * contrib/sst/sst.c: Attempt at letting gcc compile sst.
11953 2000-11-21 John R. Jackson <jrj@purdue.edu>
11955 * man/amgetconf.8.in: New man page.
11956 * man/Makefile.am: Add support for amgetconf.8.in.
11957 * man/amadmin.8.in: Update for 2.4.2 and do general cleanup.
11958 * man/amanda.8.in: Ditto.
11959 * man/amcheck.8.in: Ditto.
11960 * man/amcheckdb.8.in: Ditto.
11961 * man/amcleanup.8.in: Ditto.
11962 * man/amdump.8.in: Ditto.
11963 * man/amflush.8.in: Ditto.
11964 * man/amlabel.8.in: Ditto.
11965 * man/amrecover.8.in: Ditto.
11966 * man/amreport.8.in: Ditto.
11967 * man/amrestore.8: Ditto.
11968 * man/amrmtape.8.in: Ditto.
11969 * man/amstatus.8.in: Ditto.
11970 * man/amtape.8: Ditto.
11971 * man/amtoc.8.in: Ditto.
11972 * man/amverify.8.in: Ditto.
11974 2000-11-21 John R. Jackson <jrj@purdue.edu>
11976 * contrib/sst/sst.c (sst_ioctl): Allow non-root users to use sst.
11978 2000-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11980 * server-src/amdump.sh.in: exit if amgetconf exit with status != 0.
11981 * server-src/amcleanup.sh.in: ditto
11982 * server-src/amstatus.pl.in: ditto
11984 2000-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11986 * server-src/driver.c (start_some_dumps): don't check free_kps if
11988 * server-src/driver.c (free_kps): remove the kludge.
11990 2000-11-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
11992 * server-src/conffile.c: It's an error to have a negative chunksize.
11993 * man/amanda.8.in: remove documentation of negative chunksize.
11994 * example/amanda.conf.in: ditto
11995 * example/amanda.conf.chg-scsi.in:ditto
11996 * NEWS: negative chunksize is no longer supported.
11998 2000-11-03 John R. Jackson <jrj@purdue.edu>
12000 * server-src/driver.c (handle_taper_result): the holding disk entry
12001 should not be removed just because taper could not write it out in
12002 the "too many taper retries" case. It should be left for amflush.
12004 2000-11-01 John R. Jackson <jrj@purdue.edu>
12006 * server-src/amverify.sh.in: use common form for getting the first
12007 line of a file/pipe. Sed is more portable than head.
12009 2000-10-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12011 * client-src/selfcheck.c (check_disk): Write an appropriate
12012 message if the disk name start with '//' and the program is DUMP
12013 or SAMBA is not compiled in.
12015 2000-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12017 * server-src/driver.c (handle_chunker_result): The dumpsize is
12018 the third argument, not the fourth.
12020 2000-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12022 * server-src/driver.c (handle_chunker_result): don't check
12023 pending_aborts, call event_release() ob ABORT-FINISHED.
12025 2000-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12027 * server-src/chunker.c (databuf_flush): workaround to prevent a
12028 hang on a ABORT command.
12030 2000-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12032 * server-src/driver.c (continue_dumps): set estimate to more than
12033 what is already use instead of setting no_hold=1 when a disk
12034 don't fit on holding disk.
12036 2000-10-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12038 * server-src/chunker.c: chunker was broken after RQ-MORE-DISK.
12040 2000-10-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12042 * server-src/amstatus.pl.in: add '&' when calling &usage()
12045 2000-10-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12046 reported by The Hermit Hacker <scrappy@hub.org>
12048 * changer-src/chg-chio.pl.in: remove unused $libexecdir.
12050 2000-10-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12051 reported by The Hermit Hacker <scrappy@hub.org>
12053 * changer-src/chg-chio.pl.in: remove comma after LOG,
12054 typo: r should be 0.
12056 2000-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12058 * docs/INDEXING: doc updated.
12060 2000-10-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12062 * AUTHORS: add Thomas Hepper.
12064 2000-10-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12066 * server-src/driverio.c (chunker_cmd): send ABORT command.
12068 2000-10-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12070 * server-src/amverify.sh.in: grep only the first line of the header.
12072 2000-10-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12074 * server-src/amverify.sh.in: verify with tar even if the
12075 server and the client are not configured with the same path.
12077 2000-10-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12079 * NEWS: A new `ctimeout' keyword in amanda.conf to replace
12080 the CHECK_TIMEOUT constant in amcheck.c.
12082 2000-10-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12084 * server-src/amlabel.c: Don't set tape_ok to 0 if
12085 tape_wrlabel is successful.
12087 2000-10-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12089 * server-src/taper.c: amfree(strclosing).
12091 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12093 * server-src/driver.c: typo.
12095 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12097 * configure.in: --with-samba-user is deprecated.
12098 * docs/SAMBA: the username is now on the amandapass file.
12099 * NEWS: the username is now on the amandapass file.
12100 * client-src/findpass.c (findpass): accept "*" as diskname.
12101 * client-src/selfcheck.c (check_disk): call to samba changed.
12102 * client-src/sendsize.c (getsize_smbtar): ditto.
12103 * client-src/sendbackup-gnutar.c (start_backup): ditto.
12104 * recover-src/extract_list.c (extract_files_child): ditto.
12106 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12108 * server-src/taper.c: give better message when failing
12111 2000-10-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12113 * server-src/diskfile.c (headqueue_disk): new function to
12114 insert at the head of the queue.
12115 * server-src/diskfile.h (headqueue_disk): prototype.
12116 * server-src/driver.c (taper_queuedisk): insert with
12117 headqueue_disk() if disk already attempted.
12119 2000-10-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12121 * AUTHORS: fix my email address.
12123 2000-09-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12125 * server-src/amcheck.c: Don't accept -m or -M option if MAILER
12127 * server-src/reporter.c: Need a -f optionn if MAILER is not defined.
12129 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12130 patch by <jeg@time.ucsc.edu>
12132 * server-src/reporter.c (output_summary): check for tape_labels.
12134 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12136 * server-src/amindexd.c: use strcasecmp to compare hostname.
12138 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12140 * server-src/amstatus.pl.in: fix plural misuse.
12142 2000-09-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12144 * man/amanda.8.in: add all pages in the SEE ALSO section.
12146 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12148 * man/amreport.8.in: amreport does not rotate the log.
12149 * man/amrestore.8: note on holdingdisk.
12150 * restore-src/amrestore.c: update usage.
12151 * server-src/amrmtape.sh.in: update usage.
12152 * server-src/amverify.sh.in.usage: update usage.
12154 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12156 * server-src/amoverview.pl.in: update usage information,
12157 -config is no longer needed for ccompatibility with other program.
12158 * man/amoverview.8.in: -config is no longer needed.
12160 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12162 * example/amanda.conf.in: chunk should not be larger than
12163 MAX_FILE_SIZE - 1Mb.
12165 2000-09-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12167 * client-src/sendsize.c (getsize_smbtar): remove unused debug_level
12169 * server-src/amlabel.c (main): init errstr to NULL,
12170 fix compiler warning.
12172 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12173 patch by jason Thomas <jet@users.sourceforge.net>
12175 * tape-src/tapetype.c: fix help message.
12177 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12178 patch by Rudolf Cejka <cejkar@users.sourceforge.net>
12180 * common-src/file.c (mkpdir): check p != NULL
12181 * man/amstatus.8.in: typo
12183 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12184 patch by Rudolf Cejka <cejkar@users.sourceforge.net>
12186 * client-src/calcsize.c:sets correct program name,
12187 prevent coredumps and some improrer command line error mesages
12189 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12191 * common-src/amanda.h: prototype clean_regex().
12192 * common-src/match.c: new function clean_regex() that escape
12193 all non-alphanumeric character.
12194 * recover-src/extract_list.c (add_file, delete_file): use clean_regex().
12196 2000-09-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12198 * server-src/amcheck.c: (start_server_check): check for the oldlog
12201 2000-09-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12203 * server-src/amtrmlog.c: better check of the oldlog directory.
12205 2000-09-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12207 * server-src/amcheck.c: (start_server_check): don't check the tape
12208 if tapedev is /dev/null.
12210 2000-09-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12212 * server-src/reporter.c (output_tapeinfo): test reversed for run_tapes.
12214 2000-07-31 Thomas Hepper <th@ant.han.de>
12215 * changer-src/chg-scsi.c: Rework of the device handling.
12216 Every device is opend for an operation and than closed.
12217 This will hopefully fix the problems with openening the tape device
12218 and the SCSI control device for the tape
12219 new option emubarcode (see docs/TAPE.CHANGERS)
12220 * changer-src/scsi-cam.c: Changed to work with the new device handling.
12221 * changer-src/scsi-hpux_new.c: Changed to work with the new device handling.
12222 * changer-src/scsi-irix.c: Changed to work with the new device handling. (Not tested)
12223 * changer-src/scsi-solaris.c: Changed to work with the new device handling. (Not tested)
12224 * changer-src/scsi-linux.c: Changed to work with the new device handling.
12225 * changer-src/scsi-changer-driver.c: Changed to work with the new device handling
12226 * changer-src/scsi-defs.h: Changed to work with the new device handling
12227 2000-07-18 John R. Jackson <jrj@purdue.edu>
12229 * changer-src/chg-chio.pl.in (do_time): fix chg-chio.pl timestamp
12230 function to return a string instead of writing to stdout.
12232 2000-07-18 John R. Jackson <jrj@purdue.edu>
12234 * server-src/taper.c (file_reader_side): detach and destroy shared
12235 memory areas on an error condition. Found by Patrik Andersin
12238 2000-07-17 Thomas Hepper <th@ant.han.de>
12239 * docs/TAPE.CHANGERS: Added some notes for the cam driver
12240 * changer-src/scsi-cam.c: New syntax for telling scsi ids
12242 SCSI_ExecuteCommand now returns the correct sense buffer.
12244 2000-07-17 Thomas Hepper <th@ant.han.de>
12245 * configure.in: Added check for BSD SCSI CAM Support
12246 * changer-src/scsi-cam.c: New, functions for SCSI CAM Support
12247 ( at the moment for FreeBSD 4.0)
12248 * changer-src/Makefile.am: added scsi-cam.s to the list of sources
12249 * changer-src/chg-scsi.c: The structs for the OpenFiles_T is now
12250 allocated in chg-scsi and passed to OpenDevice.
12251 * changer-src/scsi-changer-driver.c: New Parameter for OpenDevice
12254 2000-07-10 Marc Mengel <mengel@fnal.gov>
12255 * tape-src/tapeio.c -- add tape_{stat,access}, allow "plain:" prefix
12256 on tape device names
12257 * tape-src/tapeio.h -- add tape_{stat,access} prototypes
12258 * common-src/util.c -- call tape_{read,write}() in full{read,write}()
12259 * restore-src/amidxtaped.c -- use tape_stat() on tapename
12260 * restore-src/amrestore.c -- use tape_stat() on tapename
12261 * server-src/amcheck.c -- use tape_access() on tapename
12262 * client-src/Makefile.am -- now needs libamtape.a twice
12263 * server-src/Makefile.am -- now needs libamtape.a twice
12264 * recover-src/Makefile.am -- now needs libamtape.a twice
12265 * Makefile.am -- tape-src before client-src
12267 2000-07-05 Thomas Hepper <th@ant.han.de>
12268 * changer-src/chg-scsi.c: fixed an core dump if tapeident was set
12269 * changer-src/scsi-changer-driver.c (OpenFile):
12270 if the ident ist set in the config set this in the internal device
12272 * changer-src/scsi-changer-driver.c (GenerciSenseHandler):
12273 changed the type for the info text from char * to char ** which
12274 is passwd to Sense2Action
12275 * changer-src/scsi-changer-driver.c (ChangerStatus):
12276 fixed the bug which causes an core dump for chg-scsi -status robot
12277 if an bar code reader is detected. Fixed also the bug that the
12278 mapping Label -> Barcode was not displayed.
12279 * changer-src/scsi-defs.h: Changed the prototype for Sense2Action
12280 * changer-src/sense.c: Added the defs for the Spectra TreeFrog lib
12281 * changer-src/sense.c (Sense2Action); Fixed the handling if no match
12282 was found (fall back to the generic description)
12284 2000-06-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12286 * server-src/list_dir.c (add_dir_list_item): add at head of list.
12288 2000-06-24 Thomas Hepper <th@ant.han.de>
12289 * changer-src/chg-scsi-chio.c: Merged changes from 2.4.2
12290 * changer-src/chg-scsi.c: Merged changes from 2.4.2
12291 * changer-src/sense.c: New file. Contains an table and function for the
12292 mapping of sense/ASC/ASCQ conditions from the SCSI sense.
12293 * changer-src/scsi-changer-driver.c: Merged changes from 2.4.2
12294 Changed handling for the sense keys. Now there is only one function
12295 to decide what to do with an sense/ASC/ASCQ conditon (abort,retry ..)
12296 * changer-src/Makefile.am: Added sense.c to the source list.
12297 * changer-src/scsi-solaris.c: Merged changes from 2.4.2
12298 * changer-src/scsi-linux.c: Merged changes from 2.4.2
12299 * changer-src/scsi-irix.c: Merged changes from 2.4.2
12300 * changer-src/scsi-hpux_new.c: Merged changes from 2.4.2
12301 * changer-src/scsi-defs.h: Merged changes from 2.4.2
12303 2000-06-12 Jeroen Ruigrok van der Werven <asmodai@wxs.nl>
12305 * server-src/amlabel.c (main): Do not amfree(config_name).
12307 2000-06-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12309 * server-src/holding.c (pick_datestamp): convert ch to upper.
12311 2000-05-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12313 * server-src/driver.c (handle_dumper_result, handle_chunker_result):
12314 delay call to dumper_result().
12316 2000-05-28 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12318 * client-src/sendbackup-gnutar.c: Ignore `socket ignored' GNU tar
12321 2000-05-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12323 * chunker.c: allow chunk to be written on different holding disk.
12324 * server-src/driver.c: allow chunk to be written on different
12326 * server-src/conffile.c: make sure that disksize and chunksize
12327 are multiple of TAPE_BLOCK_SIZE.
12328 * server-src/conffile.h: disksize and chunksize are long.
12329 * server-src/diskfile.c (find_disk): new function to see if a
12330 given disk is contained in a list structure.
12331 * server-src/diskfile.h (find_disk): prototype.
12332 * server-src/driverio.h (RQ_MORE_DISK): Added message.
12333 * server-src/driverio.h (free_assignedhd): prototype.
12334 * server-src/driverio.h (assignedhd_t): new data structure.
12335 * server-src/driverio.c (cmdstr): added comamnd RQ-MORE-DISK.
12336 * server-src/driverio.c (free_assignedhd): new function to free an
12337 array of assignedhd_t.
12339 2000-05-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12341 * server-src/driver.c (chunker_program): new variable.
12343 2000-04-20 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12345 * server-src/amstatus.pl.in: handle chunker line.
12347 2000-04-20 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12349 * recover-src/Makefile.am (LDADD): Removed libamtape.
12350 Reported by Paul Yeatman <pyeatman@ucsd.edu>
12352 2000-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12354 * server-src/chunker.c: new file for the chunker program.
12355 * server-src/Makefile.am: compile it.
12356 * server-src/driver.c: many modification.
12357 * server-src/driverio.c: many modification.
12358 * server-src/driverio.c (startup_chunk_process, chunker_cmd):
12360 * server-src/driverio.h: prototype them.
12361 * server-src/driverio.h (struct chunker_s): new structure.
12362 * server-src/logfile.c: handle chunker log.
12363 * server-src/logfile.h: ditto.
12364 * server-src/reporter.c: ditto.
12365 * server-src/taper.c: size reduced by TAPE_BLOCK_SIZE.
12367 2000-04-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12369 * server-src/taper.c: don't crash if the tapelist file
12372 2000-04-09 Frank Wojcik <fwojcik@lucent.com>
12374 * server-src/taper.c (detach_buffers): Fixed typo in error message.
12376 * server-src/amrmtape.sh.in: Fix occurrence of `Infofile', that
12377 should have been `InfoFile'.
12379 2000-04-09 Davide Marchignoli <marchign@di.unipi.it>
12381 * server-src/conffile.h (confparm_t): Added CTIMEOUT.
12382 * server-src/conffile.c: Added ctimeout support. Default to 30.
12383 * example/amanda.conf.in: Likewise.
12384 * man/amanda.8.in: Documented it.
12385 * server-src/amcheck.c: Use ctimeout from configuration file instead
12388 2000-04-09 Stan Brown <stanb@awod.com>
12390 * recover-src/amrecover.c (guess_disk): Omit DEV_PREFIX only if
12391 it is actually a prefix of fsname.
12393 2000-04-09 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12395 * server-src/amlabel.c (main): Check label *after* writing end mark.
12397 2000-03-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12399 * server-src/amlabel.c: don't crash if the tapelist file
12402 2000-02-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12404 * server-src/amstatus.pl.in: "0 dumpers busy" should be "0 dumper busy".
12406 2000-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12408 * server-src/amadmin.c (force_one, force_bump_one): FORCE_FULL
12409 and FORCE_BUMP are mutually exclusive.
12411 2000-01-31 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
12413 * server-src/driver.c (main): use the holding disk even if the
12414 datestamped directory already exist.
12416 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12418 * server-src/amstatus.pl.in (prefix, exec_prefix): Refer to them
12419 twice to avoid warnings of possible typo.
12421 * amplot/amplot.awk: Ignore dumper's RQ-MORE-DISK.
12422 Reported by David Wolfskill <dhw@whistle.com>
12423 * amplot/amplot.awk: Handle taper's TRY-AGAIN like TAPE-ERROR.
12425 * server-src/amstatus.pl.in: Compute and display TRY-AGAIN tape
12427 Reported by David Wolfskill <dhw@whistle.com>
12429 * man/amtoc.8.in: Document -w.
12431 2000-01-21 David Wolfskill <dhw@whistle.com>
12433 * server-src/amtoc.pl.in: Add `-w' to add new lines and form feeds.
12435 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12437 * man/amlabel.8.in: Tapes are no longer requested in reverse order
12439 Reported by Brad Guillory <round@baileylink.net>
12441 * server-src/amstatus.pl.in: New option --stats, to display
12442 statistics about dumpers and taper.
12443 * man/amstatus.8.in: Document it.
12445 2000-01-21 David Wolfskill <dhw@whistle.com>
12447 * server-src/amstatus.pl.in: Sort dumpers by number.
12449 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12451 * server-src/amstatus.pl.in: Remove bogus (?) line `$$host=1'.
12453 * configure.in (MAILER): Warn or print an error if not found,
12454 depending on whether server code is disabled or not.
12456 * server-src/reporter.c (output_tapeinfo): Report used tapes
12457 regardless of tape errors.
12459 * config/acinclude.m4i (CF_WAIT): Simplify the test. Declare wait()
12460 in the global scope.
12462 2000-01-21 Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
12464 * config/acinclude.m4i (CF_WAIT): Avoid warnings on systems
12465 where `union wait' works but is deprecated.
12467 2000-01-21 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12469 * recover-src/uscan.l (settape): Recognize it.
12470 * recover-src/uparse.y: Parse it.
12471 * recover-src/amrecover.h (set_tape): Declare it.
12472 * recover-src/set_commands.c (set_tape): Implement it.
12473 * recover-src/help.c (help_list): Document it.
12474 * man/amrecover.8.in: Likewise.
12475 * recover-src/extract_list.c (extract_files): Warn if tape device is
12477 * recover-src/amrecover.c (tape_device_name): Default to
12478 server-determined default.
12480 2000-01-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12482 * configure.in: Recognize alpha*-*-linux-* and sparc*-*-linux-*.
12484 * tape-src/Makefile.am (../common-src/libamanda.$(LIB_EXTENSION)):
12485 Allow for `make tapetype' before libamanda is built.
12487 * server-src/amoverview.pl.in: Year doesn't take just 2 bytes.
12489 2000-01-06 David Wolfskill <dhw@whistle.com>
12491 * docs/TAPETYPES: Typo.
12493 2000-01-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12495 * docs/TAPETYPES: Removed all tapetype entries. Pointed to
12496 example/amanda.conf, to the mailing list archives and to the on-line
12497 tapetype list. Explained the meaning of length, filemark and speed,
12498 and how to build and use the tapetype utility.
12500 1999-12-12 John R. Jackson <jrj@purdue.edu>
12502 * configure.in: egrep was having trouble with quoting on some systems.
12503 Broke it apart into multiple unquoted statements. Also, changed the
12504 script to run the steps on all dump tests and added "Label" as another
12507 1999-12-12 John R. Jackson <jrj@purdue.edu>
12509 * tape-src/tapetype.c: tweak the algorithm to write files in both
12510 passes and compute the tape mark size as the difference. Never
12511 report a negative tape mark size. Various other minor cleanup.
12513 1999-11-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12515 * client-src/sendbackup-gnutar.c (re_table): #if out the debugging
12516 Samba messages unless SAMBA_VERSION < 2.
12518 1999-11-29 John E.P.Hynes <john@hytronix.ne.mediaone.net>
12520 * client-src/sendbackup-gnutar.c (re_table): Update for Samba 2.0.6.
12522 1999-11-25 John R. Jackson <jrj@purdue.edu>
12524 * server-src/amflush.c (main): conf_logdir should not be free'd
12525 (found by Espen H Wiborg <espenhw@infotek.no>).
12527 1999-11-10 John R. Jackson <jrj@purdue.edu>
12529 * recover-src/extract_list.c: report the tape server host in the
12530 message to check the amidxtaped.debug file. If extract_list_child
12531 fails (such as when amidxtaped fails to read the tape), ask if
12532 things should continue instead of aborting.
12534 1999-11-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12536 * server-src/driverio.c (update_info_dumper): Discard information on
12537 older same- or higher-level dumps.
12538 * server-src/driver.c (dump_to_tape): Add comment that _dumper must
12539 be called before _taper.
12541 * docs/FAQ: Sometimes FQDNs are wrong for amandahosts.
12543 1999-11-10 John R. Jackson <jrj@purdue.edu>
12545 * server-src/amindexd.c (build_disk_table): need to clear the old
12546 disk history list before building a new one.
12548 1999-11-10 John R. Jackson <jrj@purdue.edu>
12550 * server-src/taper.c (label_tape): issue a warning when tapedev is
12552 * server-src/amcheck.c (start_server_check): make warning message
12553 text the same for amcheck and taper when tapedev is /dev/null.
12555 1999-11-10 John R. Jackson <jrj@purdue.edu>
12557 * server-src/amcleanupdisk.c (main): try to remove empty holding disk
12559 * server-src/holding.c (scan_holdingdisk): do not automatically remove
12560 empty holding disk areas since this function is called by various
12561 utilities and a dump might be in progress.
12563 1999-11-10 James FitzGibbon <james@targetnet.com>
12565 * server-src/infofile.c (put_info): d.size should have been
12568 1999-11-09 John R. Jackson <jrj@purdue.edu>
12570 * server-src/amcheck.c (start_server_check): test tapedev for
12571 "/dev/null" and issue warning that dumps will be thrown away.
12573 1999-11-02 David M. Olsen <David.M.Olsen@boeing.com>
12575 * server-src/amadmin.c (main): Second occurrence of CNF_TAPELIST
12576 should have been CNF_INFOFILE; fixed.
12578 1999-11-02 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12580 * common-src/amflock.c (struct flock): Do not assume the fields are
12581 declared in any particular order.
12582 Reported by Sean Kelly <kelly@plutotech.com>
12584 * Makefile.am (EXTRA_DIST): Added contrib/set_prod_link.pl.
12585 * docs/INSTALL: Likewise.
12587 1999-11-02 Ricardo Malta <rmalta@bigfoot.com>
12589 * contrib/set_prod_link.pl: Create the links for a configuration
12590 with --with-suffix.
12592 1999-11-02 David M. Olsen <David.M.Olsen@boeing.com>
12594 * common-src/rsh-security.c (net_writev): The result of a cast is
12595 not an lvalue; fixed.
12597 1999-10-26 Nicolas Mayencourt <Nicolas.Mayencourt@cui.unige.ch>
12599 * server-src/amtoc.pl.in: Correct a bug for total report.
12601 1999-11-01 John R. Jackson <jrj@purdue.edu>
12603 * server-src/amcleanupdisk.c (main): do not free the config name (it
12604 was never alloc-d).
12606 1999-10-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12608 * common-src/debug.c: Do not assume stderr is a compile-time
12609 constant. On glibc 2.2 (RedHat Linux 6.1), it is not.
12611 1999-10-11 Nicolas Mayencourt <Nicolas.Mayencourt@cui.unige.ch>
12613 * server-src/amtoc.pl.in: Add new options -i and -t. Print original
12614 size, instead of size on tape.
12616 1999-10-07 John R. Jackson <jrj@purdue.edu>
12618 * common-src/stream.c (stream_server): remove reference to portrange
12619 variable. Compliments of Randy Dees <rrd@amherst.com>.
12621 1999-10-03 John R. Jackson <jrj@purdue.edu>
12623 * server-src/driver.c (main): now that multiple results can come back
12624 from taper and dumper without a handshake (e.g. NO-ROOM), we need to
12625 process them all rather than just the first one. Call the new
12626 areads_dataready() function to peek and see if more data is ready.
12627 * common-src/amanda.h: declare areads_dataready().
12628 * common-src/file.c: define areads_dataready(). Fix some variable
12629 types. Fix a buffer expansion problem. Add code to the test
12630 program to force buffer expansion to be checked out.
12632 1999-10-03 John R. Jackson <jrj@purdue.edu>
12634 * common-src/file.c (areads_getbuf): fix a buffer allocation problem.
12636 1999-10-03 John R. Jackson <jrj@purdue.edu>
12638 * common-src/amflock.c (main): do not use aclose() in the configure
12639 test case. During configure we do not have areads_relbuf()
12640 available and it makes configure think all the tests have failed.
12642 1999-10-03 John R. Jackson <jrj@purdue.edu>
12644 * common-src/amanda.h: protect the close macros and areads* from
12645 out of range file descriptors.
12646 * common-src/file.c: ditto.
12648 1999-10-02 John R. Jackson <jrj@purdue.edu>
12650 * server-src/amindexd.c (build_disk_table): only "OK" results from
12651 find_dump should be considered.
12653 1999-10-02 John R. Jackson <jrj@purdue.edu>
12655 * common-src/file.c (areads): when NO-ROOM became advisory and didn't
12656 participate in a full handshake, it exposed a problem in areads()
12657 where a static buffer was shared among all I/O. Changed it to use
12658 a separate buffer for each file descriptor. Enhanced the test
12659 program to check out the code.
12660 * common-src/amanda.h: ditto
12661 * restore-src/amidxtaped.c: minor areads/agets comment typo.
12662 * server-src/amindexd.c: ditto
12664 1999-10-02 John R. Jackson <jrj@purdue.edu>
12666 * server-src/amlogroll.c: fix minor memory leak.
12668 1999-09-29 John R. Jackson <jrj@purdue.edu>
12670 * server-src/dumper.c (do_dump): closed the dump messages file too
12673 1999-09-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12675 * recover-src/extract_list.c (samba_extract_method): Default to
12676 SAMBA_TAR, for similarity with other restore programs.
12677 (extract_files_child): If restore with SMBCLIENT is enabled, explain
12678 that Samba shares will be restored to the SMB share.
12680 1999-09-22 John R. Jackson <jrj@purdue.edu>
12682 * configure.in: wrong variable when processing LIBRARY_DIRS. Fix
12683 compliments of John M. Vogtle <jmvogtle@kodak.com>.
12685 1999-09-20 John R. Jackson <jrj@purdue.edu>
12687 * server-src/Makefile.am: use new amlogroll utility to rename the log
12688 file to the datestamped name.
12689 * server-src/amcheck.c: ditto.
12690 * server-src/amcleanup.sh.in: ditto and call all utilities with the
12691 config file name as an argument.
12692 * server-src/amdump.sh.in: ditto and call all utilities with the
12693 config file name as an argument.
12694 * server-src/amflush.c: ditto.
12695 * server-src/amlogroll.c: new utility.
12696 * server-src/driverio.c: ditto and call all utilities with the
12697 config file name as an argument.
12698 * server-src/reporter.c: ditto.
12700 1999-09-20 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12702 * amlogroll.c: It was missing; copied from the 2.4.2 branch.
12704 * configure.in (AMANDA_TMPDIR): Added comment for config.h.in.
12706 1999-09-19 John R. Jackson <jrj@purdue.edu>
12708 * server-src/amverify.sh.in: this script is important enough it should
12709 not depend on having perl installed. Clean up the AIX "mt status"
12710 code. Test for presense of other restore programs and check that
12711 they are executable during processing.
12713 1999-09-19 John R. Jackson <jrj@purdue.edu>
12715 * server-src/amverify.sh.in: put back an "mt status" wait loop I
12716 erroneously removed, but protect it from AIX.
12718 1999-09-19 John R. Jackson <jrj@purdue.edu>
12720 * common-src/util.c: fix math in bind_portrange so ports requested
12721 are between those the caller passed and make sure port 0 does not
12722 accidentally get requested, which returns a non-privileged port.
12723 * common-src/dgram.c: bind_portrange last port argument is inclusive.
12724 * common-src/stream.c: ditto.
12725 * recover-src/amrecover.c: ditto.
12726 * recover-src/extract_list.c: ditto.
12728 1999-09-19 John R. Jackson <jrj@purdue.edu>
12730 * server-src/driver.c: do not send a FILE_WRITE to the taper when the
12731 tape queue is empty during a TRYAGAIN (driver core dumped).
12733 1999-09-19 John R. Jackson <jrj@purdue.edu>
12735 * server-src/taper.c: fix protocol problems when out of tape. Add
12736 FAKE_TAPE_ERROR debugging code to simulate tape errors. Fix problem
12737 with command line argument processing.
12739 1999-09-18 John R. Jackson <jrj@purdue.edu>
12741 * configure.in: several compress/uncompress variables were not being
12744 1999-09-18 John R. Jackson <jrj@purdue.edu>
12746 * client-src/sendbackup.c: pclose returns a child exit status of the
12747 pipe, not an errno, so do not try to strerror it.
12748 Have the index child process exit with the pclose exit code.
12749 Treat index failures as strange rather than fatal so the dump gets
12750 fully processed. It's more important to have the dump image than
12751 to skip it just because indexing had a (possibly unrelated) problem.
12753 1999-09-15 John R. Jackson <jrj@purdue.edu>
12755 * server-src/amtoc.pl.in: handle an image failing on one tape and
12756 succeeding on the next.
12758 1999-09-15 John R. Jackson <jrj@purdue.edu>
12760 * server-src/amstatus.pl.in: generalize the "driver: state" parsing
12761 so it can handle current and future information.
12763 1999-09-15 John R. Jackson <jrj@purdue.edu>
12765 * common-src/bsd-security.c: if the user field is not present in the
12766 .amandahosts file, it should default to the local user, not the
12767 remote user. For our purposes, that is CLIENT_USER, not the user
12768 we are running as (although they should be the same).
12770 1999-09-14 John R. Jackson <jrj@purdue.edu>
12772 * configure.in: Add --with-tmpdir to ./configure and use it for
12773 all Amanda temporary files. Default --with-dbgdir to --with-tmpdir.
12774 Move libexec/getconf to sbin/amgetconf and add an optional
12775 config parameter. Add optional config parameter to several
12777 Add debugging to chg-chio.
12778 Call new safe_cd() function in most programs to cd to --with-tmpdir
12779 so if they drop core, it goes to a known spot. Rename existing
12780 core files so more than one failure may be tracked. Remove most
12781 chdir() and umask() calls (umask is set in safe_cd).
12782 * amplot/amplot.sh.in: ditto.
12783 * changer-src/chg-chio.pl.in: ditto.
12784 * changer-src/chg-chs.sh.in: ditto.
12785 * changer-src/chg-manual.sh.in: ditto.
12786 * changer-src/chg-mtx.sh.in: ditto.
12787 * changer-src/chg-multi.sh.in: ditto.
12788 * changer-src/chg-rth.pl.in: ditto.
12789 * changer-src/chg-scsi-chio.c: ditto.
12790 * changer-src/chg-scsi.c: ditto.
12791 * changer-src/chg-zd-mtx.sh.in: ditto.
12792 * client-src/amandad.c: ditto.
12793 * client-src/calcsize.c: ditto.
12794 * client-src/killpgrp.c: ditto.
12795 * client-src/rundump.c: ditto.
12796 * client-src/runtar.c: ditto.
12797 * client-src/selfcheck.c: ditto.
12798 * client-src/sendbackup-gnutar.c: ditto.
12799 * client-src/sendbackup.c: ditto.
12800 * client-src/sendsize.c: ditto.
12801 * common-src/alloc.c: ditto.
12802 * common-src/amanda.h: ditto.
12803 * common-src/amflock.c: ditto.
12804 * common-src/bsd-security.c: ditto.
12805 * common-src/debug.c: ditto.
12806 * common-src/file.c: ditto.
12807 * common-src/genversion.c: ditto.
12808 * restore-src/amidxtaped.c: ditto.
12809 * server-src/Makefile.am: ditto.
12810 * server-src/amadmin.c: ditto.
12811 * server-src/amcheck.c: ditto.
12812 * server-src/amcheckdb.sh.in: ditto.
12813 * server-src/amcleanup.sh.in: ditto.
12814 * server-src/amcleanupdisk.c: ditto.
12815 * server-src/amdump.sh.in: ditto.
12816 * server-src/amflush.c: ditto.
12817 * server-src/amfreetapes.sh.in: ditto.
12818 * server-src/amindex.c: ditto.
12819 * server-src/amindex.h: ditto.
12820 * server-src/amindexd.c: ditto.
12821 * server-src/amlabel.c: ditto.
12822 * server-src/amrmtape.sh.in: ditto.
12823 * server-src/amstatus.pl.in: ditto.
12824 * server-src/amtape.c: ditto.
12825 * server-src/amtrmidx.c: ditto.
12826 * server-src/amtrmlog.c: ditto.
12827 * server-src/amverify.sh.in: ditto.
12828 * server-src/changer.c: ditto.
12829 * server-src/changer.h: ditto.
12830 * server-src/conffile.c: ditto.
12831 * server-src/conffile.h: ditto.
12832 * server-src/diskfile.c: ditto.
12833 * server-src/driver.c: ditto.
12834 * server-src/driverio.c: ditto.
12835 * server-src/dumper.c: ditto.
12836 * server-src/find.c: ditto.
12837 * server-src/getconf.c: ditto.
12838 * server-src/holding.c: ditto.
12839 * server-src/infofile.c: ditto.
12840 * server-src/logfile.c: ditto.
12841 * server-src/planner.c: ditto.
12842 * server-src/reporter.c: ditto.
12843 * server-src/tapefile.c: ditto.
12844 * server-src/taper.c: ditto.
12846 1999-09-14 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12848 * common-src/bsd-security.c (bsd_stream): fn should take an ssize_t.
12849 (bsd_stream_read): Likewise, declaration.
12850 * common-src/rsh-security.c (rsh_stream): Likewise.
12851 (rsh_stream_read): Likewise, declaration and definition.
12852 * common-src/krb4-security.c (dummy): Compile when disabled.
12853 * common-src/krb5-security.c (dummy): Likewise.
12855 * server-src/reporter.c (sDivZero): Change from float to double, to
12858 * configure.in: Get snapshot date from SNAPSHOT file, if it exists.
12859 (VERSION): Add the date to it.
12860 (SNAPSHOT_STAMP): AC_SUBST to the SNAPSHOT file, if it exists.
12861 * Makefile.am (EXTRA_DIST): Added $(SNAPSHOT_STAMP).
12862 (config.status): Depend on $(SNAPSHOT_STAMP).
12863 (SNAPSHOT): Dummy rule to allow reconfigure if it's removed.
12865 * config/Makefile.am: Remove all traces of acconfig.h.
12867 * server-src/changer.c (changer_command): Fix for amwait_t != int.
12869 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12871 * config/acinclude.m4i: Added comments for config/config.h.in to all
12873 * configure.in: Likewise.
12874 * config/acconfig.h: Deleted.
12875 * autogen: Updated.
12877 1999-09-05 John R. Jackson <jrj@purdue.edu>
12879 * changer-src/chg-chio.pl.in: add -w to #! line to catch more errors.
12880 * recover-src/display_commands.c: fix some compiler warnings.
12881 * recover-src/extract_list.c: fix some compiler warnings.
12882 * restore-src/amrestore.c: fix some compiler warnings.
12883 * server-src/planner.c: fix some compiler warnings.
12885 1999-09-05 John R. Jackson <jrj@purdue.edu>
12887 * recover-src/extract_list.c: add VRESTORE and VXRESTORE support.
12889 1999-09-05 John R. Jackson <jrj@purdue.edu>
12891 * common-src/stream.c: make sure errno is returned properly from
12892 stream_client() and stream_server().
12893 * server-src/taper.c: report errors from stream_server() and
12895 * recover-src/extract_list.c: make sure errno is preserved.
12897 1999-09-05 John R. Jackson <jrj@purdue.edu>
12899 * configure.in: make sure the dump and restore programs are defined
12900 in pairs, do not allow just the dump program without restore.
12901 * client-src/sendbackup-dump.c: assume restore program is present
12902 if dump program is.
12903 * common-src/genversion.c: assume restore program is present if
12906 1999-09-05 John R. Jackson <jrj@purdue.edu>
12908 * common-src/genversion.c: CLIENT_LOGIN has to be defined so there
12909 is no point testing for it.
12910 * server-src/conffile.c: ditto.
12912 1999-09-05 John R. Jackson <jrj@purdue.edu>
12914 * server-src/amverify.sh.in: add SMBCLIENT, VRESTORE, VXRESTORE
12915 and XFSRESTORE support.
12917 1999-09-05 John R. Jackson <jrj@purdue.edu>
12919 * server-src/conffile.c: add several common abbreviations to config
12922 1999-09-01 John R. Jackson <jrj@purdue.edu>
12924 * server-src/amtoc.pl.in: allow multiple -s entries.
12926 1999-09-01 John R. Jackson <jrj@purdue.edu>
12928 * server-src/reporter.c: handle/report a common columnspec syntax
12929 error instead of dumping core.
12931 1999-09-01 John R. Jackson <jrj@purdue.edu>
12933 * man/amanda.8.in: typo in columnspec description.
12935 1999-09-01 John R. Jackson <jrj@purdue.edu>
12937 * common-src/dgram.h: expressions in #define should be protected by
12940 1999-08-25 Alexandre Oliva <oliva@dcc.unicamp.br>
12942 * changer-src/chg-chs.sh.in (changerdev): Pass it as -f flag to CHS.
12943 * docs/TAPE.CHANGERS: Document it.
12944 Reported by Mike Horansky <moho@stanford.EDU>
12946 * server-src/conffile.c (read_dumptype): Renamed from get_dumptype.
12947 Extended to support reading a named dumptype from a specified FILE.
12948 (get_dumptype): Use read_dumptype.
12949 (main): Read disklist, so that custom dumptypes are shown.
12950 * server-src/conffile.h (read_dumptype): Declare.
12951 * server-src/diskfile.c (parse_diskline): Get line_num and line by
12952 reference. New argument diskf. Use read_dumptype if dumptype
12955 * man/amanda.8.in (disklist): Document it.
12957 * example/disklist: Exemplify it.
12959 1999-08-23 John R. Jackson <jrj@purdue.edu>
12961 * recover-src/amrecover.c (main): fix test for IPPORT_RESERVED.
12962 * recover-src/extract_list.c (extract_files_setup): ditto.
12964 1999-08-23 John R. Jackson <jrj@purdue.edu>
12966 * server-src/reporter.c (copy_template_file): make sure all data is
12967 written to label template pipeline.
12969 1999-08-16 Alexandre Oliva <oliva@dcc.unicamp.br>
12971 * common-src/Makefile.am: Replace .o with OBJEXT. List sources
12972 explicitly, instead of LDADDing the corresponding objects.
12973 (OBJ_EXTENSION): Wipe out, use OBJEXT.
12975 * configure.in: Call AC_OBJEXT.
12976 (LTLIBOBJS, LTALLOCA): Define, according to ac_objext.
12977 * common-src/Makefile.am (libamanda_la_LIBADD): Use them.
12978 (libamanda_a_LIBADD): Use LIBOBJS and ALLOCA.
12980 * common-src/Makefile.am (genversion.o): Revert last change, it was
12981 just a bug in automake's --disable-dependency-tracking.
12983 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
12985 * README (platforms): Added OpenBSD.
12986 Reported by Ian Darwin <ian@sq.com>
12987 (platforms): Added SunOS 5.7.
12989 1999-08-15 Derek Ney <derek@hipgraphics.com>, Alexandre Oliva <oliva@dcc.unicamp.br>
12991 * client-src/sendsize.c (SAMBA_DEBUG_LEVEL): New macro, "0" for
12992 Samba >= 2, "3" for older ones.
12993 (getsize_smbtar): Use `du' if SAMBA_VERSION >= 2, and the
12994 appropriate SAMBA_DEBUG_LEVEL.
12996 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
12998 * common-src/Makefile.am (genversion.o): Depend on genversion.c
12999 too. It seems that IRIX's make doesn't work without it.
13000 Reported by Brian Cuttler <brian@wadsworth.org>
13002 1999-08-15 Jon LaBadie <jon@jgcomp.com>
13004 * tape-src/tapetype.c: Speed it up by using larger sections in the
13007 1999-08-15 Alexandre Oliva <oliva@dcc.unicamp.br>
13009 * man/amanda.8.in (skip-full, incronly): Document existing bugs.
13011 * server-src/conffile.c (init_defaults): Default disksize to 0.
13012 * man/amanda.8.in (holdingdisk use): Document it.
13013 Reported by Grant Beattie <Grant.Beattie@fulcrum.com.au>
13015 * server-src/planner.c (setup_estimate): Typo.
13016 (next_level0): Typo.
13018 * config/ltconfig, config/ltmain.sh: Update from libtool 1.3.3.
13020 * example/amanda.conf.in: Clarify holdingdisk::use 0.
13022 * config/missing: Update from automake 1.4a.
13024 1999-07-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13026 * man/amanda.8.in: typo.
13028 1999-06-29 Alexandre Oliva <oliva@dcc.unicamp.br>
13030 * man/amrestore.8: Document holding-file usage.
13032 1999-06-25 Alexandre Oliva <oliva@dcc.unicamp.br>
13034 * Makefile.am (pkgdata_DATA): Install COPYRIGHTs.
13035 (EXTRA_DIST): Remove docs/*.
13036 * docs/Makefile.am: New file.
13037 (pkgdata_DATA): Install all docs.
13038 * configure.in: Output docs/Makefile.
13039 Suggested by Paul L. Lussier <plussier@baynetworks.com>
13041 * docs/FAQ (selfcheck time-out): NIS services, inetd rebooting,
13042 keyboard time-out, lsof.
13044 * server-src/amverify.sh.in (HEADER): Use `sed 1q' instead of the
13045 not-that-portable `head -1'.
13046 Reported by Andrew Lare <lare@eos913c.gsfc.nasa.gov>
13048 1999-06-19 Alexander Zangerl <az@Austria.EU.net>
13050 * client-src/sendbackup-dump.c (re_table): Match Solaris vxdump
13053 1999-06-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13055 * server-src/dumper.c (read_indexfd): typo
13057 1999-06-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13059 * server-src/dumper.c (do_dump): Close the indexout fh and wait
13060 for the completion of the index compress process.
13061 * server-src/dumper.c (read_mesgfd,read_datafd): Call stop_dump only
13062 if the index fd is already shut down.
13063 * server-src/dumper.c (read_indexfd): On EOF, call stop_dump() if both
13064 the mesg and data fd are shut down.
13066 1999-06-15 Adam Hammer <hammer@math.purdue.edu>
13068 * server-src/amverify.sh.in: Wait until device becomes ready after
13071 1999-06-15 Björn Brezger <Bjoern.Brezger@uni-konstanz.de>, Alexandre Oliva <oliva@dcc.unicamp.br>
13073 * client-src/calcsize.c (ROUND): Rewrite, it was broken.
13074 Reported by Erik Lindahl <erik@theophys.kth.se>
13076 1999-06-15 Alexandre Oliva <oliva@dcc.unicamp.br>
13078 * server-src/conffile.h: Changed all `long's to `int's, as they
13079 broke get_number et al on 64bit platforms.
13080 Reported by Erik Lindahl <erik@theophys.kth.se>
13082 * configure.in (bcopy, bzero): Oops, ICE_CHECK_DECL already checks
13085 * configure.in (bcopy, bzero): Check whether they're available.
13086 * common-src/amanda.h (bcopy, bzero): If not, use memmove and
13088 Reported by Grant Beattie <Grant.Beattie@fulcrum.com.au>
13090 * server-src/amcheck.c (start_server_check): If info file does not
13091 exist, explain that it is supposed to be created on the next run.
13093 1999-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
13095 * server-src/tapefile.c (lookup_last_reusable_tape): Fix order of
13096 arguments in match() invocation.
13097 From Anthony Worrall <Anthony.Worrall@reading.ac.uk>
13099 1999-06-08 Mike Grupenhoff <kashmir@munge.com>
13101 * restore-src/amrestore.c: second arg to restore() is a char *, not
13102 a string_t. Adjust prototype accordingly.
13104 1999-06-07 Mike Grupenhoff <kashmir@munge.com>
13106 * common-src/util.c (bind_portrange): function that attempts
13107 to bind a network connection to a port in a given range.
13108 * common-src/util.h: prototype bind_portrange().
13109 * common-src/dgram.c (bind_reserved): remove, superceeded by
13111 (dgram_bind): use bind_portrange() instead of bind_reserved(), and
13112 try user specified ports first, then reserved ports, then regular
13114 * common-src/dgram.h: remove prototype for bind_reserved().
13115 * common-src/stream.c (stream_server, stream_client): use
13116 bind_portrange() instead of bind_reserved(), and try user
13117 specified ports first, then reserved ports, then regular
13119 * recover-src/amrecover.c (main): use bind_portrange() instead
13120 of bind_reserved(), and verify that the port it gives us is
13122 * recover-src/extract_list.c (extract_files_setup): use
13123 bind_portrange() instead of bind_reserved(), and verify that
13124 the port it gives us is a reserved one.
13126 1999-06-07 Mark F. Vlems <mvlems@vbox.xs4all.nl>
13128 * server-src/amindexd.c (reply, lreply, fast_lreply): Return code 0
13129 of printf does not imply an error on some systems (Openstep) even if
13130 the number of written characters is more than 0. The weakened error
13131 check has no implication for the correct implementations of printf.
13133 1999-06-03 Alexandre Oliva <oliva@dcc.unicamp.br>
13135 * server-src/driver.c (dump_to_tape): Tell hard from soft
13136 (retryable) failures in both dumper and taper results, and behave
13139 * docs/SYSTEM.NOTES: On Trusted Solaris, the format of inetd.conf is
13140 slightly different.
13141 Reported by Julian Stevens <julian.stevens@baedsl.co.uk>
13143 1999-06-02 Mike Grupenhoff <kashmir@munge.com>
13145 * common-src/util.c (fullread, fullwrite): versions of
13146 read()/write() that keep looping until the buffer is
13147 completely read/written, or an error occurs.
13148 * common-src/Makefile.am: build util.c/util.h
13149 * common-src/fileheader.c, common-src/fileheader.h
13150 (fill_buffer): remove, replaced with fullread()
13151 * server-src/holding.c: use fullread() instead of fill_buffer().
13152 * common-src/bsd-security.c, restore-src/amrestore.c,
13153 server-src/amcheck.c, server-src/driverio.c, server-src/dumper.c,
13154 server-src/logfile.c, server-src/taper.c: use fullread/fullwrite
13155 instead of doing the retry loops manually.
13157 1999-06-02 Mike Grupenhoff <kashmir@munge.com>
13159 * server-src/dumper.c (read_mesgfd, read_datafd): upon EOF,
13160 close the stream. If the other stream is also closed, shut
13163 1999-06-02 Mike Grupenhoff <kashmir@munge.com>
13165 * client-src/amandad.c (REP_TIMEOUT): bump up to six hours, for slow
13167 (exit_check): remove waitpid(), let the service reap its own
13169 (s_repwait): rename 'err' to 'errstr' to avoid conflict with
13170 function in some libcs.
13171 (s_ackwait): if no pipes were opened by this service, then shut
13173 (process_netfd): on EOF, be sure to also close the network
13174 stream. Also, if this is the last stream to be closed, shut
13176 (allocstream): correct a comment
13177 (service_delete): only close the security handle if it is still
13178 open. Reap our children here instead of in exit_check().
13180 1999-06-01 Mike Grupenhoff <kashmir@munge.com>
13182 * server-src/taper.c (write_buffer): assert properly
13184 1999-06-01 John Williams <williams@morinda.com>
13186 * changer-src/scsi-hpux.c (eject_tape): Enable it, it works.
13188 1999-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
13190 * docs/INSTALL: Point to the patches page. Update version numbers.
13192 * example/config.site: Document UDPPORTRANGE.
13194 1999-06-01 Jens Persson <jens.persson@btj.se>
13196 * configure.in (UDPPORTRANGE): Set from --with-udpportrange.
13197 * config/acconfig.h: Add UDPPORTRANGE.
13198 * common-src/dgram.c: Implement it.
13200 1999-05-27 Mike Grupenhoff <kashmir@munge.com>
13202 * common-src/alloc.c (alloc, debug_alloc, newalloc, debug_newalloc):
13203 make the size argument a size_t.
13204 (alloc): if an allocation fails, in the error message print how
13205 many bytes we tried to alloc. This helps us determine if the
13206 alloc call was errant, or we really were out of memory.
13207 * common-src/amanda.h: update alloc/newalloc prototypes for
13210 1999-05-27 Alexandre Oliva <oliva@dcc.unicamp.br>
13212 * config/ltconfig, config/ltmain.sh, config/libtool.m4i: Updated
13213 to libtool 1.3.2 plus a few patches.
13214 * config/config.guess, config/config.sub: Ditto.
13216 1999-05-26 Mike Grupenhoff <kashmir@munge.com>
13218 * common-src/protocol.c: retry connection failures three times,
13219 waiting five seconds between each attempt. Also, fix a lot
13220 of untrue comments.
13222 1999-05-26 Mike Grupenhoff <kashmir@munge.com>
13224 * client-src/amandad.c: add a lot more dbprintfs so we know what's
13226 (service_new): use error() instead of dbprintf(); exit()
13229 1999-05-25 Alexandre Oliva <oliva@dcc.unicamp.br>
13231 * docs/FAQ (tar-patch): Mention sparse file problem.
13233 * recover-src/uscan.l: #undef `ECHO' after #include amanda.h; some
13234 system header files may define it.
13235 Reported by Dan Lipofsky <danlip@cyc.com>
13237 * */Makefile.am: Do not define ACLOCAL_M4, COMPILE or
13239 * Makefile.am: Create acinclude.m4 in the top-level directory.
13240 * config/Makefile.am: Create link to acconfig.h in the top-level
13242 * configure.in: Add AMANDA_CFLAGS to CFLAGS. Set DUMPER_DIR without
13244 * common-src/Makefile.am: Create genversion.h with #defines, to
13245 avoid genversion-specific CPPFLAGS.
13246 * common-src/genversion.c: #include genversion.h
13248 1999-05-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13250 * server-src/amandad.c (state2str): string "s_processrep" is 13
13253 1999-05-24 Mike Grupenhoff <kashmir@munge.com>
13255 * server-src/amcheck.c (main): if we reap a bogus pid, print
13256 out the error message we generate, instead of whatever junk
13257 happens to be in the buffer.
13259 1999-05-24 Mike Grupenhoff <kashmir@munge.com>
13261 * common-src/bsd-security.c (bsd_stream_read): remove old
13262 code that was part of something that ended up not happening.
13263 (stream_read_callback): use ssize_t.
13265 1999-05-24 Mike Grupenhoff <kashmir@munge.com>
13267 * common-src/event.c (event_register): restructure asserts, and
13268 for EV_READFD/EV_WRITEFD, assert that the fd is < FD_SETSIZE.
13270 1999-05-24 Mike Grupenhoff <kashmir@munge.com>
13272 * common-src/queue.h: move the multiple-inclusion #defines
13273 into application namespace. #undef each macro before defining
13274 it, in case the OS has an identical macro.
13276 1999-05-23 Alexandre Oliva <oliva@dcc.unicamp.br>
13278 * server-src/amindex.h: Keep P macro expression in a single line.
13279 Reported by Patrick Harrold <patrickh@nasco-inc.com>
13281 * common-src/Makefile.am (statfs_LDADD): Added alloc.obj.
13283 * common-src/statfs.c (STATFS_SCALE, sys/statvfs.h): If f_frsize is
13284 zero, use f_bsize. It now works with GNU libc 2.1.
13285 Reported by Heikki Vatiainen <hessu@cs.tut.fi>
13287 1999-05-22 Alex Pilosov <alex@pilosoft.com>
13289 * server-src/amindexd.c (is_dump_host_valid): sanitize_name(host)
13290 before doing a stat.
13291 * server-src/tapefile.c (lookup_nb_tape): init pos to 0.
13293 1999-05-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13295 * server-src/reporter.c: take the orig size from the SUCCESS line.
13296 use value from the infofile only the datestamp are equal.
13297 Write all available value.
13299 1999-05-18 Mike Grupenhoff <kashmir@munge.com>
13301 * common-src/strerror.c (strerror): restructure so that it doesn't
13304 1999-05-17 Mike Grupenhoff <kashmir@munge.com>
13306 * common-src/genversion.c (prvar): prototype declared it static,
13307 but actual function was still extern.
13309 1999-05-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13311 * server-src/planner.c (pick_inclevel): check for base_level+1 if
13312 we don't have estimate for base_level. Needed for FORCE_BUMP.
13313 * server-src/planner.c (promote_highest_priority_incremental):
13314 Don't promote if we don't have level 0 estimate. No more need
13315 to check for skip_full, DS_NOFULL, DS_INCRONLY or FORCE_BUMP.
13317 1999-05-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13319 * server-src/amflush.c: ignore SIGPIPE
13320 * server-src/driver.c: ignore SIGPIPE
13321 * server-src/driverio.c (taper_cmd, dumper_cmd): return 0 on error,
13323 * server-src/driverio.h (taper_cmd, dumper_cmd): prototype.
13325 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
13327 * server-src/dumper.c: make prototypes consistent, (putresult):
13328 make first arg const.
13330 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
13332 * server-src/conffile.c (getconf_byname): islower takes an int
13334 * server-src/diskfile.c (upcase): islower takes an int for an
13336 * server-src/driver.c (update_failed_dump_to_tape): prototype.
13337 * server-src/holding.c (insert_dirname, scan_holdingdisk):
13338 prototype and make static, (is_datestr): isdigit takes an int
13341 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
13343 * client-src/calcsize.c (basename): make static, prototype, and
13344 only include if BUILTIN_EXCLUDE_SUPPORT is defined and
13345 HAVE_BASENAME is not defined.
13346 * client-src/getfsent.c (dev2rde, samefile): prototype and
13348 * client-src/sendbackup-dump.c, client-src/sendbackup-gnutar.c
13349 (start_backup, end_backup): prototype.
13350 * client-src/sendbackup.c (index_closed, save_fd): prototype
13352 * client-src/versionsuffix.c (main): prototype.
13353 * common-src/alloc.c (internal_vstralloc): prototype.
13354 * common-src/file.c (mk1dir): prototype, make static, and make
13356 * server-src/amadmin.c (check_dumpuser): prototype.
13357 * server-src/amflush.c (get_letter_from_user): prototype and make
13359 * server-src/amindexd.c: prototype and make static numerous local
13361 * server-src/amlabel.c (main): prototype.
13362 * server-src/amtrmidx.c (main): prototype.
13363 * server-src/changer.c (report_bad_resultstr, run_changer_command):
13365 * server-src/conffile.h: properly prototype getconf_holdingdisks()
13366 * server-src/driverio.h: properly prototype init_driverio().
13367 * server-src/find.c (find_compare, parse_taper_datestamp_log):
13369 * server-src/infofile.c (zero_info, open_txinfofile,
13370 close_txinfofile, read_txinfofile, write_txinfofile,
13371 delete_txinfofile): prototype and make static.
13372 * server-src/planner.c (main, askfor): prototype.
13374 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
13376 * server-src/server_util.c: include server_util.h for prototypes
13377 * server-src/tapefile.h: properly prototype lookup_nb_tape()
13378 * server-src/driverio.c (childstr): make static, make return
13381 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
13383 * server-src/find.h: properly prototype find_log()
13384 * server-src/amtrmlog.c (main): prototype. find_log() takes
13387 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
13389 * server-src/reporter.c: make all functions and globals
13390 static. Prototype all functions, and make them consistent wrt
13391 K&R. Place all prototypes together. Place data type
13392 declarations before the prototypes that use them. Remove
13393 unused sort_by_time().
13395 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
13397 * server-src/dumper.c (process_dumpline): clean up the error
13399 * server-src/dumper.c (log_msgout): no need to reuse errf global,
13400 it makes me nervous. Also, use amfree instead of free.
13402 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
13404 * common-src/packet.c (pkt_cat): remove a bogus assert - len is
13405 a size_t, which is unsigned, so it will always be >= 0.
13407 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
13409 * client-src/amandad.c (action_t): consolidate A_PKTTIMEOUT and
13410 A_REPTIMEOUT into just A_TIMEOUT.
13412 1999-05-14 Mike Grupenhoff <kashmir@munge.com>
13414 * common-src/amanda.h, common-src/alloc.c, common-src/event.c,
13415 common-src/rsh-security.c, server-src/driver.c,
13416 server-src/dumper.c: (min, max): consolidate all min/max
13417 definitions into amanda.h
13419 1999-05-14 Alexandre Oliva <oliva@dcc.unicamp.br>
13421 * docs/TAPE.CHANGERS (chg-rth): URL for chs is no longer valid.
13423 1999-05-12 Mike Grupenhoff <kashmir@munge.com>
13425 * common-src/amanda.h, common-src/alloc.c, common-src/file.c:
13426 const the filename arg to all of the dbmalloc versions of
13427 alloc and io functions
13429 1999-05-11 Mike Grupenhoff <kashmir@munge.com>
13431 * common-src/protocol.c (proto_t): don't need prev and next ptrs
13434 1999-05-11 Mike Grupenhoff <kashmir@munge.com>
13436 * common-src/amanda.h, common-src/alloc.c: remove the static
13437 buffer manager - nothing uses it. It can be resurrected in
13438 the future if needed.
13440 1999-05-11 Mike Grupenhoff <kashmir@munge.com>
13442 * common-src/amanda.h: define stringconcat() macros that
13443 concatenate two const strings together
13444 * common-src/versuff.c.in (versionsuffix, version): generate
13445 data at compile time using stringconcat().
13446 * common-src/genversion.c: simplify, don't need to alloc anything
13447 * common-src/Makefile.am (genversion_LDADD): this doesn't need
13448 alloc.o or error.o anymore
13450 1999-05-11 Mike Grupenhoff <kashmir@munge.com>
13452 * common-src/security.c (security_handleinit, security_streaminit):
13453 change default error message "unknown error" to "unknown protocol
13454 error" or "unknown stream error" to help identify where an
13455 messageless error was triggered.
13457 1999-05-11 Mike Grupenhoff <kashmir@munge.com>
13459 * client-src/amandad.c (main): call initgroups(), and also set
13462 1999-05-10 Mike Grupenhoff <kashmir@munge.com>
13464 * server-src/driver.c (start_some_dumps): if a dumper is
13465 constrained, and some dumpers or the taper are active, register
13467 * server-src/driver.c (handle_taper_result,
13468 handle_dumper_result): wakeup constrained dumpers after we
13469 have freed some resources.
13471 1999-05-10 Mike Grupenhoff <kashmir@munge.com>
13473 * common-src/fileheader.c, common-src/fileheader.h: rework the
13474 fileheader parse and format code to remove a lot of duplicated
13475 code (in the F_DUMPFILE and F_CONT_DUMPFILE cases), consting
13476 arguments, and simplifying parse code.
13478 1999-05-10 Mike Grupenhoff <kashmir@munge.com>
13480 * client-src/sendsize.c (getsize_dump): print out the strerror
13481 if we can't exec killpgrp.
13483 1999-05-10 Mike Grupenhoff <kashmir@munge.com>
13485 * server-src/dumper.c (add_msg_data): first two arguments
13486 to memmove() were backwards.
13488 1999-05-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13490 * example/amanda.conf.in: typo
13492 1999-05-07 Mike Grupenhoff <kashmir@munge.com>
13494 * common-src/alloc.c (safe_env): allow DISPLAY into the
13495 environment for purify.
13496 * server-src/holding.c (rename_tmp_holding): if fill_buffer
13497 returns 0, don't try to parse a nonexistant header.
13498 * server-src/taper.c (file_reader_side): init datestamp to
13499 NULL, and don't try to free it if it's still NULL on exit.
13501 1999-05-06 Mike Grupenhoff <kashmir@munge.com>
13503 * server-src/driver.c (start_some_dumps): sleep_time is an
13504 offset, not an absolute. Leave it that way when we return from
13507 1999-05-05 Mike Grupenhoff <kashmir@munge.com>
13509 * server-src/amverify.sh.in (pecho): new function. Like echo
13510 but doesn't append newline, and supports \r, etc. Implemented
13512 * server-src/amverify.sh.in: use pecho where we used to use echo -n,
13513 etc. It's nearly impossible to figure out which echo needs what
13514 flags and also know if it supports \r. So we just punt and use
13517 1999-05-04 Mike Grupenhoff <kashmir@munge.com>
13519 * server-src/driver.c: convert to use event handler.
13520 (some_dumps_in_progress, lookup_dumper): nuke.
13521 (sleep_time): make a time_t and static.
13522 (IDLE_NO_DUMPERS): give a lower precedence than IDLE_START_WAIT.
13523 (start_some_dumps): make this work on one dumper instead of all.
13524 Call when a dumper is finished and needs more work.
13525 (handle_idle_wait): callback for dumpers waiting for delayed
13527 * server-src/driverio.c: initialize event handles for dumpers
13528 and the taper. Nuke addfd().
13529 * server-src/driverio.h: add event handles for each dumper, and
13530 one global one for the taper. Nuke maxfd and readset globals.
13532 1999-05-04 Mike Grupenhoff <kashmir@munge.com>
13534 * server-src/driver.c (taper_queuedisk): new function that takes
13535 a disk_t, and, if the taper is not busy, tells it to write it out,
13536 or else adds it to the tapeq. Make use_lffo global static.
13537 * server-src/driver.c (handle_taper_result, handle_dumper_result):
13538 call taper_queuedisk() instead of queueing ourself.
13540 1999-04-30 Mike Grupenhoff <kashmir@munge.com>
13542 * server-src/driver.c: make all local functions static.
13543 Exposed two prototypes for nonexistant functions
13544 (diskname2filename, driver_main), and one function (dump_state)
13545 that was never called. #if 0 out dump_state.
13546 Nuke inside_dump_to_tape global - it's value was never used.
13547 Make pending_aborts global a static local in handle_dumper_result.
13549 1999-04-30 Mike Grupenhoff <kashmir@munge.com>
13551 * server-src/driverio.h (dumper_t): merge infd and outfd into
13552 just 'fd'. Comment the other members of the struct.
13553 * server-src/driverio.c: infd/outfd -> fd
13554 * server-src/driver.c (handle_dumper_result): merge some common
13555 code between the FAILED and TRYAGAIN cases. Comment the
13556 ABORT_FINISHED case. Also infd/outfd -> fd.
13558 1999-04-29 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13560 * server-src/planner.c (when_overwrite): return a big number (1024)
13561 if the tape is not reusable.
13563 1999-04-29 Alexandre Oliva <oliva@dcc.unicamp.br>
13565 * config/ltconfig, config/ltmain.sh, config/libtool.m4i: Updated
13568 1999-04-29 Mike Grupenhoff <kashmir@munge.com>
13570 * server-src/driver.c (handle_dumper_result): remove FATAL_TRYAGAIN
13571 case, nothing uses it.
13572 * server-src/driverio.c, server-src/driverio.h: garbage collect
13573 FATAL_TRYAGAIN. static & const cmdstr.
13575 1999-04-28 Mike Grupenhoff <kashmir@munge.com>
13577 * server-src/diskfile.c (read_diskfile): rework to take a
13578 disklist_t * as an argument, and return -1 on error, or 0 on
13579 success. const the filename argument. Kill a few globals.
13580 * server-src/diskfile.c (lookup_host, lookup_disk): const
13582 * server-src/diskfile.h: adjust prototypes for above changes
13583 * server-src/amadmin.c, server-src/amcheck.c,
13584 server-src/amcleanupdisk.c, server-src/amflush.c,
13585 server-src/amindexd.c, server-src/amtrmidx.c,
13586 server-src/amtrmlog.c, server-src/driver.c,
13587 server-src/planner.c, server-src/reporter.c: adjust calls to
13588 read_diskfile() to deal with convention
13590 1999-04-28 Mike Grupenhoff <kashmir@munge.com>
13592 * server-src/dumper.c (read_mesgfd, read_indexfd): on EOF, just
13593 stop reading these streams. We let EOF on the data stream cause
13594 the entire dump to be stopped.
13596 1999-04-27 Mike Grupenhoff <kashmir@munge.com>
13598 * common-src/rsh-security.c (conn_read_callback): cast
13599 event_wakeup() arg to event_id_t.
13601 1999-04-25 Alexandre Oliva <oliva@dcc.unicamp.br>
13603 * common-src/versuff.c.in: Adjust constness to match version.h.
13605 * docs/SYSTEM.NOTES: Recommend GNU tar for Linux.
13607 1999-04-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13609 * server-src/amdump.sh.in: execute amtrmlog.
13611 1999-04-24 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13613 * client-src/sendbackup.c: rename write_tapeheader to info_taperheader
13614 we already have a write_tapeheader function in dumper.c
13615 * client-src/sendbackup.h: ditto
13616 * client-src/sendbackup-dump.c: ditto
13617 * client-src/sendbackup-gnutar.c: ditto
13619 1999-04-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13621 * dumper-src/gnutar.pl.in: add debuging code.
13622 * server-src/planner.c (getsize): send optionstr() for estimate
13624 * client-src/selfcheck.c: init program_is_wrapper to 0.
13625 * client-src/sendsize.c: implement DUMPER-API, support only
13628 1999-04-22 John R. Jackson <jrj@purdue.edu>
13630 * configure.in: add --with-broken-fsf to use a read() loop instead
13631 of the fsf ioctl on some broken systems.
13632 * config/acconfig.h: ditto
13633 * tape-src/tapeio.c (tapefd_fsf): ditto
13635 1999-04-22 Alexandre Oliva <oliva@dcc.unicamp.br>
13637 * docs/SYSTEM.NOTES: Typo
13638 * docs/SAMBA: Update on samba-largefs patch.
13639 * docs/FAQ: New FAQ about promotion of full dumps.
13641 1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
13643 * tape-src/tapeio.c (tape_open): Retry after EBUSY and EINTR too.
13644 Comment out test that would set filename to /dev/null.
13646 1999-04-18 Alexandre Oliva <oliva@dcc.unicamp.br>
13648 * docs/WISHLIST: Global reformat. Removed fixed issues. Added
13651 1999-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13653 * server-src/server_util.c: use snprintf instead of ap_snprintf.
13655 1999-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13657 * server-src/server_util.c: new file for utility function.
13658 New function construct_datestamp.
13659 * server-src/server_util.h: ditto
13660 * server-src/Makefile.am: link server_util.c with libamserver.
13661 * amcleanupdisk.c (construct_datestamp): remove function.
13662 * server-src/driver.c: ditto
13663 * server-src/dumper.c: ditto
13664 * server-src/amflush.c: ditto
13665 * server-src/planner.c: ditto
13667 1999-04-17 Mike Grupenhoff <kashmir@munge.com>
13669 * common-src/bsd-security.c: this doesn't need queue.h
13671 1999-04-17 Mike Grupenhoff <kashmir@munge.com>
13673 * common-src/event.c: Insert new events at the head of the eventq,
13674 not the tail, so we don't loop forever if a newly registered
13675 event has the same type as the one currently firing. Noticed
13676 and diagnosed by Jean-Louis Martineau.
13677 Use a LIST for the eventq, instead of a TAILQ, since we don't need
13678 to do tail insertions anymore.
13679 Make the eventq_* functions take a queue name so we can also use
13680 them for the handle cache. Rename eventq_append() to eventq_add().
13682 1999-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13684 * dumper-src/gnutar.pl.in: add DUMPER_DIR to INC.
13686 1999-04-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13688 * client-src/selfcheck.c: Implement DUMPER-API.
13689 * dumper-src/gnutar.pl.in (command_selfcheck): print OK, the function
13690 is not implemented.
13691 * dumper-src/generic-dumper.pl.in (parse_options): option are
13694 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
13696 * server-src/dumper.c: make dumpsize and headersize static. Rename
13697 nb_header_block to headersize and also make it static. headersize
13698 now counts bytes instead of blocks, just like the other two.
13699 Use SEEK_SET in an lseek instead of hardcoding 0.
13701 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
13703 * configure.in: implement --with-cflags to allow turning on
13704 compiler warnings and optimizations
13706 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
13708 * common-src/event.c (gethandle, puthandle): new functions that
13709 keep a cache of handles to reduce calls to malloc/free.
13711 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
13713 * common-src/alloc.c (dbmalloc_caller_loc): const the file
13714 arg, use the queue macros to maintain the list.
13716 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
13718 * common-src/versuff.c.in: const the return str of version()
13719 and versionsuffix. Bump copyright to 1999.
13721 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
13723 * client-src/amandad.c, client-src/amandad.h,
13724 client-src/sendbackup-dump,c, client-src/sendbackup-gnutar.c,
13725 client-src/sendbackup.c, common-src/bsd-security.c,
13726 common-src/dgram,c, common-src/dgram.h, common-src/event.c,
13727 common-src/event.h, common-src/krb4-security.c,
13728 common-src/krb5-security.c, common-src/packet.c,
13729 common-src/packet.h, common-src/protocol.c, common-src/security.c,
13730 common-src/security.h, server-src/amcheck.c, server-src/conffile.c,
13731 server-src/conffile.h, server-src/dumper.c:
13732 update copyright to 1999 on things I've touched this year.
13734 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
13736 * common-src/amanda.h: remove version_info extern. Bump
13738 * common-src/genversion.c: constify version_info. Emit
13739 {KRB4,KRB5,RSH}_SECURITY. Bump copyright.
13740 * common-src/version.h: const VERSION_COMMENT and version_info.
13741 const return str and fully prototype versionsuffix() and version()
13742 prototypes. Bump copyright.
13743 * server-src/planner.c (main): iterate through version_info using
13744 an index instead of a pointer.
13746 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
13748 * server-src/conffile.c: explicitly give the seen_columnspec global
13749 an int type instead of letting the compiler default to it.
13751 1999-04-16 Mike Grupenhoff <kashmir@munge.com>
13753 * common-src/event.h (event_id_t): a new typedef for the
13754 first arg to event_register. Should be wide enough to
13755 reasonably hold an int or a pointer (but it is ok to trunc
13756 the pointer if necessary). Update proto for event_register()
13757 and event_wakeup().
13758 * common-src/event.c: struct event_handle->data is now an
13760 (event_register, event_wakeup): adjust args for event_id_t)
13761 (event_register): event_id_t is unsigned, no need to assert
13762 positivity anymore.
13763 * common-src/rsh-security.c (rsh_stream_read): cast first arg to
13764 event_register() to event_id_t.
13767 1999-04-15 Mike Grupenhoff <kashmir@munge.com>
13769 * common-src/event.c (release): nuke, and inline into event_loop.
13770 * common-src/event.c (event_loop): flesh out the timeout comment.
13771 Combone the EV_WAIT and EV_DEAD empty cases in the post-select loop.
13772 * common-src/event.h: flesh out the event_type_t comment.
13774 1999-04-15 Mike Grupenhoff <kashmir@munge.com>
13776 * common-src/event.c (fire): inline this with a macro. Remove
13777 timestamp arg. eh->lastfired is now only valid for EV_TIME
13778 events. Removes several time() systems from the critical path.
13779 * common-src/event.c (event_wakeup): have this fire EV_WAIT events
13780 directly instead of deferring back to the event loop. Removes the
13781 sequencing restriction for event_wakeup.
13783 1999-04-15 Mike Grupenhoff <kashmir@munge.com>
13785 * server-src/planner.c (getsize): put the hosts disks on the waitq
13786 before sending the request, not after.
13788 1999-04-15 Alexandre Oliva <oliva@dcc.unicamp.br>
13790 * docs/UPGRADE: Update URL for archived message.
13792 1999-04-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13794 * server-src/amcheck.c (main): should not set real uid to 0.
13796 1999-04-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
13798 * common-src/bsd-security.c (bsd_connect): dgram_bind return the port
13799 number, we don't need ntohs().
13801 1999-04-12 Mike Grupenhoff <kashmir@munge.com>
13803 * common-src/dgram.c,common-src/dgram.h: nothing uses dgram_alloc()
13806 1999-04-12 Mike Grupenhoff <kashmir@munge.com>
13808 * server-src/amindexd.c: dgram.h not needed
13810 1999-04-12 Mike Grupenhoff <kashmir@munge.com>
13812 * common-src/event.c: fix a bunch of inaccurate comments.
13813 * common-src/event.c (event_loop): prune dead events in the
13814 pre-select pass instead of in the EV_WAIT pass.
13815 * common-src/event.c (fire): factor out all code that fires
13816 events into a 'fire' function.
13817 * common-src/event.c (signal_handler): bounds check the signal
13818 number against the size of sigtable instead of assuming sigtable
13821 1999-04-10 Mike Grupenhoff <kashmir@munge.com>
13823 * client-src/amandad.c (allocstream): if security_stream_server()
13824 fails, dbprintf the error.
13826 1999-04-10 Mike Grupenhoff <kashmir@munge.com>
13828 * configure.in: implement --with-rsh-security
13829 * common-src/rsh-security.c: first attempt at using rsh or a rsh-like
13830 command for dump transport and authentication. Still has lots
13832 * common-src/Makefile.am: build rsh-security.c
13833 * common-src/security.c: add rsh_security_driver to the drivers array
13834 * config/acconfig.h: define RSH_SECURITY
13836 1999-04-10 Mike Grupenhoff <kashmir@munge.com>
13838 * server-src/dumper.c (runcompress): use the proper end of the pipe
13839 for writing and reading. Also, grab errno early on fork error
13840 before calling close.
13841 * server-src/dumper.c (sendbackup_response): make sure the client
13842 at least send us a mesgfd and datafd.
13844 1999-04-10 Mike Grupenhoff <kashmir@munge.com>
13846 * client-src/amandad.c (main): don't dup stdout to db_fd - it might
13847 be needed by the security driver
13848 * client-src/amandad.c (s_ackwait, allocstream,): on error, don't
13849 attempt to event_release a handle we haven't attached yet.
13851 1999-04-10 Mike Grupenhoff <kashmir@munge.com>
13853 * ap_snprintf -> snprintf, ap_vsnprintf -> vsnprintf
13855 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
13857 * client-src/Makefile.am (noinst_HEADERS): add amandad.h
13859 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
13861 * common-src/Makefile.am (libamanda_la_SOURCES): build
13864 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
13866 * configure.in: implement --with-dbmalloc=[dir], where dir is
13867 where the dist is unpacked and built. This could be improved on,
13868 because it doesn't handle the case where it's installed.
13870 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
13872 * client-src/sendbackup.c: security changes:
13873 remove krb4 code and NAUGHTY_BITS macros.
13874 (parse_options): don't look for krb4 options
13875 (main): don't close pipes that were handed to us from amandad.
13876 Don't open stream directly - just use the pipes given to us.
13877 * client-src/sendbackup-dump.c, client-src/sendbackup-gnutar.c:
13878 Remove krb4 code and NAUGHTY_BITS macros.
13880 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
13882 * client-src/amandad.h: new file describing the pipes between
13883 amandad and children.
13884 * client-src/amandad.c: rewrite for security changes. Can
13885 now handle multiple requests simultaneously, and has a state
13886 machine to deal with each active request.
13887 This handles all network transmissions and authentication.
13888 Each child process (sendbackup, selfcheck) gets three general
13889 purpose pipes to amandad which it may allocate for anything.
13890 amandad relays these pipes to equivalent security_streams.
13891 Lots of other stuff.
13892 Finally, NEED_KEYPIPE stuff removed.
13894 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
13896 * server-src/dumper.c: security changes:
13897 Remove krb4 includes and NAUGHTY_BITS macros.
13898 Remove no-longer-true comment about DATABUF_SIZE ==
13899 TAPE_BLOCK_BYTES for krb4
13900 Remove file descriptor and event handle from streams array. Add
13901 a security_stream_t.
13902 Remove global read buffer.
13903 (check_options): remove krb4 code.
13904 (service_ports_init): remove, now handled by individual security
13906 (main): remove dgram usage.
13907 (do_dump): remove DUMPER_SOCKET_BUFFERING - now handled in the
13908 bsd driver. schedule reads on the streams using
13909 security_stream_read.
13910 (read_mesgfd,read_datafd,read_indexfd): adapt to
13911 security_stream_read callback interface.
13912 (stop_dump): just call security_stream_close on all non-null
13914 (sendbackup_response): adapt to new protocol layer error return.
13916 (startup_dump): stinky hack to parse the security driver string out of
13917 the options passed to us from driver.
13918 Lookup the security driver with said string.
13920 Free request after calling protocol_sendreq().
13922 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
13924 * server-src/planner.c: security changes:
13925 (main): Remove dgram usage. Call protocol_init(). Remove
13927 (getsize): remove krb4 code. Handle protocol layer api changes.
13928 Lookup security driver/complain if not found. Free request
13929 after calling sendreq. All hosts get put on the waitq since
13930 sendreq never returns an error.
13931 (handle_result): deal with new protocol layer error semantics.
13934 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
13936 * server-src/conffile.c: remove INTERFACE undef hack. Our
13937 namespace isn't polluted by krb4 headers anymore, so it's
13940 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
13942 * server-src/amcheck.c: security changes:
13943 (main): ignore SIGPIPE - some security drivers might get it.
13944 Remove all usages of dgram.
13945 Make our real uid root and our effective uid amanda so we can
13946 get back to root later (on most os's :()
13947 (start_client_checks): remove krb4 bits.
13948 The dump user check should check the effective uid.
13949 Get the name of the security driver for this host out of
13950 host->diskp->security_driver.
13951 Free req after calling protocol_sendreq() because it will internalize
13953 protocol_sendreq doesn't return any errors - they're all returned
13954 via handle_response.
13955 (handle_result): renamed from handle_response for consistency.
13956 The protocol layer doesn't pass us a proto_t anymore, so detect
13957 errors based on pkt being NULL.
13958 Remove krb4 bits - security violations will be indicated by a
13961 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
13963 * common-src/protocol.[ch]: rewrite for security api. The entry
13964 points now have the 'protocol' prefix. See protocol.h for more
13966 * common-src/security.c: rewrite for security api. This now contains
13967 the functions for the 'base class' or some approximation of it.
13968 See security.h for the entry points, or docs/SECURITY-API.
13970 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
13972 * common-src/amanda.h: rip out krb4 defines, headers, and
13973 prototypes. Also, make assert() abort() after calling error().
13974 * common-src/krb4-security.c: stub file that pulls in the real
13975 krb4-security out of amanda-krb-2 if KRB4_SECURITY is defined.
13977 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
13979 * server-src/conffile.h: aggregate all of the compress defines
13980 (COMP_{NONE,FAST,BEST,...}) into an enum and typedef it to comp_t.
13981 Make dumptype_t->compress a comp_t.
13982 * server-src/dumper.c: make srvcompress global a comp_t.
13983 * server-src/dumper.c (runcompress): add a comp_t third arg
13984 that specifies the level of compression for this fd.
13985 * server-src/dumper.c (do_dump): always compress index files
13986 with COMP_BEST compression, as pointed out by Jean-Louis Martineau.
13987 * server-src/dumper.c (read_indexfd): read the indexfd, not the
13988 datafd. Also noted by Jean-Louis Martineau.
13990 1999-04-09 Mike Grupenhoff <kashmir@munge.com>
13992 * server-src/planner.c (main): ignore SIGPIPE. tcp based
13993 security drivers may get this while getting estimates.
13994 Set the real uid to root, and the effective uid to the amanda
13995 user, so we can get back to root later if needed.
13996 * server-src/planner.c (handle_result): rework error logic
13997 so we don't need to use p->state, which will eventually go
14000 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
14002 * server-src/dumper.c: rewrite to use the event handler instead
14003 of a select loop. Also, compress the index output using
14004 runcompress() instead of forking a compress ourselves.
14006 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
14008 * server-src/dumper.c (sendbackup_response): don't krb4 authenticate
14009 streams if krb4_auth if false.
14011 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
14013 * server-src/dumper.c (do_dump): some formatting cleanups. Nuke
14014 'killerr' - we can do without it.
14016 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
14018 * server-src/dumper.c (do_dump): store compresspid inside of
14021 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
14023 * server-src/dumper.c (parse_info_line): parse info lines
14024 from sendbackup directly into the 'file' global. Eliminate
14025 the backup_name, recover_cmd, and compress_suffix globals.
14026 * server-src/dumper.c (finish_tapeheader): nuke usage
14027 of above globals. Nuke unneeded explicit nul terminations (we
14028 memset the whole thing in fn_init).
14030 1999-04-08 Mike Grupenhoff <kashmir@munge.com>
14032 * server-src/dumper.c (process_dumpline): rewrite to use strtok
14033 and const the argument.
14034 * server-src/dumper.c (make_tapeheader): rename to finish_tapeheader
14035 and prototype it. Remove the 'type' arg, since it's always
14036 F_DUMPFILE. Remove call to fn_init().
14037 * server-src/dumper.c (do_dump): call fh_init on 'file' while
14038 initializing globals. Call finish_tapeheader after getting info
14041 1999-04-07 John R. Jackson <jrj@purdue.edu>
14043 * tape-src/tapeio.c: allow tapedev to be /dev/null.
14044 * server-src/taper.c: allow tapedev to be /dev/null.
14045 * man/amanda.8.in: allow tapedev to be /dev/null.
14047 1999-04-07 Mike Grupenhoff <kashmir@munge.com>
14049 * server-src/dumper.c: collect got_info_endline, got_sizeline,
14050 got_endline, and header_done into one bitmask global, and make it
14051 static. Also, make 'file' static.
14053 1999-04-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14055 * server-src/reporter.c (TextRule): Fix to write the full string.
14057 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
14059 * configure.in: MIT krb5 has libk5crypto, Cygnus kerbnet 1.2
14060 calls it libcrypto. Check for both.
14062 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
14064 * common-src/bsd-security.c (check_user): if an .amandahosts
14065 file is missing or unreadable, log this fact to the debug file
14066 instead of claiming that a user doesn't have permission.
14067 * common-src/bsd-security.c (bsd_stream_client): if
14068 DUMPER_SOCKET_BUFFERING is defined, set the socket read buffer to
14069 be twice the size of our read buffer.
14071 1999-04-06 David Mankins <dm@k12-nis-2.bbn.com>
14073 * common-src/security.c (bsd_security_ok): if an .amandahosts
14074 file is missing or unreadable, log this fact to the debug file
14075 instead of claiming that a user doesn't have permission.
14077 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
14079 * server-src/dumper.c: put all of the streams (data,mesg,index)
14080 into an array with a name tag.
14081 * server-src/dumper.c (stop_dump): new function that cleans up
14082 and shuts down all of the streams.
14083 * server-src/dumper.c (sendbackup_response): make static, pass
14084 response_error through p->datap instead of making it global.
14085 Rewrite the parsing to use strtok() and take advantage of the
14086 streams array instead of repeading code for all three streams.
14088 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
14090 * server-src/dumper.c (main): keep our real uid as 0, and make
14091 our effective uid nonprivlidged, so we can get back to root
14092 later. Don't print what port we bound to. This info won't
14093 always be available or even applicable.
14094 * server-src/dumper.c (do_dump): create the stats line with one
14095 snprintf instead of a huge amount of code.
14097 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
14099 * server-src/dumper.c (startup_dump): make static, and const all
14101 * server-src/dumper.c (do_dump): make static
14103 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
14105 * server-src/dumper.c (do_dump): no need to have a separate buffer
14106 to read the mesgfd - just reuse the one we used for data reads.
14107 Gets rid of one more global. Also, we don't need to leave
14108 space for a NUL anymore.
14109 * server-src/dumper.c (main): wait for children after closing
14110 our fds. Some children may be blocked waiting for EOF on outfd,
14111 effectively causing deadlock between dumper and child.
14113 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
14115 * server-src/dumper.c (add_msg_data): now takes a 'len' arg, and
14116 doesn't expect the data to be nul terminated. Also, move
14117 the buffer from global scope into the function, and have a NULL
14118 arg flush it out if there is leftover data at the end. Finally,
14119 resize the buffer in 256 byte chunks.
14121 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
14123 * common-src/stream.c, common-src/stream.h (stream_client): add
14124 yet another arg - if nonzero, do a nonblocking connect
14125 * server-src/dumper.c: catch up with extra arg to stream_client()
14127 1999-04-06 Mike Grupenhoff <kashmir@munge.com>
14129 * common-src/bsd-security.c, common-src/security.h: attempt
14130 to decouple security streams from security handles. Lots of
14131 other restructuring.
14133 1999-04-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14135 * server-src/amcheck.c: -t should read the tapelist to validate
14138 1999-03-30 Alexandre Oliva <oliva@dcc.unicamp.br>
14140 * patches/samba-largefs.patch: updated to patch that ended up
14141 installed in the Samba CVS tree
14143 * patches/tar-1.12.patch: patch the configure script so that it
14144 requires autoconf and autoheader to be run; improve the
14145 printf_long_long test so that it doesn't get false positives because
14148 * changer-src/scsi-chio.c: since we do not support FreeBSD 3's
14149 camlib.h interface, #ifdef out all the code
14150 Reported by Francis Lam <Francis.Lam@Leitch.com>
14152 * configure.in (VXSYSLOCPATH): apparently a complex path expression
14153 gets AC_PATH_PROGS confused; set the path beforehand
14154 Reported by Francis Lam <Francis.Lam@Leitch.com>
14156 1999-03-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14158 * server-src/reporter.c: compiler warning.
14160 1999-03-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14162 * server-src/amtrmlog.c: new program to move unused log
14164 * server-src/Makefile.am: install amtrmlog.
14165 * server-src/find.h: declare find_log().
14166 * server-src/find.c(find_log): new function to return an array of
14167 all the logfile name that are still needed.
14168 * server-src/find.c(search_logfile): special case if output_find==NULL,
14169 return 1 if it the logfile fir the label.
14171 1999-03-25 Neil Crellin <neil@wallaby.cc>
14173 * docs/TAPE.CHANGERS (chg-chs): URL for chs
14175 1999-03-25 Alexandre Oliva <oliva@dcc.unicamp.br>, Tom Schutter <tom@platte.com>, Cloyce D. Spradling <cloyce@headgear.org>
14177 * patches/samba-largefs.patch: updated for Samba 2.0.*
14179 1999-03-25 Charles Owens <owensc@enc.edu>
14181 * changer-src/chg-chio.pl.in (changeTape): do not print status to
14182 both stdout and stderr; this causes failures on FreeBSD
14184 1999-03-23 Mike Grupenhoff <kashmir@munge.com>
14186 * common-src/stream.c, common-src/stream.h (stream_client):
14187 const the hostname arg
14189 1999-03-22 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14191 * configure.in: AC_SUBST(GNUTAR_LISTED_INCREMENTAL_DIR)
14192 * dumper-src/gnutar.pl.in: use @GNUTAR_LISTED_INCREMENTAL_DIR@
14194 1999-03-21 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14196 * configure.in: default for DUMPER_DIR is $exec_prefix/dumper.
14197 * Makefile.am: make dumper-src directory
14198 * dumper-src: directory for program that implement the DUMPER-API.
14199 * dumper-src/Makefile.am:
14200 * dumper-src/generic-dumper.pl.in: first draft of a generic wrapper.
14201 * dumper-src/gnutar.pl.in: first draft of a gnutar wrapper.
14203 1999-03-21 Elmar Bartel <bartel@Informatik.TU-Muenchen.DE>
14205 * conffile.h, conffile.c: new columnspec option
14206 * reporter.c: use it
14207 * man/amanda.8.in: description and example
14208 * example/amanda.conf.in: ditto
14210 1999-03-20 Dahn Nilsson <dahn.nilsson@maxlab.lu.se>
14212 * configure.in: SAMBA_VERSION is not set correctly.
14214 1999-03-17 Alexandre Oliva <oliva@dcc.unicamp.br>
14216 * client-src/sendbackup-dump.c (re_table): generalize a bit some of
14217 the regular expressions, so as to make us more adaptable to future
14218 minor changes and bugfixes the the output format of some dumps
14220 1999-03-16 Thomas Hepper <th@ant.han.de>
14221 * changer-src/chg-scsi.c: If the open of the TapeDevice fails
14222 the programm is not terminated.
14223 * changer-src/scsi-aix.c: The wrong ident string was checked
14225 * changer-src/scsi-bsd.c: see scsi-aix.c
14226 * changer-src/scsi-linux.c: see scsi-aix.c
14227 * changer-src/scsi-solaris.c: see scsi-aix.c
14228 * changer-src/scsi-changer-driver.c: Added some more debug prints.
14229 Wrong fd passwd to LogSense.
14230 * docs/TAPE.CHANGERS: added note about linux and aha1542
14232 1999-03-15 Mike Grupenhoff <kashmir@munge.com>
14234 * common-src/packet.h: explicitly list the numeric values for
14235 the pktype_t enum, so we can use them on the wire
14237 1999-03-15 Alexandre Oliva <oliva@dcc.unicamp.br>
14239 * config/ltconfig, config/ltmain.sh: updated from libtool 1.2f
14240 * config/libtool.m4i, config/config.guess, config/config.sub: ditto
14241 * configure.in: dropped AC_PROG_RANLIB, as suggested by libtoolize
14243 1999-03-15 Mike Grupenhoff <kashmir@munge.com>
14245 * common-src/bsd-security.c (recv_security_ok): bring over
14246 increased verbosity change from common-src/security.c
14248 1999-03-14 Mathias Herberts <Mathias.Herberts@ago.fr>
14250 * man/amrecover.8.in: document mode and setmode
14252 1999-03-14 Jon Stevens <jon@clearink.com>
14254 * common-src/security.c (bsd_security_ok): increase the verbosity of
14255 failed authentication messages
14257 1999-03-14 Alexandre Oliva <oliva@dcc.unicamp.br>
14259 * configure.in (powerpc-*-linux-*): supported platform
14261 Reported by Jon Stevens <jon@clearink.com>
14263 1999-03-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14265 * configure.in: new option --with-dumperdir=DIR to specify the
14266 directory for the dumpers (dumper api).
14267 * config/acconfig.h: add def of DUMPER_DIR
14269 1999-03-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14271 * server-src/conffile.c: accept any string for the program.
14272 * server-src/amcheck.c: add the keyword DUMPER to the request if
14273 the program is not DUMP or GNUTAR.
14274 * server-src/planner.c: ditto
14275 * server-src/dumper.c: ditto
14277 1999-03-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14279 * server-src/dumper.c (startup_dump): rename dumpname to progname.
14280 the function will use the parameter progname instead of the
14283 1999-03-06 Alexandre Oliva <oliva@dcc.unicamp.br>
14285 * configure.in (openbsd): according to Ralf Gebhart
14286 <rgebhart@cybernet-ag.net>, sparc-unknown-openbsd2.3 is supported;
14287 I assume other openbsd platforms work too.
14289 1999-03-06 Thomas Hepper <th@ant.han.de>
14291 * client-src/sendbackup-gnutar.c: Replaced #fi with #endif
14292 * changer-src/: Get in sync with 2.4.2 Version
14294 1999-03-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14296 * configure.in: set SAMBA_VERSION
14297 * client-src/sendbackup-gnutar.c (start_backup): use -q flag
14298 if SAMBA_VERSION >= 2
14300 1999-03-05 Mathias Herberts <Mathias.Herberts@ago.fr>
14302 * recover-src/amrecover.h (set_mode, show_mode) declare new functions.
14303 * recover-src/amrecover.h (SAMBA_SMBCLIENT, SAMBA_TAR) define new
14305 * recover-src/extract_list.c: declare variable samba_extract_method.
14306 * recover-src/extract_list.c (extract_files_child): set dumptype
14307 according to samba_extract_method.
14308 * recover-src/help.c (help_list): print help for new command mode
14310 * recover-src/set_commands.c (set_mode, show_mode): new functions.
14311 * recover-src/uscan.l:
14312 * recover-src/uparse.y:
14314 1999-03-05 Mike Grupenhoff <kashmir@munge.com>
14316 * common-src/amanda.h: use ssize_t in writev return value
14317 * common-src/bsd-security.c (bsd_stream_write,bsd_stream_read):
14318 use ssize_t over int
14319 * common-src/file.c (areads): use ssize_t to hold read() return val
14320 * common-src/fileheader.c (fill_buffer): usse ssize_t to hold read()
14322 * common-src/security.h: stream_read's callback now takes a ssize_t
14323 as the third argument.
14324 * common-src/writev.c (writev): return a ssize_t
14326 1999-03-05 Mike Grupenhoff <kashmir@munge.com>
14328 * configure.in: check for ssize_t, make it int if not present
14329 * config/acconfig.h: add def for ssize_t
14331 1999-03-05 Mike Grupenhoff <kashmir@munge.com>
14333 * common-src/base64.c (base64encode): don't cast away a const
14336 1999-03-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14338 * common-src/bsd-security.c (stream_read_callback): change n to int
14339 since ssize_t doesn't exist on all OS.
14341 1999-03-03 Ralf Fassel <ralf@akutech.de>
14343 * common-src/conffile.h: bit field of length 1 should be unsigned int,
14346 1999-03-03 Ralf Fassel <ralf@akutech.de>
14348 * common-src/bsd-security.c (stream_read_callback): n should be ssize_t.
14350 1999-03-03 Ralf Fassel <ralf@akutech.de>
14352 * changer-src/scsi-changer-driver.c (CloseDevice): wrong assignment.
14354 1999-03-03 Ralf Fassel <ralf@akutech.de>
14356 * common-src/base64.c (base64encode): remove warning from sgi cc
14359 1999-03-03 Mike Grupenhoff <kashmir@munge.com>
14361 * common-src/bsd-security.c: use EV_WAIT events instead of
14362 maintaining a queue of listeners. Refcnt the dgram read event
14365 1999-03-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14367 * server-src/driverio.h: new parameter level to update_info_taper().
14368 * server-src/driverio.c (update_info_taper): use parameter instead
14369 of sched(dp)->level.
14370 * server-src/driver.c: call update_info_taper with level parameter.
14371 * server-src/amflush.c: call update_info_taper with level parameter.
14372 no longer need to create a sched_t struct.
14374 1999-03-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14376 * server-src/driverio.h: remove declaration of inparallel, cmdstr()
14377 and childstr(), declare init_driverio(), add inparallel parameter
14378 to startup_dump_processes().
14379 * server-src/driverio.c (init_driverio): new function to initialize
14380 dmptable and taper.
14381 * server-src/driverio.c (childstr): scan for all dumpers (MAX_DUMPERS)
14382 instead of only inparallel
14383 * server-src/driverio.c (startup_dump_processes): new parameter
14384 inparallel is used instead of global variable.
14385 * server-src/driver.c (main): call init_driverio.
14386 * server-src/driver.c (main): call startup_dump_processes with
14387 inparallel parameter.
14388 * server-src/amflush.c (main): call init_driverio.
14390 1999-03-01 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14392 * server-src/amrmtape.sh.in: work with "last_level" and
14393 "consecutive_runs" in the ouput of "amadmin export".
14395 1999-03-01 Mike Grupenhoff <kashmir@munge.com>
14397 * common-src/security.h: implement security_connect callback and
14398 security_status_t changes
14400 1999-03-01 Mike Grupenhoff <kashmir@munge.com>
14402 * common-src/bsd-security.c (bsd_connect): properly munge the uids
14403 to get a reserved port
14404 * common-src/bsd-security.c: adapt to the security_connect
14406 * common-src/bsd-security.c (bsd_sendpkt): dgram_cat is varargs now,
14407 so skip the vstralloc
14409 1999-03-01 Mike Grupenhoff <kashmir@munge.com>
14411 * common-src/event.c: implement EV_WAIT events. Implement macros
14412 for adding/removing/traversing the event queue
14413 * common-src/event.h: define EV_WAIT, and prototype event_wakeup()
14415 1999-02-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14417 * docs/WISHLIST: protocol between the driver and dumpers.
14419 1999-02-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14421 * server-src/amtoc.pl.in: output the datestamp of each dump, because
14422 amflush can flush the same disk multiple date.
14424 1999-02-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14426 * server-src/holding.h: declare struct holding_t. Remove
14427 declaration of insert_dirname, scan_holdingdisk. Declare
14428 new function free_holding_list. pick_datestamp and
14429 pick_all_datestamp now return (holding_t *).
14430 * server-src/holding.c (insert_dirname): new parameter holding_list
14431 where we add the name. Can add more than MAX_DIRS name.
14432 * server-src/holding.c (free_holding_list): new function to free
14434 * server-src/holding.c (scan_holdingdisk): new parameter holding_list.
14435 * server-src/holding.c (pick_all_datestamp, pick_datestamp): return
14436 a list instead of a (char **).
14437 * server-src/find.c (search_holding_disk): use the list return by
14438 pick_all_datestamp.
14439 * server-src/amflush.c: use the list return by pick_datestamp.
14440 * server-src/amcleanupdisk.c (check_disks): use the list return by
14441 pick_all_datestamp.
14443 1999-02-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14445 * server-src/driverio.c (addfd): bug fixe.
14447 1999-02-22 Alexandre Oliva <oliva@dcc.unicamp.br>
14449 * client-src/sendbackup-gnutar.c: new regexp for SAMBA
14450 Reported by Grzegorz Mucha <grzegorz.mucha@solidex.com.pl>
14452 1999-02-17 Alexandre Oliva <oliva@dcc.unicamp.br>
14454 * server-src/amtoc.pl.in: minor fixes for multi-tape runs
14456 1999-02-17 Nicolas Mayencourt <Nicolas.Mayencourt@cui.unige.ch>
14458 * server-src/amtoc.pl.in: complete, backward-incompatible rewrite;
14459 command-line arguments changed
14460 * man/amtoc.8.in: ditto
14462 1999-02-17 Alexandre Oliva <oliva@dcc.unicamp.br>
14464 * changer-src/chg-multi.sh.in: minor portability changes
14465 * docs/TAPE.CHANGERS: originally by James da Silva
14467 1999-02-17 Jean-Francois Dockes <dockes@cdkit.remcomp.fr>
14469 * changer-src/chg-multi.sh.in: various portability changes and
14470 general fixes, particularly for multieject; new cycle mode
14471 * docs/TAPE.CHANGERS: detailed description of chg-multi
14472 * example/chg-multi.conf: updated; added reference to
14473 docs/TAPE.CHANGERS for details
14475 1999-02-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14477 * server-src/driverio.h: remove declaration of addfd.
14478 * server-src/driverio.c (addfd): 2 new arguments, readset and maxfd,
14479 don't use global variable.
14480 * server-src/driverio.c (startup_tape_process, startup_dump_process):
14481 call addfd with new argument.
14483 1999-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14485 * server-src/driverio.c (startup_tape_process): new taper_program
14487 * server-src/driverio.h: remove declaration of taper_program.
14488 * server-src/driver.c (main): declare taper_program.
14489 * server-src/driver.c: call startup_tape_process with the new
14490 taper_program argument.
14491 * server-src/amflush.c (run_dumps): declare taper_program.
14492 * server-src/amflush.c (run_dumps): call startup_tape_process with
14493 the new taper_program argument.
14495 1999-02-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14497 * server-src/driverio.c (startup_dump_process, startup_dump_processes):
14498 new dumper_program argument.
14499 * server-src/driverio.h: remove declaration of dumper_program.
14500 * server-src/driver.c: declare dumper_program.
14501 * server-src/driver.c: call startup_dump_process and
14502 startup_dump_processes with the new dumper_program argument.
14504 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14506 * server-src/list_dir.h: remove global variable dir_list, declare
14507 new function get_dir_list.
14508 * server-src/list_dir.c (get_dir_list): new function to return dir_list.
14509 * server-src/amindexd.c (opaque_ls): use get_dir_list.
14511 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14513 * server-src/holding.h: remove declaration of get_letter_from_user()
14515 * server-src/holding.c: remove function get_letter_from_user() and
14517 * server-src/holding.c (pick_datestamp): return empty array instead
14518 of calling exit if no directory are found.
14519 * server-src/amflush.c (get_letter_from_user): new function copied
14521 * server-src/amflush.c (confirm): write a message and exit if no
14522 directory were found.
14524 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14526 * server-src/amflush.c (flush_holdingdisk): don't update the database
14527 when flushing a partial dump.
14529 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14531 * server-src/holding.h (get_dumpfile): new function
14532 * server-src/holding.c (get_dumpfile): new function to fill a
14533 dumpfile_t struct from a holding file.
14535 1999-02-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14537 * server-src/amlabel.c: compiler warning: too many arguments for format
14539 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14541 * server-src/amlabel.c: remove the label from the tapefile in
14542 case it was already there (-f).
14544 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14546 * server-src/dumper.c: make sure holding files are not larger
14549 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14551 * server-src/amcleanupdisk.c: new program to scan and find temporary
14552 file on holding disks.
14553 * server-src/Makefile.am (libexec_PROGRAMS): add amcleanupdisk.
14554 * server-src/amcleanup.sh.in: call amcleanupdisk.
14556 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14558 * server-src/holding.c (pick_all_datestamp): new function to return
14559 all datestamp in the holding disks.
14560 * server-src/holding.h: declare pick_all_datestamp.
14562 1999-02-13 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14564 * server-src/diskfile.h (host_t): new start_t field.
14565 * server-src/diskfile.c (read_diskline): set start_t to 0.
14566 * server-src/driver.c (start_some_dumps): Don't start a dump if
14567 the host->start_t > now.
14568 * server-src/driver.c (start_some_dumps): set host->start_t to 15 sec
14569 in the future when starting a FILE_DUMP.
14570 * server-src/driver.c (dump_to_tape): set host->start_t to 15 sec in
14571 the future when starting a PORT_DUMP.
14573 1999-02-10 Alexandre Oliva <oliva@dcc.unicamp.br>
14575 * server-src/amlabel.c (main): try to read just-written tape label
14576 back; if wrendmark overwrote the label, suggest using a
14577 non-rewinding device
14578 * tape-src/tapeio.c (tape_wrendmark): would not close tape device if
14581 1999-02-10 Paul Bijnens <Paul.Bijnens@lant.be>
14583 * server-src/amoverview.pl.in: Y2K fix in output to user
14584 * server-src/amtoc.pl.in (print_info): ditto
14586 1999-02-10 Alexandre Oliva <oliva@dcc.unicamp.br>
14588 * client-src/sendsize.c (getsize_dump): do not redirect standard
14589 output of estimator to /dev/null if we HAVE_DUMP_ESTIMATE
14591 1999-02-03 Alexandre Oliva <oliva@dcc.unicamp.br>
14593 * NEWS: fix description of incronly: it won't really perform full
14596 * NEWS: support for ufsdump -S, incronly strategy and new chunksize
14599 * server-src/conffile.c (init_holdingdisk_defaults, chunksize):
14601 * example/amanda.conf.in: ditto
14602 * man/amanda.8.in: ditto
14604 * configure.in (amanda_cv_dump_estimate): check for support for -S
14605 too, and define HAVE_DUMP_ESTIMATE as the estimate switch, if any
14606 * client-src/sendsize.c (re_size): new regexps for Solaris ufsdump
14607 -S and Samba `du'. Restrict regexp that matched Digital Unix'
14608 dump -E so that it doesn't match smbclient's output any more.
14609 Move some regexps around, and only define them if the corresponding
14610 dump program is available
14612 1999-02-01 Alexandre Oliva <oliva@dcc.unicamp.br>
14614 * example/amanda.conf.in: document the behavior of relative
14616 * man/amanda.8.in: ditto
14618 * man/amanda.8.in (exclude list): the GNU tar flag is
14619 --exclude-from, not --exclude-list
14620 Reported by Tom Schutter <tom@platte.com>
14622 * client-src/sendbackup-gnutar.c (re_table): ignore `session request
14623 to' message printed by Samba 2.0.0
14625 1999-01-28 Alexandre Oliva <oliva@dcc.unicamp.br>
14627 * man/amanda.8.in (comprate): it is not used when there is history
14628 information; useful for large disks that compress little
14629 Reported by job bogan <job@piquin.uchicago.edu>
14631 * Makefile.am: select which SUBDIRS to descend to here
14632 * client-src/Makefile.am: removed if WANT_CLIENT
14633 * tape-src/Makefile.am: removed if WANT_TAPE
14634 * server-src/Makefile.am: removed if WANT_SERVER
14635 * changer-src/Makefile.am: ditto
14636 * restore-src/Makefile.am: removed if WANT_RESTORE
14637 * recover-src/Makefile.am: removed if WANT_RECOVER
14638 * amplot/Makefile.am: removed if WANT_AMPLOT
14640 1999-01-27 Alexandre Oliva <oliva@dcc.unicamp.br>
14642 * NEWS: chg-scsi ports, Samba 2.0.0 support and SECURITY API
14644 * configure.in (USE_AMANDAHOSTS): enable by default
14645 * example/config.site: ditto
14646 * docs/INSTALL: ditto
14649 * docs/INSTALL: updated URLs for GNU packages and Samba
14650 * docs/SAMBA: note that Samba 2.0.0 is supported
14652 * docs/SYSTEM.NOTES (HP/UX): what does `Link severed' mean?
14654 1999-01-27 Thomas Hepper <th@ant.han.de>
14655 * changer-src/scsi-changer-driver.c SCSI_ReadElementStatus
14656 A while loop has to start with while, not if .....
14658 1999-01-27 Alexandre Oliva <oliva@dcc.unicamp.br>
14660 * Makefile.am (EXTRA_DIST): sst was added within contrib
14662 * ltmain.sh, ltconfig, libtool.m4i: updated from libtool CVS
14663 * configure.in: AC_SUBST LIBTOOL_DEPS
14664 * Makefile.am: regen libtool if neded
14666 * Makefile.am: declare that we want automake 1.4 and we're a foreign
14669 * configure.in: require autoconf 2.13, and use
14670 AC_VALIDATE_CACHED_SYSTEM_TUPLE instead of
14671 AC_VALIDATE_CACHE_SYSTEM_TYPE
14672 * config/acinclude.m4i: removed AC_VALIDATE_CACHE_SYSTEM_TYPE
14674 * configure.in (SAMBA_CLIENT): updated check for smbclient to
14675 support Samba 2.0.0
14677 1999-01-26 Alexandre Oliva <oliva@dcc.unicamp.br>
14679 * server-src/amdump.sh.in (runuser): set to LOGNAME if defined, and
14680 to the output of whoami otherwise
14681 Reported by Tom Schutter <tom@platte.com>
14683 1999-01-26 Thomas Hepper <th@ant.han.de>
14684 * Makefile.am Added sst driver files to EXTRA_DIST
14686 1999-01-26 Thomas Hepper <th@ant.han.de>
14687 * changer-src/Makefile.am added to LDADD
14688 ../tape-src/libamtape.$(LIB_EXTENSION)
14689 * changer-src/chg-scsi.c If statfile is not set try to get the info
14690 about the current loaded tape direct from the changer.
14691 Fixed debug output for the eject value if > 1
14692 * changer-src/libscsi.h Prototype for GetCurrentSlot
14693 * changer-src/scsi-aix.c If the Device we open is not a changer or tape
14694 return NULL, so that the above function can abort. New eject per mtio ioctl.
14695 * changer-src/scsi-bsd.c see scsi-aix.c
14696 * changer-src/scsi-linux.c see scsi-aix.c
14697 * changer-src/scsi-hpux_new.c see scsi-aix.c
14698 * changer-src/scsi-irix.c see scsi-aix.c
14699 * changer-src/scsi-solaris.c see scsi-aix.c and added a retry loop for
14700 the execution of SCSI commands.
14701 * changer-src/scsi-changer-driver.c New Function SCSI_ReadElementStatus
14702 split ReadElementStatus in device and device independed part
14703 New EXB120ElementStatus, renamed ReadElementStatus in GenericElementStatus
14704 added EXB 120 and DLT7000 to the devices list.
14705 Removed the linked list for the element status. Now every element
14706 type has its own array allocated in the *ElementStatus functions.
14707 Check in the functions which sends SCSI commands if the fd is able to
14708 receive SCSI commands.
14709 In GenericEject check which type of eject to use (ioctl/SCSI)
14710 New GetCurrentSlot, try to get the info about the loaded tape direct from
14712 * changer-src/scsi-chio.c Add function GetCurrentSlot (not well tested yet)
14713 * changer-src/scsi-defs.h Added missing decl. in MediumTransportElementDescriptor_T
14714 for LITTLE_ENDIAN_BITFIELDS
14715 new field from in ElementInfo_T
14716 * changer-src/sci-hpux.c EMpty function GetCurrentSlot, do we still need scsi-hpux.c ?
14717 * docs/TAPE.CHANGERS added some notes for HP-UX, expanded list of tested devices
14719 1999-01-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14721 * server-src/conffile.c (init_defaults): default value of runspercycle
14723 * server-src/amadmin.c (balance): use default value of runspercycle.
14724 * server-src/planner.c (main): use default value of runspercycle.
14726 1999-01-22 Martin Apel <apel@tecmath.de>
14728 * example/amanda.conf.in: explanation of incronly strategy.
14729 * man/amanda.8.in: explanation of incronly strategy.
14730 * server-src/amadmin.c: recognize incronly strategy
14731 * server-src/conffile.c: read the incronly strategy in the
14732 configuration file.
14733 * server-src/conffile.h: definition of DS_INCRONLY
14734 * server-src/planner.c: Do planning for incronly strategy:
14735 If the force flag is set perform a full dump, otherwise do
14736 normal incremental processing but avoid full dumps.
14737 * server-src/tapefile.c: Bugfix so only tapes which match
14738 the regular expression for tape labels in the current
14739 configuration are considered for writing.
14741 1999-01-22 Alexandre Oliva <oliva@dcc.unicamp.br>
14743 * common-src/bsd-security.c (check_user): there was no uid variable
14744 here; replace with getuid()
14746 1999-01-22 Alexandre Oliva <oliva@dcc.unicamp.br>
14748 * server-src/planner.c (output_scheduleline): removed `or historical
14749 data' from `no estimate' message; historical data doesn't matter any
14751 Reported by Giorgos Vlachos <Giorgos.Vlachos@eurodyn.com>
14753 1999-01-20 Todd Pfaff <pfaff@mcmaster.ca>
14755 * client-src/sendbackup-gnutar.c: more Samba 2.0.0 messages
14757 * client-src/sendbackup-gnutar.c: new Samba 2.0.0 message
14759 1999-01-19 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14761 * server-src/amflush.c: use ap_snprintf instead of snprintf.
14762 * server-src/amflush.c: rotation of new amflush log was broken.
14764 1999-01-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14766 * server-src/reporter.c: always call output_stats(), the problem is
14767 that degraded_mode is set if amflush fills the tape.
14769 1999-01-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14771 * server-src/amflush.c: write debuging info to $logdir/amflush
14772 instead of /dev/null if we run in background.
14773 * server-src/amcleanup.sh.in: rename $logdir/amflush.
14775 1999-01-14 Mike Grupenhoff <kashmir@munge.com>
14777 * server-src/dumper.c (make_tapeheader): explicitly compare
14778 srvcompress against srvcomp_none instead of assuming that
14779 srvcomp_none's value is 0.
14781 1999-01-14 Mike Grupenhoff <kashmir@munge.com>
14783 * server-src/dumper.c: move max() macro to top of file. Add min()
14784 * server-src/dumper.c (databuf_write): use min() to determine the
14786 * server-src/dumper.c (databuf_flush): more clearly calculate the
14787 buffer offset in the write loop
14789 1999-01-14 Mike Grupenhoff <kashmir@munge.com>
14791 * server-src/dumper.c (databuf_write): Egads! Also increment the
14792 source pointer doing a partial buf copy
14794 1999-01-14 Mike Grupenhoff <kashmir@munge.com>
14796 * common-src/bsd-security.c (check_user): use getpwnam(CLIENT_LOGIN)
14797 instead of getpwuid(getuid()), in case our caller has not done
14800 1999-01-12 Mike Grupenhoff <kashmir@munge.com>
14802 * server-src/dumper.c (add_msg_data): properly check for half-sent
14805 1999-01-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14807 * server-src/amstatus.pl.in: fix a divide by zero error.
14809 1999-01-11 Mike Grupenhoff <kashmir@munge.com>
14811 * server-src/dumper.c (add_msg_data): clarify and comment. Remove
14812 'len' arg. Const 'str' arg.
14813 * server-src/dumper.c (do_dump): compresspid and indexpid should
14814 be pid_t's. Also, remove len from add_msg_data call.
14816 1999-01-11 Mike Grupenhoff <kashmir@munge.com>
14818 * server-src/fileheader.c (parse_file_header): const the buffer
14820 * server-src/fileheader.h: update parse_file_header proto for const
14823 1999-01-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14825 * server-src/amstatus.pl.in: report the current dump when reporting
14826 the busy time of each dumper.
14828 1998-12-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
14830 * server-src/dumper.c: open temporary holding file with O_TRUNC flags
14831 and with mode 0600.
14833 1998-12-28 John R. Jackson <jrj@purdue.edu>
14835 * server-src/reporter.c: do not drop core generating labels if the
14836 tape label is not defined, e.g. in degraded mode (compliments of
14837 Jan L. Peterson <jlp@Part.NET>).
14839 1998-12-28 John R. Jackson <jrj@purdue.edu>
14841 * server-src/amtape.c: initialize two strings to NULL to avoid a
14842 core dump, compliments of G. Allen Morris III <gam3@acm.org>.
14844 1998-12-27 John R. Jackson <jrj@purdue.edu>
14846 * man/amreport.8.in: remove reference to 8.5x11 paper size for the
14849 1998-12-27 John R. Jackson <jrj@purdue.edu>
14851 * example/3hole.ps: new lbl-templ file for 3 hole punch reports
14852 * example/Makefile.am: add 3hole.ps
14854 1998-12-22 Thomas Hepper <th@icem.de>
14856 * docs/TAPE.CHANGERS Update notes about chg-scsi
14857 * changer-src/chg-scsi.c Added new config option tapestatus,
14858 if set the tape log pages are written to this file.
14859 changed parameter list for get_clean_state/ask_clean,
14860 * changer-src/libscsi.h changed parameter list for get_clean_state
14861 * changer-src/scsi-changer-driver.c Added new functions OpenDevice
14862 CloseDevice LookupDevice.
14863 Added new functions to read and decode the Tape LOG Pages.
14864 Tape Eject and ready check is now done by SCSI calls
14866 * changer-src/scsi-aix.c
14867 * changer-src/scsi-bsd.c
14868 * changer-src/scsi-hpux_new.c
14869 * changer-src/scsi-hpux.c
14870 * changer-src/scsi-irix.c
14871 * changer-src/scsi-solaris.c
14872 Changed all SCSI_OpenDevice/SCSI_CloseDevice functions so that they
14873 fit to the new OpenDevice/CloseDevice calls. Removed mtio.h from
14874 includes, remove Tape_Ready and Tape_Eject
14875 * changer-src/scsi-chio.c
14876 * changer-src/scsi-defs.h
14878 For all changer-src files, removed tabs, run indent (from xemacs)
14879 Added emacs variables to the end (no tab, gnu style)
14881 1998-12-21 John R. Jackson <jrj@purdue.edu>
14883 * man/amanda.8.in: document the lbl-templ tapetype option.
14885 1998-12-21 John R. Jackson <jrj@purdue.edu>
14887 * man/amreport.8.in: fix formatting problem.
14889 1998-12-20 John R. Jackson <jrj@purdue.edu>
14891 * configure.in: define NEED_RESETOFS unless LFS (large file system
14892 support) is available.
14893 * config/acconfig.h: add NEED_RESETOFS tag.
14894 * server-src/taper.c: only reset the tape offset if NEED_RESETOFS
14895 is defined and only once per 2 GBytes.
14897 1998-12-20 Alexandre Oliva <oliva@dcc.unicamp.br>
14899 * server-src/amlabel.c (main): datestamp for new tapes is now 0
14900 * server-src/tapefile.c (reusable_tape): recognize datestamp 0 as
14902 * man/amlabel.8.in: document that tapes are added to tapelist
14904 1998-12-19 Mike Grupenhoff <kashmir@munge.com>
14906 * server-src/dumper.c (runcompress): new function. Given an output
14907 file descriptor, inserts a gzip/compress in front of that descriptor.
14908 * server-src/dumper.c (do_dump): if srvcompress is true, insert
14909 the gzip (using runcompress) in front of the output fd instead
14910 of the input fd. Only do this after the tapeheader has been written.
14912 1998-12-19 Mike Grupenhoff <kashmir@munge.com>
14914 * server-src/dumper.c (startup_chunker): new function. When doing
14915 chunking, fork a piped subprocess that reads in a fileheader and
14916 a data stream, and writes out the headered, chunked files. This
14917 allows us to treat unchunked, chunked, and port-dump dumps exactly
14919 * server-src/dumper.c (main): file-dump: if chunksize > 0,
14920 call startup_chunker for our outfd. Otherwise, open the
14921 holding file directly.
14923 1998-12-19 Mike Grupenhoff <kashmir@munge.com>
14925 * server-src/dumper.c (struct databuf): add a chunk_size member,
14926 the size of each chunk. Remove chunksize global.
14927 * server-src/dumper.c (main): add a chunksize local var
14928 * server-src/dumper.c (databuf_init): init the chunk_size member
14929 with the same value as split_size
14930 * server-src/dumper.c (databuf_flush): increment db->split_size
14931 by the amount in db->chunk_size instead of the global chunksize
14933 1998-12-19 John R. Jackson <jrj@purdue.edu>
14935 * server-src/amstatus.pl.in: instead of just displaying why no
14936 dumpers were busy, display reason(s) why N+1 were not busy.
14938 1998-12-18 John R. Jackson <jrj@purdue.edu>
14940 * server-src/amstatus.pl.in: add statistics about how much time
14941 taper and each dumper is busy, how much time N dumpers are busy
14942 and why no dumpers were busy.
14944 1998-12-18 Mike Grupenhoff <kashmir@munge.com>
14946 * server-src/dumper.c (struct databuf): add 'filename', 'filename_seq',
14947 and 'split_size' members to replace the equivalent globals. Nuke
14949 * server-src/dumper.c (databuf_init): add 'filename' and 'split_size'
14950 args to init those members. Init filename_seq to 0.
14951 * server-src/dumper.c (main): declare and init the databuf here
14952 * server-src/dumper.c (databuf_flush): refer to split_size, filename,
14953 and filename_seq in the databuf instead of the globals.
14954 * server-src/dumper.c (do_dump): now takes a databuf instead of an
14955 output file descriptor.
14957 1998-12-18 John R. Jackson <jrj@purdue.edu>
14959 * server-src/amstatus.pl.in: fix two perl warnings.
14961 1998-12-18 John R. Jackson <jrj@purdue.edu>
14963 * server-src/amstatus.pl.in: fix two minor typos. Add percentage
14964 display to the summary comparing real and estimated size and real
14965 versus total estimate (showing how well the estimates are doing and
14966 a rough guess at how far along the run is). Also the percentage of
14967 total holding disk space in use.
14969 1998-12-18 John R. Jackson <jrj@purdue.edu>
14971 * server-src/amstatus.pl.in: take the --file argument as is if it
14972 is an absolute path.
14974 1998-12-18 John R. Jackson <jrj@purdue.edu>
14976 * server-src/driver.c: call short_dump_state() one last time before
14977 quitting so amstatus gets a last good status. Tell taper to quit
14978 after the dumpers since it writes more information to the amdump
14979 file (helps prevent mixed messages).
14981 1998-12-17 Mike Grupenhoff <kashmir@munge.com>
14983 * server-src/dumper.c (databuf_flush): return 0 on success
14985 1998-12-17 Mike Grupenhoff <kashmir@munge.com>
14987 * server-src/dumper.c (databuf_flush): new function. Writes
14988 the contents of the databuf out to its backing file, doing splitting
14990 * server-src/dumper.c (databuf_write): call databuf_flush when the
14991 databuf fills up. Fully complete all writes (no short writes)
14992 * server-src/dumper.c (do_dump): databuf_write now guarantees complete
14993 writes, so remove retry loop. Call databuf_flush() when eof is hit.
14994 Do not close datafd on eof, because our caller (main) passed it to
14995 us and therefore owns it (and main does close it again).
14997 1998-12-17 Mike Grupenhoff <kashmir@munge.com>
14999 * server-src/dumper.c (databuf_init): new function, initializes
15001 * server-src/dumper.c (update_dataptr): rename to databuf_write,
15002 and have it take a buffer and a size, and return how many bytes
15003 of the buffer were written
15004 * server-src/dumper.c (do_dump): use databuf_init to initialize db.
15005 Use databuf_write to add incomign data to the databuf.
15006 Make size1 and size2 local to the blocks they are used in.
15008 1998-12-17 Alexandre Oliva <oliva@dcc.unicamp.br>
15010 * common-src/Makefile.am (noinst_DATA): removed; bogus
15011 * config/config.guess, config/config.sub: config/install-sh,
15012 config/mkinstalldirs: updated to current pre-2.13 autoconf CVS tree
15013 * patches/autoreconf.patch: removed
15014 * config/libtool/libtool.m4: renamed to config/libtool.m4i
15015 * config/acinclude.m4: renamed to config/acinclude.m4i
15016 * config/Makefile.am (EXTRA_DIST): updated to reflect changes
15017 * autogen: build config/acinclude.m4 by concatenating acinclude.m4i
15019 * configure.in: no longer test whether libtool is installed; require
15021 * config/ltconfig, config/ltmain.sh, config/libtool.m4i: updated to
15023 * amplot/Makefile.am (EXTRA_DIST): no longer needed
15024 * changer-src/Makefile.am (chg_scsi_SOURCE): move scsi-defs.h closer
15025 to the beginning of the list
15026 * docs/INSTALL: fixed URL to gnuplot; recommend autoconf and
15029 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
15031 * common-src/genversion.c (main): rip out krb4 defines. If we
15032 need this info, each driver will have to do it individually.
15034 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
15036 * server-src/conffile.c: remove KRB4_AUTH, BSD_AUTH tokens, auth
15037 element from dumptype_t, and get_auth() lookup func. Add
15038 security_driver to dumptype_t and parse value of AUTH keyword
15040 * server-src/conffile.h: nuke auth_t. Remove auth_t auth, int s_auth
15041 from typetype_t; add char *security_driver, int s_security_driver.
15042 * server-src/diskfile.c: nuke auth_t auth from disk_t, add
15043 char *security_driver. Inherit security_driver from the dumptype_t
15045 * server-src/diskfile.h: ditto
15046 * server-src/amadmin.c (disklist_one): output the security-driver
15047 string in place of the auth type
15048 * server-src/amcheck.c (start_client_checks, handle_response):
15049 enum type hostp->disks->auth is gone. check the string in the
15050 security_driver for this disk for krb4 auth.
15051 * server-src/planner.c (getsize, handle_result): check the string
15052 in hostp->disks->security_driver for the auth type.
15054 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
15056 * server-src/amindexd.c: no need to include protocol.h
15058 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
15060 * server-src/amindexd.c: remove duplication inclusion of version.h.
15061 Include tapefile.h to get read_tapelist() prototype
15062 * server-src/amindexd.c (build_disk_table): remove a plethora of
15064 * server-src/amindexd.c (main): rename security_ok() call to
15065 check_security(), and define check_security() locally. security_ok
15066 will disappear when the new security api goes in
15068 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
15070 * server-src/changer.c (changer_label): make it return void
15071 to keep gcc warning about control reaching the end of a nonvoid
15073 * server-src/changer.c: update changer_label's proto for previous
15075 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
15077 * common-src/amanda.h: define SET, CLR, ISSET macros for dealing
15079 * server-src/amadmin.c: use the bitmask macros for setting
15080 and clearing the bits in the infofile command word
15081 * server-src/planner.c: ditto. This fixes a bug in the code that
15082 tried to clear FORCE_FULL with an xor expression that was
15083 never assigned (x ^ FORCE_FULL)
15085 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
15087 * common-src/bsd-security.c (bsd_sendpkt): cast uid's to long and
15088 use %ld to print them.
15090 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
15092 * common-src/dgram.h: mark dgram_cat with gcc's printf attribute
15093 * common-src/packet.h: ditto for pkt_cat
15094 * common-src/security.h: likewise for security_seterror
15096 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
15098 * common-src/error.c (error): const the format arg
15099 * common-src/amanda.h: mark error with gcc's noreturn attribute, and
15100 const its format arg
15102 1998-12-14 Mike Grupenhoff <kashmir@munge.com>
15104 * common-src/debug.c (debug_printf): const the format arg
15105 * common-src/amanda.h: const debug_printf's format arg
15107 1998-12-14 Alexandre Oliva <oliva@dcc.unicamp.br>
15109 * configure.in (BSD SCSI): test ... -a ... is not portable, and less
15110 so when written test ... -a test ... :-)
15112 1998-12-14 Thomas Hepper <th@icem.de>
15114 * changer-src/Makefile.am Added scsi-bsd.c
15115 * changer-src/chg-scsi.c Initialize *scsitapedevice
15116 * changer-src/scsi-changer-driver.c remove LITTLE_ENDIAN_BITFILEDS
15118 changed RequestSense to pRequestSense (there is a function
15119 called RequestSense)
15120 changed error handling in ResetStatus (fix for IRIX)
15121 FIxed length handling for the pages in ReadElemtStatus
15122 * changer-src/scsi-chio.c get_clean_state only returns 0, the
15123 ioctl to get the clean flag is not portable ;-(
15124 changed all (f)printf to dbprintf
15126 * changer-src/scsi-defs.h ElementStatusData_T is for BIG and
15127 LITTLE endian the same ...
15129 * changer-src/scsi-bsd.c New file for FreeBSD
15131 * changer-src/scsi-irix.c Clean up in the return handling
15132 changed RequestSense to pRequestSense
15133 Removed unused function TapeStatus
15135 * changer-src/scsi-linux.c changed RequestSense to pRequestSense
15136 Removed unused function TapeStatus
15138 * changer-src/scsi-solaris.c changed RequestSense to pRequestSense
15139 Removed unused function TapeStatus
15141 * config/acconfig.h added def for BSD_LIKE_SCSI
15143 * configure.in Added check for ENDIAN type AC_C_BIGENDIAN
15144 added sys/scsiio.h and check for BSD SCSI interface
15146 1998-12-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15148 * server-src/driver.c (handle_dumper_result): rename .tmp files
15149 when receiving ABORT_FINISHED.
15151 1998-12-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15153 * server-src/driver.c (start_some_dumps): Use the holdp returned
15154 by find_diskspace for a big_dumper in degraded mode.
15156 1998-12-11 Alexandre Oliva <oliva@dcc.unicamp.br>
15158 * docs/SYSTEM.NOTES (Ultrix): recommend gcc or egcs
15159 (IRIX): patch for xfsdump estimates
15161 1998-12-10 John R. Jackson <jrj@purdue.edu>
15163 * common-src/amflock.c (main): remove call set_pname() for
15164 CONFIGURE_TEST since error.o is not linked in.
15166 1998-12-10 Mike Grupenhoff <kashmir@munge.com>
15168 * server-src/dumper.c (struct databuf): add a fd member - the file
15169 descriptor that we are buffering
15170 * server-src/dumper.c (update_dataptr): remove
15171 outf arguments, use the fd in the passed databuf. Return 0 on
15172 success, and -1 on error.
15173 * server-src/dumper.c (update_dataptr): rework and comment the
15174 chunk code a bit. Get rid of the cont_filename global.
15175 * server-src/dumper.c (do_dump): init the fd member of the databuf
15176 * server-src/dumper.c (write_dataptr): fold back into update_dataptr
15178 1998-12-10 John R. Jackson <jrj@purdue.edu>
15180 * common-src/amflock.c (main): report CONFIGURE_TEST error messages to
15183 1998-12-10 John R. Jackson <jrj@purdue.edu>
15185 * common-src/amflock.c (main): call set_pname() for CONFIGURE_TEST.
15186 * configure.in: do not set up pname global for lnlock CONFIGURE_TEST.
15188 1998-12-10 Mike Grupenhoff <kashmir@munge.com>
15190 * server-src/dumper.c (update_dataptr): remove pointless backups
15191 of the databuf and associated vars when creating next chunk.
15192 Remove duplicate setting of file.cont_filename.
15194 1998-12-10 Mike Grupenhoff <kashmir@munge.com>
15196 * server-src/dumper.c (main): reuse outfd to clear the open files
15197 passed to us. Nuke the fd var.
15198 * server-src/dumper.c (update_dataptr): nuke 'split' argument - it
15199 was always set to 1
15201 1998-12-09 Mike Grupenhoff <kashmir@munge.com>
15203 * server-src/dumper.c (write_tapeheader): kill dead code
15204 * server-src/dumper.c (main): remove useless amfree of datestamp.
15205 Add missing break to 'default' case in command loop.
15206 * server-src/dumper.c: kill databuf, spaceleft, and dataptr globals.
15207 Create a 'struct databuf' that holds all three.
15208 * server-src/dumper.c (write_dataptr, update_dataptr): make
15209 these take a 'struct databuf *' as an argument, and have them
15210 operate on its contents instead of the aforementioned globals
15211 * server-src/dumper.c (do_dump): declare a 'struct databuf' here.
15212 Make it static, because it's large. Use it instead of the
15215 1998-12-09 Mike Grupenhoff <kashmir@munge.com>
15217 * server-src/dumper.c (main): rework the command loop a bit.
15218 Consolidate all duplicated error cleanup into one place at the
15219 end of the loop after each command has been processed. Exit
15220 with exit(), not return.
15222 1998-12-09 Mike Grupenhoff <kashmir@munge.com>
15224 * server-src/dumper.c (main, getcmd, write_dataptr): kill argc and
15225 argv globals, pass them as arguments to getcmd() via struct cmdargs.
15226 * server-src/dumper.c (getcmd): make the command lookup table driven.
15227 * server-src/dumper.c (write_dataptr): restructure the command
15228 logic a bit to hopefully clarify things.
15230 1998-12-09 Henning P. Schmiedehausen <henning@tanstaafl.de>
15232 * client-src/sendbackup.c (parse_options): Added check whether the
15233 pathname of the exclude file is relative and if yes, use the
15234 mountpoint of the filesystem as anchor. So you can put your exclude
15235 file in the root of the filesystem to backup.
15236 * client-src/sendsize.c (getsize_gnutar): added the same check as
15237 above so sendsize uses the same exclude file.
15239 1998-12-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15241 * server-src/holding.c (size_holding_files): return size in KB.
15242 * server-src/driver.c (adjust_diskspace): use KB returned by
15243 size_holding_files.
15244 * server-src/driver.c: rename .tmp file
15245 * server-src/dumper.c: do not rename .tmp file. let the driver do it.
15247 1998-12-09 John R. Jackson <jrj@purdue.edu>
15249 * common-src/stream.c (stream_server): do not request a reserved port
15250 if we are root but PORTRANGE is defined. Also, clean up the code
15251 and make sure *portp is -1 on all error returns.
15253 1998-12-08 John R. Jackson <jrj@purdue.edu>
15255 * Makefile.am: add the user-contributed area.
15256 * contrib/README: describe the user-contributed area.
15257 * contrib/dbbackup.README: README for Oracle database backup system.
15258 * contrib/dbbackup.ksh: Oracle database backup system wrapper.
15259 * contrib/dbbackup.sql: Oracle database backup system setup commands.
15260 * contrib/dbbackup.tcl: Oracle database backup system main body.
15262 1998-12-08 John R. Jackson <jrj@purdue.edu>
15264 * amplot/Makefile.am: fix install rule when DESTDIR is non-null,
15265 compliments of Henning P. Schmiedehausen <hps@tanstaafl.de>.
15267 1998-12-08 John R. Jackson <jrj@purdue.edu>
15269 * configure.in: fix reversed code for --with-amrecover, compliments
15270 of Yar Tikhiy <yar@radio-msu.net>.
15272 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15274 * common-src/fileheader.h (dumpfile_t): new is_partial field.
15275 * common-src/fileheader.c: add codee for new is_partial field.
15276 * server-src/holding.h (rename_tmp_holding): declare new function.
15277 * server-src/holding.c (rename_tmp_holding): new function.
15278 * server-src/dumper.c (do_dump): return 1 if succeded, otherwise 0.
15279 * server-src/dumper.c (main): open .tmp when dumping to disk,
15280 rename .tmp if do_dump return 1.
15281 * server-src/dumper.c (update_dataptr): open .tmp for new chunk.
15282 * server-src/amstatus.pl.in (dump_size): return size of .tmp file.
15284 1998-12-07 Mike Grupenhoff <kashmir@munge.com>
15286 * server-src/amtape.c (main, usage): make command lookup and usage
15289 1998-12-07 Mike Grupenhoff <kashmir@munge.com>
15291 * server-src/amadmin.c: make command lookup and usage table-driven
15292 * server-src/amadmin.c (balance, tape, bumpsize): add
15293 argc/argv arguments to make them like the rest
15294 * server-src/amadmin.c (show_version): new function, implements
15295 the version command, so it is done like the other commands
15296 * server-src/amadmin.c (main): iterate through cmdtab[] when
15297 looking up the command, instead of a huge if/then/else
15298 * server-src/amadmin.c (usage): iterate through cmdtab[] when
15299 displaying usage strings. Display the "disklist" usage string.
15301 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15303 * config/acconfig.h: add "#undef HAVE_WRITEV_DECL".
15305 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15307 * NEWS: document new force-bump, force-no-bump and unforce-bump
15308 command in amadmin.
15310 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15312 * server-src/holding.c (size_holding_files): new function to
15313 return the sum of the size of all chunk of an image.
15314 * server-src/holding.h (size_holding_files): declare.
15315 * server-src/driver.c (adjust_diskspace): use size_holding_files
15316 instead of doing a stat of only the first chunk.
15318 1998-12-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15320 * server-src/amadmin.c: new force-bump, force-no-bump and unforce-bump
15322 * man/amadmin.8.in: document them.
15324 1998-12-05 Alexandre Oliva <oliva@dcc.unicamp.br>
15326 * docs/FAQ (large filesystems): fixed reference to results missing
15327 (results missing): updated to 64Kb UDP packets
15329 1998-12-04 Mike Grupenhoff <kashmir@munge.com>
15331 * common-src/amanda.h: implement WIFSIGNALED() if not already
15333 * server-src/amcheck.c: ream out compat definitions of WEXITSTATUS(),
15334 WTERMSIG(), and WIFSIGNALED(). These are already handled in amanda.h
15335 * server-src/changer.c: ditto
15337 1998-12-03 Mike Grupenhoff <kashmir@munge.com>
15339 * common-src/bsd-security.c (recv_security_ok): only check for
15340 a reserved port for REQ packets
15342 1998-12-03 Mike Grupenhoff <kashmir@munge.com>
15344 * common-src/bsd-security.c (recvpkt_callback): only compare
15345 the sin_addr and sin_port fields in the sockaddr when determining
15346 what handle an incoming packet belongs to.
15347 * common-src/bsd-security.c (pkthdr2str): use %s for the handle,
15348 since it's a string.
15350 1998-12-03 Mike Grupenhoff <kashmir@munge.com>
15352 * common-src/bsd-security.c (bsd_sendpkt): newline-terminate
15353 the 'SECURITY USER' line in the packet
15354 * common-src/bsd-security.c (check_user): fix many bugs
15355 in the USE_AMANDAHOSTS case
15357 1998-12-03 Mike Grupenhoff <kashmir@munge.com>
15359 * configure.in: AC_REPLACE_FUNCS(writev)
15361 1998-12-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15363 * server-src/infofile.h: rename PLANNER_FORCE to FORCE_FULL
15364 * server-src/planner.c: rename PLANNER_FORCE to FORCE_FULL
15365 * server-src/amadmin.c: rename PLANNER_FORCE to FORCE_FULL
15367 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
15369 * config/acconfig.h: add KRB5_SECURITY. Update comment above
15370 krb4 define to make clear that they are for krb4
15372 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
15374 * configure.in: if we're doing krb4 and -lcom_err is there, pull
15376 * configure.in: implement --with-krb5-security.
15378 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
15380 * common-src/dgram.c (dgram_cat): now can take printf-style
15382 * common-src/dgram.g (dgram_cat): update prototype
15384 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
15386 * common-src/bsd-security.c: wrap entire file in #ifdef BSD_SECURITY
15387 * common-src/bsd-security.c (bsd_connect): catch up with
15388 security interface changes - upper layer now allocates our handle
15389 Also, pass up useful error message about why connects failed
15390 via the handle we are given
15391 * common-src/bsd-security.c (gethandle): rename to inithandle,
15392 since we are now passed the handle's memory. No need to allocate
15393 memory or initialize the error msg pointer
15394 * common-src/bsd-security.c (bsd_close): now an empty function - no
15396 * common-src/bsd-security.c (recvpkt_callback): allocate the handle
15397 before calling inithandle() (nee gethandle()).
15398 * common-src/bsd-security.c (stream_read_callback): put
15399 strerror(errno) in the handle's error buffer before passing a
15400 read error up to the caller
15402 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
15404 * common-src/krb5-security.c: new stub file that pulls in the
15405 krb5 bits from the amanda-krb-2 tree if KRB5_SECURITY is
15408 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
15410 * common-src/base64.{c,h}: new files, implement base64 encoding
15411 and decoding. Implementation based on routines in bind, and so
15412 copyright is held by ISC and IBM (but is BSD-like).
15414 1998-12-02 Mike Grupenhoff <kashmir@munge.com>
15416 * common-src/security.h: add 'handlesize' to the driver struct, also
15417 make the connect function pointer return int and take a handle
15419 * common-src/security.h (security_connect): addd a 'const char **'
15420 errmsg argument for returning connect errors
15422 1998-12-01 John R. Jackson <jrj@purdue.edu>
15424 * server-src/amcheck.c: make -t mean do the tape checks, add new -l
15425 option for doing just the local server (non-tape) checks. Have -w
15426 turn on -t. Have -cs (or -sc) do both server and client checks.
15427 * man/amcheck.8.in: document above changes and clean up some minor
15430 1998-12-01 Mike Grupenhoff <kashmir@munge.com>
15432 * common-src/event.c (release): nuke bogus comment about signal
15434 * common-src/event.c (event_loop): move the reentrancy assert
15435 after the empty queue check. Otherwise, calling event_loop()
15436 with an empty event queue would cause the entry count to get
15437 out of sync. Also, on exit, assert that the entry count has
15439 * common-src/event.c (event_loop): fix bogus comment about event
15442 1998-12-01 Mike Grupenhoff <kashmir@munge.com>
15444 * common-src/arglist.h: implement arglist_function3()
15446 1998-11-30 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15448 * server-src/driver.c (start_some_dumps): In degraded mode,
15449 a big dumper should do high priority dump before low priority.
15450 * server-src/driver.c (sort_by_priority_reversed): sort by
15451 time if priority is equal.
15453 1998-11-28 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15455 * server-src/infofile.h: declare FORCE_BUMP and FORCE_NO_BUMP
15457 * server-src/amadmin.c (force_one,unforce_one,info_one): work
15458 with info.command with bit operator.
15459 * server-src/planner.c (setup_estimate): work with info.command
15460 with bit operator, support for FORCE_BUMP and FORCE_NO_BUMP command.
15462 1998-11-27 Thomas Hepper <th@icem.de>
15464 * changer-src/scsi-aix.c Some changes in the error handling in
15465 scsi command execution
15466 * changer-src/scsi-changer-driver.c More debug prints.
15467 removed Endian16/Endian24 (replaced with macros)
15468 * changer-src/scsi-chio.c make get_clean_state work on linux
15469 * changer-src/scsi-defs.h added macros for converting from/to
15471 * docs/TAPE.CHANGERS add note about AIX and chg-scsi
15473 1998-11-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15475 * server-src/amadmin.c(export_one): export the last_level and
15476 consecutive_runs field.
15477 * server-src/amadmin.c(import_one): import the last_level and
15478 consecutive_runs field.
15480 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
15482 * common-src/amanda.h: uhh, every other decl has a leading
15483 'extern' so writev() should as well
15485 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
15487 * common-src/amanda.h: if no writev() decl exists, declare one
15489 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
15491 * configure.in: check for <sys/uio.h>, check for a writev() decl
15492 in <unistd.h> and/or <sys/uio.h>
15494 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
15496 * common-src/writev.c (writev): new file, implements writev for
15497 systems that lack it
15499 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
15501 * common-src/amanda.h: include <sys/uio.h> if it exists. Otherwise,
15502 define struct iovec
15504 1998-11-24 John R. Jackson <jrj@purdue.edu>
15506 * server-src/amlabel.c: insist on being run as the dump user (ala
15507 amlabel) to keep permissions straight.
15509 1998-11-24 John R. Jackson <jrj@purdue.edu>
15511 * server-src/amadmin.c: fix minor message format problem.
15513 1998-11-24 John R. Jackson <jrj@purdue.edu>
15515 * server-src/amlabel.c: insist on being run as the dump user (ala
15516 amflush) to keep permissions straight.
15518 1998-11-24 John R. Jackson <jrj@purdue.edu>
15520 * server-src/amrmtape.sh.in: insist on being run as the dump user (ala
15521 amdump) to keep permissions straight.
15523 1998-11-24 John R. Jackson <jrj@purdue.edu>
15525 * server-src/amadmin.c: issue a warning for update commands that might
15526 leave ownership incorrect.
15528 1998-11-24 John R. Jackson <jrj@purdue.edu>
15530 * server-src/amcheck.c: add a "-t" option to disable tape tests in the
15531 server checks. This lets server checks be done without mounting a
15532 tape. Add lots more sanity checks, in particular, ownership and
15533 permissions of the index area and text format database. Warn if
15534 amcheck is not run as the dump user listed in amanda.conf. Minor
15535 consistency cleanup in the messages.
15536 * man/amcheck.8.in: document the changes.
15538 1998-11-24 Mike Grupenhoff <kashmir@munge.com>
15540 * common-src/dgram.c (dgram_bind): always try to get a reserved
15541 port, even if KRB4_SECURITY is defined
15543 1998-11-23 Mike Grupenhoff <kashmir@munge.com>
15545 * common-src/bsd-security.c (struct bsd_handle): change 'int handle'
15546 to 'char proto_handle[32]' because the remote client might generate
15547 handles that aren't completely numerical
15548 * common-src/bsd-security.c (gethandle, str2pkthdr): the 'handle' arg
15550 * common-src/bsd-security.c (bsd_connect): convert our generated
15551 handle into a string to pass to gethandle()
15552 * common-src/bsd-security.c (str2pkthdr): rewrite to parse with
15553 strtok(). Parse the handle as a string instead of trying to
15554 convert it into a number
15556 1998-11-20 Alexandre Oliva <oliva@dcc.unicamp.br>
15558 * server-src/amcleanup.sh.in (logdir/amdump): arrange that it is
15559 renamed if it exists, even if no log file could be found.
15561 1998-11-20 Mike Grupenhoff <kashmir@munge.com>
15563 * common-src/bsd-security.c: define STREAM_BUFSIZE to be
15564 the size of the tcp socket buffers
15565 * common-src/bsd-security.c (bsd_stream_server, bsd_stream_client):
15566 adapt to the stream_server() interface changes. Set socket
15567 buffers to STREAM_BUFSIZE.
15569 1998-11-20 Alexandre Oliva <oliva@dcc.unicamp.br>
15571 * config/ltmain.sh, config/ltconfig, config/libtool/libtool.m4:
15572 updated to current CVS libtool
15574 1998-11-19 John R. Jackson <jrj@purdue.edu>
15576 * server-src/conffile.c (get_holdingdisk, init_holdingdisk_defaults):
15577 set the default chunksize and the "0" and "-1" special chunksizes
15578 to 64 KBytes less than the maximum to allow the final read at EOF.
15579 * server-src/dumper.c (main): leave the chunksize as it is when it
15580 comes in except to truncate it to a 32 KByte boundary.
15581 * man/amanda.8.in: add some chunksize comments and clean up a few
15582 minor odds and ends.
15584 1998-11-19 Mike Grupenhoff <kashmir@munge.com>
15586 Give amrecover its own security bits. It has different needs
15587 and a different protocol than the rest of amanda, so it shouldn't
15588 try to reuse the security bits
15589 * recover-src/amrecover.c (get_security): new function, implements
15591 * recover-src/amrecover.c (main): call get_security()
15592 * recover-src/amrecover.h: get_security() prototype
15593 * recover-src/extract_list.c (extract_files_setup): call
15595 * restore-src/amidxtaped.c (check_security): new function, implements
15596 * restore-src/amidxtaped.c (main): call check_security()
15598 1998-11-19 Mike Grupenhoff <kashmir@munge.com>
15600 * common-src/stream.c (stream_server, stream_client): cast 4th
15601 arg of setsockopt() to (void *) to quash a compiler warning
15604 1998-11-19 John R. Jackson <jrj@purdue.edu>
15606 * recover-src/amrecover.c (main): use set_host to find the initial
15607 host name so we get the same alias resolution at startup as the
15609 * recover-src/set_commands.c (set_host): report alternate names being
15610 attempted and only clear the directory list if a host is found.
15612 1998-11-19 Alexandre Oliva <oliva@dcc.unicamp.br>
15614 * server-src/driverio.c (update_info_dumper): do not update
15615 compression or dump rates when called from
15616 update_failed_dump_to_date
15617 Reported by Michael Schmitz <mschmitz@sema.de>
15619 1998-11-18 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15621 * server-src/dumper.c (main): reduce the size of the chunksize by
15624 1998-11-18 Alexandre Oliva <oliva@dcc.unicamp.br>
15626 * configure.in: hack for paxutils was not working; fixed
15628 1998-11-18 Michael Povel <mcp@ladyada.han.de>
15630 * server-src/changer.h added new functions:changer_query
15631 ,changer_search,changer_find, changer_label
15632 * server-src/changer.c added changer_query, changer_search,
15633 changer_find, changer_label
15634 * server-src/amcheck.c (taper_scan) now uses changer_find
15635 * server-src/amtape.c (load_label and taper_scan) now use changer_find
15636 * server-src/taper.c (taper_scan) now uses changer_find
15637 * server-src/amlabel.c (main) added call to changer_label
15638 which is only an empty dummy at the moment
15640 1998-11-18 Thomas Hepper <th@icem.de>
15642 * changer-src/chg-scsi.c Added debug print option
15643 * changer-src/chg-scsi.c If the load fails do not continue
15644 * changer-src/scsi-aix.c changed #include <config.h> to <amanda.h>
15645 * changer-src/scsi-aix.c Added debug prints to SCSI_ExecuteCommand
15646 * changer-src/scsi-changer-driver.c changed #include <config.h> to
15647 #include <amanda.h>
15648 * changer-src/scsi-changer-driver.c Added debugging prints
15649 * changer-src/scsi-changer-driver.c Remove unused funktion TestUnitReady
15650 * changer-src/scsi-chio.c added missing funktion Tape_Ready
15651 * changer-src/scsi-hpux.c removed #include "config.h", is already done
15653 * changer-src/scsi-hpux_new.c changed #include <config.h> to
15654 #include <amanda.h>
15655 * changer-src/scsi-irix.c changed #include <config.h> to
15656 #include <amanda.h>
15657 * changer-src/scsi-linux.c changed #include <config.h> to
15658 #include <amanda.h>
15659 * changer-src/scsi-solaris.c changed #include <config.h> to
15660 #include <amanda.h>
15662 1998-11-17 Alexandre Oliva <oliva@dcc.unicamp.br>
15664 * client-src/sendsize.c: disable HAVE_DUMP_ESTIMATE if SAMBA_CLIENT
15667 1998-11-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15669 * server-src/tapefile.c (lookup_last_reusable_tape): Wrong order
15670 to shift the tpsave array.
15672 1998-11-17 Alexandre Oliva <oliva@dcc.unicamp.br>
15674 * example/amanda.conf.in: document that infofile is supposed to be a
15675 directory with the default database format
15676 * docs/FAQ: New questions: `infofile update failed' and `using the
15677 same host in different configurations'
15679 1998-11-17 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15681 changer-src/scsi-linux.c (Tape_Ready): typo, the argument Device
15682 to the SCSI_CloseDevice() is not defined, I changed it to tapedev.
15684 1998-11-17 Brendan M Coffey <bcoffey@connix.com>
15686 * common-src/stream.c (stream_server): add requested send and receive
15687 socket size parameters.
15688 * common-src/stream.h (stream_server): ditto
15689 * server-src/taper.c (file_reader_side): set a large receive socket
15691 * client-src/sendbackup.c (main): set a large send and receive socket
15692 buffer size for the data path, use defaults for the message and index
15695 1998-11-16 Alexandre Oliva <oliva@dcc.unicamp.br>
15697 * changer-src/scsi-solaris.c (Tape_Ready): typo in Thomas' patch
15699 1998-11-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15701 * server-src/infofile.h (get_dumpdate): rename record parameter to info.
15702 * server-src/infofile.h (get_info): rename record parameter to info.
15703 * server-src/infofile.h (put_info): rename record parameter to info.
15704 * server-src/infofile.c (get_dumpdate): rename rec parameter to info.
15705 * server-src/infofile.c (zero_info): rename ip parameter to info.
15706 * server-src/infofile.c (get_info): rename record parameter to info.
15707 * server-src/infofile.c (put_info): rename record parameter to info.
15708 * server-src/infofile.c (dump_rec): rename r parameter to info.
15709 * server-src/infofile.c (dump_db): rename record variable to info.
15710 * server-src/planner.c (last_level): rename ip parameter to info.
15711 * server-src/planner.c (next_level0): rename ip parameter to info.
15712 * server-src/planner.c (runs_at): rename ip parameter to info.
15713 * server-src/planner.c (askfor): rename inf parameter to info.
15714 * server-src/planner.c (setup_estimate): rename inf variable to info.
15715 * server-src/driverio.c (update_info_dumper): rename inf parameter
15717 * server-src/driverio.c (update_info_taper): rename inf parameter
15719 * server-src/amadmin.c (next_level0): rename ip parameter to info.
15720 * server-src/amadmin.c (force_one): rename inf variable to info.
15721 * server-src/amadmin.c (unforce_one): rename inf variable to info.
15722 * server-src/amadmin.c (delete_one): rename inf variable to info.
15723 * server-src/amadmin.c (info_one): rename inf variable to info.
15724 * server-src/amadmin.c (due_one): rename inf variable to info.
15725 * server-src/amadmin.c (balance): rename inf variable to info.
15727 1998-11-11 Thomas Hepper <th@icem.de>
15729 * configure.in: amanda_cv_hpux_scsi was double defined.
15730 Replaced it in the chio check with amanda_cv_hpux_scsi_chio
15731 * docs/TAPE.CHANGERS: update the notes about chg-scsi
15732 * changer-src/chg-scsi.c: Unload the cleaning tape only
15734 Pass the changerdev and tapedev Tape_Ready, so we can check
15735 if changerdev=tapedev. In this case the fd is already open.
15736 * changer-src/scsi-aix.c: cleanup and first parts are running :-)
15737 * changer-src/scsi-changer-driver.c: Pass back the scsi status
15738 field to the calling function, not the result from the ioctl
15739 if the return form the ioctl is >= 0
15740 * changer-src/scsi-hpux.c: Add additional param to Tape_Ready
15741 fill Tape_Ready with live
15742 * changer-src/scsi-hpux_new.c: Return the scsi status if
15743 the ioctl result is >=0. Add new Parameter to Tape_Ready
15744 * changer-src/scsi-irix.c: same as scsi-hpux_new.c
15745 * changer-src/scis-linux.c: Add additional param to Tape_Ready
15746 * changer-src/scsi-solaris.c: same as scsi-hpux_new.c
15748 1998-11-11 Mike Grupenhoff <kashmir@munge.com>
15750 * server-src/security.h: add driver entry points and macros
15751 for security_stream_accept() and security_stream_auth()
15752 * server-src/bsd-security.c: implement security_stream_accept()
15753 and security_stream_auth() for bsd security
15755 1998-11-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15757 * server-src/driver.c (main): redo my patch about total_disksize that
15758 Alexendre has undone, only the 2.4.1 branch was broken.
15760 1998-11-10 Alexandre Oliva <oliva@dcc.unicamp.br>
15762 * server-src/driver.c (main): total_disksize was only added after
15763 the loop terminated, i.e., when hdp was NULL -> crash. fixed.
15765 1998-11-09 John R. Jackson <jrj@purdue.edu>
15767 * server-src/reporter.c (main): ignore SIGPIPE so if a child process
15768 dies we do not also go away. Also fix a core dump if amanda.conf
15769 cannot be processed, and clean up a few error messages.
15771 1998-11-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15773 * server-src/infofile.h (struct info_s): add last_level and
15775 * server-src/infofile.c: support new last_level and consecutive_runs
15776 * server-src/planner.c (last_level): return ip->last_level.
15777 * server-src/planner.c (runs_at): return ip->consecutive_runs.
15778 * server-src/driverio.c (update_info_dumper): update inf.last_level
15779 and inf.consecutive_runs.
15781 1998-11-09 Mike Grupenhoff <kashmir@munge.com>
15783 * client-src/sendbackup-dump.c (start_backup): don't close indexf
15784 if it was never open
15785 * client-src/sendbackup-gnutar.c (start_backup): ditto
15787 1998-11-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15789 * server-src/driver.c (main): add hdp->disksize to total_disksize
15790 even when we create the datestamp dir. (reserve was unusable).
15792 1998-11-07 Alexandre Oliva <oliva@dcc.unicamp.br>
15794 * Makefile.am (EXTRA_DIST): added EVENT-API, SECURITY-API and
15796 * docs/STRATEGY-API: new file
15798 * configure.in (GNUTAR): accept tar from Free paxutils, the new name
15801 1998-11-07 Alexandre Oliva <oliva@dcc.unicamp.br>
15803 * changer-src/scsi-solaris.c: added missing #endif
15805 * configure.in: merge with camlib.h patch from Oct 31
15806 remove all uses of test ... -a ...; this is not portable.
15807 (AC_CHECK_HEADERS) added header files for Linux and Solaris
15809 1998-11-07 Thomas Hepper <th@icem.de>
15811 * changer-src/chg-scsi: Add config option scsidev
15812 * changer-src/chg-scsi: Remove function tape_ready
15813 * changer-src/chg-scsi: Add new parameter tapedev to function
15815 * changer_src/scsi-hpux.c: changed HAVE_HPUX_SCSI to
15816 HAVE_HPUX_SCSI_CHIO, changed in configure.in too
15817 * changer-src/libscsi.h: Expand definition for get_clean_state
15818 * new files in /changer-src:
15819 scsi-aix.c, scsi-changer-driver.c, scsi-defs.h
15820 scsi-hpux_new.c, scsi-irix.c, scsi-linux.c, scsi-solaris.c
15821 * configure.in checks for scsi ioctl added, check for header files
15822 for the scsi suport added
15823 * config/acconfig.h new:
15824 HAVE_HPUX_LIKE_SCSI, HAVE_HPUX_SCSI_CHIO, HAVE_LINUX_LIKE_SCSI
15825 HAVE_IRIX_LIKE_SCSI, HAVE_SOLARIS_LIKE_SCSI, HAVE_AIX_LIKE_SCSI
15826 removed: HAVE_HPUX_SCSI
15827 * changer-src/Makefile.am: New conditional for building chg-scsi-chio
15828 and chg-scsi. chg-scsi-chio is the old chg-scsi
15830 1998-11-06 Mike Grupenhoff <kashmir@munge.com>
15832 * common-src/bsd-security.c (bsd_stream_write): callback's third
15833 arg should now be an int.
15834 * common-src/bsd-security.c: quash some gcc -Wall warnings
15836 1998-11-06 Mike Grupenhoff <kashmir@munge.com>
15838 * common-src/security.h: the callback to stream_read should
15839 take signed type as its 'length' argument so errors can be
15840 expressed as a negative number.
15842 1998-11-06 Mike Grupenhoff <kashmir@munge.com>
15844 * common-src/bsd-security.c (stream_read_callback): do reads into
15845 a buffer of size TAPE_BLOCK_BYTES, instead of 256, and place the
15846 buffer in the stream handle instead of on the stack, since it's
15849 1998-11-05 Mike Grupenhoff <kashmir@munge.com>
15851 * common-src/event.c (event_loop): Consider error conditions on
15852 file descriptors as read or write events. The caller will be
15853 able to differentiate when they call read or write and it
15856 1998-11-05 Mike Grupenhoff <kashmir@munge.com>
15858 * common-src/event.c (event_loop): print out WHY select failed
15860 1998-11-05 Mike Grupenhoff <kashmir@munge.com>
15862 * common-src/bsd-security.c: adjust for the recvpkt timeout
15864 * common-src/bsd-security.c (handleq_remove): add a missing ; after
15866 * common-src/bsd-security.c (gethandle): initialize the error buffer
15867 in the security handle, since errors may be set before the handle
15868 is passed up to the general security layer
15869 * common-src/bsd-security.c (bsd_recvpkt_cancel): allow it to be
15870 called several times, or when no recvpkt was scheduled
15872 1998-11-05 Mike Grupenhoff <kashmir@munge.com>
15874 * common-src/security.h: define security_recvpkt_status_t
15875 * common-src/security.h: security_driver_t->recvpkt() now
15876 takes a timeout argument, and its callback takes a
15877 security_recvpkt_status_t
15878 * common-src/security.h: adjust the security_recvpkt() macro
15879 for the above changes
15881 1998-11-05 Mike Grupenhoff <kashmir@munge.com>
15883 * common-src/event.c (event_loop): assert that we are not firing
15886 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15888 * recover-src/amrecover.c: remove declaration of errstr.
15890 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15892 * server-src/amindexd.c (build_disk_table): call find_dump() instead
15893 of popen("amadmin <conf> find ...")
15895 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15897 * server-src/holding.h: rename dir_list to holding_list because
15898 dir_list is also declared in amflush.c
15899 * server-src/holding.c: ditto
15900 * server-src/find.c: ditto
15902 1998-11-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15904 * server-src/amstatus.pl.in: remove warning.
15906 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
15908 * common-src/event.c (event_register): delete some improper debug
15909 code that shouldn't have made it in
15911 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
15913 * common-src/bsd-security.c: new file: security driver that
15914 implements "BSD" security.
15916 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
15918 * common-src/security.h: new file: the security api header
15920 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
15922 * common-src/event.c: new file: the event handler. Handles file
15923 descriptor io, signals, and timed events.
15924 * common-src/event.h: new file: interface for the event handler.
15926 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
15928 * common-src/packet.c: new file: description of pkt_t's and routines
15930 * common-src/packet.h: new file: header for common-src/packet.c
15932 1998-11-04 Mike Grupenhoff <kashmir@munge.com>
15934 * common-src/queue.h: new file: the 4.4BSD queue macros, with
15935 additions from NetBSD
15937 1998-11-04 John R. Jackson <jrj@purdue.edu>
15939 * server-src/amverify.sh.in: tolerate extra amtape output.
15941 1998-11-04 Alexandre Oliva <oliva@dcc.unicamp.br>
15943 * configure.in: bumped to 2.5.0
15945 * server-src/taper.c (read_file): if a new tape cannot be found,
15946 report a no-tape error to the log file and exit, just like it does
15949 1998-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15951 * server-src/planner.c (pick_inclevel): return base_level even
15952 when the estimate failed.
15953 * server-src/planner.c (output_scheduleline): test for degr_size
15954 instead of degr_level.
15956 1998-11-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15958 * server-src/planner.c (last_level): update last_date otherwise only
15959 level 0 or the highest is returned.
15961 1998-11-03 Mike Grupenhoff <kashmir@munge.com>
15963 * common-src/alloc.c: const arguments to the stralloc functions
15964 * common-src/amanda.h: update stralloc prototypes for const
15967 1998-11-03 John R. Jackson <jrj@purdue.edu>
15969 * server-src/dumper.c (do_dump): do not report FAILED back to driver
15970 when it sent us ABORT. Clean up and send back ABORT-FINISHED.
15972 1998-11-03 John R. Jackson <jrj@purdue.edu>
15974 * server-src/driver.c (handle_dumper_result): do not abort a dumper
15975 that reports NO-ROOM if taper is busy since some holding disk space
15976 will eventually be released (this code it not used when PORT-DUMP is
15979 1998-11-03 John R. Jackson <jrj@purdue.edu>
15981 * server-src/taper.c (write_buffer): calling lseek after every tape
15982 write is wasteful and makes utilities like lsof less useful. Only
15983 reset the offset when the amount written is about to go over 2 GBytes.
15985 1998-11-02 John R. Jackson <jrj@purdue.edu>
15987 * server-src/driver.c (main, start_degraded_mode): fix rounding problem
15988 that made the code think there was a little room for full dumps in
15989 degraded mode, and fix the code that decides whether to do a full dump
15992 1998-11-02 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
15994 * server-src/amstatus.pl.in: initialize variable to remove warning.
15996 1998-11-02 Alexandre Oliva <oliva@dcc.unicamp.br>
15998 * client-src/Makefile.am (CLIENT_SCRIPTS): rename to
15999 CLIENT_SCRIPTS_OPT, because *_SCRIPTS is interpreted by automake
16000 * configure.in (CLIENT_SCRIPTS): ditto
16001 Reported by Thomas Hepper <Thomas.Hepper@icem.de>
16003 * configure.in (LIBTOOL_M4): no longer defined
16004 (LIBTOOL_M4_MACRO_DIR): defined assuming CWD is top_srcdir
16005 * Makefile.am (ACLOCAL_M4_FROM_SRCDIR): relative to srcdir
16006 (ACLOCAL_M4): defined and created using ACLOCAL_M4_FROM_SRCDIR
16007 Reported by Thomas Hepper <Thomas.Hepper@icem.de>
16009 * client-src/sendbackup.c (backup_program): rename to
16010 gnutar_program, that's the name it should have had from the
16012 * client-src/sendbackup-gnutar.c (backup_program): ditto
16014 1998-10-31 Michael Schmitz <mschmitz@iname.com>
16016 * configure.in: let configure check whether strcasecmp is
16018 * common-src/strcasecmp.c: new file which contains a definition
16020 * common-src/amanda.h: added code to declare strcasecmp in
16021 case it's not declared in a standard header
16023 1998-10-31 Alexandre Oliva <oliva@dcc.unicamp.br>
16025 * configure.in (snprintf): arrange that it is included in the
16026 distribution automatically
16027 * common-src/Makefile.am (EXTRA_DIST): removed, not needed
16029 * changer-src/Makefile.am (libexec_SCRIPTS): would only be enabled
16032 * configure.in (NO_SCSI_CHANGER_MODE): chg-scsi does not support the
16033 new FreeBSD 3.0 chio.h, so disable it if camlib.h is found.
16034 * docs/SYSTEM.NOTES (FreeBSD 3.0): add a note about this
16035 (SunOS 4.x): libtool will no longer find incorrect library versions
16037 1998-10-30 John R. Jackson <jrj@purdue.edu>
16039 * common-src/security.c (bsd_security_ok): change error message to
16040 reflect that it is a host name we were looking up rather than an
16041 address (also makes the two similar messages unique).
16043 1998-10-28 Alexandre Oliva <oliva@dcc.unicamp.br>
16045 * docs/SYSTEM.NOTES: Debian 2's dump uses /var/lib/dumpdates
16047 1998-10-28 John R. Jackson <jrj@purdue.edu>
16049 * recover-src/set_commands.c (set_host): if the host given by the user
16050 does not work, try the canonical name and aliases returned by
16053 1998-10-28 John R. Jackson <jrj@purdue.edu>
16055 * configure.in: use "df /" instead of just "df" when trying to find
16056 the device that has the root file system to avoid things like NFS
16057 hangs that df sometimes suffers from.
16059 1998-10-27 Mike Grupenhoff <kashmir@munge.com>
16061 * common-src/stream.c (stream-client): add a 'localport' argument
16062 in which we can get the port this stream is bound to locally
16063 * common-src/stream.h (stream-client): update prototype
16064 * server-src/dumper.c: update stream-client calls
16066 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16068 * client-src/amandad.c (main): better logging of received packet,
16069 do not send a P_ACK when the received packet is not a P_REQ.
16071 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16073 * client-src/amandad.c (main): terminate immediately if started
16074 by a P_ACK packet without sending a P_NAK packet.
16076 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16078 * server-src/conffile.h (dtimeout): new keyword
16079 * server-src/conffile.c (dtimeout): ditto
16080 * server-src/dumper.c: use dtimeout instead of READ_TIMEOUT
16081 * example/amanda.conf.in: document it
16082 * man/amanda.8.in: ditto
16085 1998-10-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16087 * server-src/dumper.c (sendbackup_response): a nak error will
16088 be a TRY-AGAIN instead of a FAILED.
16090 1998-10-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16092 * server-src/amlabel.c: move declaration of vtbl_no, datestr
16093 and slotcommand to the main function.
16095 1998-10-26 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16097 * server-src/amlabel.c: remove declaration of pname.
16099 1998-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16101 * server-src/amcheckdb.sh.in: modify to match new tapelist file
16102 format (keyword reuse and no-reuse). Probably no-one use this
16105 1998-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16107 * server-src/driver.c (handle_dumper_result): Add sleep time
16108 when a dumper failed, it could be a temporary network problem,
16109 such as NIS or NFS, better wait a few seconds before retrying.
16111 1998-10-25 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16113 * server-src/driverio.h: remove declaration of argc et argv.
16114 * server-src/driverio.h (getresult): add parameters result_argc,
16115 result_argv and max_arg.
16116 * server-src/driverio.c (getresult): use new parameters.
16117 * server-src/amflush.c (flush_holdingdisk, run_dumps): declare
16118 and use result_argc and result_argv instead of global variables
16120 * server-src/driver.c (main, handle_taper_result,
16121 handle_dumper_result, dump_to_tape): ditto
16123 1998-10-24 John R. Jackson <jrj@purdue.edu>
16125 * server-src/amstatus.pl.in: do not be quite so accurate in matching
16126 the log file lines since messages may be intermixed. Turn on perl
16127 -w switch and make first cut at cleaning up warnings.
16129 1998-10-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16131 * server-src/driverio.h: remove datestamp declaration.
16132 * server-src/amcheck.c: remove 'extern' to datestamp declaration.
16133 * server-src/amflush.c: declare datestamp.
16134 * server-src/amtape.c: remove 'extern' to datestamp declaration.
16135 * server-src/driver.c: declare datestamp.
16136 * server-src/dumper.c: remove 'extern' to datestamp declaration.
16137 * server-src/reporter.c: remove 'extern' to datestamp declaration.
16139 1998-10-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16141 * server-src/driverio.h: remove declaration of tok.
16142 * server-src/amflush.c (flush_holdingdisk,run_dumps): declare
16144 * server-src/driver.c (main, handle_taper_result, handle_dumper_result,
16145 dump_to_tape): declare tok locally.
16147 1998-10-23 John R. Jackson <jrj@purdue.edu>
16149 * configure.in: disable the -E and -h dump estimate checks if $DUMP
16152 1998-10-19 John R. Jackson <jrj@purdue.edu>
16154 * server-src/amindexd.c (is_config_valid): fix core dump by moving
16155 amfree of conf_dir later in case it is needed in an error message.
16157 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16159 * server-src/reporter.c: remove declaration of curlinenum,
16160 curlog, curprog and curstr.
16162 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16164 * server-src/amflush.c (main): move declaration of diskqp from
16167 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16169 * server-src/amcheck.c (main): move declaration of mailout and
16170 tempfname from global to local.
16172 1998-10-16 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16174 * server-src/amadmin.c (search_logfile): remove declaration
16176 1998-10-15 Mike Grupenhoff <kashmir@munge.com>
16178 * server-src/amadmin.c (reuse, no-reuse): don't core dump if tape
16181 1998-10-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16183 * server-src/conffile.h: remove declaration of holdingdisks and
16184 num_holdingdisks, declare getconf_holdingdisks().
16185 * server-src/conffile.c: define getconf_holdingdisks(),
16186 * server-src/holding.c: use getconf_holdingdisks
16187 * server-src/find.c: ditto
16188 * server-src/amcheck.c: ditto
16189 * server-src/amflush.c: ditto
16190 * server-src/driver.c ditto
16192 1998-10-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16194 * server-src/driver.c: remove verbose and force_parameters
16197 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16199 * server-src/dumper.c: remove declaration of pid.
16200 * server-src/dumper.c(do_dump): move declaration of runtime,
16201 dumptime, compresspid, indexpid and killerr from global to local.
16203 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16205 * server-src/planner.c: remove declaration of total_waiting and
16207 * server-src/planner.c(main): move declaration of initial_size from
16210 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16212 * server-src/driverio.h,server-src/driver.c: move declaration
16213 of big_dumpers, degraded_mode and reserved_space from
16214 driverio.h to driver.c
16216 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16218 * server-src/driverio.h (optionstr): remove declaration
16220 1998-10-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16222 * configure.in (SAMBA_CLIENT): fix typo
16224 1998-10-14 John R. Jackson <jrj@purdue.edu>
16226 * restore-src/amrestore.c (read_file_header): make a couple of error
16227 messages clearer that they refer to problems with a header rather
16228 than the image data.
16230 1998-10-13 Alexandre Oliva <oliva@dcc.unicamp.br>
16232 * client-src/Makefile.am (libamclient_a_SOURCES): missing since
16235 1998-10-12 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16237 * docs/INTERNALS (driver and dumper): document <dumpdate> in
16238 FILE-DUMP and PORT-DUMP request, document <chunksize> in
16241 1998-10-12 John R. Jackson <jrj@purdue.edu>
16243 * server-src/amtape.c (usage, main, show_device): apply patch from
16244 Chris Jones <cjones@clydesdale.math.montana.edu> to support "device"
16245 as an option to return the drive device name as reported by the
16247 * man/amtape.8: document the new "device" option.
16248 * server-src/amverify.sh.in: use the new amtape "device" option to
16249 better handle tape changers. Overhaul for general cleanup and some
16250 security issues, plus amverify now tries to support non-tar images.
16251 * man/amverify.8.in: document non-tar image issues.
16253 1998-10-08 John R. Jackson <jrj@purdue.edu>
16255 * example/amanda.conf.in: fix runspercycle example and comments
16257 1998-10-08 Alexandre Oliva <oliva@dcc.unicamp.br>
16259 * configure.in (SAMBA_CLIENT): try to find it by default; minimal
16261 * client-src/Makefile.am (WANT_SAMBA): use automake conditionals to
16263 * docs/SAMBA: document that --with-smbclient is no longer required
16264 to enable SAMBA support
16266 * docs/FAQ: about inconsistencies in active filesystems
16268 1998-10-06 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16270 * docs/DUMPER-API: add `no-record' option to the `backup' command.
16272 1998-10-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16274 * docs/DUMPER-API: subdivise section 3.1.
16276 1998-10-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16278 * docs/DUMPER-API: New `index-<mode>' options.
16279 define `support parse-estimate' and `support parse-backup' subcommand.
16280 New 'estimate-direct', `estimate-parse', `backup-direct' and
16281 `backup-parse' options.
16282 Remove PARSE keyword from estimate and backup command.
16284 1998-10-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16286 * docs/DUMPER-API: define PARSE keyword in stderr of the backup
16289 1998-10-03 Alexandre Oliva <oliva@dcc.unicamp.br>
16291 * man/Makefile.am (EXTRA_DIST): make sure the man-pages that are not
16292 generated by autoconf get into the distribution
16294 1998-10-02 Josef Karthauser <joe@pavilion.net>
16296 * changer-src/chg-chio.pl.in (getTapeParams): fix regular expression
16297 for $line; the trailing `s' of slots was missing
16299 1998-10-02 John R. Jackson <jrj@purdue.edu>
16301 * server-src/amstatus.pl.in: fix error message.
16303 1998-10-02 John R. Jackson <jrj@purdue.edu>
16305 * server-src/taper.c (write_file): fix a problem with tha taper
16306 stats where the times were all the same. The wallclock_str function
16307 returns a pointer to a static area so it cannot be called more
16308 than once as an argument to a function.
16310 1998-10-01 John R. Jackson <jrj@purdue.edu>
16312 * common-src/protocol.c (parse_integer): allow negative numbers.
16314 1998-10-01 John R. Jackson <jrj@purdue.edu>
16316 * server-src/amstatus.pl.in: add timestamps.
16318 1998-10-01 Alexandre Oliva <oliva@dcc.unicamp.br>
16320 * docs/DUMPER-API: define `support index', to be used instead of the
16321 previous `index-*' sub-commands
16323 1998-09-30 Alexandre Oliva <oliva@dcc.unicamp.br>
16325 * server-src/Makefile.am (libexec_PROGRAMS, sbin_SCRIPTS): don't use
16326 backslashes for continuation; this seems to break automake :-(
16328 1998-09-30 John R. Jackson <jrj@purdue.edu>
16330 * man/amanda.8.in: minor typo in "reserve" description.
16332 1998-09-29 John R. Jackson <jrj@purdue.edu>
16334 * server-src/taper.c (end_tape): do not rewind the tape when done.
16336 1998-09-29 Alexandre Oliva <oliva@dcc.unicamp.br>
16338 * configure.in (WANT_CLIENT, WANT_RESTORE, WANT_SERVER,
16339 WANT_RECOVER, WANT_TAPE, WANT_AMPLOT, WANT_CHG_SCSI): automake
16341 * amplot/Makefile.am: use them
16342 * changer-src/Makefile.am: ditto
16343 * client-src/Makefile.am: ditto
16344 * common-src/Makefile.am: ditto
16345 * man/Makefile.am: ditto
16346 * recover-src/Makefile.am: ditto
16347 * restore-src/Makefile.am: ditto
16348 * server-src/Makefile.am: ditto
16349 * tape-src/Makefile.am: ditto
16351 * Makefile.am: don't print commands that work around old aclocal bug
16353 * docs/DUMPER-API: remove environment variables, and mention a
16354 program that will help translating disklist entries to device names,
16355 mount points and filesystem types
16357 * recover-src/extract_list.c (extract_files_child): do not crash
16358 after failing to read the dump file header
16359 Reported by Jose Cheng <jcheng@math.ist.utl.pt>
16361 1998-09-28 Alexandre Oliva <oliva@dcc.unicamp.br>
16363 * server-src/taper.c (taperscan_slot): initialize scan_datestamp, to
16364 avoid amfree of uninitialized pointer
16365 Reported by Lance A. Brown <brown9@niehs.nih.gov>
16367 1998-09-27 Alexandre Oliva <oliva@dcc.unicamp.br>
16369 * docs/DUMPER-API (USER, GROUP): detailed security mechanisms
16370 (estimate, estimate-parse): can print `KILL' after the estimate
16372 * docs/DUMPER-API: various suggestions from Eric Siegerman
16373 <erics@now.com> and some explanations added
16375 1998-09-27 Andy Farkas <andyf@speednet.com.au>
16377 * man/amlabel.8.in (labelstr): fix typo
16379 1998-09-26 Alexandre Oliva <oliva@dcc.unicamp.br>
16381 * recover-src/extract_list.c (extract_files_child): fix-up
16382 no_initial_params if password or domain information is not found
16383 Reported by Jose Cheng <jcheng@math.ist.utl.pt>
16385 * docs/DUMPER-API: extended `index' to `index-from-output' or
16386 `index-from-image', as suggested by Dale Hagglund <rdh@best.com>.
16387 Explained that the dumptype option `program' is the name of the
16390 1998-09-25 John R. Jackson <jrj@purdue.edu>
16392 * configure.in: fix --with-dump-honor-nodump test. Patch by
16393 Jonas Oberg <jonas@coyote.org>.
16395 1998-09-24 John R. Jackson <jrj@purdue.edu>
16397 * example/disklist: document the "spindle" and "interface" fields.
16398 Reported by Brendan M Coffey <bcoffey@connix.com>.
16400 1998-09-24 Alexandre Oliva <oliva@dcc.unicamp.br>
16402 * docs/DUMPER-API: added draft description of the DUMPER API
16403 * Makefile.am (EXTRA_DIST): add it to the distribution
16405 * config/acinclude.m4 (AC_VALIDATE_CACHE_SYSTEM_TYPE): make sure
16406 cached values for host, build and target system types match with the
16408 * configure.in: use it
16410 1998-09-23 John R. Jackson <jrj@purdue.edu>
16412 * server-src/amstatus.pl.in: sort the host and partition names.
16413 From David Wolfskill <dhw@whistle.com>.
16415 1998-09-23 Alexandre Oliva <oliva@dcc.unicamp.br>
16417 * server-src/taper.c (getcmd): typo in last DEBUGging patch
16419 1998-09-22 Tim Perkins <Tim.Perkins@ddg.phar.cam.ac.uk>, Alexandre Oliva <oliva@dcc.unicamp.br>
16421 * client-src/selfcheck.c (check_disk): fix VDUMP auto-detection
16423 1998-09-22 Alexandre Oliva <oliva@dcc.unicamp.br>
16425 * changer-src/chg-mtx.sh.in: replace rew with rewind
16426 * changer-src/chg-zd-mtx.sh.in: ditto
16427 Reported by Henning Holtschneider <hh@loca.net>
16429 * client-src/sendsize.c: remove usage of #error
16430 Reported by Jay Orr <orr@vss.fsi.com>
16432 1998-09-21 John R. Jackson <jrj@purdue.edu>
16434 * man/amanda.8.in: document the new "tapebufs" parameter.
16436 1998-09-21 Kelly Setzer <setzer@telalink.net>
16438 * server-src/taper.c (NBUFS): replaced with conf_tapebufs
16439 (THRESHOLD): now means `empty bufs' instead of `full bufs'
16440 * server-src/conffile.c: add support for the "tapebufs" option
16441 * server-src/planner.c: ditto
16442 * examples/amanda.conf.in: add sample "tapebufs" entry
16444 * server-src/amlabel.c (main): adds entry to tapelist with date
16447 1998-09-20 Alexandre Oliva <oliva@dcc.unicamp.br>
16449 * server-src/taper.c (getcmd): print DEBUGging output to stderr
16450 Reported by Henning Holtschneider <hh@loca.net>
16452 1998-09-19 Eric Doutreleau <Eric.doutreleau@int-evry.fr>
16454 * server-src/driverio.h (MAX_DUMPERS): increased from 15 to 63 in
16455 order to launch more dumper in parallel
16456 * example/amanda.conf.in (inparallel): Add the fact that it is
16457 limited by MAX_DUMPERS
16459 1998-09-18 Alexandre Oliva <oliva@dcc.unicamp.br>
16461 * common-src/Makefile.am (libamanda_la_LDFLAGS): use libtool
16462 -release instead of -version_info, so as to encode the Amanda
16463 release number in the library name. Problems related with
16464 pre-installed libraries should disappear, and separate releases can
16465 now be installed into the same directory without the risk of one
16466 using libraries from the other.
16468 1998-09-18 Michael C. Povel <Michael.Povel@hub.de>
16470 * changer-src/chg-scsi.c (wait_ready): new function; keeps retrying
16471 until success or timeout
16472 (ask_clean, main): use it
16474 1998-09-18 Alexandre Oliva <oliva@dcc.unicamp.br>
16476 * client-src/selfcheck.c (check_options): don't require runtar for
16479 * client-src/rundump.c: fix support for VDUMP-only installation
16480 * client-src/selfcheck.c (check_options): fix detection of advfs
16481 * client-src/sendsize.c (getsize_dump): ditto
16482 * client-src/sendbackup-dump.c (start_backup): ditto
16483 Reported by Tim Perkins <Tim.Perkins@ddg.phar.cam.ac.uk>
16485 1998-09-16 John R. Jackson <jrj@purdue.edu>
16487 * man/amadmin.8.in: document that "hostname" is optional for "info".
16488 Reported by David Wolfskill <dhw@whistle.com>.
16490 1998-09-15 Alexandre Oliva <oliva@dcc.unicamp.br>
16492 * docs/FAQ: common compile-time and link-time errors
16494 1998-09-11 John R. Jackson <jrj@purdue.edu>
16496 * server-src/tapefile.c (lookup_last_reusable_tape): use new
16497 calling sequence that passes how old a tape to return. Remove
16498 lookup_previous_reusable_tape().
16499 * server-src/tapefile.h (lookup_last_reusable_tape): use new
16500 calling sequence that passes how old a tape to return. Remove
16501 lookup_previous_reusable_tape().
16502 * server-src/amadmin.c (tape): use new lookup_last_reusable_tape
16504 * server-src/amcheck.c (taper_scan, start_server_check): use new
16505 lookup_last_reusable_tape calling sequence.
16506 * server-src/amflush.c (confirm): use new lookup_last_reusable_tape
16508 * server-src/amtape.c (taper_scan): use new lookup_last_reusable_tape
16510 * server-src/reporter.c (output_tapeinfo): use new
16511 lookup_last_reusable_tape calling sequence.
16512 * server-src/taper.c (taper_scan): use new lookup_last_reusable_tape
16515 1998-09-11 Alexandre Oliva <oliva@dcc.unicamp.br>
16517 * client-src/sendbackup-gnutar.c (re_table): ignore
16518 `load_client_codepage' message from SAMBA
16520 1998-09-11 John R. Jackson <jrj@purdue.edu>
16522 * server-src/amstatus.pl.in (all): fix USE_VERSION_SUFFIXES=yes
16523 problems. Reported by David Eckelkamp <davide@locutus.tradewave.com>.
16525 * man/amstatus.8.in (all): fix minor typos.
16527 1998-09-10 John R. Jackson <jrj@purdue.edu>
16529 * configure.in (LFS): add code that might support configuring large
16532 1998-09-10 Alexandre Oliva <oliva@dcc.unicamp.br>
16534 * server-src/conffile.c (dump_configuration): runspercycle is not a
16535 member of dumptype_t
16536 (init_holdingdisk_defaults): init chunksize with documented default,
16537 not -1, because it wouldn't be recalculated
16539 * docs/INSTALL: URL for SAMBA was broken; note about 1.9.18p10 bug
16541 1998-09-10 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16543 * docs/SAMBA: 1.9.18p10 has a bug
16545 1998-09-09 Terje Malmedal <tm@funcom.com>
16547 * common-src/stream.c (stream_server, stream_client): added
16548 SO_KEEPALIVE option so we get an error if the other side crashes
16550 1998-09-09 Alexandre Oliva <oliva@dcc.unicamp.br>
16552 * configure.in (CHIO): look for chio and AC_SUBST it
16553 (MT, CHS): if not found, use just the program name
16555 1998-09-09 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16557 * server-src/planner.c (last_level): return the last level
16558 even it is still on holding disk if reserve < 100.
16560 1998-09-09 Alexandre Oliva <oliva@dcc.unicamp.br>
16562 * server-src/reporter.c (divzero, divzero_wide): print `#'s on
16565 * server-src/amtape.c (show_init): no longer print `scanning'
16567 (show_init_show, current_init_all): call show_init, then print the
16568 appropriate `scanning' message
16569 Reported by David Wolfskill <dhw@whistle.com>
16571 * changer-src/chg-scsi.c (main): use new multi-configuration
16572 mechanism only if tape_device contains only a single digit
16574 1998-09-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16576 * server-src/planner.c (setup_estimate): Don't write a
16577 "mismatch: no tapelist record, but curinfo next_level0" message
16578 and force a level 0 when reserve < 100.
16580 1998-09-08 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16582 * server-src/holding.h (get_amanda_names): return a filetype_t
16584 * server-src/holding.c (get_amanda_names): return the filetype_t
16585 of the file or F_UNKNOWN if it's not an amanda file.
16586 * server-src/find.c (search_holding_disk): Use the new return
16587 type of get_amanda_names.
16588 * server-src/amflush.c (flush_holdingdisk): Don't write a
16589 "ignoring cruft file" message for chunk files,
16590 filetype is F_CONT_DUMPFILE.
16592 1998-09-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16594 * recover-src/extract_list.c (extract_files_child): don't write
16595 the samba password to the debug file.
16597 1998-09-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16599 * server-src/driverio.c (update_info_dumper): set inf.command to
16600 NO_COMMAND if reserve< 100 because if you force a level 0 with
16601 'amadmin force', it will do level 0 every days until you flush them
16604 1998-09-03 Matthias Urlichs <smurf@noris.net>
16606 * recover-src/uscan.l: recognize "?" as alias for "help"
16608 * configure.in (MAILER): recognize "mail" as well as "Mail" and
16611 * client-src/calcsize.c (add_file_dump, add_file_unknown): only get
16612 sizes of directories and files
16614 * client-src/amandates.c (start_amandates): create amandates if
16615 error is either EINTR or ENOENT
16617 * common-src/dgram.c (dgram_send_addr): handle ECONNREFUSED by not
16618 dying when receiving, and retrying when sending, a packet. The
16619 server may get this error when a client reboots and hasn't started
16621 * common-src/protocol.c (handle_incoming_packet): ditto
16623 * server-src/driver.c (read_schedule): catch cases when the time
16624 goes negative. Some operators have the bad habit of syncing clocks
16627 * common-src/dgram.h (MAX_DGRAM): increased to 64Kb
16629 * client-src/amandad.c (main): read the pipe from the child
16630 incrementally: the pipe buffer of many OSes is shorter than
16631 MAX_DGRAM. Instead of SIGCHLD, note end-of-data by way of
16633 (sigchild_jump, sigchild_flag): removed
16634 * client-src/sendbackup.c (main): instead of fork-and-exit, tell
16635 amandad to process our data by closing our end of the pipe
16637 1998-09-03 Alexandre Oliva <oliva@dcc.unicamp.br>
16639 * NEWS: another typo (too late :-(
16641 1998-09-03 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16643 * server-src/driver.c: amanda will not use an holding disk
16644 if the directory with the datestamp already exist.
16646 1998-09-03 Alexandre Oliva <oliva@dcc.unicamp.br>
16648 * Amanda 2.4.1 released
16650 1998-08-27 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16654 1998-08-27 Alexandre Oliva <oliva@dcc.unicamp.br>
16656 * docs/INSTALL: update some version numbers; SAMBA 1.9.18p10 has
16657 fixed the bug in p8; using p8 is not recommended any more
16658 * docs/SAMBA: ditto
16660 * config/config.guess: updated to libtool 1.2b's, in order to
16661 auto-detect some recent architectures
16662 * config/config.sub: ditto
16664 * server-src/amcleanup.sh.in (sbindir): amreport now lives in
16665 sbindir; added it to PATH and removed full pathnames to binaries
16667 1998-08-27 Blair Zajac <blair@gps.caltech.edu>
16669 * configure.in: Add the directory /usr/lib/fs/vxfs to the search
16670 path where configure looks for vxdump and vxrestore. This is for
16671 Solaris so it can automatically handle vxfs filesystems.
16672 * client-src/sendbackup-dump.c: add missing last NULL argument to
16674 * server-src/dumper.c: add missing last NULL argument to
16676 * NEWS: reorder 2.4.1 items into most to least important for most
16678 * config/acconfig.h: update comment for VXDUMP and VXRESTORE to
16679 include systems where the Veritas filesystem is used.
16681 1998-08-21 Alexandre Oliva <oliva@dcc.unicamp.br>
16683 * man/amanda.8.in (nofull): only level 1 incrementals
16685 1998-08-20 Alexandre Oliva <oliva@dcc.unicamp.br>
16687 * changer-src/chg-mtx.sh.in (PATH): added /usr/local/bin
16689 * configure.in (BUILD_CHANGER_SCRIPTS_LIBEXEC): added chg-zd-mtx
16691 * changer-src/Makefile.am (EXTRA_SCRIPTS): ditto
16692 * docs/TAPE.CHANGERS (chg-zd-mtx): documented it
16693 (chg-mtx): mentioned chg-zd-mtx
16695 1998-08-20 Eric Doutreleau <Eric.Doutreleau@int-evry.fr>
16697 * changer-src/chg-zd-mtx.sh.in: new changer script for
16698 Zubkoff/Dandelion version of mtx.
16700 1998-08-19 Alexandre Oliva <oliva@dcc.unicamp.br>
16702 * docs/SAMBA: updated; documented new patch (sambatar.diff,
16703 available in the patches page) and requirements about backup user.
16704 * docs/INSTALL: documented new patch
16706 1998-08-18 Alexandre Oliva <oliva@dcc.unicamp.br>
16708 * client-src/sendsize.c (regex_s): refuse to compile if SAMBA_CLIENT
16709 and HAVE_DUMP_ESTIMATE are both defined: the regexp that matches the
16710 estimate from DU 4.0's dump also matches an output line from
16711 smbclient, that provides an incorrect estimate.
16712 * docs/SYSTEM.NOTES: document the problem
16714 1998-08-14 John R. Jackson <jrj@purdue.edu>
16716 * docs/TAPE.CHANGERS: describe "advance" and clean up some spelling.
16718 1998-08-13 Alexandre Oliva <oliva@dcc.unicamp.br>, Marcel Hild <hild@id-pro.de>
16720 * configure.in (--with-portrange): validate and define PORTRANGE
16721 * example/config.site: document it
16722 * config/acconfig.h (PORTRANGE): prepare for configure define
16723 * common-src/stream.c (stream_server): use PORTRANGE to limit TCP
16724 unreserved server sockets
16726 1998-08-12 Alexandre Oliva <oliva@dcc.unicamp.br>
16728 * docs/FAQ: working around `dumps way too big'
16730 1998-08-11 Alexandre Oliva <oliva@dcc.unicamp.br>, Gunnar Gunnarsson <gunnar@ki.ericsson.se>
16732 * common-src/token.h (rxquote, shquote): new functions
16733 * common-src/token.c (rxquote) quotes a string into an equivalent
16735 (shquote): quotes all shell special meta-characters, so that a
16736 string can be safely passed down for shell interpretation in
16737 system() or popen()-like calls
16738 * server-src/amindexd.c (build_disk_table): quote the disk_name with
16739 both rxquote and shquote
16741 1998-08-11 John R. Jackson <jrj@purdue.edu>
16743 * changer-src/chg-manual.sh.in: put the debug file in DEBUG_DIR for
16744 security. Clean up and enhance logging. Fix locations of the
16745 changer files. Source the changerfile into the script so it can
16746 override the request() function and allow alternatives to /dev/tty
16747 (e.g. E-mail, syslog). Issue rewind before status (Solaris does
16748 not give a good status report right after a tape is loaded).
16750 1998-08-10 Nick Hibma <nick.hibma@jrc.it>
16752 * changer-src/chg-chio.pl.in: move to first slot if last is unused
16754 1998-08-07 Alexandre Oliva <oliva@dcc.unicamp.br>
16756 * example/Makefile.am (EXTRA_DIST): add DIN-A4.ps
16758 1998-08-07 Günter Felkel <G.Felkel@edelmann.de>
16760 * example/DIN-A4.ps: new file
16762 1998-08-06 Alexandre Oliva <oliva@dcc.unicamp.br>
16764 * tape-src/tapetype.c (initrandombytes): use random() instead of
16765 rand(), its low-order bits are more random
16766 (main): call srandom(seed) instead of srand(seed)
16767 (USE_RAND): if defined, reverts to using rand() and srand(seed)
16769 * docs/FAQ: some notes about driving real tape changers
16771 1998-08-05 Alexandre Oliva <oliva@dcc.unicamp.br>
16773 * man/amreport.8.in (SYNOPSIS): replace `amtoc' with `amreport'
16775 1998-08-04 Alexandre Oliva <oliva@dcc.unicamp.br>
16777 * client-src/sendsize.c: revert 1998-08-01's change, it wouldn't
16778 even compile, as amfree() expands to a statement, not an expression,
16779 so it cannot be used as the `increment' part of a for loop.
16781 * server-src/planner.c (main): if runs_per_cycle is set to zero or
16782 negative, set it to 1, in order to avoid division by zero.
16783 * server-src/amadmin.c (balance): ditto
16785 1998-08-01 Alexandre Oliva <oliva@dcc.unicamp.br>
16787 * client-src/sendsize.c: replace free(line) with amfree(line),
16788 because line is not ensured to be non-NULL
16790 * docs/FAQ: amandad: error receiving message
16792 * docs/FAQ: difference between skip-full and strategy nofull
16794 1998-07-31 Alexandre Oliva <oliva@dcc.unicamp.br>
16796 * docs/FAQ: software or hardware compression?
16798 * server-src/driver.c (adjust_diskspace): do not abort just because
16799 a holding disk file is missing
16800 (main): report warning if holding disk directory could not be
16801 created, and do not use it
16802 Reported by Albrecht Gebhardt <agebhard@zidsrv.sci.uni-klu.ac.at>
16804 * example/Makefile.am (EXTRA_DIST): add 8.5x11.ps to the
16806 Reported by Jason L Tibbitts III <tibbs@hpc.uh.edu>
16808 * server-src/conffile.c (get_holdingdisk): define chunksize 0 as
16809 INT_MAX/1024, and chunksize -1 as -INT_MAX/1024
16810 * server-src/driver.c (find_diskspace): accept negative chunksizes
16811 as the maximum size (in modulus) for using the holding disk
16812 * man/amanda.8.in (chunksize): document the usage of negative
16813 values, and improve the explanation of chunking
16814 * example/amanda.conf.in: ditto
16816 1998-07-29 Alexandre Oliva <oliva@dcc.unicamp.br>
16818 * docs/FAQ: disk offline
16820 1998-07-27 Alexandre Oliva <oliva@dcc.unicamp.br>
16822 * restore-src/amidxtaped.c (main): use tape_rewind() instead of
16825 * server-src/amcleanup.sh.in (reporter): update to call amreport.
16826 (amdump.<n>) update to use the same renaming technique introduced in
16827 June 30's change to amdump.
16829 1998-07-25 Michael Graff <explorer@vix.com>
16831 * changer-src/Makefile.am (install-exec-hook): support $(DESTDIR)
16832 * client-src/Makefile.am (install-exec-hook): ditto
16833 * man/Makefile.am (install-data-hook): ditto
16834 * recover-src/Makefile.am (install-exec-hook): ditto
16835 * restore-src/Makefile.am (install-exec-hook): ditto
16836 * server-src/Makefile.am (install-exec-hook): ditto
16838 * configure.in: link krb5 and com_err in for Kerberos support, if
16841 1998-07-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16843 * server-src/reporter.c (copy_template_file): add braces to
16845 * tape-src/tapeio.h: declare is_zftape to remove warning in
16846 amlabel.c and taper.c
16848 1998-07-23 Alexandre Oliva <oliva@dcc.unicamp.br>
16850 * server-src/driver.c (any_delayed_disk): new variable, to ensure
16851 that we do not leave the main driver loop if there are delayed disks
16852 but there are no active dumpers
16853 (main): instead of checking whether idle_reason is IDLE_START_WAIT,
16854 check whether there is any_delayed_disk for remaining in the loop
16855 (start_degraded_mode): set any_delayed_disk when needed
16856 Reported by Peter Walker <peter@talarian.com>
16858 1998-07-23 John R. Jackson <jrj@purdue.edu>
16860 * server-src/reporter.c (main): handle LPRCMD being undefined.
16862 1998-07-23 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16864 * client-src/selfcheck.c (check_suid): new function to check if a
16865 program is SUID root.
16866 * client-src/selfcheck.c (check_overall): check that runtar and
16867 rundump are SUID root.
16869 1998-07-22 Alexandre Oliva <oliva@dcc.unicamp.br>
16871 * configure.in: version number set to 2.4.1
16873 * recover-src/Makefile.am (LDADD): libamtape imports symbols from
16874 libamanda, so it must be listed first
16876 * changer-src/Makefile.am (LDADD): remove duplication of libamserver
16877 and libamanda, as they no longer provide symbols for each other
16878 * server-src/Makefile.am (LDADD): ditto
16880 1998-07-21 Blair Zajac <blair@gps.caltech.edu>
16882 * server-src/amrmtape.sh.in: now use amanda.conf's tapelist variable
16883 * server-src/amcheckdb.sh.in: now use amanda.conf's tapelist variable
16884 * server-src/amfreetapes.sh.in: now use amanda.conf's tapelist variable
16885 * server-src/amtoc.pl.in: now use amanda.conf's tapelist variable,
16886 make perl4 compatible
16888 1998-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
16890 * docs/FAQ (results missing): suggestions to work around the UDP
16893 1998-07-16 Alexandre Oliva <oliva@dcc.unicamp.br>
16895 * docs/FAQ (amrecover): a config name may have to be specified
16896 Reported by digital messiah <dmessiah@silcon.com>
16898 1998-07-15 Blair Zajac <blair@gps.caltech.edu>
16900 * server-src/reporter.c (main): declare optind
16902 1998-07-15 Alexandre Oliva <oliva@dcc.unicamp.br>
16904 * configure.in: created Amanda 2.4.1 branch
16906 * example/amanda.conf.in: strategy noinc is not implemented yet
16908 1998-07-14 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
16910 * NEWS: new runspercycle keyword
16911 * server-src/conffile.h: new runspercycle keyword
16912 * server-src/conffile.c: new runspercycle keyword
16913 * server-src/amadmin.c (balance): new runspercycle keyword
16914 * server-src/planner.c (main): new runspercycle keyword
16915 * man/amanda.8.in: document new runspercycle keyword
16916 * example/amanda.conf.in: example for new runspercycle keyword
16918 1998-07-13 Alexandre Oliva <oliva@dcc.unicamp.br>
16920 * docs/FAQ: What to do if DUMP program is not available.
16921 * client-src/selfcheck.c (check_overall): if a needed program is
16922 missing, print an error message.
16923 Reported by Klaus Hoffmann <handatalog@csi.com>
16925 * */Makefile.am: checked library version numbers, no need for update
16927 * configure.in: version number set to 2.4.1b1
16929 1998-07-11 Alexandre Oliva <oliva@dcc.unicamp.br>
16931 * docs/FAQ: new entries: how to label tapes, (not) spanning large
16932 filesystems across tapes, how to enable index generation,
16933 overwriting selected tapes, cleaning up databases, selecting tape
16936 1998-07-10 Alexandre Oliva <oliva@dcc.unicamp.br>
16938 * man/Makefile.am (EXTRA_DIST): amreport.8 is built from .8.in
16940 * configure.in (AC_OUTPUT): generate chg-chio.pl
16941 * changer-src/Makefile.am (EXTRA_DIST): removed chg-chio.c
16942 * changer-src/chg-chio.c: removed, as it was confusing make
16944 1998-07-10 Nick Hibma <nick.hibma@jrc.it>, Alexandre Oliva <oliva@dcc.unicamp.br>
16946 * changer-src/chg-chio.pl.in: new script, created to replace old
16947 chg-chio written in C
16948 * docs/TAPE.CHANGERS (chg-chio): document it
16949 * changer-src/Makefile.am (EXTRA_SCRIPTS): add chg-chio
16950 (EXTRA_DIST): still include chg-chio.c, just in case it is useful
16951 * configure.in (BUILD_CHANGER_SCRIPTS_LIBEXEC): add chg-chio
16953 1998-07-08 Alexandre Oliva <oliva@dcc.unicamp.br>
16955 * server-src/reporter.c (main): if no arguments are given, preserve
16956 original behavior; require config name otherwise. Perform better
16958 * example/DLT.ps (DrawHost): discard additional argument introduced
16959 in Steven Freed's modification
16960 * example/EXB-8500.ps (DrawHost): ditto
16961 * example/HP-DAT.ps (DrawHost): ditto
16963 * server-src/Makefile.am (amreport_SOURCES): build from reporter.c
16964 (driver_SOURCES) removed, no longer needed
16965 * man/Makefile.am (EXTRA_DIST): added amreport.8
16967 1998-07-08 Steven Freed <sfreed@gilasoft.com>
16969 * server-src/reporter.c (usage): new function
16970 (main): accept command-line arguments for selecting config name,
16971 output file, log file name to read from, postscript file to write
16973 (output_summary): print tape labels list, tape section numbers and
16975 * server-src/amdump.sh.in: run amreport
16976 * server-src/amflush.c (main): ditto
16978 * configure.in (BUILD_SERVER_PROGS_SBIN): add amreport
16979 (BUILD_SERVER_PROGS_LIBEXEC): remove reporter
16980 * man/amreport.8.in: new file
16981 * man/Makefile.am (man_MANS): added amreport.8
16982 * example/8.5x11.ps: new file
16984 1998-07-08 Alexandre Oliva <oliva@dcc.unicamp.br>
16986 * Makefile.am (ACLOCAL_M4): fix ||/&& precedence problem
16988 1998-07-07 John R. Jackson <jrj@purdue.edu>
16990 * changer-src/scsi-chio.c: move #include's so this will compile on
16991 systems without <sys/mtio.h> (e.g. AIX).
16993 1998-07-06 John R. Jackson <jrj@purdue.edu>
16995 * client-src/sendsize.c (handle_dumpline): allow the dump block
16996 count estimate to be negative. Found by Lance A. Brown
16997 <brown9@niehs.nih.gov> on NeXT.
16999 * common-src/Makefile.am, common-src/security.c: add TEST code to
17000 security.c so people can do "make security" and have a test program
17001 to track down why they are getting "access as XXX not allowed from
17004 * common-src/security.c (bsd_security_ok): allow the remote user
17005 field in .amandahosts to be empty ala .rhosts.
17007 1998-07-04 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17009 * server-src/amcheck.c (start_server_check): report space use for
17010 holding disk if a negative value is given in the use parameter.
17012 * server-src/driver.c (main): compute holding disk space if
17013 a negative value is given in the use parameter..
17015 * man/amanda.8.in (use) : document negative use paramater for
17018 * example/amanda.conf.in (use): document negative use paramater for
17021 1998-07-04 Alexandre Oliva <oliva@dcc.unicamp.br>
17023 * man/amanda.8.in (reserve): document it
17024 * example/amanda.conf.in (reserve, gigabytes): ditto
17025 (etimeout) negative number stands for total estimate time
17027 * NEWS: documented major changes since amanda 2.3.0.4
17029 * docs/INSTALL: refer to patch-system for editing services and
17032 * docs/FAQ: added entries for common amdump and amcheck errors
17034 * COPYRIGHT: updated to 1998, refer to Amanda Development Team
17035 * AUTHORS: who is the Amanda Development Team
17037 1998-07-03 John R. Jackson <jrj@purdue.edu>
17039 * docs/SYSTEM.NOTES: add comment about using the variable device name
17040 on IRIX. Otherwise, IRIX will write 4KByte physical blocks, which
17041 it appears to read OK, but not if you take the tape to some other
17042 system that does what you tell it. Discovered by Steve E. Khoo
17043 (steve@gordian.com).
17045 1998-07-02 Alexandre Oliva <oliva@dcc.unicamp.br>
17047 * server-src/planner.c (setup_estimate): handle new disks with
17048 skip-full correctly.
17050 * Makefile.am (aclocal.m4): must depend on libtool.m4, so as to
17051 force it to be newer on distributions.
17053 1998-07-01 John R. Jackson <jrj@purdue.edu>
17055 * server-src/driverio.h: change reserved_space to unsigned long to
17056 match free_space() and avoid a compiler warning.
17058 1998-06-30 John R. Jackson <jrj@purdue.edu>
17060 * man/amanda.8.in: fix amrecover synopsis and add a short description.
17061 Noted by Brendan M Coffey <bcoffey@connix.com>.
17063 * example/amanda.conf.in: make tapecycle example fit dumpcycle value
17064 better. Noted by Tom.Croll@radisys.com and suggested comments from
17065 Alexandre Oliva <oliva@dcc.unicamp.br>.
17067 1998-06-30 Alexandre Oliva <oliva@dcc.unicamp.br>
17069 * server-src/amdump.sh.in (maxdays): set up with tapecycle+2
17070 (days): loops from 1 to $maxdays, but stops if amdump.$days does not
17071 exist, so that we only rename amdump log files that exist. This
17072 prevents too long loops in case of an infinite tapecycle.
17073 Reported by Nick Hibma <nick.hibma@jrc.it>
17075 1998-06-28 Alexandre Oliva <oliva@dcc.unicamp.br>
17077 * common-src/security.c (bsd_security_ok): accept case mismatches
17078 when comparing hostnames and usernames from amandahosts, and assume
17079 localuser if username is missing.
17080 * docs/INSTALL: clarify BSD security and amandahosts, WRT to
17082 Reported by Chris Shenton <chris@absinthe.shenton.org>
17084 * server-src/reporter.c (output_tapeinfo): degraded mode no longer
17085 implies incremental dumps only.
17086 Reported by Randy Dees <rrd@amherst.com>
17088 1998-06-26 John R. Jackson <jrj@purdue.edu>
17090 * configure.in: fix BSD/OS Kerberos include file location.
17092 1998-06-26 Alexandre Oliva <oliva@dcc.unicamp.br>
17094 * config/ltmain.sh: install official patch to libtool 1.2a
17096 * configure.in: do not set max file size for Solaris 2.6, it is no
17099 1998-06-26 Tim McNerney <mumbly@netcom.com>
17101 * common-src/fileheader.c (parse_file_header): accept missing
17102 PROGRAM in tape section header, for backward compatibility.
17104 1998-06-25 Blair Zajac <blair@gps.caltech.edu>
17106 * server-src/amflush.c: fix mismatch arguments to error()
17108 1998-06-24 Steven Freed <sfreed@gilasoft.com>
17110 * configure.in (dump-honor-nodump): fix test for `-h' support
17112 1998-06-24 Scott Mesches <mesches@allison.Colorado.EDU>
17114 * example/DLT.ps: new file
17115 * example/Makefile.am (EXTRA_DIST): add DLT.ps
17117 1998-06-24 Alexandre Oliva <oliva@dcc.unicamp.br>
17119 * Makefile.am (EXTRA_DIST): moved CHANGES into ChangeLog
17121 * recover-src/extract_list.c (extract_files_child): handle
17122 IS_UNKNOWN dumptype as IS_DUMP
17124 * client-src/sendsize.c (getsize_dump): always create pipe for
17127 * client-src/amandad.c (sendnak): report `UNKNOWN' error if str is
17130 * amplot/amplot.awk: ignore `interface-state'
17131 Reported by Peter Walker <peter.walker@talarian.com>
17133 1998-06-24 Alexandre Oliva <oliva@dcc.unicamp.br>
17135 * server-src/amrmtape.sh.in: enable verbose by default; implement -q
17137 * man/amrmtape.8.in: ditto
17138 Suggested by Nick Hibma <nick.hibma@jrc.it>
17140 1998-06-24 Nick Hibma <nick.hibma@jrc.it>
17142 * server-src/amrmtape.sh.in: better error reporting for incorrect
17145 1998-06-24 Dan Swartzendruber <dswartz@druber.com>
17147 * server-src/conffile.h (RESERVE): new keyword.
17148 * server-src/conffile.c (RESERVE): ditto.
17149 (getconf_seen): recognize "reserve" keyword.
17150 (getconf_int): return value of "reserve" keyword.
17151 (read_confline): parse "reserve" line.
17152 * server-src/driverio.h (reserved_space): new global
17153 * server-src/driver.c (main): compute holding disk space to reserve
17154 for degraded dumps.
17155 (start_degraded_mode): if we haven't hit degraded mode reservation
17156 limit, allow full dump.
17158 1998-06-18 Blair Zajac <blair@gps.caltech.edu>
17160 * config/ltconfig: update to 1.2a
17161 * config/ltmain.sh: update to 1.2a
17162 * config/libtool/libtool.m4: update to 1.2a
17164 1998-06-17 John R. Jackson <jrj@purdue.edu>
17166 * server-src/dumper.c (write_tapeheader): comment out some variables
17167 to get rid of a compiler warning.
17169 1998-06-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17171 * server-src/amadmin.c (bumpsize): write wrong equation for bump
17174 1998-06-15 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17176 * man/amanda.8.in: add info about the chunksize parameter
17177 of the holdingdisk.
17178 * man/amanda.8.in: add info about amstatus command
17180 1998-06-13 Alexandre Oliva <oliva@dcc.unicamp.br>
17182 * common-src/Makefile.am (libamanda_version): updated
17183 * tape-src/Makefile.am (libtape_version): updated
17184 * client-src/Makefile.am (libclient_version): updated
17185 * server-src/Makefile.am (libserver_version): updated
17187 * server-src/taper.c (read_file): if switching to the next file
17188 fails or there's no next file, do not send a `W' to taper writer.
17190 * server-src/changer.h (changer_clean): new function
17191 * server-src/changer.c (changer_clean): ditto
17193 1998-06-13 Michael C. Povel <mcp@ladyada.han.de>
17195 * changer-src/chg-scsi.c: added ejetct_tape and sleep for external
17196 tape devices, and changed some code to allow multiple drives to use
17197 their own slots. Also added support for reserverd slots.
17198 * changer-src/libscsi.h (get_clean_state, eject_tape): new functions
17199 * changer-src/scsi-chio.c (get_clean_state, eject_tape): implemented
17201 * changer-src/scsi-hpux.c (get_clean_state, eject_tape): do nothing,
17202 until someone implements them
17203 * changer-src/scsi-proto.c (get_clean_state, eject_tape): new
17205 * docs/TAPE.CHANGERS: document new configuration file format
17206 * example/chg-scsi.conf: sample configuration file
17207 * example/Makefile.am: add chg-scsi.conf to the distribution
17208 * server-src/amtape.c: add support for `clean' command
17210 1998-06-13 Alexandre Oliva <oliva@dcc.unicamp.br>
17212 * docs/SYSTEM.NOTES: clean-up
17214 * docs/FAQ: new file
17215 * docs/SUNOS4.BUG: removed
17216 * Makefile.am: remove docs/SUNOS4.BUG and add docs/FAQ
17218 * example/amanda.conf.in (bumpmult): fixed equation for threshold
17219 * man/amanda.8.in (bumpsize): fix threshold example.
17220 problem reported by Brian McEntire <brianm@fsg1.nws.noaa.gov>
17222 * server-src/logfile.c (open_log): open log file with mode 0600.
17224 * server-src/amdump.sh.in: refuse to run if either amdump or log
17226 * server-src/amflush.c (main): refuse to run if log exists.
17227 * server-src/amcheck.c (start_server_check): do not perform tape
17228 testing if amdump and/or log exist in logdir.
17230 1998-06-11 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17232 * restore-src/amrestore.c (restore): fixed -p flag (and amrecover)
17233 should not dup2( A, B ); aclose(A) when A == B
17235 1998-06-10 Alexandre Oliva <oliva@dcc.unicamp.br>
17237 * client-src/sendsize.c (getsize_dump): use killpgrp
17238 unconditionally, so we're not bitten by setuid dump programs.
17239 * client-src/killpgrp.c: enable unconditionally.
17241 * tape-src/tapetype.c: new program: calculates tapetype parameters.
17242 * tape-src/Makefile.am (EXTRA_PROGRAMS): added tapetype.
17243 * example/amanda.conf.in: point to tapetype program.
17245 1998-06-09 Alexandre Oliva <oliva@dcc.unicamp.br>
17247 * docs/SAMBA: added notes about (not) backing up registry files and
17249 * docs/INSTALL: point to docs/SAMBA for usage and limitations
17251 1998-06-08 Alexandre Oliva <oliva@dcc.unicamp.br>
17253 * configure.in (amanda_cv_print_command): removed; using PRINT
17256 1998-06-07 Todd Kover <kovert@omniscient.com>
17258 * add --with-owner option to allow installed binaries to be owned
17259 by someone other than the amanda user
17261 * add GB as valid holding disk size.
17263 1998-06-07 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17265 * server-src/amadmin.c (info): don't need to specify an host.
17267 * server-src/amadmin.c (due): new due command to write when a
17268 filesystem is due ffor next level 0 or how much days it is
17271 * server-src/amstatus.pl.in (dump_size): new function to report
17272 the size of a dump split on multiple files.
17274 1998-06-05 Jean-Louis Martineau <martineau@IRO.UMontreal.CA>
17276 * recover-src/extract_list.c (read_buffer): write a message
17277 when amrecover timeout waiting for amrestore to send the dump.
17279 1998-06-04 John R. Jackson <jrj@purdue.edu>
17281 * client-src/getfsent.c (main): use a dynamically allocated string
17282 for the lookups since dev2rdev alters it on the fly and some systems
17283 drop core for trying to write into read only memory. Also add the
17284 capability of passing additional lookups on the command line.
17286 * common-src/Makefile.am, common-src/file.c (main),
17287 common-src/token.c (main), server-src/conffile.c (dump_configuration,
17288 main), server-src/diskfile.c (main), server-src/infofile.c (main):
17289 Clean up compiler warnings in the test programs and make them all
17292 1998-06-03 Alexandre Oliva <oliva@dcc.unicamp.br>
17294 * amplot/amplot.sh.in: modified command line argument parsing
17295 mechanism, so as to prevent shell quoting problems and unportable
17297 Reported by Chris Jones <cjones@clydesdale.math.montana.edu>
17299 1998-06-02 John R. Jackson <jrj@purdue.edu>
17301 * server-src/amcheck.c (main), server-src/reporter.c (main): make
17302 sure internal errors, such as the mail command failing, get
17303 reported. In the case of amcheck, they go to stderr even if -m is
17304 set since there didn't seem to be anyplace better to do so and if
17305 this is running from a cron job it might get back to a real user.
17306 For reporter, the errors go to .../amdump along with everything
17307 else from the amdump script, and they should also go to .../log,
17308 except since it's reporter that's having the trouble, they probably
17309 will not make it into the mail report.
17311 1998-06-01 John R. Jackson <jrj@purdue.edu>
17313 * client-src/killpgrp.c: clean up minor compiler warnings by not
17314 building term_kill_{soft,hard} unless they are needed.
17316 * server-src/driverio.c (dumper_cmd): clean up compiler warning
17317 in printf format by forcing argument to always be long and using %ld.
17319 * server-src/driver.c: include <holding.h> to get declaration for
17320 unlink_holding_files and avoid a compiler warning.
17322 * common-src/amanda.h, common-src/match.c (validate_glob, match_glob,
17323 glob_to_regex), recover-src/amrecover.h, recover-src/extract_list.c
17324 (add_glob, add_regex, add_file, delete_glob, delete_regex,
17325 delete_file), recover-src/help.c (help_list), recover-src/uparse.y,
17326 recover-src/uscan.l, man/amrecover.8.in: add shell wildcard support
17327 for the add/delete amrecover commands. Add addx/deletex commands
17328 that use regular expressions. Support more characters in path names.
17330 1998-06-01 Dan Swartzendruber <dswartz@druber.com> via John R. Jackson
17332 * server-src/amlabel.c (main): check argc before referencing too
17333 far into argv for "-f".
17335 1998-06-01 Alexandre Oliva <oliva@dcc.unicamp.br>
17337 * docs/SYSTEM.NOTES: advise Linux users to use dump without
17340 * docs/INDEXING: update dumptype syntax
17342 1998-05-29 John R. Jackson <jrj@purdue.edu>
17344 * server-src/amindexd.c (uncompress_file, process_ls_dump,
17345 build_disk_table, is_dir_valid_opaque, opaque_ls): fix file
17346 descriptor leak, log the amadmin find command, fix error reporting
17347 from routines that do not generate system errors.
17348 * common-src/amanda.h: make sure errno is saved through amfree().
17350 1998-05-28 Alexandre Oliva <oliva@dcc.unicamp.br>
17352 * docs/SYSTEM.NOTES: GNU tar must be patched on HP/UX.
17353 * patches/tar-1.12.patch: ditto.
17355 * server-src/taper.c (endtape): do not log amount of used tape after
17356 entering degraded mode.
17358 * client-src/sendsize.c (getsize_dump): pass at least argv[0] to
17361 1998-05-28 Paul R. Johnson <prj@mit.edu>
17363 * client-src/sendbackup.c (check_status): when checking whether
17364 return status 1 is valid for dump, make sure it was *not* tar that
17367 1998-05-28 Tom Lear <toml@accesscom.com>, John R. Jackson <jrj@purdue.edu>
17369 * man/amcheck.8.in: document new -Maddress command line flag.
17370 * server-src/amcheck.c (usage, main): add -Maddress command line
17371 flag to send mail to a specific address instead of mailto from
17374 1998-05-27 John R. Jackson <jrj@purdue.edu>
17376 * man/amrestore.8: update for host/disk/date triplets.
17377 * recover-src/extract_list.c (extract_files_setup): pass datestamp
17378 argument in new position and without -d.
17379 * restore-src/amidxtaped.c (main): remove -d checks.
17380 * restore-src/amrestore.c (restore, usage, main): fix file descriptor
17381 leak, move datestamp to host/disk triplet and allow all to be repeated.
17383 1998-05-27 Alexandre Oliva <oliva@dcc.unicamp.br>
17385 * client-src/killpgrp.c (main): wait for either SIGTERM or EOF on
17388 * client-src/sendsize.c (getsize_dump): close the other end of
17389 killpgrp's stdin pipe before trying to kill it, because we just
17392 * configure.in (HAVE_HPUX_SCSI): check whether sys/scsi.h actually
17393 supports HP/UX-like changer commands.
17395 * config/acconfig.h (HAVE_HPUX_SCSI): indicates HP/UX-like changer
17396 interface is supported.
17398 * changer-src/scsi-hpux.c: check for HAVE_HPUX_SCSI instead of
17401 1998-05-25 Allen Briggs <briggs@canolog.ninthwonder.com>
17403 * changer-src/chg-manual.sh.in (ONLINEREGEX): add `^er=0$' for
17406 1998-05-23 Alexandre Oliva <oliva@dcc.unicamp.br>
17408 * client-src/sendsize.c (getsize_dump): killpgrp must be direct
17409 child of sendsize, otherwise sendsize won't be able to kill it.
17411 1998-05-23 Alexandre Oliva <oliva@dcc.unicamp.br>
17413 * configure.in (bcopy, bzero, fread, fwrite, vfprintf, vprintf,
17414 vsprintf): check for these in stdlib.h
17415 (memmove): check for it in strings.h
17417 * common-src/amanda.h (memmove): fix declaration of memmove, so as
17418 to be compatible with the ones in common-src/memmove.c and
17419 regex-src/fake/memmove.c
17421 reported by Tim Potter <tpot@acsys.anu.edu.au>
17423 1998-05-20 Alexandre Oliva <oliva@dcc.unicamp.br>
17425 * client-src/sendbackup.c (check_status): when checking whether dump
17426 returned 1, make sure it was not tar; #ifdef'ed out the code that
17427 ignores exit status 2 from gnutar (will be compiled in only if
17428 IGNORE_TAR_ERRORS is defined)
17429 * client-src/sendbackup-gnutar.c (GNUTAR active filesystem errors):
17430 updated comment; compile in GNUTAR error messages as DMP_NORMAL if
17431 IGNORE_TAR_ERRORS is defined; compile in SMBCLIENT error messages as
17432 DMP_NORMAL if IGNORE_SMBCLIENT_ERRORS is defined.
17434 1998-05-20 Tom Lear <toml@accesscom.com>
17436 * client-src/sendbackup.h (tarpid): new variable, used to check
17437 whether it is gnutar that is running
17438 * client-src/sendbackup-gnutar.c (start_backup): set tarpid when
17440 * client-src/sendbackup.c (check_status): if gnutar returns 2,
17443 1998-05-19 Jean-Louis Martineau <martineau@IRO.UMontrealCA>
17445 * client-src/amandad.c: set parse_errmsg when unexpected packet
17446 * recover-src/amrecover.c: overflow in clean_pathname()
17447 * recover-src/extract_list.c: add log in delete_file().
17448 small bug when call clean_pathname()
17449 * server-src/amindexd.c: ORLD command is not working
17450 * server-src/dumper.c: fixe overflow
17452 1998-05-17 Alexandre Oliva <oliva@dcc.unicamp.br>
17454 * configure.in: do not check for MAXFILESIZE
17455 * config/acconfig.h: do not define MAXFILESIZE
17456 * server-src/conffile.c: use INT_MAX instead of MAXFILESIZE
17457 * example/amanda.conf.in: ditto
17459 * server-src/driver.c (interface_state): new function; print the
17460 free bandwidth for each interface.
17461 (short_dump_state): call interface_state before holdingdisk_state
17463 * ChangeLog: renamed from CHANGES. Original entries follow.
17465 fix skip-incr handling so that reporter reports SKIPPED
17466 instead of missing result.
17467 -Jim Simmons <s4i@sws6.ctd.ornl.gov>
17469 split big dumps ( > MAXFILESIZE ) in multiple files on holding disk.
17470 new chunksize parameter in holdingdisk description of
17471 the amanda.conf file.
17472 -J-L Martineau <martineau@IRO.UMontreal.CA>
17474 an amstatus command that give the current state of a run.
17475 -J-L Martineau <martineau@IRO.UMontreal.CA>
17477 possibility to amflush multiple runs on one tape.
17478 possibility to select dump by datestamp in amrestore (-d datestamp).
17479 -J-L Martineau <martineau@IRO.UMontreal.CA>
17481 amidxtrm keep index of all active tapes as listed in tapelist file.
17482 -J-L Martineau <martineau@IRO.UMontreal.CA>
17484 the tapelist file keep every active tapes.
17485 "amadmin reuse" and "amadmin no-reuse" to mark tapes you want
17486 to keep for a long time.
17487 -J-L Martineau <martineau@IRO.UMontreal.CA>
17489 amlabel will not overwrite an amanda tape.
17490 The -f flag allow to overwriting an amanda tape.
17491 -J-L Martineau <martineau@IRO.UMontreal.CA>
17493 be consistent and use 1048576 as a dump size everyplace instead of
17494 100000 in some places (mostly cosmetic). -JJ
17496 negative numbers are now accepted in the configuration file
17499 allow a total estimate time-out to be specified. -oliva
17500 Suggested by Martyn Johnson <Martyn.Johnson@cl.cam.ac.uk>
17502 fix amtoc behavior in case of failed reads.
17503 -Niek Rijnbout <niek@knoware.nl>
17505 index files are now stored in a directory tree ala curinfo instead
17506 of a flat namespace. -JJ
17508 amrecover will now restore files using SAMBA.
17509 -Rob Riggs <rob@devilsthumb.com>
17511 VXDUMP needs not be run as root, so it no longer enables
17512 rundump automatically. -oliva
17514 new `killpgrp' setuid-root program. It is used to kill
17515 VDUMP, VXDUMP and XFSDUMP or with-rundump DUMP estimates in a
17517 -Joerg Behrens <jbehren@umpa06.gwdg.de> & oliva
17519 fixed amrmtape so that it will delete from tapelist only the
17520 entry that corresponds to the specified tape, not others that
17521 contain the tape name as a substring.
17522 -Nick Hibma <nick.hibma@jrc.it> & oliva
17524 Added support for FreeBSD dump -h flag (honor nodump).
17525 -James E. Housley <housley@pr-comm.com>
17527 Added support for ZFTAPE on Linux.
17528 -Albrecht Gebhardt <agebhard@zidsrv.sci.uni-klu.ac.at>
17530 Added support for printing tape labels.
17531 -Scott Mesches <mesches@allison.Colorado.EDU>
17533 Do not let amrecover die because of SIGPIPE if the pager terminates
17534 early during a long listing. Use the PAGER environment variable if
17535 available, else "more". -JJ
17537 Change log() calls to log_add() so it does not conflict with the math
17538 function of the same name. Replace pname global variable with two
17539 functions to set/get. Get rid of libamnolog. -JJ
17541 chg-chio was renamed to chg-scsi, and now it will support not
17542 only chio.h, but also tape changer interfaces available on
17543 HPUX, Solaris 2.5, IRIX and possibly others. Currently, only
17544 chio and HPUX are implemented.
17545 -Eric Schnoebelen <eric@cirr.com>
17547 Numerous bugs/errors were fixed in chg-chio/chg-scsi. it now
17548 properly responds to -eject requests, among other things.
17549 -Eric Schnoebelen <eric@cirr.com>
17553 updated to libtool 1.2a. -oliva
17555 fix kerberos encryption to work. -Chris Ross <cross@uu.net>
17557 add --with-owner option to optionally not have things owned by
17558 the amanda user. (meant to be in 2.4.0) -kovert
17560 only call initgroups() if it is available. -oliva
17562 check whether GNUTAR_LISTED_INCREMENTAL_DIR is a directory.
17563 -oliva, reported by J.A. Gutierrez <spd@gtc1.cps.unizar.es>
17565 amindexd no longer considers prefixes of hostnames as valid
17568 fix strappend2 so that it accepts a NULL first argument.
17569 -Rob Riggs <rob@devilsthumb.com>
17571 pass kerberos encryption switch to client.
17572 -Fredrik Jönsson <fjo@nada.kth.se>
17574 rename afree to amfree, to work around IRIX 6.4's afree.
17575 -oliva, reported Stephan P. Martin <smartin@schlund.de>
17577 implement `strategy skip' just like `ignore'.
17579 reported by Michael O'Shaughnessy <mikeo@emg.sms.siemens.com>
17581 amcheck now checks whether COMPRESS_PATH is executable, which
17582 would prevent server-compression and indexing from working.
17583 -oliva, reported by Peter Schultze <peter@mbi.ucla.edu>
17585 fixed dump estimate regular expression for DU 4.0.
17586 -Andreas Schmitz <schmitz@theorie.physik.uni-wuppertal.de>
17590 fixed memory corruption error in amtape.
17593 fixed VXDUMP support.
17594 -Andrew Ivanov <ivanov@mics.msu.su> & oliva
17596 typos fixed in chg-chs.
17597 -David Barr <dbarr@simplex.com>
17599 chg-mtx now prints error message if tapedev or changerdev must
17601 -Adrian T. Filipi-Martin <atf3r@cs.virginia.edu>
17603 fixed amflush problem, reported by Dietmar Goldbeck
17604 <dietmar@telemedia.de> -oliva
17606 Version 2.4.0-980319
17608 chg-mtx should use changer-dev if specified.
17609 -Steve Khoo <steve@gordian.com>
17611 flex-related backward-compatibility problem fixed.
17612 -Norman K Scherer <nsche@seros-48.hac.com>
17614 ported to RISCOS 4BSD. -Harlan Stenn <Harlan.Stenn@pfcs.com>
17616 when amrecover starts up, it will warn you $CWD is not the root
17617 of the selected filesystem. -oliva
17619 removed all uses of #elif, because some C compilers won't
17620 handle it correctly. -Gunther Felkel <G.Felkel@edelmann.de>
17622 fixed VDUMP-only (no DUMP defined) estimates.
17623 -Joern Behrens <jbehren@umpa05.gwdg.de>
17625 ported to UnixWare. -Jeff Moscow <jeff@rtr.com>
17627 improved vxdump support so that rundump will be used for vxfs
17628 filesystems only, and it will be enabled automatically. -oliva
17630 various portability problems fixed.
17632 taper will now log reason for tape error to log.<DATE> file,
17633 in addition to amdump.<n>.
17634 -Liudvikas Bukys <bukys@cs.rochester.edu>
17636 amflush now correctly updates the info database. -oliva
17637 reported by Liudvikas Bukys <bukys@cs.rochester.edu>
17639 sendsize now wait()s for tar and samba child processes. -oliva
17640 reported by Brian Morris <brian@mvhs.fuhsd.org>
17642 ensure that `amadmin find' reports multiple backups performed on
17643 the same day in the correct sequence.
17644 -Liudvikas Bukys <bukys@cs.rochester.edu>
17646 if backup server has multiple IP addresses, security code
17647 might reject it. -Gunnar Gunnarsson <gunnar@ki.ericsson.se>
17649 vdump would not work. -oliva
17651 kerberos support was broken. -mike
17653 Version 2.4.0-980222
17655 retry tape open on AIX if it fails with EAGAIN errno.
17656 -Francois Morris <Francois.Morris@lmcp.jussieu.fr>
17658 fix amrmtape so that it behaves well when files to amflush
17659 remain. Reported by Dietmar Goldbeck <dietmar@telemedia.de>
17661 retry tape rewind on FreeBSD. -Bob Willcox <bob@prm.com>
17663 read all output from amrestore otherwise, instead of the
17664 beginning of the next tape section, it would read garbage.
17665 -Terje Malmedal <tm@odin.funcom.com> & oliva
17667 formatting error in amoverview fixed.
17668 -Terje Malmedal <tm@odin.funcom.com>
17672 use vdump to dump advfs filesystems only. add support for vdump
17674 -Martyn Johnson <Martyn.Johnson@cl.cam.ac.uk> & oliva
17676 change index generation commands so that they are less prone
17677 to be fooled by blanks or strange characters in filenames.
17680 check whether exclude-list file exists before calling gnutar.
17681 If it does not, log a message to debugging file and discard it.
17682 selfcheck should check for that too, and print a warning message,
17683 but this is left for a future version. -oliva
17685 fix sendbackup-gnutar crashing problem. -oliva
17687 ensure that, in case of tape failure when dumping to tape, no
17688 incremental relative to the failed backup is performed.
17689 -oliva & Liudvikas Bukys <bukys@cs.rochester.edu>
17691 Fix buffer use and write() error handling in the index pipeline.
17692 -Dietmar Goldbeck <dietmar@telemedia.de>
17693 & Lars Fenneberg <lf@elemental.net>
17695 new index generation commands. -oliva
17699 accept curses and ncurses in addition to termcap for readline
17700 support, just as readline itself does. -oliva
17702 fix NO-ROOM handling when Kerberos encryption is enabled.
17703 -oliva & Eric Siegerman <erics@now.com>
17705 patch file for automake 1.2d provided. -oliva
17707 sendbackup.debug now contains the argument list of child
17710 wait() for child processes, such as server compressor, before
17711 accepting other commands.
17712 -Liudvikas Bukys <bukys@cs.rochester.edu>
17714 amrecover will print an error message if it is not run by root.
17715 It will not crash if you `pwd' before selecting a disk. -oliva
17717 updated to libtool 1.0i. -oliva
17719 fixed tape block size of vxdump on HPUX 10.20.
17720 -Andrew Ivanov <ivanov@mics.msu.su>
17722 Use "a" mode instead of "w" for the fdopen of the debug file.
17723 -David Lamkin <drl@net-tel.co.uk>
17725 allow multiple concurrent gnutar backups, by fixing amandates
17727 -Liudvikas Bukys <bukys@cs.rochester.edu>
17729 amdump should check for a hold file, as says the man-page.
17732 fix automatic enabling of USE_RUNDUMP for systems that require
17733 this. xfsdump support no longer requires USE_RUNDUMP to be
17734 defined, rundump will be enabled and used for xfs filesystems
17735 even if USE_RUNDUMP is not defined, unless XFSDUMP is not defined.
17736 This seems to have completely solved the xfsdump problems.
17739 when USE_RUNDUMP is enabled, instead of checking for read or write
17740 access in selfcheck, just test for the existence of disk devices.
17743 fixed code that computed the dump size when incomplete
17744 writes occurred in dumper. -Eric Siegerman <erics@now.com>
17746 amplot no longer crashes if there's no holding disk. -oliva
17750 fix xfsdump index generation command.
17751 -Robert Tarrall <tarrall@bamboo.colorado.edu>
17753 tape device wouldn't rewind if opened O_WRONLY.
17754 -Palle Girgensohn <girgen@partitur.se> & oliva
17756 use setpgid instead of setpgrp if available
17757 -Mark Woodford <woodford@uniprise.com> & oliva
17759 chg-mtx will check whether slot 6 is a cleaning tape or not.
17760 -Martyn Johnson <Martyn.Johnson@cl.cam.ac.uk>
17762 amrmtape updated to text database. -oliva
17764 incorrect NO-ROOM error when dumping directly to tape fixed.
17767 --with-user and --with-group become are now required. -oliva
17769 patch-system script much more configurable. -oliva
17771 amindexd must get an exact match for diskname.
17772 -Richard Kail <e8903122@student.tuwien.ac.at> & oliva
17774 fix serial number message in amflush
17775 -Liudvikas Bukys <bukys@cs.rochester.edu>
17777 removed backslashes from inside macro calls.
17778 un-indented # directives.
17779 -Gregory Neil Shapiro <gshapiro@WPI.EDU>
17781 bsd-security is now enabled by default. -oliva
17783 fixed estimate command for XFSDUMP.
17784 -Mark Radleigh <radleigh@image.ucr.edu>
17785 & Jeff Moskow <jeff@rtr.com>
17789 documented etimeout configuration option. -oliva&jrj
17791 prevent a few crashes in dumper and reporter. -jrj
17793 reporter would report the same host and disk for RESULTS MISSING.
17796 fix a few file-locking configure bugs. -oliva
17798 chg-multi updates and bugfixes.
17799 -Liudvikas Bukys <bukys@cs.rochester.edu>
17803 amindexd bugfix -Jos Alsters <Jos.Alsters@sci.kun.nl>
17805 New --disable-libtool configure option, for those who really don't
17806 want libraries to be installed. Shared libraries won't be
17807 built, of course. -oliva
17809 samba-related bugfixes.
17810 -Klaus Thiele <kth@becker-software.com>
17812 xfsdump, DNS and amidxtaped bugfixes. -martineau
17814 exclude-list support was broken, the filename was not copied
17815 to the gnutar argument list.
17816 -Stefan Bohm <Stefan.Bohm@rp-online.de>
17818 chg-chio still thought it was seagate-changer, and contained a
17819 few bugs. -Tim Tsai <tim@futuresouth.com>
17821 New file docs/RESTORE, by Daniel Moore <dmoore@jeffco.k12.co.us>
17825 Make sure amverify waits for the tape device to be ready before it
17826 starts reading each section. -oliva
17828 Fix amrecover so that it accepts filenames with blanks.
17829 -J. Shirk <jshirt@ksu.edu> & oliva
17831 Add a TIMEOUT config file parameter to replace the hard coded value
17832 in planner. -Daniel David Benson <bensond@ucdavis.edu>
17834 Change amrecover/amindexd/amidxtaped to require a SECURITY
17835 exchange if --with-bsd-security is enabled. It is done on a
17836 reserved port, which means amrecover must be run as root and that
17837 amindexd/amidxtaped need an entry for the incoming amrecover in
17838 either .rhosts or .amandahosts (Kerberos is not yet supported). --JJ
17840 Make our internal TEXTDB the default database style for the infofile.
17841 If you wish to keep using a dbm style database use the configure
17842 option "--with-db={db,dbm,gdbm,ndbm}".
17845 Sanitise the disk name in the TEXTDB code.
17846 **NOTE** if your infofile database uses TEXTDB (which has only been
17847 available since Amanda-2.4.0b1) and you have '/'s in the
17848 first field in disklist you will need to 'amadmin export'
17849 the data using the old version of Amanda, 'mv' the old
17850 database out of the way and 'amadmin import' it back again
17851 using the new version. When you are happy with the new
17852 version you may delete the old database.
17855 Get rid of DEV_ROOT/DEV_RROOT and figure out the raw name on the
17856 fly by trying a leading 'r' before each path element one at a time
17857 until we find a character device. This should handle all the current
17858 cases plus things like Solaris DiskSuite that have /dev/md/rdsk/xxx
17861 Change kill logic in sendsize to try TERM first, then KILL if that
17862 does not get dump's attention. This fixes a problem on AIX 4.x
17863 where dump was always getting a KILL and leaving orphaned message
17864 queues, which would eventually run the system out of resources. -JJ
17866 Extensive buffer management, bug and defensive coding overhaul
17868 * Use proper fgets/fread/read buffer size.
17869 * Wrote agets and areads to get a line without buffer overflow
17870 and changed most gets/fgets and some read calls to use it.
17871 * Replaced all *scanf("...%s...") with explicit pointer work.
17872 * Replaced most fixed size buffers with dynamic ones. This has
17873 no doubt introduced some memory leaks.
17874 * Replaced most sprintf calls with vstralloc (new routine).
17875 * Added overflow checks to some remaining explicit buffer
17877 * Made almost all read() and write() calls into loops to handle
17878 short and broken up transfers.
17879 * Fixed potentially uninitialized fstype field.
17880 * Added more sanity checks when parsing various things, including
17881 converting some assert() calls to real code.
17882 * The pattern amtrmidx used to find old index files to delete
17883 thought the date field was YYYY-MM-DD, but it is YYYYMMDD,
17884 so no files were being deleted.
17885 * Limited the number of directories listed by amflush to 26 to
17886 avoid funny characters in the user prompt.
17887 * Changed some of the amrecover routines to soak up the rest of
17888 the continuation lines after an error.
17889 * If a dumper dies, driver still tries to send a QUIT command
17890 which fails because the file descriptor has been closed.
17891 * Wrote afree macro that calls free and then sets the pointer
17892 to NULL. Changed most free calls to afree.
17893 * Wrote aclose/afclose/apclose macros to do the associated close
17894 and then set the argument to something invalid (-1 or NULL).
17895 * Check the file descriptor before calling FD_ISSET in dumper.
17896 Otherwise it goes to -1 on EOF and FD_* doesn't like that.
17897 * Call aclose() after FD_CLR (so the descriptor is not -1).
17899 * Added some TEXTDB support code to the infofile test program.
17900 * Set it up so -DPROTO_DEBUG could come from the compiler command
17901 line instead of having to modify the source.
17902 * Added -t command line flag code to sendbackup.c to support some
17904 * Added a test to amcheck to see if the log file is writable
17905 (if it already exists). During debugging, I keep leaving one
17906 around owned by root :-).
17907 * Changed upper limit on close loops from 255 to FD_SETSIZE.
17908 This probably needs some more study.
17911 If krb4 auth was compiled in but not enabled, clients would hang
17912 forever. -Aidan Cully <aidan@panix.com>
17914 Make sure SAMBA will not clear archive bits when performing an
17915 incremental backup, so any incremental will be a level 1.
17918 Add a LOGDIR option to amanda.conf and use it to replace the
17919 --with-logdir option to configure (this was only used for the
17920 amdump files) and the logfile option in amanda.conf. Log
17921 files are now LOGDIR/log and amdump files are LOGDIR/amdump.
17922 Note: if there is a LOGFILE option in amanda.conf it has its
17923 filename removed and is used as the LOGDIR (eg, if you have
17924 "logfile /usr/adm/amanda/log" in amanda.conf it is translated to
17925 "logdir /usr/adm/amanda" instead). This should not cause a
17926 problem for most sites.
17929 Remove --with-dbdir option from configure. This was only used
17930 to setup things for the man pages and example files. Oh.. and
17931 amrmtape. Fix this as well.
17934 Remove --with-indexdir option from configure. This is obtained
17935 from amanda.conf at run time. Also fix things so that it *is*
17936 obtained from amanda.conf in all cases.
17939 This is no longer tested on configure.in, since it is
17940 expressly forbidden to include kernel headers under glibc,
17941 according to Matthias Urlichs <smurf@noris.de>. However, Eric
17942 Doutreleau <ed@cti.ecp.fr> said he needed to include this
17943 header file in order to build amanda on
17944 sparc-unknown-linux-gnu. -oliva
17946 It is now possible to specify a username to be used to backup
17948 -Jean-Louis Martineau <martinea@iro.umontreal.ca>
17950 Make sure dumper replies with ABORT_FINISHED when a PORT-DUMP
17951 is aborted because of tape error.
17952 -Michael C. Povel <Michael.Povel@hub.de>
17954 Amcheck checks only for the needed features.
17955 -Jean-Louis Martineau <martinea@iro.umontreal.ca>
17957 Performance and memory-usage improvements to amrecover.
17958 -Jean-Louis Martineau <martinea@iro.umontreal.ca>
17960 Use extended regular expressions.
17961 -Noel Hunt <noel@jpmorgan.com>
17963 Fixed regular expressions for samba support.
17964 -Brian Fernald <fernald@nsi.edu>
17966 Fixed a few bugs that caused arithmetic exceptions in planner.
17967 -Bob Willcox <bob@luke.pmr.com>, Evan Champion
17968 <evanc@synapse.net>, scott and oliva
17970 amrecover should now be able to handle GNUtar restores.
17971 -Jean-Louis Martineau <martinea@iro.umontreal.ca>, plus
17972 incremental (-G) patch by Lars Fenneberg <lf@elemental.net>
17974 Ported to SINIX (Reliant Unix V5.43).
17975 -Michael Schmitz <mschmitz@iname.com>
17977 Configure now looks for large file support and will use it under
17978 Solaris 2.6 and above.
17979 -Blair Zajac <blair@gps.caltech.edu>
17981 Compatibility problems fixed for:
17982 SCO OpenServer 5.0.2: Paul Gampe <paulg@twics.com>
17986 New changerfile and changerdev configuration keywords, that
17987 allow changer scripts to be configured in the main amanda
17988 configuration file. Each changer script has been adapted, so
17989 that it uses those flags whenever possible. Also,
17990 documentation about built-in scripts has been added to
17991 docs/TAPE.CHANGERS. -oliva & Eric Schnoebelen
17992 <eric@egsner.cirr.com>
17994 --with-debugging now accepts a directory name, where debugging
17995 files should be stored. -John R. Jackson <jrj@cc.purdue.edu>
17997 Compatibility problems fixed for:
17998 NextStep 3.3: Fabrice GAILLARD <gaillard@ina.fr>
17999 SCO OpenServer V5: Christopher B. Olsen <colsen@compus.com>
18000 AIX: Georg Rehfeld <georg@wmd.de>
18002 Planner would core dump if it had to delay dumps. -Georg
18003 Rehfeld <georg@wmd.de>
18005 Added patch for samba to support very long filenames. -Todd
18006 Pfaff <todd@edge.cis.mcmaster.ca>
18008 Added VXDUMP support to estimate program. -oliva & John
18009 R. Jackson <jrj@cc.purdue.edu>
18011 Fixed amflush so that it cd's to the configuration directory
18012 before invoking reporter. -oliva
18014 driver no longer opens the infofile, so a deadlock is
18015 prevented. -oliva & John R. Jackson <jrj@cc.purdue.edu>
18017 Fixed typo in sendbackup-dump that would prevent compilation
18018 if either xfsdump or vxdump were enabled. -oliva
18020 Debugging messages produced by sendbackup are no longer
18021 included in the dump stream. -oliva
18023 amrestore should wait for the child process to die before
18024 re-opening the tape device. -Dietmar Braun
18025 <dietmar@tin-lizzy.hig>
18029 fixed race condition in debug file open operation. -oliva and
18032 exclude-list and exclude-file are correctly handled by
18033 sendsize. -oliva and Johann Klasek <jk@auto.tuwien.ac.at>
18035 fix some kerberos4 problems; no longer require low ports for
18036 kerberized connections; now use amanda@REALM instead of
18037 amanda.amanda@REALM in .klogin's. -kovert
18039 amrecover no longer depends on GNU flex library. -oliva
18041 Ensure that malloc(0) is not called. -Wolfram Schmidt
18042 <Wolfram.Schmidt@iao.fhg.de>
18044 Compression is now performed where specified, and server
18045 compress best specifications are obeyed. -oliva
18047 genversion now correctly recognizes the selected locking scheme.
18048 -Thomas Schmeidl <schmeidl@nwp.kwu.siemens.de>
18052 Several bugfixes by John R. Jackson <jrj@cc.purdue.edu>
18054 AIX's restore support added to amrecover. -David B. Anderson
18055 <dbanders@mail.physics.utah.edu>
18057 Dump process would not be killed unless it supported the -E
18058 flag (flipped #ifdef): fixed. -Steve Bower <sbower@raytheon.com>
18060 --with-testing now supports a trailing argument, that
18061 specifies the a string to be appended to service names. -oliva
18063 Recent versions of Samba require additional arguments so that
18064 estimates and total sizes are logged to stdout, not to syslog.
18065 -Ernie Oporto <ernie_oporto@MENTORG.COM> & Norbert Holzknecht
18066 <Holzknecht@fs31.vdeh-bfi.de>
18070 Improved planner backup-delaying mechanism. -scott
18072 Concurrent estimates are now supported. -oliva
18074 Shared library support included with GNU libtool. -oliva
18076 New hard-link-based locking mechanism for operating systems
18077 that do not support standard locking system calls. -scott
18079 New configuration file format, simpler and easier to
18082 New curinfo database format that uses only text files. The
18083 old dbm format is used by default, though. -scott
18085 DGUX support. -Brian Harvey <bharvey@raven.phs.com>
18087 Tentative HPUX vxdump support. -oliva
18089 Integrated amgetidx into dumper/sendbackup protocol. This
18090 ***breaks backward compatibility***! -oliva
18092 Have sendbackup-dump and sendbackup-gnutar list the actual
18093 program that should be used to restore a file from a backup
18094 instead of just listing restore or gtar. -blair&oliva
18096 Have configure check for the initgroups() declaration in
18097 unistd.h in addition to grp.h and sys/types.h, which is where
18098 some OSes have the declaration. -blair
18100 SAMBA backups wouldn't succeed if GNUTAR listed incrementals
18101 were enabled. SAMBA password file can now specify workgroup
18102 and may contain comments. -oliva
18104 Fixed xfsdump support. -oliva
18106 Fixed srvcompress option. -oliva
18108 Fixed exclude/exclude-list support. -oliva
18110 Change umask to 066 before creating index file in /tmp. -oliva
18112 Fixed autoconf for gdbm on linux. -oliva
18114 configure now seeks out a few possible locations for
18115 kerberos4 includes and tries to find the correct path if
18116 the kerberos bits have been installed. It's possible for
18117 someone to just specify the root of a kerberos tree for
18118 where the bits live, as well. -kovert
18122 Have bsd_security_ok() in amandad return 1 when BSD security is
18123 not turned on. Patch from Michael C. Grant
18124 <mcgrant@rascals.Stanford.EDU>.
18126 Add a configure option, --with-db, which lets the user specify
18127 the database library to use. The available codes to look for
18128 are db,dbm,gdbm,ndbm. The new configure code goes to a lot
18129 more length to find pairs of header files and libraries. If a
18130 header file exists and the library does not, but dbm_open() is
18131 found by linking against -lc, then that header file is used.
18132 Patch from Blair Zajac <blair@gps.caltech.edu>.
18134 Fixed bug at line 158 where selfcheck was testing that the
18135 result returned by open() was nonzero. The correct thing to do
18136 is check for non-negative values returned by open(). Changed
18137 the "ERROR" in line 169 to "OK" to prevent selfcheck from
18138 flagging the non-existence of /etc/amandapass as an error.
18139 Using "OK" in this line flags this condition as an informative
18140 statement rather than an error - which is to say this will be
18141 reported along with other errors but it isn't enough in itself
18142 to generate an error report. The reason that I think this is
18143 the right fix is because although every Amanda client is
18144 capable of backing up PCs using smbclient it isn't the case
18145 that we will back up PCs with every Amanda client. This also
18146 implies that we don't want to have /etc/amandapass files on all
18147 these machines either. If an Amanda client does have a samba
18148 "//host/share" entry in its disklist file then selfcheck will
18149 flag the non-existence of the /etc/amandapass file on line 105
18150 when it attempts to check that partition, so I believe that
18151 this is a safe fix. Patch from Michael Brantley
18152 <Michael-Brantley@deshaw.com>.
18154 Have all calls to gethostname() leave the result in character
18155 arrays of length 1025. This will make sure that gethostname
18156 behaves correctly. Patch from blair Zajac
18157 <blair@gps.caltech.edu>.
18159 Have amrecover.c include history.h or readline/history.h if
18160 configure finds it. Patch from blair Zajac
18161 <blair@gps.caltech.edu>.
18163 Have Amanda use cat if gzip and compress cannot be found. In
18164 this case, do not #define COMPRESS_FAST_OPT, COMPRESS_BEST_OPT,
18165 or UNCOMPRESS_OPT as "" since cat will look look for a file by
18166 the name of "". Place #ifdef's around code that uses any of
18167 the _OPT defines. Patch from Blair Zajac
18168 <blair@gps.caltech.edu>.
18170 Rewrite amgetidx to use amandad instead of rsh/rcp. amgetidx
18171 now only gets the index files from a given day. It now takes
18172 two optionally arguments <on day> or <ago days>. <on day> lets
18173 the user specify the day in one of the forms YYYYMMDD MMDD DD
18174 YYYY-MM-DD --MM-DD ---DD. <ago days> gets the files from days
18175 days ago. Have configure look for an appropriate directory to
18176 use for the temporary files on the clients. Use /var/tmp, then
18177 /usr/tmp, and if neither of those exist, then use /tmp. Have
18178 selfcheck check if the index holding directory has enough space
18179 in it. Add a new program called sendindex which sends the
18180 index files. Add the file docs/INDEXING which describes the
18181 index code. Patch from Alan McIvor <alan@auck.irl.cri.nz>.
18183 Have configure set up mt to use either the -f or the -t option
18184 depending upon the operating system. Patch from Blair Zajac
18185 <blair@gps.caltech.edu>.
18187 Include the amanda_tapetypes.txt file as docs/TAPETYPES. File
18188 composed by Chris Stacey <chris@snrc.uow.edu.au>.
18190 Allow certain dumptypes to be kicked off at specific times.
18191 Add a new, optional, parameter to the dumptype description in
18192 the config file. The parameter is called "starttime" and takes
18193 one argument which is a time of day (local timezone) formated
18194 as either hhmm or hmm (no `.'s, no `:'s, just an integer).
18195 define dumptype comp-user-2am {
18196 comment "Non-root partitions on fast machines"
18197 options compress-fast
18201 Any partitions listed in disklist with this dumptype will be
18202 fired off no earlier than 2am. If 2am today is less than 43200
18203 seconds past (12 hours ago) it will assume you meant 2am today
18204 and fire the dumps off right away. But if 2am today is more
18205 than 12 hours in the past, it will wait till 2am tomorrow.
18206 Patch from Brad Huntting <huntting@misc.glarp.com>.
18208 Totally rewrite the socket buffering code for dumper.
18209 Eliminate SO_SNDTIMEO and SO_RCVTIMEO setsockopt calls. Remove
18210 the check for HAVE_SO_SNDTIMEO from configure. Add a new
18211 option to configure named --enable-buffered-dump to enable this
18212 code. Patch from Brad Huntting <huntting@misc.glarp.com>.
18214 Have amflush call setsid() to detach amflush from the
18215 controlling terminal. Patch from Ken Laprade
18216 <klaprade@harris.com>.
18218 Have configure correctly work on systems where dbm_open is in
18219 libc. Patch from Farzad Farid <farzy@sgip.fr>.
18221 Patches to amrmtape which remove C style comments and let the
18222 script remove a tape if there is only one tape in the tapelist
18223 file. Patch from Andrew A. Ivanov <IVANOV@mics.msu.su>.
18225 Sprintf formatting error in amgetidx fixed. Patch from Yossi
18226 Gottlieb <yogo@xpert.com>.
18228 I'm using a Sony SDT/STL-7000 4mm DAT changer. I could not
18229 find any method of directly controlling the device, except for
18230 simply using the 'offline' mt command for advancing to the next
18231 tape. Using this method, however, I could not go beyond the
18232 last cassette (that is, to roll back to the first one). This
18233 means the device is currently being used as a simple gravity
18234 changer, only able to change forward. The chg-generic.conf
18235 should list the default tape device for all slots, disable
18236 'needeject', enable 'gravity' and enable the new option named
18237 'multieject'. Patch from Yossi Gottlieb <yogo@xpert.com>.
18239 Update the example chg-generic.conf file to include comments
18240 that describe how to use the multieject feature of the script.
18241 Patch from Yossi Gottlieb <yogo@xpert.com>.
18243 Protocol seems to loop when a A_TIMEOUT occurs because
18244 p->reqtries was not being decremented. Problem noted by Neal
18245 Becker <neal@ctd.comsat.com>.
18247 About half the calls to gethostname() in Amanda fail to
18248 null-terminate properly. This patch makes them all
18249 consistent. In addition it updates sendbackup-dump and
18250 sendbackup-gnutar so they handle USE_FQDN is a way consistent
18251 with the amindex stuff. In particular when USE_FQDN is set,
18252 the dump clients will not truncate their hostname before
18253 putting it in the dump headers. My patches to amflush are
18254 already in the Amanda betas so amflush should be able to match
18255 up both FQDN and non-FQDN clients against FQDN and non-FQDN
18256 disklist files. I also fixed an error message that was
18257 attributed to gethostname when it actually came from
18258 getpeername. Patches from James Mathiesen
18259 <james@nyc.deshaw.com>.
18261 I have run into the problem, on a Linux system, where the first
18262 time I run configure it generates valid Makefiles and Amanda
18263 compiles without problem. If I run configure again, or I alter
18264 a Makefile.in or something which causes autoconf to be called,
18265 the resulting Makefiles are no good - the programs in
18266 server-src don't finish linking because there is no dbm
18267 library. That is, the first time through configure -lgdbm is
18268 added to LIBS but the second, and any subsequent times, it is
18269 not. Patch from Alan McIvor <alan@auck.irl.cri.nz>.
18271 I've just found a bug that has prevented Amanda from running on
18272 my site for almost one week. Just after a dumper replied that
18273 it timed-out, the driver would send it another dump request.
18274 Then the driver would log to amdump an event of receiving a
18275 message from the dumper, but that message would be empty, the
18276 holding file for the requested filesystem would not exist, and
18277 driver would quit. It turned out that the problem was that
18278 dumper started to close its sockets (datafd, mesgfd and outfd)
18279 since release 2.3.0.4b3. outfd is initialized before invoking
18280 startup_dump, but it is sendbackup_response, intended to be
18281 invoked by the amandad protocol driver, that opens sockets and
18282 initializes datafd and mesgfd. If sendbackup_response is never
18283 run (because the amandad request times out), datafd and mesgfd
18284 will not be initialized, so they may contain already closed
18285 (and possibly already reopened) file descriptor numbers or
18286 still be uninitialized, containing any garbage, but usually 0
18287 --- but 0 is stdin, used for reading commands from the driver,
18288 it should not be closed! I've solved the problem by
18289 initializing them to -1 in startup_dump. Patch from Alexandre
18290 Oliva <oliva@dcc.unicamp.br>.
18292 Include declarations for select(), bind(), connect(), fread(),
18293 fwrite(), getopt(), getpeername(), getsockname(), getsockopt(),
18294 initgroups(), listen(), lstat(), mktemp(), mktime(), puts(),
18295 recvfrom(), select(), sendto(), setpgrp(), setsockopt(),
18296 shmat(), shmctl(), shmdt(), shmget(), socketpair(), sscanf(),
18297 strftime(), strncasecmp(), system() if the system does not
18298 declare these in any header files. Patch from Blair Zajac
18299 <blair@gps.caltech.edu>.
18301 Have configure correctly substitute for DB_DIR and LOG_DIR in
18302 example/amanda.conf when --prefix was not used. Problem noted
18303 by Philippe Charnier <charnier@xp11.frmug.org>.
18305 Include seagate-changer.c from Larry D. Pyeatt
18306 <pyeatt@cs.colostate.edu>. This program was written to control
18307 the Seagate/Conner/Archive autoloading DAT drive. This drive
18308 normally has 4 tape capacity but can be expanded to 12 tapes
18309 with an optional tape cartridge. This program may also work on
18310 other drives. This program works for me under Linux with Gerd
18311 Knorr's <kraxel@cs.tu-berlin.de> SCSI media changer driver
18312 installed as a kernel module. The kernel module is available
18314 http://sunsite.unc.edu/pub/Linux/kernel/patches/scsi/scsi-changer*
18315 Since the Linux media changer is based on NetBSD, this program
18316 should also work for NetBSD, although I have not tried it. It
18317 may be necessary to change the IOCTL calls to work on other
18320 Add a new configure option, --with-group, which tells Amanda
18321 the group to install all files as. Patch from Alexandre Oliva
18322 <oliva@dcc.unicamp.br>.
18324 If --with-bsd-security was not set, then dumper would not find
18325 the amanda/udp port to use to connect to clients. Patch from
18326 Alan McIvor <alan@auck.irl.cri.nz>.
18328 The order of dump programs to search for (ufsdump, vdump, dump,
18329 backup) didn't work on AIX systems, where backup should be used
18330 but a program named dump exists on the system. Patch by Blair
18331 Zajac <blair@gps.caltech.edu>.
18333 The configure --with-mmap was not working properly since
18334 configure was using the wrong variable to see if the system had
18335 a working mmap(). Problem noted by Keith Mitchell
18336 <kmitch@weenix.guru.org>.
18340 Save the results of getchar() into int's instead of char's in
18341 amidxtaped.c. Patch by Blair Zajac <blair@gps.caltech.edu>.
18343 Fix sendbackup-gnutar so that it can be compiled with a K&R
18344 compiler. Patch by Blair Zajac <blair@gps.caltech.edu>.
18346 Since I installed Amanda 2.3.0.4b3, I noticed some annoying
18347 messages in amdump:
18348 dumper: pid 8696 setsockopt(SO_SNDTIMEO): Invalid argument
18349 This is because Solaris 2.5 does declare SO_SNDTIMEO in
18350 sys/socket.h, but fails to setsockopt with the given
18351 arguments. Unfortunately, it is not documented, so I could not
18352 find out the correct way to do this, so I just added a test in
18353 configure to check whether SO_SNDTIMEO works as expected or
18354 not. Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
18356 Include amplot-2.2.6 written by Olafur Gudmundsson
18357 <ogud@tis.com> into Amanda. Have amplot be configured using
18358 configure instead of amplot.conf. It will be installed if
18359 gnuplot and the version of awk configure finds can handle
18360 variable assignment from the command line. I also changed some
18361 of the command line options so that the amdump files will not
18362 be compressed unless amplot is told to do so on the command
18363 line. It also takes a new command line option, -t, which lets
18364 the user set the time of the right side of the plot. Work done
18365 by Blair Zajac <blair@gps.caltech.edu>.
18367 Made rth-changer check all system calls for valid returns.
18368 Patch by Blair Zajac <blair@gps.caltech.edu>.
18370 amrestore.c and sendbackup-common.c would do an ifdef on
18371 HAVE_GZIP, which was no longer being defined if Amanda was
18372 using gzip. Now, define HAVE_GZIP if gzip is being used.
18373 Patch by Blair Zajac <blair@gps.caltech.edu>.
18375 Include a script, amoverview, that outputs an overview of all
18376 of the backups done on all of the disks. Script written by
18377 Dave Disser <disser@sdd.hp.com>.
18379 The prototype for amname_to_fstype() is missing in
18380 createindex-dump.c when xfsdump is available. Patch from Ken
18381 Laprade <klaprade@harris.com>.
18383 Apparently SGI provides a dummy libsun.a that does not really
18384 have anything in it. I guess this tricks configure into adding
18385 it to the Makefile. Have configure not check for libsun.a on
18386 SGI systems. Patch from Ken Laprade <klaprade@harris.com>.
18388 The global variable overwrite in amcheck.c apparently is seen
18389 as a potential conflict with the overwrite() curses function
18390 which is apparently in SGI's libtermcap.a. Declaring the
18391 variable static eliminates the warning. Patch from Ken Laprade
18392 <klaprade@harris.com>.
18394 Add a new configure option, --with-fqdn, which allows Amanda to
18395 back up systems in different domains. This requires that the
18396 disklist file have the fully qualified domain names (FQDNs)
18397 listed. Patch from Joe Ammond <Joe.Ammond@ee.gatech.edu>.
18399 Include rundump, a setuid program that runs dump as root. This
18400 is used under OSF1 systems. Patch from Alexandre Oliva
18401 <oliva@dcc.unicamp.br>.
18403 Install setuid files executable only by the owner and group of
18404 the files. This stops other users from running these programs,
18405 making security tighter. Patch from Alexandre Oliva
18406 <oliva@dcc.unicamp.br>.
18408 On FreeBSD 3.0, amanda.h needs to include <sys/types.h> before
18409 <dirent.h>. Problem noted by Keith Mitchell
18410 <kmitch@weenix.guru.org>.
18412 Amanda had a bug regarding the recent addition of support for
18413 excluding files in GNUTAR. planner and sendsize did not
18414 understand each other about empty exclusion lists, so there
18415 were failures using gnutar, as dump does not support excludes.
18416 Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
18418 Fixed a problem in configure where DUMP was being set to
18419 /no/restore/available when no restore program could be found
18420 instead of setting RESTORE to this. Patch from Alexandre Oliva
18421 <oliva@dcc.unicamp.br>.
18423 Have no-changer and hp-changer check for the existence of the
18424 logging directory before trying to use it. Patch by Blair
18425 Zajac <blair@gps.caltech.edu>.
18427 Patches to have nicer looking Samba support code. Patch from
18428 Michael Zucchi <cismpz@cis.unisa.edu.au>.
18430 Got Amanda to compile fine on a m88k-motorola-sysv4 system.
18431 Patches from Blair Zajac <blair@gps.caltech.edu>.
18433 In amandad.c, pk_t dupmsg was conflicting with dupmsg in
18434 /usr/include/sys/stream.h on an m88k-motorola-sysv4 system.
18435 Rename dupmsg to dup_msg. To keep things consistent, rename
18436 inmsg to in_msg and outmsg to out_msg. Patch by Blair Zajac
18437 <blair@gps.caltech.edu>.
18439 Check for the dbm_open declaration in any header file that may
18440 contain it. If it doesn't exist, then declare it and all of
18441 the other dbm_ functions. Check if struct datum is declared in
18442 any header files and if it isn't then declare it. Patch from
18443 Blair Zajac <blair@gps.caltech.edu>.
18445 Have runtar make sure that it is being invoked by the
18446 CLIENT_LOGIN user, since it is a suid executable. Patch from
18447 Alexandre Oliva <oliva@dcc.unicamp.br>.
18449 Have selfcheck check for /etc/vdumpdates if vdump is being
18450 used. Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
18452 If we're on an Ultrix system, then define STATFS_ULTRIX. Patch
18453 by Blair Zajac <blair@gps.caltech.edu>.
18455 amadmin export produces a full version number (2.3.0.4b2, for
18456 instance), while amadmin import expects three integers
18457 separated by dots, so it fails to import an exported file by
18458 itself. Patch by Alexandre Oliva <oliva@dcc.unicamp.br>.
18460 Sendsize.c would loop forever if debugging was not turned on.
18461 Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
18463 Define STATFS_OSF1 if we are on a *-dec-osf-* system. Change
18464 ifdef OSF1_HANG_BUG to ifdef OSF1_VDUMP, since I'd rather not
18465 have too many defines floating around. Patch by Blair Zajac
18466 <blair@gps.caltech.edu>.
18468 There was a bug in selfcheck.c when Blair installed the Samba
18469 support. I deleted an extra space that was added after
18470 SAMBA_CLIENT when the command was being put together. Fix by
18471 Michael Zucchi <cismpz@cis.unisa.edu.au>.
18473 Add a needed ; to client-src/Makefile.am and
18474 server-src/Makefile.am. Patch from Alexandre Oliva
18475 <oliva@dcc.unicamp.br>.
18477 Have planner.c and amcheck.c always get the amanda port number
18478 even if BSD security is turned off. Patch by Blair Zajac
18479 <blair@gps.caltech.edu>.
18481 Change the way amgetidx caches host up/down information. It
18482 used to stralloc() a string depending on if the host was up or
18483 down. Now, create two static character arrays, one holding
18484 "down" and the other holding "up" and simply point the
18485 hostinfo->up pointer to one of the two arrays. This should
18486 save a little memory. Patch by Blair Zajac
18487 <blair@gps.caltech.edu>.
18489 The Bourne shell in FreeBSD can't handle setting IFS to : and
18490 expanding $LOCPATH:$SYSPATH. Create two new variables before
18491 their use called $LOCSYSPATH and $SYSLOCPATH. Patch by Blair
18492 Zajac <blair@gps.caltech.edu>.
18494 Have open_fstab for BSD systems return the value of setfsent.
18495 Patch by Blair Zajac <blair@gps.caltech.edu>.
18497 Configure was searching for the dump program in the following
18498 order: ufsdump, vdump, backup, dump. On HP-UX systems,
18499 configure would find backup, which is a valid program but does
18500 not do what dump does. So switch the order of the programs to
18501 ufsdump, vdump, dump, backup. Patch by Blair Zajac
18502 <blair@gps.caltech.edu>.
18504 Fixed some dbprintf(()) bugs in amgetidx.c. Patch by Blair
18505 Zajac <blair@gps.caltech.edu>.
18507 Have amrecover.c always declare
18508 extern char *optarg;
18510 This makes amrecover.c compile on Ultrix systems. Problem
18511 noted by Scott Gasch <scott@cray-ymp.acm.stuorg.vt.edu>.
18513 Patch to configure to have it recognize gnutar version 1.11.2.
18514 Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
18518 Have amcleanup, no-changer, and hp-changer find out where the
18519 logging directory, or amdump error file is from getconf instead
18520 of using @LOG_DIR@ or @DB_DIR@ from configure. Problem noted
18521 by Joe Ammond <Joe.Ammond@ee.gatech.edu>.
18523 Remove VarDir=@DB_DIR@ from amrmtape.sh.in, since amrmtape
18524 figures out where the curinfo files are from the amanda.conf
18525 file. Problem noted by Joe Ammond <Joe.Ammond@ee.gatech.edu>.
18527 Include rth-changer, a tape changer script for the Robotic Tape
18528 Handling system OEM'd by Andataco (RTH-406). Script written by
18529 Erik Frederick <edf@tyrell.mc.duke.edu>.
18531 Add a new configure option called --with-pid-debug-files which
18532 has Amanda append the process ID to the debugging files placed
18533 in /tmp. The PID will not be appended unless this option is
18534 used. Suggestion by Joe Ammond <Joe.Ammond@ee.gatech.edu>.
18536 Add a new #define UNCOMPRESS_OPT to pass to UNCOMPRESS_PATH to
18537 get compressed standard input decompressed and pass it to
18538 standard output. The configure script only recognized gzip and
18539 compress right now, so it will set UNCOMPRESS_OPT to -dc and
18540 set UNCOMPRESS_PATH to the same value as COMPRESS_PATH. Edit
18541 all of the files that make use of UNCOMPRESS_PATH to also make
18542 use of UNCOMPRESS_OPT now. Patch by Blair Zajac
18543 <blair@gps.caltech.edu>.
18545 The readline() substitute in amrecover.c when the real
18546 readline() code is not available did not return to the caller
18547 what the user typed in. It now does so. Patch from Blair
18548 Zajac <blair@gps.caltech.edu>.
18550 Avoid -lnsl on Irix. On IRIX 5.x and 6.x systems that have the
18551 svr4net module installed, there will be a /usr/lib/libnsl.so
18552 present on the system. The configure script looks for this and
18553 tosses into the library list if it's there. It is not
18554 advisable to link against libnsl on IRIX unless you really need
18555 it for SVR4 networking (TLI/STREAMS). If you _do_ link against
18556 it, you should use include '-lc' _before_ '-lnsl'. The reason
18557 for this is that libnsl.so also contains the SysV TI-RPC code,
18558 which is RPC based on STREAMS/TLI rather than sockets. (Solaris
18559 2.x now uses this by default.) TI-RPC has some compatibility
18560 functions with the same names as older RPC functions, such as
18561 clnt_call(), clnt_create(), clnt_destroy(), and these conflict
18562 with the functions in libc.so. The main place this will hose
18563 you is NIS: NIS v2 expects the underlying RPC code to use
18564 sockets, not STREAMS, and it fails if the TI-RPC symbols in
18565 libnsl.so override the RPC symbols in libc.so. Again, you
18566 don't need libnsl.so unless you're actually using STREAMS/TLI
18567 or TI-RPC, so in Amanda's case it's safe to just ignore it. If
18568 you _do_ need it, you must do 'cc -o foo foo.c -lc -lnsl' in
18569 order to make sure the linker resolves the RPC symbol
18570 references correctly. The primary symptom of this problem is
18571 that things like getpwent(), getgrent() and getnetgrent() stop
18572 working in an NIS environment. To make a long story short: on
18573 IRIX, avoid using libnsl. Amanda doesn't need it anyway. So far
18574 I haven't encountered a problem with this, but you never know.
18575 Note from Bill Paul <wpaul@ctr.columbia.edu>.
18577 Include patches to have Amanda do incrementals of gnutar based
18578 backups. Patch from Alexandre Oliva <oliva@dcc.unicamp.br>.
18580 Delete the GNUTAR_BROKEN_PIPE from configure and acconfig.h
18581 since no code was testing for it. Patch by Blair Zajac
18582 <blair@gps.caltech.edu>.
18584 Have configure check for the number of arguments that
18585 gettimeofday takes and have clock.c use the appropriate number
18586 of arguments. Patch by Blair Zajac <blair@gps.caltech.edu>.
18588 Have sendbackup-common.c include tapeio.h instead of defining
18589 BUFFER_SIZE. Fix by Philip Guenther <guenther@gac.edu>.
18591 Put in more support for AIX by defining AIX_BACKUP if the
18592 system is an AIX system. Fix createindex-dump.c to pass the -B
18593 flag to restore to have it read from standard input. Problem
18594 noted by Bill Paul <wpaul@ctr.columbia.edu>. Patch by Blair
18595 Zajac <blair@gps.caltech.edu>.
18597 Add a regexp for AIX 4's backup in sendbackup-dump.c and
18598 sendsize.c. Patch from Bill Paul <wpaul@ctr.columbia.edu>.
18600 Add a comment to tapeio.h about BUFFER_SIZE and what it is used
18601 for and how people should not change it. Noted by Bill Paul
18602 <wpaul@ctr.columbia.edu>.
18604 Added a --with-mmap option to force the use of mmap() instead
18605 of shared memory support. Requested by wpaul@ctr.columbia.edu
18606 <Bill Paul>. Patch by Blair Zajac <blair@gps.caltech.edu>.
18608 On FreeBSD 2.x and 3.x, the SO_SNDTIMEOUT value is too large in
18609 dumper.c. Looking at the kernel source, the maximum value for
18610 tv_sec is about 227. The value used is READ_TIMEOUT/4, or
18611 (30*60)/4 == 450 seconds. This causes setsockopt() to return
18612 EDOM (Numerical argument out of domain), and again everything
18613 grinds to a halt. I changed the value from READ_TIMEOUT/4 to
18614 READ_TIMEOUT/8, which reduces the SO_SNDTIMEO value to 225. I
18615 haven't extensively tested this yet, but based on eyeballing
18616 the kernel source it should work. Patch from Bill Paul
18617 <wpaul@ctr.columbia.edu>.
18619 In dumper.c:do_dump(), there is code to set the transmission
18620 timeout, receive buffer size and receive low water mark on the
18621 data socket using setsockopt(). For SO_RECVBUF, the receive
18622 buffer size (recbuf) is set to DATABUF_SIZE * 4, which is
18623 32*1024*4, or 131072. On SunOS 4.1.x, this value is too
18624 large: dumper generates a 'no buffer space available' error
18625 and everything grinds to a halt. I took away the '*4', which
18626 reduces the size to 32767 bytes, which seems to work. I'm
18627 surprised nobody else has noticed this since it breaks SunOS
18628 Amanda servers. I can only surmise that people aren't using
18629 SunOS machines as servers these days. :) Patch from Bill Paul
18630 <wpaul@ctr.columbia.edu>.
18632 Have Amanda include either readline.h or readline/readline.h
18633 Fix suggested by Neal Becker <neal@ctd.comsat.com>.
18635 Have --with-includes put the -I flags into $CPPFLAGS and
18636 $CFLAGS so that AC_CHECK_HEADERS will find other include
18637 files. Problem noted by Neal Becker <neal@ctd.comsat.com>.
18639 Fixed common-src/Makefile.am to put the extra libamanda.a
18640 sources into the EXTRA_libamanda_a_SOURCES variable instead of
18641 EXTRA_DIST. Fix from Tom Tromey <tromey@drip.Colorado.EDU>.
18643 When compiling amgetidx.c with some compilers, trigraph
18644 substitutions were being made when they should not have been.
18645 Protect the code from this. Patch from Blair Zajac
18646 <blair@gps.caltech.edu>.
18648 Test for flock support in the following order:
18649 1) POSIX fcntl file locking
18652 The common-src/flock.c file will only be used if the lockf type
18653 locking is needed on this system. Patch from Blair Zajac
18654 <blair@gps.caltech.edu>.
18656 Have Samba support compile in only if requested by the user.
18657 Patch from Blair Zajac <blair@gps.caltech.edu>.
18659 Configure was not using $CFLAGS and $CPPFLAGS when trying to
18660 calculate the select argument type. Patch from Blair Zajac
18661 <blair@gps.caltech.edu>.
18663 Updated amanda.h to include alloca.h if the system has it and
18664 if it's ok to include. Also protect more include files with
18665 #ifdefs found by configure. Patch from Blair Zajac
18666 <blair@gps.caltech.edu>.
18668 Linux does not use the raw device names to do backups.
18669 configure now checks to see if it can find a raw disk device
18670 file whose name is built from root's mount point. If it can't,
18671 then set RDEV_PREFIX to use /dev/ instead of /dev/r. Fix
18672 suggested by Brian <brian.s.mogged@uwrf.edu> and Ken Latta
18673 <latta@parc.xerox.com>.
18675 Fixed const cast message from regex.c. Problem noted by Ken
18676 Laprade <klaprade@harris.com>. Patch from Blair Zajac
18677 <blair@gps.caltech.edu>.
18679 Configure was not checking for the OSF1_VDUMP #ifdef used in
18680 Amanda. It now will set OSF1_VDUMP if vdump is found on the
18681 system. However, it does not check if the system is really a
18682 OSF system. Patch from Blair Zajac <blair@gps.caltech.edu>.
18684 Have configure check for asm/byteorder.h for
18685 sparc-unknown-linux-gnu. Problem noted by Eric Doutreleau
18688 Remove the check for libintl.h from configure. It was only
18689 being used for regex.c, which really didn't need it. Patch
18690 from Blair Zajac <blair@gps.caltech.edu>.
18692 Convert all code to K&R C by trying to compile Amanda using
18693 /usr/bin/cc on a SunOS 4.1.1 machine. Have configure check if
18694 the compiler can handle the volatile keyword and if it can't,
18695 #define it to empty in the config.h file. Patch from Blair
18696 Zajac <blair@gps.caltech.edu>.
18698 Move the contents of versuff.h into version.h and remove
18699 versuff.h. Add a new function called version() which returns
18700 the version string. Use version() in some of the programs.
18701 Patch from Blair Zajac <blair@gps.caltech.edu>.
18703 m88k-motorola-sysv4 systems define L_FAIL, which is used by
18704 logfile.h. Undefine it in logfile.h. Patch from Blair Zajac
18705 <blair@gps.caltech.edu>.
18707 Include amindex-1.0 from Alan McIvor. It includes these
18708 improvements over 0.3:
18709 Amrecover now provides the ability to restore files
18710 from the tapes, via the "extract" command.
18712 Support for gnutar based index generation (but not file
18715 Numerous bug fixes.
18717 Have amgetidx try to open a socket to the shell/tcp port on the
18718 remote machine and cache if it succeeds. If it connection
18719 attempt succeeds, then attempt to get the index files over from
18720 the client. Patch from Blair Zajac <blair@gps.caltech.edu>.
18722 Update patch-system to include the amidxtape service at
18723 10083/tcp. Patch from Blair Zajac <blair@gps.caltech.edu>.
18725 Configure said that the server configuration was OK and then
18726 next said it wasn't. Remove these checks. Patch from Blair
18727 Zajac <blair@gps.caltech.edu>.
18729 Fixed building Amanda for multiple architectures in
18730 subdirectories of Amanda. Problem noted by Thomas Hepper
18731 <Thomas.Hepper@icem.de>.
18735 Fix a problem with `amadmin <conf> balance' dumping core. If
18736 some disks are overdue, they are stored in the sequence array
18737 with a negative index. This has the potential to cause memory
18738 corruption, and it makes the reported balance figures not add up
18739 to the same as the total. Since overdue disks are really going
18740 to be candidated for today's backups, they are thrown in the
18741 bin for those. Patch from Ken Laprade <klaprade@harris.com>.
18743 Add Samba client support using smbclient to Amanda. Samba must
18744 be patched with the file patches/samba-1.9.16p2.1.patch - this
18745 is a patch for 1.9.16p2 of Samba, and modifies the way the
18746 'dir' command works, and adds totals to both the dir command
18747 and the tar command, via stderr. These are used by amanda to
18748 estimate and count backup sizes. This should be installed on
18749 an amanda 'client' host, that will act as the 'samba server'
18750 host. This will most likely be the same machine as the Amanda
18751 master server. Patches from Michael Zucchi
18752 <zucchi@cis.unisa.edu.au>.
18754 Amrmtape converted from Bash to Bourne shell. Patch from Blair
18755 Zajac <blair@gps.caltech.edu>.
18757 Fix the indexing code to use "arglist.h" instead of <stdarg.h>
18758 Patch from Blair Zajac <blair@gps.caltech.edu>.
18760 Have amdump call amgetidx and amtrmidx. Put amgetidx and
18761 amtrmidx into the libexec directory instead of the bin
18762 directory, since Amanda users will not use these by hand.
18763 Patch from Blair Zajac <blair@gps.caltech.edu>.
18765 Modified diskfile.c to match hostname in the backup header
18766 against the fully qualified domain name in disklist file,
18767 because amflush fails in a multidomain backup environment, as
18768 backup headers have only the hostname. Patch from Karl
18769 Lehenbauer <karl@neosoft.com>.
18771 Have autoconf figure out if some functions are not declared and
18772 if they are not, then declare them. Patch from Blair Zajac
18773 <blair@gps.caltech.edu>.
18775 Add security fixes to amandad.c. It now checks the forward and
18776 reverse DNS names for consistency. Added a configure option
18777 --amandahosts to use Michael's code to use .amandahosts instead
18778 of .rhosts. Patch from Michael Douglass <mikedoug@texas.net>.
18780 Add amverify, a simple shell script to check Amanda tapes -
18781 gnutar driven backups only. Patch from Thomas Hepper
18782 <Thomas.Hepper@icem.de>.
18784 Add the version option to amadmin (eg amadmin <conf> version).
18785 Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
18787 Add the current option to amtape (eg amtape <conf> current).
18788 This let's you the label of the current tape only without using
18789 dd. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
18791 Gnutar support for amindex added. Patch from Thomas Hepper
18792 <Thomas.Hepper@icem.de>.
18794 Calcsize supports exclude-list (gtar). The source was
18795 extracted from gnutar itself to be 100% compatible. Patch from
18796 Thomas Hepper <Thomas.Hepper@icem.de>.
18798 Calcsize checks the file type and ignores special files and
18799 pipes. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
18801 Calcsizes calculation for gnu tar archives had a bug (gtar file
18802 blocks always are a multiple of 2k). Patch from Thomas Hepper
18803 <Thomas.Hepper@icem.de>.
18805 `amandates.c': amdandad suffered by missing AMANDATES_FILE.
18806 Now it creates this file before missing it. Patch from Thomas
18807 Hepper <Thomas.Hepper@icem.de>.
18809 `createindex-gnutar.c' added. Patch from Thomas Hepper
18810 <Thomas.Hepper@icem.de>.
18812 alloca(), strdup.c and getcwd added for those system who don't
18813 have them. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
18815 A dirty hack for BSD based systems without sigaction(), see
18816 amanda.h. Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
18818 Add two scripts, hp-changer and no-changer. hp-changer is a
18819 tape changer script for a HP DAT changer. Every 10th tape a
18820 taper clean runs. no-changer is a changer-like script for
18821 single tape streamer. It makes Amanda see a tape changer unit
18822 with an infinite count of tapes (and requires an operator to
18823 change the tapes :-)). Every 10 tapes the operator is
18824 recommended to insert a cleaning tape. Patch from Thomas
18825 Hepper <Thomas.Hepper@icem.de>.
18827 The version suffix adding is done with a seperate function
18828 versionsuffix() also available as standalone program. Patch
18829 from Thomas Hepper <Thomas.Hepper@icem.de>.
18831 Several files got debug support. Patch from Thomas Hepper
18832 <Thomas.Hepper@icem.de>.
18834 Added an idle type file-too-large to driver.c to avoid dumping
18835 files to the holding disk(s) which exceed the maximum file size
18836 (2 GB on the most 32-bit machines). Patch from Thomas Hepper
18837 <Thomas.Hepper@icem.de>.
18839 Some minor bug fixes, mostly regarding missing or wrong casts
18840 confusing c compilers (shmat()/shmdt(), select()). Patch from
18841 Thomas Hepper <Thomas.Hepper@icem.de>.
18843 Genversion gives some more information. Patch from Thomas
18844 Hepper <Thomas.Hepper@icem.de>.
18846 getfsent.c and statfs.c have been cleaned up. The have to be
18847 checked on non-Irix/Solaris/NextStep/HPUX/AIX/Linux-systems.
18848 Patch from Thomas Hepper <Thomas.Hepper@icem.de>.
18850 Simple support if readline.a is missing. NEVER TESTED! Patch
18851 from Thomas Hepper <Thomas.Hepper@icem.de>.
18853 Linux requires libdb.a and ndbm.h to handle database files. Not
18854 really what I expected. Patch from Thomas Hepper
18855 <Thomas.Hepper@icem.de>.
18857 Here's a simple patch which fixes a problem that causes amflush
18858 to erroneously complain "ignoring cruft file" about good dump
18859 files on the holding disk, and fail to flush them to tape.
18860 This happens if your holding disk directory has a long name,
18861 and the dump file also has a long name (i.e. if you use
18862 filesystem mount points in disklist). The problem occurs if
18863 the holding directory + filename exceeds 80 bytes. The patch
18864 still leaves a length limitation, but at least it matches the
18865 size limit imposed by driver (and thus dumper & taper) of 128
18866 bytes. Patch from Marion Hakanson <hakanson@cse.ogi.edu>.
18868 Use regex.h and regex.c from
18869 ftp://prep.ai.mit.edu/sh-utils-1.15.tar.gz instead of the regex
18870 checking code in the system. This code includes re_comp and
18871 re_exec calls, so it will work on any system. Patch by Blair
18872 Zajac <blair@gps.caltech.edu>.
18874 Amadmin find reports the wrong tape file numbers after when a
18875 dump is amflush'ed to tape. Patch by Ralf Fassel
18876 <ralf@atg.venture.de>.
18878 Fix a bug where dumps of disks on the Amanda server are counted
18879 against the available network bandwidth. Patch from Marion
18880 Hakanson <hakanson@cse.ogi.edu>.
18882 Tell gnutar to not exit with a nonzero value if a read failed.
18883 This prevents backups from aborting if a file disappeared
18884 before gnutar could save it. Patch from Hal Snyder
18887 Fix dumper which can cause the entire amdump run to hang after
18888 dumper issues a "TRY-AGAIN" message to driver while dumping
18889 directly to tape. Patch from Marion Hakanson's
18890 <hakanson@cse.ogi.edu>.
18892 Added Marion Hakanson's <hakanson@cse.ogi.edu> patches to fix
18893 problems when amanda dumps directly to tape (i.e. when holding
18894 space is full, or you're backing up a huge filesystem, etc.).
18895 The bug occurs in the way taper determines it has succeeded
18896 when doing a PORT-WRITE operation (i.e. dumping directly to
18897 tape). It used to assume that an EOF meant no more data --
18898 true if it's reading from a file, but when reading from a port
18899 (i.e. directly from a dump process), an EOF could signal
18900 abnormal exit as well as a normal one. So, I extended the
18901 protocol between driver and taper when dumping directly to tape
18902 (see dump_to_tape() in driver.c) so the taper will wait for the
18903 driver to pass PORT-WRITE-SUCCESS or PORT-WRITE-FAILURE to the
18904 taper (since driver gets OK/not-OK from the dumper) before the
18905 taper records success or failure. Note that this change
18906 affects only the PORT-WRITE case in taper. FYI, the bug
18907 resulted in the curinfo database for a failed port-dump to have
18908 the tape-label & file-number fields updated with the location
18909 of the failed dump, even though the timestamp & dump statistics
18910 still have the values of the last successful dump (the latter
18911 fields are updated by dumper itself).
18913 Patches from George Scott <George.Scott@cc.monash.edu.au> to
18914 fix the following problems in planner.c.
18915 1) Initialise total_size, total_lev0 and balanced_size. They
18916 are updated in analyze_estimates() but never initialised. Zero
18917 them before the first call.
18918 2) Remove oversize dumps. If there is a dump whose estimated
18919 size is larger than the tape the planner would tend to throw
18920 away all the other dumps and then probably generate an
18921 unworkable plan anyway. (The standard 2.2.6 planner probably
18922 tossed these dumps fairly quickly for other reasons, but my
18923 next fix made this one almost mandatory!) The fix is to drop
18924 these enormous dumps right at the begining. This shouldn't be
18925 triggered for anyone with a sane configuration.
18926 3) Promote hills. There are two ways to create a balanced
18927 cycle. The first is to fill in any holes and the second is to
18928 remove any hills. The original planner is good at doing the
18929 first but doesn't even attempt the second. A quick look at
18930 "amadmin balance" would show big hills quite clearly. This fix
18931 effectively does an "amadmin balance" and promotes a dump from
18932 one of the "hills". This type of promotion is quite
18934 - don't bother if we already plan to do any level 0 dumps
18935 - don't promote a dump if it was going to be the only level 0
18936 to be done on that run (ie, ignore hills that are only one
18938 - only promote one level 0 by this method
18939 - don't exceed tape_length
18940 The key to it is the first restriction. Large sites (with
18941 large numbers of disks and a large balanced_size) will have at
18942 least one level 0 scheduled for each day in the dump cycle and
18943 will already have a balanced cycle. This code will not
18944 activate for them. Small sites will probably not have a level
18945 0 scheduled and will benefit. The second restriction will stop
18946 Amanda from constantly promoting dumps when the schedule is as
18947 balanced as it will go. The third restriction will stop Amanda
18948 over reacting. Promoting one dump by this method would take
18949 total_lev0 larger that balanced_size. If it wouldn't then the
18950 first stage promotion didn't work like it should.
18951 4) Initialise got_estimate for all cases. This fix was from
18952 der Mouse <mouse@collatz.mcrcim.mcgill.edu>. "got_estimate"
18953 wasn't being initialised for skipped disks. Later in the code
18954 it was being used in all cases. The fix is to move its
18955 initialisation up a few lines.
18956 5) Explicitly ignore off-line disks. If a disk is off-line
18957 when the planner is run it gets -1 for all dump sizes. These
18958 were ignored at a later stage. This fix explicitly ignores
18960 6) Ignore down machines. If a machine is down when the planner
18961 is run it guesses from historical data what the size of
18962 tonights dump is likely to be and schedules a dump anyway. The
18963 dumper then usually discovers that the machine is still down
18964 and ends up with a half full tape. Unfortunately the planner
18965 had to delay another dump because it thought that the tape was
18966 full. The fix here is for the planner to discard unavailable
18967 machines totally rather than just ignore the fact that they are
18969 7) Keep at least one total. Amanda moves level 0 dumps back to
18970 incrementals to try and fit everything onto the tape.
18971 Unfortunately if all your incrementals are too big (or your
18972 tape too small) it can move all of your level 0 dumps. This
18973 ends up being a kind of deadlock since, unless a level 0 gets
18974 done, the incrementals will not reduce in size and until the
18975 incrementals reduce in size there will not be enough room to
18976 fit in a level 0. (This is not quite accurate since a level 4
18977 dump can get bumped to a level 5 which reduces its size.
18978 However, this deadlock has happened to me and for many days in
18979 a row.) The fix is to pick on the highest priority level 0 and
18980 not let it be moved. This change will not affect users with
18981 reasonably sized tapes since Amanda would not have moved all
18982 their disks to incrementals.
18983 8) Make usage of total_lev0 consistent. "total_lev0" is a
18984 double and doesn't include tape_mark's. Make it so.
18986 Add a fflush(outf) to amcheck.c. Patch from Mike Russell
18987 <Michael_Russell@Brown.EDU>.
18989 Fix problems with amhpfixdevs. Patch from Michael Schmitz
18990 <mschmitz@iname.com>.
18992 Have DEC OSF1 use installbsd instead of install. Patch from
18993 Rainer Landes <rlandes@fphws01.physik.uni-karlsruhe.de>.
18995 Have amcontrol take the first command line argument as the
18996 configuration to use. If there are no command line arguments,
18997 then use daily. Patch from Thomas Schmeidl
18998 <schmeidl@nwp.kwu.siemens.de>.
19000 Removed --atime-preserve from sendbackup-gnutar.c so that
19001 incremental backups of filesystems will work. Patch from
19002 Alexandre Oliva <oliva@dcc.unicamp.br>.
19004 Change all #if __STDC__ to #ifdef __STDC__ for those systems
19005 that define __STDC__ to 0, such as Solaris using cc -Xt, cc
19006 -Xa. Patch from Blair Zajac <blair@gps.caltech.edu>.
19008 Increase the socket buffer size, and set a low watter mark at
19009 32k. This cut the number of syscalls done to process one 32k
19010 block from dozens down to 4 (select, read, lseek, write).
19011 Patch from Brad Huntting <huntting@glarp.com>.
19013 Include amindex-0.3 from Alan McIvor <alan@salan.auck.irl.cri.nz>.
19015 Add the "srvcompress" option to compress dumps on the tape host
19016 instead of on the client machines. This may be useful when a
19017 fast tape host is backing up slow clients. The patches add a
19018 dump-type option, analogous to "compress-fast" or
19019 "compress-best" - the way to use it is to create a new dumptype
19020 in your amanda.conf that includes "srvcompress" and use the new
19021 dumptype for those filesystems you wish to have compressed on
19022 the tape server. For example, in amanda.conf:
19023 define dumptype srvcomp-user {
19024 comment "Partitions on slow machines, compressed on tapehost"
19025 options srvcompress
19028 Patches from Eric Volpe <epv@panix.com>.
19030 Increase the planner timeout for one estimate from 30 seconds
19031 to 120 seconds. Patch from Michael Schmitz
19032 <mschmitz@iname.com>.
19034 The select(2) prototype on HPUX specifies 'int' as argument
19035 type of the filedescriptor arguments. All other systems I know
19036 of use 'fd_set'. This has been fixed by having configure check
19037 the argument type to select and adding casts to the select(2)
19038 calls. Patch from Michael Schmitz <mschmitz@iname.com>.
19040 Improve the diagnostic output and increase the robustness of
19041 the system by adding better error checking on communication
19042 between taper & driver, and among the two taper processes.
19043 Patches from Marion Hakanson <hakanson@cse.ogi.edu>.
19045 Convert all flock() calls to use POSIX-style locks via the
19046 fcntl(2) call. This operation was prompted by the fact that
19047 the flock() emulation in the Amanda-provided common-src/flock.c
19048 was broken for read-only file descriptors, and the fcntl(2)
19049 locks are widely available. This patch makes it possible to
19050 have a read-only lock on the /etc/amandates file on systems
19051 which want to use it. I've built and tested the patched code
19052 on Amanda servers running on Digital Unix v3.2B (on Alpha
19053 hardware) and on SPARC Solaris-2.5.1. It's also been compiled
19054 here on SPARC's running SunOS-4.1.3u1b, HP-UX 9.0[345], and
19055 NeXTstep-3.3 (NeXT hardware). Note that the patches also
19056 remove all trace of the NEED_FLOCK define, and I have removed
19057 the file common-src/flock.c from our source tree here. Patch
19058 from Marion Hakanson <hakanson@cse.ogi.edu>.
19060 For disk/filesystem names which are wider than 14 characters,
19061 have reporter print out the rightmost characters of the disk
19062 name, which is usually more meaningful in a daily backup
19063 summary. Patch from Marion Hakanson <hakanson@cse.ogi.edu>.
19065 Lets amflush work in a wider variety of cases than was
19066 previously true (it used to work if the disklist contains only
19067 the first token of each hostname). sendbackup-dump.c and
19068 sendbackup-gnutar.c now do not trim the domain name from the
19069 host name that is sent back to the server. amflush now looks
19070 for an exact match, in the database. If it can't find one it
19071 strips the last token off the dump header hostname and keeps
19072 trying until it finds a match in the disklist or runs out of
19073 tokens. This also has the advantage that if gethostname()
19074 returns FQDNs and you specify the same FQDNs in the disklist,
19075 then amflush will always work. It will also work as long as
19076 the disklist and gethostname() on the clients return enough
19077 information to be unambiguous. Patch from James Mathiesen
19078 <james@deshaw.com>.
19080 Increase the READ_TIMEOUT in dumper.c to 30 minutes. This
19081 needs to be longer than the longest amount of time dump will
19082 not produce output. People have observed dumps taking more
19083 than 10 minutes to finish mapping some of the passes
19084 sometimes. Patch from James Mathiesen <james@deshaw.com>.
19086 Added Adrian T. Filipi-Martin's <atf3r@cs.virginia.edu>
19087 amrmtape script, which allows you to invalidate the contents of
19088 an existing backup tape within the Amanda current tape
19089 database. This is meant as a recovery mecanism for when a good
19090 backup is damaged either by faulty hardware or user error,
19091 i.e. the tape is eaten by the tape drive, or the tape has been
19092 overwritten. Blair Zajac wrote a quick little manual page for
19095 amrmtape was using the return value from amadmin and amadmin
19096 was exiting with a non-zero value, causing amrmtape to quit.
19097 Added a return 0 statement to amadmin.c. Patch from Blair
19098 Zajac <blair@gps.caltech.edu>.
19100 Went through all of the files and changed void main()'s to int
19101 main()'s. Patch from Blair Zajac <blair@gps.caltech.edu>.
19103 Removed the 50 tape file limit in amcleanup and amdump.
19105 createindex-dump and sendbackup-dump did not always take into
19106 account the version suffix. This is now handled. Patch from
19107 Philippe Charnier <charnier@lirmm.fr>
19109 Compile and install amrecover and amrestore as client programs,
19110 not a server program. The motovation for this is that
19111 amrecover is truly a program for all of the users on the
19112 system, while the remaining amanda programs could be used by
19113 only the system administrator. Patch from Alexandre Oliva
19114 <oliva@dcc.unicamp.br>.
19116 The program amtrmidx fails to close some of the pipes it uses,
19117 and this can lead to failure on systems with large numbers of
19118 disks with incomplete database sets, and file descriptor
19119 ulimits set. Patch from Alan McIvor <alan@auck.irl.cri.nz>.
19123 Expanded the width of the DISK column from the reporter
19124 output. I like to use mount points like /export/home?? instead
19125 of device names to back up. Since the width of the disk name
19126 field from reporter's output is pretty small, I couldn't easily
19127 figure out the statistics for a particular partition. Patch
19128 from Blair Zajac <blair@gps.caltech.edu>.
19130 Included Eric Doutreleau <ed@cti.ecp.fr> patch's for amadmin to
19131 handle multiple tapes better. The patch that he posted on used
19132 a hardwired value of 6 for runtapes, which I changed.
19134 Included Marion Hakanson's <hakanson@cse.ogi.edu> patches to
19135 amadmin.c and amadmin.8 to let amadmin use the same disk
19136 regular expression matching as amrestore. So now "^/$" will
19137 match only the root partition, not all of the disks.
19139 Added a patch from George.Scott@cc.monash.edu.au which makes
19140 new disks and forces dump with a higher priority.
19142 Changed tools/munge to delete blank lines and the commented
19143 lines that the C preprocessor generates (i.e. # 123). We also
19144 remove the space after the = sign that can be generated by cpp
19147 Installed amindex-0.2 from Alan McIvor <alan@auck.irl.cri.nz>
19148 with the following patches:
19150 Fix problem so that rsh'ing on a hpux host works.
19151 Patch from Neal Becker <neal@ctd.comsat.com>. This
19152 patch includes a new #define for RSH_COMMAND, which is
19153 set to rsh in config-common.h and defined as remsh in
19156 Fix bugs in createindex-dump.c when comparing errno to
19157 EINTR. The code was using = instead of ==. Patch from
19158 Neal Becker <neal@ctd.comsat.com>. I'm guessing this
19159 might fix some of the runaway createindex-dump
19160 processes that I have seen on my system.
19162 On my system, we use MAE which likes to generate path
19163 names with spaces in them. I patched
19164 createindex-dump.c so that filenames with spaces have
19165 the whole filename listed. Patch from Blair Zajac
19166 <blair@gps.caltech.edu>.
19168 Patch amtrmidx.c so that backups using the mount points
19169 for disks instead of the device name have the /'s
19170 replaced with _'s. Patch from Blair Zajac
19171 <blair@gps.caltech.edu>.
19175 Changed the signals being sent to xfsdump for Irix so that it
19176 will be killed without dumping a core.
19178 Fixed a typo in the definition of XFSDUMP in config.h-irix.
19180 Removed the extra option.s-* and copied options.h to
19183 Moved the amrestore manual page into the man directory so it
19184 would get installed.
19188 amindex-0.1 written by Alan McIvor <alan@kauri.auck.irl.cri.nz>
19189 installed. amindex generates an index of all of the files that
19190 were dumped. It is nice to see what files were dumped before
19191 you restore a whole bunch of tapes looking for a file. I
19192 patched some of this code. Here are some of the changes:
19194 Switched the Imakefile to Makefile and Makefile.in to
19195 be more consistent with the system used by the rest of
19198 Moved the configuration #defines out of the specific
19199 files (such as amrecover.c) into options.h, so that
19200 people installing this version of amanda would be able
19201 to see the required changes more easily and not have to
19202 edit multiple files.
19204 Made some changes to the codes to remove #include's
19205 where amanda.h would include them and also check if the
19206 system had the particular include file.
19208 Added code to set_commands.c and amgetidx.c to change
19209 /'s in disk names to _'s.
19211 Added code to amrecover.c to properly compile on
19214 With the -Xc compiler option on Solaris and with
19215 amindex, the sigaction structure was not being
19216 declared. Added -D__EXTENSIONS__ to config.h-sunos5 so
19217 that sigaction would be declared.
19219 I changed a bunch of fprintf to perrors.
19221 Include Sean Kelly's <kelly@fsl.noaa.gov> patch for tools/munge
19224 Used Peter Lackner's <plo@came.sbg.ac.at> patches for DU 4.0.
19226 Installed Ken Laprade's <klaprade@harris.com> patches for
19227 amanda to handle both EFS and XFs file systems on the same
19228 client. The only change from his patch is to #ifdef XFSDUMP
19229 the kill(-dumppid, SIGTERM) so the SIGTERM signal will be used
19230 on other systems, while SIGQUIT will be used on Irix systems.
19232 Installed Marion Hakanson's <hakanson@cse.ogi.edu> patches for
19233 the main config file to include subsidiary config files.
19235 On Solaris, sometimes the hdr->handle variable in amandad.c
19236 would be null, causing core dumps when it was used in a sprintf
19237 statement. The code now checks if hdr->handle is null and
19238 prints a "" if it is null. This was only done in amandad.c.
19240 Fix a problem where new disks would be added but not backed up
19241 concurrently. Changes to diskfile.c. I forgot who put this
19242 patch up on the mailing list.
19244 I made some changes to options.h to allow the user to more
19245 easily install the programs under a different user. This meant
19246 defining two new #defines, MK_AMANDA_USER and
19247 MK_QUOTED_AMANDA_USER which are used in the appropriate
19250 Used Marion Hakanson's <hakanson@cse.ogi.edu> patch for taper.c
19251 for multiple tapes.
19253 Included Joachim Loehr's <Joachim.Loeh@stadt-mh.de>
19254 script to automatically figure out which kind of HP-UX file
19255 system is being dumped. Look in tools for the script and a