Amanda-Users

Re: Release of amanda-2.5.2b1

2007-04-18 20:21:11
Subject: Re: Release of amanda-2.5.2b1
From: "Paddy Sreenivasan" <paddy AT zmanda DOT com>
To: "Jean-Louis Martineau" <martineau AT zmanda DOT com>
Date: Wed, 18 Apr 2007 17:10:32 -0700
Thanks Stefan for the fix.

Patch to RPMs (amanda-mtx-changer-patch.sh) and latest 2.5.2 snapshot tar ball
are available at http://www.zmanda.com/community-builds.php

Thanks,
Paddy

On 4/17/07, Jean-Louis Martineau <martineau AT zmanda DOT com> wrote:
Stefan,

Thanks for the patch, it is included in today snapshot

Jean-Louis

Stefan G. Weichinger wrote:
> 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.
>
>




--

Amanda documentation: http://wiki.zmanda.com
Amanda forums: http://forums.zmanda.com

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