Re: Problems using amanda to backup SMB shares
2006-07-11 12:24:34
On Tue, Jul 11, 2006 at 12:08:27PM -0400, Nathan Weston enlightened us:
> Matt Hyclak wrote:
> >
> >Yes, you need to create an /etc/amandapass file with the appropriate
> >username/password combinations. man amanda for the details.
> >
> >>As for the second problem, I don't see anything in the .debug files that
> >>gives me a clue. The permissions for /etc/amandates look like this:
> >>-rw-r----- 1 amandabackup disk 0 Jul 10 17:20 /etc/amandates
> >>
> >>Any ideas?
> >
> >Is the user you configured amanda as actually "amandabackup" or is it
> >really
> >just "amanda"?
> >
>
> I already created /etc/amandpass, and I really am running amcheck as the
> user "amandabackup" -- I installed from the zmanda RPMs and this is how
> they set things up.
>
> But, I seem to have found the source of the problem -- I'm running
> Fedora Core 4 which has SELinux enabled by default. When I turn that
> off, amcheck runs with no errors.
>
> Is there an easy way to make amanda play nice with SELinux?
> If not, I can live with SELinux disabled, since our backup server is
> only accessible from the LAN anyway.
Ah, that can do it, too.
I would do an ls -Z on /etc/amandapass to see what the security context is.
You can also use audit2allow to see what context the amandabackup user is
permitted to use and adjust accordingly.
Matt
--
Matt Hyclak
Department of Mathematics
Department of Social Work
Ohio University
(740) 593-1263
|
|
|