Project

General

Profile

Actions

Bug #6979

closed

Policy does not load on EL7 due to consoletype_exec_t dependency

Added by Lukas Zapletal over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

On my RHEL7 system, policy does not load at all. The reason is hidden, because the scriplet silently continues. We should fail on errors (only relabel should silently work).

[root@seven policy]# foreman-selinux-enable 
libsepol.print_missing_requirements: foreman's global requirements were not met: type/attribute consoletype_exec_t (No such file or directory).
libsemanage.semanage_link_sandbox: Link packages failed (No such file or directory).
ValueError: Could not commit semanage transaction
ValueError: Type elasticsearch_port_t is invalid, must be a port type
Actions

Also available in: Atom PDF