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

Expose System wide config file #1405

Merged
merged 1 commit into from
Oct 27, 2022
Merged

Expose System wide config file #1405

merged 1 commit into from
Oct 27, 2022

Conversation

rhatdan
Copy link
Member

@rhatdan rhatdan commented Oct 20, 2022

Currently Podman warns when attempting to reset storage, if the system wide storage.conf file
/usr/share/containers/storage.conf exists.

Since distros ship this, we need to allow Podman to check if the default is the System default and therefore do not warn.

Signed-off-by: Daniel J Walsh dwalsh@redhat.com

Currently Podman warns when attempting to reset storage, if the
system wide storage.conf file
/usr/share/containers/storage.conf exists.

Since distros ship this, we need to allow Podman to check if the
default is the System default and therefore do not warn.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
@rhatdan
Copy link
Member Author

rhatdan commented Oct 26, 2022

Copy link
Collaborator

@flouthoc flouthoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any accompanying PR for Podman? It's not obvious how the changes fix the issue.

@rhatdan
Copy link
Member Author

rhatdan commented Oct 27, 2022

Yes there will be a change in Podman to check if the exiting storage.conf is the SystemDeffault, then don't report a warning.
I was waiting for this to be merged before opening the PR.

@vrothberg
Copy link
Member

Yes there will be a change in Podman to check if the exiting storage.conf is the SystemDeffault, then don't report a warning. I was waiting for this to be merged before opening the PR.

OK. I trust the code is doing the right thing :)

@vrothberg vrothberg merged commit 232bf39 into containers:main Oct 27, 2022
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.

None yet

3 participants