Skip to content

Commit

Permalink
Fixes #37791 - use correct websockify path
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni authored and ekohl committed Sep 6, 2024
1 parent b6382fb commit a5da6c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion foreman-selinux-relabel
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion foreman.fc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a5da6c7

Please sign in to comment.