Skip to content

Commit

Permalink
Allow cron jobs to run podman
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel J Walsh <[email protected]>
  • Loading branch information
rhatdan committed Jul 23, 2020
1 parent 8c26927 commit 965c7fb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion container.te
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
policy_module(container, 2.139.0)
policy_module(container, 2.140.0)
gen_require(`
class passwd rootok;
')
Expand Down Expand Up @@ -310,6 +310,10 @@ seutil_read_config(container_runtime_domain)
sysnet_dns_name_resolve(container_runtime_domain)
sysnet_exec_ifconfig(container_runtime_domain)

optional_policy(`
cron_system_entry(container_runtime_t, container_runtime_exec_t)
')

optional_policy(`
ssh_use_ptys(container_runtime_domain)
')
Expand Down

0 comments on commit 965c7fb

Please sign in to comment.