[Bug]: graphroot and runroot default to current directory when running rootfull #17384
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Issue Description
Both values graphroot and runroot default to the current directory when podman is run as root. There was a warning that graphroot defaults to some builtin value which vanished once I set a default in
/etc/containers/storage.conf
. The issue occured in both scenarios (config vs. no config and builtin default).Steps to reproduce the issue
Steps to reproduce the issue
/etc/containers/storage.conf
.Describe the results you received
Both configs graphroot and runroot are set to the current working directory. Podman creates a bunch of directories inside the current working directory.
Describe the results you expected
Podman should honor the settings from
/etc/containers/storage.conf
.podman info output
Podman in a container
No
Privileged Or Rootless
Privileged
Upstream Latest Release
No
Additional environment details
No response
Additional information
This bug is supposed to be fixed according to #12467 and containers/storage#1083.
The text was updated successfully, but these errors were encountered: