Skip to content

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

Merged
ktock merged 1 commit intomainfrom
fixwhiteouterror
Apr 11, 2024
Merged

imagemounter: Avoid error when whiteout target doesn't exist in the parent layers#257
ktock merged 1 commit intomainfrom
fixwhiteouterror

Conversation

@ktock
Copy link
Collaborator

@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
@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.

1 participant