On Sun, May 26, 2019 at 11:47:14 -0600, Charles Curley wrote:
> Having create a set of zmanda debian packages on one debian 9.9 machine,
> I have copied those to another freshly built machine, and installed
> them.
>
> I seem to hit a problem with permissions and ownership
> of /etc/amanda-security.conf.
>
> amcheck wants /etc/amanda-security.conf, but the file is in /etc/amanda,
> not /etc. That one cannot solve with a symlink. Copy the file instead.
(This sounds like an Debian-package-build issue; I'll see if I can spot
an obvious problem in the scripts Chris has been working on.
You installed the amanda-backup-server package on this new VM, right?)
> amcheck also wants it to be owned by root, and not writable by the
> group.
>
>
> Having done that I get another error message complaining:
>
> Amanda Backup Client Hosts Check
> --------------------------------
> HOST localhost ERROR: can not access '/etc/amanda-security.conf': Permission
> denied (ruid:63998 euid:63998)
> HOST localhost ERROR: can not access '/etc/amanda-security.conf': Permission
> denied (ruid:63998 euid:63998)
> Client check: 1 host checked in 2.169 seconds. 2 problems found.
>
> Make up your mind: who do you want to own /etc/amanda-security.conf?
If I remember Jean-Louis's explaination from a couple years ago, the
deal is that it must NOT be writable by anyone but root, but at the same
time it must be *readable* by your amanda user (so that amanda programs
can read it).
What does "ls -l /etc/amanda-security.conf" show now?
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