Skip to content

Commit 7bf4b24

Browse files
Allow systemd to kill containers
Signed-off-by: Max Chernoff <[email protected]>
1 parent bc5c2cc commit 7bf4b24

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

container.te

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1652,3 +1652,8 @@ allow container_t tmpfs_t:filesystem remount;
16521652
# Needed to allow systemd socket activation of containers ran by confined users
16531653
allow userdomain container_runtime_t:tcp_socket { bind create getopt listen setopt };
16541654
allow userdomain container_runtime_t:udp_socket { bind create getopt listen setopt };
1655+
1656+
# Allow systemd to kill containers (needed for when stopping a Quadlet service
1657+
# times out)
1658+
allow userdomain container_runtime_t:process { sigkill signal signull };
1659+
allow userdomain container_t:process { sigkill signal signull };

0 commit comments

Comments
 (0)