I also have amanda (1:3.3.1-4) on Debian 7.8, wheezy. Everything below
is about my installation.

When I moved from Redhat to Debian (back in the late Pliocene) I went
the Debian Way. It's easier.

On Tue, 19 May 2015 11:42:18 -0400
Gene Heskett <[email protected]> wrote:

> I did update it to run as backup.  Progress but no perms to create 
> the /var/log/amanda/amandad/amandad.date.dbg file.

/var/log/amanda/ and everything below it are owned by backup:backup.

> 
> Then I chown -R the ownership of the whole amanda tree to backup:disk
> and that gives this error now:
> ERROR: NAK shop: user amanda from coyote.coyote.den is not allowed to 
> execute the service noop: cannot open /var/backups/.amandahosts: No
> such file or directory
> 
> So I renamed /var/log/amanda to /var/log/backups and back to amanda
> when that didn't work because it couldn't find .amandahosts 
> in /var/log/backups, it was in /var/lib/amanda on the lathe.  Still
> is on both machines.

For reasons that escape me, the home directory of user backup is used
by some other programs. It looks like so:

root@dzur:/crc/backs/myob/amanda# ll -tr /var/backups/
total 7588
-rw-r--r--  1 backup backup      23 Jan  5  2013 .profile
lrwxrwxrwx  1 root   root        16 Jan  5  2013 .amandahosts -> 
/etc/amandahosts
drwx------  2 backup backup    4096 May 22  2013 .ssh/
-rw-------  1 backup backup      50 May 22  2013 .Xauthority
drwxr-xr-x  2 backup backup    4096 Jul 31  2013 bin/
-rw-r--r--  1 root   root   3582926 Dec 13 19:06 aptitude.pkgstates.0
drwxr-xr-x 13 root   root      4096 Dec 14 07:40 ../
-rw-------  1 root   shadow     795 Feb 14 17:25 gshadow.bak
-rw-------  1 root   shadow    1241 Feb 14 17:25 shadow.bak
-rw-------  1 root   root      1825 Feb 14 17:25 passwd.bak
-rw-r--r--  1 root   root      7776 Mar  1 08:40 apt.extended_states.6.gz
-rw-r--r--  1 root   root      7849 Mar  5 12:15 apt.extended_states.5.gz
-rw-r--r--  1 root   root      7857 Mar 11 10:03 apt.extended_states.4.gz
-rw-r--r--  1 root   root      7861 Mar 12 08:22 apt.extended_states.3.gz
-rw-r--r--  1 root   root      7866 Apr 14 07:50 apt.extended_states.2.gz
-rw-------  1 root   root       962 Apr 16 18:17 group.bak
-rw-------  1 backup backup   10639 Apr 18 15:50 .bash_history
-rw-r--r--  1 root   root    418670 Apr 24 13:07 dpkg.status.6.gz
-rw-r--r--  1 root   root      7884 Apr 24 13:07 apt.extended_states.1.gz
-rw-r--r--  1 root   root    418660 Apr 25 09:38 dpkg.status.5.gz
-rw-r--r--  1 root   root    418742 Apr 28 09:48 dpkg.status.4.gz
-rw-r--r--  1 root   root    418742 May  1 14:52 dpkg.status.3.gz
-rw-r--r--  1 root   root     74120 May  5 14:19 apt.extended_states.0
-rw-r--r--  1 root   root    419693 May  5 14:20 dpkg.status.2.gz
-rw-r--r--  1 root   root    419687 May 10 08:13 dpkg.status.1.gz
-rw-r--r--  1 root   root   1471687 May 15 08:35 dpkg.status.0
drwxr-xr-x  4 root   root      4096 May 16 04:35 ./
root@dzur:/crc/backs/myob/amanda# 

Also, backup:backup owns /etc/amandahosts

I seem to recall that you are using vtapes. backup:backup also owns my
vtape directory

-- 

The right of the people to be secure in their persons, houses, papers,
and effects, against unreasonable searches and seizures, shall not be
violated, and no Warrants shall issue, but upon probable cause,
supported by Oath or affirmation, and particularly describing the
place to be searched, and the persons or things to be seized.
-- U.S. Const. Amendment IV

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB

Reply via email to