X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ChangeLog;fp=ChangeLog;h=d24082f45401990ddd20be5342a11636e75b88a0;hb=691567b16c13087b31ee4c2b6d038e57872fae82;hp=743f5638673e317353c73ec0669d5f7298552934;hpb=cc7d7b45afc706099acf7ff2490ec5667d370651;p=debian%2Famanda diff --git a/ChangeLog b/ChangeLog index 743f563..d24082f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,480 @@ +2013-01-08 Jean-Louis Martineau + * VERSION: 3.3.3 + +2013-01-08 Jean-Louis Martineau + * ndmp-src/ndmjob_args.c: Handle more than 1000 arguments. + +2013-01-04 Jean-Louis Martineau + * perl/Amanda/Taper/Scan.pm (oldest_reusable_volume): Check the + labelstr. + * installcheck/Amanda_Taper_Scan.pl: Test it. + +2013-01-04 Jean-Louis Martineau + * server-src/amrmtape.pl: Do not check the 'log' file. + +2012-12-27 Jean-Louis Martineau + * server-src/amrmtape.pl: Add the pid on the temporary filename. + +2012-12-27 Jean-Louis Martineau + * common-src/util.c (make_amanda_tmpdir): New function to create the + AMANDA_TMPDIR directory. + * common-src/util.h (make_amanda_tmpdir): Add prototype. + * common-src/debug.c (debug_open): Call make_amanda_tmpdir(). + +2012-12-24 Jean-Louis Martineau + * server-src/driver.c (tape_action): Do not count free tape space if + exceed max-dle-by-volume. + +2012-12-18 Jean-Louis Martineau + * NEWS, ReleaseNotes: Changes in 3.3.3 + +2012-12-18 Jean-Louis Martineau + * perl/Amanda/Taper/Worker.pm: Ignore duplicate DONE/FAILED messages. + +2012-12-13 Dan Locks + * packaging/common/post_inst_functions.sh: revoke rw permissions for + group and other + * packaging/common/post_rm_functions.sh: fix function name to match + usage. + * packaging/common/test_sh_libs.sh: update test. + +2012-12-13 Jean-Louis Martineau + * server-src/amrmtape.pl: Die if opening CURINFO for writing fail. + +2012-12-12 Dan Locks + * packaging/common/post_inst_functions.sh: don't use uuencode -m for + solaris 8 compatibility. + +2012-12-11 Jean-Louis Martineau + * perl/Amanda/Changer/multi.pm, server-src/amcheck-device.pl: Fix perl + warning. + +2012-12-10 Jean-Louis Martineau + * server-src/logfile.c (log_rename): Donot abort if the log do not + exists. + +2012-12-10 Jean-Louis Martineau + * man/xml-source/amanda-devices.7.xml: Typo, s/SWITF/SWIFT/. + +2012-12-10 Jean-Louis Martineau + * server-src/amstatus.pl: No src-ip in PORT-DUMP. + +2012-12-10 Jean-Louis Martineau + * perl/Amanda/Taper/Scribe.pm: Log FAILED if nothing is written to + tape. + * server-src/amstatus.pl: Check ntape is defined. + +2012-12-07 Dan Locks + * packaging/common/post_inst_functions.sh: use amandausers's .gnupg/ + instead of installing user's, and suppress warnings about + permissions. + +2012-12-07 Dan Locks + * common_z/post_inst_functions.sh: head and tail invocation may only + use "-#", not "-n #" for solaris 8 compatibility + +2012-12-07 Jean-Louis Martineau + * contrib/convert-zd-mtx-to-robot.sh: set tpchanger instead of + tapedev. + +2012-12-07 Jean-Louis Martineau + * server-src/driver.c: Fix 32 bits overflow. + +2012-12-06 Dan Locks + * packaging/common/post_inst_functions.sh: use --passphrase-fd to + support older versions of gpg. + +2012-12-06 Jean-Louis Martineau + * server-src/amstatus.pl: Parse new PORT-DUMP format + +2012-12-05 Jean-Louis Martineau + * server-src/amstatus.pl: Fix exit status. + * installcheck/amstatus.pl: Fix for previous patch. + +2012-12-05 Jean-Louis Martineau + * server-src/amstatus.pl: Show taping status after dump failure. + +2012-12-05 Jean-Louis Martineau + * installcheck/taper.pl: Add check for previous patch. + +2012-12-05 Jean-Louis Martineau + * perl/Amanda/Taper/Worker.pm: Do it at the right place. + +2012-12-05 Jean-Louis Martineau + * perl/Amanda/Taper/Worker.pm: Use header is_partial to get dump + status for FILE-WRITE. + +2012-12-04 Jean-Louis Martineau + * client-src/client_util.c: print script output for backup with the + "| " prefix. + +2012-12-04 Jean-Louis Martineau + * server-src/amvault.pl: Missing return statement. + +2012-12-03 Dan Locks + * packaging/common/post_inst_functions.sh: add get_random_lines() and + use it to generate random passwords + * packaging/common/test_sh_libs.sh: test and use get_random_lines(), + use static log file name, enforce order on tests using + (get_random_lines, create_gnupg, create_ampassphrase, and + create_amkey. + * packaging/deb/postinst.src, packaging/rpm/amanda.spec.src, + packaging/sun-pkg/client/postinstall.src: use command -v instead of + unportable which. + +2012-12-03 Jean-Louis Martineau + * server-src/logfile.c (get_logline): Parse each line separately. + +2012-11-28 Jean-Louis Martineau + * device-src/s3.c: Force new connection after RequestTimeout. + +2012-11-24 Dan Locks + * packaging/rpm/amanda.spec.src: fix comparison operator + +2012-11-23 Jean-Louis Martineau + * installcheck/Amanda_Config.pl, installcheck/Amanda_DB_Catalog.pl, + installcheck/Installcheck/Config.pm, perl/Amanda/Report/human.pm, + perl/Amanda/Taper/Worker.pm, server-src/amtape.pl: Fix perl warning. + +2012-11-23 Dan Locks + * packaging/rpm/amanda.spec.src: fix awk SuSE detection syntax + +2012-11-23 Dan Locks + * common_z/post_inst_functions.sh: add --no-use-agent option to gpg + invocation to avoid problems with uninitialized gpg keyrings. + +2012-11-23 Jean-Louis Martineau + * device-src/null-device.c: Return DEVICE_STATUS_VOLUME_UNLABELED | + DEVICE_STATUS_VOLUME_ERROR on open for reading. + * installcheck/amdevcheck.pl: Fix. + +2012-11-22 Jean-Louis Martineau + * config/amanda/flags.m4: Swig is always compiled with + -Wno-deprecated-declarations + * common-src/amflock.h: s/file_lock_/file_lock/ + * device-src/directtcp-connection.h: + s/DirectTCPConnection_/DirectTCPConnection/ + * ndmp-src/ndmpconnobj.h: s/NDMPConnection_/NDMPConnection/ + * server-src/cmdline.h: s/dumpspec_s/dumpspec_t/ + +2012-11-22 Jean-Louis Martineau + * perl/Amanda/Cmdline.swg: Undo previous patch. + +2012-11-22 Jean-Louis Martineau + * config/amanda/libs.m4: remove deprecated warning for glib > 2.34.0 + * perl/Amanda/Cmdline.swg: s/dumpspec_t/dumpspec_s/ + +2012-11-22 Jean-Louis Martineau + * perl/Amanda/Changer/robot.pm: return 'all slots are empty'. + * perl/Amanda/Taper/Scan/traditional.pm: Call _user_msg on error. + +2012-11-22 Jean-Louis Martineau + * perl/Amanda/Changer/robot.pm: Keep a different current_slot for each + config. + +2012-11-21 Jean-Louis Martineau + * common-src/bsd-security.c (stream_read_callback): Do not cancel the + event in case of successful read. + * common-src/security-util.c: Typo. + +2012-11-15 Jean-Louis Martineau + * perl/Amanda/Changer/aggregate.pm, perl/Amanda/Changer/disk.pm, + perl/Amanda/Changer/multi.pm, + perl/Amanda/Changer/robot.pm: Add LOCK-TIMEOUT property. + * perl/Amanda/Changer.pm: Handle lock-timeout property. + * man/xml-source/amanda-changers.7.xml: Document new LOCK-TIMEOUT + properties. + +2012-11-14 Jean-Louis Martineau + * application-src/amsamba.pl: Password can be encoded. + +2012-11-14 Jean-Louis Martineau + * perl/Amanda/Report/human.pm: Do not print failure for config + setting. + * perl/Amanda/Taper/Worker.pm: Send TAPE-CONFIG. + * server-src/amflush.c: Do not add L_DISK if nothing to flush. + * server-src/amstatus.pl: Parse TAPE-CONFIG and print appropriate + message. + * server-src/driver.c: Parse TAPE-CONFIG. + * installcheck/taper.pl: Check new TAPE-CONFIG in protocol. + * installcheck/catalogs/amflush.cat: Fix for new format. + +2012-11-05 Jean-Louis Martineau + * man/xml-source/amanda-devices.7.xml: Add 'OAUTH2' and 'CASTOR' for + value of the storage-api property. + +2012-10-25 Jean-Louis Martineau + * common-src/event.c: Disable -Wmissing-field-initializers when using + G_STATIC_MUTEX_INIT because of warning with glib-2.32. + +2012-10-25 Jean-Louis Martineau + * man/xml-source/amfetchdump.8.xml: Document --extract, --directory, + --data-path and --application-property. + +2012-10-25 Jean-Louis Martineau + * common-src/event.c: Use a GStaticMutex. + +2012-10-25 Jean-Louis Martineau + * ndmp-src/ndmpconnobj.c: Use a GStaticMutex. + +2012-10-24 Jean-Louis Martineau + * installcheck/Amanda_Device.pl: Fix count. + +2012-10-23 Jean-Louis Martineau + * ndmp-src/ndmpconnobj.c: Use event_create and event_activate. + Create static notify_data_t. + +2012-10-23 Jean-Louis Martineau + * common-src/event.c (event_create, event_activate): New function, it + split event_register in two. + * common-src/event.h (event_create, event_activate): New prototype. + +2012-10-22 Jean-Louis Martineau + * device-src/device.c (device_accept, device_connect, + device_write_from_connection, device_read_to_connection): They take + (int *, GMutex *, GCond *) new arguments to be able to interupt + them. + * device-src/device.h: Change prototype. + * device-src/ndmp-device.c: Implement new functionnality. + * device-src/xfer-dest-taper-directtcp.c, + device-src/xfer-source-recovery.c: Use the new API. + * installcheck/Amanda_Device.pl: Remove directtcp test. + * ndmp-src/ndmpconnobj.c (ndmp_connection_wait_for_notify_with_cond): + Allow to be cancelled. + * ndmp-src/ndmpconnobj.h: Change prototype. + * perl/Amanda/Device.swg: Remove accept, connect, + write_from_connection and read-to_connection. + +2012-10-22 Jean-Louis Martineau + * perl/Amanda/Taper/Scribe.pm (abort_setup): New method. + * perl/Amanda/Taper/Scribe.pm (_dump_done): Return if $dump_cb is not + set. + * perl/Amanda/Taper/Worker.pm: Call abort_setup if setup failed. + +2012-10-22 Jean-Louis Martineau + * server-src/amfetchdump.pl: typo, remove '.' in argv. + +2012-10-22 Jean-Louis Martineau + * server-src/dumper.c (do_dump): Make the header file only + HEADER_DONE. + +2012-10-22 Jean-Louis Martineau + * perl/Amanda/Taper/Controller.pm: Reverse taper/driver in log. + +2012-10-22 Jean-Louis Martineau + * ndmp-src/ndmjob_args.c (handle_long_option): Close the fd. + +2012-10-22 Jean-Louis Martineau + * common-src/event.c: Make the code thread safe. + +2012-10-19 Jean-Louis Martineau + * common-src/match.c: Handle '=' as first characters of expression. + * man/xml-source/amanda-match.7.xml: Document new '=' as first + character of expression. + * man/xml-source/amadmin.8.xml, man/xml-source/amcheck.8.xml, + * man/xml-source/amdump.8.xml, man/xml-source/amfetchdump.8.xml, + * man/xml-source/amflush.8.xml, man/xml-source/amrestore.8.xml, + * man/xml-source/amvault.8.xml: Document new '--exact-match' argument. + * perl/Amanda/Cmdline.swg: Add CMDLINE_EXACT_MATCH + * server-src/diskfile.c (match_disklist, match_dumpfile): + New exact_match argument. + * server-src/diskfile.h (match_disklist, match_dumpfile): + Change prototype. + * server-src/cmdline.c (cmdline_parse_dumpspecs): CMDLINE_EXACT_MATCH. + * server-src/cmdline.h: New CMDLINE_EXACT_MATCH. + * server-src/amadmin.c, server-src/amcheck.c, + server-src/amdump.pl, server-src/amfetchdump.pl, + server-src/amflush.c, server-src/amrestore.pl, + server-src/amvault.pl, server-src/planner.c: Add --exact-match + argument. + * installcheck/Amanda_Cmdline.pl: Check '='. + * installcheck/amadmin.pl: Check --exact-match and '='. + +2012-10-19 Jean-Louis Martineau + * server-src/amfetchdump.pl: Fix for compressed dump. + +2012-10-19 Jean-Louis Martineau + * server-src/amfetchdump.pl: Add [--extract --directory directory + [--data-path (amanda|directtcp)] + [--application-property='NAME=VALUE']*] + * man/xml-source/amfetchdump.8.xml: Document them. + * perl/Amanda/Extract.pm: New utilities torun application from perl. + * perl/Makefile.am: Add Amanda/Extract.pm + * perl/Amanda/Recovery/Clerk.pm: Small fix. + +2012-10-18 Jean-Louis Martineau + * All files: Change Zmanda licensing to GPLv2+ and LGPLv2+, Add Zmanda + copyright to files modified by Zmanda. + +2012-10-15 Jean-Louis Martineau + * common-src/conffile.c: New REPORT-USE-MEDIA and REPORT-NEXT-MEDIA. + * common-src/conffile.h: And CNF_REPORT_USE_MEDIA and + CNF_REPORT_NEXT_MEDIA + * man/xml-source/amanda.conf.5.xml: Document REPORT-USE-MEDIA and + REPORT-NEXT-MEDIA. + * perl/Amanda/Config.swg: Add CNF_REPORT_USE_MEDIA and + CNF_REPORT_NEXT_MEDIA. + * perl/Amanda/Report/human.pm: Use them. + +2012-10-12 Jean-Louis Martineau + * server-src/amstatus.pl (showtime): Use calandar days. + +2012-10-12 Jean-Louis Martineau + * perl/Amanda/Taper/Worker.pm: Add data_path to %splitting_args. + * perl/Amanda/Taper/Scribe.pm: Correctly set part_* for DIRECTTCP + data_path. + +2012-10-11 Jean-Louis Martineau + * amandad-src/amandad.c: Add a timeout. + * common-src/event.c: List all event in debug mode. + * common-src/security-util.c: Call the accept_fn on connection close. + +2012-10-11 Jean-Louis Martineau + * common-src/amcryptsimple.pl: Add '-z 0' to gpg argument when + encrypting. + +2012-10-09 Jean-Louis Martineau + * oldrecover-src/amrecover.c: Solaris do not have sa_restorer. + +2012-10-09 Jean-Louis Martineau + * amar-src/amarchiver.c, client-src/selfcheck.c, + common-src/bsd-security.c, common-src/util.c, + device-src/device.c, device-src/ndmp-device.c, + common-src/util.c, device-src/tape-device.c, + oldrecover-src/amrecover.c, recover-src/extract_list.c, + recover-src/set_commands.c, server-src/diskfile.c, + server-src/driver.c: Fix bug found by Coverity. + +2012-10-09 Jean-Louis Martineau + * example/Makefile.am: Build amanda-CAStor.conf from + amanda-CAStor.conf.in + * example/template.d/amanda-CAStor.conf: Remove + * example/template.d/amanda-CAStor.conf.in: New file. + +2012-10-05 Jean-Louis Martineau + * common-src/security-util.c: Change the security_stream_read callback + to not release the event if the read succeed. + * amandad-src/amandad.c, common-src/amservice.c, + recover-src/extract_list.c, server-src/dumper.c: Do not restart + security_stream_read if the read succeeded. + * server-src/dumper.c: Handle timeout without starting too much event. + +2012-10-05 Jean-Louis Martineau + * server-src/driver.c (tape_action): Fix handling of + taper-parallel-write. + * server-src/driver.c: Go in degraded mode only after all taper failed. + +2012-10-05 Jean-Louis Martineau + * server-src/amstatus.pl: Fix for TAKE-SCRIBE-FROM command, handle + multiple taper status files. + +2012-10-02 Jean-Louis Martineau + * server-src/amstatus.pl: Fix for (eof) from dumper/chunker or taper. + +2012-09-27 Jean-Louis Martineau + * device-src/s3-device.c: Fix reps and reps_bucket name. + +2012-09-26 Jean-Louis Martineau + * common-src/conffile.c (get_multiplier): Fix for for CONF_END. + +2012-09-25 Jean-Louis Martineau + * device-src/xfer-dest-taper-splitter.c: Do not increase partnum if + the size is 0. + * installcheck/Amanda_Xfer.pl: Fix partnum check. + * perl/Amanda/Taper/Scribe.pm: Improve debugging. + +2012-09-25 Jean-Louis Martineau + * perl/Amanda/Taper/Scan/lexical.pm, + perl/Amanda/Taper/Scan/oldest.pm: Fix perl warning. + +2012-09-24 Jean-Louis Martineau + * perl/Amanda/Changer/robot.pm: Fix for header not read. + +2012-09-24 Jean-Louis Martineau + * man/xml-source/amanda.conf.5.xml (part-size): Improve documentation. + +2012-09-24 Jean-Louis Martineau + * perl/Amanda/Taper/Scribe.pm (device_started): Can get non-numeric + result. + +2012-09-21 Jean-Louis Martineau + * man/xml-source/tapelist.5.xml: Add BLOCKSIZE. + +2012-09-21 Jean-Louis Martineau + * perl/Amanda/Tapelist.swg: die() if tapelist is not valid. + * server-src/tapefile.c: exit if tapelist is not valid. + * installcheck/Amanda_Tapelist.pl: Add more check. + * perl/Amanda/Changer.pm: Add $err->device + * perl/Amanda/Changer/robot.pm: Return error if barcode do not match + with tapelist. + * server-src/amtape.pl (inventory): Print if barcode do not match. + +2012-09-21 Jean-Louis Martineau + * installcheck/Makefile.am (catalogs): Add + catalogs/taper-parallel-write.cat. + +2012-09-21 Jean-Louis Martineau + * device-src/s3.c: Fix date_sync_regex. + +2012-09-20 Jean-Louis Martineau + * server-src/amstatus.pl: Fix for taper-parallel-write > 1. + * installcheck/amstatus.pl: Checkit. + * installcheck/catalogs/taper-parallel-write.cat: New catalog. + +2012-09-19 Jean-Louis Martineau + * device-src/s3.c: Castor require libcurl 7.19.1. + +2012-09-18 Jean-Louis Martineau + * device-src/s3-device.c, device-src/s3.c: Castor require libcurl + 7.19.1. + +2012-09-17 Jean-Louis Martineau + * device-src/s3-device.c, device-src/s3.c + device-src/s3.h: Add CASTOR S3_API. + * example/template.d/amanda-CAStor.conf: Example + config for castor. + +2012-09-17 Jean-Louis Martineau + * application-src/amgtar.c: Set gnutar_listdir after the config for + the backup set is read. + +2012-09-17 Jean-Louis Martineau + * common-src/amxml.c (amstart_element): Set data_user->dle->property. + +2012-09-05 Jean-Louis Martineau + * server-src/amcheckdump.pl: s/correclty/correctly/g + +2012-08-24 Jean-Louis Martineau + * perl/Amanda/Changer/robot.pm: Correctly set f_type and device_error + in state. + * perl/Amanda/ScanInventory.pm (volume_is_labelable): Set labelstr for + does_not_match_labelstr. + * perl/Amanda/Taper/Scan/lexical.pm, + perl/Amanda/Taper/Scan/oldest.pm (analyze): Check label match + labelstr. + * server-src/amcheck-device.pl (_user_msg_fn): print message when res + is not set. + * server-src/amtape.pl: Fix for device returning empty error. + * installcheck/Amanda_Changer_ndmp.pl, + installcheck/Amanda_Changer_robot.pl: Fix for f_type set. + +2012-08-24 Jean-Louis Martineau + * installcheck/gnutar.pl: fc17 gnutar is like fc15. + +2012-08-24 Jean-Louis Martineau + * installcheck/Amanda_Device.pl: Print error if nc, nc6 or netcat is + not installed. + +2012-08-23 Jean-Louis Martineau + * perl/Amanda/Changer/disk.pm: Use the changerfile for the statefile. + +2012-08-22 Jean-Louis Martineau + * server-src/amdump.pl: Create amdump., amdump and amdump.1 + are maintained as symlink. + +2012-08-21 Jean-Louis Martineau + * server-src/planner.c (handle_result): Correctly log some error. + 2012-07-24 Jean-Louis Martineau * device-src/s3-device.c: New REUSE-CONNECTION property. * device-src/s3.c: Do not reuse connection if REUSE-CONNECTION is