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 tmp cleanup on non ext fs #131

Merged
merged 1 commit into from
Jan 11, 2018
Merged

fix tmp cleanup on non ext fs #131

merged 1 commit into from
Jan 11, 2018

Conversation

jorge-lip
Copy link
Contributor

Handle the return of d_type = DT_UNKNOWN by readdir(3)
Many non ext filesystems do not support returning d_type in readdir(3)
This breaks cleanup of temp in proot leaving trash in /tmp

@jopasserat
Copy link
Member

LGTM. I guess you've already tried it in uDocker @jorge-lip?

@jorge-lip
Copy link
Contributor Author

Yes this patch is in the proot version used in udocker.
This issue was affecting machines with the OS in XFS, the patch fixed the issue.

@jopasserat jopasserat merged commit ca57ca5 into proot-me:master Jan 11, 2018
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.

2 participants