mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-07 22:47:49 +00:00
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> |
||
|---|---|---|
| .. | ||
| annotations.go | ||
| autoupdate.go | ||
| checkpoint_restore.go | ||
| config.go | ||
| container.go | ||
| container_inspect.go | ||
| containerstate.go | ||
| diff.go | ||
| errors.go | ||
| exec_codes.go | ||
| exit_code_propagation.go | ||
| fileinfo.go | ||
| healthchecks.go | ||
| info.go | ||
| mount.go | ||
| mount_freebsd.go | ||
| mount_linux.go | ||
| mount_unsupported.go | ||
| pod_inspect.go | ||
| podstate.go | ||
| runtime.go | ||
| sdnotify.go | ||
| version.go | ||
| volume_inspect.go | ||