On Tue, 14 Mar 2006, Jon LaBadie wrote:

On Tue, Mar 14, 2006 at 01:44:50PM -0500, Vytas Janusauskas wrote:

Amanda Backup Client Hosts Check
--------------------------------
ERROR: hal: [Can't open disk '/mnt/data06/Deforest3']
ERROR: hal: [No include for '/mnt/data06/Deforest3_PART1']
Client check: 5 hosts checked in 3.259 seconds, 2 problems found


IIRC amcheck does NOT run some of its checks as root.
Thus if the amanda user running amcheck can not visit
/mnt/data06/Deforest3 and needed directories below that,
it could cause errors like that above when amcheck looked
for files.

It's worse than that.  Include processing is performed before setuid
root mode is started.  selfcheck, sendsize, and sendbackup all fail
to include directories that the amanda user can't read.  You just
lose and the directories don't get backed up.  Makes it hard to
provide a backup service for machines that aren't centrally managed,
which is more and more the way the world (for some of us) is going.

-Mitch

Reply via email to