Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't connect to Redis due to lack of Selinux policy #253

Open
yhabteab opened this issue Jul 15, 2022 · 3 comments
Open

Can't connect to Redis due to lack of Selinux policy #253

yhabteab opened this issue Jul 15, 2022 · 3 comments

Comments

@yhabteab
Copy link
Member

Describe the bug

We should add a SELinux policy for httpd that allows Icinga DB Web to connect to redis on port 6380.

@nilmerg nilmerg transferred this issue from Icinga/icingaweb2 Jul 15, 2022
@lippserd
Copy link
Member

lippserd commented Jul 18, 2022

@nilmerg Why the move? The policy source in the Web repo itself

@nilmerg
Copy link
Member

nilmerg commented Jul 18, 2022

No? Web2 has one, but that should be moved to the packaging repository anyway. But db-web has none.

@dgoetz
Copy link

dgoetz commented Jul 18, 2022

Apache's policy already has an allowance for this:

# grep redis /root/rpmbuild/BUILD/selinux-policy-e0a8ee21365132c1f4668c975670621c889c5e35/policy/modules/contrib/apache.te
	redis_stream_connect(httpd_t)

So no need for this when the port is correctly labeled which you already plan to do in Icinga/icinga2#9444

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants