On Mon, Jun 04, 2007 at 04:35:20PM -0700, Alan Jedlow wrote:
> I've installed the RHEL RPMs from www.zamanda.com... currently
> trying to figure out why "chg-zd-mtx" thinks mtx doesn't
> exist:
>
> -bash-3.00$ whoami
> amandabackup
> -bash-3.00$ which mtx
> /usr/sbin/mtx
> -bash-3.00$ /usr/lib/amanda/chg-zd-mtx -info
> <none> mtx command (mtx) doesn't exist
> -bash-3.00$
>
> Suggestions?
Thanks for the report!
Ironically, it's just the check that's bogus -- chg-zd-mtx will run just
fine in that situation. Try the attached patch, which just removes the
checks.
The problem is that the RPM was built on a machine without mtx
installed, so it recorded the path to mtx as just 'mtx'. Then
chg-zd-mtx, assuming it is given a fully qualified path, checks that the
file exists. Because 'mtx' is an unqualified filename, the check fails.
Dustin
--
Dustin J. Mitchell
Storage Software Engineer, Zmanda, Inc.
http://www.zmanda.com/
chg-zd-mtx.patch
Description: Text document
|