-
Notifications
You must be signed in to change notification settings - Fork 570
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
profiles: improvements to profiles using private #5946
Conversation
TBH we should fix #903 instead of adding references to profiles. |
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.
As mentioned here, I think it would make more sense to remove private
for profiles that use paths in ${HOME}
.
Also, I'd use #
instead of -
for comments at the end of the line, to avoid
a syntax error if uncommenting the line (see also #5942).
For the other profiles, if including whitelist-common.inc helps a given
profile, why not drop private
? And if it doesn't, why not simply remove it?
They seem to be made for different use cases AFAICT (need to access some vs no
files in the real ${HOME}
).
@kmk3 Thanks for the argumentation. Looks better now. |
Changes: * comment `include whitelist-common.inc` when using `private` * drop `private` on profiles that access files in `${HOME}` * use `#` in comments Relates to netblue30#903.
f621e1f
to
eab608f
Compare
Note: I'm not sure what the intended behavior would be (copy vs bind-mount) if |
As I was recently reminded by @kmk3 to #903 I checked existing profiles for similar issues. This PR fixes whitelisting in ${HOME} and streamlines the reference to #903.