Re: SELinux problem rsync'ing WAL logs - Mailing list pgsql-general

From David Wilson
Subject Re: SELinux problem rsync'ing WAL logs
Date
Msg-id e7f9235d0903311835h980013ds86961180f4bc8a7a@mail.gmail.com
Whole thread Raw
In response to SELinux problem rsync'ing WAL logs  (Aleksey Tsalolikhin <atsaloli.tech@gmail.com>)
Responses Re: SELinux problem rsync'ing WAL logs
List pgsql-general
On Tue, Mar 31, 2009 at 9:18 PM, Aleksey Tsalolikhin
<atsaloli.tech@gmail.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.t.wilson@gmail.com

pgsql-general by date:

Previous
From: Aleksey Tsalolikhin
Date:
Subject: SELinux problem rsync'ing WAL logs
Next
From: Aleksey Tsalolikhin
Date:
Subject: Re: SELinux problem rsync'ing WAL logs