On Sunday 18 February 2007, Gene Heskett wrote: >Greetings; > >I didn't get an email from amverify this morning, having installed >amanda-2.5.1p3-20070216 last evening. > >>From the email genes-amanda-helper sent me: >Verify summary to [EMAIL PROTECTED] >Defects file is /tmp/amanda/amverify.31626/defects >amverify Daily >Sun Feb 18 01:37:37 EST 2007 > >/usr/local/sbin/amverify: line 383: syntax error near unexpected token >`fi' >/usr/local/sbin/amverify: line 383: ` fi' > >Starting at line 377 in amverify: > until eval $DEVICE_READY > $TEMP/ammt.out 2>&1; do > [ count -lt 0 ] \ > && report "Device not ready" \ > && report "`cat $TEMP/ammt.out`" \ > && report cat $TEMP/ammt.out >> $DEFECTS \ > && break; > fi > sleep 3 > count=`expr $count - 3` > done > >That looks a bit confusing to me. > >And it bears no resemblance to the same code snippet in the >20070212 version that starts with: > until eval $DEVICE_READY >/dev/null 2>&1; do > sleep 3 > done > >Comments? Build error? I used the same script to drive the configure > as I've been using a the last few years: >=========== >#!/bin/sh ># since I'm always forgetting to su amanda... >if [ `whoami` != 'amanda' ]; then > echo > echo "!!!!!!!!!!!! Warning !!!!!!!!!!!!" > echo "Amanda needs to be configured and built by the user amanda," > echo "but must be installed by user root." > echo > exit 1 >fi >make clean >rm -f config.status config.cache >./configure --with-user=amanda \ > --with-group=disk \ > --with-owner=amanda \ > --with-gnu-ld \ > --prefix=/usr/local \ > --with-tapedev="FILE:/amandatapes" \ > --with-debugging=/tmp/amanda-dbg/ \ > --with-tape-server=coyote \ > --with-bsdtcp-security --with-amandahosts \ > --with-configdir=/usr/local/etc/amanda \ > --with-config=Daily \ > --with-gnutar=/bin/tar > >make >========
Well, it's a Sunday, so until the next snapshot becomes available, I've reverted to the 2.5.1p3-20070213 snapshot, and which appears to be doing an amverify just fine: [EMAIL PROTECTED] amanda-2.5.1p3-20070213]# su amanda -c "amverify Daily 20" Tape changer is chg-disk... 1 slot... Verify summary to [EMAIL PROTECTED] Defects file is /tmp/amanda/amverify.20594/defects amverify Daily Sun Feb 18 18:04:33 EST 2007 Loading 20 slot... Using device file:/amandatapes/Dailys/ Waiting for device to go ready... Rewinding... Processing label... Volume Dailys-20, Date 20070218002502 Rewinding... Checked coyote._usr_pix.20070218002502.0 Checked coyote._usr_share.20070218002502.0 Checked coyote._opt.20070218002502.0 Checked coyote._GenesAmandaHelper-0.5.20070218002502.0 Checked coyote._usr_bin.20070218002502.0 Checked coyote._root.20070218002502.2 Which looks normal to me. -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Yahoo.com and AOL/TW attorneys please note, additions to the above message by Gene Heskett are: Copyright 2007 by Maurice Eugene Heskett, all rights reserved.
