Skip to content

Fix inconsistent error messages when runtime fails#618

Merged
jnovy merged 1 commit intocontainers:mainfrom
jnovy:617
Oct 27, 2025
Merged

Fix inconsistent error messages when runtime fails#618
jnovy merged 1 commit intocontainers:mainfrom
jnovy:617

Conversation

@jnovy
Copy link
Collaborator

@jnovy jnovy commented Oct 27, 2025

Always write to sync_pipe_fd before exiting on runtime failure, even if stderr cannot be read. This prevents podman from receiving empty data and showing JSON parse errors.

Fixes: containers/podman#27335
Fixes: #617

Always write to sync_pipe_fd before exiting on runtime failure,
even if stderr cannot be read. This prevents podman from receiving
empty data and showing JSON parse errors.

Fixes: containers/podman#27335
Fixes: containers#617

Signed-off-by: Jindrich Novy <jnovy@redhat.com>
@jnovy jnovy requested a review from giuseppe October 27, 2025 14:23
@jnovy jnovy self-assigned this Oct 27, 2025
@jnovy jnovy added the jira label Oct 27, 2025
Copy link
Member

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jnovy jnovy merged commit 9952ef5 into containers:main Oct 27, 2025
24 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

2 participants