Skip to content

Commit

Permalink
container: set context for /run/crun
Browse files Browse the repository at this point in the history
/run/crun is the runtime directory for crun.

Signed-off-by: Yi Zhao <[email protected]>
  • Loading branch information
yizhao1 committed Dec 30, 2023
1 parent 060d661 commit 27b2c1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions policy/modules/services/container.fc
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ HOME_DIR/\.docker(/.*)? gen_context(system_u:object_r:container_conf_home_t,s0)

/run/containers(/.*)? gen_context(system_u:object_r:container_runtime_t,s0)
/run/libpod(/.*)? gen_context(system_u:object_r:container_runtime_t,s0)
/run/crun(/.*)? gen_context(system_u:object_r:container_runtime_t,s0)
/run/runc(/.*)? gen_context(system_u:object_r:container_runtime_t,s0)

/run/docker(/.*)? gen_context(system_u:object_r:container_runtime_t,s0)
Expand Down

0 comments on commit 27b2c1a

Please sign in to comment.