On Thursday 04 October 2018 04:28:53 Olivier wrote:
> Gene,
>
> > May I be so rude as to point out
> > that --with-security-file=/path/to/amanda-security.conf doesn't work
> > according to the config output.
>
> I just downlowded amanda 3.5.1 and tried it, I do not have any
> problem with the configure option --with-security-file. It is there in
> "configure -h" and "configure --with-security-file=/somthing" does not
> throw an error message.
>
> > I moved it
> > to /usr/local/etc/amanda/Daily. It is there, and owned by
> > amanda:disk, but configure reports:
> > ./gh.cf:
> > 25: ./gh.cf:
> > --with-security_file=/usr/local/etc/amanda/Daily/amanda-security.con
> >f: not found
>
> But I could not find the file gh.cf that you mention, it does not
> appear to be part of the distribution of Amanda.
>
Its not, that my build script I wrote in self defense tears ago so that I
didn't have to remember all the options to pass to config.
Here that script is:
--------------------
#!/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 \
--enable-manpage-build \
--with-readline \
--with-gnutar=/bin/tar \
--with-security-file=/etc/amanda-security.conf
echo "sleeping for reading configures warnings"
echo "a make as amanda will continue after 75 seconds..."
sleep 75
make
-------------------
Nothing unusual there except consistent build options. coyote is the
hosts file alias for this machine.
> Regards,
>
> Olivier
--
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>