Support #4825
closed
Katello angular pages fail to render with SELinux in Enforcing mode
Added by Mike McCune over 10 years ago.
Updated over 6 years ago.
Description
If you turn on SELinux various CSS/javascript files will fail to load and angular based pages will fail to render.
We need to resolve this so we can support Katello running with SELinux in Enforcing mode
You will see JavaScript errors such as:
ReferenceError: angular is not defined
denials such as:
type=AVC msg=audit(1395701222.963:8190): avc: denied { getattr } for pid=27029 comm="httpd" path="/var/lib/foreman/public/assets/katello" dev=dm-0 ino=1708431 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:foreman_lib_t:s0 tclass=lnk_file
type=AVC msg=audit(1395701222.969:8191): avc: denied { read } for pid=4203 comm="httpd" name="katello" dev=dm-0 ino=1708431 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:foreman_lib_t:s0 tclass=lnk_file
type=AVC msg=audit(1395701222.969:8192): avc: denied { getattr } for pid=4203 comm="httpd" path="/var/lib/foreman/public/assets/katello" dev=dm-0 ino=1708431 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:foreman_lib_t:s0 tclass=lnk_file
- Status changed from Assigned to Closed
I cannot reproduce this in a production environment with selinux enabled.
- Translation missing: en.field_release set to 13
Also available in: Atom
PDF