Project

General

Profile

Support #4825

Katello angular pages fail to render with SELinux in Enforcing mode

Added by Mike McCune over 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Security
Target version:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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

History

#1 Updated by Mike McCune over 6 years ago

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

#2 Updated by Walden Raines over 6 years ago

  • Status changed from Assigned to Closed

I cannot reproduce this in a production environment with selinux enabled.

#3 Updated by Eric Helms about 6 years ago

  • Legacy Backlogs Release (now unused) set to 13

Also available in: Atom PDF