Project

General

Profile

Actions

Bug #38227

open

selinux relabel after plugin installation necessary

Added by Bernhard Suttner 2 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

If you install a plugin, e.g. foreman-ansible, restorecon complains about:

Would relabel /var/lib/foreman/public/assets/foreman_ansible from system_u:object_r:usr_t:s0 to system_u:object_r:foreman_lib_t:s0
Would relabel /var/lib/foreman/public/webpack/foreman_ansible from system_u:object_r:usr_t:s0 to system_u:object_r:foreman_lib_t:s0

Well, restorecon -rnv complains about e.g. /var/lib/foreman/public/assets/foreman_ansible/ and /var/lib/foreman/public/webpack/foreman_ansible/ that it would need relabeling.
if you install it after the installation of foreman. this happens for other plugins, too.

I think, the best would be to run the foreman-selinux-relabel script after each package installation - or maybe even better at the end of the foreman-installer.

No data to display

Actions

Also available in: Atom PDF