On Saturday 25 May 2019 05:26:03 am Gene Heskett wrote: > On Saturday 25 May 2019 04:14:29 am Gene Heskett wrote: > > On Saturday 25 May 2019 03:44:12 am Gene Heskett wrote: > > > On Friday 24 May 2019 10:37:15 am Chris Hassell wrote: > > > > On 5/22/19 11:47 AM, Nathan Stratton Treadway wrote: > > > > > You can find the full set of patches in the source repo on > > > > > Salsa, i.e. in your web broswer at: > > > > > > > > > > https://salsa.debian.org/debian/amanda/tree/master/debian/patc > > > > >he s > > > > > > > > I just pushed a branch up (3_5-deb-patches or something) that > > > > includes their latest work against their "master". > > > > > > > > Some things seem quite reasonable. > > > > > > I wandered around on salsa, without finding an obviously ready to > > > download tarball that wasn't prehistoric. Or a src deb. > > > > > > So when do we get a link to something we can build, test, and use, > > > and so that we are all "on the same page" again? > > > > I just tried to rub what I do have and it makes zero difference > > whether I am amanda or backup (theres no amandabackup user in the pw > > file so I can't even become amandabackup. And as amanda or as > > backup I get thrown out of running amcheck, with no permissions > > exits. > > > > Go back to the amanda:disk or amanda:backup model for starters. > > This is insane!!! > > ============================================= > > root@coyote:~$ su backup > > backup@coyote:/root$ /usr/sbin/amcheck Daily > > amcheck: critical (fatal): Cannot create debug > > file "/var/log/amanda/server/amcheck.20190525035437.debug": > > Permission denied > > amcheck: Cannot create debug > > file "/var/log/amanda/server/amcheck.20190525035437.debug": > > Permission denied > > /usr/lib/x86_64-linux-gnu/amanda/libamanda-3.3.9.so(+0x2a367) > > [0x7fca9fdf7367] > > /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_logv+0x1e4)[0x7fca9ea945c4] > > /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log+0x8f)[0x7fca9ea947cf] > > /usr/lib/x86_64-linux-gnu/amanda/libamanda-3.3.9.so(debug_open+0x1d3 > >) [0x7fca9fdf7893] > > /usr/sbin/amcheck(main+0xa1)[0x56283f254451] > > /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7fca9de0c2 > >e1 ] /usr/sbin/amcheck(_start+0x2a)[0x56283f25568a] > > backup@coyote:/root$ cd > > backup@coyote:~$ ls > > alternatives.tar.0 alternatives.tar.6.gz > > apt.extended_states.5.gz dpkg.diversions.3.gz > > dpkg.statoverride.2.gz dpkg.status.1.gz group.bak > > alternatives.tar.1.gz apt.extended_states.0 > > apt.extended_states.6.gz dpkg.diversions.4.gz > > dpkg.statoverride.3.gz dpkg.status.2.gz gshadow.bak > > alternatives.tar.2.gz apt.extended_states.1.gz > > aptitude.pkgstates.0 dpkg.diversions.5.gz dpkg.statoverride.4.gz > > dpkg.status.3.gz passwd.bak > > alternatives.tar.3.gz apt.extended_states.2.gz dpkg.diversions.0 > > dpkg.diversions.6.gz dpkg.statoverride.5.gz dpkg.status.4.gz > > shadow.bak > > alternatives.tar.4.gz apt.extended_states.3.gz > > dpkg.diversions.1.gz dpkg.statoverride.0 dpkg.statoverride.6.gz > > dpkg.status.5.gz alternatives.tar.5.gz apt.extended_states.4.gz > > dpkg.diversions.2.gz dpkg.statoverride.1.gz dpkg.status.0 > > dpkg.status.6.gz backup@coyote:~$ pwd > > /var/backups > > ============================================ > > I have no clue what all that is about, let alone why is backup's > > home directory in /var/backups, but that is what I got from the last > > build attempt of the last tarball I could find. > > > > If you've a 3.5.1 ready to test, where is it? > > I went back to salsa, and searched for amanda, and finally found a gfx > button that would download the amanda-master tarball. > > Running my gh.cf configure script after changing the group from disk > to backup it appears I need to add at least 2 more options to my > script. > > 1. I need to shut off and and all attempts to use ipv6, I am at least > 100 miles from any ipv6 services here, so how do I pass that to > ./configure? > > 2. If dump is not installed, which it is not, ahh, but it WAS! and > never will be on my watch, ./configure hangs for minutes checking how > it does estimates, so I need to shut that off too, how do I pass that > to ./configure? Simple, remove dump. So thats easy, but it claims > there is a working ipv6, and its totally disabled in /etc/sysctl.conf > by this: # this kills ipv6, delete these 7 lines if it ever gets to > West (by God) Virginia > net.ipv6.conf.all.disable_ipv6 = 1 > net.ipv6.conf.default.disable_ipv6 = 1 > net.ipv6.conf.lo.disable_ipv6 = 1 > net.ipv6.conf.eth0.disable_ipv6 = 1 > net.ipv6.conf.eth1.disable_ipv6 = 1 > net.ipv6.conf.ppp0.disable_ipv6 = 1 > net.ipv6.conf.tun0.disable_ipv6 = 1 > > But an ip a shows: > : eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast > : state > > UP group default qlen 1000 > link/ether 00:1f:c6:62:fc:bb brd ff:ff:ff:ff:ff:ff <--ipv6 crap > So I still need the config option to disable that.
Some progress, and some messages I don't understand. I've fixed all the ownership problems I can, but if its looking in the wrong place and not finding the file, the complaint should not be that the file isn't owned by root. Last pass at trying to run amcheck: backup@coyote:/home/amanda/amanda-master$ /usr/local/sbin/amcheck Daily Amanda Tape Server Host Check ----------------------------- ERROR: holding disk '/usr/dumps': not writable: Permission denied check permissions ERROR: log dir '/usr/local/var/amanda/Daily' (Permission denied): not writable Can't locate JSON.pm in @INC (you may need to install the JSON module) (@INC contains: /usr/local/share/perl/5.24.1 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/local/share/perl/5.24.1/Amanda/Message.pm line 29. BEGIN failed--compilation aborted at /usr/local/share/perl/5.24.1/Amanda/Message.pm line 29. Compilation failed in require at /usr/local/share/perl/5.24.1/Amanda/Config.pm line 3088. BEGIN failed--compilation aborted at /usr/local/share/perl/5.24.1/Amanda/Config.pm line 3088. Compilation failed in require at /usr/local/share/perl/5.24.1/Amanda/Util.pm line 586. BEGIN failed--compilation aborted at /usr/local/share/perl/5.24.1/Amanda/Util.pm line 586. Compilation failed in require at /usr/local/libexec/amanda/amcheck-device line 25. BEGIN failed--compilation aborted at /usr/local/libexec/amanda/amcheck-device line 25. NOTE: conf info dir '/usr/local/var/amanda/Daily/curinfo' does not exist it will be created on the next run NOTE: index dir '/usr/local/var/amanda/Daily/index' does not exist it will be created on the next run Server check took 0.078 seconds Amanda Backup Client Hosts Check -------------------------------- ERROR: coyote: selfcheck request failed: file/dir '/usr/local/etc/amanda-security.conf' (/usr/local/etc/amanda-security.conf) is not owned by root ERROR: shop: selfcheck request failed: file/dir '/usr/local/etc/amanda-security.conf' (/usr/local/etc/amanda-security.conf) is not owned by root ERROR: lathe: selfcheck request failed: file/dir '/usr/local/etc/amanda-security.conf' (/usr/local/etc/amanda-security.conf) is not owned by root ERROR: GO704: selfcheck request failed: file/dir '/usr/local/etc/amanda-security.conf' (/usr/local/etc/amanda-security.conf) is not owned by root ERROR: picnc: selfcheck request failed: file/dir '/usr/local/etc/amanda-security.conf' (/usr/local/etc/amanda-security.conf) is not owned by root Client check: 5 hosts checked in 11.926 seconds. 5 problems found. (brought to you by Amanda 3.5.1) So where do I go from here, back to bed I think. Copyright 2019 by Maurice E. Heskett 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>