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

container: truncate pid file before writing it #505

Merged
merged 1 commit into from
Sep 25, 2020

Conversation

giuseppe
Copy link
Member

Closes: #504

Signed-off-by: Giuseppe Scrivano [email protected]

@lgtm-com
Copy link

lgtm-com bot commented Sep 24, 2020

This pull request introduces 1 alert when merging 51129eb into 9e1c3de - view on LGTM.com

new alerts:

  • 1 for Lossy pointer cast

@giuseppe giuseppe marked this pull request as draft September 24, 2020 16:20
@giuseppe giuseppe marked this pull request as ready for review September 24, 2020 16:34
@rhatdan
Copy link
Member

rhatdan commented Sep 25, 2020

LGTM

@rhatdan rhatdan merged commit b992ba8 into containers:master Sep 25, 2020
@vrothberg
Copy link
Member

@edsantiago @lsm5 ... this might be the flake we've been seeing in Podman CI!

@giuseppe
Copy link
Member Author

@edsantiago @lsm5 ... this might be the flake we've been seeing in Podman CI!

I'd expect we do not reuse the same file, or is it for the systemd integration? If you have any pointer, I'll happily take a look

@vrothberg
Copy link
Member

containers/podman#7580

@giuseppe
Copy link
Member Author

I am afraid it is not the same issue. conmon-pidfile is handled by conmon itself

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.

Container pidfile not being overridden correctly
3 participants