-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
whitelist /tmp/apt-key-gpghome.* directory #1000
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we think this will ever need to be configurable? Are we going to break someone's build by whitelisting this?
I don't see the need to make this configurable since users running
or
It is expected these files get cleaned up. |
This seems like a reasonable and relatively minor change, but I'm having some trouble understanding it. My impression is that perhaps
Because the temp key from layer 0 is removed (opposed to be marked as deleted with a Is that correct? |
Yes. usually folks have We need to debug more on why
Does that make sense? |
I guess I'm still unclear about
My impression from your last comment is that perhaps some of these are currently unknown? |
The keys can come from anywhere. e.g
Usually,
yes. we need to debug more on why was it detected as added. |
Fixes #769
Description
In this PR
/tmp/tdd.*/
/tmp/apt-key-gpghome.*
to whitelist sinceapt-key add
adds temporary files in this directory.Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Reviewer Notes
Release Notes
Describe any changes here so maintainer can include it in the release notes, or delete this block.