Skip to content

Comments

fix: cleanup auto overlay-parent- tmpdir#3985

Draft
dtrudg wants to merge 1 commit intosylabs:mainfrom
dtrudg:issue-3939
Draft

fix: cleanup auto overlay-parent- tmpdir#3985
dtrudg wants to merge 1 commit intosylabs:mainfrom
dtrudg:issue-3939

Conversation

@dtrudg
Copy link
Member

@dtrudg dtrudg commented Feb 20, 2026

If a FUSE mount overlay item does not have a parent dir set, then a temporary parent dir will be created.

This PR registers a cleanup function to remove the tmpdir after unmount.

This only happens in unit tests. In normal Singularity flows a parent dir is always set.

Fixes #3939

@dtrudg dtrudg self-assigned this Feb 20, 2026
If a FUSE mount overlay item does not have a parent dir set, then a
temporary parent dir will be created.

This PR registers a cleanup function to remove the tmpdir after
unmount.

This only happens in unit tests. In normal Singularity flows a parent
dir is always set.

Fixes sylabs#3939
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.

overlay-parent-xxx temporary directories lacking cleanup

1 participant