SELinux in Red Hat Satellite 6 is preventing /usr/bin/ruby from read access on the file /var/log/foreman/production.log
Issue
-
SELinux is preventing /usr/bin/ruby from read access on the file /var/log/foreman/production.log with below alerts.
type=AVC msg=audit(1681335342.107:9960308): avc: denied { read } for pid=219395 comm=70756D612073727620747020303033 path="/var/log/foreman/production.log" dev="dm-5" ino=16797774 scontext=system_u:system_r:foreman_rails_t:s0 tcontext=system_u:object_r:foreman_log_t:s0 tclass=file permissive=0
Environment
- Red Hat Satellite 6
- SELinux Enforcing
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.