On Thursday 04 October 2018 06:12:16 Gene Heskett wrote: > 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.c > > >on 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. > And beat me with whatever. Ouch, egg on face. Shtoopidity, must come with a large birthday count. 83->84 today.
In posting that script I suddenly noticed the \ after the previous last line was missing. Its rebuilding now, with that file moved to /etc. My apologies. And amcheck is happy. amanda@coyote:~/amanda-3.5.1$ /usr/local/sbin/amcheck Daily '/usr/local/etc/amanda/Daily/amanda.conf', line 119: warning: Global changerfile is deprecated, it must be set in the changer section '/usr/local/etc/amanda/Daily/amanda.conf', line 140: warning: Keyword usetimestamps is deprecated. Amanda Tape Server Host Check ----------------------------- NOTE: Holding disk '/usr/dumps': 639636 MB disk space available, using 639136 MB '/usr/local/etc/amanda/Daily/amanda.conf', line 119: warning: Global changerfile is deprecated, it must be set in the changer section '/usr/local/etc/amanda/Daily/amanda.conf', line 140: warning: Keyword usetimestamps is deprecated. slot 57: volume 'Dailys-57' Will write to volume 'Dailys-57' in slot 57. NOTE: skipping tape-writable test Server check took 0.256 seconds Amanda Backup Client Hosts Check -------------------------------- Client check: 5 hosts checked in 3.089 seconds. 0 problems found. (brought to you by Amanda 3.5.1) So we'll see how it makes an extra run. This mornings email from the run this morning is typical of the lieing amanda does these days, long report from planner indicating 2/3rds of the disklist is advanced to level 2. But then you pick a named dle, scan down the message and it did a level 0 on every dle it promoted. So the backup is 2-3 times the size it should be if the planner had its way. And if you look back in the archives you'll find I've posted about this discrepancy quite a few times over the last 5 years. I note another user has had to take steps to override it, but I'd much druther see it just do what it said it was going to do. 3.5.1 is running via my wrapper script backup.sh just to see how it does... My wrapper script runs the backup, then appends everything amanda needs to restore a new drive with a bare install on it, to exactly the configuration it had when it ran earlier this morning. > > 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>
