Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: handle a broken pipe with write_sync_fd #439

Merged

Conversation

giuseppe
Copy link
Member

@giuseppe giuseppe commented Aug 9, 2023

change the write_sync_fd function to handle broken pipes. When a broken pipe is detected, the file descriptor is closed and conmon continues gracefully instead of exiting.

Closes: #438

change the write_sync_fd function to handle broken pipes.  When a
broken pipe is detected, the file descriptor is closed and conmon
continues gracefully instead of exiting.

Closes: containers#438

Signed-off-by: Giuseppe Scrivano <[email protected]>
@giuseppe giuseppe force-pushed the close-sync-fd-on-broken-pipe branch from 6e48ceb to d7fdd11 Compare August 9, 2023 08:18
@giuseppe giuseppe changed the title refactor: Enhance handling of sync pipes and broken pipes refactor: handle a broken pipe with write_sync_fd Aug 9, 2023
@rhatdan
Copy link
Member

rhatdan commented Aug 9, 2023

LGTM
@mrunalp @haircommander @vrothberg @mheon PTAL

@haircommander
Copy link
Collaborator

LGTM

@haircommander haircommander merged commit 77ce312 into containers:main Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

podman with systemd+healthcheck results conmon error
3 participants