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

options: reject empty runroot or graphroot #1510

Merged
merged 1 commit into from
Feb 21, 2023

Conversation

giuseppe
Copy link
Member

make sure that the runroot and graphroot are not empty otherwise we will end up using an empty directory as path prefix and create files in the current directory.

@giuseppe giuseppe force-pushed the error-out-invalid-dirs branch from e625ec9 to 6ae905a Compare February 16, 2023 14:37
make sure that the runroot and graphroot are not empty otherwise we will
end up using an empty directory as path prefix and create files in the
current directory.

Signed-off-by: Giuseppe Scrivano <[email protected]>
@giuseppe giuseppe force-pushed the error-out-invalid-dirs branch from 6ae905a to 9ebdbd9 Compare February 16, 2023 14:52
@TomSweeneyRedHat
Copy link
Member

LGTM

@rhatdan
Copy link
Member

rhatdan commented Feb 17, 2023

Does Podman work if there is no storage.conf at all?

@giuseppe
Copy link
Member Author

Does Podman work if there is no storage.conf at all?

if there is no storage at all, we use the default settings that are non empty strings.

@rhatdan
Copy link
Member

rhatdan commented Feb 21, 2023

LGTM

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.

4 participants