On Tue, Jan 24, 2023 at 2:08 PM Daniel Walsh <dwalsh(a)redhat.com> wrote:
On 1/24/23 03:47, Reinhard Tartler wrote:
Dan,
In Debian, I've chosen to just go with the upstream defaults:
https://github.com/containers/storage/blob/8428fad6d0d3
c4cded8fd7702af36a09f02b858f/storage.conf#L116-L118
This file is installed verbatim to /usr/share/containers/storage.conf.
Is there a better choice? Does Fedora/Redhat provide a default
storage.conf from somewhere else?
Thanks,
-rt
That should be fine. Fedora goes with that default as well. Does debian
support rootless overlay by default?
If not then it would fail over to VFS if fuse-overlayfs is not installed.
I'm a bit confused about what you mean with that.
In Debian releases that ship podman 4.x we have at least Linux kernel 6.0.
The fuse-overlayfs package is installed by default, but users may opt to
not install it by configuring apt to not install "Recommends" by default.
What else is required for rootless overlay?
Also, if I follow this conversation, then it appears that the default
storage.conf requires modification in line 118 (to uncomment the
mount_program option) in order to actually use fuse-overlayfs. I would have
expected podman to use fuse-overlayfs if it happens to be installed, and
fallback to direct mount if not. I read Michail's email thread that this
appears to be not the case and he had to spend a lot of effort figuring out
how to install an appropriate configuration file. Maybe I'm missing
something, but I wonder what we can do to improve the user experience?
-rt
--
regards,
Reinhard