Skip to content

Commit

Permalink
Allow container runtimes to launch unconfined_t processes
Browse files Browse the repository at this point in the history
We want to allow

Trying to pull registry.fedoraproject.org/fedora...
Getting image source signatures
Copying blob 1657ffead824 [--------------------------------------] 0.0b / 0.0b
Copying config eb7134a03c done
Writing manifest to image destination
Storing signatures
system_u:system_r:unconfined_t:s0:c186,c823

Signed-off-by: Daniel J Walsh <[email protected]>
  • Loading branch information
rhatdan committed May 29, 2020
1 parent ff26015 commit 0d99e89
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion container.te
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
policy_module(container, 2.134.0)
policy_module(container, 2.135.0)
gen_require(`
class passwd rootok;
')
Expand Down Expand Up @@ -541,6 +541,9 @@ optional_policy(`
allow container_runtime_domain unconfined_t:fifo_file setattr;
allow unconfined_t container_domain:process dyntransition;
allow unconfined_t unlabeled_t:key manage_key_perms;
allow container_runtime_t unconfined_t:process transition;
allow unconfined_t { container_var_lib_t container_ro_file_t }:file entrypoint;
fs_fusefs_entrypoint(unconfined_t)
')

optional_policy(`
Expand Down

0 comments on commit 0d99e89

Please sign in to comment.