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

(maybe) delete /tmp #185

Open
tych0 opened this issue Jul 21, 2021 · 1 comment
Open

(maybe) delete /tmp #185

tych0 opened this issue Jul 21, 2021 · 1 comment

Comments

@tych0
Copy link
Collaborator

tych0 commented Jul 21, 2021

If a user has modified /tmp, surely they don't expect these files to persist. Maybe we should delete everything in /tmp before generating a layer (or really, just ignore /tmp; that would have to live in the umoci/squashtool API though).

Thoughts?

@smoser
Copy link
Contributor

smoser commented Jul 21, 2021

hm.m. its similar to the request i had for "output-only" but in reverse. I wanted to have it collect only certain directories, you're saying to clean certain directories.

I'm tempted to say "you should make that an option". But I think its probably better and simpler to just do it (remove all files in /tmp and even /run) and then if someone complains you can address their desire.

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

No branches or pull requests

2 participants