On Saturday 25 May 2019 06:38:28 am Gene Heskett wrote: Chris: there are quite a few questions in this ever growing post. How about answering all of them, or saying IDK, instead of just spraying fog in front of the first one while ignoring the rest,
IOW, If you've a way to build this from the tarball, then lets get that outline up front (preferably in the INSTALL file of the tarball, so the rest of us don't have to go thru all this individual hell trying to make it work. We, I suspect /will/ at least try your way first. At the moment I feel like I'm blindfolded, playing pin an extra tail on a live donkey, and it does NOT appreciate it. > 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/pa > > > > > >tc 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)[0x7fca9ea945c > > >4] > > > /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+0x1 > > >d3 ) [0x7fca9fdf7893] > > > /usr/sbin/amcheck(main+0xa1)[0x56283f254451] > > > /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7fca9de0 > > >c2 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 ^^^^^^^^^^^^^^^^^^^^^ is this on client, or server, root does own the one on the server. > ERROR: shop: selfcheck request failed: > file/dir '/usr/local/etc/amanda-security.conf' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ does NOT exist on any client, has always used .amandahosts but its been moved so damned many times theres probably 3 softlinks to it, with and without the leading dot. Someone should write up an outline AND STICK TO IT. > (/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. > > Next problem, on stretch, quite a few calls in this code are marked deprecated Furinstance: ndmpconnobj.c:1072:5: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] g_static_mutex_unlock(&next_connid_mutex); ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:107:0, from ../common-src/amanda.h:41, from ndmpconnobj.c:23: /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Thats not the most obfuscated warning gcc has ever issued, but its close. And theres lots of those "deprecated" warnings. And finally, user amanda is a member of group "backup" so I've chown -R amanda:backup the entire src tree. Is that wrong? If wrong, whats right? > > Copyright 2019 by Maurice E. Heskett > Cheers, Gene Heskett 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>
