-
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
[podman] kernel does not support overlay fs #2659
Comments
Does this work if you run it as root? If yes, then cleanup your homedir, and try again. rm -rf ~/.config/container ~/.local/share/containers |
Nope, sorry.
Of course, I've cleaned everything up before (just forgot to mention) |
Woah. That should not be happening, that - we should catch that and handle it natively... |
#2668 to fix the validation issue there. Though I'm very curious as to how the database managed to get an empty string storage driver. |
Theory on that: we reload Should probably catch that earlier, with better error messages. |
I've build #2668 and tested on non-root and root. Tested with
Result (non-root):
|
Interesting, this command line works: #2662 (comment) |
Hmm, I'm still getting this problem without #2668
|
@giuseppe I think the core of our issue is rootless refresh. We're calling (I also think the storage-opt thing probably also breaks podman cleanup if you manually specified fuse-overlayfs at the command line). |
this is what I've attempted to do with #2670 but apparently it is still not working as it should :/ I'll debug it further and check the case where fuse-overlayfs is not in the $PATH |
If fuse-overlayfs is in $PATH, everything works as expected. Without, it fails with the error reported. |
@tobwen can you please check with the last patch I've added to the PR? |
Pulled, checked out, built, installed, ran:
@giuseppe Sorry, doesn't seem to work. |
how do the generated files under |
|
Please try:
|
Oh god, I'm so sorry, I didn't see the first Maybe we should warn the user about two commands? I apologize very much for my boundless stupidity. |
For some reason Cobra seems to allow mixing global and local flags, so commands like |
@tobwen I don't think that's actually being handled as a duplicated command - when I tried locally, we interpreted the second |
@mheon Okay, I'll take care of this in future. btw, some applications split global and local flags by Thanks for your good work. Would be happy to see it in master :-) |
The problem is back once again:
podman seems to use fuse-overlayfs on the first run, but doesn't store the setting (
Here's the complete debug output:
|
@giuseppe This looks like the storage.conf is not setting the override paths into the storage.conf file that it creates. |
make sure the user overrides are stored in the configuration file when first created. Closes: containers#2659 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
PR here: #4309 |
Tested, works.
|
Same here. Worked like a charm setting this to my storage.conf |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
podman complains that my kernel doesn't support overlayfs. But it does (the kernel does and all the tools are installed and in search-path).
Steps to reproduce the issue:
Describe the results you received:
Additional information you deem important (e.g. issue happens only occasionally):
fuse3
andfuse-overlayfs
are installed and working. I'm usingext4
only. Might be connected with #545Output of
podman version
:Output of
podman info --debug
:Additional environment details (AWS, VirtualBox, physical, etc.):
Debian 9 on VirtualBox 6 on Windows 10 on AMD 64
The text was updated successfully, but these errors were encountered: