Skip to content

Commit 0d99e89

Browse files
committed
Allow container runtimes to launch unconfined_t processes
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]>
1 parent ff26015 commit 0d99e89

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

container.te

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
policy_module(container, 2.134.0)
1+
policy_module(container, 2.135.0)
22
gen_require(`
33
class passwd rootok;
44
')
@@ -541,6 +541,9 @@ optional_policy(`
541541
allow container_runtime_domain unconfined_t:fifo_file setattr;
542542
allow unconfined_t container_domain:process dyntransition;
543543
allow unconfined_t unlabeled_t:key manage_key_perms;
544+
allow container_runtime_t unconfined_t:process transition;
545+
allow unconfined_t { container_var_lib_t container_ro_file_t }:file entrypoint;
546+
fs_fusefs_entrypoint(unconfined_t)
544547
')
545548

546549
optional_policy(`

0 commit comments

Comments
 (0)