mirror of
https://github.com/containers/podman.git
synced 2025-06-30 15:49:03 +08:00

CNI sometimes leaves Network information in /var/lib/cni/networks when the system crashes or containers do not shut down properly. This PR will cleanup these left over files, so that container engines will get a clean enviroment when the system reboots. Related to: https://github.com/containers/podman/issues/3759 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
6 lines
243 B
Plaintext
6 lines
243 B
Plaintext
# /tmp/podman-run-* directory can contain content for Podman containers that have run
|
|
# for many days. This following line prevents systemd from removing this content.
|
|
x /tmp/podman-run-*
|
|
D! /run/podman 0700 root root
|
|
D! /var/lib/cni/networks
|