diff --git a/foreman-selinux-relabel b/foreman-selinux-relabel index 50ba432..59623a7 100644 --- a/foreman-selinux-relabel +++ b/foreman-selinux-relabel @@ -16,6 +16,7 @@ /etc/logrotate.d/foreman* \ /etc/cron.d/foreman* \ /usr/libexec/foreman \ - /usr/sbin/foreman-cockpit-session + /usr/sbin/foreman-cockpit-session \ + /usr/bin/websockify exit 0 diff --git a/foreman.fc b/foreman.fc index 6e56586..c844c6e 100644 --- a/foreman.fc +++ b/foreman.fc @@ -33,7 +33,7 @@ /var/run/foreman\.sock gen_context(system_u:object_r:foreman_var_run_t,s0) /usr/share/foreman/.ssh(/.*)? gen_context(system_u:object_r:ssh_home_t,s0) -/usr/share/foreman/extras/noVNC/websockify\.py gen_context(system_u:object_r:websockify_exec_t,s0) +/usr/bin/websockify gen_context(system_u:object_r:websockify_exec_t,s0) /usr/share/foreman/bin/rails -- gen_context(system_u:object_r:foreman_rails_exec_t,s0) /usr/libexec/foreman/.*-selinux -- gen_context(system_u:object_r:foreman_rails_exec_t,s0)