/
ChangeLog
19446 lines (15901 loc) · 827 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2015-07-07 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/rait-device.c, device-src/tape-device.c,
device-src/vfs-device.c: Typo.
2015-06-23 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Util.swg: disable setenv_init.
2015-06-23 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/xfer-source-device.c (pull_buffer_impl): Call
device_read_block with a goot max_block value
* perl/Amanda/Device.swg (verify_random_from_device): Call
device_read_block with a max_block of -1
2015-06-23 Jean-Louis Martineau <martineau@zmanda.com>
* application-src/amgtar.c: Use g_ascii_strtoull.
2015-06-22 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Xfer.swg: break potential reference loop
2015-06-19 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amidxtaped.pl: Temporary fix for protocol bug.
2015-06-19 Jean-Louis Martineau <martineau@zmanda.com>
* recover-src/extract_list.c: Fix if not an application
2015-06-19 Jean-Louis Martineau <martineau@zmanda.com>
* ndmp-src/ndma_data.c: Undo patch.
* recover-src/extract_list.c: Fix compilation
2015-06-18 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/dumper.c: Fix compilation
2015-06-18 Jean-Louis Martineau <martineau@zmanda.com>
* xfer-src/source-file.c: Fix compilation
2015-06-18 Jean-Louis Martineau <martineau@zmanda.com>
* xfer-src/dest-application.c, xfer-src/source-file.c: Add files
2015-06-18 Jean-Louis Martineau <martineau@zmanda.com>
* Implement DAR (Direct Access Recovery)
2015-06-16 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer/robot.pm (verify_unlocked): Reload the state and
use eject_unload
2015-06-15 Jean-Louis Martineau <martineau@zmanda.com>
* application-src/ampgsql.pl: Take another tar of ./pg_tblspc by
keeping the symlink.
2015-06-10 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/ndmp-device.c: On recovery, set initial window to (0, -1)
* installcheck/Installcheck/Mock.pm: Set verbose to YES
2015-06-09 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/ndmp-device.c: Set initial window correctly on recovery
2015-06-09 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/amssl.pl: SSL_VERIFY_NONE is not defined on older
IO::Socket::SSL
2015-06-09 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/security-util.h (struct tcp_conn): Remove meth.
* common-src/ssl-security.c: Do not use temporary variable for the
method.
2015-06-09 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amcheck.c: s/check_auth/check_host_setting/g, check
maxdumps is the same for all DLEs of a host
* common-src/ammessage.c: Add message 2800232
2015-06-08 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/krb5-security.c (krb5_tcpm_recv_token): Remove the fd
argument.
2015-06-08 Jean-Louis Martineau <martineau@zmanda.com>
* man/Makefile.am: Typo.
2015-06-08 Jean-Louis Martineau <martineau@zmanda.com>
Add ssl auth.
* config/amanda/amanda_configure.m4: Load AMANDA_SSL_SECURITY
* config/amanda/ssl-security.m4 (AMANDA_SSL_SECURITY): Add
--with-ssl-security
* amandad-src/amandad.c: Add code to support ssl auth,
* common-src/Makefile.am (libamanda_la_SOURCES): Add ssl-security.c
* common-src/Makefile.am (sbin_SCRIPTS_PERL): Add amssl
* common-src/amgetconf.pl: Remove useless space
* common-src/amssl.pl: New amssl program
* common-src/conffile.c: Add CONF_SSL_FINGERPRINT_FILE,
CONF_SSL_CERT_FILE, CONF_SSL_KEY_FILE, CONF_SSL_CA_CERT_FILE,
CONF_SSL_CIPHER_LIST, CONF_SSL_CHECK_HOST,
CONF_SSL_CHECK_CERTIFICATE_HOST, CONF_SSL_CHECK_FINGERPRINT and
CONF_SSL_DIR
* common-src/conffile.h: Add CNF_SSL_FINGERPRINT_FILE,
CNF_SSL_CERT_FILE, CNF_SSL_KEY_FILE, CNF_SSL_CA_CERT_FILE,
CNF_SSL_CIPHER_LIST, CNF_SSL_CHECK_HOST,
CNF_SSL_CHECK_CERTIFICATE_HOST, CNF_SSL_DIR and
DUMPTYPE_SSL_FINGERPRINT_FILE, DUMPTYPE_SSL_CERT_FILE,
DUMPTYPE_SSL_KEY_FILE, DUMPTYPE_SSL_CA_CERT_FILE,
DUMPTYPE_SSL_CIPHER_LIST, DUMPTYPE_SSL_CHECK_HOST,
DUMPTYPE_SSL_CHECK_CERTIFICATE_HOST, DUMPTYPE_SSL_CHECK_FINGERPRINT
* common-src/glib-util.c: Load openssl.
* common-src/security-util.c (generic_data_write, generic_data_read):
New functions.
* common-src/security-util.h (generic_data_write, generic_data_read):
Add prototypes.
* common-src/security.c: Load ssl_security_driver.
* common-src/security.h (struct security_driver): Add data_write and
data_read method.
* common-src/bsd-security.c, common-src/bsdtcp-security.c,
common-src/bsdudp-security.c, common-src/krb5-security.c,
common-src/local-security.c, common-src/rsh-security.c,
common-src/ssh-security.c: Add generic_data_write and
generic_data_read
* common-src/ssl-security.c: New ssl auth code
* man/Makefile.am (COMMON_MAN_PAGES): Add amanda-auth-ssl.7 and
amssl.8
* man/xml-source/amanda-auth-ssl.7.xml: New man page
* man/xml-source/amanda-auth.7.xml: Link to amanda-auth-ssl
* man/xml-source/amanda.8.xml: Link to amanda-auth-ssl
* man/xml-source/amssl.8.xml: New man page
* perl/Amanda/Config.swg: Add CNF_SSL_FINGERPRINT_FILE,
CNF_SSL_CERT_FILE, CNF_SSL_KEY_FILE, CNF_SSL_CA_CERT_FILE,
CNF_SSL_CIPHER_LIST, CNF_SSL_CHECK_HOST,
CNF_SSL_CHECK_CERTIFICATE_HOST, CNF_SSL_DIR
* server-src/diskfile.h (struct disk_s): Add ssl setting
* server-src/diskfile.c: Load ssl setting
* server-src/driverio.c: Pass ssl setting.
* server-src/dumper.c: Use ssl specific setting.
* server-src/server_util.c (amhost_get_security_conf): Add
ssl setting.
2015-06-08 Jean-Louis Martineau <martineau@zmanda.com>
* example/amanda.conf.in: Fix typo.
* common-src/amgetconf.pl, man/xml-source/amanda-auth.7.xml,
man/xml-source/amgetconf.8.xml, perl/Amanda/Constants.pm.in.src:
Remove krb4 setting.
* perl/Amanda/Amdump.pm, perl/Amanda/Amflush.pm,
perl/Amanda/CheckDump.pm, perl/Amanda/Chunker/Controller.pm,
perl/Amanda/Chunker/Protocol.pm, perl/Amanda/FetchDump.pm,
perl/Amanda/Label.pm, perl/Amanda/Message.pm,
perl/Amanda/Taper/Controller.pm: Remove useles @PERL@ and
@amperldir@;
2015-06-06 Jean-Louis Martineau <martineau@zmanda.com>
* rest-server/bin/app-dancer2.pl.in,
rest-server/bin/app.pl.in: Use @PERL@
2015-06-02 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Vault.pm: Time::HiRes is not available everywhere.
2015-06-02 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Report/human.pm: Set total_time to the time of amvault
on an amvault run.
* perl/Amanda/Report.pm: Parse amvault FINISH line.
* perl/Amanda/Vault.pm: Log a FINISH line.
2015-06-02 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/ammessage.c: Improve hint on message 2800231.
2015-06-01 Jean-Louis Martineau <martineau@zmanda.com>
* oldrecover-src/extract_list.c: More fix if SAMBA_CLIENT is not
defined.
2015-06-01 Jean-Louis Martineau <martineau@zmanda.com>
* recover-src/extract_list.c: More fix if SAMBA_CLIENT is not defined.
2015-06-01 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Tests.swg: #include "glib-util.h"
* client-src/selfcheck.c, common-src/ammessage.c,
recover-src/extract_list.c, server-src/driver.c: Fix bug found by
coverity.
2015-06-01 Jean-Louis Martineau <martineau@zmanda.com>
* ndmp-src/ndmpconnobj.c: #include "glib-util.h",
* ndmp-src/ndmpconnobj.c (ndmp_connection_mover_connect): return a
gboolean.
* perl/Amanda/Tests.swg: #include "glib-init.h"
* perl/Amanda/Util.swg: #include "match.h"
* perl/Amanda/Util.swg: rename crc32 to crc32_add.
2015-06-01 Jean-Louis Martineau <martineau@zmanda.com>
* config/compile, config/config.guess, config/config.sub,
config/depcomp, config/install-sh, config/missing,
config/test-driver, config/ylwrap: Newer version of files.
2015-05-29 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amcheck.c: Check auth on both local and client check.
2015-05-28 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/ammessage.c: Improve message 2800231.
* server-src/amcheck.c: message 2800231 is an MSG_ERROR.
2015-05-27 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/ndmp-device.c: Fix previous patch.
2015-05-27 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/ndmp-device.c: Call ndmp_connection_mover_read with the
header size as the offset.
2015-05-22 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amcheck.c: Check all dles of a host have the same auth.
* common-src/ammessage.c: Add message 2800231.
2015-05-22 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Taper/Worker.pm: Fix $failure_from.
2015-05-21 Jean-Louis Martineau <martineau@zmanda.com>
* rest-server/bin/app.pl.in: confdir is in amlibexecdir.
2015-05-21 Jean-Louis Martineau <martineau@zmanda.com>
* rest-server/Makefile.am: Install the rest-server in amlibexecdir.
* server-src/amanda-rest-server.pl, installcheck/Installcheck/Rest.pm:
rest-server installed in amlibexecdir.
2015-05-20 Jean-Louis Martineau <martineau@zmanda.com>
* rest-server/Makefile.am (EXTRA_DIST): Add the *.in files
2015-05-20 Jean-Louis Martineau <martineau@zmanda.com>
* rest-server/Makefile.am: typo.
2015-05-20 Jean-Louis Martineau <martineau@zmanda.com>
* rest-server/Makefile.am (EXTRA_DIST): Add rest server.
2015-05-20 Jean-Louis Martineau <martineau@zmanda.com>
* rest-server/Makefile.am: Missing \
2015-05-20 Jean-Louis Martineau <martineau@zmanda.com>
* rest-server/Makefile.in, rest-server/Makefile,
rest-server/lib/Amanda/Rest.pm, rest-server/bin/app-dancer2.pl,
rest-server/bin/app.pl: Remove files.
2015-05-20 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Makefile.am: Fix.
2015-05-20 Jean-Louis Martineau <martineau@zmanda.com>
* rest-server/*: Moved the rest-server
* Makefile.am (SUBDIRS): Add rest-server
* configure.in (AC_CONFIG_FILES): add rest-server/Makefile
* server-src/amanda-rest-server.pl: Add --dancer and --dancer2 option.
2015-05-19 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Script_App.pm (print_to_server_and_die): Always FAILURE
2015-05-15 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/conffile.h: Add CNF_REST_SSL_CERT and CNF_REST_SSL_KEY
* common-src/conffile.c: Parse rest-ssl-cert and rest-ssl-key
* perl/Amanda/Config.swg: Add CNF_REST_SSL_CERT and CNF_REST_SSL_KEY
* server-src/amanda-rest-server.pl: Start the REST server with
'--enable-ssl --ssl-cert $ssl_cert --ssl-key $ssl_key' if
CNF_REST_SSL_CERT and CNF_REST_SSL_KEY are set.
* man/xml-so: Document the rest-api-port, rest-ssl-cert and
rest-ssl-key setting form /etc/amanda/amanda.conf
2015-05-13 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/FetchDump.pm: Do not pass a changer
* perl/Amanda/Recovery/Planner.pm (make_plan): Accept storage instead
of changer
* perl/Amanda/Vault.pm: Use src_storage_name and dest_storage_name
* server-src/amvault.pl: Add --src-storage and --dest-storage
arguments
* man/xml-source/amvault.8.xml: Document --src-storage and
--dest-storage
* installcheck/Amanda_Recovery_Planner.pl: Fix for new api
2015-05-13 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Status.pm: Parse 'requeue write' line, set storage
will_retry.
* server-src/driver.c: Write 'requeue write' line.
* server-src/driver.c: Fix vaulting.
* server-src/driverio.c (startup_dump_tape_process,
startup_vault_tape_process): New function to replace
startup_tape_process.
* server-src/driverio.h (startup_dump_tape_process,
startup_vault_tape_process): Add prototype.
* installcheck/Amanda_Rest_Runs.pl: Add 'will_retry' in status result.
* installcheck/Installcheck/Dumpcache.pm: Force level when doing
backup.
2015-05-12 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/amgetconf.pl: Do not load the disklist if a config is not
set.
* common-src/conffile.c: load the cwd amanda.conf only if it exist.
2015-05-11 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Rest/Amanda/config.yml: Remove Dancer2 setting.
2015-05-11 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Makefile.am: Typo
2015-05-11 Jean-Louis Martineau <martineau@zmanda.com>
* config/automake/scripts.am: Fix checking SCRIPTS_PERL_NO_CHECK.
* perl/Makefile.am (SCRIPTS_PERL_NO_CHECK): Add Amanda/Rest.pm
2015-05-11 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Rest.pm: Remove
* perl/Amanda/Rest.pm.in: Server for Dancer2
* perl/Amanda/Rest/Amanda/bin/app-dancer2.pl.in: Start script for
using Dancer2
* perl/Amanda/Rest/Amanda/config.yml: Add config for Dancer2
* perl/Makefile.am: Install new files
* server-src/amanda-rest-server.pl: Use Dancer2 if available
* installcheck/Installcheck/Rest.pm: Use Dancer2 if available
2015-05-11 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Message.pm (TO_JSON): New method.
* perl/Amanda/Rest/Amanda/bin/app.pl.in: Expect a status in function
result.
* perl/Amanda/Rest/Amcheck.pm, perl/Amanda/Rest/Changers.pm,
perl/Amanda/Rest/Configs.pm, perl/Amanda/Rest/Dles.pm,
perl/Amanda/Rest/Dumps.pm, perl/Amanda/Rest/Labels.pm,
perl/Amanda/Rest/Report.pm, perl/Amanda/Rest/Runs.pm,
perl/Amanda/Rest/Services.pm, perl/Amanda/Rest/Status.pm,
perl/Amanda/Rest/Storages.pm, perl/Amanda/Rest/Storages/Labels.pm,
perl/Amanda/Rest/Version.pm: Function return status and array of
Message.
2015-05-11 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Rest/Amanda/bin/app.pl.in: Parse request body for POST
and DELETE request.
2015-05-11 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Status.pm: Improve worker output.
2015-05-07 Jean-Louis Martineau <martineau@zmanda.com>
* application-src/ampgsql.pl: check ARCHIVEDIR is not inside DATADIR.
2015-05-07 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amanda-rest-server.pl: Add a --development option
* man/xml-source/amanda-rest-server.8.xml: Document --development
2015-05-07 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Status.pm: More fix.
2015-05-06 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Amanda_Rest_Runs.pl: Add retry, retry_level and
will_retry.
2015-05-06 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Status.pm: VAULT-WRITE must reset the retry flag.
2015-05-06 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/driver.c: Add a 'requeue' line to the amdump log file.
* perl/Amanda/Status.pm: Better handling of retry.
2015-05-06 Jean-Louis Martineau <martineau@zmanda.com>
* application-src/amgtar.c, client-src/rundump.c,
client-src/runtar.c, client-src/selfcheck.c,
client-src/sendbackup.c, client-src/senddiscover.c,
xfer-src/filter-process.c: Always free the result of safe_env.
2015-05-06 Jean-Louis Martineau <martineau@zmanda.com>
* client-src/amandates.c, client-src/sendsize.c,
common-src/ammessage.c: Fix bug found by coverity.
* device-src/ndmp-device.c (ndmp_device_eject): Call open_connection.
2015-05-05 Jean-Louis Martineau <martineau@zmanda.com>
* client-src/sendbackup.c: Cleanup.
2015-04-30 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Cleanup.pm: Log the notes
* perl/Amanda/Report.pm: Parse amcleanup log line
* perl/Amanda/Report/human.pm (PROGRAM_ORDER): Add amcleanup
* perl/Amanda/Rest/Runs.pmi (kill): Accept notes argument
* server-src/amcleanup.pl: Add --note argument
* server-src/logfile.h (logtype_e): Add P_AMCLEANUP
* server-src/logfile.c (logtype_str): Add "amcleanup"
* perl/Amanda/Logfile.swg: Add P_AMCLEANUP
* man/xml-source/amcleanup.8.xml: Document --note argument
2015-04-29 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3-device.c: Fix progress_func and set timeout to 0.
2015-04-29 Jean-Louis Martineau <martineau@zmanda.com>
* NEWS: ADD NEARLINE storage.
* man/xml-source/amanda-devices.7.xml: Document NEARLINE storage.
2015-04-29 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3-device.c (progress_function): Fail on timeout.
* device-src/s3-device.h (_S3_by_thread): Add tiemout.
* device-src/s3.c (RESULT_HANDLING_ALWAYS_RETRY): Add
CURLE_ABORTED_BY_CALLBACK.
2015-04-28 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/conffile.c: Fix wrong variable.
2015-04-28 Jean-Louis Martineau <martineau@zmanda.com>
* application-src/ampgsql.pl (backup): Create an archive directory
with the same permission as the data directory.
2015-04-27 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Status.pm: Fix status.
2015-04-27 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer.pm: Add new messages.
* perl/Amanda/Changer/multi.pm (update): Allow 'error' for the slot
range.
* perl/Amanda/Changer/robot.pm (update): Allow 'error' for the slot
range.
* installcheck/Amanda_Changer_robot.pl: Fix.
* server-src/amtape.pl: Fix for new messages.
* man/xml-source/amanda-changers.7.xml: Add error keyword.
2015-04-27 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer/robot.pm (set_error_to_unknown): New function
that allow the tapescan to reset all slots with given error.
2015-04-27 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Vault.pm: Create timer once.
2015-04-27 Jean-Louis Martineau <martineau@zmanda.com>
* recover-src/extract_list.c: Abort a restore if application fail.
2015-04-23 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Status.pm: Improve parsing if a line is misquoted.
2015-04-22 Xu Han <xhan@zmanda.com>
* server-src/amanda-rest-server.pl: exit code 1 when start fails
2015-04-22 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/amflock.c: Cleanup
* server-src/cmdfile.c: Retry lock on 1.
2015-04-22 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Installcheck/Config.pm: Set inparallel to 2.
* installcheck/Amanda_Rest_Configs.pl: Fix for inparallel value.
2015-04-21 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c: Retry on 429 or 503 error.
2015-04-21 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Report.pm: Set $dumper->{status} to 'retry' on L_RETRY
2015-04-21 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Installcheck/Dumpcache.pm: Use --no-taper
2015-04-20 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Rest/Runs.pm: use File::Glob qw( :glob );
2015-04-15 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/driver.c: Do not send CLOSE_VOLUME request if the worker
have no volume.
2015-04-06 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/driverio.c, server-src/planner.c: Fix bug found by
coverity.
2015-04-03 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Amanda_Rest_Dumps.pl: Do not hardcoded path
* installcheck/amoverview.pl: Increase --diskwidth to 200
2015-04-03 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/driver.c: Fix compilation
2015-04-03 Jean-Louis Martineau <martineau@zmanda.com>
driver can do vault.
* common-src/conffile.c: s/CONF_AMVAULT_STORAGE/CONF_VAULT_STORAGE/,
add CONF_VAULT
* common-src/conffile.h: Add vault_list_t and CONFTYPE_VAULT_LIST
* device-src/xfer-dest-taper-cacher.c: Improve debugging statement
* device-src/xfer-dest-taper-directtcp.c: Improve debugging statement
* device-src/xfer-dest-taper-splitter.c: Improve debugging statement
* device-src/xfer-source-recovery.c: Improve debugging statement
* server-src/xfer-dest-holding.c: Improve debugging statement
* man/xml-source/amanda.conf.5.xml: Document storage and vault-storage
* perl/Amanda/Amflush.pm: s/storage_dest/dst_storage/
* perl/Amanda/Changer/disk.pm: Check $self->{'dir'} is defined
* perl/Amanda/Changer/robot.pm: Check $info->{'state'} is defined
* perl/Amanda/Cmdfile.swg: Change some field names.
* perl/Amanda/Config.swg: Add CONFTYPE_VAULT_LIST.
* perl/Amanda/DB/Catalog.pm (_load_tapelist): Always load.
* perl/Amanda/Recovery/Clerk.pm (close_volume): New method
* perl/Amanda/Recovery/Scan.pmA: Fix message
* perl/Amanda/Report.pm: Fix for vault.
* perl/Amanda/Report/human.pm: Fix for vault.
* perl/Amanda/Status.pm: Fix for vault.
* perl/Amanda/Taper/Controller.pm: Add msg_VAULT_WRITE and
msg_CLOSE_SOURCE_VOLUME
* perl/Amanda/Taper/Protocol.pm: Add VAULT_WRITE, CLOSED_VOLUME,
OPENED_SOURCE_VOLUME, CLOSE_SOURCE_VOLUME, CLOSED_SOURCE_VOLUME
* perl/Amanda/Taper/Scan.pm: Remove unused code
* perl/Amanda/Taper/Scribe.pm (close_volume): Fix
* perl/Amanda/Taper/Scribe.pm (close_source_volume): New method.
* perl/Amanda/Taper/Worker.pm: Add VAULT_WRITE, CLOSE_SOURCE_VOLUME,
recovery_clerk_notif_open_volume, recovery_clerk_notif_close_volume.
* perl/Amanda/Taper/Worker.pm: Add vault operation.
* perl/Amanda/Vault.pm: Fix for multiple vault_storage.
* server-src/amcheck-device.pl: Fix.
* server-src/amcheck.c: s/up/status/
* server-src/amvault.pl: Fix message.
* server-src/cmdfile.c: Change a few names
* server-src/cmdfile.h: Change a few names, many fixes
* server-src/diskfile.c: Set status.
* server-src/diskfile.h: Remove up, add status.
* server-src/driver.c: Data struct change, handle vault command.
* server-src/driverio.c: Add new taper commands.
* server-src/driverio.h: Change many struct.
* server-src/planner.c: Change many struct.
* server-src/server_util.c: Add "VAULT-WRITE", "CLOSED-VOLUME",
"OPENED-SOURCE-VOLUME", "CLOSE-SOURCE-VOLUME" and
"CLOSED-SOURCE-VOLUME"
* server-src/server_util.h: Add VAULT_WRITE, CLOSED_VOLUME,
OPENED_SOURCE_VOLUME, CLOSE_SOURCE_VOLUME, CLOSED_SOURCE_VOLUME.
* server-src/tapefile.c: Fix retention.
* installcheck/Amanda_Rest_Amcheck.pl: Fix
* installcheck/Amanda_Rest_Dumps.pl: Fix sort.
* installcheck/Installcheck/Dumpcache.pm: Force a FULL.
* installcheck/amoverview.pl: Fix.
* installcheck/amvault.pl: Fix.
* installcheck/pp-scripts.pl: Fix.
2015-03-26 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Amanda_Rest_Runs.pl: Check the {head}->{exit_status}
2015-03-26 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/driver.c: Send QUIT to chunker after receiving
ABORT-FINISHED.
2015-03-25 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Report.pm (get_exit_status): New method
* perl/Amanda/Report/json.pm: Add {head}->{exit_status}
2015-03-25 Jean-Louis Martineau <martineau@zmanda.com>
* config/amanda/tape.m4: Add include for bsd.
* device-src/device.c: Improve message
2015-03-24 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Report/json.pm: Add a timestamp in the head section.
* installcheck/Amanda_Rest_Runs.pl: Add timestamp.
2015-03-24 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Status.pm: Report all size as bytes.
* installcheck/Amanda_Rest_Runs.pl,
* server-src/amstatus.pl,
installcheck/Amanda_Rest_Runs.pl: Fix for bytes size.
2015-03-24 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Amanda_Rest_Runs.pl, perl/Amanda/Status.pm,
server-src/amstatus.pl, server-src/driver.c:
s/free_kps/network_free_kps/
s/free_space/holding_free_space/
2015-03-23 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Makefile.am: Do not run the gnutar installcheck
2015-03-20 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Status.pm: Improve documentation.
2015-03-19 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3-device.c: Fix double g_mutex_unlock.
2015-03-17 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amindexd.c: Fix LISTHOST command.
2015-03-06 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/tapefile.c (compute_storage_retention): Fix retentionfor
retention_days.
* installcheck/Amanda_Tapelist.pl: Add many installcheck for
list_retention, list_no_retention, list_new_tapes and
volume_is_reusable
2015-03-06 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amstatus.pl: One line by worker.
2015-03-06 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/tapefile.c (list_retention, list_no_retention): Do not
list datestamp==0 or not in a listed storage.
2015-03-05 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/conffile.c, perl/Amanda/Policy.pm,
perl/Amanda/Taper/Scan.pm,
server-src/tapefile.c: retention_tapes default to tapecycle-1.
* man/xml-source/amanda.conf.5.xml: Document it.
* installcheck/Amanda_Taper_Scan.pl,
installcheck/Amanda_Taper_Scan_lexical.pl,
installcheck/Amanda_Taper_Scan_oldest.pl,
installcheck/Amanda_Taper_Scan_traditional.pl: Fix.
2015-03-05 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/tapefile.c (list_retention, list_no_retention): Fix.
2015-03-05 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Amanda_Config.pl: Fix: Remove append keyword.
2015-03-04 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/conffile.c: Fix parsing dump-selection (remove append).
* man/xml-source/amanda.conf.5.xml: Document change.
2015-02-26 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/conffile.c (config_print_errors_as_message): Fix message.
2015-02-18 Jean-Louis Martineau <martineau@zmanda.com>
* man/xml-source/amadmin.8.xml: Document tape --days.
* server-src/amadmin.c: Fix --days intape command.
2015-02-17 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/bsdtcp-security.c, common-src/krb5-security.c,
* common-src/local-security.c, common-src/rsh-security.c,
* common-src/ssh-security.c: Fix bug found by coverity.
2015-02-17 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amadmin.c: Fix crash in tape command.
2015-02-15 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Xfer.swg: Fix for swig-3.0.5
2015-02-13 Jean-Louis Martineau <martineau@zmanda.com>
* packaging/common/post_inst_functions.sh: Use 'command -v' instead of
which.
2015-02-13 Jean-Louis Martineau <martineau@zmanda.com>
* packaging/common/post_inst_functions.sh: fix for gpg2 and gpg-agent
2015-02-12 Jean-Louis Martineau <martineau@zmanda.com>
* packaging/common/common_functions.sh: Use systemctl to restart
xinetd.
2015-02-12 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Status.pm: Fix previous patch.
2015-02-11 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Status.pm: Fix race.
2015-02-11 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Amdump.pm: Remove amdump file older than 30 days if
there is no corresponding log file.
* server-src/amtrmlog.c: Remove amdump file when removing log file.
2015-02-10 Jean-Louis Martineau <martineau@zmanda.com>
* Makefile.am: Fix for Solaris find.
2015-02-04 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/ssh-security.c (ssh_connect): Use the name from the
disklist, no need to find the canonical name.
2015-02-03 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3-util.c: Fix memory allocation issue.
2015-02-03 Jean-Louis Martineau <martineau@zmanda.com>
* application-src/amstar.c: Support include in backup mode.
2015-01-30 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer/robot.pm: Fix state file update.
2015-01-29 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3-device.c: Parse new AWS4 STORAGE-API.
* device-src/s3-util.c (s3_compute_sha256_hash_ba,
s3_compute_sha256_hash, EncodeHMACSHA256, s3_tohex): New function.
* device-src/s3-util.h (s3_compute_sha256_hash_ba,
s3_compute_sha256_hash, EncodeHMACSHA256, s3_tohex): New prototypes.
* device-src/s3.c: Compute signature for AWS4.
* device-src/s3.h (S3_api): Add S3_API_UNKNOWN and S3_API_AWS4.
* man/xml-source/amanda-devices.7.xml (STORAGE_API): Document AWS4.
* server-src/amtape.pl: Fix perl warning.
2015-01-29 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/dumper.c: Fix retry handling.
2015-01-28 Jean-Louis Martineau <martineau@zmanda.com>
* client-src/selfcheck.c: (print_platform): Do not execute
/usr/bin/sw_vers if it doesn't exists.
* common-src/amutil.c: Fix debugging statement.
2015-01-27 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Amanda_Rest_Runs.pl, installcheck/amreport.pl,
perl/Amanda/Amdump.pm, perl/Amanda/Amflush.pm,
perl/Amanda/CheckDump.pm, perl/Amanda/DB/Catalog.pm,
perl/Amanda/FetchDump.pm, perl/Amanda/Logfile.swg,
perl/Amanda/Process.pm, perl/Amanda/Rest/Report.pm,
perl/Amanda/Rest/Runs.pm, perl/Amanda/Status.pm,
perl/Amanda/Vault.pm, server-src/amstatus.pl,
server-src/driver.c: CNF_LOGIDR can be relative.
2015-01-27 Jean-Louis Martineau <martineau@zmanda.com>
* client-src/selfcheck.c (print_platform): Detect BSD variant.
2015-01-27 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/planner.c: Remove useless line.
2015-01-26 Jean-Louis Martineau <martineau@zmanda.com>
* config/compile, config/config.guess,
config/config.sub, config/missing,
config/test-driver: Upgrade to automake 1.14.1
2015-01-26 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Cmdline.swg, perl/Amanda/Device.swg,
perl/Amanda/MainLoop.swg, perl/Amanda/NDMP.swg,
perl/Amanda/Util.swg: Fix linking issue.
2015-01-16 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Status.pm: Fix perl warning.
2015-01-14 Jean-Louis Martineau <martineau@zmanda.com>
* config/amanda/components.m4: Remove AMANDA_JSON_SERVER and
WANT_JSON_SERVER.
* config/amanda/json.m4: Remove file
* perl/Amanda/JSON/*: Remove directory.
* perl/Amanda/JSON.pm: Remove module.
* perl/Makefile.am: Remove Amanda/JSON.pm and Amanda/JSON/*
* server-src/Makefile.am: Remove amanda.psgi
* server-src/amanda.psgi.pl: Remove file.
2015-01-13 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Vault.pm: Remove bogus print statement.
2015-01-13 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amvault.pl: Add --src-labelstr argument.
* perl/Amanda/DB/Catalog.pm: Match the labelstr.
* perl/Amanda/Recovery/Planner.pm: Match the labelstr.
* perl/Amanda/Util.swg (match_labelstr_expr): New method.
* perl/Amanda/Vault.pm: Match the labelstr.
* NEWS: Add new amvault --src-labelstr argument.
2015-01-07 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/amfeatures.h: Add fe_sendbackup_rep_retry.
* common-src/amfeatures.c: Add fe_sendbackup_rep_retry.
* server-src/dumper.c: Accept a RETRY in the REP packet.
2015-01-06 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer/ndmp.pm: Remove bogus confess.
2015-01-06 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/debug.c: Add the pid of the process on each line.
* perl/Amanda/Changer/disk.pm: Print the pid of the process using the
drive.
* perl/Amanda/Report/human.pm: Fix perl warning.
2015-01-05 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/conffile.c: bumpdays can be 0.
2015-01-03 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Status.pm: Fix bad status error.
2015-01-02 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Rest/Amanda/bin/app.pl.in: Die if loading an extensions
fail.
2014-12-22 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/cmdfile.c (cmdfile_holding_file): Check it is a CMD_FLUSH
2014-12-19 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Report/human.pm: Report all FAIL.
* perl/Amanda/Report/postscript.pm: Fix perl warning.
* installcheck/amreport.pl: Change message.
2014-12-18 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/dumper.c: Fix RETRY line.
2014-12-18 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Report.pm: Set dumper filed on RETRY.
* perl/Amanda/Report/human.pm: Print RETRY line.
2014-12-18 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Status.pm: Fix perl warning.
2014-12-17 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Curinfo/Info.pm (read_infofile_perfs): Report correct
error if $skip_blanks fail.
2014-12-17 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Curinfo/Info.pm (read_infofile): Handle empty file.
2014-12-17 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/DB/Catalog.pm: set $dumps{$dumpkey} on partnum==1.
2014-12-16 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Vault.pm: Get interactivity.
* server-src/amvault.pl: Add --no-interactivity
* man/xml-source/amvault.8.xml: Document --no-interactivity argument.
2014-12-16 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Rest/Runs.pm (list): Do not fail on empty file.
2014-12-15 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Status.pm: Set $sle->{'status'} on taper eof.
* server-src/driverio.h (taper_t): Add down field.
* server-src/driverio.c (startup_tape_process): Set down to false.
* server-src/driver.c (start_some_dumps): Do not use a taper if it is
down.
* server-src/driver.c (handle_taper_result): Set it to down on BOGUS.
2014-12-15 Jean-Louis Martineau <martineau@zmanda.com>
* application-src/amgtar.c (support): Output
"MESSAGE-SELFCHECK-JSON YES".
* client-src/client_util.c (run_client_scripts): Output script output
in meesage form.
* client-src/client_util.h (run_client_scripts): Change proptotype.
* client-src/selfcheck.c: Add fprint_message argument to
run_client_scripts.
* common-src/amfeatures.c: Add fe_sendsize_message,
fe_sendbackup_message.
* common-src/amfeatures.h: Add fe_sendsize_message,
fe_sendbackup_message.
* common-src/ammessage.c: Add error code 4600000 and 4600001.
* perl/Amanda/Message.pm: Add many code range.
* client-src/sendbackup.c: Add NULL argument to run_client_scripts.
* client-src/sendsize.c: Add NULL argument to run_client_scripts.
* recover-src/extract_list.c: Add NULL argument to run_client_scripts.
2014-12-12 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/dumper.c: Print 'data in sum CRC' to debug file.
2014-12-12 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/ammessage.c: Fix memory allocation.
2014-12-11 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Vault.pm: Continue to next dump if src device fail.
2014-12-11 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/ammessage.c: Fix.
* perl/Amanda/Logfile.swg: Include "amindex.h"
2014-12-11 Jean-Louis Martineau <martineau@zmanda.com>
* application-src/amgtar.c: Fix message memory leak.
* client-src/client_util.c: Fix message memory leak.
* common-src/ammessage.c: Fix memory leak, fix for older glib2.
2014-12-11 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Rest/Dles.pm: allow set and unset command at the same
time.
2014-12-10 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/security-util.c: Change debuging level.
2014-12-10 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/ammessage.c: Fix for older glib2.
2014-12-10 Jean-Louis Martineau <martineau@zmanda.com>
* client-src/senddiscover.c: fix json formating.
* common-src/ammessage.c: Parse hash and array in message.
2014-12-09 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Process.pm (which_process_running): New method to return
the list of pid of the running amanda processes.
* perl/Amanda/Cleanup.pm (message 3400002): Include the list of pid
running.
2014-12-09 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Status.pm: Fix status.
2014-12-08 Jean-Louis Martineau <martineau@zmanda.com>
* client-src/senddiscover.c: Parse application stdout
* common-src/ammessage.c: handle null in json message.
2014-12-04 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer/robot.pm: Use tapelist label only if the slot is
in SLOT_UNKNOWN state.
2014-12-04 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Taper/Scribe.pm: Keep an $self->{'oldsize'}.
* perl/Amanda/Taper/Scribe.pm (get_bytes_written): Return
$self->{'oldsize'} if the xfer is done.
* perl/Amanda/Taper/Worker.pm: Truncate the status file after writting
to it.
2014-12-02 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amcheck-device.pl: s/writablility/writability/.
2014-11-28 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/amflock.c: Set errno.
* perl/Amanda/Changer.pm: Print error on lock error.
2014-11-27 Jean-Louis Martineau <martineau@zmanda.com>
* amandad-src/amandad.c: Check with getuid since we are not root
there.
* common-src/krb5-security.c: Drop root privileges, fix typos.
2014-11-26 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Status.pm: fix status.
2014-11-24 Jean-Louis Martineau <martineau@zmanda.com>
* Makefile.am: 'cp -av' => 'cp -fpR' ,-av are not valid on solaris.
2014-11-24 Jean-Louis Martineau <martineau@zmanda.com>
* amar-src/amar.c (amar_attr_add_data_fd_thread): Close the file
descriptor when there is nothing more to read from.
* client-src/sendbackup.c (check_result): Fix a race bug. sendbackup
do not always report the exit status of the application.
Once amvmware close its socket, an immediate call to waitpid(-1,)
might not trap it exited.
The patch check all pid we forked until they exit (max 5 seconds),
after that they are killed.
2014-11-21 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Rest/Amanda/bin/app.pl.in: Convert request from utf-8 to
user locale.
2014-11-21 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Message.pm: Convert reply from user locale to utf-8.
2014-11-19 Jean-Louis Martineau <martineau@zmanda.com>
* config/amanda/flags.m4: subst AMANDA_FILE_CFLAGS do that in generate
the basename of the file.
* amandad-src/Makefile.am, amar-src/Makefile.am,
application-src/Makefile.am, client-src/Makefile.am,
common-src/Makefile.am, device-src/Makefile.am,
ndmp-src/Makefile.am, oldrecover-src/Makefile.am,
perl/Makefile.am, recover-src/Makefile.am,
server-src/Makefile.am, xfer-src/Makefile.am (AM_CFLAGS):
Add $(AMANDA_FILE_CFLAGS)
* application-src/amgtar.c, client-src/client_util.c,
client-src/selfcheck.c, client-src/senddiscover.c,
common-src/conffile.c, server-src/amcheck.c: Use AMANDA_FILE in
build_message
2014-11-19 Jean-Louis Martineau <martineau@zmanda.com>
* config/test-driver: New file for automake-1.14
* config/missing, config/ylwrap, config/install-sh,
config/mkinstalldirs, config/depcomp, config/compile,
config/config.guess, config/config.sub: Update to automake-1.14
2014-11-19 Jean-Louis Martineau <martineau@zmanda.com>
* Makefile.am: Add '-I /usr/share/aclocal' to ACLOCAL_AMFLAGS
2014-11-18 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Message.pm: Fix code number attribution.
2014-11-18 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/amservice.c: Set remote_errors on "ERROR" from the
client. To get an exit code with error.
2014-11-18 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Rest/Services.pm: Add a waitpid of the amservice
process.
* perl/Amanda/Service.pm: Add messages code.
2014-11-14 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Process.pm: '<defunct>' process are dead, process can be
"starman".
* perl/Amanda/Rest/Runs.pm: Call process_alive with the $pname.
2014-11-13 Jean-Louis Martineau <martineau@zmanda.com>
* amar-src/amar.c (amar_attr_add_data_fd): write eoa on size==0.
2014-11-12 Jean-Louis Martineau <martineau@zmanda.com>
* autogen: Add "-I /usr/share/aclocal" to includes
2014-11-12 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Amdump.pm (run): set $self->{'pid'}
* perl/Amanda/Amflush.pm (run): set $self->{'pid'}
* perl/Amanda/CheckDump.pm (run): set $self->{'pid'}
* perl/Amanda/Rest/Runs.pm: Log "fork" line.
* perl/Amanda/Vault.pm: Small fix.
* server-src/amflush.pl: Log "fork" line.
* server-src/amvault.pl: s/config_name/config/g
2014-11-12 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Status.pm: Fix perl warning.
2014-11-08 Jean-Louis Martineau <martineau@zmanda.com>
* xfer-src/filter-process.c (get_err_fd): Remove prototype.
* xfer-src/xfer-element.h (get_err_fd): Add prototype.
* perl/Amanda/Cmdline.swg: #include "match.h"
2014-11-08 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer/robot.pm: Fix BROKEN-DRIVE-LOADED-SLOT.
2014-11-08 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Script_App.pm (print_to_server): Print enssage to debug
file.
* server-src/amfetchdump.pl: Add severity to messages.
2014-11-07 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer/robot.pm: Fix BROKEN-DRIVE-LOADED-SLOT.
* installcheck/Amanda_Changer_robot.pl: Fix test.
2014-11-07 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer/robot.pm: Add a BROKEN-DRIVE-LOADED-SLOT
property.
* man/xml-source/amanda-changers.7.xml: Document it.
2014-11-06 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/amrmtape.pl: Fix diskpath.
2014-11-06 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/conffile.c: Generate an error if fopen of config fail.
2014-11-06 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amtrmidx.c: Do not delete index file newer than 7 days.
* installcheck/amrmtape.pl: Fix check.
2014-11-05 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Script_App.pm (do) : Set action with special command.
2014-11-04 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/logfile.c: Do no create the log symlink for a
checkdump or fetchdump run.
2014-11-04 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Report.pm: Parse checkdump and fetchdump line. new
return an Amanda::Message on error.
* perl/Amanda/Rest/Report.pm: Handle Amanda::Report->new returning an
Amanda::Message.
* server-src/amreport.pl: Handle Amanda::Report->new returning an
Amanda::Message.
* server-src/logfile.c: Parse checkdump and fetchdump line.
2014-11-03 Jean-Louis Martineau <martineau@zmanda.com>
* amar-src/amar.c: Fix hang on eof.
* common-src/ammessage (ammessage_encode_json): Improve encoding.
* perl/Amanda/Cleanup.pm: Remove trailing '\n'.