Skip to content

Commit

Permalink
Make mta optional in container policy
Browse files Browse the repository at this point in the history
Don't need to have mta policy loaded when loading container policy.

Signed-off-by: Dave Sugar <[email protected]>
  • Loading branch information
dsugar100 committed Oct 1, 2024
1 parent 4b23616 commit 79a0e9c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions policy/modules/services/container.te
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,6 @@ miscfiles_dontaudit_setattr_fonts_cache_dirs(container_domain)
miscfiles_read_fonts(container_domain)
miscfiles_read_generic_certs(container_domain)

mta_dontaudit_read_spool_symlinks(container_domain)

container_rw_device_files(container_domain)
container_use_container_ptys(container_domain)

Expand Down Expand Up @@ -456,6 +454,10 @@ optional_policy(`
kubernetes_watch_tmpfs_files(container_domain)
')

optional_policy(`
mta_dontaudit_read_spool_symlinks(container_domain)
')

optional_policy(`
podman_rw_conmon_pipes(container_domain)
podman_use_conmon_fds(container_domain)
Expand Down

0 comments on commit 79a0e9c

Please sign in to comment.