Re: Depends about podman rootless

Bruce Ashfield <[email protected]>
Newsgroups org.yoctoproject.lists.meta-virtualization
Message-ID <CADkTA4M2kCghCv75qd83WZ3KPcP0W8J84Z5onLkJ1TUjisWFMQ@mail.gmail.com>
On Fri, Mar 6, 2026 at 2:04 AM Yiding Liu (Fujitsu) <[email protected]>
wrote:

> Hi Bruce
>     When I try to run container with  podman rootless, it showed following
> error:
>  $ podman run -it xxx
>  Error: could not find pasta, the network namespace can't be configured:
> exec: "pasta": executable file not found in $PATH
>
>    Which means pasta is required by  podman rootless.
>    Pasta command is provided by passt recipe, so I want to send a patch to
> fix this issue like
>

I'm still attempting to keep all of the networking and
infrastructure dependencies
for the runtimes by variable, even if there's less flexibility now.

That being said, podman's networking is typically provided by network which
is what the profile's have for that selection.

This sort of falls into a "support utility" category,  and in that case, it
would be
better in the podman recipe itself, under a "rootless" packagecconrfig
option.

If there needs to be coordination between multiple recipes and packages to
make rootless work, then it could be promoted to a distro or image feature
and then the podman packageconfig could trigger off of that.

That



>
>   diff --git a/recipes-core/packagegroups/packagegroup-container.bb
> b/recipes-core/packagegroups/packagegroup-container.bb
> index b94e6799..c861e508 100644
> --- a/recipes-core/packagegroups/packagegroup-container.bb
> +++ b/recipes-core/packagegroups/packagegroup-container.bb
> @@ -39,6 +39,7 @@ RDEPENDS:packagegroup-docker = " \
>
>  RDEPENDS:packagegroup-podman = " \
>      podman \
> +    passt \
>  "
>
>  What do you think about my suggestion?
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.