Your message dated Sat, 16 Aug 2008 14:58:00 -0300 (ART)
with message-id <[EMAIL PROTECTED]>
and subject line believed fixed
has caused the Debian Bug report #447982,
regarding amoverview reports error (E) for every dump
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
447982: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=447982
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: amanda-server
Version: 1:2.5.1p1-2.1
Severity: normal
File: /usr/sbin/amoverview
Tags: patch
Hello! I have a one-liner fix for amanda-server's amoverview script.
Symptom:
amoverview reports an error (E) for every dump on every day.
Analysis:
The amoverview perl script incorrectly parses the output of "amadmin
find". amoverview uses a single space character as a string
separator, but "amadmin find" places an arbitrary amount of
whitespace between fields. So the first few arguments separated
by single spaces are correct (date, host, disk), but the remaining
are ignored (level, tape, file, part, status).
Correction:
One line in perl script (attached patch) will use contiguous
whitespace as separator.
Best regards,
Stephen Benoit
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages amanda-server depends on:
ii amanda-common 1:2.5.1p1-2.1 Advanced Maryland Automatic Networ
ii libc6 2.3.6.ds1-13etch2 GNU C Library: Shared libraries
ii libncurses5 5.5-5 Shared libraries for terminal hand
ii libreadline5 5.2-2 GNU readline and history libraries
ii mailx 1:8.1.2-0.20050715cvs-1 A simple mail user agent
amanda-server recommends no packages.
-- no debconf information
--- amanda-2.5.1p1.orig/server-src/amoverview.pl.in 2007-10-25
01:13:29.469035946 -0400
+++ amanda-2.5.1p1/server-src/amoverview.pl.in 2006-05-25 06:44:37.000000000
-0400
@@ -126,7 +126,7 @@
next if /found Amanda directory/;
next if /skipping cruft directory/;
next if /skip-incr/;
- ($date, $host, $disk, $level, $tape, $file, $part, $status) = quotewords("
", 0, $_);
+ ($date, $host, $disk, $level, $tape, $file, $part, $status) =
quotewords('\s+', 0, $_);
next if $date eq 'date';
next if $date eq 'Warning:';
next if $date eq 'Scanning';
--- End Message ---
--- Begin Message ---
Version: 1:2.5.2p1-3
This appears to have been fixed in upstream 2.5.2.
Bdale
--- End Message ---