fedora-iot / iot-distro

Issue tracking for the Fedora IoT Edition
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

package request: passt #36

Closed HassoSigbjoernson closed 7 months ago

HassoSigbjoernson commented 7 months ago

Please try to answer the following questions about the package you are requesting:

  1. Is the package installed by default in a Fedora Edition? If yes, which one. Silverblue, possibly others.

  2. What, if any, are the additional dependencies on the package? What is the output of this command on a system without overrides or locally installed packages:

rpm-ostree install --dry-run <package>
Installing 2 packages:
  passt-0^20240220.g1e6f92b-1.fc39.aarch64 (updates)
  passt-selinux-0^20240220.g1e6f92b-1.fc39.noarch (updates)
  1. What is the size of the package and its dependencies?
rpm -qi <package>

passt: 817939 passt-selinux: 197986

  1. What problem are you trying to solve with this package? Or what functionality does the package provide?

pasta is the new default tool for rootless networking in Podman 5 (replacing slirp4netns)

  1. Can the software provided by the package be run from a container? Explain why or why not.

It is used to run containers.

  1. Can the tool(s) provided by the package be helpful in debugging container runtime issues?

Probably not.

  1. Can the tool(s) provided by the package be helpful in debugging networking issues?

Probably not.

  1. Is it possible to layer the package locally via rpm-ostree install <package>? Explain why or why not.

It is possible but all basic Podman functionality should be provided out of the box IMHO.

nullr0ute commented 7 months ago

Great, podman replacing components without dependencies and proper Fedora changes! Any idea how the upgrade path works? Can you link to any of the documentation for migration from slirp4netns?

nullr0ute commented 7 months ago

So the next compose will add pasta and pasta-selinux, we'll work out the migration and what we need to tell users in parallel and then we can workout what other cleanup needs to happen.

mheon commented 7 months ago

We are not upgrading existing containers. The expectation was that slirp4netns would remain installed alongside Pasta as both will remain supported network backends. Pasta and slirp4netns have different sets of quirks (with rootless networking, nothing is seamless, the nature of having to do everything in userspace guarantees it), and while we believe strongly enough in pasta to make it the default, we expect that some users will find Pasta's particular set of quirks intolerable for their specific use and will want to go back to slirp4netns. We documented Pasta as a benefit, not a breaking change, because that's not what it is; we're not removing slirp4netns support (or even deprecating it).

nullr0ute commented 7 months ago

Are all these pros/cons/quirks documented somewhere? Got a link to the passt documentation? The fact that the default is changing should at least have been documented.

mheon commented 7 months ago

Pros/cons should be in the manpages for 5.0 final (and in our release blog). For Pasta documentation - are you looking for podman + pasta (man podman-run and podman podman-create should include that in docs for the --net option) or just for Pasta (best I have is man pasta for that - but the developer is very responsive and can probably get more docs written if required).

Luap99 commented 7 months ago

Have passt as the default rootless network service instead of slirp4netns

This is listed on https://fedoraproject.org/wiki/Changes/Podman5 and it is also mentioned on our upstream release notes.

As far as documented actual behaviour changes I am going to work on a blog post which should describe in more detail our changes, in general there is https://passt.top/passt/about/#pasta for official pasta docs. And there is also stuff listed in our Podman docs/man page as @mheon pointed out: https://docs.podman.io/en/latest/markdown/podman-create.1.html#network-mode-net

nullr0ute commented 7 months ago

As far as documented actual behaviour changes I am going to work on a blog post which should describe in more detail our changes, in general there is https://passt.top/passt/about/#pasta for official pasta docs. And there is also stuff listed in our Podman docs/man page as @mheon pointed out: https://docs.podman.io/en/latest/markdown/podman-create.1.html#network-mode-net

Thanks, these are useful, they would have been good to have linked in the change page so people could easily find details before all the blog posts and various other things you mention are planned.

nullr0ute commented 7 months ago

Now in the 40.20240319.1 compose