On Tue, Mar 10, 2026 at 11:21 PM Yiding Liu (Fujitsu) <
[email protected]> wrote:

> Hi Bruce
>      I found rootless overlay for podman:
>      https://www.redhat.com/en/blog/podman-rootless-overlay
>
>

Yes, I'm aware.



>      It seems that podman can use native overlay file system with the
> Linux kernel versions 5.13.
>      So fuse-overlayfs is not mandatory RDEDPEN in rootless after kernel
> 5.13.
>
>      What do you think about it.
>


My answer is the same. If it isn't causing a runtime issue, then leave it
as-is.

Bruce



>
> Liu
> ------------------------------
> *发件人:* [email protected] <
> [email protected]> 代表 Yiding Liu (Fujitsu) via
> lists.yoctoproject.org <[email protected]>
> *发送时间:* 2026年3月11日 10:27
> *收件人:* Bruce Ashfield <[email protected]>
> *抄送:* [email protected] <
> [email protected]>
> *主题:* Re: [meta-virtualization][PATCH] podman: Use packageconfig to
> control fuse-overlayfs depend
>
> Hi Bruce
>
>      Do you mean a new patch like this:
>              --- a/recipes-containers/podman/podman_git.bb
> +++ b/recipes-containers/podman/podman_git.bb
> @@ -68,7 +68,7 @@ EXTRA_OEMAKE = " \
>  PODMAN_FEATURES ?= "docker"
>
>  PACKAGECONFIG ?= ""
> -PACKAGECONFIG[rootless] = ",,,fuse-overlayfs slirp4netns,,"
> +PACKAGECONFIG[rootless] = ",,,slirp4netns,,"
>
>  do_compile() {
>         cd ${S}/src
> @@ -142,9 +142,16 @@ VIRTUAL-RUNTIME_base-utils-nsenter ?=
> "util-linux-nsenter"
>
>  COMPATIBLE_HOST = "^(?!mips).*"
>
> +def get_fuse_overlayfs_dep(d):
> +    if bb.utils.contains('PACKAGECONFIG', 'rootless', True, False, d) and
> \
> +       bb.utils.contains('PACKAGECONFIG', 'fuse', True, False, d):
> +        return "fuse-overlayfs"
> +    return ""
> +
>  RDEPENDS:${PN} += "\
>         catatonit conmon ${VIRTUAL-RUNTIME_container_runtime} gpgme
> iptables libdevmapper \
>         ${VIRTUAL-RUNTIME_container_dns}
> ${VIRTUAL-RUNTIME_container_networking}
> ${VIRTUAL-RUNTIME_base-utils-nsenter} \
> +       ${@get_fuse_overlayfs_dep(d)} \
>  "
>  RRECOMMENDS:${PN} += "slirp4netns
>
> Or do you have a more elegant code?
>
> Liu
> ------------------------------
> *发件人:* Bruce Ashfield <[email protected]>
> *发送时间:* 2026年3月11日 06:40
> *收件人:* Liu, Yiding/刘 乙丁 <[email protected]>
> *抄送:* [email protected] <
> [email protected]>
> *主题:* Re: [meta-virtualization][PATCH] podman: Use packageconfig to
> control fuse-overlayfs depend
>
> In message: [meta-virtualization][PATCH] podman: Use packageconfig to
> control fuse-overlayfs depend
> on 10/03/2026 Yiding Liu (Fujitsu) via lists.yoctoproject.org wrote:
>
> > The RDEPEND fuse-overlayfs is an Optional package so use packageconfig
> to control it.
> >
> > Refer to https://podman.io/docs/installation
> >
> > Signed-off-by: Liu Yiding <[email protected]>
> > ---
> >  recipes-containers/podman/podman_git.bb | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/recipes-containers/podman/podman_git.bb
> b/recipes-containers/podman/podman_git.bb
> > index 53b9b6a0..4495d2d9 100644
> > --- a/recipes-containers/podman/podman_git.bb
> > +++ b/recipes-containers/podman/podman_git.bb
> > @@ -68,7 +68,8 @@ EXTRA_OEMAKE = " \
> >  PODMAN_FEATURES ?= "docker"
> >
> >  PACKAGECONFIG ?= ""
> > -PACKAGECONFIG[rootless] = ",,,fuse-overlayfs slirp4netns,,"
> > +PACKAGECONFIG[rootless] = ",,,slirp4netns,,"
> > +PACKAGECONFIG[fuse] = ",,,fuse-overlayfs,,"
>
> Whether right or wrong, fuse-overlayfs was being pulled in
> by rootless.
>
> So it should stay pulled in by rootless (unless you can show
> me that there's no requirement at all from rootless .. and
> that information needs to be in the commit message).
>
> It can also just stay in both, since last I checked, having
> the depdendency in twice doesn't cause any issues.
>
> Bruce
>
> >
> >  do_compile() {
> >        cd ${S}/src
> > --
> > 2.43.0
> >
>
> >
> >
> >
>
>

-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9646): 
https://lists.yoctoproject.org/g/meta-virtualization/message/9646
Mute This Topic: https://lists.yoctoproject.org/mt/118237141/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to