Skip to content
Permalink
Browse files
make /run/foreman.sock match ALL files, not only regular
a socket is not a regular file, and thus this rule did not match on
(at least) EL8.
  • Loading branch information
evgeni authored and lzap committed Nov 26, 2020
1 parent 6be2fd6 commit a74b248
Showing 1 changed file with 1 addition and 1 deletion.
@@ -30,7 +30,7 @@
/var/log/foreman(/.*)? gen_context(system_u:object_r:foreman_log_t,s0)

/var/run/foreman(/.*)? gen_context(system_u:object_r:foreman_var_run_t,s0)
/run/foreman\.sock -- gen_context(system_u:object_r:foreman_var_run_t,s0)
/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)

0 comments on commit a74b248

Please sign in to comment.