On Sun, 26 May 2019 14:02:18 -0400 Nathan Stratton Treadway <natha...@ontko.com> wrote:
> > 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?) Correct. Brand new, freshly built debian 9.9. > 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? root@amanda2:/etc# ls -l /etc/amanda-security.conf -rw------- 1 root root 2034 May 15 14:45 /etc/amanda-security.conf root@amanda2:/etc# Based on Jean-Louis' comment above, I did: root@amanda2:/etc# chmod og+r amanda-security.conf root@amanda2:/etc# ls -l /etc/amanda-security.conf -rw-r--r-- 1 root root 2034 May 15 14:45 /etc/amanda-security.conf root@amanda2:/etc# and amcheck ran. Thank you. -- "When we talk of civilization, we are too apt to limit the meaning of the word to its mere embellishments, such as arts and sciences; but the true distinction between it and barbarism is, that the one presents a state of society under the protection of just and well-administered law, and the other is left to the chance government of brute force." - The Rev. James White, Eighteen Christian Centuries, 1889 Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB https://charlescurley.com