-
Notifications
You must be signed in to change notification settings - Fork 107
/
ChangeLog.old
18819 lines (14296 loc) · 736 KB
/
ChangeLog.old
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
2008-01-11 Jean-Louis Martineau <martineau@zmanda.com>
* ReleaseNotes: Update for amanda-2.6.0
* News: Update for amanda-2.6.0
* configure.in: AM_INIT_AUTOMAKE(amanda, "2.6.0b1")
* Makefile.am (pkgdata_DATA): Add NEWS, ChangeLog and amanda.spec
* amanda.spec: %{!?amanda_version: %define amanda_version 2.6.0b1}
2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/conffile.c (usetimestamps): Default ot yes.
* man/xml-source/amanda.conf.5.xml (usetimestamps): Document it.
2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amverifyrun.sh, server-src/amverify.sh,
tape-src/ammt.c, tape-src/amdd.c: Write deprecated message.
2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
* config/amanda/defaults.m4: Set amandates to $localstatedir/amanda/amandate
2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amfreetapes.sh: Use amlibexecdir.
2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
* config/amanda/dirs.m4: Set amlibexecdir to $libexecdir/amanda.
* amandad-src/amandad.c, amplot/amplot.sh,
amplot/Makefile.am, changer-src/chg-chs.sh,
changer-src/chg-disk.sh, changer-src/chg-juke.sh,
changer-src/chg-lib.sh.in, changer-src/chg-manual.sh,
changer-src/chg-mcutil.sh, changer-src/chg-mtx.sh,
changer-src/chg-multi.sh, changer-src/chg-null.sh,
changer-src/chg-rait.sh, changer-src/chg-rth.pl,
changer-src/chg-zd-mtx.sh, changer-src/Makefile.am,
client-src/Makefile.am, client-src/patch-system.sh,
client-src/selfcheck.c, client-src/sendbackup-dump.c,
client-src/sendbackup-gnutar.c, client-src/sendsize.c,
common-src/amaespipe.sh, common-src/amanda-sh-lib.sh.in,
common-src/amcrypt-ossl-asym.sh, common-src/amcrypt-ossl.sh,
common-src/amcrypt.sh, common-src/genversion.c,
common-src/local-security.c, common-src/Makefile.am,
common-src/rsh-security.c, common-src/ssh-security.c,
dumper-src/amgtar.pl, example/xinetd.amandaclient,
example/xinetd.amandaserver, installcheck/amgetconf.pl,
perl/Amanda/Changer.pm, perl/Amanda/Paths.pm.in,
restore-src/Makefile.am, server-src/amcheck.c,
server-src/amcheckdb.sh, server-src/amcleanup.sh,
server-src/amdump.sh, server-src/amflush.c,
server-src/amoverview.pl, server-src/amrmtape.sh,
server-src/amverifyrun.sh, server-src/amverify.sh,
server-src/changer.c, server-src/driver.c,
server-src/getconf.c, server-src/Makefile.am,
tape-src/Makefile.am: Use amlibexecdir.
2008-01-10 Jean-Louis Martineau <martineau@zmanda.com>
* config/amanda/flags.m4 (AMANDA_STATIC_FLAGS):
Set AMANDA_STATIC_LDFLAGS to '-static' if set.
* configure.in: Call AMANDA_STATIC_FLAGS.
* amandad-src/Makefile.am, changer-src/Makefile.am,
client-src/Makefile.am, common-src/Makefile.am,
dumper-src/Makefile.am, oldrecover-src/Makefile.am,
recover-src/Makefile.am, restore-src/Makefile.am,
server-src/Makefile.am,
tape-src/Makefile.am(AM_LDFLAGS): Set to AMANDA_STATIC_LDFLAGS.
2008-01-09 Jean-Louis Martineau <martineau@zmanda.com>
* configure.in (AC_CONFIG_FILES): Add example/template.d/amanda-S3.conf
* example/Makefile.am (dist_template_DATA): Add
template.d/amanda-S3.conf
2008-01-09 Jean-Louis Martineau <martineau@zmanda.com>
* changer-src/scsi-solaris.c: Cleanup.
2008-01-09 Ian Turner <ian@zmanda.com>
* changer-src/chg-zd-mtx.sh.in: Don't write a corrupt changerfile
when a tape has no barcode label.
2008-01-08 Dustin J. Mitchell <dustin@zmanda.com>
* server-src/amcheckdump.pl: call critical() rather than
using die().
2008-01-08 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amcheckdump.pl: Parse 'amflush: starttime' and
'planner: timestamp' line.
* server-src/amflush.c: Print correct starttime line.
2008-01-08 Ian Turner <ian@zmanda.com>
Most of this work was done by Dustin J. Mitchell
<dustin@zmanda.com>, with contributions by Ian Turner <ian@zmanda.com>.
* example/template.d/amanda-S3.conf.in: Example configuration
using Amazon S3.
* device-src/device.c: Register the S3 device.
* device-src/tests/get-activation-key.pl: Tool to retrieve
a DevPay activation key.
* device-src/s3-device.c, device-src/s3-device.h: S3 device driver.
* device-src/s3.c, device-src/s3.h: Network support for S3 driver.
* device-src/property.c, device-src/property.h: Register S3
authentication properties.
* device-src/activate-devpay.c: Tool to convert a devpay
activation key into user tokens.
* device-src/Makefile.am: Support all these new files.
* configure.in: Check S3 prerequesites.
* config/amanda/s3-device.m4: Check if the S3 device should be
built.
* config/amanda/libs.m4: Code to check for libcurl version and
features.
* common-src/util.c: Use libcurl header.
2008-01-08 Dustin J. Mitchell <dustin@zmanda.com>
* server-src/amcheckdump.pl: call critical() rather than
using die().
2008-01-08 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/local-security.c: New 'local' security driver.
* common-src/security.c (drivers): Add local_security_driver
* common-src/Makefile.am (libamanda_la_SOURCES): Add local-security.c
* man/xml-source/amanda.conf.5.xml,
man/xml-source/amanda-client.conf.5.xml,
example/amanda-client.conf.in,
example/template.d/dumptypes: Document 'local' security driver.
2008-01-08 Dustin J. Mitchell <dustin@zmanda.com>
* server-src/amcheckdump.pl perl/Amanda/Util.swg: don't use
the C safe_fd, which kills the Perl debugger; just check
that fd's 0-2 are open
2008-01-08 Dustin J. Mitchell <dustin@zmanda.com>
* perl/Amanda/Types.swg perl/Makefile.am: add new Amanda::Types module
to contain data structures common to several other modules.
* perl/Amanda/Device.swg: move dumpfile_t to Amanda::Types
* installcheck/Amanda_Types.pl installcheck/Makefile.am: simple tests
for the new module
* common-src/fileheader.c common-src/fileheader.h: build_header
now takes a precise size, not a minimum.
2008-01-08 Jean-Louis Martineau <martineau@zmanda.com>
* recover-src/amrecover.c: Call apply_config_overwrites before
config_init(CONFIG_INIT_EXPLICIT_NAME ...)
2008-01-07 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/util.c (strquotedstr, hexdump): Remove function.
* common-src/util.h (strquotedstr, hexdump): Remove prototype.
* common-src/fileheader.c (strquotedstr, hexdump): Add function.
* common-src/fileheader.c (strquotedstr): Fix.
2008-01-07 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer.pm: Use Amanda::Config::get_config_dir().
2008-01-07 Jean-Louis Martineau <martineau@zmanda.com>
* config/automake/scripts.am: Don't set CHECK_PERL.
* changer-src/Makefile.am: Set CHECK_PERL.
* client-src/Makefile.am: Set CHECK_PERL.
* dumper-src/Makefile.am: Set CHECK_PERL.
* common-src/Makefile.am: Set CHECK_PERL.
2008-01-07 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/krb5-security.c: Fix argument to resolve_hostname.
* config/amanda/krb4-security.m4: Check .a or .so lib.
* config/amanda/krb5-security.m4: Check .a or .so lib.
2008-01-07 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/Makefile.am: Merge typo.
* example/Makefile.am: Merge Typo.
2007-12-27 Dustin J. Mitchell <dustin@zmanda.com>
* configure.in config/amanda/printf.m4: remove unused
configure checks
2007-12-27 Paddy Sreenivasan <paddy@zmanda.com>
* server-src/reporter.c: Check for NULL mailto
2007-12-27 Satya Ganga <gsat@zmanda.com>
* server-src/amserverconfig.pl: holding disk will be created
only if we have at least 1G free space in the Amanda home dir
2007-12-27 Ian Turner <ian@zmanda.com>
* server-src/taperscan.c server-src/taper.c: only print error_message
if it is non-NULL
2007-12-27 Dustin J. Mitchell <dustin@zmanda.com>
* server-src/amrmtape.sh: remove @DB_EXT@, which no longer
exists (since 2007-10-09).
2007-12-26 Dustin J. Mitchell <dustin@zmanda.com>
* server-src/amverify.sh: fix multiple non-portable shell
techniques
2007-12-23 Dustin J. Mitchell <dustin@zmanda.com>
Large-scale merge of perl interface to Amanda, along with
a fleet of related changes. Patch authors are given for
changes not made by Dustin.
* perl/Makefile.am config/amanda/swig.m4: use
ExtUtils::Embed::perl_inc() to get the include directory
and let Amanda's compiler/linker flags and libtool take
care of the rest
* perl/Amanda/Config.swg: use accessors for config_name,
config_filename, and config_dir
* server-src/amcheckdump.pl server-src/amdevcheck.pl
perl/Amanda/Util.swg installcheck/Amanda_Config.pl: use
new accessors
* perl/Amanda/Util.swg common-src/amanda.h: use a .-relative
path in two #include directives to avoid accidentally
including perl's headers of the same name; this is a temporary
hack until a larger-scale overhaul of Amanda's headers is done.
* config/amanda/swig.m4: error out if shared libraries are disabled
* server-src/amcheckdump.pl: Use timestamp from latest
amdump.1 or amflush.1 log file. (Jean-Louis Martineau
<martineau@zmanda.com>)
* server-src/amcheckdump.pl: Output partnum. (Jean-Louis
Martineau <martineau@zmanda.com>)
* server-src/amcheckdump.pl: Add a '/' after the config name.
(Jean-Louis Martineau <martineau@zmanda.com>)
* perl/Amanda/Logfile.swg perl/Amanda/Device.swg perl/Makefile.am
perl/amglue/integers.swg perl/amglue/amglue.h
perl/amglue/amglue.swg perl/amglue/glib.swg
perl/amglue/bigint.c: Always use Math::BigInt to convert numeric
quantities from C to Perl, to avoid integer overflow and automatic
promotion to double.
* perl/Amanda/Debug.swg client-src/versionsuffix.c
common-src/util.c common-src/util.h common-src/debug.c
common-src/debug.h common-src/conffile.c
common-src/conffile.h common-src/file.c common-src/file.h:
- move get_/set_pname to util.c
- rename RunningAsWho to running_as_flags
- cache original cwd before changing it in safe_cd, and use the
cached value in conffile
* server-src/logfile.c: call set_logerror in open_log
* client-src/runtar.c common-src/debug.c common-src/amanda.h
common-src/file.c common-src/file.h: replace client_uid,
client_gid globals with functions, to eliminate the need
for initialization
* server-src/logfile.c: Update warning about globals
* server-src/find.c: Update search_logfile to possibly search
all tapes in a logfile. Also, other miscellaneous
refactoring. (Ian Turner <ian@zmanda.com>)
* server-src/find.h: Document new interface.
* server-src/amindexd.c, server-src/amadmin.c,
server-src/amtrmidx.c, restore-src/amfetchdump.c: Use new
find_dump interface.
* common-src/util.c, common-src/util.h: New function
compare_possibly_null_strings, which is like strcmp() but
orders NULL pointers before non-null strings.
* Makefile.am: reflect BINARY_OWNER into distcheck-triggered
./configure
* common-src/conffile.c common-src/conffile.h: completely
new API, almost complete rewrite
* common-src/columnar.c common-src/columnar.h
common-src/Makefile.am: new files, extracted from
conffile.[ch]
* oldrecover-src/amrecover.c oldrecover-src/extract_list.c
changer-src/chg-scsi-chio.c changer-src/chg-scsi.c
client-src/sendbackup.c client-src/sendsize.c
client-src/selfcheck.c amandad-src/amandad.c
device-src/device.c recover-src/amrecover.c
recover-src/extract_list.c server-src/diskfile.h
server-src/logfile.c server-src/amlogroll.c
server-src/amindexd.c server-src/amcheck.c
server-src/dumper.c server-src/planner.c
server-src/chunker.c server-src/amadmin.c
server-src/amtape.c server-src/amcleanupdisk.c
server-src/getconf.c server-src/amflush.c
server-src/amtrmlog.c server-src/driverio.c
server-src/holding.c server-src/driverio.h
server-src/driver.c server-src/reporter.c server-src/taper.c
server-src/find.c server-src/amindex.c server-src/amtrmidx.c
server-src/diskfile.c server-src/amlabel.c
perl/Amanda/Config.swg config/amanda/defaults.m4
restore-src/amidxtaped.c restore-src/amrestore.c
restore-src/restore.c restore-src/amfetchdump.c
common-src/util.h common-src/glib-util.c tape-src/tapeio.c
common-src/amanda.h tape-src/tapeio.h: use new conffile API
* installcheck/Makefile.am installcheck/Amconfig.pm.in
installcheck/Installdirs.pm.in installcheck/Amanda_Config.pl
installcheck/Amanda_Changer.pl installcheck/Amanda_Cmdline.pl
installcheck/Amanda_Logfile.pl installcheck/amcheckdump.pl
installcheck/amdevcheck.pl installcheck/amgetconf.pl:
new unit tests for new modules, applications
* server-src/amdevcheck.pl server-src/amcheckdump.pl: new pure-
Perl applications; amcheckdump.pl is by Ian Turner
<ian@zmanda.com>
* perl/Amanda perl/Makefile.am perl/Amanda/Paths.pm.in
perl/Amanda/Logfile.swg perl/Amanda/Changer.pm
perl/Amanda/Config.swg perl/Amanda/Debug.swg
perl/Amanda/Tapefile.swg perl/Amanda/Cmdline.swg
perl/Amanda/Util.swg perl/Amanda/Device.swg: new directory
containing perl interfaces to Amanda modules
* perl/amglue perl/amglue/integers.swg perl/amglue/amglue.h
perl/amglue/exports.swg perl/amglue/ghashtable.c
perl/amglue/amglue.swg perl/amglue/constants.swg
perl/amglue/glib.swg perl/amglue/bigint.c: functions and
macros to glue Amanda to perl
2007-12-21 Satya Ganga <gsat@zmanda.com>
* server-src/amserverconfig.pl: correct holding disk size
validation logic so that it works on solaris too
2007-12-21 Satya Ganga <gsat@zmanda.com>
* server-src/amserverconfig.pl: amserverconfig needs to create a empty
changer.conf file
2007-12-21 Jean-Louis Martineau <martineau@zmanda.com>
Bug reported by Tim Bunnell.
* client-src/getfsent.c (dev2rdev): Do it only for block device.
2007-12-21 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/taper.c: Unquote holding_disk_file.
2007-12-20 Dustin J. Mitchell <dustin@zmanda.com>
* common-src/debug.h: fix (cosmetic, but confusing) typo
2007-12-19 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/util.c (quote_string): Quote ':'.
2007-12-19 Ian Turner <ian@zmanda.com>
* server-src/taper.c: Don't crash if there is a problem writing a
brand new tape.
2007-12-19 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/planner.c: Correctly set planner_timestamp if
usetimestamps is set to no.
2007-12-18 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/driverio.c (childstr): Check dumper->chunker.
2007-12-14 Ian Turner <ian@zmanda.com>
* device-src/tape-device.c: Try to open tape devices as O_NONBLOCK
at first; if the device is not ready, we will let the changer script
retry, instead of having the kernel do it for us.
* device-src/tape-ops.h, device-src/tape-aix.c,
device-src/tape-uware.c, device-src/tape-xenix.c,
device-src/tape-posix.c: Add new tape_is_ready() function.
2007-12-14 Jean-Louis Martineau <martineau@zmanda.com>
* config/amanda/dumpers.m4: Don't set STAR in AMANDA_PROG_SAMBA_CLIENT.
2007-12-14 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/find.c (search_logfile): Parse taper result line before
merging part_find.
2007-12-14 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/find.c (find_log): Result should not have duplicate
logfile.
2007-12-10 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amstatus.pl: Parse NEW-TAPE line
* server-src/taper.c: Add the handle in NEW-TAPE result.
* server-src/driver.c: Check number of arguments in NEW-TAPE result.
2007-12-10 Jean-Louis Martineau <martineau@zmanda.com>
* config/amanda/progs.m4: Define AMLINT To 'echo;false' to no lint
are found.
2007-12-10 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/bsdudp-security.c: Loop over all address until a bind
is successful.
* common-src/bsd-security.c: Loop over all address until a bind
is successful.
* common-src/stream.c: Loop over all address until a connect is
successful.
2007-12-07 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amindexd.c: Don't use duplicate part.
2007-12-07 Jean-Louis Martineau <martineau@zmanda.com>
* restore-src/amfetchdump.c: Don't use duplicate part.
2007-12-07 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/holding.c (holding_get_all_datestamps): Don't add
duplicate datestamp.
2007-12-07 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amcheck.c: Don't complain about correct unlabeled
volumes.
2007-12-06 Jean-Louis Martineau <martineau@zmanda.com>
* client-src/sendbackup.c, client-src/sendsize.c,
client-src/selfcheck.c, client-src/calcsize.c,
amandad-src/amandad.c, device-src/device.c,
device-src/vfs-device.c, server-src/changer.c,
server-src/dumper.c, server-src/planner.c,
server-src/chunker.c, server-src/server_util.c,
server-src/taperscan.c, server-src/driver.c,
server-src/taper.c, server-src/find.c,
server-src/diskfile.c, common-src/pipespawn.c,
common-src/util.c, common-src/conffile.c: Fix memory leak.
2007-12-06 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/find.c (search_logfile): Parse PARTPARTIAL line.
2007-12-06 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/taper.c: Use g_strdup if pointer can be NULL.
2007-12-05 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/taperscan.c: Don't output the latest changer result.
2007-12-05 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/util.c (resolve_hostname): Take a new socktype argument.
* common-src/util.h (resolve_hostname): New prototype.
* common-src/bsd-security.c, common-src/bsdtcp-security.c,
common-src/bsdudp-security.c, common-src/krb5-security.c,
common-src/rsh-security.c, common-src/security-util.c,
common-src/ssh-security.c, common-src/stream.c,
recover-src/set_commands.c, server-src/amcheck.c,
server-src/dumper.c: Call resolve_hostname with socktype argument.
2007-12-05 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/util.c (resolve_hostname): Don't return V4MAPPED address.
* common-src/amanda.h (AI_V4MAPPED, AI_ALL): Don't define.
2007-12-04 Ian Turner <ian@zmanda.com>
* server-src/taperscan.c, server-src/taperscan.h: Support persistence
between invocations of taper_scan(), so that you can get second-best
and further tapes.
* server-src/amcheck.c, server-src/amtape.c: Use the new taperscan
interface.
* server-src/taper.c: Do the right thing if there is an error writing
the tape label.
2007-12-04 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amtape.c: Correctly output the result of taper scan.
2007-12-04 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amcheck.c, server-src/dumper.c
server-src/planner.c: Don't crash is securoty driver is not found.
2007-12-04 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/changer.c: Print better message if the changer script
has no output.
2007-12-03 Jean-Louis Martineau <martineau@zmanda.com>
* man/xml-source/amserverconfig.8.xml: Fix indentation.
2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/taper-mem-port-source.c, server-src/taper-file-source.c
server-src/taper.c: Cast guint64 to uintmax_t and use %ju to print.
2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
* man/xml-source/amanda.conf.5.xml: Improve documentation.
* example/amanda.conf.in: Ditto.
2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/server_util.c (cmdstr): Remove SPLIT-NEEDNEXT
and SPLIT-CONTINUE
* server-src/server_util.h (cmd_t): Remove SPLIT_NEEDNEXT
and SPLIT_CONTINUE.
* server-src/taper.c: Send part_kbyte in PARTDONE result.
* server-src/amstatus.pl: Parse part_kbyte in PARTDONE result line.
Parse REQUEST-NEW_TAPE line.
* common-src/conffile.h: CONF_FLUSH_THRESHOLD_DUMPED,
CONF_FLUSH_THRESHOLD_SCHEDULE, CONF_TAPERFLUSH.
* common-src/conffile.c: CNF_FLUSH_THRESHOLD_DUMPED,
CNF_FLUSH_THRESHOLD_SCHEDULE, CNF_TAPERFLUSH.
* server-src/driverio.h: Add Many globals.
* server-src/driver.c: Split runq in runq and directq.
Implement flush-threshold-*/taperflush.
* example/amanda.conf.in: Example for flush-threshold-* and taperflush.
* man/xml-source/amanda.conf.5.xml: Document flush-threshold-*
and taperflush.
2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/taperscan.c: Fix output formating.
2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
* recover-src/set_commands.c: Add a terminating '/' in cd_regex.
Never add it in cd_dir.
2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
* config/automake/scripts.am: Build of the scripts also depend on
$(top_builddir)/config.status
2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amdump.sh: Pass a --startime argument to planner.
* server-src/planner.c: Get the --starttime command line argument.
2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amstatus.pl: New --locale-independent-date-format option.
* man/xml-source/amstatus.8.xml: Document it.
* server-src/amflush.c: Output a "starttime-locale-independent" line.
* server-src/amdump.sh: Output a "starttime-locale-independent" line.
2007-11-30 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/find.c: Remove seen_chunk_of function.
2007-11-28 Jean-Louis Martineau <martineau@zmanda.com>
* config/macro-archive/docbook-dtd.m4: Check return code of 5.
2007-11-28 Dustin J. Mitchell <dustin@zmanda.com>
* installcheck/Amconfig.pm.in: fix quoting error leading to
directories named '"'
2007-11-28 Dustin J. Mitchell <dustin@zmanda.com>
* common-src/file.c: only chown new directories when running as root
2007-11-28 Dustin J. Mitchell <dustin@zmanda.com>
* config/automake/installperms.am: strip directory names from build
filenames when setting permissions; fixes errors from examples/
install
2007-11-28 Dustin J. Mitchell <dustin@zmanda.com>
* man/Makefile.am: Allow installs, but not tarballs, without
manpages
2007-11-27 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/planner.c: Check dp->todo before using (est)->dp.
2007-11-27 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/device.c (default_device_start): Overwrite label only
if mode == ACCESS_WRITE.
2007-11-20 Ian Turner <ian@zmanda.com>
* device-src/device.c, device-src/device.h
device-src/tape-device.c, device-src/rait-device.c: Change API
semantics with respect to label reading. This patch makes it
possible to open and read a volume with properties while only
reading its label once. Thanks to Jean-Louis Martineau
<martineau@zmanda.com> for suggesting this change.
2007-11-20 Ian Turner <ian@zmanda.com>
* device-src/vfs-device.c: Be more thourough about updating volume
usage statistics.
2007-11-20 Ian Turner <ian@zmanda.com>
* changer-src/chg-lib.sh.in: Use a more robust check for MT path.
* server-src/amverify.sh.in: Use amrestore instead of amdd/ammt.
2007-11-09 Ian Turner <ian@zmanda.com>
* server-src/taperscan.c: Fix a memory allocation bug and be a little
more paranoid.
2007-11-06 Ian Turner <ian@zmada.com>
* server-src/taperscan.c: Print a proper message if there is
only one flag from device_read_label().
2007-11-26 Dustin J. Mitchell <dustin@zmanda.com>
* configure.in config/amanda/config.m4 common-src/genversion.c
common-src/Makefile.am: explicitly generate svn info at configure
time, rather than relying on svn keywords
2007-11-26 Ian Turner <ian@zmanda.com>
* server-src/Makefile.am: Move amdevcheck from libexec/ to sbin/.
Thanks to Satya Ganga <gsat@zmanda.com> for noticing this problem.
2007-11-26 John Franks <jrfranks@zmanda.com>
* common-src/debug.c For cygwin builds: change to
close and reopen log file handle on successful rename.
This is to ensure that Windows has no possibility of
preventing access to the original file name if processes
collide.
2007-11-23 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amflush.c: Send config option (-o) to child process.
2007-11-23 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/planner.c: Don't set est(dp)->state before testing it.
2007-11-23 Jean-Louis Martineau <martineau@zmanda.com>
* config/amanda/readline.m4: Include termcap, curses or ncurese in LIBS.
2007-11-23 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/diskfile.c (match_disklist): Fix for disk not found.
2007-11-23 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/driver.c: Don't release taper_ev_read in
start_degraded_mode.
2007-11-20 Paddy Sreenivasan <paddy@zmanda.com>
* amanda.spec: Added calls to Zmanda
* example/amanda-client.conf.in: Switch to bsdtcp
2007-11-14 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amstatus.pl: Handle taper FAILED message.
2007-11-14 Jean-Louis Martineau <martineau@zmanda.com>
* config/amanda/userid.m4: Use $enableval in AC_ARG_ENABLE.
2007-11-07 Paddy Sreenivasan <paddy@zmanda.com>
* server-src/amserverconfig.pl server-src/amaddclient.pl:
new configuration tools
* common-src/amgpgcrypt.pl common-src/amcryptsimple.pl:
new encryption plugins
* man/xml-source/amaddclient.8.xml man/xml-source/amgpgcrypt.8.xml
man/xml-source/amcryptsimple.8.xml
man/xml-source/amserverconfig.8.xml: man pages for new tools
* example/template.d/* - Configuration file templates
* example/amanda-client.conf.in: Updated amanda configuration file
* example/Makefile.am man/Makefile.am server-src/Makefile.am
common-src/Makefile.am: Added amserverconfig, amaddclient,
amgpgcrypt and amcryptsimple
* device-src/Makefile.am: Fixed libamdevice version
* configure.in: Added template files
* amanda.spec: Updated spec file for new utilities
2007-11-01 Dustin J. Mitchell <dustin@zmanda.com>
* config/automake/installperms.am: new method of specifying
permissions on installed files
* config/amanda/userid.m4 configure.in: add --disable-installperms
to disable any permsisions settings (useful for packaging builds)
* oldrecover-src/Makefile.am example/Makefile.am
changer-src/Makefile.am amplot/Makefile.am
client-src/Makefile.am amandad-src/Makefile.am man/Makefile.am
dumper-src/Makefile.am recover-src/Makefile.am
server-src/Makefile.am restore-src/Makefile.am
Makefile.am support/Makefile.am common-src/Makefile.am
tape-src/Makefile.am: use installperms.am
2007-11-01 Dustin J. Mitchell <dustin@zmanda.com>
Suggested by Jon LaBadie
* config/automake/precompile.am: new rule to make
precompiler output files; useful for debugging
* */Makefile.am: include precompile.am
2007-11-01 Jean-Louis Martineau <martineau@zmanda.com>
* AUTHORS: Add Dustin J. Mitchell.
2007-10-31 John Franks <jrfranks@zmanda.com> (merged by dustin@zmanda.com)
* most C files, amanda.h: Switch to using the g_printf family, which
supports a consistent set of %-conversions, including the 'z'
(size_t) and 'j' (intmax_t) size specifiers. Convert various
printf format strings accordingly.
2007-10-31 Dustin J. Mitchell <dustin@zmanda.com>
* common-src/genversion.c common-src/Makefile.am: fix BUILD_REV
and BUILD_BRANCH to work even when packages are built from
distribution tarballs
2007-10-31 Ian Turner <ian@zmanda.com>
* server-src/taperscan.c: Don't segfault if there is an error opening
a device during taperscan.
2007-10-30 Dustin J. Mitchell <dustin@zmanda.com>
* docs autogen INSTALL UPGRADING configure.in
DEVELOPING Makefile.am: remove docs/ directory in favor of
manpages and online reference; most docs/* were outdated
2007-10-29 Dustin J. Mitchell <dustin@zmanda.com>
* changer-src/chg-zd-mtx.sh: fix typo
2007-10-29 Ian Turner <ian@zmanda.com>
* restore-src/restore.c: Don't mention slot numbers when running
without a changer.
2007-10-29 Ian Turner <ian@zmanda.com>
* man/xml-source/amfetchdump.8.xml: Remove documentation for
amfetchdump -i.
2007-10-26 Dustin J. Mitchell <dustin@zmanda.com>
Add support for post-install tests, which can be more thorough than
unit tests.
* configure.in Makefile.am installcheck/*: new directory
* installcheck/amgetconf.pl: test some of amgetconf's functionality
* docs/developing.txt: notes on various test mechanisms
* config/automake/scripts.am: add CHECK_PERL_FLAGS
* common-src/debug.c: only try to chown debug files if running as root
2007-10-25 Dustin J. Mitchell <dustin@zmanda.com>
* config/mkinstalldirs config/depcomp config/config.guess
config/ltmain.sh config/config.sub config/missing
config/install-sh config/ylwrap: update files with automake-1.10,
libtool-1.5.24
* autogen: don't call automake with --add-missing, as it stomps all
over the working copy
2007-10-25 Dustin J. Mitchell <dustin@zmanda.com>
* gnulib/* config/*: updated to latest gnulib
* gnulib/regenerate/regenerate: update gnulib date
* gnulib/regenerate/getaddrinfo-cygwin.patch: update to patch new
getaddrinfo.c
* device-src/tests/vfs_test.c: mkdtemp.h no longer exists
2007-10-24 Jean-Louis Martineau <martineau@zmanda.com>
* client-src/Makefile.am: Remove duplicate entry for
libamclient_la_SOURCES.
2007-10-23 Dustin J. Mitchell <dustin@zmanda.com>
* config/automake/scripts.am: rules to build (substitute) scripts
* config/automake/vars.am: define empty variables for later appending
* config/automake/check-perl.am config/automake/check-shell.pm:
removed
* changer-src/Makefile.am amplot/Makefile.am client-src/Makefile.am
dumper-src/Makefile.am server-src/Makefile.am
common-src/Makefile.am: Use new include files
* configure.in: remove now-unnecessary AC_CONFIG_FILES
* *.sh.in *.pl.in *.awk.in: renamed
2007-10-20 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/reporter.c: Always call sort_disks.
2007-10-20 Jean-Louis Martineau <martineau@zmanda.com>
* man/xml-source/amanda.conf.5.xml: Correctly document portrange.
* common-src/conffile.c: Fix portrange.
2007-10-20 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/conffile.c: Allow reserved-udp-port and reserved-tcp-port
in amanda-client.conf.
2007-10-17 Dustin J. Mitchell <dustin@zmanda.com>
* common-src/amanda.h: remove amflock cruft
2007-10-16 Dustin J. Mitchell <dustin@zmanda.com>
* config/amanda/defaults.m4: Change EXAMPLE_TAPEDEV to use the 'tape:'
syntax, and to indicate "you need to change this!" more explicitly
2007-10-16 Ian Turner <ian@zmanda.com>
* common-src/glib-util.c: Allow use of units in parsing GValues; in
particular, this allows use of units when specifying device
properties in the configuration file.
* common-src/conffile.c, common-src/conffile.h: Make unit suffixes
available outside of conffile.c.
2007-10-16 Ian Turner <ian@zmanda.com>
* device-src/device.c: Fix a compilation error in
device_set_startup_properties_from_config().
2007-10-16 Ian Turner <ian@zmanda.com>
* man/xml-source/amanda.conf.5.xml, server-src/taper.c,
common-src/conffile.c, common-src/conffile.h: Add new
configuration directive device_output_buffer_size to replace
tapebufs.
2007-10-15 Ian Turner <ian@zmanda.com>
* device-src/device.c: Don't complain about problems setting
MAX_VOLUME_USAGE; do complain about problems setting
READ_BUFFER_SIZE.
2007-10-16 Jean-Louis Martineau <martineau@zmanda.com>
* client-src/sendbackup-gnutar.c: Use GNUTAR.
2007-10-15 Dustin J. Mitchell <dustin@zmanda.com>
* device-src/device.c: do not fall back to tape:/foo if the tape
device is not available (WANT_TAPE_DEVICE is not set)
2007-10-12 Dustin J. Mitchell <dustin@zmanda.com>
* changer-src/chg-mtx.sh.in changer-src/chg-zd-mtx.sh.in
changer-src/chg-multi.sh.in: add missing definition of prefix
2007-10-12 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/protocol.c (s_repwait): return PA_FINISH on P_NAK.
2007-10-11 Dustin J. Mitchell <dustin@zmanda.com>
* config/amanda/tape.m4: fix typo (have_MTIOCTOP -> HAVE_MTIOCTOP)
2007-10-10 Dustin J. Mitchell <dustin@zmanda.com>
* common-src/amflock-test.c common-src/amflock-lnlock.c: don't use
AMANDA_TMPDIR during build-time testing
2007-09-14 Dustin J. Mitchell <dustin@zmanda.com>
* recover-src/uscan.l recover-src/extract_list.c
recover-src/uparse.y recover-src/amrecover.h
recover-src/help.c recover-src/set_commands.c: deprecate
'settape', add 'setdevice'
* man/xml-source/amrecover.8.xml: corresponding doc update
* example/amanda.conf.in: update comments in example config,
change default value of amrecover_changer from the confusing
"/dev/null"
2007-10-09 Dustin J. Mitchell <dustin@zmanda.com>
* common-src/amflock-test.c: lock files in the cwd, rather than /tmp,
and pay attention to errors from unlink()
2007-10-09 Dustin J. Mitchell <dustin@zmanda.com>
* gnulib/regenerate/regenerate gnulib/mkdtemp.c gnulib/mkdtemp.h
gnulib/gettimeofday.c gnulib/sys_time_.h gnulib/tempname.c
gnulib/tempname.h gnulib/stat_.h gnulib/Makefile.am
device-src/tests/vfs_test.c config/gnulib/mkdtemp.m4
config/gnulib/sys_time_h.m4 config/gnulib/tempname.m4
config/gnulib/gnulib-comp.m4 config/gnulib/sys_stat_h.m4
config/gnulib/gnulib-cache.m4 config/gnulib/gettimeofday.m4:
add 'mkdtemp' gnulib module, use it in vfs_test.c
2007-10-09 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/util.c (portable_readdir): Don't use reentrant function.
2007-10-08 Dustin J. Mitchell <dustin@zmanda.com>
* autogen configure.in config/macro-archive/*.m4
config/amanda/*.m4 config/libtool/*.m4: move most autoconf
checks to macros in .m4 files. Hilights of changes along the way:
- use AC_REQUIRES to enforce check ordering
- Add a post-configure summary of important results
- use AM_CONDITIONAL to control conditional compilation of whole
files, instead of preprocessor macros
- correct spelling of PRINCIPLE -> PRINCIPAL
- remove support for dbmalloc (we use valgrind, coverity, etc. now)
- remove support for infofiles in anything but text format
- change DONT_SUID_ROOT to !WANT_SETUID_ROOT
- remove unused --with-broken-fsf
- remove multiple unused function and header checks, the defines
from which do not appear in any source file
- remove LTLIBOBJS cruft based on
http://www.delorie.com/gnu/docs/autoconf/autoconf_165.html
- remove unused LTALLOCA definition based on
http://www.delorie.com/gnu/docs/libtool/libtool_30.html
- use autoconf macro archive's
AC_DEFINE_DIR to expand $prefix, etc. in directory variables
- do not *require* --with-{user,group}; this allows 'make distcheck'
to run successfully
* docs/developing.txt: describe how to update gnulib, libtool, and
gettext
* po/reautopoint.patch po/reautopoint: script to update gettext,
parallel to gnulib/regenerate/regenerate
* amandad-src/amandad.c changer-src/scsi-aix.c
changer-src/scsi-bsd.c changer-src/scsi-cam.c
changer-src/scsi-changer-driver.c changer-src/scsi-chio.c
changer-src/scsi-hpux.c changer-src/scsi-hpux_new.c
changer-src/scsi-irix.c changer-src/scsi-linux.c
changer-src/scsi-proto.c changer-src/scsi-solaris.c
changer-src/sense.c client-src/calcsize.c client-src/getfsent.c
client-src/selfcheck.c client-src/sendbackup.c
client-src/sendsize.c common-src/alloc.c common-src/amanda.h
common-src/conffile.c common-src/debug.c common-src/file.c
common-src/genversion.c common-src/krb4-security.c
common-src/writev.c device-src/tape-posix.c server-src/amadmin.c
server-src/amcheck.c server-src/amlabel.c server-src/amlogroll.c
server-src/amtape.c server-src/amtrmidx.c server-src/amtrmlog.c
server-src/changer.c server-src/chunker.c server-src/diskfile.c
server-src/driver.c server-src/dumper.c server-src/getconf.c
server-src/infofile.c server-src/infofile.h server-src/planner.c
server-src/reporter.c tape-src/output-tape.c: changes corresponding
to simplifications and fixes in autoconf
* gnulib/regenerate/no-error.patch gnulib/regenerate/regenerate: no
need to create gnulib.m4i anymore
2007-10-08 Kevin Till <ktill@zmanda.com> (merged by dustin@zmanda.com)
* example/amanda.conf.in: add segate LTO tapetype
2007-10-08 Paddy Sreenivasan <paddy@zmanda.com>
* changer-src/chg-lib.sh.in
changer-src/chg-null.sh.in changer-src/chg-disk.sh.in
changer-src/chg-juke.sh.in changer-src/chg-rait.sh.in
changer-src/chg-chs.sh.in changer-src/chg-mcutil.sh.in
amplot/amplot.sh.in client-src/patch-system.sh.in
server-src/amcheckdb.sh.in server-src/amverifyrun.sh.in
server-src/amrmtape.sh.in server-src/amverify.sh.in
server-src/amfreetapes.sh.in server-src/amcleanup.sh.in
server-src/amdump.sh.in common-src/amanda-sh-lib.sh.in
common-src/amcrypt-ossl-asym.sh.in common-src/amcrypt.sh.in
common-src/amaespipe.sh.in common-src/Makefile.am
common-src/amcrypt-ossl.sh.in: move amanda-sh-lib.sh from
$libexecdir/amanda to just $libexecdir
2007-10-04 Dustin J. Mitchell <dustin@zmanda.com>
* device-src/tests/Makefile.am device-src/tests/vfs_test.c: add a test
for the vfs device
* device-src/property.c device-src/vfs-device.c: add
PROPERTY_FREE_SPACE
2007-10-04 Dan Locks <dwlocks@zmanda.com>
* amanda.spec: add .spec file Zmanda uses for community builds
2007-10-04 Dustin J. Mitchell <dustin@zmanda.com>
* device-src/device.c device-src/Makefile.am configure.in: add
WANT_TAPE_DEVICE conditional, for machines that have no tape
support whatsoever (Mac OS X)
2007-10-03 Dan Locks <dwlocks@zmanda.com>
* configure.in: Added /opt/local/bin AC_PATH_PROG(PKG_CONFIG.. for
mac osx and macports
2007-10-03 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/driver.c: Go in degraded mode after out of tape.
2007-10-02 Jean-Louis Martineau <martineau@zmanda.com>
* man/xml-source/amanda.conf.5.xml: Fix indentation.
2007-10-02 Dustin J. Mitchell <dustin@zmanda.com>
* server-src/amcheck.c: Fix typo in merge found by
martineau@zmanda.com
2007-10-01 Ian Turner <ian@zmanda.com>
* device-src/rait-device.c, device-src/queueing.c,
device-src/tests/device_test.c, device-src/device.h,
device-src/device.c: Remove device_is_eof() function in favor of
accessing is_eof member directly.
2007-10-01 Dustin J. Mitchell <dustin@zmanda.com>
Coverity bug #237
* amandad-src/amandad.c: fix a use-after-free
2007-10-01 Ian Turner <ian@zmanda.com>
* device-src/device.c: Automatically register the CANONICAL_NAME
property for all devices.
2007-10-01 Ian Turner <ian@zmanda.com>
* device-src/tape-posix.c: Use MTEOD on systems that have it but not
MTEOM.
2007-10-01 Ian Turner <ian@zmanda.com>
* device-src/device.c, device-src/vfs-device.c,
device-src/rait-device.c: Use g_strdup() instead of strdup().
2007-10-01 Ian Turner <ian@zmanda.com>
* changer-src/chg-lib.sh.in: Fix some compilation problems on
Solaris 10.
2007-09-25 Dan Locks <dwlocks@zmanda.com>
* common-src/util.c: cast uid_t to long long for printf formatting
2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
* oldrecover-src/Makefile.am changer-src/Makefile.am
client-src/Makefile.am amandad-src/Makefile.am
recover-src/Makefile.am server-src/Makefile.am
restore-src/Makefile.am common-src/Makefile.am
tape-src/Makefile.am: replace -I../config with
-I$(top_builddir)/config
* device-src/tests/Makefile.am: Replace -I.. with
-I$(top_srcdir)/device-src
2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
* client-src/sendsize.c: change "smbclient" to SAMBA_CLIENT to allow
configurable name
2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
* common-src/amflock-flock.c common-src/amflock-posix.c
common-src/amflock-lockf.c common-src/amflock-lnlock.c
common-src/amflock.c: use G_GNUC_UNUSED to avoid compiler
warnings
2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
* common-src/amanda.h common-src/file.h: move declaration of
canonicalize_pathname to file.h
2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
* common-src/util.c common-src/util.h: only check euid==uid
if not RUNNING_AS_UID_ONLY; set_root_privs() checks that euid=0
* client-src/runstar.c client-src/noop.c client-src/runtar.c
client-src/sendbackup.c client-src/killpgrp.c
client-src/sendsize.c client-src/selfcheck.c
client-src/rundump.c amandad-src/amandad.c
server-src/amlogroll.c server-src/amindexd.c
server-src/amcheck.c server-src/dumper.c server-src/planner.c
server-src/chunker.c server-src/amadmin.c server-src/amtape.c
server-src/amcleanupdisk.c server-src/amflush.c
server-src/amtrmlog.c server-src/amdevcheck.c
server-src/driver.c server-src/reporter.c server-src/taper.c
server-src/amtrmidx.c server-src/amlabel.c
restore-src/amidxtaped.c restore-src/amfetchdump.c:
remove RUNNING_WITHOUT_SETUID and change RUNNING_AS_SETUID_ROOT
to RUNNING_AS_UID_ONLY (with corresponding checks for root-ness)
* client-src/calcsize.c: drop root privs immediately, and only
regain them for stat() and opendir() operations
2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
* device-src/property.c device-src/property.h: create VERBOSE property
2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
* device-src/device.h device-src/queueing.h: expand comments
* tape-src/output-rait.h tape-src/output-null.c
tape-src/output-null.h tape-src/output-file.c
tape-src/output-file.h tape-src/output-tape.c
tape-src/output-tape.h tape-src/output-rait.c: add deprecation
comment
2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
* changer-src/chg-zd-mtx.sh.in: Don't pass stripped device names back
to Amanda.
2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
* changer-src/chg-mtx.sh.in, changer-src/chg-manual.sh.in,
changer-src/chg-zd-mtx.sh.in, changer-src/chg-juke.sh.in,
changer-src/chg-chs.sh.in, changer-src/chg-multi.sh.in: Don't use
ammt for anything; use system mt and only for device operations that
require it.
* changer-src/chg-lib.sh.in: Support for above change.
2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
* device-src/tape-device.c: Fix a border case bug where
tape_device_robust_read() would abort when called with a buffer
exactly equal to the minimum read size.
2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
* device-src/tape-device.c: Use g_strdup() instead of strdup().
2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
* device-src/vfs-device.h, device-src/fd-device.c,
device-src/tape-device.c, device-src/Makefile.am,
device-src/fd-device.h, device-src/tape-device.h,
device-src/vfs-device.c: Delete the FdDevice and make TapeDevice
and VfsDevice direct descendants of Device. Also, correct all
reading and writing of volume and part labels for both drivers.
* server-src/amcheck.c: Unlabeled tapes are OK, at least with
label_new_tapes_option.
2007-09-25 Ian Turner <ian@zmanda.com> (merged by dustin@zmanda.com)
* server-src/taperscan.c: Fix the order of arguments to
scan_read_label(). Patch by Dustin J. Mitchell <dustin@zmanda.com>.
2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
* restore-src/restore.c: Change "no tapedev specified" message.
2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
* server-src/amtape.c: changer_label should be called only on success.
2007-09-25 Jean-Louis Martineau <martineau@zmanda.com> (merged by dustin@zmanda.com)
* restore-src/restore.c: init cur_tapedev.
2007-09-25 Dustin J. Mitchell <dustin@zmanda.com>
* gnulib/regenerate/regenerate gnulib/* config/gnulib/*: add
gnulib module 'fsusage'
* common-src/statfs-test.c common-src/statfs.c
common-src/statfs.h common-src/Makefile.am: remove old statfs
* client-src/selfcheck.c client-src/calcsize.c
server-src/amcheck.c server-src/driver.c: use fsusage instead of
statfs