Your message dated Fri, 21 Mar 2008 03:02:03 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#471240: fixed in amanda 1:2.5.2p1-2 has caused the Debian Bug report #471240, regarding /usr/sbin/amstatus: amstatus: Illegal division by zero at /usr/sbin/amstatus line 75. 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.) -- 471240: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471240 Debian Bug Tracking System Contact [EMAIL PROTECTED] with problems
--- Begin Message ---Package: amanda-common Version: 1:2.5.2p1-1 Severity: normal File: /usr/sbin/amstatus Tags: patch amstatus contains an error in it's error output for non-existing configurations. How to reproduce: ----------------- Assuming that /etc/amanda/whatever does not exist # amstatus whatever Argument "whatever" isn't numeric in division (/) at /usr/sbin/amstatus line 75. Argument "/etc/amanda" isn't numeric in division (/) at /usr/sbin/amstatus line 75. Illegal division by zero at /usr/sbin/amstatus line 75. The error: ---------- Line 75: print "Configuration directory '" . $confdir/$conf . "' doesn't exist\n"; This is a division of $confdir and $conf, but that's not what was wanted. (The same error is on line 79.) Fix: ------- "$confdir/$conf" is trusted in the rest of the program, so we can simply fold them back into the doublequote: --- amstatus.old 2008-03-16 21:47:14.000000000 +0100 +++ amstatus 2008-03-16 21:50:25.000000000 +0100 @@ -72,11 +72,11 @@ if ( ! -e "$confdir/$conf" ) { - print "Configuration directory '" . $confdir/$conf . "' doesn't exist\n"; + print "Configuration directory '$confdir/$conf' doesn't exist\n"; exit 1; } if ( ! -d "$confdir/$conf" ) { - print "Configuration directory '" . $confdir/$conf . "' is not a directory\n"; + print "Configuration directory '$confdir/$conf' is not a directory\n"; exit 1; } -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages amanda-common depends on: ii adduser 3.106 add and remove users and groups ii bsd-mailx [mailx] 8.1.2-0.20071201cvs-2 A simple mail user agent ii debconf [debconf-2 1.5.20 Debian configuration management sy ii libc6 2.7-9 GNU C Library: Shared libraries ii libncurses5 5.6+20080203-1 Shared libraries for terminal hand ii libreadline5 5.2-3 GNU readline and history libraries ii mailx 1:20071201-2 Transitional package for mailx ren ii openbsd-inetd [ine 0.20050402-6 The OpenBSD Internet Superserver ii perl [perl5] 5.8.8-12 Larry Wall's Practical Extraction ii tar 1.19-2 GNU version of the tar archiving u ii update-inetd 4.30 inetd configuration file updater amanda-common recommends no packages. -- debconf information: amanda-common/merge_amandates:
--- End Message ---
--- Begin Message ---Source: amanda Source-Version: 1:2.5.2p1-2 We believe that the bug you reported is fixed in the latest version of amanda, which is due to be installed in the Debian FTP archive: amanda-client_2.5.2p1-2_i386.deb to pool/main/a/amanda/amanda-client_2.5.2p1-2_i386.deb amanda-common_2.5.2p1-2_i386.deb to pool/main/a/amanda/amanda-common_2.5.2p1-2_i386.deb amanda-server_2.5.2p1-2_i386.deb to pool/main/a/amanda/amanda-server_2.5.2p1-2_i386.deb amanda_2.5.2p1-2.diff.gz to pool/main/a/amanda/amanda_2.5.2p1-2.diff.gz amanda_2.5.2p1-2.dsc to pool/main/a/amanda/amanda_2.5.2p1-2.dsc A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Bdale Garbee <[EMAIL PROTECTED]> (supplier of updated amanda package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Thu, 20 Mar 2008 18:06:58 -0600 Source: amanda Binary: amanda-common amanda-server amanda-client Architecture: source i386 Version: 1:2.5.2p1-2 Distribution: unstable Urgency: low Maintainer: Bdale Garbee <[EMAIL PROTECTED]> Changed-By: Bdale Garbee <[EMAIL PROTECTED]> Description: amanda-client - Advanced Maryland Automatic Network Disk Archiver (Client) amanda-common - Advanced Maryland Automatic Network Disk Archiver (Libs) amanda-server - Advanced Maryland Automatic Network Disk Archiver (Server) Closes: 465746 471240 Changes: amanda (1:2.5.2p1-2) unstable; urgency=low . * document holding disk constraint in amanda-server README.Debian file, closes: #465746 * patch from Wolfgang Weisselberg for a problem in amstatus, closes: #471240 * enable both with-bsdtcp-security and with-bsdudp-security in configure, perhaps that will help resolve some of the problems users are having with 2.5.2? Files: 667c13ad43338e1bec4a3318542994ae 733 utils optional amanda_2.5.2p1-2.dsc 9a8a8d4eb9a23d1f84aad05982005540 49936 utils optional amanda_2.5.2p1-2.diff.gz 7d857e0388242d87fab4c678a51e734f 1205944 utils optional amanda-common_2.5.2p1-2_i386.deb 4c79ffcf4886b5ddd98a61aa5e248dd2 386854 utils optional amanda-server_2.5.2p1-2_i386.deb f58cc7fdfa844a2985b5a10842cbf07e 123306 utils optional amanda-client_2.5.2p1-2_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFH4yIbZKfAp/LPAagRAmAqAJ48cwDVXrfldPK6VW7Trx/8fsrYJwCeIPpg 2yEampd5V95zBhdcrtUSOxc= =t+ju -----END PGP SIGNATURE-----
--- End Message ---

