Amanda-Users

Re: Release of amanda-2.5.2b1

2007-04-16 19:01:06
Subject: Re: Release of amanda-2.5.2b1
From: "Stefan G. Weichinger" <sgw AT amanda DOT org>
To: Jean-Louis Martineau <martineau AT zmanda DOT com>
Date: Mon, 16 Apr 2007 23:50:35 +0200
Jean-Louis Martineau schrieb:
> Hello,
> 
> The Amanda core team is pleased to announce the first beta release
> of Amanda 2.5.2, the 2.5.2b1 release.

--

> If you find bug in this release, please submit a bug report on sourceforge
> (http://sourceforge.net/tracker/?group_id=120&atid=100120)

Unfortunately this beta seems to break the usage of (my) tapechanger(s).

>From amcheck I get stuff like:

Changer problem: could not read result from "/usr/libexec/chg-zd-mtx"
changer problem: could not read result from "/usr/libexec/chg-zd-mtx"

When I run (as amanda-user and inside the configdir):

$ /usr/libexec/chg-zd-mtx -info
/usr/libexec/chg-zd-mtx: line 1265: syntax error near unexpected token `fi'
/usr/libexec/chg-zd-mtx: line 1265: `           fi'

A diff between the chg-zd-mtx-scripts within 2.5.1p3 and 2.5.2b1 show
several changes, maybe someone is quicker at debugging this than me (in
fact I am pretty sure) ....

Seems to be related to the quotes etc.

A suggested fix for chg-zd-mtx (I am unsure if I got the positions right):

-------------------------------------------------------

@@ -1240,3 +1240,3 @@
        fi
-       Log       `_ 'LABEL    -> Adding label "%s" with barcode "%s"
for slot %s into %s' "$tapelabel" "$loadedbarcode" "$loadedslot"
"$labelfile"`
+       Log       `_ 'LABEL    -> Adding label "%s" with barcode "%s"
for slot %s into %s' "$tapelabel" $loadedbarcode" "$loadedslot"
"$labelfile"`
        read_labelfile "$tapelabel" "$loadedbarcode" < $labelfile
@@ -1259,3 +1259,3 @@
                        LogAppend `_ 'ERROR    -> !!! Label database
corrupted !!!'`
-                       LogAppend `_ '         -> "%s" conflicts with
new %s "%s" for %s '"%s" "$old_val" "$val_type" "$new_val" "$lf_type"
"$lf_val"`
+                       LogAppend `_ '         -> "%s" conflicts with
new %s "%s" for %s "%s"" "$old_val" "$val_type" "$new_val" "$lf_type"
"$lf_val"`
                        Exit 2 \
@@ -1268,3 +1268,3 @@
                echo "$tapelabel $loadedbarcode" >> $labelfile
-               LogAppend `_ '         -> appended %s entry: %s '"%s"
"$labelfile" "$tapelabel" "$loadedbarcode"`
+               LogAppend `_ '         -> appended %s entry: %s %s"
"$labelfile" "$tapelabel" "$loadedbarcode"`
        fi

-------------------------------------------------------

(And yes, I know, I should have posted that to SF ... sorry)

Greets, Stefan.


<Prev in Thread] Current Thread [Next in Thread>