Package: mhonarc
Version: 2.6.16-1
Severity: important
Tags: patch

A bug in the dir_create function is making mhonarc quite unusable.
The problem is well explained and a patch is given here :
http://savannah.nongnu.org/bugs/?25225

Without it, mhonarc just failed after having created a dest_dir, if we run
mhonarc again, it will success, but fail on the next one, and again...
I am using the "sympa" mailing list server, and there's a lot of use of 
mhonarc for mail archiving, so this problem is quite annoying.
Exemple of command launched by sympa :

/usr/bin/mhonarc -modifybodyaddresses -addressmodifycode ''  -rcfile \
/usr/share/sympa/mhonarc-ressources.tt2 -outdir \
/var/lib/sympa/wwsarchive/[email protected]/2009-02  -definevars \
"listname=emplois-stages hostname=univ-pau.fr yyyy=2009 mois=02 \
yyyymm=2009-02 wdir=/var/lib/sympa/wwsarchive \
base=https://listes.univ-pau.fr/wws/arc tag=8ee702afe9" -umask 027 \
/var/lib/sympa/wwsarchive/[email protected]/2009-02/arctxt

The patch given in the previous link totally fix the problem.

--- mhfile.pl.orig      2009-01-01 12:29:30.000000000 -0800
+++ mhfile.pl.patched   2009-01-01 12:29:36.000000000 -0800
@@ -270,7 +270,9 @@
                    die qq/ERROR: "$path" exists, but it did not before, /,
                        qq/and it is not a directory!\n/;
                }
-           }
+           } else {
+                last;
+            }
        }
        if ($i >= TEMP_MAX_TRIES) {
            die qq/ERROR: Unable to rename "$tmpdir" to "$path": $errstr\n/;

This patch is from "Ben Webb" (fix /usr/share/mhonarc/mhfile.pl).

Please fix the Lenny mhonarc package.

Thanks.


-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-6-xen-686 (SMP w/4 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 mhonarc depends on:
ii  perl                          5.10.0-19  Larry Wall's Practical Extraction 

Versions of packages mhonarc recommends:
ii  perl [libdigest-md5-perl]     5.10.0-19  Larry Wall's Practical Extraction 

mhonarc suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to