Hi, I tested the patch and got some side effects in amreport see below. As you can see the date is incorrect.
Thanks Gunnar Gunnarsson Tue Nov 16 12:24:29 2010: amreport: pid 22412 ruid 91 euid 91 version 3.2.0: start at Tue Nov 16 12:24:29 2010 Tue Nov 16 12:24:29 2010: amreport: config_overrides: mailto vault Tue Nov 16 12:24:29 2010: amreport: pid 22412 ruid 91 euid 91 version 3.2.0: ren ame at Tue Nov 16 12:24:29 2010 Tue Nov 16 12:24:29 2010: amreport: using logfile: /var/opt/amanda/orabck/log Tue Nov 16 12:24:29 2010: amreport: operating in script mode Tue Nov 16 12:24:29 2010: amreport: detected an amvault run Tue Nov 16 12:24:29 2010: amreport: planned output: human mail vault Tue Nov 16 12:24:29 2010: amreport: warning: Use of uninitialized value in numeric gt (>) at /opt/sfw/sbin/amreport line 368. Tue Nov 16 12:24:29 2010: amreport: warning: Use of uninitialized value in int at /opt/sfw/sbin/amreport line 369. Tue Nov 16 12:24:29 2010: amreport: invoking mail app: /usr/ucb/Mail -s SVK Unix AMVAULT MAIL REPORT FOR Dec 2, 0000 vault Tue Nov 16 12:24:33 2010: amreport: warning: Use of uninitialized value in numeric lt (<) at /usr/perl5/site_perl/5.8.4/Amanda/Report/human.pm line 1282. >Try the attached patch. >Jean-Louis >>Gunnarsson, Gunnar wrote: >> Hi, >> >> I a minor issue regarding $config_overrides that are not beeing >> propagated to the call in amreport thus ignoring setting such as >> tapettype mailto etc. >> >> debug("invoking amreport.."); >> system("$sbindir/amreport", $self->{'config_name'}, "--from-amdump"\ >> );