Project

General

Profile

Actions

Bug #17093

closed

Passenger not transitioning to passenger_t with upstream packages

Added by Thomas Büter over 7 years ago. Updated about 4 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
General Foreman
Target version:
-
Difficulty:
medium
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

After installing theforeman and foreman-selinux, using foreman-selinux-relabel and foreman-selinux-enable, foreman crashes upon accessing the interface. When looking at the logs, errors like these will pop up:

Message from application: Permission denied @ rb_sysopen - /usr/share/foreman/tmp/cache/websockets_ssl_key20161024-6460-1hg9wr (Errno::EACCES)

This indicates that the correct selinux permissions haven't been granted to the tmp directory for the httpd-context, despite using the tools provided. I also tried a complete relabel with
$> touch /.autorelabel;reboot
but without any success.

I modified the policy and will be adding a PR soon, because it seems to be working.


Files

foreman_audit.log foreman_audit.log 33 KB Thomas Büter, 10/25/2016 11:06 AM
Actions

Also available in: Atom PDF