-
Notifications
You must be signed in to change notification settings - Fork 2.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
rootless: copy some settings from the global configuration #2222
rootless: copy some settings from the global configuration #2222
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: giuseppe The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Code LGTM |
} | ||
|
||
// Cherry pick the settings we want from the global configuration | ||
runtime.config.ConmonPath = tmpConfig.ConmonPath |
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.
Shouldn't we make sure these are not set, and only set them.
If I set the ConmonPath in my local config isn't this an issue.
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.
We are in this code branch only when ~/.config/containers/libpod.conf
doesn't exist.
The only place where we could set them is from the default configuration we create.
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.
Ok then LGTM
let's wait for @sysrich before merging this |
7d6b3d9
to
552e15d
Compare
/retest |
if some paths are overriden in the global configuration file, be sure that rootless podman honors them. Closes: containers#2174 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
552e15d
to
61979d8
Compare
rebased, tests are green now |
/lgtm |
if some paths are overriden in the global configuration file, be sure
that rootless podman honors them.
Closes: #2174
Signed-off-by: Giuseppe Scrivano gscrivan@redhat.com