On Wednesday, September 29, 2010 11:24:04 am Dustin J. Mitchell did opine:

> On Wed, Sep 29, 2010 at 7:39 AM, Gene Heskett <[email protected]> 
wrote:
> > For S&G, I removed the data link from the test setup.  Running amcheck
> > test does restore it.
> > 
> > Removing it from the running setup and running amcheck Daily does not.
> >  But it doesn't seem to effect amdump or amcheck in any way.
> 
> So we need to figure out what's different between these two.  Any ideas?
> 
> Dustin

The only thing that comes to mind is that I have, in the existing build 
from this script:

#!/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"
        echo "user amanda, 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-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
echo "sleeping 15 seconds for reading configures warnings"
echo "a make as amanda will continue after..."
sleep 15
make

Note the --with-config=Daily \, but the subdir when running am* Daily is 
/amandatapes/Dailys,  note the plural.  Is this line even required? 

However, the test setup seems to have no problem running correctly when the 
test config and the subdir are test and /amandatapes/test.

The test amanda.conf is the Daily/amanda.conf copied to the $configdir/test 
tree, with all instances of 'Daily' or in the case of vtape paths, Dailys, 
edited to be 'test' in those strings.  And the test checks are running the 
code built by the above gh.cf file.  Could this missmatch be a problem with 
the new code?

I've removed that line from the configure script shown above and it didn't 
fuss.  3460 installing now.  It finishes with a run of amcheck Daily.  If it 
fixes the data pointer I will be quite pleasantly surprised.  No it didn't.

Now, I do see one item that will need moved to the 
/usr/local/var/amanda/configname directory, amandates exists as 
/usr/local/var/amanda/amandates & that will not do for a test run of 
'test'.

Humm, that location is in the Makefiles as a default.  So is it definable in 
the /configdir/amanda,conf?  The man pages for amanda.conf don't mention it.

If this move of amandates can be done by moving it to 
/usr/local/var/amanda/configname/amandates, I believe this is the last 
connection that exists between the "Daily" and "test" configs.

Please add that ability to parse /configname/amanda.conf for the location of 
the amandates file.

Thanks.

-- 
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)
Death is Nature's way of recycling human beings.

Reply via email to