-
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 libpod.conf should fill in an appropriate tmp_dir #2408
Comments
This diff fixes things (awaiting approval to submit PRs, but pasting this here since it's small and harmless):
On a more general note, is there a reason why we don't initialize with |
the patch LGTM |
Could someone open this as a PR? |
This seems to be working for me in current podman?
|
@rhatdan maybe you need to remove your existing db config? |
I see the same problem with a fresh storage. I confirm the patch above fixes the problem. @llchan could you open a PR? |
I unfortunately cannot yet, still pending approval from manager and he's out of town for the week. Will do as soon as I can. If you'd like to file it on my behalf feel free to. |
Closes: containers#2408 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
I've opened a PR here: #2515 |
/kind bug
Description
When a
libpod.conf
is specified via--config
, an omittedtmp_dir
does not fall back to the default ($XDG_RUNTIME_DIR/libpod/tmp
) like it does when--config
is not specified. It remains at the empty string, which leads to a fairly obvious but not very user-friendly error downstream.Steps to reproduce the issue:
Copy the default
libpod.conf
(which hastmp_dir
commented out)podman --config libpod.conf info
Describe the results you received:
Describe the results you expected:
Output of
podman version
:The text was updated successfully, but these errors were encountered: