Amanda-Users

Re: runtar: error [must be invoked by amanda]

2005-07-13 15:56:56
Subject: Re: runtar: error [must be invoked by amanda]
From: Matt Hyclak <hyclak AT math.ohiou DOT edu>
To: amanda-users AT amanda DOT org
Date: Wed, 13 Jul 2005 15:37:28 -0400
On Wed, Jul 13, 2005 at 12:45:07PM -0600, Graeme Humphries enlightened us:
> > Don't know yum.
> Frontend to RPM, like apt, but less featured.
> 
> > Do some of those pre-built packages have a way of specifying
> > local preferences?  Or is that only with the source packages.
> 
> Sure, you just can't change compile-time options, like what user to use.
> 
> 

That's the big problem with amanda and distributions. They have to send out
binaries with localhost compiled in (among other things) that just don't cut
it in amandaland. I've taken some steps to fix that situation in my .spec
files, some of which have made it back to Jay at RH. My time has been
occupied with other things as of late, so I haven't had a chance to make any
more cleanups and pass those along.

I have some SRPMS available at:

http://www.math.ohiou.edu/mirror/casit/redhat/EL3/SRPMS 

and 

http://www.math.ohiou.edu/mirror/casit/redhat/EL4/core/SRPMS


Recommended usage is to run rpm -i amanda-2.4.5...src.rpm, edit the spec
file filling in the values at the top of the file for your tapeserver,
indexserver and default config name. You can also scroll down there and
change the user from amanda to backup if you so desire.

Finally, rpmbuild -ba amanda.spec to build the binaries for your platform
with your settings. All the advantages of building from source with the
advantages of having rpm track files for you :-)

Hope that helps,
Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263