-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-8.10
-
None
-
grafana-9.2.10-15.el8
-
None
-
None
-
rhel-sst-pt-pcp
-
ssg_platform_tools
-
1
-
QE ack
-
False
-
-
None
-
None
-
None
What were you trying to do that didn't work?
oVirt has integration with Grafana using PostgreSQL database, but selinux rules prevent grafana server to connec to to TCP port 5432, where PostgreSQL database is exposed.
It would be great to have selinux boolean grafana_can_tcp_connect_postgresql_port (similar to mysql grafana_can_tcp_connect_mysqld_port), which would allow grafana to connect to PostgreSQL TCP port.
Please provide the package NVR for which bug is seen:
grafana-9.2.10-14
How reproducible:
Always
Steps to reproduce
- Add PostgreSQL data source to Grafana which connect to PostgreSQL database using TCP
- Test data source connection
Expected results
When selinux boolean grafana_can_tcp_connect_postgresql_port is enabled, then grafana-server process is able to connect to PostgreSQL database on port 5432
Actual results
selinux prevents grafana-server to connect to PostgreSQL 5432 port
- links to
-
RHSA-2023:124948 grafana bug fix and enhancement update
- mentioned on