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

imagemounter: Avoid error when whiteout target doesn't exist in the parent layers #257

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

ktock
Copy link
Owner

@ktock ktock commented Apr 11, 2024

If we find a whiteout and the target (already) doesn't exist in the parent layers, we don't return error but just log it and continue processing.

This fixes the recent unpacking errors like the following:

parent node of whiteout "var/cache/apt/archives/.wh..wh..opq" is not found: Node "archives" not found

If we find a whiteout and the target (already) doesn't exist in the parent
layers, we don't return error but just log it and continue processing.

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
@ktock ktock merged commit d37d8e1 into main Apr 11, 2024
13 checks passed
@ktock ktock deleted the fixwhiteouterror branch April 28, 2024 05:13
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.

None yet

1 participant