Re: BUG #16955: Replication port problems

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #16955: Replication port problems
Дата
Msg-id 1847748.1617894934@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #16955: Replication port problems  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> Given that port 5123 is operative on the primary rather than the secondary,
> why should SELinux on the secondary be recording issues for port 5123 ?

This hardly seems like a bug.  The entire *point* of SELinux is to prevent
daemon processes from doing unexpected things like connecting to ports
that they shouldn't.

> Issue is resolved by running "semanage port -a -t postgresql_port_t -p tcp
> 5123" on the secondary

And that's where you told SELinux it was okay.  But I would not expect
the out-of-the-box configuration to allow this, and it didn't.

            regards, tom lane



В списке pgsql-bugs по дате отправления:

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #16956: psql won't load command history
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #16956: psql won't load command history