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

ExecRunnable: prevent logging on stderr when its not expected #1162

Merged
merged 1 commit into from
Mar 8, 2022

Conversation

flouthoc
Copy link
Collaborator

@flouthoc flouthoc commented Mar 8, 2022

ExecRunnable is invoked by buildah and error from c/storage is logged to
stdout. This creates a drift between the between the behavior which is
generated by rootless and rootful buildah.

This corrects the behavior for rootless buildah so it has parity with
buildah invoked for root user.

This helps in issue being discussed here: containers/buildah#3804 (comment)

@flouthoc flouthoc force-pushed the clean-error-unshare branch from aaa046e to 07400b8 Compare March 8, 2022 08:06
ExecRunnable is invoked by buildah and error from c/storage is logged to
stdout. This creates a drift between the between the behavior which is
generated by rootless and rootful buildah.

This corrects the behavior for rootless buildah so it has parity with
buildah invoked for root user.

This helps in containers/buildah#3804

Signed-off-by: Aditya R <[email protected]>
@flouthoc flouthoc force-pushed the clean-error-unshare branch from 07400b8 to d995ec4 Compare March 8, 2022 08:07
@flouthoc
Copy link
Collaborator Author

flouthoc commented Mar 8, 2022

@containers/storage-maintainers @giuseppe @nalind @rhatdan PTAL

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

Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

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

LGTM

@giuseppe giuseppe merged commit 93ce266 into containers:main Mar 8, 2022
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.

3 participants