Amanda-Users

Re: One DLE too many!

2006-03-15 19:26:58
Subject: Re: One DLE too many!
From: Jean-Louis Martineau <martineau AT zmanda DOT com>
To: Mitch Collinsworth <mitch AT ccmr.cornell DOT edu>
Date: Wed, 15 Mar 2006 19:23:46 -0500
Mitch Collinsworth wrote:

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.

That'a not fixed in 2.5.0, that will be done after the dumper-api get implemented.

Jean-Louis

<Prev in Thread] Current Thread [Next in Thread>