Skip to content

Commit bc5c2cc

Browse files
Allow systemd socket activation of containers ran by confined users
Signed-off-by: Max Chernoff <[email protected]>
1 parent 498d415 commit bc5c2cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

container.te

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1648,3 +1648,7 @@ allow container_t container_ro_file_t:dir watch;
16481648
allow container_t devpts_t:filesystem mount;
16491649
allow container_t proc_t:filesystem mount;
16501650
allow container_t tmpfs_t:filesystem remount;
1651+
1652+
# Needed to allow systemd socket activation of containers ran by confined users
1653+
allow userdomain container_runtime_t:tcp_socket { bind create getopt listen setopt };
1654+
allow userdomain container_runtime_t:udp_socket { bind create getopt listen setopt };

0 commit comments

Comments
 (0)