Project

General

Profile

« Previous | Next » 

Revision 9fc1c55b

Added by Lukas Zapletal about 8 years ago

Fixes #14811 - passenger paths for EPEL7 fixed

Adds new paths for EPEL7 Passenger builds, removes SCL path prefixes
due to equivalence rule making them obsolete, and matches both lib/
and lib64/ directories.

View differences:

foreman.fc
# Passenger non-SCL file contexts
/usr/lib/ruby/gems/1.8/gems/passenger-.*/agents/.* -- gen_context(system_u:object_r:passenger_exec_t,s0)
/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/agents/.* -- gen_context(system_u:object_r:passenger_exec_t,s0)
/usr/lib6?4?/ruby/site_ruby/1.8/x86_64-linux/agents/.* -- gen_context(system_u:object_r:passenger_exec_t,s0)
/usr/libexec/passenger/.* -- gen_context(system_u:object_r:passenger_exec_t,s0)
/usr/lib/ruby/gems/1.8/gems/passenger-.*/helper-scripts/prespawn -- gen_context(system_u:object_r:passenger_exec_t,s0)
/usr/share/passenger/helper-scripts/prespawn -- gen_context(system_u:object_r:passenger_exec_t,s0)
/var/run/rubygem-passenger(.*)? gen_context(system_u:object_r:passenger_var_run_t,s0)
# Passenger SCL file contexts
# Passenger SCL file contexts (/opt/*/root prefix is distribution equivalence)
/opt/theforeman/tfm/root/usr/(share/gems/gems|lib64/gems/exts)/passenger-.*/agents/.* -- gen_context(system_u:object_r:passenger_exec_t,s0)
/opt/theforeman/tfm/root/usr/(share/gems/gems|lib64/gems/exts)/passenger-.*/helper-scripts/prespawn -- gen_context(system_u:object_r:passenger_exec_t,s0)
/usr/share/gems/gems/passenger-.*/agents/.* -- gen_context(system_u:object_r:passenger_exec_t,s0)
/usr/share/gems/gems/passenger-.*/helper-scripts/prespawn -- gen_context(system_u:object_r:passenger_exec_t,s0)
/usr/lib6?4?/gems/(exts|ruby)/passenger-.*/agents/.* -- gen_context(system_u:object_r:passenger_exec_t,s0)
# Foreman Hooks plugin

Also available in: Unified diff