spiegel_podman/libpod/define
Marek Simek e353bab7f5
fix: Handle healthcheck log corruption gracefully
The healthcheck log could be corrupted if the
process was interrupted mid-write. It could
lead to Podman crashing.

Write the log files atomically and diferentiate
between corrupted log and different errors in
consumers of readFromFileHealthCheckLog().
Add a system test for a corrupted log file.
Change incorrect log permissions to 0o600.

Fixes: https://redhat.atlassian.net/browse/RHEL-178222
Signed-off-by: Marek Simek <msimek@redhat.com>
2026-06-29 13:03:47 +02:00
..
annotations.go kube: alias OCI runtime annotations without underscores 2026-06-23 19:24:53 +09:00
autoupdate.go auto-update: validate container image 2022-09-26 17:07:05 +02:00
checkpoint_restore.go Added optional container checkpointing statistics 2021-11-15 11:50:24 +00:00
config.go run modernize -fix ./... 2025-09-10 16:17:04 +02:00
container.go Fix device limitations in podman-remote update on remote systems 2024-12-09 17:35:56 +01:00
container_inspect.go fix container inspect output to not escape html chars 2026-04-23 20:12:14 +02:00
containerstate.go List all status values in status filter documentation 2026-02-19 09:28:37 -05:00
diff.go podman diff accept two images or containers 2021-07-02 17:11:56 +02:00
errors.go fix: Handle healthcheck log corruption gracefully 2026-06-29 13:03:47 +02:00
exec_codes.go test: adapt tests new crun error messages 2025-02-17 20:47:43 +01:00
exit_code_propagation.go kube play: exit-code propagation 2023-05-25 14:46:34 +02:00
fileinfo.go Fixes from make codespell 2021-04-21 13:16:33 -04:00
healthchecks.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
info.go info: report configured and discovered CDI devices 2026-06-01 21:45:41 +02:00
mount.go Add support for ramfs as well as tmpfs in volume mounts 2023-08-21 07:14:57 -04:00
mount_freebsd.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
mount_linux.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
mount_unsupported.go libpod/define: Make TypeBind a platform-specific constant 2022-08-30 16:32:24 +01:00
pod_inspect.go Add --no-hostname option 2025-01-15 06:51:32 -05:00
podstate.go Add a Degraded state to pods 2020-10-21 13:31:40 -04:00
runtime.go Add support for containers.conf 2020-03-27 14:36:03 -04:00
sdnotify.go add "healthy" sdnotify policy 2023-07-25 11:17:44 +02:00
version.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
volume_inspect.go run modernize -fix ./... 2025-09-10 16:17:04 +02:00