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

Can't change runRoot in rootless mode #1587

Open
Meister1593 opened this issue Apr 29, 2023 · 0 comments
Open

Can't change runRoot in rootless mode #1587

Meister1593 opened this issue Apr 29, 2023 · 0 comments

Comments

@Meister1593
Copy link

So i was discovering rootless options in containers/podman#18375 podman issue and when i discovered rootless mode, i of course wanted to change runroot path, but looking through code, it seems like theres no code related to changing runroot in rootless mode...

The related function is getRootlessStorageOpts, which feeds output from underlying functions (and as such, getRootlessRuntimeDirIsolated), which doesn't use runroot from configuration.
opts.RunRoot = rootlessRuntime changes it's runroot to be used from the getRootlessRuntimeDirIsolated, and later on never updated to be used from system env if it was overriden by conf files, like it is done with opts.GraphRoot, err = expandEnvPath(systemOpts.RootlessStoragePath, rootlessUID).

So it seems like there should be code related if runRoot is being overriden from configuration file, it should be placed instead of defaults.

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

No branches or pull requests

1 participant