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

overlay: Put should ignore ENINVAL for Unmount #1687

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

flouthoc
Copy link
Collaborator

@flouthoc flouthoc commented Aug 14, 2023

It seems there are cases where underlying layers can be already unmounted in such case the layer directory is not removed and put fails early with EINVAL causing dangling directory for these layers.

Following case may be a hidden underlying issue with unmounting of c/stoage which needs more investigation however prior discussion shows that this is a long standing issue in storage and which was never caught till #1607

Closes: containers/podman#19491

It seems there are cases where underlying layers can be already
unmounted in such case the layer directory is not removed and put fails
early with `EINVAL` causing dangling directory for these layers.

Following case may be a hidden underlying issue with `unmounting` of
`c/stoage` which needs more investigation however prior discussion shows
that this is a long standing issue in `storage` and which was never
caught till containers#1607

Signed-off-by: Aditya R <arajan@redhat.com>
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

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

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 failed to remove a container created with buildah
4 participants