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

fix: handle overlay xattr opaque bit #6

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

rchincha
Copy link

No description provided.

Current behavior determines if a path is a whiteout if a overlay char
dev is present.

Additionally, also check the extended attrs.

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
@rchincha rchincha merged commit 26d688b into project-stacker:stacker Mar 29, 2024
rchincha added a commit to rchincha/stacker that referenced this pull request Mar 29, 2024
project-stacker/umoci#6

overlayfs may set 'user.overlay.opaque=y' for deleted directories.
The above PR fixes this handling in our fork of umoci.

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
hallyn added a commit to project-stacker/stacker that referenced this pull request Mar 29, 2024
* feat: test directory removals

Add some tests to make sure when a directory is removed, its
contents are not visible later on.

Signed-off-by: Serge Hallyn <serge@hallyn.com>

* test: fix the directory removals test

project-stacker/umoci#6

overlayfs may set 'user.overlay.opaque=y' for deleted directories.
The above PR fixes this handling in our fork of umoci.

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>

---------

Signed-off-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
Co-authored-by: Serge Hallyn <serge@hallyn.com>
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