Closed tcitworld closed 7 months ago
Same bug here, this is still needed also for Podman: https://github.com/containers/podman/issues/22044#issuecomment-2009255504
DNS is not working at all for rootless containers on F40.
This looks a lot like https://github.com/coreos/fedora-coreos-tracker/issues/1704
I think it would be a good idea to add slirp4netns back, I forgot to mentioned the case for older containers in the blog (I will update it). The reason is rootless containers created with podman 4.X and older (assuming default network option) will continue to use slirp4netns, the new default pasta will only take effect for newly created containers. For regular fedora we changed it to suggests as it is no longer required on a new installs and we assume that slirp4netns will still be installed after a dnf system-upgrade so we did not see any upgrade issues for that, of course with rpm-ostree it works differently so I would suggest to make sure it is added to avoid breaking existing rootless containers.
@Luap99 Can you convert to pasta?
I'm new to Podman, so I assume podman network rm name, and recreate is enough, right? :)
It's weird switching back fixed the issue, so hopefully it will all be solved soon.
If you need more testing or debug info, let me know.
Thanks!
if you use named networks then it uses whatever is configured (default_rootless_network_cmd, pasta by default) although you will need to stop all containers to apply that on the next start for the rootless-netns.
I was specifically talking about the default --network=slirp4netns (4.X) vs --network=pasta (5.0)
We had a similar discussion in https://github.com/fedora-silverblue/issue-tracker/issues/246 when that happen for containernetworking-plugins.
I'm not opposed to adding it back (although it's a bit late for the F40 release, but it can land in an update after) but then we need to plan for removing it in the future.
Ideally we would file a bug for https://bodhi.fedoraproject.org/updates/FEDORA-2024-4d3ddadf4d and ask for it to be a blocker for F40, but as it's ready, it will land on the first update right after the release.
You can at least file it as FE: https://qa.fedoraproject.org/blockerbugs/milestone/40/final/buglist
I've filed https://bugzilla.redhat.com/show_bug.cgi?id=2274195 and submitted as a Freeze Exception.
I've filed https://bugzilla.redhat.com/show_bug.cgi?id=2274195 and submitted as a Freeze Exception.
I think this is fine but I do not see how this is relevant for this specific issue here. Existing containers will not work because slirp4netns is missing is what the original report here is and this is not going to change with a passt update.
Agree, my comments are a bit off topic.
I'll make a PR to add slirp4netns
back until it's fully deprecated / unsupported in podman.
I merged both PRs so this should be fixed in the next update (likely tomorrow)
Describe the bug I'm trying to run a specific docker container with
docker start
, which outputs thisThe
slirp4netns
package is indeed not installed in the F40 current base commit, though it was in F39Returns nothing
Returns the package name.
Adding
slirp4netns
as a layered package allows to run the container properly.To Reproduce Please describe the steps needed to reproduce the bug:
Expected behavior The package being installed and
docker start
executingOS version: