Package: amanda-client
Followup-For: Bug #441873

I think that the attached patch should be applied.

It seems to have solved the problem here.

Hope this helps.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages amanda-client depends on:
pn  amanda-common             <none>         (no description available)
ii  libc6                     2.7-13         GNU C Library: Shared libraries
ii  libncurses5               5.6+20080830-1 shared libraries for terminal hand
ii  libreadline5              5.2-3          GNU readline and history libraries

amanda-client recommends no packages.

Versions of packages amanda-client suggests:
pn  dump                          <none>     (no description available)
pn  gnuplot                       <none>     (no description available)
ii  smbclient                     2:3.2.3-1  a LanManager-like simple client fo
diff -u amanda-2.5.1p1/debian/po/templates.pot amanda-2.5.1p1/debian/po/templates.pot
--- amanda-2.5.1p1/debian/po/templates.pot
+++ amanda-2.5.1p1/debian/po/templates.pot
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: [EMAIL PROTECTED]"
-"POT-Creation-Date: 2006-11-29 02:13+0100\n"
+"POT-Creation-Date: 2008-09-19 13:18+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <[EMAIL PROTECTED]>\n"
 "Language-Team: LANGUAGE <[EMAIL PROTECTED]>\n"
diff -u amanda-2.5.1p1/debian/changelog amanda-2.5.1p1/debian/changelog
--- amanda-2.5.1p1/debian/changelog
+++ amanda-2.5.1p1/debian/changelog
@@ -1,3 +1,10 @@
+amanda (1:2.5.1p1-2.2) unstable; urgency=low
+
+  * Fix bug on dumps failing if tar returns 1 : will appear as
+    STRANGE instead.
+
+ --  Olivier Berger <[EMAIL PROTECTED]>  Fri, 19 Sep 2008 13:03:42 +0200
+
 amanda (1:2.5.1p1-2.1) unstable; urgency=medium
 
   * Non maintainer upload.
only in patch2:
unchanged:
--- amanda-2.5.1p1.orig/client-src/sendbackup.c
+++ amanda-2.5.1p1/client-src/sendbackup.c
@@ -24,7 +24,7 @@
  * file named AUTHORS, in the root directory of this distribution.
  */
 /* 
- * $Id: sendbackup.c,v 1.88 2006/07/25 18:27:56 martinea Exp $
+ * $Id: sendbackup.c,v 1.88.2.1 2006/11/29 12:22:09 martinea Exp $
  *
  * common code for the sendbackup-* programs.
  */
@@ -597,6 +597,11 @@
     }
 #endif
 
+    if(pid == tarpid) {
+	if(ret == 1) {
+	    rc = 0;
+	}
+    }
 #ifdef IGNORE_TAR_ERRORS
     if(pid == tarpid) {
 	/*

Reply via email to