Fixing selinux policy. Resolves: rhbz#1964892

This commit is contained in:
George Zaronikas 2021-08-24 17:54:59 +03:00
parent b87375a406
commit 3cf770c046
3 changed files with 8 additions and 4 deletions

View File

@ -1 +1 @@
/var/cache/mod_cluster(/.*)? gen_context(system_u:object_r:httpd_cache_t,s0)
/var/cache/httpd/mod_proxy_cluster(/.*)? gen_context(system_u:object_r:httpd_cache_t,s0)

View File

@ -3,7 +3,7 @@
# Update commitid and serial when new sources and release info is available
%global commitid 547fccb264f57ecdd5f7818ea2d8f9cfac28c4ed
%global serial 21
%global serial 22
Name: mod_proxy_cluster
Summary: JBoss mod_proxy_cluster for Apache httpd
@ -113,6 +113,10 @@ fi
%changelog
* Wed Aug 18 2021 George Zaronikas <gzaronik@redhat.com> - 1.3.14-22
- Fixing selinux policy
- Related: rhbz#1964892
* Wed Aug 18 2021 George Zaronikas <gzaronik@redhat.com> - 1.3.14-21
- Correcting conf name in gating tests.
- Related: rhbz#1964892

View File

@ -1,11 +1,11 @@
policy_module(mod_proxy_cluster, 1.0)
gen_tunable(httpd_mod_cluster, true)
gen_tunable(httpd_mod_proxy_cluster, true)
require {
type httpd_t;
}
tunable_policy(`httpd_mod_cluster', `
tunable_policy(`httpd_mod_proxy_cluster', `
corenet_udp_bind_http_port(httpd_t)
')