-
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
fuse-overlayfs is disabled but still being run by podman #16899
Comments
Did you run podman system reset? If you change storage options it is almost always required to do that. |
No, but the problem here is that |
fuse-overlayfs and native overlay use a slightly different format so if you've images created for fuse-overlays they won't work with native overlay. So once fuse-overlayfs is used, it won't be turned off unless you reset the storage.
|
Oh, I see, thanks! I think in this case it might be useful to add to |
@giuseppe do we know at the time of running podman-info that a fuse-overlay was already run? Could we print a warning stating the the storage still requires fuse-overlay, when fuse-overlay is no longer specifed. |
that is now handled internally by containers/storage. We would either need to expose some information to podman or let podman query directly the storage and check whether the file Could we add a debug message perhaps in c/storage (if it is not already there)? |
Should we add the warning flag there when we check, IE Check if we we have .has-mount-program, yes? |
we fall back to If we make it a warning, we risk triggering the warning every time an existing setup that is using fuse-overlayfs is moved to a newer kernel and we'll have the opposite problem. I think a debug message, as we already have, is enough. Please reopen if you disagree |
/kind bug
Description
As part of this issue, it turned out that disabling
fuse-overlayfs
, so it is no longer appears inpodman info
output, will not make podman stop using it.Steps to reproduce the issue:
Make sure to have the following
~/.config/containers/storage.conf
:Execute a
podman info | grep fuse
and make sure there's no outputIn a separate terminal execute a command that will print newly spawning processes:
bpftrace -e 'tracepoint:syscalls:sys_enter_exec*{ printf("pid: %d, comm: %s, args: ", pid, comm); join(args->argv); }'
Execute
podman run --rm ubuntu:20.04 true
Look at the new processes in the command running since point 3
Describe the results you received:
One of new processes is a call to
/usr/bin/fuse-overlayfs
Describe the results you expected:
No
fuse-overlayfs
should appear in the output.Output of
podman version
:Output of
podman info
:Package info:
Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes
The text was updated successfully, but these errors were encountered: