Open mocdaniel opened 1 year ago
Please bring this issue upstream (https://bugzilla.redhat.com - Product: Red Hat Enterprise Linux 8 - Component: selinux-policy, also mention newer versions and derivates as affected), as there are rules for httpd_t to allow connection to the redis socket and a boolean for memcache, it looks more like an oversight there.
Describe the bug
After installing
icinga2
,icingadb
,icingadb-redis
,icingaweb2
, andicingadb-web
on a freshly deployed RHEL8 server, Icingaweb2/IcingaDB-Web can't connect to the Redis instance deployed by IcingaDB-Redis. This happens despite having installed both,icinga2-selinux
, andicingaweb2-selinux
policy packages.To Reproduce
Provide a link to a live example, or an unambiguous set of steps to reproduce this issue. Include configuration, logs, etc. to reproduce, if relevant.
1.
Expected behavior
With SELinux enabled and
icingaweb2-selinux
/icinga2-selinux
installed, communication between Redis and Icingaweb should be possible.Your Environment
Include as many relevant details about the environment you experienced the problem in
icinga2 --version
): r2.13.7-1php --version
): 7.2.24, used for Icingaweb2 via php-fpmAdditional context
The problem can be fixed by setting the following SELinux boolean:
This should be a work-around, not a permanent solution.
Some more information regarding the apparently missing policy, thx for pointing that out @pdolinic