spiegel_podman/pkg/machine
Sebastien Tardif 846d1a1b05 Close leaked file handles in container config, CRIU stats, and playbook read
Add missing defer Close() calls in four locations:

- libpod/container.go: specFromState() opens the container config file
  but never closes it after reading, leaking one fd per call.

- libpod/container_internal_common.go: checkpoint() and restore() each
  open the bundle directory for CRIU statistics but never close it,
  leaking one fd per checkpoint/restore operation.

- pkg/machine/shim/host.go: Init() opens the playbook file but never
  closes it after ReadAll, leaking one fd per machine init.

Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
2026-05-17 16:09:56 -07:00
..
apple RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
applehv RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
certificates Import local certificates to machines on macOS and Linux 2026-05-01 00:42:52 +02:00
compression fix: duplicated words in decompress.go log message and annotations.go comment 2026-05-14 05:08:45 +00:00
connection RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
define RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
e2e machine: remove SSL_CERT_DIR/SSL_CERT_FILE copy 2026-05-11 15:58:03 +02:00
env RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
hyperv Add command podman system hyperv-prep 2026-04-29 23:00:29 +02:00
ignition machine: move marker file to /etc/podman-machine 2026-05-11 15:58:03 +02:00
libkrun RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
lock RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
ocipull RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
os RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
ports RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
provider RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
proxyenv RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
qemu RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
shim Close leaked file handles in container config, CRIU stats, and playbook read 2026-05-17 16:09:56 -07:00
sockets RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
stdpull RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
vmconfigs Hyperv machine init/rm: skip win registry operations when possible 2026-04-29 23:00:29 +02:00
windows cleanup: run go fix on pkg/machine for windows 2026-04-29 13:56:01 +05:30
wsl wsl: remove custom registries.conf 2026-05-11 15:58:03 +02:00
cleanup.go Clean up gvproxy if machine start fails 2024-02-27 13:33:43 -06:00
config.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
config_test.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
gvproxy.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
gvproxy_unix.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
gvproxy_windows.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
keys.go fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
machine_common.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
machine_unix.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
machine_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
machine_windows.go cleanup: run go fix on pkg/machine for windows 2026-04-29 13:56:01 +05:30
machine_windows_test.go chore(machine): remove unused EvalSymlinksOrClean function and tests 2026-01-28 02:42:45 +08:00
qemuprovider.go podman5 machine reconfig 1 2024-02-07 08:17:43 -06:00
ssh.go Extract function LocalhostSSHCopy to make it visible from other packages too 2026-04-01 14:12:30 +02:00
ssh_unix.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
ssh_windows.go machine: implement http proxy logic for all providers 2024-02-22 11:23:45 +01:00
update.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
volumes.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00