On Sun, May 26, 2019 at 17:24:47 -0400, Gene Heskett wrote:
> On Sunday 26 May 2019 12:08:37 pm Nathan Stratton Treadway wrote:

> So in order to keep it a little closer together, I used that exact
> path in gh.cf, and a rebuild is in progress.  There is I believe a

Just to make sure we're on the same page, please post here the actual
version of the gh.cf you are using for your current build....


> > (If I remember correctly the build-install cycle should create a new
> > /etc/amanda-security.conf file for you.  If not I guess you'll find
> > out as soon as you try amcheck, and then you can copy/move the
> > existing one into /etc/ ....)
> Or /usr/local/etc, which is the convention for locally built stuffs.

(Well, the point is you might have to copy it into the path you
designated in --with-security-file= .... and given what Charles just
discovered in his testing, it looks the install process will NOT put it
there automatically, so you will need to copy the file into place if it
isn't left over there from earlier.

[See the threads from last October to review the discussion as to why
/usr/local/etc is not suitable for the amanda-security.conf file on your
particular server.])


> Hummm, looks like the install script is now broken:
> ERROR: program /usr/local/libexec/amanda/ambind: not executable
> -rwsr-x--- 1 root disk   26840 May 26 17:05 ambind
> -rwsr-x--- 1 root disk   56904 May 26 17:06 calcsize
> -rwsr-x--- 1 root disk   41592 May 26 17:06 runtar
> 
> thats an odd set of perms for the three of those. And the former error
> bitching about the amanda-security.conf file has now been replaced with:
> ERROR: picnc: selfcheck request failed: amcheck-clients: error [exec 
> /usr/local/libexec/amanda/ambind: Permission denied]
> ERROR: shop: selfcheck request failed: amcheck-clients: error [exec 
> /usr/local/libexec/amanda/ambind: Permission denied]
> ERROR: lathe: selfcheck request failed: amcheck-clients: error [exec 
> /usr/local/libexec/amanda/ambind: Permission denied]
> ERROR: coyote: selfcheck request failed: amcheck-clients: error [exec 
> /usr/local/libexec/amanda/ambind: Permission denied]
> ERROR: GO704: selfcheck request failed: amcheck-clients: error [exec 
> /usr/local/libexec/amanda/ambind: Permission denied]
> 
> So what permissions are those 3 files _supposed_ to have? 

(Actually, those look correct.)


Earlier today (in a separate thread) you wrote:
> Whereas I have user=amanda                                                    
>                                    
> and           group=backup                                                    
>                                    

... which does not match (as far as the group) what you specified in
your gh.cf script (at least in versions I have seen so far).


What do 
  # grep amanda /etc/passwd /etc/group
and
  # grep backup /etc/passwd /etc/group
show on that box?


                                                        Nathan


----------------------------------------------------------------------------
Nathan Stratton Treadway  -  [email protected]  -  Mid-Atlantic region
Ray Ontko & Co.  -  Software consulting services  -   http://www.ontko.com/
 GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239
 Key fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239

Reply via email to