File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1653,6 +1653,10 @@ allow container_t tmpfs_t:filesystem remount;
1653
1653
allow userdomain container_runtime_t:tcp_socket { bind create getopt listen setopt };
1654
1654
allow userdomain container_runtime_t:udp_socket { bind create getopt listen setopt };
1655
1655
1656
+ # When shutting down, systemd will stop the container before the socket unit, so
1657
+ # ignore any AVC denials from systemd trying to accept the socket
1658
+ dontaudit userdomain container_runtime_t:tcp_socket accept;
1659
+
1656
1660
# Allow systemd to kill containers (needed for when stopping a Quadlet service
1657
1661
# times out)
1658
1662
allow userdomain container_runtime_t:process { sigkill signal signull };
@@ -1661,3 +1665,9 @@ allow userdomain container_t:process { sigkill signal signull };
1661
1665
# Needed for "podman build" to work as a confined user
1662
1666
allow userdomain container_ro_file_t:dir mounton;
1663
1667
allow userdomain self:capability setuid;
1668
+
1669
+ # Harmless AVC denial
1670
+ dontaudit container_runtime_t self:process2 nnp_transition;
1671
+
1672
+ # Ignore containers trying to chown stdin/stdout/stderr
1673
+ dontaudit container_t container_runtime_t:fifo_file setattr;
You can’t perform that action at this time.
0 commit comments