Re: SELinux problem rsync'ing WAL logs

From: David Wilson <david(dot)t(dot)wilson(at)gmail(dot)com>
To: Aleksey Tsalolikhin <atsaloli(dot)tech(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: SELinux problem rsync'ing WAL logs
Date: 2009-04-01 01:35:38
Message-ID: e7f9235d0903311835h980013ds86961180f4bc8a7a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Mar 31, 2009 at 9:18 PM, Aleksey Tsalolikhin
<atsaloli(dot)tech(at)gmail(dot)com> wrote:

> Could not create directory '/home/postgres/.ssh'.
> Host key verification failed.

Have you tested "ssh node2" as the postgres user with SELinux enabled?
This looks like ssh failing to access the .ssh directory where it
keeps host keys (the known_keys file) and dying as a result. None of
the SELinux module setup lines seem to cover that, so you may want to
see if there's an SELinux failure for ssh in the audit log that could
give you a clue as to what needs to be allowed.

--
- David T. Wilson
david(dot)t(dot)wilson(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Aleksey Tsalolikhin 2009-04-01 01:37:53 Re: SELinux problem rsync'ing WAL logs
Previous Message Aleksey Tsalolikhin 2009-04-01 01:18:47 SELinux problem rsync'ing WAL logs